From 72699af7a42f6fe0c2a4ceefd3c736aecbd77a65 Mon Sep 17 00:00:00 2001 From: Amir Arad Date: Mon, 4 Dec 2017 23:07:13 +0200 Subject: [PATCH 0001/5759] allow newer versions of node --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2cbffe97..49c3ac66 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,6 @@ "test": "npm run build-js && npm run build-css" }, "engines": { - "node": "6" + "node": ">=6" } } From 0e078b2c4f4eb2ab0e4b3511da5fe04cb99803ba Mon Sep 17 00:00:00 2001 From: Amir Arad Date: Mon, 4 Dec 2017 23:07:13 +0200 Subject: [PATCH 0002/5759] allow newer versions of node --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2cbffe97..49c3ac66 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,6 @@ "test": "npm run build-js && npm run build-css" }, "engines": { - "node": "6" + "node": ">=6" } } From 76e27ecfddaebee668f1143c7fc84e64a9863e8a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 7 Dec 2017 21:36:32 +0100 Subject: [PATCH 0003/5759] package: update deps --- app/package.json | 6 +++--- package.json | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/package.json b/app/package.json index 6addf9ca..7a5db91e 100644 --- a/app/package.json +++ b/app/package.json @@ -24,9 +24,9 @@ "vmodule":"1.0.1", "electron-localshortcut": "2.0.2", "osc": "2.2.0", - "yargs": "9.0.1", - "socket.io": "2.0.3", - "express": "4.16.1", + "yargs": "10.0.3", + "socket.io": "2.0.4", + "express": "4.16.2", "jquery": "3.2.1", "chokidar": "1.7.0", "python-shell":"0.4.0" diff --git a/package.json b/package.json index 49c3ac66..12d17b5b 100644 --- a/package.json +++ b/package.json @@ -22,28 +22,28 @@ "autolayout": "0.7.0", "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", - "babelify": "7.3.0", - "browserify": "14.4.0", + "babelify": "8.0.0", + "browserify": "14.5.0", "cardinal-spline-js": "2.3.6", "electron": "~1.8.1", - "electron-packager": "9.1.0", + "electron-packager": "10.1.0", "exorcist": "1.0.0", "file-saver": "1.3.3", "jquery": "3.2.1", "json5": "0.5.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.16.4", - "node-sass": "4.5.3", - "nodemon": "1.12.0", + "mathjs": "3.17.0", + "node-sass": "4.7.2", + "nodemon": "1.12.5", "nosleep.js": "0.7.0", - "screenfull": "3.3.1", + "screenfull": "3.3.2", "shortid": "2.2.8", - "socket.io-client": "2.0.3", - "uglifyify": "4.0.4" + "socket.io-client": "2.0.4", + "uglifyify": "4.0.5" }, "optionalDependencies": { - "electron-installer-debian": "0.6.0" + "electron-installer-debian": "0.7.1" }, "scripts": { "postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css", From 9bf7428108d9574557de9e942880ce12187c0252 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 7 Dec 2017 21:36:32 +0100 Subject: [PATCH 0004/5759] package: update deps --- app/package.json | 6 +++--- package.json | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/package.json b/app/package.json index 6addf9ca..7a5db91e 100644 --- a/app/package.json +++ b/app/package.json @@ -24,9 +24,9 @@ "vmodule":"1.0.1", "electron-localshortcut": "2.0.2", "osc": "2.2.0", - "yargs": "9.0.1", - "socket.io": "2.0.3", - "express": "4.16.1", + "yargs": "10.0.3", + "socket.io": "2.0.4", + "express": "4.16.2", "jquery": "3.2.1", "chokidar": "1.7.0", "python-shell":"0.4.0" diff --git a/package.json b/package.json index 49c3ac66..12d17b5b 100644 --- a/package.json +++ b/package.json @@ -22,28 +22,28 @@ "autolayout": "0.7.0", "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", - "babelify": "7.3.0", - "browserify": "14.4.0", + "babelify": "8.0.0", + "browserify": "14.5.0", "cardinal-spline-js": "2.3.6", "electron": "~1.8.1", - "electron-packager": "9.1.0", + "electron-packager": "10.1.0", "exorcist": "1.0.0", "file-saver": "1.3.3", "jquery": "3.2.1", "json5": "0.5.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.16.4", - "node-sass": "4.5.3", - "nodemon": "1.12.0", + "mathjs": "3.17.0", + "node-sass": "4.7.2", + "nodemon": "1.12.5", "nosleep.js": "0.7.0", - "screenfull": "3.3.1", + "screenfull": "3.3.2", "shortid": "2.2.8", - "socket.io-client": "2.0.3", - "uglifyify": "4.0.4" + "socket.io-client": "2.0.4", + "uglifyify": "4.0.5" }, "optionalDependencies": { - "electron-installer-debian": "0.6.0" + "electron-installer-debian": "0.7.1" }, "scripts": { "postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css", From 57278eb8f0c5a7460ea031dd15d4632c0ed6b4d0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 7 Dec 2017 21:44:33 +0100 Subject: [PATCH 0005/5759] package: missing babel dep --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 12d17b5b..59f6cad0 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "license": "GPL-3.0", "dependencies": { "autolayout": "0.7.0", + "babel-core": "^6.26.0", "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", "babelify": "8.0.0", From 3279223e751858f19bd9d7391f1658ae15172c7f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 7 Dec 2017 21:44:33 +0100 Subject: [PATCH 0006/5759] package: missing babel dep --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 12d17b5b..59f6cad0 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "license": "GPL-3.0", "dependencies": { "autolayout": "0.7.0", + "babel-core": "^6.26.0", "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", "babelify": "8.0.0", From 14ea0063002df104c1ff9baa5ca8065eacc5dbb3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 7 Dec 2017 21:44:55 +0100 Subject: [PATCH 0007/5759] package: 0.21.2 --- app/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index 7a5db91e..9913a1eb 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "A libre desktop OSC bi-directionnal control surface application.", - "version": "0.21.1", + "version": "0.21.2", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" diff --git a/package.json b/package.json index 59f6cad0..444c1533 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "open-stage-control-builder", "description": "[Builder package] A libre desktop OSC bi-directionnal control surface application", - "version": "0.21.1", + "version": "0.21.2", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" From 17cde3a3df463179a37c4c417c3f3218d49ee32d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 7 Dec 2017 21:44:55 +0100 Subject: [PATCH 0008/5759] package: 0.21.2 --- app/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index 7a5db91e..9913a1eb 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "A libre desktop OSC bi-directionnal control surface application.", - "version": "0.21.1", + "version": "0.21.2", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" diff --git a/package.json b/package.json index 59f6cad0..444c1533 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "open-stage-control-builder", "description": "[Builder package] A libre desktop OSC bi-directionnal control surface application", - "version": "0.21.1", + "version": "0.21.2", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" From 2964d9f4ced8016eaded95ea0205fad54d9d5826 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:38:27 +0100 Subject: [PATCH 0009/5759] fonts: update fontawesome (v5) --- app/browser/fonts/fa-solid-900.woff | Bin 0 -> 45852 bytes app/browser/fonts/fa-solid.css | 14 ++++++++++++++ app/browser/fonts/font-awesome.min.css | 4 ---- app/browser/fonts/fontawesome-webfont.woff | Bin 98024 -> 0 bytes app/browser/fonts/fontawesome.min.css | 5 +++++ app/browser/index.html | 5 +++-- app/examples/ardour.json | 4 ++-- app/main/launcher/index.html | 10 ++++++---- resources/docs/widgets/widgets.md | 2 +- src/browser/js/app/managers/session.js | 4 ++-- src/browser/js/app/sidepanel.js | 2 +- src/browser/js/app/utils.js | 2 +- src/browser/js/app/widgets/containers/modal.js | 2 +- src/browser/js/app/widgets/containers/root.js | 2 +- src/browser/scss/_layout.scss | 1 + src/browser/scss/style.scss | 4 +++- 16 files changed, 41 insertions(+), 20 deletions(-) create mode 100644 app/browser/fonts/fa-solid-900.woff create mode 100644 app/browser/fonts/fa-solid.css delete mode 100644 app/browser/fonts/font-awesome.min.css delete mode 100644 app/browser/fonts/fontawesome-webfont.woff create mode 100644 app/browser/fonts/fontawesome.min.css diff --git a/app/browser/fonts/fa-solid-900.woff b/app/browser/fonts/fa-solid-900.woff new file mode 100644 index 0000000000000000000000000000000000000000..e9981ea5fab7a952910d52397c2f51fd50a573a2 GIT binary patch literal 45852 zcmV)yK$5?APew)n0RR910J9tb3jhEB0eO@F0RR91000000000000000000000000- zQ&mC$009U90027x002}VizRwbQ!g?A00Be*002V(0034$xKM9nZDDW#00D>q01eLo z03LeB@t9O+YIjTVR&!=0HrJd0018V001BY<^ck3VQpmq0HsU-00CJ500R2_kDkhKZ*z120H&w_ z01R;e02Yaf4We{-oMT{QU|`^4FkrA_U~+Nu31Q&NNi4}@kYZqAfB=v@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M7vAxc0b!GCwGBT47mXXW!!pp(b^zqVjATOe#+Lyc5h}GtDvP zXk3Z7-xpaa;z5;CJ00h+9tjG{6b;fTgNz~BNYj`Vv`h^#%AS@K+0&3ll(;7FnaIn%Ys4D?ajpa+E7lNz8NY5HTMp<8iIT)uFx9lS!UV6eN!g zttNSN2yHGCj53OWBZ8$_5PzG{v4Y z^n_V=RS!bbvhjU}Yoh&LAHNmkrFEHoBbp;YfD zQB`uIeusi>(vZBT3vt4A$}#psi3SPGV;2LlL4ixKA)txsJ}=9WSR+Ks8R%k>yexA&a0O#s@T%6r|dKJh2zlRqoomT7}Sn4QnbFnYqoVJZ>s7 z4r%)xHH^J76?$}SGObmzg%cU`be_s=6f9AibLd~u`>L-9E*3TFBcozrGowP z8$1wx7SytU&QVfk(tvCmvtT--Vk0WXHFv_Paf!Yc&Jk#REf^ORH^EiLWpnR{%`C_x zSJ`_?f$2~UqD}Q1TBCNaEpy)*1s_A4Ojl7^($hZTas93eOoeZdqfe`n>G(Y)N$&MaSvJIMrbdgBR3Wo^ZYm_YB{_tWsXV5NP%5fJ znded6)F=cZ8&>jI=TnmC)M(Dk!iv3EG%1G4VpCOvBfoB*=E7!>;&dCx8V1{aYgpEe zYE#^g6-8Vscj&rbFx8sjI?>of*RVvVv9f_>Q*$0&67}kTUNe;5_v7rNbG} zwXrpznneH3p>I!<1&PSGBC%waQ<13oM8WBDLz#=$28sPasWOn1B7)kGTRv~z{{Sd9 I!4d!f02t6WZ2$lO literal 0 HcmV?d00001 diff --git a/app/browser/fonts/fa-solid.css b/app/browser/fonts/fa-solid.css new file mode 100644 index 00000000..16146e83 --- /dev/null +++ b/app/browser/fonts/fa-solid.css @@ -0,0 +1,14 @@ +/*! + * Font Awesome Free 5.0.0 by @fontawesome - http://fontawesome.com + * License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +@font-face { + font-family: 'Font Awesome 5 Free'; + font-style: normal; + font-weight: 900; + src: url("./fa-solid-900.woff") format("woff")} + +.fa, +.fas { + font-family: 'Font Awesome 5 Free'; + font-weight: 900; } diff --git a/app/browser/fonts/font-awesome.min.css b/app/browser/fonts/font-awesome.min.css deleted file mode 100644 index 4d9f65de..00000000 --- a/app/browser/fonts/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome'; src:url('fontawesome-webfont.woff') format('woff');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/app/browser/fonts/fontawesome-webfont.woff b/app/browser/fonts/fontawesome-webfont.woff deleted file mode 100644 index 400014a4b06eee3d0c0d54402a47ab2601b2862b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 98024 zcmZTubC4&$(_Y)Q?OXfSHg9d)wr$(CZSQ{8wr%e%e)p|<|9eyQq|;BjCzE7qGMTiS zyqFjeFc1(BuRO}xo^G_%I z2O^L=ATW7lM&^H<^*^2eAN0eSJq3(x4DA1L)&F4euaO6sK5joV1E+r+DAqq4sQ>Wu z0|aVj?P25hA?l{GgpFa`oP%>HM?@(=7t5y$lA|Hyyb+&}%lcF7Py zVOq>>oZbI%cmJ;c1Ox&!PmnY&6cmq2?4Nt?RBbj#@*S#u% z($dm;AKJG3Yv)w@yrS19dscW!&dp@T$utcaiktwRu?l%Fgn7##v*Q%&IaI$|O!P}5 zE!tXI-Ss#N&%~+2xwep6)=D=@bER^nrNZX=A{Jq3H3E=sm}xcLG|pUA-88}8wRPyv zPnoSTxscjcm{McuVx_s+*=h#*Xv3UB1T}&E{uxPi!CD1QZy{>6F_-GvT;_v+@h3%S z3~p6JKLUMaO+O0%W$iTHs4{|UN^?L;ts#@G+64bnV>gujTO1A$SfkJKhUN{&{#iBu zbrz-NBAI4CWjjIN*&fwVu4RubbB`IvgcJ!WV;{$}bpWy2K1lw(2Xe|eWcN9U#V^J= z0v&sgD$Y5Kh^J4utKJ8w`)YkScnEwZDG=2~oYvdtqau)|6HAhwqW$r>MKydMdi-xf z|IPEi=Mls`ySoS4Uu8Lk>GP(?uENKw#l^+NO;vrl>caNS*3!n4J~PMG6%1?`Lo`8D zP!I`IikK!Gm+D~0Tx5d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{WRiT+Ob&DeR zb*I`{|G{yg)xF5QO+9pX&p~$!%Ki4k`{t-sMGw{RX&VmCDT&xCq{;E~y>p(jCZx9f;keo|<~ zil$7BWv7x}^->yY{Ab&MC zA-*>H_b7*h`X`Tzw!zGC_{SwFmVX8BH?Qx_6Fpe6KXXQc5g>dSC)2|FIpOG_Llzjy zAr$P53h7~iWY=cF1Pr8$`&G+jxo3wPc;~!T87GXG?<5SnD0jz}TahBLT^$)GEXNmS zTvo5fSW%e6bzGAxBRu$loav+!B)xs7kP;2VL6V&p()C6fr8XsJrcP4kRFKHKlD)mH zW36##Qqcxkl!!j_8!gW6t=5$C`OF1)2f#OTy04qFwZB$z2qO;t&twuT~;5c*ENEE=ZfA)zq*8CZ8#0$}| zor^Y6snM;KG=gJrW{*Ad{?(bJZ6$y=Y{*8|KT-!_@pPpp&x8KY|ZxgYgGfzq(Ts9l~Usv*3=Q|~qX4|Ok4XkqnWEbrn~>>AO|v9ZsgUe*QZ5OCj3PM> z-8;ci^6--vmFzz01Gd}o;Wf#`_5Gks8WA$8zsiy7sNra(XlhjC#pzRGe(!U)Y9_ub zE1dDNFqVz9dZ2PJmdb)jKQhtg4oy4Nv7?dQtWt_8Wt61MvvAVlsKnHwpsB!F`N_k0 z@iFJx14n6;v6O!r>mnTlW3Ad`5iGU7pG)U0YM`u37CmX*QjNW-B- z!1H4e7ZZ^~5SNzA!WcIu+NT&}ucK{65&jgGHL9m-$4VtL|5vc?zk|>Q;#x>%Ldg)s1dM-!%YPPQiF<5k9X{l5jPOl+jaRu*E8bLP8QGBqUD665Mi zu%~&7yewF+|5wyQ{C>uAM{Am=%FBZ7y81Y0xw|RTL;ZdxN`;*5w3<9;xwt9QRXu6O SdSQM28?+M|D(2r_;{O0|uQ74} diff --git a/app/browser/fonts/fontawesome.min.css b/app/browser/fonts/fontawesome.min.css new file mode 100644 index 00000000..7b36b77f --- /dev/null +++ b/app/browser/fonts/fontawesome.min.css @@ -0,0 +1,5 @@ +/*! + * Font Awesome Free 5.0.0 by @fontawesome - http://fontawesome.com + * License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:a 2s infinite linear;animation:a 2s infinite linear}.fa-pulse{-webkit-animation:a 1s infinite steps(8);animation:a 1s infinite steps(8)}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-amazon:before{content:"\f270"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-aws:before{content:"\f375"}.fa-backward:before{content:"\f04a"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blind:before{content:"\f29d"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-car:before{content:"\f1b9"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-certificate:before{content:"\f0a3"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-square:before{content:"\f14a"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-clipboard:before{content:"\f328"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comments:before{content:"\f086"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-credit-card:before{content:"\f09d"}.fa-crop:before{content:"\f125"}.fa-crosshairs:before{content:"\f05b"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-deviantart:before{content:"\f1bd"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dollar-sign:before{content:"\f155"}.fa-dot-circle:before{content:"\f192"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-dropbox-alt:before{content:"\f398"}.fa-drupal:before{content:"\f1a9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-eject:before{content:"\f052"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-excel:before{content:"\f1c3"}.fa-file-image:before{content:"\f1c5"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-order:before{content:"\f2b0"}.fa-firstdraft:before{content:"\f3a1"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frown:before{content:"\f119"}.fa-futbol:before{content:"\f1e3"}.fa-gamepad:before{content:"\f11b"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-gift:before{content:"\f06b"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-martini:before{content:"\f000"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-gofore:before{content:"\f3a7"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-handshake:before{content:"\f2b5"}.fa-hashtag:before{content:"\f292"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-heart:before{content:"\f004"}.fa-heartbeat:before{content:"\f21e"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hospital:before{content:"\f0f8"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-jenkins:before{content:"\f3b6"}.fa-joget:before{content:"\f3b7"}.fa-joomla:before{content:"\f1aa"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-key:before{content:"\f084"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-male:before{content:"\f183"}.fa-map:before{content:"\f279"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-maxcdn:before{content:"\f136"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-meh:before{content:"\f11a"}.fa-mercury:before{content:"\f223"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-moon:before{content:"\f186"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-paint-brush:before{content:"\f1fc"}.fa-palfed:before{content:"\f3d8"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-paragraph:before{content:"\f1dd"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-percent:before{content:"\f295"}.fa-periscope:before{content:"\f3da"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phone:before{content:"\f095"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-plane:before{content:"\f072"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-print:before{content:"\f02f"}.fa-product-hunt:before{content:"\f288"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-random:before{content:"\f074"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-rebel:before{content:"\f1d0"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redo:before{content:"\f01e"}.fa-registered:before{content:"\f25d"}.fa-rendact:before{content:"\f3e4"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-resolving:before{content:"\f3e7"}.fa-retweet:before{content:"\f079"}.fa-road:before{content:"\f018"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-rupee-sign:before{content:"\f156"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-scribd:before{content:"\f28a"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shower:before{content:"\f2cc"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowflake:before{content:"\f2dc"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-spinner:before{content:"\f110"}.fa-spotify:before{content:"\f1bc"}.fa-square:before{content:"\f0c8"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-star:before{content:"\f005"}.fa-star-half:before{content:"\f089"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-strava:before{content:"\f428"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-sync:before{content:"\f021"}.fa-table:before{content:"\f0ce"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-trademark:before{content:"\f25c"}.fa-train:before{content:"\f238"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-uber:before{content:"\f402"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-circle:before{content:"\f2bd"}.fa-user-md:before{content:"\f0f0"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-volume-down:before{content:"\f027"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vuejs:before{content:"\f41f"}.fa-weibo:before{content:"\f18a"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wrench:before{content:"\f0ad"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto} \ No newline at end of file diff --git a/app/browser/index.html b/app/browser/index.html index 20917171..3bcbe379 100644 --- a/app/browser/index.html +++ b/app/browser/index.html @@ -3,12 +3,13 @@ - + - + + diff --git a/app/examples/ardour.json b/app/examples/ardour.json index 5ef44ab5..16db9d4f 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -442,7 +442,7 @@ "type": "toggle", "id": "disk_@{parent.variables.n}", "linkId": "", - "label": "^hdd-o", + "label": "^hdd", "css": "", "on": 1, "off": 0, @@ -2087,7 +2087,7 @@ "type": "toggle", "id": "disk_select", "linkId": "", - "label": "^hdd-o", + "label": "^hdd", "css": "", "on": 1, "off": 0, diff --git a/app/main/launcher/index.html b/app/main/launcher/index.html index 1a591c98..b9f3a37b 100644 --- a/app/main/launcher/index.html +++ b/app/main/launcher/index.html @@ -3,10 +3,12 @@ - - - - + + + + + + diff --git a/resources/docs/widgets/widgets.md b/resources/docs/widgets/widgets.md index 58e5a544..8ae3fb59 100644 --- a/resources/docs/widgets/widgets.md +++ b/resources/docs/widgets/widgets.md @@ -26,7 +26,7 @@ All widgets share a set of generic properties described below. - default: `auto`, which displays `id` - usage: - set to `false` to hide completely - - insert icons from [FontAwesome](http://fontawesome.io/icons/) using the prefix `^` followed by the icon's name : `made with ^heart`, etc + - insert icons from [FontAwesome](https://fontawesome.com/icons?d=gallery&s=solid&m=free) using the prefix `^` followed by the icon's name : `made with ^heart`, etc ### `top` / `left` - type: `number|percentage` diff --git a/src/browser/js/app/managers/session.js b/src/browser/js/app/managers/session.js index 144d2e73..178ca1e3 100644 --- a/src/browser/js/app/managers/session.js +++ b/src/browser/js/app/managers/session.js @@ -98,7 +98,7 @@ var SessionManager = class SessionManager { list.append(` ${file} (${path}) - ${READ_ONLY? '' : ''+icon('remove')+''} + ${READ_ONLY? '' : ''+icon('times')+''} `) @@ -122,7 +122,7 @@ var SessionManager = class SessionManager { }) footer.append(''+icon('folder-open')+' Browse') - footer.append(''+icon('file-o')+' New') + footer.append(''+icon('file')+' New') lobby.find('.browse').click((e)=>{ e.stopPropagation() diff --git a/src/browser/js/app/sidepanel.js b/src/browser/js/app/sidepanel.js index 9e17b392..92586dda 100644 --- a/src/browser/js/app/sidepanel.js +++ b/src/browser/js/app/sidepanel.js @@ -18,7 +18,7 @@ var data = [ ] }, { - title: icon('sliders') + '  State', + title: icon('sliders-h') + '  State', actions: [ { title:'Store', diff --git a/src/browser/js/app/utils.js b/src/browser/js/app/utils.js index d1348bff..56cf334e 100644 --- a/src/browser/js/app/utils.js +++ b/src/browser/js/app/utils.js @@ -5,7 +5,7 @@ module.exports = { var popup = $(` `), diff --git a/src/browser/js/app/widgets/containers/modal.js b/src/browser/js/app/widgets/containers/modal.js index b70c19d6..085ab8a1 100644 --- a/src/browser/js/app/widgets/containers/modal.js +++ b/src/browser/js/app/widgets/containers/modal.js @@ -60,7 +60,7 @@ module.exports = class Modal extends Panel { this.popup = $(` diff --git a/src/browser/js/app/widgets/containers/root.js b/src/browser/js/app/widgets/containers/root.js index 4798334b..047e18e9 100644 --- a/src/browser/js/app/widgets/containers/root.js +++ b/src/browser/js/app/widgets/containers/root.js @@ -54,7 +54,7 @@ module.exports = class Root extends Panel { super.createNavigation() - this.navigation.append(`
  • ${iconify('^navicon')}
  • `) + this.navigation.append(`
  • ${iconify('^bars')}
  • `) } diff --git a/src/browser/scss/_layout.scss b/src/browser/scss/_layout.scss index eeec0202..81e02b9c 100644 --- a/src/browser/scss/_layout.scss +++ b/src/browser/scss/_layout.scss @@ -91,6 +91,7 @@ body { pointer-events: auto; i { pointer-events: none; + font-size:13rem; } } &.on a, .sidepanel-open { diff --git a/src/browser/scss/style.scss b/src/browser/scss/style.scss index b96a3287..b6e7b8e4 100644 --- a/src/browser/scss/style.scss +++ b/src/browser/scss/style.scss @@ -22,7 +22,9 @@ input { - +.fa { + font-weight: 900; +} html, body { height:100%; From 60fd409b75fe8b789d70d6245900b640af31d67d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:38:27 +0100 Subject: [PATCH 0010/5759] fonts: update fontawesome (v5) --- app/browser/fonts/fa-solid-900.woff | Bin 0 -> 45852 bytes app/browser/fonts/fa-solid.css | 14 ++++++++++++++ app/browser/fonts/font-awesome.min.css | 4 ---- app/browser/fonts/fontawesome-webfont.woff | Bin 98024 -> 0 bytes app/browser/fonts/fontawesome.min.css | 5 +++++ app/browser/index.html | 5 +++-- app/examples/ardour.json | 4 ++-- app/main/launcher/index.html | 10 ++++++---- resources/docs/widgets/widgets.md | 2 +- src/browser/js/app/managers/session.js | 4 ++-- src/browser/js/app/sidepanel.js | 2 +- src/browser/js/app/utils.js | 2 +- src/browser/js/app/widgets/containers/modal.js | 2 +- src/browser/js/app/widgets/containers/root.js | 2 +- src/browser/scss/_layout.scss | 1 + src/browser/scss/style.scss | 4 +++- 16 files changed, 41 insertions(+), 20 deletions(-) create mode 100644 app/browser/fonts/fa-solid-900.woff create mode 100644 app/browser/fonts/fa-solid.css delete mode 100644 app/browser/fonts/font-awesome.min.css delete mode 100644 app/browser/fonts/fontawesome-webfont.woff create mode 100644 app/browser/fonts/fontawesome.min.css diff --git a/app/browser/fonts/fa-solid-900.woff b/app/browser/fonts/fa-solid-900.woff new file mode 100644 index 0000000000000000000000000000000000000000..e9981ea5fab7a952910d52397c2f51fd50a573a2 GIT binary patch literal 45852 zcmV)yK$5?APew)n0RR910J9tb3jhEB0eO@F0RR91000000000000000000000000- zQ&mC$009U90027x002}VizRwbQ!g?A00Be*002V(0034$xKM9nZDDW#00D>q01eLo z03LeB@t9O+YIjTVR&!=0HrJd0018V001BY<^ck3VQpmq0HsU-00CJ500R2_kDkhKZ*z120H&w_ z01R;e02Yaf4We{-oMT{QU|`^4FkrA_U~+Nu31Q&NNi4}@kYZqAfB=v@GMh0cGd+=k z1I7c&v4Cj~AZCMz0stmE1xNsRoMT{Qe84z?ft7)QaT;S90|SFQl>W*f$7JolqN~phQeSrHIgwkGNUxtb=@*j z_|Ee^{PnHx|LPER6+@L!Efj<{p+o2v28O|5RG1JZhN7KAS?NpKF*2rZz}4yD8CXgZ$dvocvhRxfLr4a^2* zL$aaSjpbuyTY>7aR=hMei7n!lv8}B@ z=h!uNj|1b7I5|EVXPjMud2yMoz^eFeTpxE9uE73yFdnfLIFXQwq*AF;s+ww~CaGm= zo4Te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=9WSR+Ks8R%k>yexA&a0O#s@T%6r|dKJh2zlRqoomT7}Sn4QnbFnYqoVJZ>s7 z4r%)xHH^J76?$}SGObmzg%cU`be_s=6f9AibLd~u`>L-9E*3TFBcozrGowP z8$1wx7SytU&QVfk(tvCmvtT--Vk0WXHFv_Paf!Yc&Jk#REf^ORH^EiLWpnR{%`C_x zSJ`_?f$2~UqD}Q1TBCNaEpy)*1s_A4Ojl7^($hZTas93eOoeZdqfe`n>G(Y)N$&MaSvJIMrbdgBR3Wo^ZYm_YB{_tWsXV5NP%5fJ znded6)F=cZ8&>jI=TnmC)M(Dk!iv3EG%1G4VpCOvBfoB*=E7!>;&dCx8V1{aYgpEe zYE#^g6-8Vscj&rbFx8sjI?>of*RVvVv9f_>Q*$0&67}kTUNe;5_v7rNbG} zwXrpznneH3p>I!<1&PSGBC%waQ<13oM8WBDLz#=$28sPasWOn1B7)kGTRv~z{{Sd9 I!4d!f02t6WZ2$lO literal 0 HcmV?d00001 diff --git a/app/browser/fonts/fa-solid.css b/app/browser/fonts/fa-solid.css new file mode 100644 index 00000000..16146e83 --- /dev/null +++ b/app/browser/fonts/fa-solid.css @@ -0,0 +1,14 @@ +/*! + * Font Awesome Free 5.0.0 by @fontawesome - http://fontawesome.com + * License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +@font-face { + font-family: 'Font Awesome 5 Free'; + font-style: normal; + font-weight: 900; + src: url("./fa-solid-900.woff") format("woff")} + +.fa, +.fas { + font-family: 'Font Awesome 5 Free'; + font-weight: 900; } diff --git a/app/browser/fonts/font-awesome.min.css b/app/browser/fonts/font-awesome.min.css deleted file mode 100644 index 4d9f65de..00000000 --- a/app/browser/fonts/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome'; src:url('fontawesome-webfont.woff') format('woff');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/app/browser/fonts/fontawesome-webfont.woff b/app/browser/fonts/fontawesome-webfont.woff deleted file mode 100644 index 400014a4b06eee3d0c0d54402a47ab2601b2862b..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc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VL6V&p()C6fr8XsJrcP4kRFKHKlD)mH zW36##Qqcxkl!!j_8!gW6t=5$C`OF1)2f#OTy04qFwZB$z2qO;t&twuT~;5c*ENEE=ZfA)zq*8CZ8#0$}| zor^Y6snM;KG=gJrW{*Ad{?(bJZ6$y=Y{*8|KT-!_@pPpp&x8KY|ZxgYgGfzq(Ts9l~Usv*3=Q|~qX4|Ok4XkqnWEbrn~>>AO|v9ZsgUe*QZ5OCj3PM> z-8;ci^6--vmFzz01Gd}o;Wf#`_5Gks8WA$8zsiy7sNra(XlhjC#pzRGe(!U)Y9_ub zE1dDNFqVz9dZ2PJmdb)jKQhtg4oy4Nv7?dQtWt_8Wt61MvvAVlsKnHwpsB!F`N_k0 z@iFJx14n6;v6O!r>mnTlW3Ad`5iGU7pG)U0YM`u37CmX*QjNW-B- z!1H4e7ZZ^~5SNzA!WcIu+NT&}ucK{65&jgGHL9m-$4VtL|5vc?zk|>Q;#x>%Ldg)s1dM-!%YPPQiF<5k9X{l5jPOl+jaRu*E8bLP8QGBqUD665Mi zu%~&7yewF+|5wyQ{C>uAM{Am=%FBZ7y81Y0xw|RTL;ZdxN`;*5w3<9;xwt9QRXu6O SdSQM28?+M|D(2r_;{O0|uQ74} diff --git a/app/browser/fonts/fontawesome.min.css b/app/browser/fonts/fontawesome.min.css new file mode 100644 index 00000000..7b36b77f --- /dev/null +++ b/app/browser/fonts/fontawesome.min.css @@ -0,0 +1,5 @@ +/*! + * Font Awesome Free 5.0.0 by @fontawesome - http://fontawesome.com + * License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:a 2s infinite linear;animation:a 2s infinite linear}.fa-pulse{-webkit-animation:a 1s infinite steps(8);animation:a 1s infinite steps(8)}@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-amazon:before{content:"\f270"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-aws:before{content:"\f375"}.fa-backward:before{content:"\f04a"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blind:before{content:"\f29d"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-car:before{content:"\f1b9"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-certificate:before{content:"\f0a3"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-square:before{content:"\f14a"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-clipboard:before{content:"\f328"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comments:before{content:"\f086"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-credit-card:before{content:"\f09d"}.fa-crop:before{content:"\f125"}.fa-crosshairs:before{content:"\f05b"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-deviantart:before{content:"\f1bd"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dollar-sign:before{content:"\f155"}.fa-dot-circle:before{content:"\f192"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-dropbox-alt:before{content:"\f398"}.fa-drupal:before{content:"\f1a9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-eject:before{content:"\f052"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-excel:before{content:"\f1c3"}.fa-file-image:before{content:"\f1c5"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-order:before{content:"\f2b0"}.fa-firstdraft:before{content:"\f3a1"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frown:before{content:"\f119"}.fa-futbol:before{content:"\f1e3"}.fa-gamepad:before{content:"\f11b"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-gift:before{content:"\f06b"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-martini:before{content:"\f000"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-gofore:before{content:"\f3a7"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-handshake:before{content:"\f2b5"}.fa-hashtag:before{content:"\f292"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-heart:before{content:"\f004"}.fa-heartbeat:before{content:"\f21e"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hospital:before{content:"\f0f8"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-jenkins:before{content:"\f3b6"}.fa-joget:before{content:"\f3b7"}.fa-joomla:before{content:"\f1aa"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-key:before{content:"\f084"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-male:before{content:"\f183"}.fa-map:before{content:"\f279"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-maxcdn:before{content:"\f136"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-meh:before{content:"\f11a"}.fa-mercury:before{content:"\f223"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-moon:before{content:"\f186"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-paint-brush:before{content:"\f1fc"}.fa-palfed:before{content:"\f3d8"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-paragraph:before{content:"\f1dd"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-percent:before{content:"\f295"}.fa-periscope:before{content:"\f3da"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phone:before{content:"\f095"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-plane:before{content:"\f072"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-print:before{content:"\f02f"}.fa-product-hunt:before{content:"\f288"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-random:before{content:"\f074"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-rebel:before{content:"\f1d0"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redo:before{content:"\f01e"}.fa-registered:before{content:"\f25d"}.fa-rendact:before{content:"\f3e4"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-resolving:before{content:"\f3e7"}.fa-retweet:before{content:"\f079"}.fa-road:before{content:"\f018"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-rupee-sign:before{content:"\f156"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-scribd:before{content:"\f28a"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shower:before{content:"\f2cc"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowflake:before{content:"\f2dc"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-spinner:before{content:"\f110"}.fa-spotify:before{content:"\f1bc"}.fa-square:before{content:"\f0c8"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-star:before{content:"\f005"}.fa-star-half:before{content:"\f089"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-strava:before{content:"\f428"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-sync:before{content:"\f021"}.fa-table:before{content:"\f0ce"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-trademark:before{content:"\f25c"}.fa-train:before{content:"\f238"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-uber:before{content:"\f402"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-circle:before{content:"\f2bd"}.fa-user-md:before{content:"\f0f0"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-volume-down:before{content:"\f027"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vuejs:before{content:"\f41f"}.fa-weibo:before{content:"\f18a"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wrench:before{content:"\f0ad"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto} \ No newline at end of file diff --git a/app/browser/index.html b/app/browser/index.html index 20917171..3bcbe379 100644 --- a/app/browser/index.html +++ b/app/browser/index.html @@ -3,12 +3,13 @@ - + - + + diff --git a/app/examples/ardour.json b/app/examples/ardour.json index 5ef44ab5..16db9d4f 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -442,7 +442,7 @@ "type": "toggle", "id": "disk_@{parent.variables.n}", "linkId": "", - "label": "^hdd-o", + "label": "^hdd", "css": "", "on": 1, "off": 0, @@ -2087,7 +2087,7 @@ "type": "toggle", "id": "disk_select", "linkId": "", - "label": "^hdd-o", + "label": "^hdd", "css": "", "on": 1, "off": 0, diff --git a/app/main/launcher/index.html b/app/main/launcher/index.html index 1a591c98..b9f3a37b 100644 --- a/app/main/launcher/index.html +++ b/app/main/launcher/index.html @@ -3,10 +3,12 @@ - - - - + + + + + + diff --git a/resources/docs/widgets/widgets.md b/resources/docs/widgets/widgets.md index 58e5a544..8ae3fb59 100644 --- a/resources/docs/widgets/widgets.md +++ b/resources/docs/widgets/widgets.md @@ -26,7 +26,7 @@ All widgets share a set of generic properties described below. - default: `auto`, which displays `id` - usage: - set to `false` to hide completely - - insert icons from [FontAwesome](http://fontawesome.io/icons/) using the prefix `^` followed by the icon's name : `made with ^heart`, etc + - insert icons from [FontAwesome](https://fontawesome.com/icons?d=gallery&s=solid&m=free) using the prefix `^` followed by the icon's name : `made with ^heart`, etc ### `top` / `left` - type: `number|percentage` diff --git a/src/browser/js/app/managers/session.js b/src/browser/js/app/managers/session.js index 144d2e73..178ca1e3 100644 --- a/src/browser/js/app/managers/session.js +++ b/src/browser/js/app/managers/session.js @@ -98,7 +98,7 @@ var SessionManager = class SessionManager { list.append(` ${file} (${path}) - ${READ_ONLY? '' : ''+icon('remove')+''} + ${READ_ONLY? '' : ''+icon('times')+''} `) @@ -122,7 +122,7 @@ var SessionManager = class SessionManager { }) footer.append(''+icon('folder-open')+' Browse') - footer.append(''+icon('file-o')+' New') + footer.append(''+icon('file')+' New') lobby.find('.browse').click((e)=>{ e.stopPropagation() diff --git a/src/browser/js/app/sidepanel.js b/src/browser/js/app/sidepanel.js index 9e17b392..92586dda 100644 --- a/src/browser/js/app/sidepanel.js +++ b/src/browser/js/app/sidepanel.js @@ -18,7 +18,7 @@ var data = [ ] }, { - title: icon('sliders') + '  State', + title: icon('sliders-h') + '  State', actions: [ { title:'Store', diff --git a/src/browser/js/app/utils.js b/src/browser/js/app/utils.js index d1348bff..56cf334e 100644 --- a/src/browser/js/app/utils.js +++ b/src/browser/js/app/utils.js @@ -5,7 +5,7 @@ module.exports = { var popup = $(` `), diff --git a/src/browser/js/app/widgets/containers/modal.js b/src/browser/js/app/widgets/containers/modal.js index b70c19d6..085ab8a1 100644 --- a/src/browser/js/app/widgets/containers/modal.js +++ b/src/browser/js/app/widgets/containers/modal.js @@ -60,7 +60,7 @@ module.exports = class Modal extends Panel { this.popup = $(` diff --git a/src/browser/js/app/widgets/containers/root.js b/src/browser/js/app/widgets/containers/root.js index 4798334b..047e18e9 100644 --- a/src/browser/js/app/widgets/containers/root.js +++ b/src/browser/js/app/widgets/containers/root.js @@ -54,7 +54,7 @@ module.exports = class Root extends Panel { super.createNavigation() - this.navigation.append(`
  • ${iconify('^navicon')}
  • `) + this.navigation.append(`
  • ${iconify('^bars')}
  • `) } diff --git a/src/browser/scss/_layout.scss b/src/browser/scss/_layout.scss index eeec0202..81e02b9c 100644 --- a/src/browser/scss/_layout.scss +++ b/src/browser/scss/_layout.scss @@ -91,6 +91,7 @@ body { pointer-events: auto; i { pointer-events: none; + font-size:13rem; } } &.on a, .sidepanel-open { diff --git a/src/browser/scss/style.scss b/src/browser/scss/style.scss index b96a3287..b6e7b8e4 100644 --- a/src/browser/scss/style.scss +++ b/src/browser/scss/style.scss @@ -22,7 +22,9 @@ input { - +.fa { + font-weight: 900; +} html, body { height:100%; From 565b54d8b065c1d1633ad35dbb6012c498dff352 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:51:29 +0100 Subject: [PATCH 0011/5759] session/state: fix regression breaking session/state save-to-file --- src/browser/js/app/managers/session.js | 2 +- src/browser/js/app/managers/state.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/managers/session.js b/src/browser/js/app/managers/session.js index 178ca1e3..8cbf84ae 100644 --- a/src/browser/js/app/managers/session.js +++ b/src/browser/js/app/managers/session.js @@ -20,7 +20,7 @@ var SessionManager = class SessionManager { $('#container').empty() var p = loading('Loading session file...') - setTimeout(function(){ + setTimeout(()=>{ try { parser.reset() diff --git a/src/browser/js/app/managers/state.js b/src/browser/js/app/managers/state.js index 9ff35057..0c1d71df 100644 --- a/src/browser/js/app/managers/state.js +++ b/src/browser/js/app/managers/state.js @@ -73,11 +73,11 @@ var StateManager = class StateManager { prompt.click() - prompt.on('change',function(e){ + prompt.on('change',(e)=>{ var reader = new FileReader() - reader.onloadend = function(e) { + reader.onloadend = (e)=>{ var preset = e.target.result this.set(JSON.parse(preset),true) From 9d210294ce3a320c144179d8b88a75285742d1ad Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:51:29 +0100 Subject: [PATCH 0012/5759] session/state: fix regression breaking session/state save-to-file --- src/browser/js/app/managers/session.js | 2 +- src/browser/js/app/managers/state.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/managers/session.js b/src/browser/js/app/managers/session.js index 178ca1e3..8cbf84ae 100644 --- a/src/browser/js/app/managers/session.js +++ b/src/browser/js/app/managers/session.js @@ -20,7 +20,7 @@ var SessionManager = class SessionManager { $('#container').empty() var p = loading('Loading session file...') - setTimeout(function(){ + setTimeout(()=>{ try { parser.reset() diff --git a/src/browser/js/app/managers/state.js b/src/browser/js/app/managers/state.js index 9ff35057..0c1d71df 100644 --- a/src/browser/js/app/managers/state.js +++ b/src/browser/js/app/managers/state.js @@ -73,11 +73,11 @@ var StateManager = class StateManager { prompt.click() - prompt.on('change',function(e){ + prompt.on('change',(e)=>{ var reader = new FileReader() - reader.onloadend = function(e) { + reader.onloadend = (e)=>{ var preset = e.target.result this.set(JSON.parse(preset),true) From d3b31d3ce3c2c2eb7b71ec85ff03982b38d3eaf2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:52:22 +0100 Subject: [PATCH 0013/5759] package: v0.21.3 --- app/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index 9913a1eb..7ad7af76 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "A libre desktop OSC bi-directionnal control surface application.", - "version": "0.21.2", + "version": "0.21.3", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" diff --git a/package.json b/package.json index 444c1533..699a0016 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "open-stage-control-builder", "description": "[Builder package] A libre desktop OSC bi-directionnal control surface application", - "version": "0.21.2", + "version": "0.21.3", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" From 6fb8bf9438bdf210ab5ed6d1fce57a9b4589edb8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:52:22 +0100 Subject: [PATCH 0014/5759] package: v0.21.3 --- app/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index 9913a1eb..7ad7af76 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "A libre desktop OSC bi-directionnal control surface application.", - "version": "0.21.2", + "version": "0.21.3", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" diff --git a/package.json b/package.json index 444c1533..699a0016 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "open-stage-control-builder", "description": "[Builder package] A libre desktop OSC bi-directionnal control surface application", - "version": "0.21.2", + "version": "0.21.3", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" From f062faf581d2f9e9634ce0eafe33de9e8ae8aae9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:55:25 +0100 Subject: [PATCH 0015/5759] log: 0.21.3 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b843c1c..9212acc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.21.3 + +- bug fixes + - session/state: regression (0.21.2) breaking save-to-file function +- ui + - FontAwesome 5 (icon font) ! + ## 0.21.2 - bug fixes From 95ae2f50e8b2ccc9b08abc56add39490c83d8c0a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:55:25 +0100 Subject: [PATCH 0016/5759] log: 0.21.3 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b843c1c..9212acc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.21.3 + +- bug fixes + - session/state: regression (0.21.2) breaking save-to-file function +- ui + - FontAwesome 5 (icon font) ! + ## 0.21.2 - bug fixes From e74d892e3dc33a058d88de58c4136a57a31403cf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 10 Dec 2017 15:10:34 +0100 Subject: [PATCH 0017/5759] zeroconf: 1st implementation try (http.tcp ok, osc.udp not sure) (issue #118) --- app/main/osc.js | 7 +++++++ app/main/server.js | 7 +++++++ app/main/zeroconf.js | 3 +++ app/package.json | 13 +++++++------ 4 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 app/main/zeroconf.js diff --git a/app/main/osc.js b/app/main/osc.js index d69badcb..affe6fbb 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -5,6 +5,7 @@ require('vmodule')('serialport', {}, {global: true}) var osc = require('osc'), ipc = require('./server').ipc, settings = require('./settings'), + zeroconf = require('./zeroconf'), oscInPort = settings.read('oscInPort') || settings.read('httpPort'), debug = settings.read('debug'), vm = require('vm'), @@ -17,6 +18,12 @@ var oscServer = new osc.UDPPort({ metadata: true }) +zeroconf.publish({ + name: settings.read('appName'), + protocol: 'upd', + type: 'osc', + port: oscInPort +}) var parseType = function(type){ var t = type[0].match(/[bhtdscrmifTFNI]/) diff --git a/app/main/server.js b/app/main/server.js index 5bb038f2..f2ecc90d 100644 --- a/app/main/server.js +++ b/app/main/server.js @@ -6,6 +6,7 @@ var express = require('express')(), io = require('socket.io')(server), ipc = {}, settings = require('./settings'), + zeroconf = require('./zeroconf'), appAddresses = settings.read('appAddresses'), clients = {} @@ -27,6 +28,12 @@ express.get('*', function(req, res){ server.listen(settings.read('httpPort')) +zeroconf.publish({ + name: settings.read('appName'), + type: 'http', + port: settings.read('httpPort') +}) + ipc.send = function(name,data,clientId) { if (clientId) { io.to(clientId).emit(name,data) diff --git a/app/main/zeroconf.js b/app/main/zeroconf.js new file mode 100644 index 00000000..74aa0a99 --- /dev/null +++ b/app/main/zeroconf.js @@ -0,0 +1,3 @@ +var zeroconf = require('bonjour')() + +module.exports = zeroconf diff --git a/app/package.json b/app/package.json index 7ad7af76..bd2706b0 100644 --- a/app/package.json +++ b/app/package.json @@ -21,15 +21,16 @@ "license": "GPL-3.0", "main": "index.js", "dependencies": { - "vmodule":"1.0.1", + "bonjour": "^3.5.0", + "chokidar": "1.7.0", "electron-localshortcut": "2.0.2", - "osc": "2.2.0", - "yargs": "10.0.3", - "socket.io": "2.0.4", "express": "4.16.2", "jquery": "3.2.1", - "chokidar": "1.7.0", - "python-shell":"0.4.0" + "osc": "2.2.0", + "python-shell": "0.4.0", + "socket.io": "2.0.4", + "vmodule": "1.0.1", + "yargs": "10.0.3" }, "scripts": { "start": "electron ." From d69d20b6e4084a0c7957d90cb16f834ebd4bf2ff Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 10 Dec 2017 15:10:34 +0100 Subject: [PATCH 0018/5759] zeroconf: 1st implementation try (http.tcp ok, osc.udp not sure) (issue #118) --- app/main/osc.js | 7 +++++++ app/main/server.js | 7 +++++++ app/main/zeroconf.js | 3 +++ app/package.json | 13 +++++++------ 4 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 app/main/zeroconf.js diff --git a/app/main/osc.js b/app/main/osc.js index d69badcb..affe6fbb 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -5,6 +5,7 @@ require('vmodule')('serialport', {}, {global: true}) var osc = require('osc'), ipc = require('./server').ipc, settings = require('./settings'), + zeroconf = require('./zeroconf'), oscInPort = settings.read('oscInPort') || settings.read('httpPort'), debug = settings.read('debug'), vm = require('vm'), @@ -17,6 +18,12 @@ var oscServer = new osc.UDPPort({ metadata: true }) +zeroconf.publish({ + name: settings.read('appName'), + protocol: 'upd', + type: 'osc', + port: oscInPort +}) var parseType = function(type){ var t = type[0].match(/[bhtdscrmifTFNI]/) diff --git a/app/main/server.js b/app/main/server.js index 5bb038f2..f2ecc90d 100644 --- a/app/main/server.js +++ b/app/main/server.js @@ -6,6 +6,7 @@ var express = require('express')(), io = require('socket.io')(server), ipc = {}, settings = require('./settings'), + zeroconf = require('./zeroconf'), appAddresses = settings.read('appAddresses'), clients = {} @@ -27,6 +28,12 @@ express.get('*', function(req, res){ server.listen(settings.read('httpPort')) +zeroconf.publish({ + name: settings.read('appName'), + type: 'http', + port: settings.read('httpPort') +}) + ipc.send = function(name,data,clientId) { if (clientId) { io.to(clientId).emit(name,data) diff --git a/app/main/zeroconf.js b/app/main/zeroconf.js new file mode 100644 index 00000000..74aa0a99 --- /dev/null +++ b/app/main/zeroconf.js @@ -0,0 +1,3 @@ +var zeroconf = require('bonjour')() + +module.exports = zeroconf diff --git a/app/package.json b/app/package.json index 7ad7af76..bd2706b0 100644 --- a/app/package.json +++ b/app/package.json @@ -21,15 +21,16 @@ "license": "GPL-3.0", "main": "index.js", "dependencies": { - "vmodule":"1.0.1", + "bonjour": "^3.5.0", + "chokidar": "1.7.0", "electron-localshortcut": "2.0.2", - "osc": "2.2.0", - "yargs": "10.0.3", - "socket.io": "2.0.4", "express": "4.16.2", "jquery": "3.2.1", - "chokidar": "1.7.0", - "python-shell":"0.4.0" + "osc": "2.2.0", + "python-shell": "0.4.0", + "socket.io": "2.0.4", + "vmodule": "1.0.1", + "yargs": "10.0.3" }, "scripts": { "start": "electron ." From 7f207801f4b66b0a1280c53bc9f50908c4370a22 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 10 Dec 2017 22:49:01 +0100 Subject: [PATCH 0019/5759] zeroconf: typo --- app/main/osc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/osc.js b/app/main/osc.js index affe6fbb..746a0464 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -20,7 +20,7 @@ var oscServer = new osc.UDPPort({ zeroconf.publish({ name: settings.read('appName'), - protocol: 'upd', + protocol: 'udp', type: 'osc', port: oscInPort }) From db81e18443d447c542607279dacef24aa811cce2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 10 Dec 2017 22:49:01 +0100 Subject: [PATCH 0020/5759] zeroconf: typo --- app/main/osc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/osc.js b/app/main/osc.js index affe6fbb..746a0464 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -20,7 +20,7 @@ var oscServer = new osc.UDPPort({ zeroconf.publish({ name: settings.read('appName'), - protocol: 'upd', + protocol: 'udp', type: 'osc', port: oscInPort }) From 7cc4197952367c66f27de67aecf40b9dd858003d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:12:29 +0100 Subject: [PATCH 0021/5759] server: allow resolving absolute file paths (issue #64) --- app/browser/index.html | 18 +++++++++--------- app/main/server.js | 6 ++++-- src/browser/js/app/sourcemap.js | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/app/browser/index.html b/app/browser/index.html index 3bcbe379..7e9fcc91 100644 --- a/app/browser/index.html +++ b/app/browser/index.html @@ -3,15 +3,15 @@ - - - - - - - - - + + + + + + + + + diff --git a/app/main/server.js b/app/main/server.js index f2ecc90d..387c8274 100644 --- a/app/main/server.js +++ b/app/main/server.js @@ -1,4 +1,3 @@ - var express = require('express')(), path = require('path'), http = require('http'), @@ -13,6 +12,7 @@ var express = require('express')(), express.get('/', function(req, res){ res.sendFile(path.resolve(__dirname + '/../browser/index.html')) }) + express.get('*', function(req, res){ if (req.path.indexOf('theme.css') != -1) { res.set('Content-Type', 'text/css'); @@ -21,8 +21,10 @@ express.get('*', function(req, res){ } else { res.send('') } + } else if (req.path.indexOf('browser/') != -1){ + res.sendFile(path.resolve(__dirname + '/..' + req.path)) } else { - res.sendFile(path.resolve(__dirname + '/../browser' + req.path)) + res.sendFile(path.resolve(req.path)) } }) diff --git a/src/browser/js/app/sourcemap.js b/src/browser/js/app/sourcemap.js index 71e916b6..23504f85 100644 --- a/src/browser/js/app/sourcemap.js +++ b/src/browser/js/app/sourcemap.js @@ -2,7 +2,7 @@ var sourceMap = require('../libs/source-map.min.js'), request = new XMLHttpRequest(), ipc = require('./ipc/') -request.open('GET', 'scripts.js.map', true) +request.open('GET', 'browser/scripts.js.map', true) request.onload = function() { From dc01b511286f53ffd72c994c37368b943558ccb6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:12:29 +0100 Subject: [PATCH 0022/5759] server: allow resolving absolute file paths (issue #64) --- app/browser/index.html | 18 +++++++++--------- app/main/server.js | 6 ++++-- src/browser/js/app/sourcemap.js | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/app/browser/index.html b/app/browser/index.html index 3bcbe379..7e9fcc91 100644 --- a/app/browser/index.html +++ b/app/browser/index.html @@ -3,15 +3,15 @@ - - - - - - - - - + + + + + + + + + diff --git a/app/main/server.js b/app/main/server.js index f2ecc90d..387c8274 100644 --- a/app/main/server.js +++ b/app/main/server.js @@ -1,4 +1,3 @@ - var express = require('express')(), path = require('path'), http = require('http'), @@ -13,6 +12,7 @@ var express = require('express')(), express.get('/', function(req, res){ res.sendFile(path.resolve(__dirname + '/../browser/index.html')) }) + express.get('*', function(req, res){ if (req.path.indexOf('theme.css') != -1) { res.set('Content-Type', 'text/css'); @@ -21,8 +21,10 @@ express.get('*', function(req, res){ } else { res.send('') } + } else if (req.path.indexOf('browser/') != -1){ + res.sendFile(path.resolve(__dirname + '/..' + req.path)) } else { - res.sendFile(path.resolve(__dirname + '/../browser' + req.path)) + res.sendFile(path.resolve(req.path)) } }) diff --git a/src/browser/js/app/sourcemap.js b/src/browser/js/app/sourcemap.js index 71e916b6..23504f85 100644 --- a/src/browser/js/app/sourcemap.js +++ b/src/browser/js/app/sourcemap.js @@ -2,7 +2,7 @@ var sourceMap = require('../libs/source-map.min.js'), request = new XMLHttpRequest(), ipc = require('./ipc/') -request.open('GET', 'scripts.js.map', true) +request.open('GET', 'browser/scripts.js.map', true) request.onload = function() { From dff73a6c4792606d4907a40f3ff83be947525741 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:37:42 +0100 Subject: [PATCH 0023/5759] cli: add --instance-name option to differenciate mulitple instances in zeroconf networks (issue #118) --- app/main/main.js | 2 +- app/main/osc.js | 2 +- app/main/server.js | 2 +- app/main/settings.js | 3 +++ resources/docs/getting-started.md | 1 + 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/main/main.js b/app/main/main.js index 704eaa6d..38cdf548 100644 --- a/app/main/main.js +++ b/app/main/main.js @@ -68,7 +68,7 @@ if (settings.cli) { launcher app.on('ready',function(){ - launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:568, color:'#283143'}) + launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:597, color:'#283143'}) }) process.stdout.write = (function(write) { diff --git a/app/main/osc.js b/app/main/osc.js index 746a0464..2e4993da 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -19,7 +19,7 @@ var oscServer = new osc.UDPPort({ }) zeroconf.publish({ - name: settings.read('appName'), + name: settings.read('appName') + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''), protocol: 'udp', type: 'osc', port: oscInPort diff --git a/app/main/server.js b/app/main/server.js index 387c8274..89906a5b 100644 --- a/app/main/server.js +++ b/app/main/server.js @@ -31,7 +31,7 @@ express.get('*', function(req, res){ server.listen(settings.read('httpPort')) zeroconf.publish({ - name: settings.read('appName'), + name: settings.read('appName') + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''), type: 'http', port: settings.read('httpPort') }) diff --git a/app/main/settings.js b/app/main/settings.js index ed7d8346..c929fb32 100644 --- a/app/main/settings.js +++ b/app/main/settings.js @@ -69,6 +69,8 @@ var options = { true : 'blank session can\'t be started in read-only mode' } }, + 'instance-name':{type:'string',describe:'used to differenciate multiple instances in a zeroconf network' + }, } @@ -124,6 +126,7 @@ var makeDefaultConfig = function(argv){ recentSessions: [], appName: 'Open Stage Control', + instanceName: argv['instance-name'] || false, syncTargets: argv.s || argv.sync || false, oscInPort: argv.o || 0, httpPort: argv.p || 8080, diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md index de3fd65d..76a3982c 100644 --- a/resources/docs/getting-started.md +++ b/resources/docs/getting-started.md @@ -25,6 +25,7 @@ Below are the available command-line options. Note that when running without any | --url-options | [url options](extras/url-options) (opt=value pairs) | | --disable-vsync | disable gui's vertical synchronization | | --read-only | disable session editing and session history changes | +| --instance-name | used to differenciate multiple instances in a zeroconf network | Command-line only : From 1d1281e1d830dffb7a5bd1ac8a6d10b5163ab00f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:37:42 +0100 Subject: [PATCH 0024/5759] cli: add --instance-name option to differenciate mulitple instances in zeroconf networks (issue #118) --- app/main/main.js | 2 +- app/main/osc.js | 2 +- app/main/server.js | 2 +- app/main/settings.js | 3 +++ resources/docs/getting-started.md | 1 + 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/main/main.js b/app/main/main.js index 704eaa6d..38cdf548 100644 --- a/app/main/main.js +++ b/app/main/main.js @@ -68,7 +68,7 @@ if (settings.cli) { launcher app.on('ready',function(){ - launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:568, color:'#283143'}) + launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:597, color:'#283143'}) }) process.stdout.write = (function(write) { diff --git a/app/main/osc.js b/app/main/osc.js index 746a0464..2e4993da 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -19,7 +19,7 @@ var oscServer = new osc.UDPPort({ }) zeroconf.publish({ - name: settings.read('appName'), + name: settings.read('appName') + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''), protocol: 'udp', type: 'osc', port: oscInPort diff --git a/app/main/server.js b/app/main/server.js index 387c8274..89906a5b 100644 --- a/app/main/server.js +++ b/app/main/server.js @@ -31,7 +31,7 @@ express.get('*', function(req, res){ server.listen(settings.read('httpPort')) zeroconf.publish({ - name: settings.read('appName'), + name: settings.read('appName') + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''), type: 'http', port: settings.read('httpPort') }) diff --git a/app/main/settings.js b/app/main/settings.js index ed7d8346..c929fb32 100644 --- a/app/main/settings.js +++ b/app/main/settings.js @@ -69,6 +69,8 @@ var options = { true : 'blank session can\'t be started in read-only mode' } }, + 'instance-name':{type:'string',describe:'used to differenciate multiple instances in a zeroconf network' + }, } @@ -124,6 +126,7 @@ var makeDefaultConfig = function(argv){ recentSessions: [], appName: 'Open Stage Control', + instanceName: argv['instance-name'] || false, syncTargets: argv.s || argv.sync || false, oscInPort: argv.o || 0, httpPort: argv.p || 8080, diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md index de3fd65d..76a3982c 100644 --- a/resources/docs/getting-started.md +++ b/resources/docs/getting-started.md @@ -25,6 +25,7 @@ Below are the available command-line options. Note that when running without any | --url-options | [url options](extras/url-options) (opt=value pairs) | | --disable-vsync | disable gui's vertical synchronization | | --read-only | disable session editing and session history changes | +| --instance-name | used to differenciate multiple instances in a zeroconf network | Command-line only : From 2f39bbc6b270aeb36985dcb9717b0038fcb3bafd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:43:39 +0100 Subject: [PATCH 0025/5759] log: last changes --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9212acc2..cc4843e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.22.0 + +- main + - added `zeroconf` / `bonjour` publishing for the http and osc input ports +- cli + - added `--instance-name` option to differenciate mulitple instances in zeroconf networks +- misc + - absolute file paths in widgets' background images urls are now properly resolved + ## 0.21.3 - bug fixes From bc3d6db62fc2d22d99ba3f56ad68d26791d02f3d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:43:39 +0100 Subject: [PATCH 0026/5759] log: last changes --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9212acc2..cc4843e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.22.0 + +- main + - added `zeroconf` / `bonjour` publishing for the http and osc input ports +- cli + - added `--instance-name` option to differenciate mulitple instances in zeroconf networks +- misc + - absolute file paths in widgets' background images urls are now properly resolved + ## 0.21.3 - bug fixes From eb67a733c141af2a6f63d616edc464e66cab9e4e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:45:55 +0100 Subject: [PATCH 0027/5759] log: typo --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc4843e3..e18caad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 0.22.0 - main - - added `zeroconf` / `bonjour` publishing for the http and osc input ports + - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - misc @@ -21,7 +21,7 @@ - bug fixes - cli: broken long flag `--no-gui` - headless: when running with `node`, errors don't stop the server; when running with `electron` (default), errors are logged in the console instead of being showed in a dialog window - - switcher widgets regression (broken) + - switcher widgets regression (broken) - midi - float values are now allowed and automatically rounded - misc From 6c292e1d4907f8ac1ad2960a5cdfed367310d04a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Dec 2017 12:45:55 +0100 Subject: [PATCH 0028/5759] log: typo --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc4843e3..e18caad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 0.22.0 - main - - added `zeroconf` / `bonjour` publishing for the http and osc input ports + - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - misc @@ -21,7 +21,7 @@ - bug fixes - cli: broken long flag `--no-gui` - headless: when running with `node`, errors don't stop the server; when running with `electron` (default), errors are logged in the console instead of being showed in a dialog window - - switcher widgets regression (broken) + - switcher widgets regression (broken) - midi - float values are now allowed and automatically rounded - misc From 28a47b3973b0b9979f0be838b62957de0ff2b0ad Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 15 Dec 2017 00:35:49 +0100 Subject: [PATCH 0029/5759] sliders: add range widget (testing) (issue #114) --- src/browser/js/app/widgets/index.js | 3 +- .../js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 345 ++++++++++++++++++ src/browser/scss/widgets/_fader.scss | 67 ++++ 4 files changed, 415 insertions(+), 2 deletions(-) create mode 100644 src/browser/js/app/widgets/sliders/range.js diff --git a/src/browser/js/app/widgets/index.js b/src/browser/js/app/widgets/index.js index 79c5d6be..c78bc5c4 100644 --- a/src/browser/js/app/widgets/index.js +++ b/src/browser/js/app/widgets/index.js @@ -7,6 +7,7 @@ module.exports.widgets = { fader: require('./sliders/fader'), knob: require('./sliders/knob'), encoder: require('./sliders/encoder'), + range: require('./sliders/range'), // buttons toggle: require('./buttons/toggle'), @@ -53,7 +54,7 @@ module.exports.widgets = { } module.exports.categories = { - 'Sliders':['fader','knob', 'encoder'], + 'Sliders':['fader','knob', 'encoder', 'range'], 'Buttons':['toggle','push','switch', 'dropdown'], 'Pads':['xy','rgb','multixy'], 'Matrices':['multifader','multitoggle','multipush', 'keyboard'], diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index ed81a15f..bca7ef17 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -203,7 +203,7 @@ module.exports = class _sliders_base extends _canvas_base { this.value = value - if (!options.dragged) this.percent = this.valueToPercent(this.value) + this.percent = this.valueToPercent(this.value) if (!this.noDraw) this.draw() diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js new file mode 100644 index 00000000..3e7acf50 --- /dev/null +++ b/src/browser/js/app/widgets/sliders/range.js @@ -0,0 +1,345 @@ +var _widgets_base = require('../common/_widgets_base'), + Fader = require('../pads/_fake_fader') + +var faderDefaults = Fader.defaults() + +module.exports = class Range extends _widgets_base { + + static defaults() { + + return { + type:'range', + id:'auto', + linkId:'', + + _geometry:'geometry', + + left:'auto', + top:'auto', + width:'auto', + height:'auto', + + _style:'style', + + label:'auto', + color:'auto', + css:'', + + _fader:'fader', + + horizontal:false, + alignRight:false, + pips:true, + compact:false, + snap:false, + spring:false, + range:{min:0,max:1}, + logScale:false, + value:[0,1], + + _osc:'osc', + + precision:2, + address:'auto', + touchAddress:'', + meterAddress:'', + preArgs:[], + target:[] + } + + } + + constructor(options) { + + var html = ` +
    +
    +
    + ` + + super({...options, html: html}) + + this.wrapper = this.widget.find('.wrapper') + + this.faders = [ + new Fader({props:{ + ...faderDefaults, + id:0, + compact:this.getProp('compact'), + pips:false, + alignRight:false, + horizontal:this.getProp('horizontal'), + height:'100%', + width:'100%', + value:this.getProp('value').length==2?this.getProp('value')[0]:'', + snap:this.getProp('snap'), + spring:this.getProp('spring'), + range:this.getProp('range'), + origin:'auto', + precision:this.precision, + logScale:this.getProp('logScale'), + input:false + }, cancelDraw: true}), + new Fader({props:{ + ...faderDefaults, + id:1, + compact:this.getProp('compact'), + pips:this.getProp('pips'), + alignRight:this.getProp('alignRight'), + horizontal:this.getProp('horizontal'), + height:'100%', + width:'100%', + value:this.getProp('value').length==2?this.getProp('value')[1]:'', + snap:this.getProp('snap'), + spring:this.getProp('spring'), + range:this.getProp('range'), + origin:'auto', + precision:this.precision, + logScale:this.getProp('logScale'), + input:false + }, cancelDraw: true}) + ] + + + + this.wrapper.append(this.faders[0].widget) + this.wrapper.append(this.faders[1].widget) + + this.value = this.getValue() + + this.wrapper.on('change',(e)=>{ + e.stopPropagation() + var v = [ + this.faders[0].getValue(), + this.faders[1].getValue() + ] + this.setValue(v, e.options) + }) + + this.handles = [ + $(`
    `), + $(`
    `) + ] + this.wrapper.append(this.handles) + + this.handlesToFaders = [] + + this.handles.forEach((handle, index)=>{ + + handle.on('draginit',(e, data, traversing)=>{ + + if (!traversing) { + handle.addClass('active') + } + + var id, ndiff, diff = -1 + + for (var i in this.handles) { + if (this.handlesToFaders.indexOf(i) != -1) continue + + var coord = this.faders[i].percentToCoord(this.faders[i].percent) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) + + ndiff = this.getProp('horizontal')? + Math.abs(data.offsetX - coord) : + Math.abs(data.offsetY - coord) + if (diff == -1 || ndiff < diff) { + id = i + diff = ndiff + } + } + + this.handlesToFaders[index] = id + + if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + + }) + + handle.on('drag',(e, data, traversing)=>{ + + var id = this.handlesToFaders[index] + if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + + }) + + handle.on('dragend',(e, data, traversing)=>{ + + var id = this.handlesToFaders[index] + if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + handle.removeClass('active') + this.handlesToFaders[index] = false + + }) + + }) + + + + var _this = this + this.faders[1].draw = function() { + + var width = this.getProp('horizontal') ? this.height : this.width, + height = !this.getProp('horizontal') ? this.height : this.width + + var d = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?0:1].percent)), + d2 = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?1:0].percent)), + m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) + + var dashed = this.getProp('dashed') + + this.clear() + + if (this.getProp('compact')) { + + this.ctx.globalAlpha = (dashed ? .3 : .2) + 0.2 * Math.abs(d-d2) / height + this.ctx.strokeStyle = this.colors.gauge + this.ctx.beginPath() + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + this.ctx.lineWidth = width + 2 * PXSCALE + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + this.ctx.beginPath() + this.ctx.fillStyle = this.colors.knob + this.ctx.rect(0, Math.min(d, height - PXSCALE), width, PXSCALE) + this.ctx.rect(0, Math.min(d2, height - PXSCALE), width, PXSCALE) + this.ctx.fill() + + this.clearRect = [0, 0, width, height] + + } else { + + this.ctx.lineWidth = 6 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.light + this.ctx.moveTo(m, this.margin * PXSCALE - 2 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 2 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 4 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.bg + this.ctx.moveTo(m, this.margin * PXSCALE - 1 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 1 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 2 * PXSCALE + + this.ctx.beginPath() + this.ctx.strokeStyle = this.colors.track + this.ctx.moveTo(m, this.margin * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE) + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.globalAlpha = 0.7 + this.ctx.strokeStyle = this.colors.gauge + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + + // high knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d - 14 * PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // low knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d2 - PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // high knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d - 12.5 * PXSCALE, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.light + this.ctx.fill() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + // low knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d2, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d2, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d2, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + + + this.clearRect = [width / 2 - 11 * PXSCALE, 0, 22 * PXSCALE, height] + } + + } + + } + + setValue(v, options={}) { + if (!v || !v.length || v.length!=2) return + + + this.faders[0].rangeValsMax = v[1] + this.faders[1].rangeValsMin = v[0] + + if (!options.dragged) { + this.faders[0].setValue(v[0]) + this.faders[1].setValue(v[1]) + } + + this.value = [ + this.faders[0].getValue(), + this.faders[1].getValue() + ] + + this.faders[1].draw() + + if (options.send) this.sendValue() + if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + + + } + +} diff --git a/src/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss index fb5568ff..982dfae8 100644 --- a/src/browser/scss/widgets/_fader.scss +++ b/src/browser/scss/widgets/_fader.scss @@ -364,3 +364,70 @@ } + + +.range-container { + width:200rem; + height:230rem; + padding: 1rem; + --color-pips: var(--color-custom); + --color-gauge: var(--color-custom); + --color-knob: var(--color-custom); + .range { + height:100%; + overflow: hidden; + display: flex; + position: relative; + flex: 1; + > .wrapper { + height:100%; + overflow: hidden; + display: flex; + position: relative; + flex:1; + .handle { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom:0; + z-index: 1; + &.active { + pointer-events: none; + } + } + .fader { + position: absolute; + top:0; + left:0; + right:0; + bottom:0; + .wrapper { + // border: 0; + } + &:first-child { + opacity: 0; + } + } + } + &.compact { + > canvas { + background: var(--color-track); + } + } + } +} + +.panel:not(.tab) > .range-container { + padding: 0rem; + --color-border:transparent; + .fader.compact { + padding: 1rem; + } + .fader.compact > .wrapper { + box-shadow: 0 0 0 1rem var(--color-fg); + + outline: 1rem solid var(--color-light); + border: 1rem solid var(--color-bg); + } +} From 0aefc2dfab7695c6c18169fc2b4c40b92824a271 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 15 Dec 2017 00:35:49 +0100 Subject: [PATCH 0030/5759] sliders: add range widget (testing) (issue #114) --- src/browser/js/app/widgets/index.js | 3 +- .../js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 345 ++++++++++++++++++ src/browser/scss/widgets/_fader.scss | 67 ++++ 4 files changed, 415 insertions(+), 2 deletions(-) create mode 100644 src/browser/js/app/widgets/sliders/range.js diff --git a/src/browser/js/app/widgets/index.js b/src/browser/js/app/widgets/index.js index 79c5d6be..c78bc5c4 100644 --- a/src/browser/js/app/widgets/index.js +++ b/src/browser/js/app/widgets/index.js @@ -7,6 +7,7 @@ module.exports.widgets = { fader: require('./sliders/fader'), knob: require('./sliders/knob'), encoder: require('./sliders/encoder'), + range: require('./sliders/range'), // buttons toggle: require('./buttons/toggle'), @@ -53,7 +54,7 @@ module.exports.widgets = { } module.exports.categories = { - 'Sliders':['fader','knob', 'encoder'], + 'Sliders':['fader','knob', 'encoder', 'range'], 'Buttons':['toggle','push','switch', 'dropdown'], 'Pads':['xy','rgb','multixy'], 'Matrices':['multifader','multitoggle','multipush', 'keyboard'], diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index ed81a15f..bca7ef17 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -203,7 +203,7 @@ module.exports = class _sliders_base extends _canvas_base { this.value = value - if (!options.dragged) this.percent = this.valueToPercent(this.value) + this.percent = this.valueToPercent(this.value) if (!this.noDraw) this.draw() diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js new file mode 100644 index 00000000..3e7acf50 --- /dev/null +++ b/src/browser/js/app/widgets/sliders/range.js @@ -0,0 +1,345 @@ +var _widgets_base = require('../common/_widgets_base'), + Fader = require('../pads/_fake_fader') + +var faderDefaults = Fader.defaults() + +module.exports = class Range extends _widgets_base { + + static defaults() { + + return { + type:'range', + id:'auto', + linkId:'', + + _geometry:'geometry', + + left:'auto', + top:'auto', + width:'auto', + height:'auto', + + _style:'style', + + label:'auto', + color:'auto', + css:'', + + _fader:'fader', + + horizontal:false, + alignRight:false, + pips:true, + compact:false, + snap:false, + spring:false, + range:{min:0,max:1}, + logScale:false, + value:[0,1], + + _osc:'osc', + + precision:2, + address:'auto', + touchAddress:'', + meterAddress:'', + preArgs:[], + target:[] + } + + } + + constructor(options) { + + var html = ` +
    +
    +
    + ` + + super({...options, html: html}) + + this.wrapper = this.widget.find('.wrapper') + + this.faders = [ + new Fader({props:{ + ...faderDefaults, + id:0, + compact:this.getProp('compact'), + pips:false, + alignRight:false, + horizontal:this.getProp('horizontal'), + height:'100%', + width:'100%', + value:this.getProp('value').length==2?this.getProp('value')[0]:'', + snap:this.getProp('snap'), + spring:this.getProp('spring'), + range:this.getProp('range'), + origin:'auto', + precision:this.precision, + logScale:this.getProp('logScale'), + input:false + }, cancelDraw: true}), + new Fader({props:{ + ...faderDefaults, + id:1, + compact:this.getProp('compact'), + pips:this.getProp('pips'), + alignRight:this.getProp('alignRight'), + horizontal:this.getProp('horizontal'), + height:'100%', + width:'100%', + value:this.getProp('value').length==2?this.getProp('value')[1]:'', + snap:this.getProp('snap'), + spring:this.getProp('spring'), + range:this.getProp('range'), + origin:'auto', + precision:this.precision, + logScale:this.getProp('logScale'), + input:false + }, cancelDraw: true}) + ] + + + + this.wrapper.append(this.faders[0].widget) + this.wrapper.append(this.faders[1].widget) + + this.value = this.getValue() + + this.wrapper.on('change',(e)=>{ + e.stopPropagation() + var v = [ + this.faders[0].getValue(), + this.faders[1].getValue() + ] + this.setValue(v, e.options) + }) + + this.handles = [ + $(`
    `), + $(`
    `) + ] + this.wrapper.append(this.handles) + + this.handlesToFaders = [] + + this.handles.forEach((handle, index)=>{ + + handle.on('draginit',(e, data, traversing)=>{ + + if (!traversing) { + handle.addClass('active') + } + + var id, ndiff, diff = -1 + + for (var i in this.handles) { + if (this.handlesToFaders.indexOf(i) != -1) continue + + var coord = this.faders[i].percentToCoord(this.faders[i].percent) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) + + ndiff = this.getProp('horizontal')? + Math.abs(data.offsetX - coord) : + Math.abs(data.offsetY - coord) + if (diff == -1 || ndiff < diff) { + id = i + diff = ndiff + } + } + + this.handlesToFaders[index] = id + + if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + + }) + + handle.on('drag',(e, data, traversing)=>{ + + var id = this.handlesToFaders[index] + if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + + }) + + handle.on('dragend',(e, data, traversing)=>{ + + var id = this.handlesToFaders[index] + if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + handle.removeClass('active') + this.handlesToFaders[index] = false + + }) + + }) + + + + var _this = this + this.faders[1].draw = function() { + + var width = this.getProp('horizontal') ? this.height : this.width, + height = !this.getProp('horizontal') ? this.height : this.width + + var d = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?0:1].percent)), + d2 = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?1:0].percent)), + m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) + + var dashed = this.getProp('dashed') + + this.clear() + + if (this.getProp('compact')) { + + this.ctx.globalAlpha = (dashed ? .3 : .2) + 0.2 * Math.abs(d-d2) / height + this.ctx.strokeStyle = this.colors.gauge + this.ctx.beginPath() + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + this.ctx.lineWidth = width + 2 * PXSCALE + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + this.ctx.beginPath() + this.ctx.fillStyle = this.colors.knob + this.ctx.rect(0, Math.min(d, height - PXSCALE), width, PXSCALE) + this.ctx.rect(0, Math.min(d2, height - PXSCALE), width, PXSCALE) + this.ctx.fill() + + this.clearRect = [0, 0, width, height] + + } else { + + this.ctx.lineWidth = 6 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.light + this.ctx.moveTo(m, this.margin * PXSCALE - 2 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 2 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 4 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.bg + this.ctx.moveTo(m, this.margin * PXSCALE - 1 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 1 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 2 * PXSCALE + + this.ctx.beginPath() + this.ctx.strokeStyle = this.colors.track + this.ctx.moveTo(m, this.margin * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE) + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.globalAlpha = 0.7 + this.ctx.strokeStyle = this.colors.gauge + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + + // high knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d - 14 * PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // low knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d2 - PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // high knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d - 12.5 * PXSCALE, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.light + this.ctx.fill() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + // low knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d2, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d2, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d2, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + + + this.clearRect = [width / 2 - 11 * PXSCALE, 0, 22 * PXSCALE, height] + } + + } + + } + + setValue(v, options={}) { + if (!v || !v.length || v.length!=2) return + + + this.faders[0].rangeValsMax = v[1] + this.faders[1].rangeValsMin = v[0] + + if (!options.dragged) { + this.faders[0].setValue(v[0]) + this.faders[1].setValue(v[1]) + } + + this.value = [ + this.faders[0].getValue(), + this.faders[1].getValue() + ] + + this.faders[1].draw() + + if (options.send) this.sendValue() + if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + + + } + +} diff --git a/src/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss index fb5568ff..982dfae8 100644 --- a/src/browser/scss/widgets/_fader.scss +++ b/src/browser/scss/widgets/_fader.scss @@ -364,3 +364,70 @@ } + + +.range-container { + width:200rem; + height:230rem; + padding: 1rem; + --color-pips: var(--color-custom); + --color-gauge: var(--color-custom); + --color-knob: var(--color-custom); + .range { + height:100%; + overflow: hidden; + display: flex; + position: relative; + flex: 1; + > .wrapper { + height:100%; + overflow: hidden; + display: flex; + position: relative; + flex:1; + .handle { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom:0; + z-index: 1; + &.active { + pointer-events: none; + } + } + .fader { + position: absolute; + top:0; + left:0; + right:0; + bottom:0; + .wrapper { + // border: 0; + } + &:first-child { + opacity: 0; + } + } + } + &.compact { + > canvas { + background: var(--color-track); + } + } + } +} + +.panel:not(.tab) > .range-container { + padding: 0rem; + --color-border:transparent; + .fader.compact { + padding: 1rem; + } + .fader.compact > .wrapper { + box-shadow: 0 0 0 1rem var(--color-fg); + + outline: 1rem solid var(--color-light); + border: 1rem solid var(--color-bg); + } +} From e7c8654eb7ccb393f93325b5cb0f1af75ee5e7c8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 15 Dec 2017 09:08:18 +0100 Subject: [PATCH 0031/5759] range: remove unnused options --- src/browser/js/app/widgets/sliders/range.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 3e7acf50..6efc8da9 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -41,8 +41,6 @@ module.exports = class Range extends _widgets_base { precision:2, address:'auto', - touchAddress:'', - meterAddress:'', preArgs:[], target:[] } From 51eb674cd3e3ea742096f9cee269989eade64d95 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 15 Dec 2017 09:08:18 +0100 Subject: [PATCH 0032/5759] range: remove unnused options --- src/browser/js/app/widgets/sliders/range.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 3e7acf50..6efc8da9 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -41,8 +41,6 @@ module.exports = class Range extends _widgets_base { precision:2, address:'auto', - touchAddress:'', - meterAddress:'', preArgs:[], target:[] } From 2af36b84e074c3bdd3410e9288d74763a10cc604 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 15 Dec 2017 09:10:36 +0100 Subject: [PATCH 0033/5759] range: add split opt --- src/browser/js/app/widgets/sliders/range.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 6efc8da9..d601c1ea 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -42,6 +42,7 @@ module.exports = class Range extends _widgets_base { precision:2, address:'auto', preArgs:[], + split:false, target:[] } @@ -57,6 +58,12 @@ module.exports = class Range extends _widgets_base { super({...options, html: html}) + this.split = this.getProp('split')? + typeof this.getProp('split') == 'object' && this.getProp('split').length == 2 ? + this.getProp('split') + : [this.getProp('address') + '/low', this.getProp('address') + '/high'] + : false + this.wrapper = this.widget.find('.wrapper') this.faders = [ From 30b55b6652e497875b9ea039a02f95877df52d30 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 15 Dec 2017 09:10:36 +0100 Subject: [PATCH 0034/5759] range: add split opt --- src/browser/js/app/widgets/sliders/range.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 6efc8da9..d601c1ea 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -42,6 +42,7 @@ module.exports = class Range extends _widgets_base { precision:2, address:'auto', preArgs:[], + split:false, target:[] } @@ -57,6 +58,12 @@ module.exports = class Range extends _widgets_base { super({...options, html: html}) + this.split = this.getProp('split')? + typeof this.getProp('split') == 'object' && this.getProp('split').length == 2 ? + this.getProp('split') + : [this.getProp('address') + '/low', this.getProp('address') + '/high'] + : false + this.wrapper = this.widget.find('.wrapper') this.faders = [ From e8610b50545b500806019988d50beef9f6960ea3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 13:48:55 +0100 Subject: [PATCH 0035/5759] range: add input (issue #114) fader: fix vertical+compact focused input size --- src/browser/js/app/widgets/sliders/range.js | 56 ++++++++++++- src/browser/scss/widgets/_fader.scss | 93 +++++++++++++++++++-- 2 files changed, 138 insertions(+), 11 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index d601c1ea..eec92785 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -1,5 +1,6 @@ var _widgets_base = require('../common/_widgets_base'), - Fader = require('../pads/_fake_fader') + Fader = require('../pads/_fake_fader'), + Input = require('../inputs/input') var faderDefaults = Fader.defaults() @@ -29,8 +30,9 @@ module.exports = class Range extends _widgets_base { horizontal:false, alignRight:false, - pips:true, + input: true, compact:false, + pips:true, snap:false, spring:false, range:{min:0,max:1}, @@ -177,7 +179,46 @@ module.exports = class Range extends _widgets_base { }) + if (this.getProp('input')) { + this.input = new Input({ + props:{...Input.defaults(), + precision:this.getProp('precision'), + unit:this.getProp('unit'), + horizontal: this.getProp('compact') && !this.getProp('horizontal') + }, + parent:this, parentNode:this.widget, + }) + this.widget.append(this.input.widget) + this.input.widget.on('change', (e)=>{ + e.stopPropagation() + this.setValue(this.input.getValue(), {sync:true, send:true}) + this.showValue() + }) + + this.widget.on('fake-right-click',function(e){ + if (!EDITING) { + e.stopPropagation() + e.preventDefault() + this.input.canvas.focus() + } + }.bind(this)) + + } + + + if (this.getProp('horizontal')) { + this.widget.add(this.container).addClass('horizontal') + } + if (this.getProp('alignRight') && !this.getProp('horizontal')) { + this.widget.addClass('align-right') + } + if (this.getProp('compact')) { + this.widget.addClass('compact') + } + if (this.getProp('pips')) { + this.widget.addClass('has-pips') + } var _this = this this.faders[1].draw = function() { @@ -339,11 +380,20 @@ module.exports = class Range extends _widgets_base { this.faders[1].getValue() ] - this.faders[1].draw() if (options.send) this.sendValue() if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + this.faders[1].draw() + + this.showValue() + + + } + + showValue() { + + if (this.getProp('input')) this.input.setValue(this.value) } diff --git a/src/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss index 982dfae8..9f2e0480 100644 --- a/src/browser/scss/widgets/_fader.scss +++ b/src/browser/scss/widgets/_fader.scss @@ -335,9 +335,9 @@ &:not(.horizontal) { .input { height: 100rem; - width: 24rem; + width: 100rem; margin-top: -50rem; - margin-left: calc(-1 * 12rem + var(--input-margin)); + margin-left: calc(-1 * 50rem + var(--input-margin)); z-index: 3; input { transform: rotate(-90deg); @@ -347,7 +347,7 @@ &.align-right { .input { - margin-left: calc(-1 * 12rem - var(--input-margin)); + margin-left: calc(-1 * 50rem - var(--input-margin)); } } @@ -367,8 +367,12 @@ .range-container { - width:200rem; - height:230rem; + width:100rem; + height:300rem; + &.horizontal { + height:130rem; + width:300rem + } padding: 1rem; --color-pips: var(--color-custom); --color-gauge: var(--color-custom); @@ -378,13 +382,25 @@ overflow: hidden; display: flex; position: relative; + flex-direction: column; flex: 1; + > .input { + height: 25rem; + flex:initial!important; + flex-shrink: 0!important; + // display: block; + background: transparent!important; + border: 0!important; + } > .wrapper { - height:100%; overflow: hidden; - display: flex; + flex: 1 1 100%; + max-height: 100%; + width: 100%; position: relative; - flex:1; + display: flex; + justify-content: center; + border-radius: inherit; .handle { position: absolute; top: 0; @@ -415,6 +431,67 @@ background: var(--color-track); } } + + + + &.compact { + + --input-margin:0rem; + &.has-meter { + --input-margin:-3rem; + } + &.has-pips { + --input-margin:-1rem; + } + &.has-meter.has-pips { + --input-margin:-4rem; + } + + .input { + pointer-events: none; + position: absolute; + border:0; + background:transparent; + overflow: hidden; + position: absolute; + top:50%; + left:50%; + z-index: 1; + } + + &.horizontal { + + .input { + width: 100rem; + height: 24rem; + margin-left: -50rem; + margin-top: calc(-1 * 12rem + var(--input-margin)); + } + + } + + &:not(.horizontal) { + .input { + height: 100rem; + width: 100rem; + margin-top: -50rem; + margin-left: calc(-1 * 50rem + var(--input-margin)); + z-index: 3; + input { + transform: rotate(-90deg); + width: 100rem; + } + } + + &.align-right { + .input { + margin-left: calc(-1 * 50rem - var(--input-margin)); + } + } + } + + } + } } From ec1434a651f64a35c0ce11fc5c895c5b046ee0d4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 13:48:55 +0100 Subject: [PATCH 0036/5759] range: add input (issue #114) fader: fix vertical+compact focused input size --- src/browser/js/app/widgets/sliders/range.js | 56 ++++++++++++- src/browser/scss/widgets/_fader.scss | 93 +++++++++++++++++++-- 2 files changed, 138 insertions(+), 11 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index d601c1ea..eec92785 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -1,5 +1,6 @@ var _widgets_base = require('../common/_widgets_base'), - Fader = require('../pads/_fake_fader') + Fader = require('../pads/_fake_fader'), + Input = require('../inputs/input') var faderDefaults = Fader.defaults() @@ -29,8 +30,9 @@ module.exports = class Range extends _widgets_base { horizontal:false, alignRight:false, - pips:true, + input: true, compact:false, + pips:true, snap:false, spring:false, range:{min:0,max:1}, @@ -177,7 +179,46 @@ module.exports = class Range extends _widgets_base { }) + if (this.getProp('input')) { + this.input = new Input({ + props:{...Input.defaults(), + precision:this.getProp('precision'), + unit:this.getProp('unit'), + horizontal: this.getProp('compact') && !this.getProp('horizontal') + }, + parent:this, parentNode:this.widget, + }) + this.widget.append(this.input.widget) + this.input.widget.on('change', (e)=>{ + e.stopPropagation() + this.setValue(this.input.getValue(), {sync:true, send:true}) + this.showValue() + }) + + this.widget.on('fake-right-click',function(e){ + if (!EDITING) { + e.stopPropagation() + e.preventDefault() + this.input.canvas.focus() + } + }.bind(this)) + + } + + + if (this.getProp('horizontal')) { + this.widget.add(this.container).addClass('horizontal') + } + if (this.getProp('alignRight') && !this.getProp('horizontal')) { + this.widget.addClass('align-right') + } + if (this.getProp('compact')) { + this.widget.addClass('compact') + } + if (this.getProp('pips')) { + this.widget.addClass('has-pips') + } var _this = this this.faders[1].draw = function() { @@ -339,11 +380,20 @@ module.exports = class Range extends _widgets_base { this.faders[1].getValue() ] - this.faders[1].draw() if (options.send) this.sendValue() if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + this.faders[1].draw() + + this.showValue() + + + } + + showValue() { + + if (this.getProp('input')) this.input.setValue(this.value) } diff --git a/src/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss index 982dfae8..9f2e0480 100644 --- a/src/browser/scss/widgets/_fader.scss +++ b/src/browser/scss/widgets/_fader.scss @@ -335,9 +335,9 @@ &:not(.horizontal) { .input { height: 100rem; - width: 24rem; + width: 100rem; margin-top: -50rem; - margin-left: calc(-1 * 12rem + var(--input-margin)); + margin-left: calc(-1 * 50rem + var(--input-margin)); z-index: 3; input { transform: rotate(-90deg); @@ -347,7 +347,7 @@ &.align-right { .input { - margin-left: calc(-1 * 12rem - var(--input-margin)); + margin-left: calc(-1 * 50rem - var(--input-margin)); } } @@ -367,8 +367,12 @@ .range-container { - width:200rem; - height:230rem; + width:100rem; + height:300rem; + &.horizontal { + height:130rem; + width:300rem + } padding: 1rem; --color-pips: var(--color-custom); --color-gauge: var(--color-custom); @@ -378,13 +382,25 @@ overflow: hidden; display: flex; position: relative; + flex-direction: column; flex: 1; + > .input { + height: 25rem; + flex:initial!important; + flex-shrink: 0!important; + // display: block; + background: transparent!important; + border: 0!important; + } > .wrapper { - height:100%; overflow: hidden; - display: flex; + flex: 1 1 100%; + max-height: 100%; + width: 100%; position: relative; - flex:1; + display: flex; + justify-content: center; + border-radius: inherit; .handle { position: absolute; top: 0; @@ -415,6 +431,67 @@ background: var(--color-track); } } + + + + &.compact { + + --input-margin:0rem; + &.has-meter { + --input-margin:-3rem; + } + &.has-pips { + --input-margin:-1rem; + } + &.has-meter.has-pips { + --input-margin:-4rem; + } + + .input { + pointer-events: none; + position: absolute; + border:0; + background:transparent; + overflow: hidden; + position: absolute; + top:50%; + left:50%; + z-index: 1; + } + + &.horizontal { + + .input { + width: 100rem; + height: 24rem; + margin-left: -50rem; + margin-top: calc(-1 * 12rem + var(--input-margin)); + } + + } + + &:not(.horizontal) { + .input { + height: 100rem; + width: 100rem; + margin-top: -50rem; + margin-left: calc(-1 * 50rem + var(--input-margin)); + z-index: 3; + input { + transform: rotate(-90deg); + width: 100rem; + } + } + + &.align-right { + .input { + margin-left: calc(-1 * 50rem - var(--input-margin)); + } + } + } + + } + } } From bf028db975563c65522a22c2cee895bcc9da1f81 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 19:45:56 +0100 Subject: [PATCH 0037/5759] range: doc and log --- CHANGELOG.md | 2 ++ resources/docs/widgets/sliders.md | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e18caad8..92faa7a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks +- widgets + - **new** `range` widget - misc - absolute file paths in widgets' background images urls are now properly resolved diff --git a/resources/docs/widgets/sliders.md b/resources/docs/widgets/sliders.md index 9f8c12d2..febf08ec 100644 --- a/resources/docs/widgets/sliders.md +++ b/resources/docs/widgets/sliders.md @@ -245,3 +245,15 @@ An endless knob that only responds to rotative gestures. ``` --color-knob:color; ``` + + +## Range + +A range is a fader with two handles. + +```js +{ + type:'range', + // etc +} +``` From 6003add49afe49da5f2f7b873697239a05813f3b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 19:45:56 +0100 Subject: [PATCH 0038/5759] range: doc and log --- CHANGELOG.md | 2 ++ resources/docs/widgets/sliders.md | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e18caad8..92faa7a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks +- widgets + - **new** `range` widget - misc - absolute file paths in widgets' background images urls are now properly resolved diff --git a/resources/docs/widgets/sliders.md b/resources/docs/widgets/sliders.md index 9f8c12d2..febf08ec 100644 --- a/resources/docs/widgets/sliders.md +++ b/resources/docs/widgets/sliders.md @@ -245,3 +245,15 @@ An endless knob that only responds to rotative gestures. ``` --color-knob:color; ``` + + +## Range + +A range is a fader with two handles. + +```js +{ + type:'range', + // etc +} +``` From 0ae2d5c7aa0ca3045d4b06d5d60f49ae77daf2b1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 19:47:22 +0100 Subject: [PATCH 0039/5759] doc: range's split prop --- resources/docs/widgets/sliders.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/docs/widgets/sliders.md b/resources/docs/widgets/sliders.md index febf08ec..a6fca52c 100644 --- a/resources/docs/widgets/sliders.md +++ b/resources/docs/widgets/sliders.md @@ -257,3 +257,11 @@ A range is a fader with two handles. // etc } ``` + +### `split` +- type: `boolean|object` +- default: `false` +- usage: + - set to `true` to send separate osc messages for `low` and `high` handles. The `address` will be the same as the widget's with `/low` or `/high` appended to it + - can be set as an object to specify a different `address` : `['/osc_address_low', '/osc_address_high']` +- note: the widget will only respond to its original osc address, not to the splitted version From a432d52a68557ac9f9c73767054930ede4f03d46 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 19:47:22 +0100 Subject: [PATCH 0040/5759] doc: range's split prop --- resources/docs/widgets/sliders.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/docs/widgets/sliders.md b/resources/docs/widgets/sliders.md index febf08ec..a6fca52c 100644 --- a/resources/docs/widgets/sliders.md +++ b/resources/docs/widgets/sliders.md @@ -257,3 +257,11 @@ A range is a fader with two handles. // etc } ``` + +### `split` +- type: `boolean|object` +- default: `false` +- usage: + - set to `true` to send separate osc messages for `low` and `high` handles. The `address` will be the same as the widget's with `/low` or `/high` appended to it + - can be set as an object to specify a different `address` : `['/osc_address_low', '/osc_address_high']` +- note: the widget will only respond to its original osc address, not to the splitted version From 08d9eb2012a892782770b2ecd987676e078739e6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 19:48:36 +0100 Subject: [PATCH 0041/5759] range: remove some weird things --- src/browser/js/app/widgets/sliders/range.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index eec92785..0c3b4353 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -37,7 +37,7 @@ module.exports = class Range extends _widgets_base { spring:false, range:{min:0,max:1}, logScale:false, - value:[0,1], + value:'', _osc:'osc', @@ -112,8 +112,6 @@ module.exports = class Range extends _widgets_base { this.wrapper.append(this.faders[0].widget) this.wrapper.append(this.faders[1].widget) - this.value = this.getValue() - this.wrapper.on('change',(e)=>{ e.stopPropagation() var v = [ From c1dc3786039d67da80c1d1aa2492957379bc4716 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 17 Dec 2017 19:48:36 +0100 Subject: [PATCH 0042/5759] range: remove some weird things --- src/browser/js/app/widgets/sliders/range.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index eec92785..0c3b4353 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -37,7 +37,7 @@ module.exports = class Range extends _widgets_base { spring:false, range:{min:0,max:1}, logScale:false, - value:[0,1], + value:'', _osc:'osc', @@ -112,8 +112,6 @@ module.exports = class Range extends _widgets_base { this.wrapper.append(this.faders[0].widget) this.wrapper.append(this.faders[1].widget) - this.value = this.getValue() - this.wrapper.on('change',(e)=>{ e.stopPropagation() var v = [ From 447e14b55513ac3915b698cc11eee037d8211dca Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 18 Dec 2017 09:46:21 +0100 Subject: [PATCH 0043/5759] main: resolve to absolute path when adding session to history --- CHANGELOG.md | 2 ++ app/main/callbacks.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92faa7a7..c04ce3a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.22.0 +- bug fixes + - sessions opened from command line with relative paths are now added to the history with their absolute path - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 05c1deea..91e85119 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -45,7 +45,7 @@ module.exports = { if (err || !stats.isFile()) return // add session to history - sessionlist.unshift(data) + sessionlist.unshift(path.resolve(data)) // remove doubles from history sessionlist = sessionlist.filter(function(elem, index, self) { return index == self.indexOf(elem) From e65d287907f04f68b9ef517e9cc0b1ac27b01e51 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 18 Dec 2017 09:46:21 +0100 Subject: [PATCH 0044/5759] main: resolve to absolute path when adding session to history --- CHANGELOG.md | 2 ++ app/main/callbacks.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92faa7a7..c04ce3a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.22.0 +- bug fixes + - sessions opened from command line with relative paths are now added to the history with their absolute path - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 05c1deea..91e85119 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -45,7 +45,7 @@ module.exports = { if (err || !stats.isFile()) return // add session to history - sessionlist.unshift(data) + sessionlist.unshift(path.resolve(data)) // remove doubles from history sessionlist = sessionlist.filter(function(elem, index, self) { return index == self.indexOf(elem) From c403d22fdf2164db8d39ba2e64e0a72859badb66 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 18 Dec 2017 21:35:39 +0100 Subject: [PATCH 0045/5759] plots: add image widget (#64) --- src/browser/js/app/widgets/index.js | 3 +- src/browser/js/app/widgets/plots/image.js | 76 +++++++++++++++++++++++ src/browser/scss/widgets/_plots.scss | 32 +++++++++- 3 files changed, 108 insertions(+), 3 deletions(-) create mode 100644 src/browser/js/app/widgets/plots/image.js diff --git a/src/browser/js/app/widgets/index.js b/src/browser/js/app/widgets/index.js index c78bc5c4..5931578c 100644 --- a/src/browser/js/app/widgets/index.js +++ b/src/browser/js/app/widgets/index.js @@ -34,6 +34,7 @@ module.exports.widgets = { visualizer: require('./plots/visualizer'), meter: require('./plots/meter'), text: require('./plots/text'), + image: require('./plots/image'), // containers strip: require('./containers/strip'), @@ -58,7 +59,7 @@ module.exports.categories = { 'Buttons':['toggle','push','switch', 'dropdown'], 'Pads':['xy','rgb','multixy'], 'Matrices':['multifader','multitoggle','multipush', 'keyboard'], - 'Plots':['plot','eq','visualizer','led', 'rgbled','meter','text'], + 'Plots':['plot','eq','visualizer','led', 'rgbled','meter','text', 'image'], 'Containers':['panel','strip','modal', 'clone'], 'Switchers':['switcher','crossfader'], 'Inputs':['input'], diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js new file mode 100644 index 00000000..86e406f4 --- /dev/null +++ b/src/browser/js/app/widgets/plots/image.js @@ -0,0 +1,76 @@ +var {mapToScale} = require('../utils'), + _widgets_base = require('../common/_widgets_base') + +module.exports = class Led extends _widgets_base { + + static defaults() { + + return { + type:'image', + id:'auto', + + _geometry:'geometry', + + left:'auto', + top:'auto', + width:'auto', + height:'auto', + + _style:'style', + + label:'auto', + // color:'auto', + css:'', + + _image:'image', + + size: 'cover', + position: 'center', + border: true, + cache: true, + value:'', + + _osc:'osc', + + preArgs:[], + address:'auto' + + } + + } + + constructor(options) { + + var html = ` +
    + ` + + super({...options, html: html}) + + if (!this.getProp('border')) this.container.addClass('noborder') + + this.widget[0].style.setProperty('background-size', this.getProp('size')) + this.widget[0].style.setProperty('background-position', this.getProp('position')) + + + } + + setValue(v) { + + var s = '' + v + + this.value = s + + if (this.value.length) { + + var cache_query = this.getProp('cache') || s.indexOf('base64') != -1 ? '' : (s.indexOf('?') != -1 ? '&' : '?') + Date.now() + this.widget[0].style.setProperty('background-image', `url(${s}${cache_query})`) + + } else { + + this.widget[0].style.setProperty('background-image', '') + + } + } + +} diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index 8dd7d109..20cfce7b 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -77,15 +77,43 @@ } } +.image-container { + width:100rem; + height:100rem; + padding:1rem; + .image { + display: flex; + flex-direction: row; + flex: 1 1 100%; + background-size:cover; + border:1rem solid var(--color-bg); + background-repeat: no-repeat; + } + &.noborder { + --color-border:transparent; + --color-light:transparent; + --color-light:transparent; + background: transparent; + padding: 0!important; + .image { + outline:transparent!important; + border:0!important; + box-shadow:none!important; + margin: 0!important; + } + } +} + .panel:not(.tab) > .led-container, .panel:not(.tab) > .rgbled-container, .panel:not(.tab) > .text-container, .panel:not(.tab) > .visualizer-container, .panel:not(.tab) > .eq-container, -.panel:not(.tab) > .plot-container { +.panel:not(.tab) > .plot-container, +.panel:not(.tab) > .image-container { --color-border:transparent; padding: 0rem; - .plot, .text, .led { + .plot, .text, .led, .image { padding: 0rem; margin: 1rem; background-clip: content-box; From e1e54c038be89ec9a0207b555b61ca3b8a36d175 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 18 Dec 2017 21:35:39 +0100 Subject: [PATCH 0046/5759] plots: add image widget (#64) --- src/browser/js/app/widgets/index.js | 3 +- src/browser/js/app/widgets/plots/image.js | 76 +++++++++++++++++++++++ src/browser/scss/widgets/_plots.scss | 32 +++++++++- 3 files changed, 108 insertions(+), 3 deletions(-) create mode 100644 src/browser/js/app/widgets/plots/image.js diff --git a/src/browser/js/app/widgets/index.js b/src/browser/js/app/widgets/index.js index c78bc5c4..5931578c 100644 --- a/src/browser/js/app/widgets/index.js +++ b/src/browser/js/app/widgets/index.js @@ -34,6 +34,7 @@ module.exports.widgets = { visualizer: require('./plots/visualizer'), meter: require('./plots/meter'), text: require('./plots/text'), + image: require('./plots/image'), // containers strip: require('./containers/strip'), @@ -58,7 +59,7 @@ module.exports.categories = { 'Buttons':['toggle','push','switch', 'dropdown'], 'Pads':['xy','rgb','multixy'], 'Matrices':['multifader','multitoggle','multipush', 'keyboard'], - 'Plots':['plot','eq','visualizer','led', 'rgbled','meter','text'], + 'Plots':['plot','eq','visualizer','led', 'rgbled','meter','text', 'image'], 'Containers':['panel','strip','modal', 'clone'], 'Switchers':['switcher','crossfader'], 'Inputs':['input'], diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js new file mode 100644 index 00000000..86e406f4 --- /dev/null +++ b/src/browser/js/app/widgets/plots/image.js @@ -0,0 +1,76 @@ +var {mapToScale} = require('../utils'), + _widgets_base = require('../common/_widgets_base') + +module.exports = class Led extends _widgets_base { + + static defaults() { + + return { + type:'image', + id:'auto', + + _geometry:'geometry', + + left:'auto', + top:'auto', + width:'auto', + height:'auto', + + _style:'style', + + label:'auto', + // color:'auto', + css:'', + + _image:'image', + + size: 'cover', + position: 'center', + border: true, + cache: true, + value:'', + + _osc:'osc', + + preArgs:[], + address:'auto' + + } + + } + + constructor(options) { + + var html = ` +
    + ` + + super({...options, html: html}) + + if (!this.getProp('border')) this.container.addClass('noborder') + + this.widget[0].style.setProperty('background-size', this.getProp('size')) + this.widget[0].style.setProperty('background-position', this.getProp('position')) + + + } + + setValue(v) { + + var s = '' + v + + this.value = s + + if (this.value.length) { + + var cache_query = this.getProp('cache') || s.indexOf('base64') != -1 ? '' : (s.indexOf('?') != -1 ? '&' : '?') + Date.now() + this.widget[0].style.setProperty('background-image', `url(${s}${cache_query})`) + + } else { + + this.widget[0].style.setProperty('background-image', '') + + } + } + +} diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index 8dd7d109..20cfce7b 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -77,15 +77,43 @@ } } +.image-container { + width:100rem; + height:100rem; + padding:1rem; + .image { + display: flex; + flex-direction: row; + flex: 1 1 100%; + background-size:cover; + border:1rem solid var(--color-bg); + background-repeat: no-repeat; + } + &.noborder { + --color-border:transparent; + --color-light:transparent; + --color-light:transparent; + background: transparent; + padding: 0!important; + .image { + outline:transparent!important; + border:0!important; + box-shadow:none!important; + margin: 0!important; + } + } +} + .panel:not(.tab) > .led-container, .panel:not(.tab) > .rgbled-container, .panel:not(.tab) > .text-container, .panel:not(.tab) > .visualizer-container, .panel:not(.tab) > .eq-container, -.panel:not(.tab) > .plot-container { +.panel:not(.tab) > .plot-container, +.panel:not(.tab) > .image-container { --color-border:transparent; padding: 0rem; - .plot, .text, .led { + .plot, .text, .led, .image { padding: 0rem; margin: 1rem; background-clip: content-box; From 97101f80fe7065650da050f190cef1897e7709e5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 09:46:30 +0100 Subject: [PATCH 0047/5759] image: add repeat option; add docs text: fix default value (retreive value prop) --- CHANGELOG.md | 2 + resources/docs/widgets/plots.md | 47 +++++++++++++++++++++++ src/browser/js/app/parser.js | 3 +- src/browser/js/app/widgets/plots/image.js | 26 +++++++++---- src/browser/js/app/widgets/plots/text.js | 4 +- 5 files changed, 71 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c04ce3a9..36d2059e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets - **new** `range` widget + - **new** `image` widget + - sending an empty message to a `text` widget resets it to its initial value - misc - absolute file paths in widgets' background images urls are now properly resolved diff --git a/resources/docs/widgets/plots.md b/resources/docs/widgets/plots.md index c7885ca6..9de40718 100644 --- a/resources/docs/widgets/plots.md +++ b/resources/docs/widgets/plots.md @@ -227,3 +227,50 @@ Meter displays incoming numerical values (via osc) as a gauge level ### `logScale` - see fader's [`logScale`](sliders/#fader) + + +## Image + +Image displays an image from a file path/url or from a base64 encoded image string. Sending an empty message resets the widget to its initial `value`. + +```js +{ + type:'image', + // etc +} +``` + +### `size` +- type: `string` +- default: `cover` +- usage: css [background-size](https://www.w3schools.com/CSSref/css3_pr_background-size.asp) + + +### `position` +- type: `string` +- default: `cover` +- usage: css [background-position](https://www.w3schools.com/CSSref/pr_background-position.asp) + + +### `repeat` +- type: `string` +- default: `no-repeat` +- usage: css [background-repeat](https://www.w3schools.com/CSSref/pr_background-repeat.asp) + + +### `border` +- type: `boolean` +- default: `false` +- usage: set to `true` to disable the image's borders and background-color. + +### `cache` +- type: `boolean` +- default: `true` +- usage: set to `false` to disable image caching (forces file reload when updating or editing the widget). When `true`, sending `'reload'` to the widget reloads its image without changing its value. + +### `value` +- type: `string` +- default: `empty` +- usage : initial image + - file url or absolute path + - [base64 encoded image](https://duckduckgo.com/?q=base64+encode+image&ia=web) : `data:image/...` diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 65ec4334..348bce42 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -122,10 +122,11 @@ var Parser = class Parser { widgetContainer.find('> .label').html(label) } - // parse scoped css + // parse css var css = ';' + widgetInner.getProp('css'), scopedCss = '' + // parse scoped css css = css.replace(/[;\}\s]*([^;\{]*\{[^\}]*\})/g, (m)=>{ m = m.replace(/^[;\}\s]*/,'') if (m[0]=='&') { diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js index 86e406f4..5095bb5c 100644 --- a/src/browser/js/app/widgets/plots/image.js +++ b/src/browser/js/app/widgets/plots/image.js @@ -26,6 +26,7 @@ module.exports = class Led extends _widgets_base { size: 'cover', position: 'center', + repeat: 'no-repeat', border: true, cache: true, value:'', @@ -51,26 +52,35 @@ module.exports = class Led extends _widgets_base { this.widget[0].style.setProperty('background-size', this.getProp('size')) this.widget[0].style.setProperty('background-position', this.getProp('position')) + this.widget[0].style.setProperty('background-repeat', this.getProp('repeat')) } setValue(v) { - var s = '' + v + var s = v==null ? '' : '' + v, + cache_query = '' - this.value = s + if (!s.length) { + + this.value = this.getProp('value') + + } else if (s != 'reload') { + + if (s.length > 1) this.value = s + + } if (this.value.length) { - var cache_query = this.getProp('cache') || s.indexOf('base64') != -1 ? '' : (s.indexOf('?') != -1 ? '&' : '?') + Date.now() - this.widget[0].style.setProperty('background-image', `url(${s}${cache_query})`) - - } else { - - this.widget[0].style.setProperty('background-image', '') + cache_query = this.getProp('cache') || this.value.indexOf('base64') != -1 ? + '' : (this.value.indexOf('?') != -1 ? '&' : '?') + Date.now() } + + this.widget[0].style.setProperty('background-image', `url(${this.value}${cache_query})`) + } } diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index c2ab9751..0d04c976 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -43,11 +43,11 @@ module.exports = class Text extends _widgets_base { if (this.getProp('vertical')) this.widget.addClass('vertical') - this.defaultValue = this.getProp('label')===false? + this.defaultValue = this.getProp('value') || ( this.getProp('label')===false ? this.getProp('id'): this.getProp('label')=='auto'? this.getProp('id'): - this.getProp('label') + this.getProp('label') ) this.value = this.defaultValue From 1c3389d73640fd1e5c2b0a76b90291eb2717b2a7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 09:46:30 +0100 Subject: [PATCH 0048/5759] image: add repeat option; add docs text: fix default value (retreive value prop) --- CHANGELOG.md | 2 + resources/docs/widgets/plots.md | 47 +++++++++++++++++++++++ src/browser/js/app/parser.js | 3 +- src/browser/js/app/widgets/plots/image.js | 26 +++++++++---- src/browser/js/app/widgets/plots/text.js | 4 +- 5 files changed, 71 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c04ce3a9..36d2059e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets - **new** `range` widget + - **new** `image` widget + - sending an empty message to a `text` widget resets it to its initial value - misc - absolute file paths in widgets' background images urls are now properly resolved diff --git a/resources/docs/widgets/plots.md b/resources/docs/widgets/plots.md index c7885ca6..9de40718 100644 --- a/resources/docs/widgets/plots.md +++ b/resources/docs/widgets/plots.md @@ -227,3 +227,50 @@ Meter displays incoming numerical values (via osc) as a gauge level ### `logScale` - see fader's [`logScale`](sliders/#fader) + + +## Image + +Image displays an image from a file path/url or from a base64 encoded image string. Sending an empty message resets the widget to its initial `value`. + +```js +{ + type:'image', + // etc +} +``` + +### `size` +- type: `string` +- default: `cover` +- usage: css [background-size](https://www.w3schools.com/CSSref/css3_pr_background-size.asp) + + +### `position` +- type: `string` +- default: `cover` +- usage: css [background-position](https://www.w3schools.com/CSSref/pr_background-position.asp) + + +### `repeat` +- type: `string` +- default: `no-repeat` +- usage: css [background-repeat](https://www.w3schools.com/CSSref/pr_background-repeat.asp) + + +### `border` +- type: `boolean` +- default: `false` +- usage: set to `true` to disable the image's borders and background-color. + +### `cache` +- type: `boolean` +- default: `true` +- usage: set to `false` to disable image caching (forces file reload when updating or editing the widget). When `true`, sending `'reload'` to the widget reloads its image without changing its value. + +### `value` +- type: `string` +- default: `empty` +- usage : initial image + - file url or absolute path + - [base64 encoded image](https://duckduckgo.com/?q=base64+encode+image&ia=web) : `data:image/...` diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 65ec4334..348bce42 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -122,10 +122,11 @@ var Parser = class Parser { widgetContainer.find('> .label').html(label) } - // parse scoped css + // parse css var css = ';' + widgetInner.getProp('css'), scopedCss = '' + // parse scoped css css = css.replace(/[;\}\s]*([^;\{]*\{[^\}]*\})/g, (m)=>{ m = m.replace(/^[;\}\s]*/,'') if (m[0]=='&') { diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js index 86e406f4..5095bb5c 100644 --- a/src/browser/js/app/widgets/plots/image.js +++ b/src/browser/js/app/widgets/plots/image.js @@ -26,6 +26,7 @@ module.exports = class Led extends _widgets_base { size: 'cover', position: 'center', + repeat: 'no-repeat', border: true, cache: true, value:'', @@ -51,26 +52,35 @@ module.exports = class Led extends _widgets_base { this.widget[0].style.setProperty('background-size', this.getProp('size')) this.widget[0].style.setProperty('background-position', this.getProp('position')) + this.widget[0].style.setProperty('background-repeat', this.getProp('repeat')) } setValue(v) { - var s = '' + v + var s = v==null ? '' : '' + v, + cache_query = '' - this.value = s + if (!s.length) { + + this.value = this.getProp('value') + + } else if (s != 'reload') { + + if (s.length > 1) this.value = s + + } if (this.value.length) { - var cache_query = this.getProp('cache') || s.indexOf('base64') != -1 ? '' : (s.indexOf('?') != -1 ? '&' : '?') + Date.now() - this.widget[0].style.setProperty('background-image', `url(${s}${cache_query})`) - - } else { - - this.widget[0].style.setProperty('background-image', '') + cache_query = this.getProp('cache') || this.value.indexOf('base64') != -1 ? + '' : (this.value.indexOf('?') != -1 ? '&' : '?') + Date.now() } + + this.widget[0].style.setProperty('background-image', `url(${this.value}${cache_query})`) + } } diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index c2ab9751..0d04c976 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -43,11 +43,11 @@ module.exports = class Text extends _widgets_base { if (this.getProp('vertical')) this.widget.addClass('vertical') - this.defaultValue = this.getProp('label')===false? + this.defaultValue = this.getProp('value') || ( this.getProp('label')===false ? this.getProp('id'): this.getProp('label')=='auto'? this.getProp('id'): - this.getProp('label') + this.getProp('label') ) this.value = this.defaultValue From ceda5249e7d8ad3859f5e4b9593b7720b74c48ac Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 11:38:21 +0100 Subject: [PATCH 0049/5759] log: better log --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36d2059e..94b81494 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,17 @@ # Changelog -## 0.22.0 +## 0.22.0 - bug fixes - sessions opened from command line with relative paths are now added to the history with their absolute path + - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets - - **new** `range` widget - - **new** `image` widget - - sending an empty message to a `text` widget resets it to its initial value + - sliders: **new** `range` widget + - plots: **new** `image` widget - misc - absolute file paths in widgets' background images urls are now properly resolved From 57133f35e1a3c7eb65cd3fca4025963642cc0a4a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 11:38:21 +0100 Subject: [PATCH 0050/5759] log: better log --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36d2059e..94b81494 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,17 @@ # Changelog -## 0.22.0 +## 0.22.0 - bug fixes - sessions opened from command line with relative paths are now added to the history with their absolute path + - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets - - **new** `range` widget - - **new** `image` widget - - sending an empty message to a `text` widget resets it to its initial value + - sliders: **new** `range` widget + - plots: **new** `image` widget - misc - absolute file paths in widgets' background images urls are now properly resolved From 02ec1b29d27d0cf51af82269b4d9e52223a7ff6b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 13:35:44 +0100 Subject: [PATCH 0051/5759] editor: fix textareas scrollbar cursor --- src/browser/scss/_editor.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/scss/_editor.scss b/src/browser/scss/_editor.scss index 46b79da6..91ba529c 100644 --- a/src/browser/scss/_editor.scss +++ b/src/browser/scss/_editor.scss @@ -71,7 +71,7 @@ border-top:1rem solid var(--color-fg); border-radius: 0; -webkit-appearance:none; - cursor: text; + cursor: initial; } &.column { ul { From dea2b19ad5a2f69f1b7903a19960558d82734cbf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 13:35:44 +0100 Subject: [PATCH 0052/5759] editor: fix textareas scrollbar cursor --- src/browser/scss/_editor.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/scss/_editor.scss b/src/browser/scss/_editor.scss index 46b79da6..91ba529c 100644 --- a/src/browser/scss/_editor.scss +++ b/src/browser/scss/_editor.scss @@ -71,7 +71,7 @@ border-top:1rem solid var(--color-fg); border-radius: 0; -webkit-appearance:none; - cursor: text; + cursor: initial; } &.column { ul { From 152857cf93616ae3c0084f76894fed07062f2177 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 14:05:06 +0100 Subject: [PATCH 0053/5759] engine: downgrade to stable electrono --- CHANGELOG.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94b81494..9d5d819a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - bug fixes - sessions opened from command line with relative paths are now added to the history with their absolute path - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property +- engine + - downgraded to the latest *stable* electron release - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli diff --git a/package.json b/package.json index 699a0016..542c439b 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "babelify": "8.0.0", "browserify": "14.5.0", "cardinal-spline-js": "2.3.6", - "electron": "~1.8.1", + "electron": "~1.7.10", "electron-packager": "10.1.0", "exorcist": "1.0.0", "file-saver": "1.3.3", From d665222d9f32ce7f29630a5f454a8fe2d5bf01ac Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 14:05:06 +0100 Subject: [PATCH 0054/5759] engine: downgrade to stable electrono --- CHANGELOG.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94b81494..9d5d819a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - bug fixes - sessions opened from command line with relative paths are now added to the history with their absolute path - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property +- engine + - downgraded to the latest *stable* electron release - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports - cli diff --git a/package.json b/package.json index 699a0016..542c439b 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "babelify": "8.0.0", "browserify": "14.5.0", "cardinal-spline-js": "2.3.6", - "electron": "~1.8.1", + "electron": "~1.7.10", "electron-packager": "10.1.0", "exorcist": "1.0.0", "file-saver": "1.3.3", From bd6c32cab7ade4535b02d9affa3aa0199dbab7dd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 14:19:31 +0100 Subject: [PATCH 0055/5759] gui: add explicit edit shortcuts (attempt to fix OSX issue #116) --- app/main/electron-window.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/app/main/electron-window.js b/app/main/electron-window.js index 6221185f..08a03020 100644 --- a/app/main/electron-window.js +++ b/app/main/electron-window.js @@ -1,5 +1,5 @@ var path = require('path'), - {BrowserWindow} = require('electron'), + {BrowserWindow, Menu} = require('electron'), shortcut = require('electron-localshortcut'), settings = require('./settings') @@ -25,6 +25,21 @@ module.exports = function(options={}) { window = null }) + var template = [{ + label: 'Edit', + submenu: [ + {role: 'undo', accelerator: "CmdOrCtrl+Z"}, + {role: 'redo', accelerator: "Shift+CmdOrCtrl+Z"}, + {type: 'separator'}, + {role: 'cut', accelerator: "CmdOrCtrl+X"}, + {role: 'copy', accelerator: "CmdOrCtrl+C"}, + {role: 'paste', accelerator: "CmdOrCtrl+V"} + ] + }] + + var menu = Menu.buildFromTemplate(template) + Menu.setApplicationMenu(menu) + window.setMenuBarVisibility(false) if (options.shortcuts) { From e5a123977fe1b7ef184a90659cd44539883cfc53 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 14:19:31 +0100 Subject: [PATCH 0056/5759] gui: add explicit edit shortcuts (attempt to fix OSX issue #116) --- app/main/electron-window.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/app/main/electron-window.js b/app/main/electron-window.js index 6221185f..08a03020 100644 --- a/app/main/electron-window.js +++ b/app/main/electron-window.js @@ -1,5 +1,5 @@ var path = require('path'), - {BrowserWindow} = require('electron'), + {BrowserWindow, Menu} = require('electron'), shortcut = require('electron-localshortcut'), settings = require('./settings') @@ -25,6 +25,21 @@ module.exports = function(options={}) { window = null }) + var template = [{ + label: 'Edit', + submenu: [ + {role: 'undo', accelerator: "CmdOrCtrl+Z"}, + {role: 'redo', accelerator: "Shift+CmdOrCtrl+Z"}, + {type: 'separator'}, + {role: 'cut', accelerator: "CmdOrCtrl+X"}, + {role: 'copy', accelerator: "CmdOrCtrl+C"}, + {role: 'paste', accelerator: "CmdOrCtrl+V"} + ] + }] + + var menu = Menu.buildFromTemplate(template) + Menu.setApplicationMenu(menu) + window.setMenuBarVisibility(false) if (options.shortcuts) { From 2e1f7b8627b01b3174cbd58d6b144dbb0566235b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 18:41:04 +0100 Subject: [PATCH 0057/5759] client:osc: take all args for widget address+preArgs matching --- CHANGELOG.md | 1 + src/browser/js/app/managers/widgets.js | 36 +++++++++++++++++++++++++ src/browser/js/app/osc.js | 37 ++++---------------------- 3 files changed, 42 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d5d819a..4011c4fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - sessions opened from command line with relative paths are now added to the history with their absolute path - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property + - sending no value to a widget with `preArgs` is now possible : all the arguments found in incomming osc messages are now taken into account to match the widgets in the session - engine - downgraded to the latest *stable* electron release - main diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index eba43277..1fe26bcb 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -208,6 +208,42 @@ var WidgetManager = class WidgetManager { } + getWidgetByAddressAndArgs(address, args) { + + var addressref = address, + restArgs = args + + if (typeof args == 'object' && args != null) { + for (var i = args.length; i >= 0; i--) { + + var ref = this.createAddressRef(null, args.slice(0,i), address) + + if (this.getWidgetByAddress(ref).length) { + addressref = ref + restArgs = args.slice(i, args.length) + break + } + + } + } else { + restArgs = args + } + + + if (restArgs == null || restArgs.length == 0) restArgs = null + else if (restArgs.length == 1) restArgs = restArgs[0] + + + var widgets = this.getWidgetByAddress(addressref) + + return [ + widgets, + restArgs + ] + + } + + } var widgetManager = new WidgetManager() diff --git a/src/browser/js/app/osc.js b/src/browser/js/app/osc.js index 3c9df866..ca3b7dad 100644 --- a/src/browser/js/app/osc.js +++ b/src/browser/js/app/osc.js @@ -38,43 +38,16 @@ var Osc = class Osc { if (this.remoteControl.exists(data.address)) this.remoteControl.exec(data.address, data.args) - // fetch ids corresponding to the osc address - var address = data.address, - addressref = address, - args = data.args, - target = data.target + var [widgets, restArgs] = widgetManager.getWidgetByAddressAndArgs(data.address, data.args) - if (typeof data.args == 'object' && data.args != null) { - for (var i=data.args.length-1;i>=0;i--) { - - var ref = widgetManager.createAddressRef(null, data.args.slice(0,i), address) - - if (widgetManager.getWidgetByAddress(ref).length) { - addressref = ref - args = data.args.slice(i,data.args.length) - break - } - - } - } else { - args = data.args - } - - - if (args == null || args.length==0) args = null - else if (args.length==1) args = args[0] - - - let widget = widgetManager.getWidgetByAddress(addressref) - - for (let i in widget) { - let widgetTarget = widget[i].getProp('target') + for (let i in widgets) { + let widgetTarget = widgets[i].getProp('target') // if the message target is provided (when message comes from another client connected to the same server) // then we only update the widgets that have the same target // compare arrays using > and < operators (both false = equality) - if (!target || !widgetTarget || !(widgetTarget < target || widgetTarget > target || widgetTarget.length !== target.length)) { + if (!data.target || !widgetTarget || !(widgetTarget < data.target || widgetTarget > data.target || widgetTarget.length !== data.target.length)) { // update matching widgets - if (widget[i] && widget[i].setValue) widget[i].setValue(args,{send:false,sync:true,fromExternal:!target}) + if (widgets[i] && widgets[i].setValue) widgets[i].setValue(restArgs,{send:false,sync:true,fromExternal:!data.target}) } } From 93fa6b2f72ae78042c90f32e1d9f51fa7f13a4fc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 18:41:04 +0100 Subject: [PATCH 0058/5759] client:osc: take all args for widget address+preArgs matching --- CHANGELOG.md | 1 + src/browser/js/app/managers/widgets.js | 36 +++++++++++++++++++++++++ src/browser/js/app/osc.js | 37 ++++---------------------- 3 files changed, 42 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d5d819a..4011c4fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - sessions opened from command line with relative paths are now added to the history with their absolute path - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property + - sending no value to a widget with `preArgs` is now possible : all the arguments found in incomming osc messages are now taken into account to match the widgets in the session - engine - downgraded to the latest *stable* electron release - main diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index eba43277..1fe26bcb 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -208,6 +208,42 @@ var WidgetManager = class WidgetManager { } + getWidgetByAddressAndArgs(address, args) { + + var addressref = address, + restArgs = args + + if (typeof args == 'object' && args != null) { + for (var i = args.length; i >= 0; i--) { + + var ref = this.createAddressRef(null, args.slice(0,i), address) + + if (this.getWidgetByAddress(ref).length) { + addressref = ref + restArgs = args.slice(i, args.length) + break + } + + } + } else { + restArgs = args + } + + + if (restArgs == null || restArgs.length == 0) restArgs = null + else if (restArgs.length == 1) restArgs = restArgs[0] + + + var widgets = this.getWidgetByAddress(addressref) + + return [ + widgets, + restArgs + ] + + } + + } var widgetManager = new WidgetManager() diff --git a/src/browser/js/app/osc.js b/src/browser/js/app/osc.js index 3c9df866..ca3b7dad 100644 --- a/src/browser/js/app/osc.js +++ b/src/browser/js/app/osc.js @@ -38,43 +38,16 @@ var Osc = class Osc { if (this.remoteControl.exists(data.address)) this.remoteControl.exec(data.address, data.args) - // fetch ids corresponding to the osc address - var address = data.address, - addressref = address, - args = data.args, - target = data.target + var [widgets, restArgs] = widgetManager.getWidgetByAddressAndArgs(data.address, data.args) - if (typeof data.args == 'object' && data.args != null) { - for (var i=data.args.length-1;i>=0;i--) { - - var ref = widgetManager.createAddressRef(null, data.args.slice(0,i), address) - - if (widgetManager.getWidgetByAddress(ref).length) { - addressref = ref - args = data.args.slice(i,data.args.length) - break - } - - } - } else { - args = data.args - } - - - if (args == null || args.length==0) args = null - else if (args.length==1) args = args[0] - - - let widget = widgetManager.getWidgetByAddress(addressref) - - for (let i in widget) { - let widgetTarget = widget[i].getProp('target') + for (let i in widgets) { + let widgetTarget = widgets[i].getProp('target') // if the message target is provided (when message comes from another client connected to the same server) // then we only update the widgets that have the same target // compare arrays using > and < operators (both false = equality) - if (!target || !widgetTarget || !(widgetTarget < target || widgetTarget > target || widgetTarget.length !== target.length)) { + if (!data.target || !widgetTarget || !(widgetTarget < data.target || widgetTarget > data.target || widgetTarget.length !== data.target.length)) { // update matching widgets - if (widget[i] && widget[i].setValue) widget[i].setValue(args,{send:false,sync:true,fromExternal:!target}) + if (widgets[i] && widgets[i].setValue) widgets[i].setValue(restArgs,{send:false,sync:true,fromExternal:!data.target}) } } From 9faf7023e266162d50e2ed8a9b355df73ed24a77 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 20:24:58 +0100 Subject: [PATCH 0059/5759] osc: implementing /GET (issue #56) --- src/browser/js/app/remote-control.js | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 4b4b7906..9dbb867d 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -44,7 +44,39 @@ var callbacks = { updateDom(container,data,true) } }, + + '/GET':function(args) { + + var [target, idOrAddress, ...preArgs] = args, + widgets = [] + + if (idOrAddress[0] == '/') { + + widgets = widgetManager.getWidgetByAddress( + widgetManager.createAddressRef(null, preArgs, idOrAddress) + ) + + } else { + + widgets = widgetManager.getWidgetById(idOrAddress) + + } + + if (!widgets.length) return + + for (var i = widgets.length - 1; i >= 0; i--) { + + if (typeof target == 'string' && target.indexOf(':') != -1) { + widgets[i].sendValue({target:[target]}) + } else { + widgets[i].sendValue() + } + + } + + }, '/TABS': function(args) { + // DEPRECATED if (!Array.isArray(args)) args = [args] From cd05e21d47a13dfb44dc10729ee11c204f8656c2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 19 Dec 2017 20:24:58 +0100 Subject: [PATCH 0060/5759] osc: implementing /GET (issue #56) --- src/browser/js/app/remote-control.js | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 4b4b7906..9dbb867d 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -44,7 +44,39 @@ var callbacks = { updateDom(container,data,true) } }, + + '/GET':function(args) { + + var [target, idOrAddress, ...preArgs] = args, + widgets = [] + + if (idOrAddress[0] == '/') { + + widgets = widgetManager.getWidgetByAddress( + widgetManager.createAddressRef(null, preArgs, idOrAddress) + ) + + } else { + + widgets = widgetManager.getWidgetById(idOrAddress) + + } + + if (!widgets.length) return + + for (var i = widgets.length - 1; i >= 0; i--) { + + if (typeof target == 'string' && target.indexOf(':') != -1) { + widgets[i].sendValue({target:[target]}) + } else { + widgets[i].sendValue() + } + + } + + }, '/TABS': function(args) { + // DEPRECATED if (!Array.isArray(args)) args = [args] From f3909b2352e9d05c94c48aa4266384e86d2efc39 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 20 Dec 2017 10:59:19 +0100 Subject: [PATCH 0061/5759] osc: don't choke on widgets without target prop (issue #56) --- app/main/callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 91e85119..e61dd39e 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -188,7 +188,7 @@ module.exports = { } } - if (data.target.indexOf(null) == -1) { + if (!data.target || data.target.indexOf(null) == -1) { var targets = [] From ce7b6750c9bc56b77eebfa883b33b0a5cf00726c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 20 Dec 2017 10:59:19 +0100 Subject: [PATCH 0062/5759] osc: don't choke on widgets without target prop (issue #56) --- app/main/callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 91e85119..e61dd39e 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -188,7 +188,7 @@ module.exports = { } } - if (data.target.indexOf(null) == -1) { + if (!data.target || data.target.indexOf(null) == -1) { var targets = [] From 7a81aa8e24b727f1a27c89d43483a8bf2ce195c0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 06:39:55 +0100 Subject: [PATCH 0063/5759] remote control: remove /EXEC --- CHANGELOG.md | 4 ++-- src/browser/js/app/remote-control.js | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4011c4fe..2f481e62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,8 +15,8 @@ - widgets - sliders: **new** `range` widget - plots: **new** `image` widget -- misc - - absolute file paths in widgets' background images urls are now properly resolved +- remote control + - **removed** deprecated `/EXEX` ## 0.21.3 diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 9dbb867d..2dd367f3 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -2,12 +2,6 @@ var {getObjectData, updateDom} = require('./editor/data-workers'), widgetManager = require('./managers/widgets') var callbacks = { - '/EXEC': function(args) { - // backward-compatibility - var [name, ...args] = args - if (name == 'edit') return callbacks['/EDIT'](args) - if (name == 'edit_soft') return callbacks['/EDIT_SOFT'](args) - }, '/EDIT': function(args) { if (READ_ONLY) return @@ -76,7 +70,6 @@ var callbacks = { }, '/TABS': function(args) { - // DEPRECATED if (!Array.isArray(args)) args = [args] From c904b941ba6a888a709b520271072fea49feba1e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 06:39:55 +0100 Subject: [PATCH 0064/5759] remote control: remove /EXEC --- CHANGELOG.md | 4 ++-- src/browser/js/app/remote-control.js | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4011c4fe..2f481e62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,8 +15,8 @@ - widgets - sliders: **new** `range` widget - plots: **new** `image` widget -- misc - - absolute file paths in widgets' background images urls are now properly resolved +- remote control + - **removed** deprecated `/EXEX` ## 0.21.3 diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 9dbb867d..2dd367f3 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -2,12 +2,6 @@ var {getObjectData, updateDom} = require('./editor/data-workers'), widgetManager = require('./managers/widgets') var callbacks = { - '/EXEC': function(args) { - // backward-compatibility - var [name, ...args] = args - if (name == 'edit') return callbacks['/EDIT'](args) - if (name == 'edit_soft') return callbacks['/EDIT_SOFT'](args) - }, '/EDIT': function(args) { if (READ_ONLY) return @@ -76,7 +70,6 @@ var callbacks = { }, '/TABS': function(args) { - // DEPRECATED if (!Array.isArray(args)) args = [args] From 73b2d6b2c0a98ca6ff8fa4f72c2689da030bdd44 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 06:41:30 +0100 Subject: [PATCH 0065/5759] remote control: rename `/EDIT_SOFT` to `/EDIT/MERGE` --- CHANGELOG.md | 2 ++ resources/docs/extras/remote-control.md | 2 +- src/browser/js/app/remote-control.js | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f481e62..38ff37f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ - plots: **new** `image` widget - remote control - **removed** deprecated `/EXEX` + - renamed `/EDIT_SOFT` to `/EDIT/MERGE` + ## 0.21.3 diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index 6c3f5073..8fea28f0 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -16,7 +16,7 @@ Apply a set of options to an existing widget by replacing the old ones with the !!! warning "" Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea -## `/EDIT_SOFT id options` +## `/EDIT_/MERGE id options` Apply a set of options to an existing widget by merging them to the widget's options. diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 2dd367f3..7cb1e2d2 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -21,7 +21,7 @@ var callbacks = { updateDom(container,data,true) } }, - '/EDIT_SOFT': function(args) { + '/EDIT/MERGE': function(args) { if (READ_ONLY) return @@ -83,6 +83,9 @@ var callbacks = { } } +// backward-compatibility +callbacks['/EDIT_SOFT'] = callbacks['/EDIT/MERGE'] + module.exports = { exec: function(name, args){ if (callbacks[name]) { From 185d4c6b80059781af802ecf5c388bfc8cf71869 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 06:41:30 +0100 Subject: [PATCH 0066/5759] remote control: rename `/EDIT_SOFT` to `/EDIT/MERGE` --- CHANGELOG.md | 2 ++ resources/docs/extras/remote-control.md | 2 +- src/browser/js/app/remote-control.js | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f481e62..38ff37f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ - plots: **new** `image` widget - remote control - **removed** deprecated `/EXEX` + - renamed `/EDIT_SOFT` to `/EDIT/MERGE` + ## 0.21.3 diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index 6c3f5073..8fea28f0 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -16,7 +16,7 @@ Apply a set of options to an existing widget by replacing the old ones with the !!! warning "" Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea -## `/EDIT_SOFT id options` +## `/EDIT_/MERGE id options` Apply a set of options to an existing widget by merging them to the widget's options. diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 2dd367f3..7cb1e2d2 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -21,7 +21,7 @@ var callbacks = { updateDom(container,data,true) } }, - '/EDIT_SOFT': function(args) { + '/EDIT/MERGE': function(args) { if (READ_ONLY) return @@ -83,6 +83,9 @@ var callbacks = { } } +// backward-compatibility +callbacks['/EDIT_SOFT'] = callbacks['/EDIT/MERGE'] + module.exports = { exec: function(name, args){ if (callbacks[name]) { From e0bb727c0c65b5383706866ae7838353b43e1d71 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 07:09:11 +0100 Subject: [PATCH 0067/5759] remote control: add /EDIT/GET, and a nosync flag in server/osc/sending method to prevent broadcasting --- CHANGELOG.md | 3 ++- app/main/callbacks.js | 4 ++-- src/browser/js/app/remote-control.js | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ff37f0..3c5b2c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,8 @@ - remote control - **removed** deprecated `/EXEX` - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - + - added `/EDIT/GET` + ## 0.21.3 diff --git a/app/main/callbacks.js b/app/main/callbacks.js index e61dd39e..6c37ce3a 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -192,7 +192,7 @@ module.exports = { var targets = [] - if (settings.read('syncTargets')) Array.prototype.push.apply(targets, settings.read('syncTargets')) + if (settings.read('syncTargets') && !data.nosync) Array.prototype.push.apply(targets, settings.read('syncTargets')) if (data.target) Array.prototype.push.apply(targets, data.target) @@ -226,7 +226,7 @@ module.exports = { } - clients[clientId].broadcast.emit('receiveOsc', data) + if (!data.nosync) clients[clientId].broadcast.emit('receiveOsc', data) }, diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 7cb1e2d2..2b9bbe0a 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -38,7 +38,25 @@ var callbacks = { updateDom(container,data,true) } }, + '/EDIT/GET': function(args) { + if (!Array.isArray(args) || args.length != 2) return + + var [target, id] = args, + widgets = widgetManager.getWidgetById(id) + + for (var i = widgets.length - 1; i >= 0; i--) { + return widgets[i].sendValue({ + target: [target], + address: '/EDIT/GET', + v: [ + id, + JSON.stringify(widgets[i].props) + ], + nosync: true + }) + } + }, '/GET':function(args) { var [target, idOrAddress, ...preArgs] = args, From a263233bbd0fc6fa1f6ea971fcd3ea82ebf9205d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 07:09:11 +0100 Subject: [PATCH 0068/5759] remote control: add /EDIT/GET, and a nosync flag in server/osc/sending method to prevent broadcasting --- CHANGELOG.md | 3 ++- app/main/callbacks.js | 4 ++-- src/browser/js/app/remote-control.js | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ff37f0..3c5b2c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,8 @@ - remote control - **removed** deprecated `/EXEX` - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - + - added `/EDIT/GET` + ## 0.21.3 diff --git a/app/main/callbacks.js b/app/main/callbacks.js index e61dd39e..6c37ce3a 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -192,7 +192,7 @@ module.exports = { var targets = [] - if (settings.read('syncTargets')) Array.prototype.push.apply(targets, settings.read('syncTargets')) + if (settings.read('syncTargets') && !data.nosync) Array.prototype.push.apply(targets, settings.read('syncTargets')) if (data.target) Array.prototype.push.apply(targets, data.target) @@ -226,7 +226,7 @@ module.exports = { } - clients[clientId].broadcast.emit('receiveOsc', data) + if (!data.nosync) clients[clientId].broadcast.emit('receiveOsc', data) }, diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 7cb1e2d2..2b9bbe0a 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -38,7 +38,25 @@ var callbacks = { updateDom(container,data,true) } }, + '/EDIT/GET': function(args) { + if (!Array.isArray(args) || args.length != 2) return + + var [target, id] = args, + widgets = widgetManager.getWidgetById(id) + + for (var i = widgets.length - 1; i >= 0; i--) { + return widgets[i].sendValue({ + target: [target], + address: '/EDIT/GET', + v: [ + id, + JSON.stringify(widgets[i].props) + ], + nosync: true + }) + } + }, '/GET':function(args) { var [target, idOrAddress, ...preArgs] = args, From 279663d53fafafa9f7d3ecf8dad25467213c9f64 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 07:11:41 +0100 Subject: [PATCH 0069/5759] remote control: /GET: disable broadcasting if target in invalid --- src/browser/js/app/remote-control.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 2b9bbe0a..18388d3e 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -46,6 +46,7 @@ var callbacks = { widgets = widgetManager.getWidgetById(id) for (var i = widgets.length - 1; i >= 0; i--) { + return widgets[i].sendValue({ target: [target], address: '/EDIT/GET', @@ -55,6 +56,7 @@ var callbacks = { ], nosync: true }) + } }, '/GET':function(args) { @@ -78,11 +80,10 @@ var callbacks = { for (var i = widgets.length - 1; i >= 0; i--) { - if (typeof target == 'string' && target.indexOf(':') != -1) { - widgets[i].sendValue({target:[target]}) - } else { - widgets[i].sendValue() - } + return widgets[i].sendValue({ + target:[target], + nosync: true + }) } From 1849f2a6a951b5089647aa2112b4e6d989be429d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 07:11:41 +0100 Subject: [PATCH 0070/5759] remote control: /GET: disable broadcasting if target in invalid --- src/browser/js/app/remote-control.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 2b9bbe0a..18388d3e 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -46,6 +46,7 @@ var callbacks = { widgets = widgetManager.getWidgetById(id) for (var i = widgets.length - 1; i >= 0; i--) { + return widgets[i].sendValue({ target: [target], address: '/EDIT/GET', @@ -55,6 +56,7 @@ var callbacks = { ], nosync: true }) + } }, '/GET':function(args) { @@ -78,11 +80,10 @@ var callbacks = { for (var i = widgets.length - 1; i >= 0; i--) { - if (typeof target == 'string' && target.indexOf(':') != -1) { - widgets[i].sendValue({target:[target]}) - } else { - widgets[i].sendValue() - } + return widgets[i].sendValue({ + target:[target], + nosync: true + }) } From 9651b2871c7d0a3eaf4f4c0fca5d3d52615d3c5b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 07:34:23 +0100 Subject: [PATCH 0071/5759] remote control: make /GET reply to /GET (with widget address in args) (issue #56) --- resources/docs/extras/remote-control.md | 40 +++++++++++++++++++++++++ src/browser/js/app/remote-control.js | 8 ++--- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index 8fea28f0..e2577ee1 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -28,6 +28,46 @@ Apply a set of options to an existing widget by merging them to the widget's opt !!! warning "" Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea +## `/EDIT/GET target id` + +Sends back a widget's data (JSON stringified object), including its children, to specified target. + +- `target`: `string`, `ip:port` pair +- `id`: `string`, widget's `id` + +Returns `/EDIT/GET id data` + +- `id`: `string` +- `data`: `string` + +## `/GET target id` + +Sends back a widget's value to specified target. + +- `target`: `string`, `ip:port` pair +- `id`: `string`, widget's `id` + +Returns `/GET id value` + +- `id`: `string` +- `value`: `*` + +## `/GET target address preArg1 preArg2 ...` + +Sends back a widget's value to specified target. + +- `target`: `string`, `ip:port` pair +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` + +Returns `/GET address preArg1 preArg2 ... value` + +- `id`: `string` +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` +- `value`: `*` + + ## `/TABS id id etc` Open the tabs designated by the `id` parameters. The target tab link must be accesible (opening a tab located in a disabled tab won't work unless you specify the parent tab's `id` before; the safest way to go is to pass the whole tab tree to enable). diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 18388d3e..722a6285 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -56,7 +56,7 @@ var callbacks = { ], nosync: true }) - + } }, '/GET':function(args) { @@ -76,12 +76,12 @@ var callbacks = { } - if (!widgets.length) return - for (var i = widgets.length - 1; i >= 0; i--) { return widgets[i].sendValue({ - target:[target], + target: [target], + address: '/GET', + preArgs: [idOrAddress, ...preArgs], nosync: true }) From d7ce10c5e2ce5a19faedac927b1d3d952f0265f2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 07:34:23 +0100 Subject: [PATCH 0072/5759] remote control: make /GET reply to /GET (with widget address in args) (issue #56) --- resources/docs/extras/remote-control.md | 40 +++++++++++++++++++++++++ src/browser/js/app/remote-control.js | 8 ++--- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index 8fea28f0..e2577ee1 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -28,6 +28,46 @@ Apply a set of options to an existing widget by merging them to the widget's opt !!! warning "" Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea +## `/EDIT/GET target id` + +Sends back a widget's data (JSON stringified object), including its children, to specified target. + +- `target`: `string`, `ip:port` pair +- `id`: `string`, widget's `id` + +Returns `/EDIT/GET id data` + +- `id`: `string` +- `data`: `string` + +## `/GET target id` + +Sends back a widget's value to specified target. + +- `target`: `string`, `ip:port` pair +- `id`: `string`, widget's `id` + +Returns `/GET id value` + +- `id`: `string` +- `value`: `*` + +## `/GET target address preArg1 preArg2 ...` + +Sends back a widget's value to specified target. + +- `target`: `string`, `ip:port` pair +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` + +Returns `/GET address preArg1 preArg2 ... value` + +- `id`: `string` +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` +- `value`: `*` + + ## `/TABS id id etc` Open the tabs designated by the `id` parameters. The target tab link must be accesible (opening a tab located in a disabled tab won't work unless you specify the parent tab's `id` before; the safest way to go is to pass the whole tab tree to enable). diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 18388d3e..722a6285 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -56,7 +56,7 @@ var callbacks = { ], nosync: true }) - + } }, '/GET':function(args) { @@ -76,12 +76,12 @@ var callbacks = { } - if (!widgets.length) return - for (var i = widgets.length - 1; i >= 0; i--) { return widgets[i].sendValue({ - target:[target], + target: [target], + address: '/GET', + preArgs: [idOrAddress, ...preArgs], nosync: true }) From aea05da55c7b1985e8648a20f7d6bc810a889cf8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:06:04 +0100 Subject: [PATCH 0073/5759] osc: allow overriding preArgs value --- app/main/callbacks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 6c37ce3a..151b0a4e 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -175,8 +175,6 @@ module.exports = { var value = shortdata.v, data = widgetHashTable[clientId][shortdata.h] - data.args = data.preArgs.concat(value) - var cloned for (var k in shortdata) { if (!cloned) { @@ -188,6 +186,8 @@ module.exports = { } } + data.args = data.preArgs.concat(value) + if (!data.target || data.target.indexOf(null) == -1) { var targets = [] From f91b4c1ec3b9d07267adaa80777ed66cfd95c097 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:06:04 +0100 Subject: [PATCH 0074/5759] osc: allow overriding preArgs value --- app/main/callbacks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 6c37ce3a..151b0a4e 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -175,8 +175,6 @@ module.exports = { var value = shortdata.v, data = widgetHashTable[clientId][shortdata.h] - data.args = data.preArgs.concat(value) - var cloned for (var k in shortdata) { if (!cloned) { @@ -188,6 +186,8 @@ module.exports = { } } + data.args = data.preArgs.concat(value) + if (!data.target || data.target.indexOf(null) == -1) { var targets = [] From 841c043e388f19639fcc71ff357bafb7f72f2fd8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:46:16 +0100 Subject: [PATCH 0075/5759] docs: tiny typo fix --- resources/docs/extras/remote-control.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index e2577ee1..afabdecb 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -40,7 +40,7 @@ Returns `/EDIT/GET id data` - `id`: `string` - `data`: `string` -## `/GET target id` +## `/GET target id` Sends back a widget's value to specified target. @@ -52,7 +52,7 @@ Returns `/GET id value` - `id`: `string` - `value`: `*` -## `/GET target address preArg1 preArg2 ...` +## `/GET target address preArg1 preArg2 ...` Sends back a widget's value to specified target. From c89eb4f84f9e2aab9d240047a4c48a6ba4a21172 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:46:16 +0100 Subject: [PATCH 0076/5759] docs: tiny typo fix --- resources/docs/extras/remote-control.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index e2577ee1..afabdecb 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -40,7 +40,7 @@ Returns `/EDIT/GET id data` - `id`: `string` - `data`: `string` -## `/GET target id` +## `/GET target id` Sends back a widget's value to specified target. @@ -52,7 +52,7 @@ Returns `/GET id value` - `id`: `string` - `value`: `*` -## `/GET target address preArg1 preArg2 ...` +## `/GET target address preArg1 preArg2 ...` Sends back a widget's value to specified target. From 18028fd18efeecac9b7057dee7d9c471e38fac18 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:47:28 +0100 Subject: [PATCH 0077/5759] doc: typo --- resources/docs/extras/remote-control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index afabdecb..48fe9d5d 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -16,7 +16,7 @@ Apply a set of options to an existing widget by replacing the old ones with the !!! warning "" Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea -## `/EDIT_/MERGE id options` +## `/EDIT/MERGE id options` Apply a set of options to an existing widget by merging them to the widget's options. From 0986d2ae9d5fb7a259f11ae64635ce2d2e0236bf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:47:28 +0100 Subject: [PATCH 0078/5759] doc: typo --- resources/docs/extras/remote-control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index afabdecb..48fe9d5d 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -16,7 +16,7 @@ Apply a set of options to an existing widget by replacing the old ones with the !!! warning "" Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea -## `/EDIT_/MERGE id options` +## `/EDIT/MERGE id options` Apply a set of options to an existing widget by merging them to the widget's options. From 2569dda2bd265d23291186a97817b0826561bc73 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:50:44 +0100 Subject: [PATCH 0079/5759] log: /GET, /EDIT/GET --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c5b2c51..bd7a5662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,8 @@ - remote control - **removed** deprecated `/EXEX` - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - - added `/EDIT/GET` + - added `/EDIT/GET` (get a widget's data) + - added `/GET` (get a widget's value) ## 0.21.3 From e2ad561010b65cb47a783a760141b8d96ed963cc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 08:50:44 +0100 Subject: [PATCH 0080/5759] log: /GET, /EDIT/GET --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c5b2c51..bd7a5662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,8 @@ - remote control - **removed** deprecated `/EXEX` - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - - added `/EDIT/GET` + - added `/EDIT/GET` (get a widget's data) + - added `/GET` (get a widget's value) ## 0.21.3 From 322c98ce6ee453dea0e4fb0b566d0dd7f19fd03b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 12:33:58 +0100 Subject: [PATCH 0081/5759] remote control: add /SET method (issue #56) --- CHANGELOG.md | 1 + resources/docs/extras/remote-control.md | 16 +++++++++++++ src/browser/js/app/remote-control.js | 32 +++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd7a5662..5147325e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - added `/EDIT/GET` (get a widget's data) - added `/GET` (get a widget's value) + - added `/SET` (set a widget's value as if it was interacted with from the interface) ## 0.21.3 diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index 48fe9d5d..d89b11ed 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -68,6 +68,22 @@ Returns `/GET address preArg1 preArg2 ... value` - `value`: `*` +## `/SET target id value` + +Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value. + +- `id`: `string`, widget's `id` +- `value`: `*`, widget's new value + +## `/SET address preArg1 preArg2 ... value` + +Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value. + +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` +- `value`: `*`, widget's new value + + ## `/TABS id id etc` Open the tabs designated by the `id` parameters. The target tab link must be accesible (opening a tab located in a disabled tab won't work unless you specify the parent tab's `id` before; the safest way to go is to pass the whole tab tree to enable). diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 722a6285..94b170de 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -87,6 +87,38 @@ var callbacks = { } + }, + '/SET':function(args) { + + var [idOrAddress, ...preArgsOrValue] = args, + widgets = [], + value = null + + if (idOrAddress[0] == '/') { + + [widgets, value] = widgetManager.getWidgetByAddressAndArgs( + idOrAddress, + preArgsOrValue + ) + + } else { + + widgets = widgetManager.getWidgetById(idOrAddress) + value = preArgsOrValue + if (value.length == 0) value = null + else if (value.length == 1) value = value[0] + + } + + for (var i = widgets.length - 1; i >= 0; i--) { + + return widgets[i].setValue(value, { + sync: true, + send: true + }) + + } + }, '/TABS': function(args) { From 0be383c79d55e980f1a95abd0e782e9d0c469500 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 12:33:58 +0100 Subject: [PATCH 0082/5759] remote control: add /SET method (issue #56) --- CHANGELOG.md | 1 + resources/docs/extras/remote-control.md | 16 +++++++++++++ src/browser/js/app/remote-control.js | 32 +++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd7a5662..5147325e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - added `/EDIT/GET` (get a widget's data) - added `/GET` (get a widget's value) + - added `/SET` (set a widget's value as if it was interacted with from the interface) ## 0.21.3 diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index 48fe9d5d..d89b11ed 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -68,6 +68,22 @@ Returns `/GET address preArg1 preArg2 ... value` - `value`: `*` +## `/SET target id value` + +Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value. + +- `id`: `string`, widget's `id` +- `value`: `*`, widget's new value + +## `/SET address preArg1 preArg2 ... value` + +Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value. + +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` +- `value`: `*`, widget's new value + + ## `/TABS id id etc` Open the tabs designated by the `id` parameters. The target tab link must be accesible (opening a tab located in a disabled tab won't work unless you specify the parent tab's `id` before; the safest way to go is to pass the whole tab tree to enable). diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 722a6285..94b170de 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -87,6 +87,38 @@ var callbacks = { } + }, + '/SET':function(args) { + + var [idOrAddress, ...preArgsOrValue] = args, + widgets = [], + value = null + + if (idOrAddress[0] == '/') { + + [widgets, value] = widgetManager.getWidgetByAddressAndArgs( + idOrAddress, + preArgsOrValue + ) + + } else { + + widgets = widgetManager.getWidgetById(idOrAddress) + value = preArgsOrValue + if (value.length == 0) value = null + else if (value.length == 1) value = value[0] + + } + + for (var i = widgets.length - 1; i >= 0; i--) { + + return widgets[i].setValue(value, { + sync: true, + send: true + }) + + } + }, '/TABS': function(args) { From c772f6ad771aaa46bff173adbda478bd7ae455b1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 12:57:01 +0100 Subject: [PATCH 0083/5759] input: fix horizontal mode when focused --- src/browser/js/app/widgets/inputs/input.js | 4 ++++ src/browser/scss/widgets/_inputs.scss | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index 51fb8b4b..f7ca86cf 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -55,6 +55,10 @@ module.exports = class Input extends _canvas_base { this.value = '' this.stringValue = '' + if (this.getProp('horizontal')) { + this.widget.addClass('horizontal') + } + if (this.getProp('editable')) { this.canvas.attr('tabindex', 0) this.canvas.on('focus', this.focus.bind(this)) diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index f4093822..873c5908 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -2,8 +2,11 @@ width: 100rem; height: 60rem; padding:1rem; - .input { - + .horizontal { + input { + transform: rotate(-90deg); + vertical-align: middle; + } } } .widget { From c24fba0d07bbe0c07d906a6fa46cc7c0eb168565 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 12:57:01 +0100 Subject: [PATCH 0084/5759] input: fix horizontal mode when focused --- src/browser/js/app/widgets/inputs/input.js | 4 ++++ src/browser/scss/widgets/_inputs.scss | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index 51fb8b4b..f7ca86cf 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -55,6 +55,10 @@ module.exports = class Input extends _canvas_base { this.value = '' this.stringValue = '' + if (this.getProp('horizontal')) { + this.widget.addClass('horizontal') + } + if (this.getProp('editable')) { this.canvas.attr('tabindex', 0) this.canvas.on('focus', this.focus.bind(this)) diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index f4093822..873c5908 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -2,8 +2,11 @@ width: 100rem; height: 60rem; padding:1rem; - .input { - + .horizontal { + input { + transform: rotate(-90deg); + vertical-align: middle; + } } } .widget { From 0472bb2c28e16f3a614b057ca89ffae0f21f385b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 13:09:37 +0100 Subject: [PATCH 0085/5759] example/ardour: add some swag --- app/examples/ardour.json | 95 +++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 55 deletions(-) diff --git a/app/examples/ardour.json b/app/examples/ardour.json index 16db9d4f..8168f6f3 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -148,7 +148,7 @@ "id": "time", "label": false, "vertical": false, - "css": "font-size:140%; flex:4", + "css": "font-size:120%; flex:4", "preArgs": [], "value": "00:00:00:00", "address": "/position/smpte", @@ -266,7 +266,7 @@ "type": "strip", "id": "trim_@{parent.variables.n}", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -279,50 +279,45 @@ "type": "strip", "id": "trim_meta_@{parent.variables.n}", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "trim_label_@{parent.variables.n}", "label": false, "color": "auto", - "css": "", "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/trim_label_@{parent.variables.n}" + "address": "/trim_label_@{parent.variables.n}", + "vertical": true, + "width": "auto", + "css": "" }, { "type": "input", "id": "trim_input_@{parent.variables.n}", "label": false, "color": "auto", - "css": "", "preArgs": [], "widgetId": "trim_knob_@{parent.variables.n}", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], "value": "", - "address": "/trim_input_@{parent.variables.n}" + "address": "/trim_input_@{parent.variables.n}", + "width": "auto", + "css": "" } ], "_style": "style", @@ -928,7 +923,7 @@ "type": "strip", "id": "master_trim_strip", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -941,17 +936,17 @@ "type": "strip", "id": "trim_meta_@{parent.variables.n}", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "mastertrim_label", "label": false, "color": "auto", @@ -959,32 +954,27 @@ "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/mastertrim_label" + "address": "/mastertrim_label", + "vertical": true, + "width": "auto" }, { "type": "input", "id": "mastertrim_input", "label": false, "color": "auto", - "css": "", "preArgs": [], "widgetId": "mastertrim", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], "value": "", - "address": "/mastertrim_input" + "address": "/mastertrim_input", + "width": "auto", + "css": "" } ], "_style": "style", @@ -1917,7 +1907,7 @@ "type": "strip", "id": "trim_select_strip", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -1930,17 +1920,17 @@ "type": "strip", "id": "trim_meta_select", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "select_trim_label", "label": false, "color": "auto", @@ -1948,14 +1938,9 @@ "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/select_trim_label" + "address": "/select_trim_label", + "vertical": true, + "width": "auto" }, { "type": "input", @@ -1965,15 +1950,15 @@ "css": "", "preArgs": [], "widgetId": "select_trim_knob", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], + "address": "/select_trim_input", "value": "", - "address": "/select_trim_input" + "width": "auto" } ], "_style": "style", From 41f77d8ffeada089c2196369e77ff8d9dfde44a3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 13:09:37 +0100 Subject: [PATCH 0086/5759] example/ardour: add some swag --- app/examples/ardour.json | 95 +++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 55 deletions(-) diff --git a/app/examples/ardour.json b/app/examples/ardour.json index 16db9d4f..8168f6f3 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -148,7 +148,7 @@ "id": "time", "label": false, "vertical": false, - "css": "font-size:140%; flex:4", + "css": "font-size:120%; flex:4", "preArgs": [], "value": "00:00:00:00", "address": "/position/smpte", @@ -266,7 +266,7 @@ "type": "strip", "id": "trim_@{parent.variables.n}", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -279,50 +279,45 @@ "type": "strip", "id": "trim_meta_@{parent.variables.n}", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "trim_label_@{parent.variables.n}", "label": false, "color": "auto", - "css": "", "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/trim_label_@{parent.variables.n}" + "address": "/trim_label_@{parent.variables.n}", + "vertical": true, + "width": "auto", + "css": "" }, { "type": "input", "id": "trim_input_@{parent.variables.n}", "label": false, "color": "auto", - "css": "", "preArgs": [], "widgetId": "trim_knob_@{parent.variables.n}", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], "value": "", - "address": "/trim_input_@{parent.variables.n}" + "address": "/trim_input_@{parent.variables.n}", + "width": "auto", + "css": "" } ], "_style": "style", @@ -928,7 +923,7 @@ "type": "strip", "id": "master_trim_strip", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -941,17 +936,17 @@ "type": "strip", "id": "trim_meta_@{parent.variables.n}", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "mastertrim_label", "label": false, "color": "auto", @@ -959,32 +954,27 @@ "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/mastertrim_label" + "address": "/mastertrim_label", + "vertical": true, + "width": "auto" }, { "type": "input", "id": "mastertrim_input", "label": false, "color": "auto", - "css": "", "preArgs": [], "widgetId": "mastertrim", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], "value": "", - "address": "/mastertrim_input" + "address": "/mastertrim_input", + "width": "auto", + "css": "" } ], "_style": "style", @@ -1917,7 +1907,7 @@ "type": "strip", "id": "trim_select_strip", "label": false, - "height": 50, + "height": 60, "color": "auto", "css": "", "horizontal": true, @@ -1930,17 +1920,17 @@ "type": "strip", "id": "trim_meta_select", "label": false, - "width": "auto", + "width": 50, "color": "auto", - "css": "", - "horizontal": false, + "css": "font-size:90%;", + "horizontal": true, "stretch": true, "border": false, "spacing": 0, "variables": "@{parent.variables}", "widgets": [ { - "type": "input", + "type": "text", "id": "select_trim_label", "label": false, "color": "auto", @@ -1948,14 +1938,9 @@ "value": "Trim", "preArgs": [], "widgetId": "", - "height": 20, - "linkId": "", - "unit": "", - "horizontal": false, - "editable": false, - "precision": 2, - "target": [], - "address": "/select_trim_label" + "address": "/select_trim_label", + "vertical": true, + "width": "auto" }, { "type": "input", @@ -1965,15 +1950,15 @@ "css": "", "preArgs": [], "widgetId": "select_trim_knob", - "height": 20, "linkId": "", "unit": "", - "horizontal": false, + "horizontal": true, "editable": true, - "precision": 2, + "precision": 1, "target": [], + "address": "/select_trim_input", "value": "", - "address": "/select_trim_input" + "width": "auto" } ], "_style": "style", From 492b117f49985d1ee09e59483679e343bfee5c1f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 13:10:03 +0100 Subject: [PATCH 0087/5759] input: rename prop horizontal to vertical --- CHANGELOG.md | 1 + app/examples/ardour.json | 30 +++++++++---------- src/browser/js/app/widgets/inputs/input.js | 12 ++++---- .../js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 2 +- src/browser/scss/widgets/_inputs.scss | 2 +- 6 files changed, 25 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5147325e..cc61fe91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets + - inputs: renamed `input`'s property `horizontal` to `vertical` to match how the widget actually displays - sliders: **new** `range` widget - plots: **new** `image` widget - remote control diff --git a/app/examples/ardour.json b/app/examples/ardour.json index 8168f6f3..e912cc0a 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -281,7 +281,6 @@ "label": false, "width": 50, "color": "auto", - "css": "font-size:90%;", "horizontal": true, "stretch": true, "border": false, @@ -310,19 +309,20 @@ "widgetId": "trim_knob_@{parent.variables.n}", "linkId": "", "unit": "", - "horizontal": true, "editable": true, "precision": 1, "target": [], "value": "", "address": "/trim_input_@{parent.variables.n}", "width": "auto", - "css": "" + "css": "", + "vertical": true } ], "_style": "style", "_children": "children", "scroll": true, + "css": "", "_geometry": "geometry", "_panel": "panel", "layout": "", @@ -583,7 +583,6 @@ "label": false, "unit": "dB", "height": 30, - "horizontal": false, "color": "auto", "css": "margin:5rem 5rem 0", "widgetId": "fader_@{parent.variables.n}", @@ -592,7 +591,8 @@ "precision": 2, "preArgs": [], "target": [], - "address": "/fader_input_@{parent.variables.n}" + "address": "/fader_input_@{parent.variables.n}", + "vertical": false }, { "type": "fader", @@ -938,7 +938,6 @@ "label": false, "width": 50, "color": "auto", - "css": "font-size:90%;", "horizontal": true, "stretch": true, "border": false, @@ -967,19 +966,20 @@ "widgetId": "mastertrim", "linkId": "", "unit": "", - "horizontal": true, "editable": true, "precision": 1, "target": [], "value": "", "address": "/mastertrim_input", "width": "auto", - "css": "" + "css": "", + "vertical": true } ], "_style": "style", "_children": "children", "scroll": true, + "css": "", "_geometry": "geometry", "_panel": "panel", "layout": "", @@ -1192,7 +1192,6 @@ "label": false, "unit": "dB", "height": 30, - "horizontal": false, "color": "auto", "css": "margin:5rem 5rem 0", "widgetId": "Master", @@ -1201,7 +1200,8 @@ "precision": 2, "preArgs": [], "target": [], - "address": "/master_input" + "address": "/master_input", + "vertical": false }, { "type": "fader", @@ -1922,7 +1922,6 @@ "label": false, "width": 50, "color": "auto", - "css": "font-size:90%;", "horizontal": true, "stretch": true, "border": false, @@ -1952,18 +1951,19 @@ "widgetId": "select_trim_knob", "linkId": "", "unit": "", - "horizontal": true, "editable": true, "precision": 1, "target": [], "address": "/select_trim_input", "value": "", - "width": "auto" + "width": "auto", + "vertical": true } ], "_style": "style", "_children": "children", "scroll": true, + "css": "", "_geometry": "geometry", "_panel": "panel", "layout": "", @@ -2320,7 +2320,6 @@ "label": false, "unit": "dB", "height": 30, - "horizontal": false, "color": "auto", "css": "margin:5rem 5rem 0", "widgetId": "fader_select", @@ -2329,7 +2328,8 @@ "precision": 2, "preArgs": [], "target": [], - "address": "/fader_input_select" + "address": "/fader_input_select", + "vertical": false }, { "type": "fader", diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index f7ca86cf..6630af03 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -26,7 +26,7 @@ module.exports = class Input extends _canvas_base { _input:'input', - horizontal:false, + vertical:false, unit: '', widgetId:'', editable:true, @@ -55,8 +55,8 @@ module.exports = class Input extends _canvas_base { this.value = '' this.stringValue = '' - if (this.getProp('horizontal')) { - this.widget.addClass('horizontal') + if (this.getProp('vertical')) { + this.widget.addClass('vertical') } if (this.getProp('editable')) { @@ -132,7 +132,7 @@ module.exports = class Input extends _canvas_base { super.resizeHandle(...arguments) - if (this.getProp('horizontal')){ + if (this.getProp('vertical')){ this.ctx.setTransform(1, 0, 0, 1, 0, 0) this.ctx.rotate(-Math.PI/2) this.ctx.translate(-this.height, 0) @@ -177,8 +177,8 @@ module.exports = class Input extends _canvas_base { draw() { var v = this.stringValue, - width = this.getProp('horizontal') ? this.height : this.width, - height = !this.getProp('horizontal') ? this.height : this.width + width = this.getProp('vertical') ? this.height : this.width, + height = !this.getProp('vertical') ? this.height : this.width if (this.getProp('unit') && v.length) v += ' ' + this.getProp('unit') diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index bca7ef17..688d93c3 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -75,7 +75,7 @@ module.exports = class _sliders_base extends _canvas_base { ...Input.defaults(), precision:this.getProp('precision'), unit:this.getProp('unit'), - horizontal: this.getProp('type') == 'fader' && this.getProp('compact') && !this.getProp('horizontal') + vertical: this.getProp('type') == 'fader' && this.getProp('compact') && !this.getProp('horizontal') }, parent:this, parentNode:this.widget }) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 0c3b4353..76d404bb 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -183,7 +183,7 @@ module.exports = class Range extends _widgets_base { props:{...Input.defaults(), precision:this.getProp('precision'), unit:this.getProp('unit'), - horizontal: this.getProp('compact') && !this.getProp('horizontal') + vertical: this.getProp('compact') && !this.getProp('horizontal') }, parent:this, parentNode:this.widget, }) diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index 873c5908..503a01ec 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -2,7 +2,7 @@ width: 100rem; height: 60rem; padding:1rem; - .horizontal { + .vertical { input { transform: rotate(-90deg); vertical-align: middle; From 87903a484e5637108a8d903dc29ca1764e3730ee Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 21 Dec 2017 13:10:03 +0100 Subject: [PATCH 0088/5759] input: rename prop horizontal to vertical --- CHANGELOG.md | 1 + app/examples/ardour.json | 30 +++++++++---------- src/browser/js/app/widgets/inputs/input.js | 12 ++++---- .../js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 2 +- src/browser/scss/widgets/_inputs.scss | 2 +- 6 files changed, 25 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5147325e..cc61fe91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets + - inputs: renamed `input`'s property `horizontal` to `vertical` to match how the widget actually displays - sliders: **new** `range` widget - plots: **new** `image` widget - remote control diff --git a/app/examples/ardour.json b/app/examples/ardour.json index 8168f6f3..e912cc0a 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -281,7 +281,6 @@ "label": false, "width": 50, "color": "auto", - "css": "font-size:90%;", "horizontal": true, "stretch": true, "border": false, @@ -310,19 +309,20 @@ "widgetId": "trim_knob_@{parent.variables.n}", "linkId": "", "unit": "", - "horizontal": true, "editable": true, "precision": 1, "target": [], "value": "", "address": "/trim_input_@{parent.variables.n}", "width": "auto", - "css": "" + "css": "", + "vertical": true } ], "_style": "style", "_children": "children", "scroll": true, + "css": "", "_geometry": "geometry", "_panel": "panel", "layout": "", @@ -583,7 +583,6 @@ "label": false, "unit": "dB", "height": 30, - "horizontal": false, "color": "auto", "css": "margin:5rem 5rem 0", "widgetId": "fader_@{parent.variables.n}", @@ -592,7 +591,8 @@ "precision": 2, "preArgs": [], "target": [], - "address": "/fader_input_@{parent.variables.n}" + "address": "/fader_input_@{parent.variables.n}", + "vertical": false }, { "type": "fader", @@ -938,7 +938,6 @@ "label": false, "width": 50, "color": "auto", - "css": "font-size:90%;", "horizontal": true, "stretch": true, "border": false, @@ -967,19 +966,20 @@ "widgetId": "mastertrim", "linkId": "", "unit": "", - "horizontal": true, "editable": true, "precision": 1, "target": [], "value": "", "address": "/mastertrim_input", "width": "auto", - "css": "" + "css": "", + "vertical": true } ], "_style": "style", "_children": "children", "scroll": true, + "css": "", "_geometry": "geometry", "_panel": "panel", "layout": "", @@ -1192,7 +1192,6 @@ "label": false, "unit": "dB", "height": 30, - "horizontal": false, "color": "auto", "css": "margin:5rem 5rem 0", "widgetId": "Master", @@ -1201,7 +1200,8 @@ "precision": 2, "preArgs": [], "target": [], - "address": "/master_input" + "address": "/master_input", + "vertical": false }, { "type": "fader", @@ -1922,7 +1922,6 @@ "label": false, "width": 50, "color": "auto", - "css": "font-size:90%;", "horizontal": true, "stretch": true, "border": false, @@ -1952,18 +1951,19 @@ "widgetId": "select_trim_knob", "linkId": "", "unit": "", - "horizontal": true, "editable": true, "precision": 1, "target": [], "address": "/select_trim_input", "value": "", - "width": "auto" + "width": "auto", + "vertical": true } ], "_style": "style", "_children": "children", "scroll": true, + "css": "", "_geometry": "geometry", "_panel": "panel", "layout": "", @@ -2320,7 +2320,6 @@ "label": false, "unit": "dB", "height": 30, - "horizontal": false, "color": "auto", "css": "margin:5rem 5rem 0", "widgetId": "fader_select", @@ -2329,7 +2328,8 @@ "precision": 2, "preArgs": [], "target": [], - "address": "/fader_input_select" + "address": "/fader_input_select", + "vertical": false }, { "type": "fader", diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index f7ca86cf..6630af03 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -26,7 +26,7 @@ module.exports = class Input extends _canvas_base { _input:'input', - horizontal:false, + vertical:false, unit: '', widgetId:'', editable:true, @@ -55,8 +55,8 @@ module.exports = class Input extends _canvas_base { this.value = '' this.stringValue = '' - if (this.getProp('horizontal')) { - this.widget.addClass('horizontal') + if (this.getProp('vertical')) { + this.widget.addClass('vertical') } if (this.getProp('editable')) { @@ -132,7 +132,7 @@ module.exports = class Input extends _canvas_base { super.resizeHandle(...arguments) - if (this.getProp('horizontal')){ + if (this.getProp('vertical')){ this.ctx.setTransform(1, 0, 0, 1, 0, 0) this.ctx.rotate(-Math.PI/2) this.ctx.translate(-this.height, 0) @@ -177,8 +177,8 @@ module.exports = class Input extends _canvas_base { draw() { var v = this.stringValue, - width = this.getProp('horizontal') ? this.height : this.width, - height = !this.getProp('horizontal') ? this.height : this.width + width = this.getProp('vertical') ? this.height : this.width, + height = !this.getProp('vertical') ? this.height : this.width if (this.getProp('unit') && v.length) v += ' ' + this.getProp('unit') diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index bca7ef17..688d93c3 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -75,7 +75,7 @@ module.exports = class _sliders_base extends _canvas_base { ...Input.defaults(), precision:this.getProp('precision'), unit:this.getProp('unit'), - horizontal: this.getProp('type') == 'fader' && this.getProp('compact') && !this.getProp('horizontal') + vertical: this.getProp('type') == 'fader' && this.getProp('compact') && !this.getProp('horizontal') }, parent:this, parentNode:this.widget }) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 0c3b4353..76d404bb 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -183,7 +183,7 @@ module.exports = class Range extends _widgets_base { props:{...Input.defaults(), precision:this.getProp('precision'), unit:this.getProp('unit'), - horizontal: this.getProp('compact') && !this.getProp('horizontal') + vertical: this.getProp('compact') && !this.getProp('horizontal') }, parent:this, parentNode:this.widget, }) diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index 873c5908..503a01ec 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -2,7 +2,7 @@ width: 100rem; height: 60rem; padding:1rem; - .horizontal { + .vertical { input { transform: rotate(-90deg); vertical-align: middle; From 658a097fd5bb1d2f3520539cbb543cfc74265e3e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 22 Dec 2017 12:03:17 +0100 Subject: [PATCH 0089/5759] mouse/drag: high precision (x8) dragging with ctrlKey pressed --- src/browser/js/libs/jquery.drag.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/libs/jquery.drag.js b/src/browser/js/libs/jquery.drag.js index f12660f4..c665ba07 100644 --- a/src/browser/js/libs/jquery.drag.js +++ b/src/browser/js/libs/jquery.drag.js @@ -63,8 +63,8 @@ mouseMoveHandler = function(e){ e.stopPropagation() - e.speedX = e.pageX - previousEvent.pageX - e.speedY = e.pageY - previousEvent.pageY + e.speedX = (e.pageX - previousEvent.pageX) / (e.ctrlKey ? 8 : 1) + e.speedY = (e.pageY - previousEvent.pageY) / (e.ctrlKey ? 8 : 1) e.deltaX = e.speedX + previousEvent.deltaX e.deltaY = e.speedY + previousEvent.deltaY From 56a05b61be1db38ac798ab59e199a54695715ad1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 22 Dec 2017 12:03:17 +0100 Subject: [PATCH 0090/5759] mouse/drag: high precision (x8) dragging with ctrlKey pressed --- src/browser/js/libs/jquery.drag.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/libs/jquery.drag.js b/src/browser/js/libs/jquery.drag.js index f12660f4..c665ba07 100644 --- a/src/browser/js/libs/jquery.drag.js +++ b/src/browser/js/libs/jquery.drag.js @@ -63,8 +63,8 @@ mouseMoveHandler = function(e){ e.stopPropagation() - e.speedX = e.pageX - previousEvent.pageX - e.speedY = e.pageY - previousEvent.pageY + e.speedX = (e.pageX - previousEvent.pageX) / (e.ctrlKey ? 8 : 1) + e.speedY = (e.pageY - previousEvent.pageY) / (e.ctrlKey ? 8 : 1) e.deltaX = e.speedX + previousEvent.deltaX e.deltaY = e.speedY + previousEvent.deltaY From 9ee38507fd7e6a95889264b94c4ec9548fedb291 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 22 Dec 2017 13:16:56 +0100 Subject: [PATCH 0091/5759] sliders/pads: holding `Ctrl` now enables high precision dragging with the mouse and bypasses the `snap` option --- CHANGELOG.md | 2 +- resources/docs/interface.md | 4 +++- src/browser/js/app/widgets/matrices/multifader.js | 2 +- src/browser/js/app/widgets/sliders/fader.js | 2 +- src/browser/js/app/widgets/sliders/knob.js | 4 ++-- src/browser/js/libs/jquery.drag.js | 3 ++- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc61fe91..8503e84a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,9 @@ - downgraded to the latest *stable* electron release - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports -- cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets + - sliders/pads: holding `Ctrl` now enables high precision dragging with the mouse and bypasses the `snap` option - inputs: renamed `input`'s property `horizontal` to `vertical` to match how the widget actually displays - sliders: **new** `range` widget - plots: **new** `image` widget diff --git a/resources/docs/interface.md b/resources/docs/interface.md index 614d542a..a79e0f55 100644 --- a/resources/docs/interface.md +++ b/resources/docs/interface.md @@ -30,4 +30,6 @@ See [Editing sessions](editing-sessions.md). | Click | Tap | Handled at pressing time, not releasing. | | Double Click | Double Tap | Some widgets handle double click / tap events. | | Right-click | Long touch | Widgets that have only one value input will give focus to it when receiving this event. When the editor is enabled, Right-click / Long touch spawns the editor's context menu. | -| Drag | | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. By using two or more fingers, one can obtain higher precision gestures : each finger that touches the widget without moving will slow down the moving one. | +| Drag | Drag | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. | +| `Ctrl` + Drag | | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 8.| +| | Multi-finger drag (single target) | Using two or more fingers on a single-touch target increases the gesture's precision by the squared number of fingers. | diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 7447fdd9..32fb5445 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -96,7 +96,7 @@ module.exports = class Multifader extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures() + if (this.getProp('traversing')) this.widget.enableTraversingGestures({ctrlKeyCancel:true}) this.registerHashes() diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js index 58cedfe7..6e3890b9 100644 --- a/src/browser/js/app/widgets/sliders/fader.js +++ b/src/browser/js/app/widgets/sliders/fader.js @@ -130,7 +130,7 @@ module.exports = class Fader extends _sliders_base { this.percent = clip(this.percent,[0,100]) - if (!(traversing || this.getProp('snap'))) return + if (!(traversing || this.getProp('snap')) || data.ctrlKey) return this.percent = this.getProp('horizontal')? (data.offsetX - this.margin * PXSCALE) / (this.width - (this.margin * PXSCALE * 2)) * 100: diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js index b1cfb5cc..418fd07b 100644 --- a/src/browser/js/app/widgets/sliders/knob.js +++ b/src/browser/js/app/widgets/sliders/knob.js @@ -76,7 +76,7 @@ module.exports = class Knob extends _sliders_base { this.lastOffsetX = data.offsetX this.lastOffsetY = data.offsetY - if (!(traversing || this.getProp('snap'))) return + if (!(traversing || this.getProp('snap')) || data.ctrlKey) return this.percent = this.angleToPercent(this.coordsToAngle(data.offsetX, data.offsetY)) @@ -86,7 +86,7 @@ module.exports = class Knob extends _sliders_base { dragHandle(e, data, traversing) { - if (!(traversing || this.getProp('snap'))) { + if (!(traversing || this.getProp('snap')) || data.ctrlKey) { this.percent = -100*data.speedY/this.height + this.percent diff --git a/src/browser/js/libs/jquery.drag.js b/src/browser/js/libs/jquery.drag.js index c665ba07..1d8f3fd8 100644 --- a/src/browser/js/libs/jquery.drag.js +++ b/src/browser/js/libs/jquery.drag.js @@ -297,11 +297,12 @@ } - $.fn.enableTraversingGestures = function() { + $.fn.enableTraversingGestures = function(options={}) { var self = this[0] var down = function(e){ + if (e.ctrlKey && options.ctrlKeyCancel) return makeEventTraversing(e) self.addEventListener("mousemove", makeEventTraversing, true) self.addEventListener("touchmove", makeEventTraversing, true) From bdfe6f6bb99db5221f26c1e8af35d253d8b7d467 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 22 Dec 2017 13:16:56 +0100 Subject: [PATCH 0092/5759] sliders/pads: holding `Ctrl` now enables high precision dragging with the mouse and bypasses the `snap` option --- CHANGELOG.md | 2 +- resources/docs/interface.md | 4 +++- src/browser/js/app/widgets/matrices/multifader.js | 2 +- src/browser/js/app/widgets/sliders/fader.js | 2 +- src/browser/js/app/widgets/sliders/knob.js | 4 ++-- src/browser/js/libs/jquery.drag.js | 3 ++- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc61fe91..8503e84a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,9 @@ - downgraded to the latest *stable* electron release - main - added `zeroconf` / `bonjour` publishing for the app's http and osc input ports -- cli - added `--instance-name` option to differenciate mulitple instances in zeroconf networks - widgets + - sliders/pads: holding `Ctrl` now enables high precision dragging with the mouse and bypasses the `snap` option - inputs: renamed `input`'s property `horizontal` to `vertical` to match how the widget actually displays - sliders: **new** `range` widget - plots: **new** `image` widget diff --git a/resources/docs/interface.md b/resources/docs/interface.md index 614d542a..a79e0f55 100644 --- a/resources/docs/interface.md +++ b/resources/docs/interface.md @@ -30,4 +30,6 @@ See [Editing sessions](editing-sessions.md). | Click | Tap | Handled at pressing time, not releasing. | | Double Click | Double Tap | Some widgets handle double click / tap events. | | Right-click | Long touch | Widgets that have only one value input will give focus to it when receiving this event. When the editor is enabled, Right-click / Long touch spawns the editor's context menu. | -| Drag | | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. By using two or more fingers, one can obtain higher precision gestures : each finger that touches the widget without moving will slow down the moving one. | +| Drag | Drag | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. | +| `Ctrl` + Drag | | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 8.| +| | Multi-finger drag (single target) | Using two or more fingers on a single-touch target increases the gesture's precision by the squared number of fingers. | diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 7447fdd9..32fb5445 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -96,7 +96,7 @@ module.exports = class Multifader extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures() + if (this.getProp('traversing')) this.widget.enableTraversingGestures({ctrlKeyCancel:true}) this.registerHashes() diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js index 58cedfe7..6e3890b9 100644 --- a/src/browser/js/app/widgets/sliders/fader.js +++ b/src/browser/js/app/widgets/sliders/fader.js @@ -130,7 +130,7 @@ module.exports = class Fader extends _sliders_base { this.percent = clip(this.percent,[0,100]) - if (!(traversing || this.getProp('snap'))) return + if (!(traversing || this.getProp('snap')) || data.ctrlKey) return this.percent = this.getProp('horizontal')? (data.offsetX - this.margin * PXSCALE) / (this.width - (this.margin * PXSCALE * 2)) * 100: diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js index b1cfb5cc..418fd07b 100644 --- a/src/browser/js/app/widgets/sliders/knob.js +++ b/src/browser/js/app/widgets/sliders/knob.js @@ -76,7 +76,7 @@ module.exports = class Knob extends _sliders_base { this.lastOffsetX = data.offsetX this.lastOffsetY = data.offsetY - if (!(traversing || this.getProp('snap'))) return + if (!(traversing || this.getProp('snap')) || data.ctrlKey) return this.percent = this.angleToPercent(this.coordsToAngle(data.offsetX, data.offsetY)) @@ -86,7 +86,7 @@ module.exports = class Knob extends _sliders_base { dragHandle(e, data, traversing) { - if (!(traversing || this.getProp('snap'))) { + if (!(traversing || this.getProp('snap')) || data.ctrlKey) { this.percent = -100*data.speedY/this.height + this.percent diff --git a/src/browser/js/libs/jquery.drag.js b/src/browser/js/libs/jquery.drag.js index c665ba07..1d8f3fd8 100644 --- a/src/browser/js/libs/jquery.drag.js +++ b/src/browser/js/libs/jquery.drag.js @@ -297,11 +297,12 @@ } - $.fn.enableTraversingGestures = function() { + $.fn.enableTraversingGestures = function(options={}) { var self = this[0] var down = function(e){ + if (e.ctrlKey && options.ctrlKeyCancel) return makeEventTraversing(e) self.addEventListener("mousemove", makeEventTraversing, true) self.addEventListener("touchmove", makeEventTraversing, true) From 679f523682bae6d4206742e8559f6726af9c2cde Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 22 Dec 2017 17:47:18 +0100 Subject: [PATCH 0093/5759] sliders: fix regression introduced with range widget --- src/browser/js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index 688d93c3..d2f6ef4f 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -203,7 +203,7 @@ module.exports = class _sliders_base extends _canvas_base { this.value = value - this.percent = this.valueToPercent(this.value) + if (!options.dragged) this.percent = this.valueToPercent(this.value) if (!this.noDraw) this.draw() diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 76d404bb..73df1238 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -142,7 +142,7 @@ module.exports = class Range extends _widgets_base { for (var i in this.handles) { if (this.handlesToFaders.indexOf(i) != -1) continue - var coord = this.faders[i].percentToCoord(this.faders[i].percent) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) + var coord = this.faders[i].percentToCoord(this.faders[i].valueToPercent(this.faders[i].value)) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) ndiff = this.getProp('horizontal')? Math.abs(data.offsetX - coord) : @@ -224,8 +224,8 @@ module.exports = class Range extends _widgets_base { var width = this.getProp('horizontal') ? this.height : this.width, height = !this.getProp('horizontal') ? this.height : this.width - var d = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?0:1].percent)), - d2 = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?1:0].percent)), + var d = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?0:1].value))), + d2 = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?1:0].value))), m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) var dashed = this.getProp('dashed') From 993d3c691434f1ac0fb33757899c12e0f31e3d5e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 22 Dec 2017 17:47:18 +0100 Subject: [PATCH 0094/5759] sliders: fix regression introduced with range widget --- src/browser/js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index 688d93c3..d2f6ef4f 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -203,7 +203,7 @@ module.exports = class _sliders_base extends _canvas_base { this.value = value - this.percent = this.valueToPercent(this.value) + if (!options.dragged) this.percent = this.valueToPercent(this.value) if (!this.noDraw) this.draw() diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 76d404bb..73df1238 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -142,7 +142,7 @@ module.exports = class Range extends _widgets_base { for (var i in this.handles) { if (this.handlesToFaders.indexOf(i) != -1) continue - var coord = this.faders[i].percentToCoord(this.faders[i].percent) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) + var coord = this.faders[i].percentToCoord(this.faders[i].valueToPercent(this.faders[i].value)) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) ndiff = this.getProp('horizontal')? Math.abs(data.offsetX - coord) : @@ -224,8 +224,8 @@ module.exports = class Range extends _widgets_base { var width = this.getProp('horizontal') ? this.height : this.width, height = !this.getProp('horizontal') ? this.height : this.width - var d = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?0:1].percent)), - d2 = Math.round(this.percentToCoord(_this.faders[this.getProp('horizontal')?1:0].percent)), + var d = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?0:1].value))), + d2 = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?1:0].value))), m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) var dashed = this.getProp('dashed') From e1b0ff9b39b1c08bca0827435b084a0714d17061 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 25 Dec 2017 09:00:17 +0100 Subject: [PATCH 0095/5759] sidepanel: fix broken quicksave (regression) --- CHANGELOG.md | 1 + src/browser/js/app/sidepanel.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8503e84a..0dc7d8de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - sessions opened from command line with relative paths are now added to the history with their absolute path - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property - sending no value to a widget with `preArgs` is now possible : all the arguments found in incomming osc messages are now taken into account to match the widgets in the session + - regression breaking state quicksave from sidepanel - engine - downgraded to the latest *stable* electron release - main diff --git a/src/browser/js/app/sidepanel.js b/src/browser/js/app/sidepanel.js index 92586dda..331472eb 100644 --- a/src/browser/js/app/sidepanel.js +++ b/src/browser/js/app/sidepanel.js @@ -23,7 +23,7 @@ var data = [ { title:'Store', action:()=>{ - state.quickSave.bind(state) + state.quickSave() $('.quickload').removeClass('disabled') } }, From 83e338a18315d80d12446c2cac3a964b77dc397c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 25 Dec 2017 09:00:17 +0100 Subject: [PATCH 0096/5759] sidepanel: fix broken quicksave (regression) --- CHANGELOG.md | 1 + src/browser/js/app/sidepanel.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8503e84a..0dc7d8de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - sessions opened from command line with relative paths are now added to the history with their absolute path - sending an empty message to a `text` widget resets it to its initial value and without ignoring its `value` property - sending no value to a widget with `preArgs` is now possible : all the arguments found in incomming osc messages are now taken into account to match the widgets in the session + - regression breaking state quicksave from sidepanel - engine - downgraded to the latest *stable* electron release - main diff --git a/src/browser/js/app/sidepanel.js b/src/browser/js/app/sidepanel.js index 92586dda..331472eb 100644 --- a/src/browser/js/app/sidepanel.js +++ b/src/browser/js/app/sidepanel.js @@ -23,7 +23,7 @@ var data = [ { title:'Store', action:()=>{ - state.quickSave.bind(state) + state.quickSave() $('.quickload').removeClass('disabled') } }, From 6f46c47b49e0f0f4c1afee9e40f4446e702aeeae Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:13:11 +0100 Subject: [PATCH 0097/5759] example: ardour tiny line height fix --- app/examples/ardour.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/examples/ardour.json b/app/examples/ardour.json index e912cc0a..7ae13f67 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -298,7 +298,7 @@ "address": "/trim_label_@{parent.variables.n}", "vertical": true, "width": "auto", - "css": "" + "css": "line-height:12rem" }, { "type": "input", @@ -949,7 +949,7 @@ "id": "mastertrim_label", "label": false, "color": "auto", - "css": "", + "css": "line-height:12rem", "value": "Trim", "preArgs": [], "widgetId": "", @@ -1933,7 +1933,7 @@ "id": "select_trim_label", "label": false, "color": "auto", - "css": "", + "css": "line-height:12rem", "value": "Trim", "preArgs": [], "widgetId": "", From 7b2da56bd1507425cc0603754cb993b7d094a86f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:13:11 +0100 Subject: [PATCH 0098/5759] example: ardour tiny line height fix --- app/examples/ardour.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/examples/ardour.json b/app/examples/ardour.json index e912cc0a..7ae13f67 100644 --- a/app/examples/ardour.json +++ b/app/examples/ardour.json @@ -298,7 +298,7 @@ "address": "/trim_label_@{parent.variables.n}", "vertical": true, "width": "auto", - "css": "" + "css": "line-height:12rem" }, { "type": "input", @@ -949,7 +949,7 @@ "id": "mastertrim_label", "label": false, "color": "auto", - "css": "", + "css": "line-height:12rem", "value": "Trim", "preArgs": [], "widgetId": "", @@ -1933,7 +1933,7 @@ "id": "select_trim_label", "label": false, "color": "auto", - "css": "", + "css": "line-height:12rem", "value": "Trim", "preArgs": [], "widgetId": "", From 5bca3e3ceb3f20d0cf770341783544c5559ffa9a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:14:24 +0100 Subject: [PATCH 0099/5759] leds: tweak css --- src/browser/js/app/widgets/plots/rgbled.js | 2 +- src/browser/scss/widgets/_plots.scss | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/plots/rgbled.js b/src/browser/js/app/widgets/plots/rgbled.js index 746ba8aa..70e012d6 100644 --- a/src/browser/js/app/widgets/plots/rgbled.js +++ b/src/browser/js/app/widgets/plots/rgbled.js @@ -101,7 +101,7 @@ module.exports = class Rbgled extends _widgets_base { this.value = v - this.widget[0].style.setProperty('--color-custom', c) + this.widget[0].style.setProperty('--color-led', c) } diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index 20cfce7b..a87c20f0 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -3,19 +3,22 @@ height:100rem; padding:1rem; .led { + --opacity: 0; + --color-led: var(--color-custom); display: flex; flex-direction: row; flex: 1 1 100%; background: var(--color-track); border:1rem solid var(--color-bg); - --opacity: 0; - &:after { + &:before { content:""; width:100%; height: 100%; - background: var(--color-custom); + background: var(--color-led); border-radius: inherit; opacity: var(--opacity); + border-radius: 2rem; + box-shadow: inset 0 0 10rem var(--color-track); } } } From 02c39debf29739f5cdedf889aefcd5c6b9c857ce Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:14:24 +0100 Subject: [PATCH 0100/5759] leds: tweak css --- src/browser/js/app/widgets/plots/rgbled.js | 2 +- src/browser/scss/widgets/_plots.scss | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/plots/rgbled.js b/src/browser/js/app/widgets/plots/rgbled.js index 746ba8aa..70e012d6 100644 --- a/src/browser/js/app/widgets/plots/rgbled.js +++ b/src/browser/js/app/widgets/plots/rgbled.js @@ -101,7 +101,7 @@ module.exports = class Rbgled extends _widgets_base { this.value = v - this.widget[0].style.setProperty('--color-custom', c) + this.widget[0].style.setProperty('--color-led', c) } diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index 20cfce7b..a87c20f0 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -3,19 +3,22 @@ height:100rem; padding:1rem; .led { + --opacity: 0; + --color-led: var(--color-custom); display: flex; flex-direction: row; flex: 1 1 100%; background: var(--color-track); border:1rem solid var(--color-bg); - --opacity: 0; - &:after { + &:before { content:""; width:100%; height: 100%; - background: var(--color-custom); + background: var(--color-led); border-radius: inherit; opacity: var(--opacity); + border-radius: 2rem; + box-shadow: inset 0 0 10rem var(--color-track); } } } From b0833b4ca5aea909b5d0afadc242766480fd146a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:15:00 +0100 Subject: [PATCH 0101/5759] inputs: reset size to 100% (was 108%) --- src/browser/scss/widgets/_inputs.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index 503a01ec..a6521058 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -6,6 +6,7 @@ input { transform: rotate(-90deg); vertical-align: middle; + max-width: initial!important; } } } @@ -20,8 +21,6 @@ padding:1rem; border: 1rem solid var(--color-bg); background: var(--color-track); - font-size: 109%; - input { display: block; flex:1; From 8b5929601054c7dc5a146af779794a90532adfe5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:15:00 +0100 Subject: [PATCH 0102/5759] inputs: reset size to 100% (was 108%) --- src/browser/scss/widgets/_inputs.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index 503a01ec..a6521058 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -6,6 +6,7 @@ input { transform: rotate(-90deg); vertical-align: middle; + max-width: initial!important; } } } @@ -20,8 +21,6 @@ padding:1rem; border: 1rem solid var(--color-bg); background: var(--color-track); - font-size: 109%; - input { display: block; flex:1; From f4b50b048679f7ad25b442c5e6fcf053fec672c6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:16:03 +0100 Subject: [PATCH 0103/5759] plots: testing a glass effect to differentiate non-interactable widgets --- src/browser/scss/_widgets.scss | 19 +++++++++++++++++++ src/browser/scss/widgets/_maths.scss | 1 + src/browser/scss/widgets/_pads.scss | 2 +- src/browser/scss/widgets/_plots.scss | 9 ++++++++- 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/browser/scss/_widgets.scss b/src/browser/scss/_widgets.scss index c0906e63..20f54465 100644 --- a/src/browser/scss/_widgets.scss +++ b/src/browser/scss/_widgets.scss @@ -61,6 +61,25 @@ } } +.glass-effect { + position: relative; + &:after { + content:""; + position: absolute; + pointer-events: none; + top:0; + left:0; + right:0; + bottom:0; + background: radial-gradient(ellipse farthest-side at center top, var(--color-custom), var(--color-track)); + background-size: 150% 150%; + background-repeat: no-repeat; + background-position: center top; + opacity: .15; + z-index: 3; + } +} + @import 'widgets/fader'; @import 'widgets/knob'; diff --git a/src/browser/scss/widgets/_maths.scss b/src/browser/scss/widgets/_maths.scss index e0b04951..3b84318d 100644 --- a/src/browser/scss/widgets/_maths.scss +++ b/src/browser/scss/widgets/_maths.scss @@ -7,6 +7,7 @@ height:100%; background: var(--color-track); border:1rem solid var(--color-bg); + @extend .glass-effect; .input { background: transparent!important; border: 0!important; diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss index f0509f3d..220b2944 100644 --- a/src/browser/scss/widgets/_pads.scss +++ b/src/browser/scss/widgets/_pads.scss @@ -28,7 +28,7 @@ background:var(--color-track); border: 1rem solid var(--color-bg); touch-action: none; - + > canvas { width:100%; height:100%; diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index a87c20f0..9a43064b 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -20,6 +20,8 @@ border-radius: 2rem; box-shadow: inset 0 0 10rem var(--color-track); } + @extend .glass-effect; + } } @@ -35,9 +37,9 @@ display: flex; flex-direction: row; flex: 1 1 100%; - position: relative; background: var(--color-track); border:1rem solid var(--color-bg); + @extend .glass-effect; } canvas { flex:1; @@ -52,6 +54,7 @@ --color-knob: transparent; .wrapper { pointer-events: none; + @extend .glass-effect; } } @@ -76,7 +79,11 @@ overflow: hidden; -webkit-writing-mode:vertical-lr; writing-mode:vertical-lr; + &:after { + transform: rotate(-180deg); + } } + @extend .glass-effect; } } From b3c82251f9391b11c488f4af9bb7c4457d387826 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:16:03 +0100 Subject: [PATCH 0104/5759] plots: testing a glass effect to differentiate non-interactable widgets --- src/browser/scss/_widgets.scss | 19 +++++++++++++++++++ src/browser/scss/widgets/_maths.scss | 1 + src/browser/scss/widgets/_pads.scss | 2 +- src/browser/scss/widgets/_plots.scss | 9 ++++++++- 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/browser/scss/_widgets.scss b/src/browser/scss/_widgets.scss index c0906e63..20f54465 100644 --- a/src/browser/scss/_widgets.scss +++ b/src/browser/scss/_widgets.scss @@ -61,6 +61,25 @@ } } +.glass-effect { + position: relative; + &:after { + content:""; + position: absolute; + pointer-events: none; + top:0; + left:0; + right:0; + bottom:0; + background: radial-gradient(ellipse farthest-side at center top, var(--color-custom), var(--color-track)); + background-size: 150% 150%; + background-repeat: no-repeat; + background-position: center top; + opacity: .15; + z-index: 3; + } +} + @import 'widgets/fader'; @import 'widgets/knob'; diff --git a/src/browser/scss/widgets/_maths.scss b/src/browser/scss/widgets/_maths.scss index e0b04951..3b84318d 100644 --- a/src/browser/scss/widgets/_maths.scss +++ b/src/browser/scss/widgets/_maths.scss @@ -7,6 +7,7 @@ height:100%; background: var(--color-track); border:1rem solid var(--color-bg); + @extend .glass-effect; .input { background: transparent!important; border: 0!important; diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss index f0509f3d..220b2944 100644 --- a/src/browser/scss/widgets/_pads.scss +++ b/src/browser/scss/widgets/_pads.scss @@ -28,7 +28,7 @@ background:var(--color-track); border: 1rem solid var(--color-bg); touch-action: none; - + > canvas { width:100%; height:100%; diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index a87c20f0..9a43064b 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -20,6 +20,8 @@ border-radius: 2rem; box-shadow: inset 0 0 10rem var(--color-track); } + @extend .glass-effect; + } } @@ -35,9 +37,9 @@ display: flex; flex-direction: row; flex: 1 1 100%; - position: relative; background: var(--color-track); border:1rem solid var(--color-bg); + @extend .glass-effect; } canvas { flex:1; @@ -52,6 +54,7 @@ --color-knob: transparent; .wrapper { pointer-events: none; + @extend .glass-effect; } } @@ -76,7 +79,11 @@ overflow: hidden; -webkit-writing-mode:vertical-lr; writing-mode:vertical-lr; + &:after { + transform: rotate(-180deg); + } } + @extend .glass-effect; } } From 0378196f8c23a62bb1e5231ba2f1c7a599d81a89 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:16:56 +0100 Subject: [PATCH 0105/5759] push: slightly fade label when active --- src/browser/scss/widgets/_push.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/scss/widgets/_push.scss b/src/browser/scss/widgets/_push.scss index 9dc1cb3c..aaf10365 100644 --- a/src/browser/scss/widgets/_push.scss +++ b/src/browser/scss/widgets/_push.scss @@ -11,7 +11,9 @@ right: 0; bottom: 0; opacity: 0.4; - background: radial-gradient( ellipse at center, transparent, var(--color-bg)); + background: radial-gradient( ellipse at center, var(--color-raised), var(--color-bg)), + ; + z-index: 2; } } &.on:not(.active) { From 6d0947aea919975e75d347c134c4e6df78e88e84 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:16:56 +0100 Subject: [PATCH 0106/5759] push: slightly fade label when active --- src/browser/scss/widgets/_push.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/scss/widgets/_push.scss b/src/browser/scss/widgets/_push.scss index 9dc1cb3c..aaf10365 100644 --- a/src/browser/scss/widgets/_push.scss +++ b/src/browser/scss/widgets/_push.scss @@ -11,7 +11,9 @@ right: 0; bottom: 0; opacity: 0.4; - background: radial-gradient( ellipse at center, transparent, var(--color-bg)); + background: radial-gradient( ellipse at center, var(--color-raised), var(--color-bg)), + ; + z-index: 2; } } &.on:not(.active) { From 73617beb9b4f8b2f6a95c57f7e4cf350e415abb5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:30:35 +0100 Subject: [PATCH 0107/5759] =?UTF-8?q?remote=20control:=20/EDIT/GET=20add?= =?UTF-8?q?=20support=20for=20address/preArgs=20widget=20targetting=20(iss?= =?UTF-8?q?ue=C2=A0#56)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/docs/extras/remote-control.md | 16 +++++++++++++++- src/browser/js/app/remote-control.js | 23 ++++++++++++++++------- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index d89b11ed..8d67a3a3 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -40,6 +40,21 @@ Returns `/EDIT/GET id data` - `id`: `string` - `data`: `string` +## `/EDIT/GET target address preArg1 preArg2 ...` + +Sends back a widget's data (JSON stringified object), including its children, to specified target. + +- `target`: `string`, `ip:port` pair +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` + +Returns `/EDIT/GET address preArg1 preArg2 ... data` + +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` +- `data`: `string` + + ## `/GET target id` Sends back a widget's value to specified target. @@ -62,7 +77,6 @@ Sends back a widget's value to specified target. Returns `/GET address preArg1 preArg2 ... value` -- `id`: `string` - `address`: `string`, widget's `address` - `preArg[1...]`: `*`, widget's `preArgs` - `value`: `*` diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 94b170de..9a50e357 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -40,24 +40,33 @@ var callbacks = { }, '/EDIT/GET': function(args) { - if (!Array.isArray(args) || args.length != 2) return + var [target, idOrAddress, ...preArgs] = args, + widgets = [] - var [target, id] = args, - widgets = widgetManager.getWidgetById(id) + if (idOrAddress[0] == '/') { + + widgets = widgetManager.getWidgetByAddress( + widgetManager.createAddressRef(null, preArgs, idOrAddress) + ) + + } else { + + widgets = widgetManager.getWidgetById(idOrAddress) + + } for (var i = widgets.length - 1; i >= 0; i--) { return widgets[i].sendValue({ target: [target], address: '/EDIT/GET', - v: [ - id, - JSON.stringify(widgets[i].props) - ], + preArgs: [idOrAddress, ...preArgs], + v: JSON.stringify(widgets[i].props), nosync: true }) } + }, '/GET':function(args) { From 96fd5effdc36161bcce745c27d56c747d6effed0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 26 Dec 2017 15:30:35 +0100 Subject: [PATCH 0108/5759] =?UTF-8?q?remote=20control:=20/EDIT/GET=20add?= =?UTF-8?q?=20support=20for=20address/preArgs=20widget=20targetting=20(iss?= =?UTF-8?q?ue=C2=A0#56)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/docs/extras/remote-control.md | 16 +++++++++++++++- src/browser/js/app/remote-control.js | 23 ++++++++++++++++------- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/resources/docs/extras/remote-control.md b/resources/docs/extras/remote-control.md index d89b11ed..8d67a3a3 100644 --- a/resources/docs/extras/remote-control.md +++ b/resources/docs/extras/remote-control.md @@ -40,6 +40,21 @@ Returns `/EDIT/GET id data` - `id`: `string` - `data`: `string` +## `/EDIT/GET target address preArg1 preArg2 ...` + +Sends back a widget's data (JSON stringified object), including its children, to specified target. + +- `target`: `string`, `ip:port` pair +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` + +Returns `/EDIT/GET address preArg1 preArg2 ... data` + +- `address`: `string`, widget's `address` +- `preArg[1...]`: `*`, widget's `preArgs` +- `data`: `string` + + ## `/GET target id` Sends back a widget's value to specified target. @@ -62,7 +77,6 @@ Sends back a widget's value to specified target. Returns `/GET address preArg1 preArg2 ... value` -- `id`: `string` - `address`: `string`, widget's `address` - `preArg[1...]`: `*`, widget's `preArgs` - `value`: `*` diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 94b170de..9a50e357 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -40,24 +40,33 @@ var callbacks = { }, '/EDIT/GET': function(args) { - if (!Array.isArray(args) || args.length != 2) return + var [target, idOrAddress, ...preArgs] = args, + widgets = [] - var [target, id] = args, - widgets = widgetManager.getWidgetById(id) + if (idOrAddress[0] == '/') { + + widgets = widgetManager.getWidgetByAddress( + widgetManager.createAddressRef(null, preArgs, idOrAddress) + ) + + } else { + + widgets = widgetManager.getWidgetById(idOrAddress) + + } for (var i = widgets.length - 1; i >= 0; i--) { return widgets[i].sendValue({ target: [target], address: '/EDIT/GET', - v: [ - id, - JSON.stringify(widgets[i].props) - ], + preArgs: [idOrAddress, ...preArgs], + v: JSON.stringify(widgets[i].props), nosync: true }) } + }, '/GET':function(args) { From 862b583904872f067ab74fb76a324e7db8ca9c64 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 10:31:11 +0100 Subject: [PATCH 0109/5759] docs: add a note concerning https --- resources/docs/getting-started.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md index 76a3982c..d94c7dcf 100644 --- a/resources/docs/getting-started.md +++ b/resources/docs/getting-started.md @@ -48,6 +48,10 @@ $ open-stage-control --no-gui --load path/to/session.js --port 9999 This will create a headless app available through http on port 9999 with session.js loaded automatically. +!!! tip "What about HTTPS ?" + Security is out of the app's scope. If you are concerned about safety, using a private - protected - network should be enough. + + ## Run from sources Running the app from the sources slightly differs from using built binaries : instead of running a binary, we'll launch the app with npm. From b5c84270113668ebf7944dd6ba27a8bfc8ece329 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 10:31:11 +0100 Subject: [PATCH 0110/5759] docs: add a note concerning https --- resources/docs/getting-started.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md index 76a3982c..d94c7dcf 100644 --- a/resources/docs/getting-started.md +++ b/resources/docs/getting-started.md @@ -48,6 +48,10 @@ $ open-stage-control --no-gui --load path/to/session.js --port 9999 This will create a headless app available through http on port 9999 with session.js loaded automatically. +!!! tip "What about HTTPS ?" + Security is out of the app's scope. If you are concerned about safety, using a private - protected - network should be enough. + + ## Run from sources Running the app from the sources slightly differs from using built binaries : instead of running a binary, we'll launch the app with npm. From 41057a32c9c8093e1eadced60c41f723c45a763d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 16:48:56 +0100 Subject: [PATCH 0111/5759] examples: add a more complete widget showcase --- app/examples/widgets.json | 1813 +++++++++++++++++++++++++++++++++++++ 1 file changed, 1813 insertions(+) create mode 100644 app/examples/widgets.json diff --git a/app/examples/widgets.json b/app/examples/widgets.json new file mode 100644 index 00000000..6f52f1b9 --- /dev/null +++ b/app/examples/widgets.json @@ -0,0 +1,1813 @@ +[ + { + "type": "root", + "tabs": [ + { + "type": "tab", + "id": "tab_1", + "label": "Sliders", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_1", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "fader", + "top": 0, + "left": 0, + "id": "fader_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": false, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_1", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 100, + "id": "fader_2", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": true, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_2", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 200, + "id": "fader_3", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_3", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "top": 300, + "left": 0, + "id": "knob_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_1", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 300, + "id": "fader_4", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_4", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "top": 300, + "left": 100, + "id": "knob_2", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_2", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "top": 300, + "left": 200, + "id": "knob_3", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_3", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "encoder", + "top": 300, + "left": 300, + "id": "encoder_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "ticks": 360, + "back": -1, + "forth": 1, + "release": "", + "snap": false, + "doubleTap": false, + "precision": 2, + "address": "/encoder_1", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 410, + "id": "fader_5", + "linkId": "", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_5", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "range", + "top": 180, + "left": 410, + "id": "range_1", + "linkId": "", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "input": true, + "compact": false, + "pips": true, + "snap": false, + "spring": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "value": "", + "precision": 2, + "address": "/range_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "range", + "top": 270, + "left": 410, + "id": "range_2", + "linkId": "", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "input": true, + "compact": true, + "pips": true, + "snap": false, + "spring": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "value": "", + "precision": 2, + "address": "/range_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "fader", + "top": 90, + "left": 410, + "id": "fader_6", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_6", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_2", + "label": "Buttons", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_2", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "toggle", + "top": 10, + "left": 10, + "id": "toggle_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "doubleTap": false, + "led": false, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/toggle_1", + "preArgs": [], + "target": [] + }, + { + "type": "push", + "top": 10, + "left": 120, + "id": "push_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "on": 1, + "off": 0, + "norelease": false, + "precision": 2, + "address": "/push_1", + "preArgs": [], + "target": [] + }, + { + "type": "switch", + "top": 150, + "left": 10, + "id": "switch_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "values": { + "Value 1": 1, + "Value 2": 2 + }, + "value": "", + "precision": 2, + "address": "/switch_1", + "preArgs": [], + "target": [] + }, + { + "type": "dropdown", + "top": 10, + "left": 230, + "id": "dropdown_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "values": { + "Value 1": 1, + "Value 2": 2 + }, + "value": "", + "precision": 2, + "address": "/dropdown_1", + "preArgs": [], + "target": [] + }, + { + "type": "toggle", + "top": 80, + "left": 10, + "id": "toggle_2", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "doubleTap": false, + "led": true, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/toggle_2", + "preArgs": [], + "target": [] + }, + { + "type": "switch", + "top": 80, + "left": 120, + "id": "switch_2", + "width": 210, + "height": 60, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "values": { + "Value 1": 1, + "Value 2": 2 + }, + "value": "", + "precision": 2, + "address": "/switch_2", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_3", + "label": "Pads", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_3", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "xy", + "top": 10, + "left": 10, + "id": "xy_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "input": true, + "pips": true, + "pointSize": 20, + "snap": false, + "spring": false, + "doubleTap": false, + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "logScaleX": false, + "logScaleY": false, + "value": "", + "precision": 2, + "address": "/xy_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "rgb", + "top": 10, + "left": 220, + "id": "rgb_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "css": "", + "input": true, + "snap": false, + "spring": false, + "value": "", + "precision": 0, + "address": "/rgb_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [], + "pointSize": 10 + }, + { + "type": "multixy", + "top": 250, + "left": 10, + "id": "multixy_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "points": 2, + "pointSize": 20, + "snap": false, + "spring": false, + "pips": true, + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "logScaleX": false, + "logScaleY": false, + "value": "", + "precision": 2, + "address": "/multixy_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [] + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_4", + "label": "Matrices", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_4", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "multifader", + "top": 10, + "left": 10, + "id": "multifader_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": false, + "pips": false, + "input": true, + "compact": false, + "dashed": false, + "precision": 2, + "address": "/multifader_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multifader", + "top": 10, + "left": 220, + "id": "multifader_2", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": false, + "pips": false, + "input": true, + "compact": true, + "dashed": false, + "precision": 2, + "address": "/multifader_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multifader", + "top": 10, + "left": 430, + "id": "multifader_3", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": true, + "pips": false, + "input": true, + "compact": false, + "dashed": false, + "precision": 2, + "address": "/multifader_3", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multitoggle", + "top": 220, + "left": 10, + "id": "multitoggle_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "led": false, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/multitoggle_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multitoggle", + "top": 220, + "left": 220, + "id": "multitoggle_2", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "led": true, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/multitoggle_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multitoggle", + "top": 220, + "left": 430, + "id": "multitoggle_3", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 10, + "traversing": true, + "led": false, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/multitoggle_3", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multipush", + "top": 430, + "left": 10, + "id": "multipush_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/multipush_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multipush", + "top": 430, + "left": 220, + "id": "multipush_2", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/multipush_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multipush", + "top": 430, + "left": 430, + "id": "multipush_3", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 10, + "traversing": true, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/multipush_3", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "keyboard", + "top": 640, + "left": 10, + "id": "keyboard_1", + "width": 620, + "height": 100, + "label": "auto", + "color": "auto", + "css": "margin-bottom:10rem", + "keys": 64, + "start": 36, + "traversing": true, + "on": 1, + "off": 0, + "precision": 2, + "address": "/keyboard_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multifader", + "top": 10, + "left": 640, + "id": "multifader_4", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": true, + "pips": false, + "input": true, + "compact": true, + "dashed": false, + "precision": 2, + "address": "/multifader_4", + "preArgs": [], + "split": false, + "target": [] + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_5", + "label": "Plots", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_5", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "plot", + "top": 10, + "left": 10, + "id": "plot_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "origin": "auto", + "logScaleX": false, + "logScaleY": false, + "smooth": false, + "pips": true, + "address": "/plot_1", + "preArgs": [], + "points": [ + [ + "x1", + "y1" + ], + [ + "x2", + "y2" + ], + [ + "x3", + "y3" + ] + ] + }, + { + "type": "eq", + "top": 10, + "left": 220, + "id": "eq_1", + "width": 200, + "height": 200, + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "filters": [ + { + "type": "peak", + "freq": "freq1", + "q": "q1", + "gain": "gain1", + "on": 1 + } + ], + "rangeY": { + "min": -20, + "max": 20 + }, + "origin": "auto", + "logScaleX": false, + "smooth": false, + "address": "/eq_1", + "preArgs": [], + "resolution": 128 + }, + { + "type": "visualizer", + "top": 10, + "left": 430, + "id": "visualizer_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "viz_fad", + "duration": 1, + "range": { + "min": 0, + "max": 1 + }, + "origin": "auto", + "logScale": false, + "smooth": false, + "pips": true, + "value": "", + "address": "/visualizer_1", + "preArgs": [] + }, + { + "type": "led", + "top": 220, + "left": 10, + "id": "led_1", + "width": 80, + "height": 90, + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "led_fad", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "value": "", + "preArgs": [], + "address": "/led_1" + }, + { + "type": "rgbled", + "top": 220, + "left": 100, + "id": "rgbled_1", + "width": 80, + "height": 90, + "label": "auto", + "css": "", + "widgetId": "led_rgb", + "value": "", + "preArgs": [], + "address": "/rgbled_1" + }, + { + "type": "meter", + "top": 220, + "left": 190, + "id": "meter_1", + "width": 70, + "height": 160, + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "led_fad", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "origin": "auto", + "unit": "", + "alignRight": false, + "horizontal": false, + "pips": false, + "dashed": false, + "value": "", + "address": "/meter_1", + "preArgs": [], + "compact": true, + "input": false + }, + { + "type": "image", + "top": 220, + "left": 460, + "id": "image_1", + "width": 170, + "height": 80, + "label": "auto", + "css": "", + "size": "cover", + "position": "center", + "repeat": "no-repeat", + "border": true, + "cache": true, + "value": "", + "preArgs": [], + "address": "/image_1" + }, + { + "type": "meter", + "top": 220, + "left": 270, + "id": "meter_2", + "width": 180, + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "led_fad", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "origin": "auto", + "unit": "", + "alignRight": false, + "horizontal": true, + "pips": false, + "dashed": false, + "value": "", + "address": "/meter_2", + "preArgs": [], + "compact": true, + "input": false + }, + { + "type": "text", + "top": 320, + "left": 10, + "id": "text_1", + "width": 170, + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "text_input", + "vertical": false, + "value": "", + "preArgs": [], + "address": "/text_1" + }, + { + "type": "panel", + "top": 400, + "left": 50, + "id": "panel_1", + "width": 550, + "height": 250, + "label": "Controls", + "color": "auto", + "css": "", + "scroll": true, + "border": true, + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/panel_1", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "strip", + "top": 0, + "left": 0, + "id": "strip_1", + "label": "PLOT", + "width": 90, + "height": "auto", + "color": "auto", + "css": "", + "scroll": true, + "horizontal": false, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "strip", + "id": "strip_2", + "label": false, + "height": 80, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "x1", + "linkId": "", + "width": "auto", + "label": "x", + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": 0, + "precision": 2, + "address": "/knob_5", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "id": "y1", + "width": "auto", + "label": "y", + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "strip", + "id": "strip_3", + "label": false, + "height": 50, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "x2", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": 0.5, + "precision": 2, + "address": "/knob_5", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + }, + { + "type": "knob", + "id": "y2", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "strip", + "id": "strip_4", + "label": false, + "height": 50, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "x3", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": 1, + "precision": 2, + "address": "/knob_5", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + }, + { + "type": "knob", + "id": "y3", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "strip", + "top": 10, + "left": 100, + "id": "strip_5", + "label": "Eq", + "width": 210, + "height": 130, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "freq1", + "linkId": "", + "width": 70, + "label": "Freq", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 20, + "max": 22000 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "id": "q1", + "width": 70, + "label": "Q", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0.25, + "max": 8 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + }, + { + "type": "knob", + "id": "gain1", + "width": 70, + "label": "Gain", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": -20, + "max": 20 + }, + "logScale": false, + "unit": "", + "origin": 0, + "value": 0, + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "fader", + "top": 10, + "left": 360, + "id": "led_fad", + "linkId": "", + "width": 30, + "height": 190, + "label": false, + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": false, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_7", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "rgb", + "top": 10, + "left": 410, + "id": "led_rgb", + "linkId": "", + "width": 110, + "height": 180, + "label": "auto", + "css": "", + "input": true, + "snap": false, + "spring": false, + "value": "", + "precision": 0, + "address": "/rgb_2", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [], + "pointSize": 10 + }, + { + "type": "fader", + "top": 10, + "left": 320, + "id": "viz_fad", + "linkId": "", + "width": 30, + "height": 190, + "label": false, + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": false, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_7", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "input", + "top": 150, + "left": 100, + "id": "text_input", + "linkId": "", + "width": 210, + "height": 60, + "label": "Text", + "color": "auto", + "css": "", + "vertical": false, + "unit": "", + "widgetId": "", + "editable": true, + "value": "", + "precision": 2, + "address": "/input_1", + "preArgs": [], + "target": [] + } + ], + "tabs": [] + } + ], + "tabs": [], + "scroll": true + } + ], + "color": "auto", + "css": "", + "value": "", + "precision": 0, + "address": "/root", + "preArgs": [], + "target": [], + "variables": {}, + "id": "root", + "scroll": true, + "label": false + } +] \ No newline at end of file From 8b0f271419393d3067e45a872065341ea76cc9db Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 16:48:56 +0100 Subject: [PATCH 0112/5759] examples: add a more complete widget showcase --- app/examples/widgets.json | 1813 +++++++++++++++++++++++++++++++++++++ 1 file changed, 1813 insertions(+) create mode 100644 app/examples/widgets.json diff --git a/app/examples/widgets.json b/app/examples/widgets.json new file mode 100644 index 00000000..6f52f1b9 --- /dev/null +++ b/app/examples/widgets.json @@ -0,0 +1,1813 @@ +[ + { + "type": "root", + "tabs": [ + { + "type": "tab", + "id": "tab_1", + "label": "Sliders", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_1", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "fader", + "top": 0, + "left": 0, + "id": "fader_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": false, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_1", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 100, + "id": "fader_2", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": true, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_2", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 200, + "id": "fader_3", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_3", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "top": 300, + "left": 0, + "id": "knob_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_1", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 300, + "id": "fader_4", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_4", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "top": 300, + "left": 100, + "id": "knob_2", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_2", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "top": 300, + "left": 200, + "id": "knob_3", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_3", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "encoder", + "top": 300, + "left": 300, + "id": "encoder_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "ticks": 360, + "back": -1, + "forth": 1, + "release": "", + "snap": false, + "doubleTap": false, + "precision": 2, + "address": "/encoder_1", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "fader", + "top": 0, + "left": 410, + "id": "fader_5", + "linkId": "", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_5", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "range", + "top": 180, + "left": 410, + "id": "range_1", + "linkId": "", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "input": true, + "compact": false, + "pips": true, + "snap": false, + "spring": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "value": "", + "precision": 2, + "address": "/range_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "range", + "top": 270, + "left": 410, + "id": "range_2", + "linkId": "", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "input": true, + "compact": true, + "pips": true, + "snap": false, + "spring": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "value": "", + "precision": 2, + "address": "/range_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "fader", + "top": 90, + "left": 410, + "id": "fader_6", + "width": "auto", + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_6", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_2", + "label": "Buttons", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_2", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "toggle", + "top": 10, + "left": 10, + "id": "toggle_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "doubleTap": false, + "led": false, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/toggle_1", + "preArgs": [], + "target": [] + }, + { + "type": "push", + "top": 10, + "left": 120, + "id": "push_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "on": 1, + "off": 0, + "norelease": false, + "precision": 2, + "address": "/push_1", + "preArgs": [], + "target": [] + }, + { + "type": "switch", + "top": 150, + "left": 10, + "id": "switch_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "values": { + "Value 1": 1, + "Value 2": 2 + }, + "value": "", + "precision": 2, + "address": "/switch_1", + "preArgs": [], + "target": [] + }, + { + "type": "dropdown", + "top": 10, + "left": 230, + "id": "dropdown_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "values": { + "Value 1": 1, + "Value 2": 2 + }, + "value": "", + "precision": 2, + "address": "/dropdown_1", + "preArgs": [], + "target": [] + }, + { + "type": "toggle", + "top": 80, + "left": 10, + "id": "toggle_2", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "doubleTap": false, + "led": true, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/toggle_2", + "preArgs": [], + "target": [] + }, + { + "type": "switch", + "top": 80, + "left": 120, + "id": "switch_2", + "width": 210, + "height": 60, + "label": "auto", + "color": "auto", + "css": "", + "horizontal": true, + "values": { + "Value 1": 1, + "Value 2": 2 + }, + "value": "", + "precision": 2, + "address": "/switch_2", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_3", + "label": "Pads", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_3", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "xy", + "top": 10, + "left": 10, + "id": "xy_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "input": true, + "pips": true, + "pointSize": 20, + "snap": false, + "spring": false, + "doubleTap": false, + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "logScaleX": false, + "logScaleY": false, + "value": "", + "precision": 2, + "address": "/xy_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "rgb", + "top": 10, + "left": 220, + "id": "rgb_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "css": "", + "input": true, + "snap": false, + "spring": false, + "value": "", + "precision": 0, + "address": "/rgb_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [], + "pointSize": 10 + }, + { + "type": "multixy", + "top": 250, + "left": 10, + "id": "multixy_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "points": 2, + "pointSize": 20, + "snap": false, + "spring": false, + "pips": true, + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "logScaleX": false, + "logScaleY": false, + "value": "", + "precision": 2, + "address": "/multixy_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [] + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_4", + "label": "Matrices", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_4", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "multifader", + "top": 10, + "left": 10, + "id": "multifader_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": false, + "pips": false, + "input": true, + "compact": false, + "dashed": false, + "precision": 2, + "address": "/multifader_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multifader", + "top": 10, + "left": 220, + "id": "multifader_2", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": false, + "pips": false, + "input": true, + "compact": true, + "dashed": false, + "precision": 2, + "address": "/multifader_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multifader", + "top": 10, + "left": 430, + "id": "multifader_3", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": true, + "pips": false, + "input": true, + "compact": false, + "dashed": false, + "precision": 2, + "address": "/multifader_3", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multitoggle", + "top": 220, + "left": 10, + "id": "multitoggle_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "led": false, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/multitoggle_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multitoggle", + "top": 220, + "left": 220, + "id": "multitoggle_2", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "led": true, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/multitoggle_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multitoggle", + "top": 220, + "left": 430, + "id": "multitoggle_3", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 10, + "traversing": true, + "led": false, + "on": 1, + "off": 0, + "value": "", + "precision": 2, + "address": "/multitoggle_3", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multipush", + "top": 430, + "left": 10, + "id": "multipush_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/multipush_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multipush", + "top": 430, + "left": 220, + "id": "multipush_2", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 0, + "traversing": true, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/multipush_2", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multipush", + "top": 430, + "left": 430, + "id": "multipush_3", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "matrix": [ + 2, + 2 + ], + "start": 0, + "spacing": 10, + "traversing": true, + "on": 1, + "off": 0, + "norelease": false, + "value": "", + "precision": 2, + "address": "/multipush_3", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "keyboard", + "top": 640, + "left": 10, + "id": "keyboard_1", + "width": 620, + "height": 100, + "label": "auto", + "color": "auto", + "css": "margin-bottom:10rem", + "keys": 64, + "start": 36, + "traversing": true, + "on": 1, + "off": 0, + "precision": 2, + "address": "/keyboard_1", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "multifader", + "top": 10, + "left": 640, + "id": "multifader_4", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "strips": 2, + "start": 0, + "traversing": true, + "value": "", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "snap": true, + "meter": false, + "alignRight": false, + "horizontal": true, + "pips": false, + "input": true, + "compact": true, + "dashed": false, + "precision": 2, + "address": "/multifader_4", + "preArgs": [], + "split": false, + "target": [] + } + ], + "tabs": [], + "scroll": true + }, + { + "type": "tab", + "id": "tab_5", + "label": "Plots", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_5", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "plot", + "top": 10, + "left": 10, + "id": "plot_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "origin": "auto", + "logScaleX": false, + "logScaleY": false, + "smooth": false, + "pips": true, + "address": "/plot_1", + "preArgs": [], + "points": [ + [ + "x1", + "y1" + ], + [ + "x2", + "y2" + ], + [ + "x3", + "y3" + ] + ] + }, + { + "type": "eq", + "top": 10, + "left": 220, + "id": "eq_1", + "width": 200, + "height": 200, + "label": "auto", + "color": "auto", + "css": "", + "pips": true, + "filters": [ + { + "type": "peak", + "freq": "freq1", + "q": "q1", + "gain": "gain1", + "on": 1 + } + ], + "rangeY": { + "min": -20, + "max": 20 + }, + "origin": "auto", + "logScaleX": false, + "smooth": false, + "address": "/eq_1", + "preArgs": [], + "resolution": 128 + }, + { + "type": "visualizer", + "top": 10, + "left": 430, + "id": "visualizer_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "viz_fad", + "duration": 1, + "range": { + "min": 0, + "max": 1 + }, + "origin": "auto", + "logScale": false, + "smooth": false, + "pips": true, + "value": "", + "address": "/visualizer_1", + "preArgs": [] + }, + { + "type": "led", + "top": 220, + "left": 10, + "id": "led_1", + "width": 80, + "height": 90, + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "led_fad", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "value": "", + "preArgs": [], + "address": "/led_1" + }, + { + "type": "rgbled", + "top": 220, + "left": 100, + "id": "rgbled_1", + "width": 80, + "height": 90, + "label": "auto", + "css": "", + "widgetId": "led_rgb", + "value": "", + "preArgs": [], + "address": "/rgbled_1" + }, + { + "type": "meter", + "top": 220, + "left": 190, + "id": "meter_1", + "width": 70, + "height": 160, + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "led_fad", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "origin": "auto", + "unit": "", + "alignRight": false, + "horizontal": false, + "pips": false, + "dashed": false, + "value": "", + "address": "/meter_1", + "preArgs": [], + "compact": true, + "input": false + }, + { + "type": "image", + "top": 220, + "left": 460, + "id": "image_1", + "width": 170, + "height": 80, + "label": "auto", + "css": "", + "size": "cover", + "position": "center", + "repeat": "no-repeat", + "border": true, + "cache": true, + "value": "", + "preArgs": [], + "address": "/image_1" + }, + { + "type": "meter", + "top": 220, + "left": 270, + "id": "meter_2", + "width": 180, + "height": 80, + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "led_fad", + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "origin": "auto", + "unit": "", + "alignRight": false, + "horizontal": true, + "pips": false, + "dashed": false, + "value": "", + "address": "/meter_2", + "preArgs": [], + "compact": true, + "input": false + }, + { + "type": "text", + "top": 320, + "left": 10, + "id": "text_1", + "width": 170, + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "widgetId": "text_input", + "vertical": false, + "value": "", + "preArgs": [], + "address": "/text_1" + }, + { + "type": "panel", + "top": 400, + "left": 50, + "id": "panel_1", + "width": 550, + "height": 250, + "label": "Controls", + "color": "auto", + "css": "", + "scroll": true, + "border": true, + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/panel_1", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "strip", + "top": 0, + "left": 0, + "id": "strip_1", + "label": "PLOT", + "width": 90, + "height": "auto", + "color": "auto", + "css": "", + "scroll": true, + "horizontal": false, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "strip", + "id": "strip_2", + "label": false, + "height": 80, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "x1", + "linkId": "", + "width": "auto", + "label": "x", + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": 0, + "precision": 2, + "address": "/knob_5", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "id": "y1", + "width": "auto", + "label": "y", + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "strip", + "id": "strip_3", + "label": false, + "height": 50, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "x2", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": 0.5, + "precision": 2, + "address": "/knob_5", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + }, + { + "type": "knob", + "id": "y2", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "strip", + "id": "strip_4", + "label": false, + "height": 50, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "x3", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": 1, + "precision": 2, + "address": "/knob_5", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + }, + { + "type": "knob", + "id": "y3", + "width": "auto", + "label": false, + "color": "auto", + "css": "", + "pips": true, + "input": false, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "strip", + "top": 10, + "left": 100, + "id": "strip_5", + "label": "Eq", + "width": 210, + "height": 130, + "color": "auto", + "css": "", + "scroll": true, + "horizontal": true, + "stretch": false, + "border": true, + "spacing": 0, + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "knob", + "id": "freq1", + "linkId": "", + "width": 70, + "label": "Freq", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 20, + "max": 22000 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "knob", + "id": "q1", + "width": 70, + "label": "Q", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0.25, + "max": 8 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + }, + { + "type": "knob", + "id": "gain1", + "width": 70, + "label": "Gain", + "color": "auto", + "css": "", + "pips": true, + "input": true, + "dashed": false, + "angle": 270, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": -20, + "max": 20 + }, + "logScale": false, + "unit": "", + "origin": 0, + "value": 0, + "precision": 2, + "address": "/knob_6", + "touchAddress": "", + "preArgs": [], + "target": [], + "linkId": "" + } + ], + "_style": "style", + "_children": "children", + "_geometry": "geometry", + "_panel": "panel", + "layout": "", + "value": "", + "_osc": "osc", + "precision": 0, + "address": "auto", + "preArgs": [], + "target": [], + "tabs": [] + }, + { + "type": "fader", + "top": 10, + "left": 360, + "id": "led_fad", + "linkId": "", + "width": 30, + "height": 190, + "label": false, + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": false, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_7", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "rgb", + "top": 10, + "left": 410, + "id": "led_rgb", + "linkId": "", + "width": 110, + "height": 180, + "label": "auto", + "css": "", + "input": true, + "snap": false, + "spring": false, + "value": "", + "precision": 0, + "address": "/rgb_2", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [], + "pointSize": 10 + }, + { + "type": "fader", + "top": 10, + "left": 320, + "id": "viz_fad", + "linkId": "", + "width": 30, + "height": 190, + "label": false, + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": false, + "input": true, + "meter": false, + "compact": true, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_7", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "input", + "top": 150, + "left": 100, + "id": "text_input", + "linkId": "", + "width": 210, + "height": 60, + "label": "Text", + "color": "auto", + "css": "", + "vertical": false, + "unit": "", + "widgetId": "", + "editable": true, + "value": "", + "precision": 2, + "address": "/input_1", + "preArgs": [], + "target": [] + } + ], + "tabs": [] + } + ], + "tabs": [], + "scroll": true + } + ], + "color": "auto", + "css": "", + "value": "", + "precision": 0, + "address": "/root", + "preArgs": [], + "target": [], + "variables": {}, + "id": "root", + "scroll": true, + "label": false + } +] \ No newline at end of file From 8953c74ef2b37fc63410cb31a317ae3df84533fd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 20:28:09 +0100 Subject: [PATCH 0113/5759] range: set init value to range min/max --- src/browser/js/app/widgets/sliders/range.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 73df1238..f9cd97ee 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -359,6 +359,11 @@ module.exports = class Range extends _widgets_base { } + this.setValue([ + this.faders[0].rangeValsMin, + this.faders[1].rangeValsMax + ]) + } setValue(v, options={}) { From 0c12dfe6fde83b675ef92973bba3e6ab52cd8821 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 20:28:09 +0100 Subject: [PATCH 0114/5759] range: set init value to range min/max --- src/browser/js/app/widgets/sliders/range.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 73df1238..f9cd97ee 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -359,6 +359,11 @@ module.exports = class Range extends _widgets_base { } + this.setValue([ + this.faders[0].rangeValsMin, + this.faders[1].rangeValsMax + ]) + } setValue(v, options={}) { From c97d29acb5e4366a72e5f63a2eb750cdd9e3a2d7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 21:51:53 +0100 Subject: [PATCH 0115/5759] range: fix relative dragging error outside of range boundaries --- src/browser/js/app/widgets/sliders/range.js | 323 +++++++++++--------- 1 file changed, 172 insertions(+), 151 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index f9cd97ee..72daccc6 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -1,9 +1,175 @@ -var _widgets_base = require('../common/_widgets_base'), - Fader = require('../pads/_fake_fader'), +var {clip} = require('../utils'), + _widgets_base = require('../common/_widgets_base'), + Fader = require('./fader'), Input = require('../inputs/input') var faderDefaults = Fader.defaults() +var RangeFader = class RangeFader extends Fader { + + constructor(options) { + + super(options) + this.cancelDraw = options.cancelDraw + + } + + sendValue() {} + + draginitHandle() { + + this.percent = clip(this.percent,[ + this.valueToPercent(this.rangeValsMin), + this.valueToPercent(this.rangeValsMax) + ]) + + super.draginitHandle(...arguments) + } + + draw() { + + if (this.cancelDraw || !this.parent.faders) return + + var width = this.getProp('horizontal') ? this.height : this.width, + height = !this.getProp('horizontal') ? this.height : this.width + + var d = Math.round(this.percentToCoord(this.valueToPercent(this.parent.faders[this.getProp('horizontal')?0:1].value))), + d2 = Math.round(this.percentToCoord(this.valueToPercent(this.parent.faders[this.getProp('horizontal')?1:0].value))), + m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) + + var dashed = this.getProp('dashed') + + this.clear() + + if (this.getProp('compact')) { + + this.ctx.globalAlpha = (dashed ? .3 : .2) + 0.2 * Math.abs(d-d2) / height + this.ctx.strokeStyle = this.colors.gauge + this.ctx.beginPath() + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + this.ctx.lineWidth = width + 2 * PXSCALE + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + this.ctx.beginPath() + this.ctx.fillStyle = this.colors.knob + this.ctx.rect(0, Math.min(d, height - PXSCALE), width, PXSCALE) + this.ctx.rect(0, Math.min(d2, height - PXSCALE), width, PXSCALE) + this.ctx.fill() + + this.clearRect = [0, 0, width, height] + + } else { + + this.ctx.lineWidth = 6 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.light + this.ctx.moveTo(m, this.margin * PXSCALE - 2 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 2 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 4 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.bg + this.ctx.moveTo(m, this.margin * PXSCALE - 1 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 1 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 2 * PXSCALE + + this.ctx.beginPath() + this.ctx.strokeStyle = this.colors.track + this.ctx.moveTo(m, this.margin * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE) + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.globalAlpha = 0.7 + this.ctx.strokeStyle = this.colors.gauge + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + + // high knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d - 14 * PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // low knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d2 - PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // high knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d - 12.5 * PXSCALE, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.light + this.ctx.fill() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + // low knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d2, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d2, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d2, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + + + this.clearRect = [width / 2 - 11 * PXSCALE, 0, 22 * PXSCALE, height] + } + } + +} + + module.exports = class Range extends _widgets_base { static defaults() { @@ -69,9 +235,8 @@ module.exports = class Range extends _widgets_base { this.wrapper = this.widget.find('.wrapper') this.faders = [ - new Fader({props:{ + new RangeFader({props:{ ...faderDefaults, - id:0, compact:this.getProp('compact'), pips:false, alignRight:false, @@ -86,10 +251,9 @@ module.exports = class Range extends _widgets_base { precision:this.precision, logScale:this.getProp('logScale'), input:false - }, cancelDraw: true}), - new Fader({props:{ + }, cancelDraw: true, parent: this}), + new RangeFader({props:{ ...faderDefaults, - id:1, compact:this.getProp('compact'), pips:this.getProp('pips'), alignRight:this.getProp('alignRight'), @@ -104,11 +268,9 @@ module.exports = class Range extends _widgets_base { precision:this.precision, logScale:this.getProp('logScale'), input:false - }, cancelDraw: true}) + }, cancelDraw: false, parent: this}) ] - - this.wrapper.append(this.faders[0].widget) this.wrapper.append(this.faders[1].widget) @@ -218,147 +380,6 @@ module.exports = class Range extends _widgets_base { this.widget.addClass('has-pips') } - var _this = this - this.faders[1].draw = function() { - - var width = this.getProp('horizontal') ? this.height : this.width, - height = !this.getProp('horizontal') ? this.height : this.width - - var d = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?0:1].value))), - d2 = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?1:0].value))), - m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) - - var dashed = this.getProp('dashed') - - this.clear() - - if (this.getProp('compact')) { - - this.ctx.globalAlpha = (dashed ? .3 : .2) + 0.2 * Math.abs(d-d2) / height - this.ctx.strokeStyle = this.colors.gauge - this.ctx.beginPath() - this.ctx.moveTo(m, d2) - this.ctx.lineTo(m, d) - this.ctx.lineWidth = width + 2 * PXSCALE - if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) - this.ctx.stroke() - if (dashed) this.ctx.setLineDash([]) - - this.ctx.globalAlpha = 1 - this.ctx.beginPath() - this.ctx.fillStyle = this.colors.knob - this.ctx.rect(0, Math.min(d, height - PXSCALE), width, PXSCALE) - this.ctx.rect(0, Math.min(d2, height - PXSCALE), width, PXSCALE) - this.ctx.fill() - - this.clearRect = [0, 0, width, height] - - } else { - - this.ctx.lineWidth = 6 * PXSCALE - - this.ctx.beginPath() - this.ctx.globalAlpha = 1 - this.ctx.strokeStyle = this.colors.light - this.ctx.moveTo(m, this.margin * PXSCALE - 2 * PXSCALE) - this.ctx.lineTo(m, height - this.margin * PXSCALE + 2 * PXSCALE) - this.ctx.stroke() - - this.ctx.lineWidth = 4 * PXSCALE - - this.ctx.beginPath() - this.ctx.globalAlpha = 1 - this.ctx.strokeStyle = this.colors.bg - this.ctx.moveTo(m, this.margin * PXSCALE - 1 * PXSCALE) - this.ctx.lineTo(m, height - this.margin * PXSCALE + 1 * PXSCALE) - this.ctx.stroke() - - this.ctx.lineWidth = 2 * PXSCALE - - this.ctx.beginPath() - this.ctx.strokeStyle = this.colors.track - this.ctx.moveTo(m, this.margin * PXSCALE) - this.ctx.lineTo(m, height - this.margin * PXSCALE) - this.ctx.stroke() - - this.ctx.beginPath() - this.ctx.globalAlpha = 0.7 - this.ctx.strokeStyle = this.colors.gauge - this.ctx.moveTo(m, d2) - this.ctx.lineTo(m, d) - if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) - this.ctx.stroke() - if (dashed) this.ctx.setLineDash([]) - - this.ctx.globalAlpha = 1 - - // high knob bg - - this.ctx.beginPath() - this.ctx.rect(m - 9 * PXSCALE, d - 14 * PXSCALE, 18 * PXSCALE, 16 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.fillStyle = this.colors.bg - this.ctx.fill() - - // low knob bg - - this.ctx.beginPath() - this.ctx.rect(m - 9 * PXSCALE, d2 - PXSCALE, 18 * PXSCALE, 16 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.fillStyle = this.colors.bg - this.ctx.fill() - - // high knob - - this.ctx.beginPath() - this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, 14 * PXSCALE) - this.ctx.fillStyle = this.colors.raised - this.ctx.fill() - this.ctx.lineWidth = PXSCALE - - this.ctx.beginPath() - this.ctx.rect(m - 7.5 * PXSCALE, d - 12.5 * PXSCALE, 15 * PXSCALE, 13.5 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.strokeStyle = this.colors.light - this.ctx.stroke() - - this.ctx.beginPath() - this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.fillStyle = this.colors.light - this.ctx.fill() - - this.ctx.beginPath() - this.ctx.rect(m - 4 * PXSCALE, d, 8 * PXSCALE, PXSCALE) - this.ctx.fillStyle = this.colors.knob - this.ctx.fill() - - // low knob - - this.ctx.beginPath() - this.ctx.rect(m - 8 * PXSCALE, d2, 16 * PXSCALE, 14 * PXSCALE) - this.ctx.fillStyle = this.colors.raised - this.ctx.fill() - this.ctx.lineWidth = PXSCALE - - this.ctx.beginPath() - this.ctx.rect(m - 7.5 * PXSCALE, d2, 15 * PXSCALE, 13.5 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.strokeStyle = this.colors.light - this.ctx.stroke() - - this.ctx.beginPath() - this.ctx.rect(m - 4 * PXSCALE, d2, 8 * PXSCALE, PXSCALE) - this.ctx.fillStyle = this.colors.knob - this.ctx.fill() - - - - this.clearRect = [width / 2 - 11 * PXSCALE, 0, 22 * PXSCALE, height] - } - - } - this.setValue([ this.faders[0].rangeValsMin, this.faders[1].rangeValsMax From caf412f16b3f7ca66abc46cf4153b7b20fe954e1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Dec 2017 21:51:53 +0100 Subject: [PATCH 0116/5759] range: fix relative dragging error outside of range boundaries --- src/browser/js/app/widgets/sliders/range.js | 323 +++++++++++--------- 1 file changed, 172 insertions(+), 151 deletions(-) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index f9cd97ee..72daccc6 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -1,9 +1,175 @@ -var _widgets_base = require('../common/_widgets_base'), - Fader = require('../pads/_fake_fader'), +var {clip} = require('../utils'), + _widgets_base = require('../common/_widgets_base'), + Fader = require('./fader'), Input = require('../inputs/input') var faderDefaults = Fader.defaults() +var RangeFader = class RangeFader extends Fader { + + constructor(options) { + + super(options) + this.cancelDraw = options.cancelDraw + + } + + sendValue() {} + + draginitHandle() { + + this.percent = clip(this.percent,[ + this.valueToPercent(this.rangeValsMin), + this.valueToPercent(this.rangeValsMax) + ]) + + super.draginitHandle(...arguments) + } + + draw() { + + if (this.cancelDraw || !this.parent.faders) return + + var width = this.getProp('horizontal') ? this.height : this.width, + height = !this.getProp('horizontal') ? this.height : this.width + + var d = Math.round(this.percentToCoord(this.valueToPercent(this.parent.faders[this.getProp('horizontal')?0:1].value))), + d2 = Math.round(this.percentToCoord(this.valueToPercent(this.parent.faders[this.getProp('horizontal')?1:0].value))), + m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) + + var dashed = this.getProp('dashed') + + this.clear() + + if (this.getProp('compact')) { + + this.ctx.globalAlpha = (dashed ? .3 : .2) + 0.2 * Math.abs(d-d2) / height + this.ctx.strokeStyle = this.colors.gauge + this.ctx.beginPath() + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + this.ctx.lineWidth = width + 2 * PXSCALE + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + this.ctx.beginPath() + this.ctx.fillStyle = this.colors.knob + this.ctx.rect(0, Math.min(d, height - PXSCALE), width, PXSCALE) + this.ctx.rect(0, Math.min(d2, height - PXSCALE), width, PXSCALE) + this.ctx.fill() + + this.clearRect = [0, 0, width, height] + + } else { + + this.ctx.lineWidth = 6 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.light + this.ctx.moveTo(m, this.margin * PXSCALE - 2 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 2 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 4 * PXSCALE + + this.ctx.beginPath() + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.colors.bg + this.ctx.moveTo(m, this.margin * PXSCALE - 1 * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE + 1 * PXSCALE) + this.ctx.stroke() + + this.ctx.lineWidth = 2 * PXSCALE + + this.ctx.beginPath() + this.ctx.strokeStyle = this.colors.track + this.ctx.moveTo(m, this.margin * PXSCALE) + this.ctx.lineTo(m, height - this.margin * PXSCALE) + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.globalAlpha = 0.7 + this.ctx.strokeStyle = this.colors.gauge + this.ctx.moveTo(m, d2) + this.ctx.lineTo(m, d) + if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + this.ctx.stroke() + if (dashed) this.ctx.setLineDash([]) + + this.ctx.globalAlpha = 1 + + // high knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d - 14 * PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // low knob bg + + this.ctx.beginPath() + this.ctx.rect(m - 9 * PXSCALE, d2 - PXSCALE, 18 * PXSCALE, 16 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.bg + this.ctx.fill() + + // high knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d - 12.5 * PXSCALE, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.colors.light + this.ctx.fill() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + // low knob + + this.ctx.beginPath() + this.ctx.rect(m - 8 * PXSCALE, d2, 16 * PXSCALE, 14 * PXSCALE) + this.ctx.fillStyle = this.colors.raised + this.ctx.fill() + this.ctx.lineWidth = PXSCALE + + this.ctx.beginPath() + this.ctx.rect(m - 7.5 * PXSCALE, d2, 15 * PXSCALE, 13.5 * PXSCALE) + this.ctx.lineWidth = PXSCALE + this.ctx.strokeStyle = this.colors.light + this.ctx.stroke() + + this.ctx.beginPath() + this.ctx.rect(m - 4 * PXSCALE, d2, 8 * PXSCALE, PXSCALE) + this.ctx.fillStyle = this.colors.knob + this.ctx.fill() + + + + this.clearRect = [width / 2 - 11 * PXSCALE, 0, 22 * PXSCALE, height] + } + } + +} + + module.exports = class Range extends _widgets_base { static defaults() { @@ -69,9 +235,8 @@ module.exports = class Range extends _widgets_base { this.wrapper = this.widget.find('.wrapper') this.faders = [ - new Fader({props:{ + new RangeFader({props:{ ...faderDefaults, - id:0, compact:this.getProp('compact'), pips:false, alignRight:false, @@ -86,10 +251,9 @@ module.exports = class Range extends _widgets_base { precision:this.precision, logScale:this.getProp('logScale'), input:false - }, cancelDraw: true}), - new Fader({props:{ + }, cancelDraw: true, parent: this}), + new RangeFader({props:{ ...faderDefaults, - id:1, compact:this.getProp('compact'), pips:this.getProp('pips'), alignRight:this.getProp('alignRight'), @@ -104,11 +268,9 @@ module.exports = class Range extends _widgets_base { precision:this.precision, logScale:this.getProp('logScale'), input:false - }, cancelDraw: true}) + }, cancelDraw: false, parent: this}) ] - - this.wrapper.append(this.faders[0].widget) this.wrapper.append(this.faders[1].widget) @@ -218,147 +380,6 @@ module.exports = class Range extends _widgets_base { this.widget.addClass('has-pips') } - var _this = this - this.faders[1].draw = function() { - - var width = this.getProp('horizontal') ? this.height : this.width, - height = !this.getProp('horizontal') ? this.height : this.width - - var d = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?0:1].value))), - d2 = Math.round(this.percentToCoord(this.valueToPercent(_this.faders[this.getProp('horizontal')?1:0].value))), - m = Math.round(this.getProp('horizontal') ? this.height / 2 : this.width / 2) - - var dashed = this.getProp('dashed') - - this.clear() - - if (this.getProp('compact')) { - - this.ctx.globalAlpha = (dashed ? .3 : .2) + 0.2 * Math.abs(d-d2) / height - this.ctx.strokeStyle = this.colors.gauge - this.ctx.beginPath() - this.ctx.moveTo(m, d2) - this.ctx.lineTo(m, d) - this.ctx.lineWidth = width + 2 * PXSCALE - if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) - this.ctx.stroke() - if (dashed) this.ctx.setLineDash([]) - - this.ctx.globalAlpha = 1 - this.ctx.beginPath() - this.ctx.fillStyle = this.colors.knob - this.ctx.rect(0, Math.min(d, height - PXSCALE), width, PXSCALE) - this.ctx.rect(0, Math.min(d2, height - PXSCALE), width, PXSCALE) - this.ctx.fill() - - this.clearRect = [0, 0, width, height] - - } else { - - this.ctx.lineWidth = 6 * PXSCALE - - this.ctx.beginPath() - this.ctx.globalAlpha = 1 - this.ctx.strokeStyle = this.colors.light - this.ctx.moveTo(m, this.margin * PXSCALE - 2 * PXSCALE) - this.ctx.lineTo(m, height - this.margin * PXSCALE + 2 * PXSCALE) - this.ctx.stroke() - - this.ctx.lineWidth = 4 * PXSCALE - - this.ctx.beginPath() - this.ctx.globalAlpha = 1 - this.ctx.strokeStyle = this.colors.bg - this.ctx.moveTo(m, this.margin * PXSCALE - 1 * PXSCALE) - this.ctx.lineTo(m, height - this.margin * PXSCALE + 1 * PXSCALE) - this.ctx.stroke() - - this.ctx.lineWidth = 2 * PXSCALE - - this.ctx.beginPath() - this.ctx.strokeStyle = this.colors.track - this.ctx.moveTo(m, this.margin * PXSCALE) - this.ctx.lineTo(m, height - this.margin * PXSCALE) - this.ctx.stroke() - - this.ctx.beginPath() - this.ctx.globalAlpha = 0.7 - this.ctx.strokeStyle = this.colors.gauge - this.ctx.moveTo(m, d2) - this.ctx.lineTo(m, d) - if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) - this.ctx.stroke() - if (dashed) this.ctx.setLineDash([]) - - this.ctx.globalAlpha = 1 - - // high knob bg - - this.ctx.beginPath() - this.ctx.rect(m - 9 * PXSCALE, d - 14 * PXSCALE, 18 * PXSCALE, 16 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.fillStyle = this.colors.bg - this.ctx.fill() - - // low knob bg - - this.ctx.beginPath() - this.ctx.rect(m - 9 * PXSCALE, d2 - PXSCALE, 18 * PXSCALE, 16 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.fillStyle = this.colors.bg - this.ctx.fill() - - // high knob - - this.ctx.beginPath() - this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, 14 * PXSCALE) - this.ctx.fillStyle = this.colors.raised - this.ctx.fill() - this.ctx.lineWidth = PXSCALE - - this.ctx.beginPath() - this.ctx.rect(m - 7.5 * PXSCALE, d - 12.5 * PXSCALE, 15 * PXSCALE, 13.5 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.strokeStyle = this.colors.light - this.ctx.stroke() - - this.ctx.beginPath() - this.ctx.rect(m - 8 * PXSCALE, d - 13 * PXSCALE, 16 * PXSCALE, PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.fillStyle = this.colors.light - this.ctx.fill() - - this.ctx.beginPath() - this.ctx.rect(m - 4 * PXSCALE, d, 8 * PXSCALE, PXSCALE) - this.ctx.fillStyle = this.colors.knob - this.ctx.fill() - - // low knob - - this.ctx.beginPath() - this.ctx.rect(m - 8 * PXSCALE, d2, 16 * PXSCALE, 14 * PXSCALE) - this.ctx.fillStyle = this.colors.raised - this.ctx.fill() - this.ctx.lineWidth = PXSCALE - - this.ctx.beginPath() - this.ctx.rect(m - 7.5 * PXSCALE, d2, 15 * PXSCALE, 13.5 * PXSCALE) - this.ctx.lineWidth = PXSCALE - this.ctx.strokeStyle = this.colors.light - this.ctx.stroke() - - this.ctx.beginPath() - this.ctx.rect(m - 4 * PXSCALE, d2, 8 * PXSCALE, PXSCALE) - this.ctx.fillStyle = this.colors.knob - this.ctx.fill() - - - - this.clearRect = [width / 2 - 11 * PXSCALE, 0, 22 * PXSCALE, height] - } - - } - this.setValue([ this.faders[0].rangeValsMin, this.faders[1].rangeValsMax From e88a0d937b47bcaf8108b3f67ec7c1ab7d2fdeb8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 10:22:54 +0100 Subject: [PATCH 0117/5759] server/osc: allow overriding all osc props, fix /GET for widgets without address/target (issue #120) --- app/main/callbacks.js | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 151b0a4e..7dd43aa5 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -151,19 +151,13 @@ module.exports = { var value = shortdata.v, data = widgetHashTable[clientId][shortdata.h] - data.args = data.preArgs.concat(value) - - var cloned + data = JSON.parse(JSON.stringify(data)) for (var k in shortdata) { - if (!cloned) { - data = JSON.parse(JSON.stringify(data)) - cloned = true - } - if (data[k]) { - data[k] = shortdata[k] - } + data[k] = shortdata[k] } + data.args = data.preArgs ? data.preArgs.concat(value) : [value] + clients[clientId].broadcast.emit('receiveOsc', data) }, @@ -175,18 +169,12 @@ module.exports = { var value = shortdata.v, data = widgetHashTable[clientId][shortdata.h] - var cloned + data = JSON.parse(JSON.stringify(data)) for (var k in shortdata) { - if (!cloned) { - data = JSON.parse(JSON.stringify(data)) - cloned = true - } - if (data[k]) { - data[k] = shortdata[k] - } + data[k] = shortdata[k] } - data.args = data.preArgs.concat(value) + data.args = data.preArgs ? data.preArgs.concat(value) : [value] if (!data.target || data.target.indexOf(null) == -1) { From 8cdf821926c75175a1ce568d1ce1e662102211f7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 10:22:54 +0100 Subject: [PATCH 0118/5759] server/osc: allow overriding all osc props, fix /GET for widgets without address/target (issue #120) --- app/main/callbacks.js | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/app/main/callbacks.js b/app/main/callbacks.js index 151b0a4e..7dd43aa5 100644 --- a/app/main/callbacks.js +++ b/app/main/callbacks.js @@ -151,19 +151,13 @@ module.exports = { var value = shortdata.v, data = widgetHashTable[clientId][shortdata.h] - data.args = data.preArgs.concat(value) - - var cloned + data = JSON.parse(JSON.stringify(data)) for (var k in shortdata) { - if (!cloned) { - data = JSON.parse(JSON.stringify(data)) - cloned = true - } - if (data[k]) { - data[k] = shortdata[k] - } + data[k] = shortdata[k] } + data.args = data.preArgs ? data.preArgs.concat(value) : [value] + clients[clientId].broadcast.emit('receiveOsc', data) }, @@ -175,18 +169,12 @@ module.exports = { var value = shortdata.v, data = widgetHashTable[clientId][shortdata.h] - var cloned + data = JSON.parse(JSON.stringify(data)) for (var k in shortdata) { - if (!cloned) { - data = JSON.parse(JSON.stringify(data)) - cloned = true - } - if (data[k]) { - data[k] = shortdata[k] - } + data[k] = shortdata[k] } - data.args = data.preArgs.concat(value) + data.args = data.preArgs ? data.preArgs.concat(value) : [value] if (!data.target || data.target.indexOf(null) == -1) { From c086b82146bc8b6b584f82f380c0e78ff0941e57 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 13:47:50 +0100 Subject: [PATCH 0119/5759] led: set inner shadow border radius to inherit --- src/browser/scss/widgets/_plots.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index 9a43064b..a25c9791 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -17,7 +17,6 @@ background: var(--color-led); border-radius: inherit; opacity: var(--opacity); - border-radius: 2rem; box-shadow: inset 0 0 10rem var(--color-track); } @extend .glass-effect; From d66277866a20f8e7d59f92d1afa7aeabc8d99e2d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 13:47:50 +0100 Subject: [PATCH 0120/5759] led: set inner shadow border radius to inherit --- src/browser/scss/widgets/_plots.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index 9a43064b..a25c9791 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -17,7 +17,6 @@ background: var(--color-led); border-radius: inherit; opacity: var(--opacity); - border-radius: 2rem; box-shadow: inset 0 0 10rem var(--color-track); } @extend .glass-effect; From 16d3915da84433ed44f4c5cd1c67aae53f515bbd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 14:12:09 +0100 Subject: [PATCH 0121/5759] log: typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dc7d8de..1763ef87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ - sliders: **new** `range` widget - plots: **new** `image` widget - remote control - - **removed** deprecated `/EXEX` + - **removed** deprecated `/EXEC` - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - added `/EDIT/GET` (get a widget's data) - added `/GET` (get a widget's value) From e733f3e5566159625acd760d57e16836f3a846d0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 14:12:09 +0100 Subject: [PATCH 0122/5759] log: typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dc7d8de..1763ef87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ - sliders: **new** `range` widget - plots: **new** `image` widget - remote control - - **removed** deprecated `/EXEX` + - **removed** deprecated `/EXEC` - renamed `/EDIT_SOFT` to `/EDIT/MERGE` - added `/EDIT/GET` (get a widget's data) - added `/GET` (get a widget's value) From 61531aa365b80a63f61a8cf431601f0b1b31f064 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 14:12:43 +0100 Subject: [PATCH 0123/5759] package: O.22.0 --- app/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index bd2706b0..04368c47 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "A libre desktop OSC bi-directionnal control surface application.", - "version": "0.21.3", + "version": "0.22.0", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" diff --git a/package.json b/package.json index 542c439b..7e2d963b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "open-stage-control-builder", "description": "[Builder package] A libre desktop OSC bi-directionnal control surface application", - "version": "0.21.3", + "version": "0.22.0", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" From b4d361f28ad70ce14ca6bdfc7309a39d4afc89b2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 14:12:43 +0100 Subject: [PATCH 0124/5759] package: O.22.0 --- app/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index bd2706b0..04368c47 100644 --- a/app/package.json +++ b/app/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "A libre desktop OSC bi-directionnal control surface application.", - "version": "0.21.3", + "version": "0.22.0", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" diff --git a/package.json b/package.json index 542c439b..7e2d963b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "open-stage-control-builder", "description": "[Builder package] A libre desktop OSC bi-directionnal control surface application", - "version": "0.21.3", + "version": "0.22.0", "author": { "name": "Jean-Emmanuel Doucet / AMMD", "email": "jeannot@ammd.net" From 097999650b12e9cc05efa803822032bfc809f036 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 14:38:43 +0100 Subject: [PATCH 0125/5759] travis: remove arm64 build until electron stable provides it --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15ebcf6e..dfdec16a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,13 +34,13 @@ before_deploy: - mv open-stage-control-linux-ia32 open-stage-control-${VERSION}-linux-ia32 - mv open-stage-control-linux-x64 open-stage-control-${VERSION}-linux-x64 - mv open-stage-control-linux-armv7l open-stage-control-${VERSION}-linux-armv7l - - mv open-stage-control-linux-arm64 open-stage-control-${VERSION}-linux-arm64 + # - mv open-stage-control-linux-arm64 open-stage-control-${VERSION}-linux-arm64 - zip -q -r --symlinks packages/open-stage-control-${VERSION}-osx.zip open-stage-control-darwin-x64/open-stage-control.app - zip -q -r packages/open-stage-control-${VERSION}-win32-ia32.zip open-stage-control-${VERSION}-win32-ia32 - zip -q -r packages/open-stage-control-${VERSION}-win32-x64.zip open-stage-control-${VERSION}-win32-x64 - zip -q -r packages/open-stage-control-${VERSION}-linux-ia32.zip open-stage-control-${VERSION}-linux-ia32 - zip -q -r packages/open-stage-control-${VERSION}-linux-x64.zip open-stage-control-${VERSION}-linux-x64 - zip -q -r packages/open-stage-control-${VERSION}-linux-armv7l.zip open-stage-control-${VERSION}-linux-armv7l - - zip -q -r packages/open-stage-control-${VERSION}-linux-arm64.zip open-stage-control-${VERSION}-linux-arm64 + # - zip -q -r packages/open-stage-control-${VERSION}-linux-arm64.zip open-stage-control-${VERSION}-linux-arm64 - ls packages - cd .. From e8420446527c41da1dc93bac61c958b246f38a1a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 28 Dec 2017 14:38:43 +0100 Subject: [PATCH 0126/5759] travis: remove arm64 build until electron stable provides it --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15ebcf6e..dfdec16a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,13 +34,13 @@ before_deploy: - mv open-stage-control-linux-ia32 open-stage-control-${VERSION}-linux-ia32 - mv open-stage-control-linux-x64 open-stage-control-${VERSION}-linux-x64 - mv open-stage-control-linux-armv7l open-stage-control-${VERSION}-linux-armv7l - - mv open-stage-control-linux-arm64 open-stage-control-${VERSION}-linux-arm64 + # - mv open-stage-control-linux-arm64 open-stage-control-${VERSION}-linux-arm64 - zip -q -r --symlinks packages/open-stage-control-${VERSION}-osx.zip open-stage-control-darwin-x64/open-stage-control.app - zip -q -r packages/open-stage-control-${VERSION}-win32-ia32.zip open-stage-control-${VERSION}-win32-ia32 - zip -q -r packages/open-stage-control-${VERSION}-win32-x64.zip open-stage-control-${VERSION}-win32-x64 - zip -q -r packages/open-stage-control-${VERSION}-linux-ia32.zip open-stage-control-${VERSION}-linux-ia32 - zip -q -r packages/open-stage-control-${VERSION}-linux-x64.zip open-stage-control-${VERSION}-linux-x64 - zip -q -r packages/open-stage-control-${VERSION}-linux-armv7l.zip open-stage-control-${VERSION}-linux-armv7l - - zip -q -r packages/open-stage-control-${VERSION}-linux-arm64.zip open-stage-control-${VERSION}-linux-arm64 + # - zip -q -r packages/open-stage-control-${VERSION}-linux-arm64.zip open-stage-control-${VERSION}-linux-arm64 - ls packages - cd .. From d86fd1f3d0f2391ad8be394ce01f37b89212e3c2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 30 Dec 2017 11:30:03 +0100 Subject: [PATCH 0127/5759] package: get source-map from npm, don't include it in sources --- package.json | 1 + src/browser/js/app/sourcemap.js | 2 +- src/browser/js/libs/source-map.min.js | 4 ---- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 src/browser/js/libs/source-map.min.js diff --git a/package.json b/package.json index 7e2d963b..f9b18aaf 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "screenfull": "3.3.2", "shortid": "2.2.8", "socket.io-client": "2.0.4", + "source-map": "^0.6.1", "uglifyify": "4.0.5" }, "optionalDependencies": { diff --git a/src/browser/js/app/sourcemap.js b/src/browser/js/app/sourcemap.js index 23504f85..515499dd 100644 --- a/src/browser/js/app/sourcemap.js +++ b/src/browser/js/app/sourcemap.js @@ -1,4 +1,4 @@ -var sourceMap = require('../libs/source-map.min.js'), +var sourceMap = require('source-map'), request = new XMLHttpRequest(), ipc = require('./ipc/') diff --git a/src/browser/js/libs/source-map.min.js b/src/browser/js/libs/source-map.min.js deleted file mode 100644 index 2e9876d8..00000000 --- a/src/browser/js/libs/source-map.min.js +++ /dev/null @@ -1,4 +0,0 @@ -// source-map -// Copyright (c) 2009-2011, Mozilla Foundation and contributors -// All rights reserved. -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sourceMap=n():e.sourceMap=n()}(this,function(){return function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={exports:{},id:t,loaded:!1};return e[t].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=e,n.c=r,n.p="",n(0)}([function(e,n,r){n.SourceMapGenerator=r(1).SourceMapGenerator,n.SourceMapConsumer=r(7).SourceMapConsumer,n.SourceNode=r(10).SourceNode},function(e,n,r){function t(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new a,this._sourcesContents=null}var o=r(2),i=r(4),s=r(5).ArraySet,a=r(6).MappingList;t.prototype._version=3,t.fromSourceMap=function(e){var n=e.sourceRoot,r=new t({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=n&&(t.source=i.relative(n,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),r.addMapping(t)}),e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&r.setSourceContent(n,t)}),r},t.prototype.addMapping=function(e){var n=i.getArg(e,"generated"),r=i.getArg(e,"original",null),t=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,t,o),null!=t&&(t=String(t),this._sources.has(t)||this._sources.add(t)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:t,name:o})},t.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},t.prototype.applySourceMap=function(e,n,r){var t=n;if(null==n){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');t=e.file}var o=this._sourceRoot;null!=o&&(t=i.relative(o,t));var a=new s,u=new s;this._mappings.unsortedForEach(function(n){if(n.source===t&&null!=n.originalLine){var s=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=s.source&&(n.source=s.source,null!=r&&(n.source=i.join(r,n.source)),null!=o&&(n.source=i.relative(o,n.source)),n.originalLine=s.line,n.originalColumn=s.column,null!=s.name&&(n.name=s.name))}var l=n.source;null==l||a.has(l)||a.add(l);var c=n.name;null==c||u.has(c)||u.add(c)},this),this._sources=a,this._names=u,e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&(null!=r&&(n=i.join(r,n)),null!=o&&(n=i.relative(o,n)),this.setSourceContent(n,t))},this)},t.prototype._validateMapping=function(e,n,r,t){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||n||r||t)&&!(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:n,name:t}))},t.prototype._serializeMappings=function(){for(var e,n,r,t,s=0,a=1,u=0,l=0,c=0,g=0,p="",h=this._mappings.toArray(),f=0,d=h.length;d>f;f++){if(n=h[f],e="",n.generatedLine!==a)for(s=0;n.generatedLine!==a;)e+=";",a++;else if(f>0){if(!i.compareByGeneratedPositionsInflated(n,h[f-1]))continue;e+=","}e+=o.encode(n.generatedColumn-s),s=n.generatedColumn,null!=n.source&&(t=this._sources.indexOf(n.source),e+=o.encode(t-g),g=t,e+=o.encode(n.originalLine-1-l),l=n.originalLine-1,e+=o.encode(n.originalColumn-u),u=n.originalColumn,null!=n.name&&(r=this._names.indexOf(n.name),e+=o.encode(r-c),c=r)),p+=e}return p},t.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=i.relative(n,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},t.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},t.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=t},function(e,n,r){function t(e){return 0>e?(-e<<1)+1:(e<<1)+0}function o(e){var n=1===(1&e),r=e>>1;return n?-r:r}var i=r(3),s=5,a=1<>>=s,o>0&&(n|=l),r+=i.encode(n);while(o>0);return r},n.decode=function(e,n,r){var t,a,c=e.length,g=0,p=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(a=i.decode(e.charCodeAt(n++)),-1===a)throw new Error("Invalid base64 digit: "+e.charAt(n-1));t=!!(a&l),a&=u,g+=a<=0&&e=n&&r>=e?e-n:e>=t&&o>=e?e-t+l:e>=i&&s>=e?e-i+c:e==a?62:e==u?63:-1}},function(e,n){function r(e,n,r){if(n in e)return e[n];if(3===arguments.length)return r;throw new Error('"'+n+'" is a required argument.')}function t(e){var n=e.match(m);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function o(e){var n="";return e.scheme&&(n+=e.scheme+":"),n+="//",e.auth&&(n+=e.auth+"@"),e.host&&(n+=e.host),e.port&&(n+=":"+e.port),e.path&&(n+=e.path),n}function i(e){var r=e,i=t(e);if(i){if(!i.path)return e;r=i.path}for(var s,a=n.isAbsolute(r),u=r.split(/\/+/),l=0,c=u.length-1;c>=0;c--)s=u[c],"."===s?u.splice(c,1):".."===s?l++:l>0&&(""===s?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return r=u.join("/"),""===r&&(r=a?"/":"."),i?(i.path=r,o(i)):r}function s(e,n){""===e&&(e="."),""===n&&(n=".");var r=t(n),s=t(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),o(r);if(r||n.match(_))return n;if(s&&!s.host&&!s.path)return s.host=n,o(s);var a="/"===n.charAt(0)?n:i(e.replace(/\/+$/,"")+"/"+n);return s?(s.path=a,o(s)):a}function a(e,n){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==n.indexOf(e+"/");){var t=e.lastIndexOf("/");if(0>t)return n;if(e=e.slice(0,t),e.match(/^([^\/]+:\/)?\/*$/))return n;++r}return Array(r+1).join("../")+n.substr(e.length+1)}function u(e){return e}function l(e){return g(e)?"$"+e:e}function c(e){return g(e)?e.slice(1):e}function g(e){if(!e)return!1;var n=e.length;if(9>n)return!1;if(95!==e.charCodeAt(n-1)||95!==e.charCodeAt(n-2)||111!==e.charCodeAt(n-3)||116!==e.charCodeAt(n-4)||111!==e.charCodeAt(n-5)||114!==e.charCodeAt(n-6)||112!==e.charCodeAt(n-7)||95!==e.charCodeAt(n-8)||95!==e.charCodeAt(n-9))return!1;for(var r=n-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,n,r){var t=e.source-n.source;return 0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t||r?t:(t=e.generatedColumn-n.generatedColumn,0!==t?t:(t=e.generatedLine-n.generatedLine,0!==t?t:e.name-n.name))))}function h(e,n,r){var t=e.generatedLine-n.generatedLine;return 0!==t?t:(t=e.generatedColumn-n.generatedColumn,0!==t||r?t:(t=e.source-n.source,0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t?t:e.name-n.name))))}function f(e,n){return e===n?0:e>n?1:-1}function d(e,n){var r=e.generatedLine-n.generatedLine;return 0!==r?r:(r=e.generatedColumn-n.generatedColumn,0!==r?r:(r=f(e.source,n.source),0!==r?r:(r=e.originalLine-n.originalLine,0!==r?r:(r=e.originalColumn-n.originalColumn,0!==r?r:f(e.name,n.name)))))}n.getArg=r;var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,_=/^data:.+\,.+$/;n.urlParse=t,n.urlGenerate=o,n.normalize=i,n.join=s,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(m)},n.relative=a;var v=function(){var e=Object.create(null);return!("__proto__"in e)}();n.toSetString=v?u:l,n.fromSetString=v?u:c,n.compareByOriginalPositions=p,n.compareByGeneratedPositionsDeflated=h,n.compareByGeneratedPositionsInflated=d},function(e,n,r){function t(){this._array=[],this._set=Object.create(null)}var o=r(4),i=Object.prototype.hasOwnProperty;t.fromArray=function(e,n){for(var r=new t,o=0,i=e.length;i>o;o++)r.add(e[o],n);return r},t.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},t.prototype.add=function(e,n){var r=o.toSetString(e),t=i.call(this._set,r),s=this._array.length;(!t||n)&&this._array.push(e),t||(this._set[r]=s)},t.prototype.has=function(e){var n=o.toSetString(e);return i.call(this._set,n)},t.prototype.indexOf=function(e){var n=o.toSetString(e);if(i.call(this._set,n))return this._set[n];throw new Error('"'+e+'" is not in the set.')},t.prototype.at=function(e){if(e>=0&&er||t==r&&s>=o||i.compareByGeneratedPositionsInflated(e,n)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=r(4);o.prototype.unsortedForEach=function(e,n){this._array.forEach(e,n)},o.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},function(e,n,r){function t(e){var n=e;return"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=n.sections?new s(n):new o(n)}function o(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),t=a.getArg(n,"sources"),o=a.getArg(n,"names",[]),i=a.getArg(n,"sourceRoot",null),s=a.getArg(n,"sourcesContent",null),u=a.getArg(n,"mappings"),c=a.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);t=t.map(String).map(a.normalize).map(function(e){return i&&a.isAbsolute(i)&&a.isAbsolute(e)?a.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(t,!0),this.sourceRoot=i,this.sourcesContent=s,this._mappings=u,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function s(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),o=a.getArg(n,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=a.getArg(e,"offset"),r=a.getArg(n,"line"),o=a.getArg(n,"column");if(r=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===n&&i.originalColumn==l;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return t},n.SourceMapConsumer=t,o.prototype=Object.create(t.prototype),o.prototype.consumer=t,o.fromSourceMap=function(e){var n=Object.create(o.prototype),r=n._names=l.fromArray(e._names.toArray(),!0),t=n._sources=l.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file;for(var s=e._mappings.toArray().slice(),u=n.__generatedMappings=[],c=n.__originalMappings=[],p=0,h=s.length;h>p;p++){var f=s[p],d=new i;d.generatedLine=f.generatedLine,d.generatedColumn=f.generatedColumn,f.source&&(d.source=t.indexOf(f.source),d.originalLine=f.originalLine,d.originalColumn=f.originalColumn,f.name&&(d.name=r.indexOf(f.name)),c.push(d)),u.push(d)}return g(n.__originalMappings,a.compareByOriginalPositions),n},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?a.join(this.sourceRoot,e):e},this)}}),o.prototype._parseMappings=function(e,n){for(var r,t,o,s,u,l=1,p=0,h=0,f=0,d=0,m=0,_=e.length,v=0,C={},y={},A=[],S=[];_>v;)if(";"===e.charAt(v))l++,v++,p=0;else if(","===e.charAt(v))v++;else{for(r=new i,r.generatedLine=l,s=v;_>s&&!this._charIsMappingSeparator(e,s);s++);if(t=e.slice(v,s),o=C[t])v+=t.length;else{for(o=[];s>v;)c.decode(e,v,y),u=y.value,v=y.rest,o.push(u);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");C[t]=o}r.generatedColumn=p+o[0],p=r.generatedColumn,o.length>1&&(r.source=d+o[1],d+=o[1],r.originalLine=h+o[2],h=r.originalLine,r.originalLine+=1,r.originalColumn=f+o[3],f=r.originalColumn,o.length>4&&(r.name=m+o[4],m+=o[4])),S.push(r),"number"==typeof r.originalLine&&A.push(r)}g(S,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,g(A,a.compareByOriginalPositions),this.__originalMappings=A},o.prototype._findMapping=function(e,n,r,t,o,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[t]);return u.search(e,n,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var i=a.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=a.join(this.sourceRoot,i)));var s=a.getArg(o,"name",null);return null!==s&&(s=this._names.at(s)),{source:i,line:a.getArg(o,"originalLine",null),column:a.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}):!1},o.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=a.urlParse(this.sourceRoot))){var t=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var n=a.getArg(e,"source");if(null!=this.sourceRoot&&(n=a.relative(this.sourceRoot,n)),!this._sources.has(n))return{line:null,column:null,lastColumn:null};n=this._sources.indexOf(n);var r={source:n,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",t.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===r.source)return{line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,s.prototype=Object.create(t.prototype),s.prototype.constructor=t,s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){for(var e=[],n=0;n0?t-u>1?r(u,t,o,i,s,a):a==n.LEAST_UPPER_BOUND?t1?r(e,u,o,i,s,a):a==n.LEAST_UPPER_BOUND?u:0>e?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var s=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(0>s)return-1;for(;s-1>=0&&0===o(t[s],t[s-1],!0);)--s;return s}},function(e,n){function r(e,n,r){var t=e[n];e[n]=e[r],e[r]=t}function t(e,n){return Math.round(e+Math.random()*(n-e))}function o(e,n,i,s){if(s>i){var a=t(i,s),u=i-1;r(e,a,s);for(var l=e[s],c=i;s>c;c++)n(e[c],l)<=0&&(u+=1,r(e,u,c));r(e,u+1,c);var g=u+1;o(e,n,i,g-1),o(e,n,g+1,s)}}n.quickSort=function(e,n){o(e,n,0,e.length-1)}},function(e,n,r){function t(e,n,r,t,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==n?null:n,this.source=null==r?null:r,this.name=null==o?null:o,this[u]=!0,null!=t&&this.add(t)}var o=r(1).SourceMapGenerator,i=r(4),s=/(\r?\n)/,a=10,u="$$$isSourceNode$$$";t.fromStringWithSourceMap=function(e,n,r){function o(e,n){if(null===e||void 0===e.source)a.add(n);else{var o=r?i.join(r,e.source):e.source;a.add(new t(e.originalLine,e.originalColumn,o,n,e.name))}}var a=new t,u=e.split(s),l=function(){var e=u.shift(),n=u.shift()||"";return e+n},c=1,g=0,p=null;return n.eachMapping(function(e){if(null!==p){if(!(c0&&(p&&o(p,l()),a.add(u.join(""))),n.sources.forEach(function(e){var t=n.sourceContentFor(e);null!=t&&(null!=r&&(e=i.join(r,e)),a.setSourceContent(e,t))}),a},t.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},t.prototype.prepend=function(e){if(Array.isArray(e))for(var n=e.length-1;n>=0;n--)this.prepend(e[n]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},t.prototype.walk=function(e){for(var n,r=0,t=this.children.length;t>r;r++)n=this.children[r],n[u]?n.walk(e):""!==n&&e(n,{source:this.source,line:this.line,column:this.column,name:this.name})},t.prototype.join=function(e){var n,r,t=this.children.length;if(t>0){for(n=[],r=0;t-1>r;r++)n.push(this.children[r]),n.push(e);n.push(this.children[r]),this.children=n}return this},t.prototype.replaceRight=function(e,n){var r=this.children[this.children.length-1];return r[u]?r.replaceRight(e,n):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,n):this.children.push("".replace(e,n)),this},t.prototype.setSourceContent=function(e,n){this.sourceContents[i.toSetString(e)]=n},t.prototype.walkSourceContents=function(e){for(var n=0,r=this.children.length;r>n;n++)this.children[n][u]&&this.children[n].walkSourceContents(e);for(var t=Object.keys(this.sourceContents),n=0,r=t.length;r>n;n++)e(i.fromSetString(t[n]),this.sourceContents[t[n]])},t.prototype.toString=function(){var e="";return this.walk(function(n){e+=n}),e},t.prototype.toStringWithSourceMap=function(e){var n={code:"",line:1,column:0},r=new o(e),t=!1,i=null,s=null,u=null,l=null;return this.walk(function(e,o){n.code+=e,null!==o.source&&null!==o.line&&null!==o.column?((i!==o.source||s!==o.line||u!==o.column||l!==o.name)&&r.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:n.line,column:n.column},name:o.name}),i=o.source,s=o.line,u=o.column,l=o.name,t=!0):t&&(r.addMapping({generated:{line:n.line,column:n.column}}),i=null,t=!1);for(var c=0,g=e.length;g>c;c++)e.charCodeAt(c)===a?(n.line++,n.column=0,c+1===g?(i=null,t=!1):t&&r.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:n.line,column:n.column},name:o.name})):n.column++}),this.walkSourceContents(function(e,n){r.setSourceContent(e,n)}),{code:n.code,map:r}},n.SourceNode=t}])}); From 050988b6d169d4cc8aa35fd757215a4d188b8d53 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 30 Dec 2017 11:30:03 +0100 Subject: [PATCH 0128/5759] package: get source-map from npm, don't include it in sources --- package.json | 1 + src/browser/js/app/sourcemap.js | 2 +- src/browser/js/libs/source-map.min.js | 4 ---- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 src/browser/js/libs/source-map.min.js diff --git a/package.json b/package.json index 7e2d963b..f9b18aaf 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "screenfull": "3.3.2", "shortid": "2.2.8", "socket.io-client": "2.0.4", + "source-map": "^0.6.1", "uglifyify": "4.0.5" }, "optionalDependencies": { diff --git a/src/browser/js/app/sourcemap.js b/src/browser/js/app/sourcemap.js index 23504f85..515499dd 100644 --- a/src/browser/js/app/sourcemap.js +++ b/src/browser/js/app/sourcemap.js @@ -1,4 +1,4 @@ -var sourceMap = require('../libs/source-map.min.js'), +var sourceMap = require('source-map'), request = new XMLHttpRequest(), ipc = require('./ipc/') diff --git a/src/browser/js/libs/source-map.min.js b/src/browser/js/libs/source-map.min.js deleted file mode 100644 index 2e9876d8..00000000 --- a/src/browser/js/libs/source-map.min.js +++ /dev/null @@ -1,4 +0,0 @@ -// source-map -// Copyright (c) 2009-2011, Mozilla Foundation and contributors -// All rights reserved. -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sourceMap=n():e.sourceMap=n()}(this,function(){return function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={exports:{},id:t,loaded:!1};return e[t].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=e,n.c=r,n.p="",n(0)}([function(e,n,r){n.SourceMapGenerator=r(1).SourceMapGenerator,n.SourceMapConsumer=r(7).SourceMapConsumer,n.SourceNode=r(10).SourceNode},function(e,n,r){function t(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new a,this._sourcesContents=null}var o=r(2),i=r(4),s=r(5).ArraySet,a=r(6).MappingList;t.prototype._version=3,t.fromSourceMap=function(e){var n=e.sourceRoot,r=new t({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=n&&(t.source=i.relative(n,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),r.addMapping(t)}),e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&r.setSourceContent(n,t)}),r},t.prototype.addMapping=function(e){var n=i.getArg(e,"generated"),r=i.getArg(e,"original",null),t=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,t,o),null!=t&&(t=String(t),this._sources.has(t)||this._sources.add(t)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:t,name:o})},t.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},t.prototype.applySourceMap=function(e,n,r){var t=n;if(null==n){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');t=e.file}var o=this._sourceRoot;null!=o&&(t=i.relative(o,t));var a=new s,u=new s;this._mappings.unsortedForEach(function(n){if(n.source===t&&null!=n.originalLine){var s=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=s.source&&(n.source=s.source,null!=r&&(n.source=i.join(r,n.source)),null!=o&&(n.source=i.relative(o,n.source)),n.originalLine=s.line,n.originalColumn=s.column,null!=s.name&&(n.name=s.name))}var l=n.source;null==l||a.has(l)||a.add(l);var c=n.name;null==c||u.has(c)||u.add(c)},this),this._sources=a,this._names=u,e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&(null!=r&&(n=i.join(r,n)),null!=o&&(n=i.relative(o,n)),this.setSourceContent(n,t))},this)},t.prototype._validateMapping=function(e,n,r,t){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||n||r||t)&&!(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:n,name:t}))},t.prototype._serializeMappings=function(){for(var e,n,r,t,s=0,a=1,u=0,l=0,c=0,g=0,p="",h=this._mappings.toArray(),f=0,d=h.length;d>f;f++){if(n=h[f],e="",n.generatedLine!==a)for(s=0;n.generatedLine!==a;)e+=";",a++;else if(f>0){if(!i.compareByGeneratedPositionsInflated(n,h[f-1]))continue;e+=","}e+=o.encode(n.generatedColumn-s),s=n.generatedColumn,null!=n.source&&(t=this._sources.indexOf(n.source),e+=o.encode(t-g),g=t,e+=o.encode(n.originalLine-1-l),l=n.originalLine-1,e+=o.encode(n.originalColumn-u),u=n.originalColumn,null!=n.name&&(r=this._names.indexOf(n.name),e+=o.encode(r-c),c=r)),p+=e}return p},t.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=i.relative(n,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},t.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},t.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=t},function(e,n,r){function t(e){return 0>e?(-e<<1)+1:(e<<1)+0}function o(e){var n=1===(1&e),r=e>>1;return n?-r:r}var i=r(3),s=5,a=1<>>=s,o>0&&(n|=l),r+=i.encode(n);while(o>0);return r},n.decode=function(e,n,r){var t,a,c=e.length,g=0,p=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(a=i.decode(e.charCodeAt(n++)),-1===a)throw new Error("Invalid base64 digit: "+e.charAt(n-1));t=!!(a&l),a&=u,g+=a<=0&&e=n&&r>=e?e-n:e>=t&&o>=e?e-t+l:e>=i&&s>=e?e-i+c:e==a?62:e==u?63:-1}},function(e,n){function r(e,n,r){if(n in e)return e[n];if(3===arguments.length)return r;throw new Error('"'+n+'" is a required argument.')}function t(e){var n=e.match(m);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function o(e){var n="";return e.scheme&&(n+=e.scheme+":"),n+="//",e.auth&&(n+=e.auth+"@"),e.host&&(n+=e.host),e.port&&(n+=":"+e.port),e.path&&(n+=e.path),n}function i(e){var r=e,i=t(e);if(i){if(!i.path)return e;r=i.path}for(var s,a=n.isAbsolute(r),u=r.split(/\/+/),l=0,c=u.length-1;c>=0;c--)s=u[c],"."===s?u.splice(c,1):".."===s?l++:l>0&&(""===s?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return r=u.join("/"),""===r&&(r=a?"/":"."),i?(i.path=r,o(i)):r}function s(e,n){""===e&&(e="."),""===n&&(n=".");var r=t(n),s=t(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),o(r);if(r||n.match(_))return n;if(s&&!s.host&&!s.path)return s.host=n,o(s);var a="/"===n.charAt(0)?n:i(e.replace(/\/+$/,"")+"/"+n);return s?(s.path=a,o(s)):a}function a(e,n){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==n.indexOf(e+"/");){var t=e.lastIndexOf("/");if(0>t)return n;if(e=e.slice(0,t),e.match(/^([^\/]+:\/)?\/*$/))return n;++r}return Array(r+1).join("../")+n.substr(e.length+1)}function u(e){return e}function l(e){return g(e)?"$"+e:e}function c(e){return g(e)?e.slice(1):e}function g(e){if(!e)return!1;var n=e.length;if(9>n)return!1;if(95!==e.charCodeAt(n-1)||95!==e.charCodeAt(n-2)||111!==e.charCodeAt(n-3)||116!==e.charCodeAt(n-4)||111!==e.charCodeAt(n-5)||114!==e.charCodeAt(n-6)||112!==e.charCodeAt(n-7)||95!==e.charCodeAt(n-8)||95!==e.charCodeAt(n-9))return!1;for(var r=n-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,n,r){var t=e.source-n.source;return 0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t||r?t:(t=e.generatedColumn-n.generatedColumn,0!==t?t:(t=e.generatedLine-n.generatedLine,0!==t?t:e.name-n.name))))}function h(e,n,r){var t=e.generatedLine-n.generatedLine;return 0!==t?t:(t=e.generatedColumn-n.generatedColumn,0!==t||r?t:(t=e.source-n.source,0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t?t:e.name-n.name))))}function f(e,n){return e===n?0:e>n?1:-1}function d(e,n){var r=e.generatedLine-n.generatedLine;return 0!==r?r:(r=e.generatedColumn-n.generatedColumn,0!==r?r:(r=f(e.source,n.source),0!==r?r:(r=e.originalLine-n.originalLine,0!==r?r:(r=e.originalColumn-n.originalColumn,0!==r?r:f(e.name,n.name)))))}n.getArg=r;var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,_=/^data:.+\,.+$/;n.urlParse=t,n.urlGenerate=o,n.normalize=i,n.join=s,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(m)},n.relative=a;var v=function(){var e=Object.create(null);return!("__proto__"in e)}();n.toSetString=v?u:l,n.fromSetString=v?u:c,n.compareByOriginalPositions=p,n.compareByGeneratedPositionsDeflated=h,n.compareByGeneratedPositionsInflated=d},function(e,n,r){function t(){this._array=[],this._set=Object.create(null)}var o=r(4),i=Object.prototype.hasOwnProperty;t.fromArray=function(e,n){for(var r=new t,o=0,i=e.length;i>o;o++)r.add(e[o],n);return r},t.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},t.prototype.add=function(e,n){var r=o.toSetString(e),t=i.call(this._set,r),s=this._array.length;(!t||n)&&this._array.push(e),t||(this._set[r]=s)},t.prototype.has=function(e){var n=o.toSetString(e);return i.call(this._set,n)},t.prototype.indexOf=function(e){var n=o.toSetString(e);if(i.call(this._set,n))return this._set[n];throw new Error('"'+e+'" is not in the set.')},t.prototype.at=function(e){if(e>=0&&er||t==r&&s>=o||i.compareByGeneratedPositionsInflated(e,n)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=r(4);o.prototype.unsortedForEach=function(e,n){this._array.forEach(e,n)},o.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},function(e,n,r){function t(e){var n=e;return"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=n.sections?new s(n):new o(n)}function o(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),t=a.getArg(n,"sources"),o=a.getArg(n,"names",[]),i=a.getArg(n,"sourceRoot",null),s=a.getArg(n,"sourcesContent",null),u=a.getArg(n,"mappings"),c=a.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);t=t.map(String).map(a.normalize).map(function(e){return i&&a.isAbsolute(i)&&a.isAbsolute(e)?a.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(t,!0),this.sourceRoot=i,this.sourcesContent=s,this._mappings=u,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function s(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),o=a.getArg(n,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=a.getArg(e,"offset"),r=a.getArg(n,"line"),o=a.getArg(n,"column");if(r=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===n&&i.originalColumn==l;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return t},n.SourceMapConsumer=t,o.prototype=Object.create(t.prototype),o.prototype.consumer=t,o.fromSourceMap=function(e){var n=Object.create(o.prototype),r=n._names=l.fromArray(e._names.toArray(),!0),t=n._sources=l.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file;for(var s=e._mappings.toArray().slice(),u=n.__generatedMappings=[],c=n.__originalMappings=[],p=0,h=s.length;h>p;p++){var f=s[p],d=new i;d.generatedLine=f.generatedLine,d.generatedColumn=f.generatedColumn,f.source&&(d.source=t.indexOf(f.source),d.originalLine=f.originalLine,d.originalColumn=f.originalColumn,f.name&&(d.name=r.indexOf(f.name)),c.push(d)),u.push(d)}return g(n.__originalMappings,a.compareByOriginalPositions),n},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?a.join(this.sourceRoot,e):e},this)}}),o.prototype._parseMappings=function(e,n){for(var r,t,o,s,u,l=1,p=0,h=0,f=0,d=0,m=0,_=e.length,v=0,C={},y={},A=[],S=[];_>v;)if(";"===e.charAt(v))l++,v++,p=0;else if(","===e.charAt(v))v++;else{for(r=new i,r.generatedLine=l,s=v;_>s&&!this._charIsMappingSeparator(e,s);s++);if(t=e.slice(v,s),o=C[t])v+=t.length;else{for(o=[];s>v;)c.decode(e,v,y),u=y.value,v=y.rest,o.push(u);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");C[t]=o}r.generatedColumn=p+o[0],p=r.generatedColumn,o.length>1&&(r.source=d+o[1],d+=o[1],r.originalLine=h+o[2],h=r.originalLine,r.originalLine+=1,r.originalColumn=f+o[3],f=r.originalColumn,o.length>4&&(r.name=m+o[4],m+=o[4])),S.push(r),"number"==typeof r.originalLine&&A.push(r)}g(S,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,g(A,a.compareByOriginalPositions),this.__originalMappings=A},o.prototype._findMapping=function(e,n,r,t,o,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[t]);return u.search(e,n,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var i=a.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=a.join(this.sourceRoot,i)));var s=a.getArg(o,"name",null);return null!==s&&(s=this._names.at(s)),{source:i,line:a.getArg(o,"originalLine",null),column:a.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}):!1},o.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=a.urlParse(this.sourceRoot))){var t=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var n=a.getArg(e,"source");if(null!=this.sourceRoot&&(n=a.relative(this.sourceRoot,n)),!this._sources.has(n))return{line:null,column:null,lastColumn:null};n=this._sources.indexOf(n);var r={source:n,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",t.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===r.source)return{line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,s.prototype=Object.create(t.prototype),s.prototype.constructor=t,s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){for(var e=[],n=0;n0?t-u>1?r(u,t,o,i,s,a):a==n.LEAST_UPPER_BOUND?t1?r(e,u,o,i,s,a):a==n.LEAST_UPPER_BOUND?u:0>e?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var s=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(0>s)return-1;for(;s-1>=0&&0===o(t[s],t[s-1],!0);)--s;return s}},function(e,n){function r(e,n,r){var t=e[n];e[n]=e[r],e[r]=t}function t(e,n){return Math.round(e+Math.random()*(n-e))}function o(e,n,i,s){if(s>i){var a=t(i,s),u=i-1;r(e,a,s);for(var l=e[s],c=i;s>c;c++)n(e[c],l)<=0&&(u+=1,r(e,u,c));r(e,u+1,c);var g=u+1;o(e,n,i,g-1),o(e,n,g+1,s)}}n.quickSort=function(e,n){o(e,n,0,e.length-1)}},function(e,n,r){function t(e,n,r,t,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==n?null:n,this.source=null==r?null:r,this.name=null==o?null:o,this[u]=!0,null!=t&&this.add(t)}var o=r(1).SourceMapGenerator,i=r(4),s=/(\r?\n)/,a=10,u="$$$isSourceNode$$$";t.fromStringWithSourceMap=function(e,n,r){function o(e,n){if(null===e||void 0===e.source)a.add(n);else{var o=r?i.join(r,e.source):e.source;a.add(new t(e.originalLine,e.originalColumn,o,n,e.name))}}var a=new t,u=e.split(s),l=function(){var e=u.shift(),n=u.shift()||"";return e+n},c=1,g=0,p=null;return n.eachMapping(function(e){if(null!==p){if(!(c0&&(p&&o(p,l()),a.add(u.join(""))),n.sources.forEach(function(e){var t=n.sourceContentFor(e);null!=t&&(null!=r&&(e=i.join(r,e)),a.setSourceContent(e,t))}),a},t.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},t.prototype.prepend=function(e){if(Array.isArray(e))for(var n=e.length-1;n>=0;n--)this.prepend(e[n]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},t.prototype.walk=function(e){for(var n,r=0,t=this.children.length;t>r;r++)n=this.children[r],n[u]?n.walk(e):""!==n&&e(n,{source:this.source,line:this.line,column:this.column,name:this.name})},t.prototype.join=function(e){var n,r,t=this.children.length;if(t>0){for(n=[],r=0;t-1>r;r++)n.push(this.children[r]),n.push(e);n.push(this.children[r]),this.children=n}return this},t.prototype.replaceRight=function(e,n){var r=this.children[this.children.length-1];return r[u]?r.replaceRight(e,n):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,n):this.children.push("".replace(e,n)),this},t.prototype.setSourceContent=function(e,n){this.sourceContents[i.toSetString(e)]=n},t.prototype.walkSourceContents=function(e){for(var n=0,r=this.children.length;r>n;n++)this.children[n][u]&&this.children[n].walkSourceContents(e);for(var t=Object.keys(this.sourceContents),n=0,r=t.length;r>n;n++)e(i.fromSetString(t[n]),this.sourceContents[t[n]])},t.prototype.toString=function(){var e="";return this.walk(function(n){e+=n}),e},t.prototype.toStringWithSourceMap=function(e){var n={code:"",line:1,column:0},r=new o(e),t=!1,i=null,s=null,u=null,l=null;return this.walk(function(e,o){n.code+=e,null!==o.source&&null!==o.line&&null!==o.column?((i!==o.source||s!==o.line||u!==o.column||l!==o.name)&&r.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:n.line,column:n.column},name:o.name}),i=o.source,s=o.line,u=o.column,l=o.name,t=!0):t&&(r.addMapping({generated:{line:n.line,column:n.column}}),i=null,t=!1);for(var c=0,g=e.length;g>c;c++)e.charCodeAt(c)===a?(n.line++,n.column=0,c+1===g?(i=null,t=!1):t&&r.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:n.line,column:n.column},name:o.name})):n.column++}),this.walkSourceContents(function(e,n){r.setSourceContent(e,n)}),{code:n.code,map:r}},n.SourceNode=t}])}); From 3de696f97fc1c19790d7c87114ba325b0dd9de06 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:40:19 +0100 Subject: [PATCH 0129/5759] package: update some deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f9b18aaf..b80bde6e 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,9 @@ "json5": "0.5.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.17.0", + "mathjs": "3.18.1", "node-sass": "4.7.2", - "nodemon": "1.12.5", + "nodemon": "1.14.6", "nosleep.js": "0.7.0", "screenfull": "3.3.2", "shortid": "2.2.8", From fd1c34928d0b5a91477ae332f32b771bf289cc7c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:40:19 +0100 Subject: [PATCH 0130/5759] package: update some deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f9b18aaf..b80bde6e 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,9 @@ "json5": "0.5.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.17.0", + "mathjs": "3.18.1", "node-sass": "4.7.2", - "nodemon": "1.12.5", + "nodemon": "1.14.6", "nosleep.js": "0.7.0", "screenfull": "3.3.2", "shortid": "2.2.8", From 179f48e1e114cd136fd89c88f53e0f7eed592dfe Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:40:37 +0100 Subject: [PATCH 0131/5759] formula: fix multiline expression parsing --- src/browser/js/app/widgets/maths/formula.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index 8682718e..20464d31 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -142,6 +142,8 @@ module.exports = class Formula extends _widgets_base { var s = this.condition.eval(variables).valueOf() + if (Array.isArray(s) && s.length == 1) s = s[0] + this.conditionState = s.data !== undefined ? s.data : s } catch(err) { @@ -156,6 +158,8 @@ module.exports = class Formula extends _widgets_base { var v = this.formula.eval(variables).valueOf() + if (Array.isArray(v) && v.length == 1) v = v[0] + this.value = v.data ? v.data : v this.showValue() From 2239c06bbb19f4d3644862fa1ad6f249d479e38a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:40:37 +0100 Subject: [PATCH 0132/5759] formula: fix multiline expression parsing --- src/browser/js/app/widgets/maths/formula.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index 8682718e..20464d31 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -142,6 +142,8 @@ module.exports = class Formula extends _widgets_base { var s = this.condition.eval(variables).valueOf() + if (Array.isArray(s) && s.length == 1) s = s[0] + this.conditionState = s.data !== undefined ? s.data : s } catch(err) { @@ -156,6 +158,8 @@ module.exports = class Formula extends _widgets_base { var v = this.formula.eval(variables).valueOf() + if (Array.isArray(v) && v.length == 1) v = v[0] + this.value = v.data ? v.data : v this.showValue() From 3e4899668d55a15f519521d1c845ad1a74fb33bb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:41:41 +0100 Subject: [PATCH 0133/5759] inputs: add keys widget (wip) (issue #57) --- src/browser/js/app/widgets/index.js | 3 +- src/browser/js/app/widgets/inputs/keys.js | 162 ++++++++++++++++++++++ src/browser/scss/widgets/_inputs.scss | 40 ++++++ 3 files changed, 204 insertions(+), 1 deletion(-) create mode 100644 src/browser/js/app/widgets/inputs/keys.js diff --git a/src/browser/js/app/widgets/index.js b/src/browser/js/app/widgets/index.js index 5931578c..f6decc5a 100644 --- a/src/browser/js/app/widgets/index.js +++ b/src/browser/js/app/widgets/index.js @@ -48,6 +48,7 @@ module.exports.widgets = { // inputs input: require('./inputs/input'), + keys: require('./inputs/keys'), // maths formula: require('./maths/formula') @@ -62,6 +63,6 @@ module.exports.categories = { 'Plots':['plot','eq','visualizer','led', 'rgbled','meter','text', 'image'], 'Containers':['panel','strip','modal', 'clone'], 'Switchers':['switcher','crossfader'], - 'Inputs':['input'], + 'Inputs':['input', 'keys'], 'Maths':['formula'] } diff --git a/src/browser/js/app/widgets/inputs/keys.js b/src/browser/js/app/widgets/inputs/keys.js new file mode 100644 index 00000000..84988f08 --- /dev/null +++ b/src/browser/js/app/widgets/inputs/keys.js @@ -0,0 +1,162 @@ +var _widgets_base = require('../common/_widgets_base'), + widgetManager = require('../../managers/widgets'), + {math} = require('../utils'), + {iconify} = require('../../utils'), + keyboardJS = require('keyboardjs') + +module.exports = class Keys extends _widgets_base { + + static defaults() { + + return { + type:'led', + id:'auto', + + _geometry:'geometry', + + left:'auto', + top:'auto', + width:'auto', + height:'auto', + + _style:'style', + + label:'auto', + color:'auto', + css:'', + + _keys:'keys', + + binding:'', + widgetId:'', + keydown:'', + keyup:'', + repeat:false, + + } + + } + + constructor(options) { + + var html = ` +
    + ${iconify('^keyboard')} +
    + ` + + super({...options, html: html}) + + this.keydownString = String(this.getProp('keydown')) + this.keyupString = String(this.getProp('keyup')) + + if (this.getProp('binding') && (this.keydownString || this.keyupString)) { + + this.widget.append(`${this.getProp('binding')}`) + + this.keydownHandler = this.keydownString ? this.keydown.bind(this) : this.showKeydown.bind(this) + this.keyupHandler = this.keyupString ? this.keyup.bind(this) : this.showKeyup.bind(this) + + this.keydownMath = math.compile(this.keydownString) + this.keyupMath = math.compile(this.keyupString) + + keyboardJS.bind(this.getProp('binding'), this.keydownHandler, this.keyupHandler) + + } + + this.linkedWidget = null + } + + onRemove() { + + super.onRemove() + + if (this.getProp('binding') && (this.getProp('keydown') || this.getProp('keyup'))) { + + keyboardJS.unbind(this.getProp('binding'), this.keydownHandler, this.keyupHandler) + + } + + } + + keydown(e) { + + if (e.target.classList.contains('input')) return + + if (!this.getProp('repeat') && e) e.preventRepeat() + + var widget = this.getLinkedWidget() + + if (widget) { + + var v = this.keydownMath.eval({ + value: widget.getValue(), + key: e.key, + ctrl: e.ctrlKey, + shift: e.shiftKey, + alt: e.altKey, + meta: e.metaKey + }).valueOf() + + if (Array.isArray(v) && v.length == 1) v = v[0] + + widget.setValue(v, {send:true, sync:true, fromExternal:false}) + + } + + this.showKeydown() + + } + + showKeydown(){ + + this.widget[0].style.setProperty('--opacity', 1) + + } + + keyup(e) { + + if (e.target.classList.contains('input')) return + + var widget = this.getLinkedWidget() + + if (widget) { + + var v = this.keyupMath.eval({ + value: widget.getValue(), + key: e.key, + ctrl: e.ctrlKey, + shift: e.shiftKey, + alt: e.altKey, + meta: e.metaKey + }).valueOf() + + if (Array.isArray(v) && v.length == 1) v = v[0] + + widget.setValue(v, {send:true, sync:true, fromExternal:false}) + + } + + this.showKeyup() + + } + + showKeyup(){ + + this.widget[0].style.setProperty('--opacity', 0.75) + + } + + getLinkedWidget() { + + if (this.getProp('widgetId')) { + + return widgetManager.getWidgetById(this.getProp('widgetId')).pop() || null + + } + + } + + setValue() {} + +} diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index a6521058..eb7e02cb 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -62,3 +62,43 @@ border: 1rem solid var(--color-bg); } } + + +.keys-container { + width: 100rem; + height:60rem; + flex-shrink: 0; + padding:1rem; + --opacity: .75; + .keys { + flex: 1 1 100%; + height:35rem; + padding: 10rem; + justify-content: center; + display: flex; + align-items: center; + background: var(--color-track); + color:var(--color-custom); + border: 1rem solid var(--color-bg); + @extend .glass-effect; + i { + opacity: var(--opacity); + } + span { + font-family: monospace; + letter-spacing: 0; + margin-left: 4rem; + } + } +} + +.panel:not(.tab) > .keys-container { + --color-border:transparent; + padding: 0rem; + .keys { + margin: 1rem; + box-shadow: 0 0 0 1rem var(--color-fg); + outline:1rem solid var(--color-light); + border: 1rem solid var(--color-bg); + } +} From 1d221b761301ee3e5488cc59b97993afde908bb7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:41:41 +0100 Subject: [PATCH 0134/5759] inputs: add keys widget (wip) (issue #57) --- src/browser/js/app/widgets/index.js | 3 +- src/browser/js/app/widgets/inputs/keys.js | 162 ++++++++++++++++++++++ src/browser/scss/widgets/_inputs.scss | 40 ++++++ 3 files changed, 204 insertions(+), 1 deletion(-) create mode 100644 src/browser/js/app/widgets/inputs/keys.js diff --git a/src/browser/js/app/widgets/index.js b/src/browser/js/app/widgets/index.js index 5931578c..f6decc5a 100644 --- a/src/browser/js/app/widgets/index.js +++ b/src/browser/js/app/widgets/index.js @@ -48,6 +48,7 @@ module.exports.widgets = { // inputs input: require('./inputs/input'), + keys: require('./inputs/keys'), // maths formula: require('./maths/formula') @@ -62,6 +63,6 @@ module.exports.categories = { 'Plots':['plot','eq','visualizer','led', 'rgbled','meter','text', 'image'], 'Containers':['panel','strip','modal', 'clone'], 'Switchers':['switcher','crossfader'], - 'Inputs':['input'], + 'Inputs':['input', 'keys'], 'Maths':['formula'] } diff --git a/src/browser/js/app/widgets/inputs/keys.js b/src/browser/js/app/widgets/inputs/keys.js new file mode 100644 index 00000000..84988f08 --- /dev/null +++ b/src/browser/js/app/widgets/inputs/keys.js @@ -0,0 +1,162 @@ +var _widgets_base = require('../common/_widgets_base'), + widgetManager = require('../../managers/widgets'), + {math} = require('../utils'), + {iconify} = require('../../utils'), + keyboardJS = require('keyboardjs') + +module.exports = class Keys extends _widgets_base { + + static defaults() { + + return { + type:'led', + id:'auto', + + _geometry:'geometry', + + left:'auto', + top:'auto', + width:'auto', + height:'auto', + + _style:'style', + + label:'auto', + color:'auto', + css:'', + + _keys:'keys', + + binding:'', + widgetId:'', + keydown:'', + keyup:'', + repeat:false, + + } + + } + + constructor(options) { + + var html = ` +
    + ${iconify('^keyboard')} +
    + ` + + super({...options, html: html}) + + this.keydownString = String(this.getProp('keydown')) + this.keyupString = String(this.getProp('keyup')) + + if (this.getProp('binding') && (this.keydownString || this.keyupString)) { + + this.widget.append(`${this.getProp('binding')}`) + + this.keydownHandler = this.keydownString ? this.keydown.bind(this) : this.showKeydown.bind(this) + this.keyupHandler = this.keyupString ? this.keyup.bind(this) : this.showKeyup.bind(this) + + this.keydownMath = math.compile(this.keydownString) + this.keyupMath = math.compile(this.keyupString) + + keyboardJS.bind(this.getProp('binding'), this.keydownHandler, this.keyupHandler) + + } + + this.linkedWidget = null + } + + onRemove() { + + super.onRemove() + + if (this.getProp('binding') && (this.getProp('keydown') || this.getProp('keyup'))) { + + keyboardJS.unbind(this.getProp('binding'), this.keydownHandler, this.keyupHandler) + + } + + } + + keydown(e) { + + if (e.target.classList.contains('input')) return + + if (!this.getProp('repeat') && e) e.preventRepeat() + + var widget = this.getLinkedWidget() + + if (widget) { + + var v = this.keydownMath.eval({ + value: widget.getValue(), + key: e.key, + ctrl: e.ctrlKey, + shift: e.shiftKey, + alt: e.altKey, + meta: e.metaKey + }).valueOf() + + if (Array.isArray(v) && v.length == 1) v = v[0] + + widget.setValue(v, {send:true, sync:true, fromExternal:false}) + + } + + this.showKeydown() + + } + + showKeydown(){ + + this.widget[0].style.setProperty('--opacity', 1) + + } + + keyup(e) { + + if (e.target.classList.contains('input')) return + + var widget = this.getLinkedWidget() + + if (widget) { + + var v = this.keyupMath.eval({ + value: widget.getValue(), + key: e.key, + ctrl: e.ctrlKey, + shift: e.shiftKey, + alt: e.altKey, + meta: e.metaKey + }).valueOf() + + if (Array.isArray(v) && v.length == 1) v = v[0] + + widget.setValue(v, {send:true, sync:true, fromExternal:false}) + + } + + this.showKeyup() + + } + + showKeyup(){ + + this.widget[0].style.setProperty('--opacity', 0.75) + + } + + getLinkedWidget() { + + if (this.getProp('widgetId')) { + + return widgetManager.getWidgetById(this.getProp('widgetId')).pop() || null + + } + + } + + setValue() {} + +} diff --git a/src/browser/scss/widgets/_inputs.scss b/src/browser/scss/widgets/_inputs.scss index a6521058..eb7e02cb 100644 --- a/src/browser/scss/widgets/_inputs.scss +++ b/src/browser/scss/widgets/_inputs.scss @@ -62,3 +62,43 @@ border: 1rem solid var(--color-bg); } } + + +.keys-container { + width: 100rem; + height:60rem; + flex-shrink: 0; + padding:1rem; + --opacity: .75; + .keys { + flex: 1 1 100%; + height:35rem; + padding: 10rem; + justify-content: center; + display: flex; + align-items: center; + background: var(--color-track); + color:var(--color-custom); + border: 1rem solid var(--color-bg); + @extend .glass-effect; + i { + opacity: var(--opacity); + } + span { + font-family: monospace; + letter-spacing: 0; + margin-left: 4rem; + } + } +} + +.panel:not(.tab) > .keys-container { + --color-border:transparent; + padding: 0rem; + .keys { + margin: 1rem; + box-shadow: 0 0 0 1rem var(--color-fg); + outline:1rem solid var(--color-light); + border: 1rem solid var(--color-bg); + } +} From 184f8d203a1c348b61ccd51d0e966db217370a2a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:53:36 +0100 Subject: [PATCH 0135/5759] keys; default repeat to true --- src/browser/js/app/widgets/inputs/keys.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/widgets/inputs/keys.js b/src/browser/js/app/widgets/inputs/keys.js index 84988f08..11db19f2 100644 --- a/src/browser/js/app/widgets/inputs/keys.js +++ b/src/browser/js/app/widgets/inputs/keys.js @@ -27,11 +27,11 @@ module.exports = class Keys extends _widgets_base { _keys:'keys', - binding:'', widgetId:'', + binding:'', keydown:'', keyup:'', - repeat:false, + repeat:true, } From 891d1092f50c44176588059331128f5ce6159784 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:53:36 +0100 Subject: [PATCH 0136/5759] keys; default repeat to true --- src/browser/js/app/widgets/inputs/keys.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/widgets/inputs/keys.js b/src/browser/js/app/widgets/inputs/keys.js index 84988f08..11db19f2 100644 --- a/src/browser/js/app/widgets/inputs/keys.js +++ b/src/browser/js/app/widgets/inputs/keys.js @@ -27,11 +27,11 @@ module.exports = class Keys extends _widgets_base { _keys:'keys', - binding:'', widgetId:'', + binding:'', keydown:'', keyup:'', - repeat:false, + repeat:true, } From e4996e1d53e56ef6567f003f311dfd4ec0ef56b7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:53:53 +0100 Subject: [PATCH 0137/5759] docs: add keys docs --- resources/docs/widgets/inputs.md | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/resources/docs/widgets/inputs.md b/resources/docs/widgets/inputs.md index 8d23bcc6..58063075 100644 --- a/resources/docs/widgets/inputs.md +++ b/resources/docs/widgets/inputs.md @@ -29,3 +29,45 @@ - type: `string` - default: `empty` - usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages) + + +## Keys + + +```js +{ + type:'keys', + // etc +} +``` + +### `widgetId` +- type: `object` +- default: `empty` +- usage: a widget's `id` whose value will be linked to the Keys + +### `binding` +- type: `string|array` +- default: `''` +- usage: [keyboardjs](https://github.com/RobertWHurst/KeyboardJS) key combo string or array of strings. + +### `keydown` +- type: `string` +- default: `''` +- usage: [MathJS](http://mathjs.org/docs/expressions/syntax.html) expression whose output will be sent to the linked widget. This will be evaluated when the key combo is pressed. Available variables are ; + - `value`: widget's value + - `key`: pressed key name (usefull for handling multiple keys with a single `keys` widget) + - `ctrl`: control key state + - `alt`: alt key state + - `shift`: shift key state + - `super`: command/windows key state + +### `keyup` +- type: `string` +- default: `''` +- usage: same as `keydown`, but evaluated when releasing the key combo. + +### `repeat` +- type: `boolean` +- default: `true` +- usage: set to `false` to prevent `keydown` repeats when holding the key combo pressed. From ca6eb09a48a701904677440b499df367f107889e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:53:53 +0100 Subject: [PATCH 0138/5759] docs: add keys docs --- resources/docs/widgets/inputs.md | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/resources/docs/widgets/inputs.md b/resources/docs/widgets/inputs.md index 8d23bcc6..58063075 100644 --- a/resources/docs/widgets/inputs.md +++ b/resources/docs/widgets/inputs.md @@ -29,3 +29,45 @@ - type: `string` - default: `empty` - usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages) + + +## Keys + + +```js +{ + type:'keys', + // etc +} +``` + +### `widgetId` +- type: `object` +- default: `empty` +- usage: a widget's `id` whose value will be linked to the Keys + +### `binding` +- type: `string|array` +- default: `''` +- usage: [keyboardjs](https://github.com/RobertWHurst/KeyboardJS) key combo string or array of strings. + +### `keydown` +- type: `string` +- default: `''` +- usage: [MathJS](http://mathjs.org/docs/expressions/syntax.html) expression whose output will be sent to the linked widget. This will be evaluated when the key combo is pressed. Available variables are ; + - `value`: widget's value + - `key`: pressed key name (usefull for handling multiple keys with a single `keys` widget) + - `ctrl`: control key state + - `alt`: alt key state + - `shift`: shift key state + - `super`: command/windows key state + +### `keyup` +- type: `string` +- default: `''` +- usage: same as `keydown`, but evaluated when releasing the key combo. + +### `repeat` +- type: `boolean` +- default: `true` +- usage: set to `false` to prevent `keydown` repeats when holding the key combo pressed. From 60a4903623cc4aa01c9776da62ac8cd3d446776b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:55:41 +0100 Subject: [PATCH 0139/5759] docs: fix wrong space char --- resources/docs/widgets/inputs.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/resources/docs/widgets/inputs.md b/resources/docs/widgets/inputs.md index 58063075..6b4e45f6 100644 --- a/resources/docs/widgets/inputs.md +++ b/resources/docs/widgets/inputs.md @@ -10,22 +10,22 @@ } ``` -### `widgetId` +### `widgetId` - type: `object` - default: `empty` - usage: a widget's `id` whose value will be linked to the input -### `editable` +### `editable` - type: `boolean` - default: `true` - usage: set to `false` to make the input non-editable -### `horizontal` +### `horizontal` - type: `boolean` - default: `false` - usage: set to `true` to display the input horizontally -### `unit` +### `unit` - type: `string` - default: `empty` - usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages) @@ -41,17 +41,17 @@ } ``` -### `widgetId` +### `widgetId` - type: `object` - default: `empty` - usage: a widget's `id` whose value will be linked to the Keys -### `binding` +### `binding` - type: `string|array` - default: `''` - usage: [keyboardjs](https://github.com/RobertWHurst/KeyboardJS) key combo string or array of strings. -### `keydown` +### `keydown` - type: `string` - default: `''` - usage: [MathJS](http://mathjs.org/docs/expressions/syntax.html) expression whose output will be sent to the linked widget. This will be evaluated when the key combo is pressed. Available variables are ; @@ -62,12 +62,12 @@ - `shift`: shift key state - `super`: command/windows key state -### `keyup` +### `keyup` - type: `string` - default: `''` - usage: same as `keydown`, but evaluated when releasing the key combo. -### `repeat` +### `repeat` - type: `boolean` - default: `true` - usage: set to `false` to prevent `keydown` repeats when holding the key combo pressed. From ef2de79613379ca4a8828b496dfb08f32812311e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:55:41 +0100 Subject: [PATCH 0140/5759] docs: fix wrong space char --- resources/docs/widgets/inputs.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/resources/docs/widgets/inputs.md b/resources/docs/widgets/inputs.md index 58063075..6b4e45f6 100644 --- a/resources/docs/widgets/inputs.md +++ b/resources/docs/widgets/inputs.md @@ -10,22 +10,22 @@ } ``` -### `widgetId` +### `widgetId` - type: `object` - default: `empty` - usage: a widget's `id` whose value will be linked to the input -### `editable` +### `editable` - type: `boolean` - default: `true` - usage: set to `false` to make the input non-editable -### `horizontal` +### `horizontal` - type: `boolean` - default: `false` - usage: set to `true` to display the input horizontally -### `unit` +### `unit` - type: `string` - default: `empty` - usage: `unit` will be appended to the displayed widget's value (it doesn't affect osc messages) @@ -41,17 +41,17 @@ } ``` -### `widgetId` +### `widgetId` - type: `object` - default: `empty` - usage: a widget's `id` whose value will be linked to the Keys -### `binding` +### `binding` - type: `string|array` - default: `''` - usage: [keyboardjs](https://github.com/RobertWHurst/KeyboardJS) key combo string or array of strings. -### `keydown` +### `keydown` - type: `string` - default: `''` - usage: [MathJS](http://mathjs.org/docs/expressions/syntax.html) expression whose output will be sent to the linked widget. This will be evaluated when the key combo is pressed. Available variables are ; @@ -62,12 +62,12 @@ - `shift`: shift key state - `super`: command/windows key state -### `keyup` +### `keyup` - type: `string` - default: `''` - usage: same as `keydown`, but evaluated when releasing the key combo. -### `repeat` +### `repeat` - type: `boolean` - default: `true` - usage: set to `false` to prevent `keydown` repeats when holding the key combo pressed. From ab8f6b9cabf0d6dc3b31c4347c9936f57bf58353 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:59:53 +0100 Subject: [PATCH 0141/5759] keys: add missing dep --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index b80bde6e..a8b8392e 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "file-saver": "1.3.3", "jquery": "3.2.1", "json5": "0.5.1", + "keyboardjs": "^2.4.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", "mathjs": "3.18.1", From f25346015cce477d941269c274c1969d1881b909 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 12:59:53 +0100 Subject: [PATCH 0142/5759] keys: add missing dep --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index b80bde6e..a8b8392e 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "file-saver": "1.3.3", "jquery": "3.2.1", "json5": "0.5.1", + "keyboardjs": "^2.4.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", "mathjs": "3.18.1", From 584e5ffdd9aa4737e96bcf674c901e72540c72a3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 13:15:26 +0100 Subject: [PATCH 0143/5759] example: add keys --- app/examples/keys.json | 146 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 app/examples/keys.json diff --git a/app/examples/keys.json b/app/examples/keys.json new file mode 100644 index 00000000..8a1d51aa --- /dev/null +++ b/app/examples/keys.json @@ -0,0 +1,146 @@ +[ + { + "type": "root", + "tabs": [ + { + "type": "tab", + "id": "tab_1", + "label": "auto", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_1", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "keys", + "top": 300, + "left": 0, + "id": "keys_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "binding": [ + "r", + "f" + ], + "keydown": "# this is a comment\nx = key == \"r\" ? 0.1 : -0.1;\nvalue + x", + "repeat": true, + "widgetId": "fader_1", + "keyup": "" + }, + { + "type": "fader", + "top": 0, + "left": 0, + "id": "fader_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_1", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "xy", + "top": 50, + "left": 170, + "id": "xy_1", + "linkId": "", + "width": 210, + "height": 220, + "label": "auto", + "color": "auto", + "css": "", + "input": true, + "pips": true, + "pointSize": 20, + "snap": false, + "spring": false, + "doubleTap": false, + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "logScaleX": false, + "logScaleY": false, + "value": "", + "precision": 2, + "address": "/xy_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "keys", + "top": 270, + "left": 170, + "id": "keys_2", + "width": 210, + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "binding": [ + "g", + "t" + ], + "widgetId": "xy_1", + "keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[1] + x\nvalue[2] + x\n# value + 0.1 works too", + "keyup": "", + "repeat": false + } + ], + "tabs": [], + "scroll": true + } + ], + "color": "auto", + "css": "", + "value": "", + "precision": 0, + "address": "/root", + "preArgs": [], + "target": [], + "variables": {}, + "id": "root", + "scroll": true, + "label": false + } +] \ No newline at end of file From 840be72b2e03410e377228cd6ed4b12a5bb652d5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 13:15:26 +0100 Subject: [PATCH 0144/5759] example: add keys --- app/examples/keys.json | 146 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 app/examples/keys.json diff --git a/app/examples/keys.json b/app/examples/keys.json new file mode 100644 index 00000000..8a1d51aa --- /dev/null +++ b/app/examples/keys.json @@ -0,0 +1,146 @@ +[ + { + "type": "root", + "tabs": [ + { + "type": "tab", + "id": "tab_1", + "label": "auto", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_1", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "keys", + "top": 300, + "left": 0, + "id": "keys_1", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "binding": [ + "r", + "f" + ], + "keydown": "# this is a comment\nx = key == \"r\" ? 0.1 : -0.1;\nvalue + x", + "repeat": true, + "widgetId": "fader_1", + "keyup": "" + }, + { + "type": "fader", + "top": 0, + "left": 0, + "id": "fader_1", + "linkId": "", + "width": "auto", + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "horizontal": false, + "alignRight": false, + "pips": true, + "input": true, + "meter": false, + "compact": false, + "dashed": false, + "snap": false, + "spring": false, + "doubleTap": false, + "range": { + "min": 0, + "max": 1 + }, + "logScale": false, + "unit": "", + "origin": "auto", + "value": "", + "precision": 2, + "address": "/fader_1", + "touchAddress": "", + "meterAddress": "", + "preArgs": [], + "target": [] + }, + { + "type": "xy", + "top": 50, + "left": 170, + "id": "xy_1", + "linkId": "", + "width": 210, + "height": 220, + "label": "auto", + "color": "auto", + "css": "", + "input": true, + "pips": true, + "pointSize": 20, + "snap": false, + "spring": false, + "doubleTap": false, + "rangeX": { + "min": 0, + "max": 1 + }, + "rangeY": { + "min": 0, + "max": 1 + }, + "logScaleX": false, + "logScaleY": false, + "value": "", + "precision": 2, + "address": "/xy_1", + "touchAddress": "", + "preArgs": [], + "split": false, + "target": [] + }, + { + "type": "keys", + "top": 270, + "left": 170, + "id": "keys_2", + "width": 210, + "height": "auto", + "label": "auto", + "color": "auto", + "css": "", + "binding": [ + "g", + "t" + ], + "widgetId": "xy_1", + "keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[1] + x\nvalue[2] + x\n# value + 0.1 works too", + "keyup": "", + "repeat": false + } + ], + "tabs": [], + "scroll": true + } + ], + "color": "auto", + "css": "", + "value": "", + "precision": 0, + "address": "/root", + "preArgs": [], + "target": [], + "variables": {}, + "id": "root", + "scroll": true, + "label": false + } +] \ No newline at end of file From 59aa447ff27701a0ebe70e80e19e63fd3c93057a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 14:56:10 +0100 Subject: [PATCH 0145/5759] formula/keys: return arrays, not matrices --- src/browser/js/app/widgets/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index db755163..9102d646 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -71,7 +71,9 @@ module.exports = { }, math: function(){ - var math = require('mathjs/dist/math.min.js') + var math = require('mathjs/dist/math.min.js').create({ + matrix: 'Array' + }) // set math's parser array index base to zero math.expression.transform = Object.create(math) return math From dca301ae2e955ae24c997936533cb776362c1ef3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 31 Dec 2017 14:56:10 +0100 Subject: [PATCH 0146/5759] formula/keys: return arrays, not matrices --- src/browser/js/app/widgets/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index db755163..9102d646 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -71,7 +71,9 @@ module.exports = { }, math: function(){ - var math = require('mathjs/dist/math.min.js') + var math = require('mathjs/dist/math.min.js').create({ + matrix: 'Array' + }) // set math's parser array index base to zero math.expression.transform = Object.create(math) return math From 2eb6c7b9985694c9f52692e57a18687e56eb9040 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 11:50:09 +0100 Subject: [PATCH 0147/5759] property inheritance: optimize and add support for special prop "_value" to get dynamic value (issue #122) --- .../js/app/widgets/common/_widgets_base.js | 75 ++++++++++++------- 1 file changed, 49 insertions(+), 26 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 7b14d709..edec06f3 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -45,9 +45,8 @@ module.exports = class _widgets_base { // @{props} links lists - this.linkedPropsWidgets = [] - this.linkedProps = [] - + this.linkedProps = {} + this.linkedPropsValue = {} // cache props (resolve @{props}) this.cachedProps = {} @@ -62,8 +61,15 @@ module.exports = class _widgets_base { $('body').on(`widget-created.${this.hash}`, (e)=>{ var {id} = e - if (this.linkedPropsWidgets.indexOf(id) != -1 && id != this.getProp('id')) { - this.checkPropsChanged() + if (this.linkedProps[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedProps[id]) + } + }) + + $('body').on(`change.${this.hash}`, (e)=>{ + var {id} = e + if (this.linkedPropsValue[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedPropsValue[id]) } }) @@ -119,15 +125,15 @@ module.exports = class _widgets_base { } - resolveProp(key, opt, storeLinks=true, originalWidget, originalKey) { + resolveProp(propName, propValue, storeLinks=true, originalWidget, originalPropName) { - var opt = opt !== undefined ? opt : _widgets_base.deepCopy(this.props[key]), + var propValue = propValue !== undefined ? propValue : _widgets_base.deepCopy(this.props[propName]), originalWidget = originalWidget || this, - originalKey = originalKey || key, + originalPropName = originalPropName || propName, obj - if (typeof opt == 'string' && opt.indexOf('@{') != -1) { - opt = opt.replace(/@\{([^\}]+)\}/g, (m)=>{ + if (typeof propValue == 'string' && propValue.indexOf('@{') != -1) { + propValue = propValue.replace(/@\{([^\}]+)\}/g, (m)=>{ let id = m.substr(2, m.length - 3).split('.'), k = id.pop(), subk = undefined @@ -145,20 +151,36 @@ module.exports = class _widgets_base { for (var i in widgets) { - if (widgets[i].props.hasOwnProperty(k)) { + if (widgets[i].props.hasOwnProperty(k) || k == '_value') { - if (originalKey == k && widgets[i].props.id == originalWidget.props.id) { - throw `Circular property reference for ${originalWidget.props.id}.${originalKey}` + if (originalPropName == k && widgets[i].props.id == originalWidget.props.id) { + throw `Circular property reference for ${originalWidget.props.id}.${originalPropName}` } if (id != 'this' && id != 'parent' && storeLinks) { - this.linkedProps.push(key) - this.linkedPropsWidgets.push(id) + + if (k == '_value') { + + if (!this.linkedPropsValue[id]) this.linkedPropsValue[id] = [] + this.linkedPropsValue[id].push(propName) + + } else { + + + if (!this.linkedProps[id]) this.linkedProps[id] = [] + this.linkedProps[id].push(propName) + + } + } - var r = widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalKey) + var r = k == '_value' ? + widgets[i].getValue() : + widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) + if (subk !== undefined) r = r[subk] if (typeof r != 'string') r = JSON.stringify(r) + return r } @@ -166,27 +188,27 @@ module.exports = class _widgets_base { }) try { - opt = JSON.parse(opt) + propValue = JSON.parse(propValue) } catch (err) {} - } else if (opt != null && typeof opt == 'object') { - for (var k in opt) { - opt[k] = this.resolveProp(key, opt[k], storeLinks, originalWidget, originalKey) + } else if (propValue != null && typeof propValue == 'object') { + for (var k in propValue) { + propValue[k] = this.resolveProp(propName, propValue[k], storeLinks, originalWidget, originalPropName) } } - return opt + return propValue } - getProp(key){ - return this.cachedProps[key] + getProp(propName){ + return this.cachedProps[propName] } - checkPropsChanged(){ - for (var key of this.linkedProps) { - if (JSON.stringify(this.cachedProps[key]) != JSON.stringify(this.resolveProp(key, undefined, false))) { + checkPropsChanged(propNames){ + for (var propName of propNames) { + if (JSON.stringify(this.cachedProps[propName]) != JSON.stringify(this.resolveProp(propName, undefined, false))) { return this.reCreateWidget() } } @@ -198,6 +220,7 @@ module.exports = class _widgets_base { onRemove(){ $('body').off(`widget-created.${this.hash}`) + .off(`change.${this.hash}`) } } From f6fb539e838889ce76403ab7782766bf8474945a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 11:50:09 +0100 Subject: [PATCH 0148/5759] property inheritance: optimize and add support for special prop "_value" to get dynamic value (issue #122) --- .../js/app/widgets/common/_widgets_base.js | 75 ++++++++++++------- 1 file changed, 49 insertions(+), 26 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 7b14d709..edec06f3 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -45,9 +45,8 @@ module.exports = class _widgets_base { // @{props} links lists - this.linkedPropsWidgets = [] - this.linkedProps = [] - + this.linkedProps = {} + this.linkedPropsValue = {} // cache props (resolve @{props}) this.cachedProps = {} @@ -62,8 +61,15 @@ module.exports = class _widgets_base { $('body').on(`widget-created.${this.hash}`, (e)=>{ var {id} = e - if (this.linkedPropsWidgets.indexOf(id) != -1 && id != this.getProp('id')) { - this.checkPropsChanged() + if (this.linkedProps[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedProps[id]) + } + }) + + $('body').on(`change.${this.hash}`, (e)=>{ + var {id} = e + if (this.linkedPropsValue[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedPropsValue[id]) } }) @@ -119,15 +125,15 @@ module.exports = class _widgets_base { } - resolveProp(key, opt, storeLinks=true, originalWidget, originalKey) { + resolveProp(propName, propValue, storeLinks=true, originalWidget, originalPropName) { - var opt = opt !== undefined ? opt : _widgets_base.deepCopy(this.props[key]), + var propValue = propValue !== undefined ? propValue : _widgets_base.deepCopy(this.props[propName]), originalWidget = originalWidget || this, - originalKey = originalKey || key, + originalPropName = originalPropName || propName, obj - if (typeof opt == 'string' && opt.indexOf('@{') != -1) { - opt = opt.replace(/@\{([^\}]+)\}/g, (m)=>{ + if (typeof propValue == 'string' && propValue.indexOf('@{') != -1) { + propValue = propValue.replace(/@\{([^\}]+)\}/g, (m)=>{ let id = m.substr(2, m.length - 3).split('.'), k = id.pop(), subk = undefined @@ -145,20 +151,36 @@ module.exports = class _widgets_base { for (var i in widgets) { - if (widgets[i].props.hasOwnProperty(k)) { + if (widgets[i].props.hasOwnProperty(k) || k == '_value') { - if (originalKey == k && widgets[i].props.id == originalWidget.props.id) { - throw `Circular property reference for ${originalWidget.props.id}.${originalKey}` + if (originalPropName == k && widgets[i].props.id == originalWidget.props.id) { + throw `Circular property reference for ${originalWidget.props.id}.${originalPropName}` } if (id != 'this' && id != 'parent' && storeLinks) { - this.linkedProps.push(key) - this.linkedPropsWidgets.push(id) + + if (k == '_value') { + + if (!this.linkedPropsValue[id]) this.linkedPropsValue[id] = [] + this.linkedPropsValue[id].push(propName) + + } else { + + + if (!this.linkedProps[id]) this.linkedProps[id] = [] + this.linkedProps[id].push(propName) + + } + } - var r = widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalKey) + var r = k == '_value' ? + widgets[i].getValue() : + widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) + if (subk !== undefined) r = r[subk] if (typeof r != 'string') r = JSON.stringify(r) + return r } @@ -166,27 +188,27 @@ module.exports = class _widgets_base { }) try { - opt = JSON.parse(opt) + propValue = JSON.parse(propValue) } catch (err) {} - } else if (opt != null && typeof opt == 'object') { - for (var k in opt) { - opt[k] = this.resolveProp(key, opt[k], storeLinks, originalWidget, originalKey) + } else if (propValue != null && typeof propValue == 'object') { + for (var k in propValue) { + propValue[k] = this.resolveProp(propName, propValue[k], storeLinks, originalWidget, originalPropName) } } - return opt + return propValue } - getProp(key){ - return this.cachedProps[key] + getProp(propName){ + return this.cachedProps[propName] } - checkPropsChanged(){ - for (var key of this.linkedProps) { - if (JSON.stringify(this.cachedProps[key]) != JSON.stringify(this.resolveProp(key, undefined, false))) { + checkPropsChanged(propNames){ + for (var propName of propNames) { + if (JSON.stringify(this.cachedProps[propName]) != JSON.stringify(this.resolveProp(propName, undefined, false))) { return this.reCreateWidget() } } @@ -198,6 +220,7 @@ module.exports = class _widgets_base { onRemove(){ $('body').off(`widget-created.${this.hash}`) + .off(`change.${this.hash}`) } } From 25d6f30ed353c2ea163c743178553ead22b7504c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 11:51:56 +0100 Subject: [PATCH 0149/5759] widgets: put input's deepCopyWithPrecision in widgets base class --- .../js/app/widgets/common/_widgets_base.js | 8 ++++--- src/browser/js/app/widgets/inputs/input.js | 21 ++----------------- 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index edec06f3..0df022ff 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -99,13 +99,13 @@ module.exports = class _widgets_base { } - getValue() { + getValue(withPrecision) { - return _widgets_base.deepCopy(this.value) + return _widgets_base.deepCopy(this.value, withPrecision) } - static deepCopy(obj){ + static deepCopy(obj, precision){ var copy = obj, key @@ -119,6 +119,8 @@ module.exports = class _widgets_base { for (let key in obj) { copy[key] = _widgets_base.deepCopy(obj[key]) } + } else if (typeof obj == 'number') { + return precision === undefined ? copy : parseFloat(copy.toFixed(precision)) } return copy diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index 6630af03..d23ce940 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -1,4 +1,5 @@ var {iconify} = require('../../utils'), + _widgets_base = require('../common/_widgets_base'), _canvas_base = require('../common/_canvas_base'), widgetManager = require('../../managers/widgets') @@ -198,28 +199,10 @@ module.exports = class Input extends _canvas_base { } - static deepCopyWithPrecision(obj, precision) { - - var copy = obj, - key - - if (typeof obj === 'object') { - copy = Array.isArray(obj) ? [] : {} - for (key in obj) { - copy[key] = Input.deepCopyWithPrecision(obj[key], precision) - } - } else if (typeof obj == 'number') { - return parseFloat(copy.toFixed(precision)) - } - - return copy - - } - getStringValue() { if (this.value === undefined) return '' return typeof this.value != 'string' ? - JSON.stringify(Input.deepCopyWithPrecision(this.value, this.precision)).replace(/,/g, ', ') : + JSON.stringify(_widgets_base.deepCopy(this.value, this.precision)).replace(/,/g, ', ') : this.value } From e6a6a388659e2f18da86be4058ae77cb1cd3a112 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 11:51:56 +0100 Subject: [PATCH 0150/5759] widgets: put input's deepCopyWithPrecision in widgets base class --- .../js/app/widgets/common/_widgets_base.js | 8 ++++--- src/browser/js/app/widgets/inputs/input.js | 21 ++----------------- 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index edec06f3..0df022ff 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -99,13 +99,13 @@ module.exports = class _widgets_base { } - getValue() { + getValue(withPrecision) { - return _widgets_base.deepCopy(this.value) + return _widgets_base.deepCopy(this.value, withPrecision) } - static deepCopy(obj){ + static deepCopy(obj, precision){ var copy = obj, key @@ -119,6 +119,8 @@ module.exports = class _widgets_base { for (let key in obj) { copy[key] = _widgets_base.deepCopy(obj[key]) } + } else if (typeof obj == 'number') { + return precision === undefined ? copy : parseFloat(copy.toFixed(precision)) } return copy diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index 6630af03..d23ce940 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -1,4 +1,5 @@ var {iconify} = require('../../utils'), + _widgets_base = require('../common/_widgets_base'), _canvas_base = require('../common/_canvas_base'), widgetManager = require('../../managers/widgets') @@ -198,28 +199,10 @@ module.exports = class Input extends _canvas_base { } - static deepCopyWithPrecision(obj, precision) { - - var copy = obj, - key - - if (typeof obj === 'object') { - copy = Array.isArray(obj) ? [] : {} - for (key in obj) { - copy[key] = Input.deepCopyWithPrecision(obj[key], precision) - } - } else if (typeof obj == 'number') { - return parseFloat(copy.toFixed(precision)) - } - - return copy - - } - getStringValue() { if (this.value === undefined) return '' return typeof this.value != 'string' ? - JSON.stringify(Input.deepCopyWithPrecision(this.value, this.precision)).replace(/,/g, ', ') : + JSON.stringify(_widgets_base.deepCopy(this.value, this.precision)).replace(/,/g, ', ') : this.value } From e1d43b0e31e9eb59f2cf2b3f1c9a55adae165a00 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 11:55:01 +0100 Subject: [PATCH 0151/5759] property inheritance: apply precision when retrieving a widget value, fix precision implementation mistake in getValue --- src/browser/js/app/widgets/common/_widgets_base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 0df022ff..41fa73f7 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -101,7 +101,7 @@ module.exports = class _widgets_base { getValue(withPrecision) { - return _widgets_base.deepCopy(this.value, withPrecision) + return _widgets_base.deepCopy(this.value, withPrecision ? this.precision : undefined) } @@ -177,7 +177,7 @@ module.exports = class _widgets_base { } var r = k == '_value' ? - widgets[i].getValue() : + widgets[i].getValue(true) : widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) if (subk !== undefined) r = r[subk] From 98e287b9e85d40e890bee2862e099001d4af12fc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 11:55:01 +0100 Subject: [PATCH 0152/5759] property inheritance: apply precision when retrieving a widget value, fix precision implementation mistake in getValue --- src/browser/js/app/widgets/common/_widgets_base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 0df022ff..41fa73f7 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -101,7 +101,7 @@ module.exports = class _widgets_base { getValue(withPrecision) { - return _widgets_base.deepCopy(this.value, withPrecision) + return _widgets_base.deepCopy(this.value, withPrecision ? this.precision : undefined) } @@ -177,7 +177,7 @@ module.exports = class _widgets_base { } var r = k == '_value' ? - widgets[i].getValue() : + widgets[i].getValue(true) : widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) if (subk !== undefined) r = r[subk] From 3bc928ebe9d3bc43e104d3e576a9128751a79b0a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 12:08:32 +0100 Subject: [PATCH 0153/5759] property inheritance: fix geometry not applying the rules --- src/browser/js/app/parser.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 348bce42..92616ea7 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -89,17 +89,13 @@ var Parser = class Parser { } // convert dimensions / coordinates to rem - var width = parseFloat(widgetInner.getProp('width'))==widgetInner.getProp('width')?parseFloat(widgetInner.getProp('width'))+'rem' : widgetInner.getProp('width'), - height = parseFloat(widgetInner.getProp('height'))==widgetInner.getProp('height')?parseFloat(widgetInner.getProp('height'))+'rem' : widgetInner.getProp('height'), - left = parseFloat(widgetInner.getProp('left'))==widgetInner.getProp('left')?parseFloat(widgetInner.getProp('left'))+'rem' : widgetInner.getProp('left'), - top = parseFloat(widgetInner.getProp('top'))==widgetInner.getProp('top')?parseFloat(widgetInner.getProp('top'))+'rem' : widgetInner.getProp('top') - var geometry = {} for (var d of ['width', 'height', 'left', 'top']){ - if (props[d]!==undefined) - geometry[d] = `${props[d]}`.indexOf('-') != -1 ? 0 : - parseFloat(props[d]) == props[d] ? - parseFloat(props[d])+'rem' : props[d] + let val = widgetInner.getProp(d) + if (val !== undefined) + geometry[d] = `${val}`.indexOf('-') != -1 ? 0 : + parseFloat(val) == val ? + parseFloat(val)+'rem' : val } // dimensions / coordinates css From 43d6f2df0bbeb2a87a375db45d61d790cbe22ef2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 12:08:32 +0100 Subject: [PATCH 0154/5759] property inheritance: fix geometry not applying the rules --- src/browser/js/app/parser.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 348bce42..92616ea7 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -89,17 +89,13 @@ var Parser = class Parser { } // convert dimensions / coordinates to rem - var width = parseFloat(widgetInner.getProp('width'))==widgetInner.getProp('width')?parseFloat(widgetInner.getProp('width'))+'rem' : widgetInner.getProp('width'), - height = parseFloat(widgetInner.getProp('height'))==widgetInner.getProp('height')?parseFloat(widgetInner.getProp('height'))+'rem' : widgetInner.getProp('height'), - left = parseFloat(widgetInner.getProp('left'))==widgetInner.getProp('left')?parseFloat(widgetInner.getProp('left'))+'rem' : widgetInner.getProp('left'), - top = parseFloat(widgetInner.getProp('top'))==widgetInner.getProp('top')?parseFloat(widgetInner.getProp('top'))+'rem' : widgetInner.getProp('top') - var geometry = {} for (var d of ['width', 'height', 'left', 'top']){ - if (props[d]!==undefined) - geometry[d] = `${props[d]}`.indexOf('-') != -1 ? 0 : - parseFloat(props[d]) == props[d] ? - parseFloat(props[d])+'rem' : props[d] + let val = widgetInner.getProp(d) + if (val !== undefined) + geometry[d] = `${val}`.indexOf('-') != -1 ? 0 : + parseFloat(val) == val ? + parseFloat(val)+'rem' : val } // dimensions / coordinates css From 8fcf7e2cf049ba78db199269aab06c507424c28a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 13:54:33 +0100 Subject: [PATCH 0155/5759] plots: emit change event to allow synchronization with other widgets --- CHANGELOG.md | 6 ++++++ src/browser/js/app/widgets/plots/_plots_base.js | 4 +++- src/browser/js/app/widgets/plots/image.js | 4 +++- src/browser/js/app/widgets/plots/led.js | 6 ++++-- src/browser/js/app/widgets/plots/meter.js | 2 +- src/browser/js/app/widgets/plots/rgbled.js | 6 ++++-- src/browser/js/app/widgets/plots/text.js | 6 ++++-- src/browser/js/app/widgets/plots/visualizer.js | 10 ++++++++-- 8 files changed, 33 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1763ef87..bc9ba564 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.23.0 + +- bug fixes + - plots now send their value to other widget for synchronization as expected + + ## 0.22.0 - bug fixes diff --git a/src/browser/js/app/widgets/plots/_plots_base.js b/src/browser/js/app/widgets/plots/_plots_base.js index bf5cbbf6..f5c403b0 100644 --- a/src/browser/js/app/widgets/plots/_plots_base.js +++ b/src/browser/js/app/widgets/plots/_plots_base.js @@ -150,11 +150,13 @@ module.exports = class _plots_base extends _canvas_base { } - setValue(v) { + setValue(v, options={}) { this.data = v this.draw() + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } getValue() { diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js index 5095bb5c..f1728917 100644 --- a/src/browser/js/app/widgets/plots/image.js +++ b/src/browser/js/app/widgets/plots/image.js @@ -57,7 +57,7 @@ module.exports = class Led extends _widgets_base { } - setValue(v) { + setValue(v, options={}) { var s = v==null ? '' : '' + v, cache_query = '' @@ -81,6 +81,8 @@ module.exports = class Led extends _widgets_base { this.widget[0].style.setProperty('background-image', `url(${this.value}${cache_query})`) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/led.js b/src/browser/js/app/widgets/plots/led.js index b1b8e865..5928ae6f 100644 --- a/src/browser/js/app/widgets/plots/led.js +++ b/src/browser/js/app/widgets/plots/led.js @@ -68,18 +68,20 @@ module.exports = class Led extends _widgets_base { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } } - setValue(v) { + setValue(v, options={}) { if (typeof v != 'number') return this.value = v this.widget[0].style.setProperty('--opacity', mapToScale(v,[this.getProp('range').min,this.getProp('range').max],[0,1],false,this.getProp('logScale'),true)) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/meter.js b/src/browser/js/app/widgets/plots/meter.js index f5ec9799..79ab3ab0 100644 --- a/src/browser/js/app/widgets/plots/meter.js +++ b/src/browser/js/app/widgets/plots/meter.js @@ -76,7 +76,7 @@ module.exports = class Meter extends Fader { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } diff --git a/src/browser/js/app/widgets/plots/rgbled.js b/src/browser/js/app/widgets/plots/rgbled.js index 70e012d6..1c0a00bf 100644 --- a/src/browser/js/app/widgets/plots/rgbled.js +++ b/src/browser/js/app/widgets/plots/rgbled.js @@ -68,13 +68,13 @@ module.exports = class Rbgled extends _widgets_base { for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } } - setValue(v) { + setValue(v, options={}) { var c = '' @@ -103,6 +103,8 @@ module.exports = class Rbgled extends _widgets_base { this.widget[0].style.setProperty('--color-led', c) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index 0d04c976..a5edd853 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -71,18 +71,20 @@ module.exports = class Text extends _widgets_base { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } } - setValue(v) { + setValue(v, options={}) { this.value = v==null ? this.defaultValue : v this.widget.html(iconify(String(this.value).replace(/\n/g,'
    '))) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/visualizer.js b/src/browser/js/app/widgets/plots/visualizer.js index 6488f0f4..d42c6730 100644 --- a/src/browser/js/app/widgets/plots/visualizer.js +++ b/src/browser/js/app/widgets/plots/visualizer.js @@ -67,7 +67,7 @@ module.exports = class Visualizer extends _plots_base { syncHandle(e) { if (this.getProp('widgetId')!=e.id || !widgetManager.getWidgetById(e.id).length || !e.widget) return - this.setValue(e.widget.getValue()) + this.setValue(e.widget.getValue(), {sync: e.options.sync}) } @@ -117,7 +117,7 @@ module.exports = class Visualizer extends _plots_base { } - setValue(v) { + setValue(v, options={}) { if (Array.isArray(v) && v.length == this.length) { @@ -125,11 +125,17 @@ module.exports = class Visualizer extends _plots_base { this.value = v[v.length - 1] this.startLoop() + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + + } else if (typeof(v) == 'number'){ this.value = v this.startLoop() + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + + } } From d2d3faf43df3028e71db779d2696f72490050cda Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 13:54:33 +0100 Subject: [PATCH 0156/5759] plots: emit change event to allow synchronization with other widgets --- CHANGELOG.md | 6 ++++++ src/browser/js/app/widgets/plots/_plots_base.js | 4 +++- src/browser/js/app/widgets/plots/image.js | 4 +++- src/browser/js/app/widgets/plots/led.js | 6 ++++-- src/browser/js/app/widgets/plots/meter.js | 2 +- src/browser/js/app/widgets/plots/rgbled.js | 6 ++++-- src/browser/js/app/widgets/plots/text.js | 6 ++++-- src/browser/js/app/widgets/plots/visualizer.js | 10 ++++++++-- 8 files changed, 33 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1763ef87..bc9ba564 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.23.0 + +- bug fixes + - plots now send their value to other widget for synchronization as expected + + ## 0.22.0 - bug fixes diff --git a/src/browser/js/app/widgets/plots/_plots_base.js b/src/browser/js/app/widgets/plots/_plots_base.js index bf5cbbf6..f5c403b0 100644 --- a/src/browser/js/app/widgets/plots/_plots_base.js +++ b/src/browser/js/app/widgets/plots/_plots_base.js @@ -150,11 +150,13 @@ module.exports = class _plots_base extends _canvas_base { } - setValue(v) { + setValue(v, options={}) { this.data = v this.draw() + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } getValue() { diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js index 5095bb5c..f1728917 100644 --- a/src/browser/js/app/widgets/plots/image.js +++ b/src/browser/js/app/widgets/plots/image.js @@ -57,7 +57,7 @@ module.exports = class Led extends _widgets_base { } - setValue(v) { + setValue(v, options={}) { var s = v==null ? '' : '' + v, cache_query = '' @@ -81,6 +81,8 @@ module.exports = class Led extends _widgets_base { this.widget[0].style.setProperty('background-image', `url(${this.value}${cache_query})`) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/led.js b/src/browser/js/app/widgets/plots/led.js index b1b8e865..5928ae6f 100644 --- a/src/browser/js/app/widgets/plots/led.js +++ b/src/browser/js/app/widgets/plots/led.js @@ -68,18 +68,20 @@ module.exports = class Led extends _widgets_base { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } } - setValue(v) { + setValue(v, options={}) { if (typeof v != 'number') return this.value = v this.widget[0].style.setProperty('--opacity', mapToScale(v,[this.getProp('range').min,this.getProp('range').max],[0,1],false,this.getProp('logScale'),true)) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/meter.js b/src/browser/js/app/widgets/plots/meter.js index f5ec9799..79ab3ab0 100644 --- a/src/browser/js/app/widgets/plots/meter.js +++ b/src/browser/js/app/widgets/plots/meter.js @@ -76,7 +76,7 @@ module.exports = class Meter extends Fader { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } diff --git a/src/browser/js/app/widgets/plots/rgbled.js b/src/browser/js/app/widgets/plots/rgbled.js index 70e012d6..1c0a00bf 100644 --- a/src/browser/js/app/widgets/plots/rgbled.js +++ b/src/browser/js/app/widgets/plots/rgbled.js @@ -68,13 +68,13 @@ module.exports = class Rbgled extends _widgets_base { for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } } - setValue(v) { + setValue(v, options={}) { var c = '' @@ -103,6 +103,8 @@ module.exports = class Rbgled extends _widgets_base { this.widget[0].style.setProperty('--color-led', c) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index 0d04c976..a5edd853 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -71,18 +71,20 @@ module.exports = class Text extends _widgets_base { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue()) + this.setValue(widget[i].getValue(), {sync: e.options.sync}) return } } } - setValue(v) { + setValue(v, options={}) { this.value = v==null ? this.defaultValue : v this.widget.html(iconify(String(this.value).replace(/\n/g,'
    '))) + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + } } diff --git a/src/browser/js/app/widgets/plots/visualizer.js b/src/browser/js/app/widgets/plots/visualizer.js index 6488f0f4..d42c6730 100644 --- a/src/browser/js/app/widgets/plots/visualizer.js +++ b/src/browser/js/app/widgets/plots/visualizer.js @@ -67,7 +67,7 @@ module.exports = class Visualizer extends _plots_base { syncHandle(e) { if (this.getProp('widgetId')!=e.id || !widgetManager.getWidgetById(e.id).length || !e.widget) return - this.setValue(e.widget.getValue()) + this.setValue(e.widget.getValue(), {sync: e.options.sync}) } @@ -117,7 +117,7 @@ module.exports = class Visualizer extends _plots_base { } - setValue(v) { + setValue(v, options={}) { if (Array.isArray(v) && v.length == this.length) { @@ -125,11 +125,17 @@ module.exports = class Visualizer extends _plots_base { this.value = v[v.length - 1] this.startLoop() + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + + } else if (typeof(v) == 'number'){ this.value = v this.startLoop() + if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + + } } From ef521355259ec2ae3f0fed99ee11ddd19fe6324a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 13:56:08 +0100 Subject: [PATCH 0157/5759] text: apply target's precision to value --- CHANGELOG.md | 2 +- src/browser/js/app/widgets/plots/text.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc9ba564..5a19211d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - bug fixes - plots now send their value to other widget for synchronization as expected - + - text widgets now apply their target widget's precision ## 0.22.0 diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index a5edd853..103a42d8 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -71,7 +71,7 @@ module.exports = class Text extends _widgets_base { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue(), {sync: e.options.sync}) + this.setValue(widget[i].getValue(true), {sync: e.options.sync}) return } } From f4cdf11c7f3c0c5c7d2c73e0c18512074c4ab33c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 13:56:08 +0100 Subject: [PATCH 0158/5759] text: apply target's precision to value --- CHANGELOG.md | 2 +- src/browser/js/app/widgets/plots/text.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc9ba564..5a19211d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - bug fixes - plots now send their value to other widget for synchronization as expected - + - text widgets now apply their target widget's precision ## 0.22.0 diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index a5edd853..103a42d8 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -71,7 +71,7 @@ module.exports = class Text extends _widgets_base { value for (var i=widget.length-1; i>=0; i--) { if (widget[i].getValue) { - this.setValue(widget[i].getValue(), {sync: e.options.sync}) + this.setValue(widget[i].getValue(true), {sync: e.options.sync}) return } } From ea5521840d70773bc21a438169c5270cf9c43cac Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 15:16:26 +0100 Subject: [PATCH 0159/5759] widgets: missing precision parameter in deepCopy --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 41fa73f7..595b7f83 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -117,7 +117,7 @@ module.exports = class _widgets_base { if (typeof obj === 'object') { copy = Array.isArray(obj) ? [] : {} for (let key in obj) { - copy[key] = _widgets_base.deepCopy(obj[key]) + copy[key] = _widgets_base.deepCopy(obj[key], precision) } } else if (typeof obj == 'number') { return precision === undefined ? copy : parseFloat(copy.toFixed(precision)) From 677d67f8e38b0e324b32a0b9e091c6f44b9082d4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 15:16:26 +0100 Subject: [PATCH 0160/5759] widgets: missing precision parameter in deepCopy --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 41fa73f7..595b7f83 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -117,7 +117,7 @@ module.exports = class _widgets_base { if (typeof obj === 'object') { copy = Array.isArray(obj) ? [] : {} for (let key in obj) { - copy[key] = _widgets_base.deepCopy(obj[key]) + copy[key] = _widgets_base.deepCopy(obj[key], precision) } } else if (typeof obj == 'number') { return precision === undefined ? copy : parseFloat(copy.toFixed(precision)) From 18af57168bb81e28e8a950e951024a482649027f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 18:24:24 +0100 Subject: [PATCH 0161/5759] v8: fix some js optimization with the arguments object --- src/browser/js/app/widgets/pads/multixy.js | 2 +- src/browser/js/app/widgets/pads/rgb.js | 2 +- src/browser/js/app/widgets/pads/xy.js | 2 +- src/browser/js/app/widgets/sliders/_sliders_base.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index 62930e7a..ee64d19b 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -218,7 +218,7 @@ module.exports = class MultiXy extends _pads_base { setValue(v, options={}) { if (!v || !v.length || v.length!=this.npoints * 2) return - if (this.touched && !options.dragged) return this.setValueTouchedQueue = arguments + if (this.touched && !options.dragged) return this.setValueTouchedQueue = [v, options] for (var i=0;i Date: Tue, 2 Jan 2018 18:24:24 +0100 Subject: [PATCH 0162/5759] v8: fix some js optimization with the arguments object --- src/browser/js/app/widgets/pads/multixy.js | 2 +- src/browser/js/app/widgets/pads/rgb.js | 2 +- src/browser/js/app/widgets/pads/xy.js | 2 +- src/browser/js/app/widgets/sliders/_sliders_base.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index 62930e7a..ee64d19b 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -218,7 +218,7 @@ module.exports = class MultiXy extends _pads_base { setValue(v, options={}) { if (!v || !v.length || v.length!=this.npoints * 2) return - if (this.touched && !options.dragged) return this.setValueTouchedQueue = arguments + if (this.touched && !options.dragged) return this.setValueTouchedQueue = [v, options] for (var i=0;i Date: Tue, 2 Jan 2018 20:22:53 +0100 Subject: [PATCH 0163/5759] log: latest changes --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a19211d..d96a36ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - bug fixes - plots now send their value to other widget for synchronization as expected - text widgets now apply their target widget's precision +- widgets + - inputs: **new** `keys` widget, for keyboard bindings + - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) ## 0.22.0 From 12d134d8a25f1d44a6c5e660ec1f8398bf6ea555 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 20:22:53 +0100 Subject: [PATCH 0164/5759] log: latest changes --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a19211d..d96a36ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - bug fixes - plots now send their value to other widget for synchronization as expected - text widgets now apply their target widget's precision +- widgets + - inputs: **new** `keys` widget, for keyboard bindings + - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) ## 0.22.0 From b0d5a8e06b05ed7702b81a3e88274eb99d4ca8ea Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 22:09:28 +0100 Subject: [PATCH 0165/5759] property inheritance: don't add eventlistener when not needed --- .../js/app/widgets/common/_widgets_base.js | 32 ++++++++++++------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 595b7f83..3f632d59 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -59,19 +59,27 @@ module.exports = class _widgets_base { } } - $('body').on(`widget-created.${this.hash}`, (e)=>{ - var {id} = e - if (this.linkedProps[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedProps[id]) - } - }) + if (Object.keys(this.linkedProps).length) { - $('body').on(`change.${this.hash}`, (e)=>{ - var {id} = e - if (this.linkedPropsValue[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedPropsValue[id]) - } - }) + $('body').on(`widget-created.${this.hash}`, (e)=>{ + var {id} = e + if (this.linkedProps[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedProps[id]) + } + }) + + } + + if (Object.keys(this.linkedPropsValue).length) { + + $('body').on(`change.${this.hash}`, (e)=>{ + var {id} = e + if (this.linkedPropsValue[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedPropsValue[id]) + } + }) + + } $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) From aceb8e175db1d1433d24698b69443084fef31fc9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Jan 2018 22:09:28 +0100 Subject: [PATCH 0166/5759] property inheritance: don't add eventlistener when not needed --- .../js/app/widgets/common/_widgets_base.js | 32 ++++++++++++------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 595b7f83..3f632d59 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -59,19 +59,27 @@ module.exports = class _widgets_base { } } - $('body').on(`widget-created.${this.hash}`, (e)=>{ - var {id} = e - if (this.linkedProps[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedProps[id]) - } - }) + if (Object.keys(this.linkedProps).length) { - $('body').on(`change.${this.hash}`, (e)=>{ - var {id} = e - if (this.linkedPropsValue[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedPropsValue[id]) - } - }) + $('body').on(`widget-created.${this.hash}`, (e)=>{ + var {id} = e + if (this.linkedProps[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedProps[id]) + } + }) + + } + + if (Object.keys(this.linkedPropsValue).length) { + + $('body').on(`change.${this.hash}`, (e)=>{ + var {id} = e + if (this.linkedPropsValue[id] && id != this.getProp('id')) { + this.checkPropsChanged(this.linkedPropsValue[id]) + } + }) + + } $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) From 6cd29dbdd8f3f54b422105fc1fe8de1639893174 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Jan 2018 10:08:56 +0100 Subject: [PATCH 0167/5759] property inheritance: allow referring to a parent using its and fix infinite loop when editing (issue #122) --- src/browser/js/app/editor/data-workers.js | 3 ++- src/browser/js/app/widgets/common/_widgets_base.js | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index e495b481..f4d555c2 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -36,6 +36,8 @@ var updateDom = function(container,data, remote) { } } + purgeStores(oldWidgets) + // widget var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) container.replaceWith(newContainer) @@ -50,7 +52,6 @@ var updateDom = function(container,data, remote) { newContainer.trigger('resize') - purgeStores(oldWidgets) // restore state diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 3f632d59..3c3492ba 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -159,6 +159,17 @@ module.exports = class _widgets_base { [this.parent] : id == 'this' ? [this] : widgetManager.getWidgetById(id) + if (!widgets.length) { + var parent = this.parent + while (parent) { + if (parent.getProp('id') == id) { + widgets.push(parent) + storeLinks = false + break + } + parent = parent.parent + } + } for (var i in widgets) { if (widgets[i].props.hasOwnProperty(k) || k == '_value') { From f2be50150983ad4dda7f9c465941e544abea1647 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Jan 2018 10:08:56 +0100 Subject: [PATCH 0168/5759] property inheritance: allow referring to a parent using its and fix infinite loop when editing (issue #122) --- src/browser/js/app/editor/data-workers.js | 3 ++- src/browser/js/app/widgets/common/_widgets_base.js | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index e495b481..f4d555c2 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -36,6 +36,8 @@ var updateDom = function(container,data, remote) { } } + purgeStores(oldWidgets) + // widget var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) container.replaceWith(newContainer) @@ -50,7 +52,6 @@ var updateDom = function(container,data, remote) { newContainer.trigger('resize') - purgeStores(oldWidgets) // restore state diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 3f632d59..3c3492ba 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -159,6 +159,17 @@ module.exports = class _widgets_base { [this.parent] : id == 'this' ? [this] : widgetManager.getWidgetById(id) + if (!widgets.length) { + var parent = this.parent + while (parent) { + if (parent.getProp('id') == id) { + widgets.push(parent) + storeLinks = false + break + } + parent = parent.parent + } + } for (var i in widgets) { if (widgets[i].props.hasOwnProperty(k) || k == '_value') { From 80c3ab8aa05a7a5a696bfd9aefa40feba163bf0e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Jan 2018 11:34:15 +0100 Subject: [PATCH 0169/5759] formula/mathjs: re-fix array to zero-based index instead of one-based index --- src/browser/js/app/widgets/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index 9102d646..8ed018a8 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -75,7 +75,8 @@ module.exports = { matrix: 'Array' }) // set math's parser array index base to zero - math.expression.transform = Object.create(math) + math.expression.mathWithTransform = Object.assign({}, math) + return math }() } From f9dc4f3d9db256d5ac791a3ea52c77c5d3277885 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Jan 2018 11:34:15 +0100 Subject: [PATCH 0170/5759] formula/mathjs: re-fix array to zero-based index instead of one-based index --- src/browser/js/app/widgets/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index 9102d646..8ed018a8 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -75,7 +75,8 @@ module.exports = { matrix: 'Array' }) // set math's parser array index base to zero - math.expression.transform = Object.create(math) + math.expression.mathWithTransform = Object.assign({}, math) + return math }() } From 0b01829a1ccf3c415735415d856d0d51f3a0bcbe Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 09:12:53 +0100 Subject: [PATCH 0171/5759] property inheritance: trigger 'widget-created' after widget manager registration avoid ignoring widgets in resolveProp --- src/browser/js/app/parser.js | 2 ++ src/browser/js/app/widgets/common/_widgets_base.js | 8 ++++++-- src/browser/js/app/widgets/containers/panel.js | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 92616ea7..831cc82a 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -82,6 +82,8 @@ var Parser = class Parser { widgetContainer[0].setAttribute('data-widget', widgetInner.hash) + widgetInner.created() + // dimensions / coordinates can't be < 0 for (let t of ['width', 'height', 'top', 'left']) { if (props.hasOwnProperty(t)) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 3c3492ba..7e25816c 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -81,8 +81,6 @@ module.exports = class _widgets_base { } - $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) - // cache precision if (this.props.precision != undefined) { this.precision = Math.min(20,Math.max(this.getProp('precision', undefined, false),0)) @@ -90,6 +88,12 @@ module.exports = class _widgets_base { } + created() { + + $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) + + } + sendValue(overrides) { var data = { diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 6732b6d6..4bb26a7a 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -110,7 +110,7 @@ module.exports = class Panel extends _widgets_base { } } - if (edited) $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) + if (edited) this.created() if (edited && this.parent && this.parent.registerHashes) this.parent.registerHashes(true) } From e874cc7f969d79a30f3a81a915764bcdd209f779 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 09:12:53 +0100 Subject: [PATCH 0172/5759] property inheritance: trigger 'widget-created' after widget manager registration avoid ignoring widgets in resolveProp --- src/browser/js/app/parser.js | 2 ++ src/browser/js/app/widgets/common/_widgets_base.js | 8 ++++++-- src/browser/js/app/widgets/containers/panel.js | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 92616ea7..831cc82a 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -82,6 +82,8 @@ var Parser = class Parser { widgetContainer[0].setAttribute('data-widget', widgetInner.hash) + widgetInner.created() + // dimensions / coordinates can't be < 0 for (let t of ['width', 'height', 'top', 'left']) { if (props.hasOwnProperty(t)) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 3c3492ba..7e25816c 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -81,8 +81,6 @@ module.exports = class _widgets_base { } - $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) - // cache precision if (this.props.precision != undefined) { this.precision = Math.min(20,Math.max(this.getProp('precision', undefined, false),0)) @@ -90,6 +88,12 @@ module.exports = class _widgets_base { } + created() { + + $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) + + } + sendValue(overrides) { var data = { diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 6732b6d6..4bb26a7a 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -110,7 +110,7 @@ module.exports = class Panel extends _widgets_base { } } - if (edited) $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) + if (edited) this.created() if (edited && this.parent && this.parent.registerHashes) this.parent.registerHashes(true) } From 55298d001aa7542eea17bb6865ae84499697b489 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 09:15:34 +0100 Subject: [PATCH 0173/5759] property inheritance: watch for widgetid creation event even if none found initially in case it gets created after --- .../js/app/widgets/common/_widgets_base.js | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 7e25816c..17648fce 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -175,30 +175,31 @@ module.exports = class _widgets_base { } } + if (id != 'this' && id != 'parent' && storeLinks) { + + if (k == '_value') { + + if (!this.linkedPropsValue[id]) this.linkedPropsValue[id] = [] + this.linkedPropsValue[id].push(propName) + + } else { + + + if (!this.linkedProps[id]) this.linkedProps[id] = [] + this.linkedProps[id].push(propName) + + } + + } + for (var i in widgets) { + if (widgets[i].props.hasOwnProperty(k) || k == '_value') { if (originalPropName == k && widgets[i].props.id == originalWidget.props.id) { throw `Circular property reference for ${originalWidget.props.id}.${originalPropName}` } - if (id != 'this' && id != 'parent' && storeLinks) { - - if (k == '_value') { - - if (!this.linkedPropsValue[id]) this.linkedPropsValue[id] = [] - this.linkedPropsValue[id].push(propName) - - } else { - - - if (!this.linkedProps[id]) this.linkedProps[id] = [] - this.linkedProps[id].push(propName) - - } - - } - var r = k == '_value' ? widgets[i].getValue(true) : widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) @@ -209,7 +210,9 @@ module.exports = class _widgets_base { return r } + } + }) try { From d753646118b173e7ba860e857394e9bd3ef24a87 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 09:15:34 +0100 Subject: [PATCH 0174/5759] property inheritance: watch for widgetid creation event even if none found initially in case it gets created after --- .../js/app/widgets/common/_widgets_base.js | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 7e25816c..17648fce 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -175,30 +175,31 @@ module.exports = class _widgets_base { } } + if (id != 'this' && id != 'parent' && storeLinks) { + + if (k == '_value') { + + if (!this.linkedPropsValue[id]) this.linkedPropsValue[id] = [] + this.linkedPropsValue[id].push(propName) + + } else { + + + if (!this.linkedProps[id]) this.linkedProps[id] = [] + this.linkedProps[id].push(propName) + + } + + } + for (var i in widgets) { + if (widgets[i].props.hasOwnProperty(k) || k == '_value') { if (originalPropName == k && widgets[i].props.id == originalWidget.props.id) { throw `Circular property reference for ${originalWidget.props.id}.${originalPropName}` } - if (id != 'this' && id != 'parent' && storeLinks) { - - if (k == '_value') { - - if (!this.linkedPropsValue[id]) this.linkedPropsValue[id] = [] - this.linkedPropsValue[id].push(propName) - - } else { - - - if (!this.linkedProps[id]) this.linkedProps[id] = [] - this.linkedProps[id].push(propName) - - } - - } - var r = k == '_value' ? widgets[i].getValue(true) : widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) @@ -209,7 +210,9 @@ module.exports = class _widgets_base { return r } + } + }) try { From aeecfec9cc522529ad4cad47e322adbc36efc201 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 09:20:26 +0100 Subject: [PATCH 0175/5759] log: prop inheritance --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d96a36ca..bc46bf8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ - bug fixes - plots now send their value to other widget for synchronization as expected - text widgets now apply their target widget's precision + - property inheritance accepts targetting a parent widget by its id - widgets - inputs: **new** `keys` widget, for keyboard bindings - - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) + - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) ## 0.22.0 From 532ba5663536954ca68735bc2fd6f0dbd5c17074 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 09:20:26 +0100 Subject: [PATCH 0176/5759] log: prop inheritance --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d96a36ca..bc46bf8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ - bug fixes - plots now send their value to other widget for synchronization as expected - text widgets now apply their target widget's precision + - property inheritance accepts targetting a parent widget by its id - widgets - inputs: **new** `keys` widget, for keyboard bindings - - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) + - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) ## 0.22.0 From 85de70b29a901771b34d7ad103b083b9ea0a38a3 Mon Sep 17 00:00:00 2001 From: cyberic99 <193917+cyberic99@users.noreply.github.com> Date: Thu, 4 Jan 2018 11:09:35 +0100 Subject: [PATCH 0177/5759] Allow switch widgets to display "key: value" instead of the default "key" --- src/browser/js/app/widgets/buttons/switch.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index b10a51cc..f86e4525 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -27,6 +27,7 @@ module.exports = class Switch extends _widgets_base { _switch:'switch', horizontal:false, + show_values:false, values:{"Value 1":1,"Value 2":2}, value:'', @@ -52,7 +53,8 @@ module.exports = class Switch extends _widgets_base { for (var k in this.getProp('values')) { this.values.push(this.getProp('values')[k]) - $(`
    ${iconify(parseFloat(k) != k ? k : this.getProp("values")[k])}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) + var the_val = (this.getProp('show_values')) ? ': ' + this.getProp('values')[k] : '' + $(`
    ${iconify(parseFloat(k) != k ? k : this.getProp("values")[k]) + the_val}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) } this.value = undefined From f36664718d40a3cf53018d7487662588defe2db2 Mon Sep 17 00:00:00 2001 From: cyberic99 <193917+cyberic99@users.noreply.github.com> Date: Thu, 4 Jan 2018 11:09:35 +0100 Subject: [PATCH 0178/5759] Allow switch widgets to display "key: value" instead of the default "key" --- src/browser/js/app/widgets/buttons/switch.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index b10a51cc..f86e4525 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -27,6 +27,7 @@ module.exports = class Switch extends _widgets_base { _switch:'switch', horizontal:false, + show_values:false, values:{"Value 1":1,"Value 2":2}, value:'', @@ -52,7 +53,8 @@ module.exports = class Switch extends _widgets_base { for (var k in this.getProp('values')) { this.values.push(this.getProp('values')[k]) - $(`
    ${iconify(parseFloat(k) != k ? k : this.getProp("values")[k])}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) + var the_val = (this.getProp('show_values')) ? ': ' + this.getProp('values')[k] : '' + $(`
    ${iconify(parseFloat(k) != k ? k : this.getProp("values")[k]) + the_val}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) } this.value = undefined From c0a01813d5d5cf573d677f42a3ed814aff9f6e90 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 14:45:03 +0100 Subject: [PATCH 0179/5759] switch: rename show_values to showValues and clean --- src/browser/js/app/widgets/buttons/switch.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index f86e4525..7ddbe3af 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -27,7 +27,7 @@ module.exports = class Switch extends _widgets_base { _switch:'switch', horizontal:false, - show_values:false, + showValues:false, values:{"Value 1":1,"Value 2":2}, value:'', @@ -51,10 +51,17 @@ module.exports = class Switch extends _widgets_base { this.values = [] + var isArray = Array.isArray(this.getProp('values')) + for (var k in this.getProp('values')) { + this.values.push(this.getProp('values')[k]) - var the_val = (this.getProp('show_values')) ? ': ' + this.getProp('values')[k] : '' - $(`
    ${iconify(parseFloat(k) != k ? k : this.getProp("values")[k]) + the_val}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) + + var label = isArray ? this.getProp('values')[k]: k + if (this.getProp('showValues') && !isArray) label = label + ': ' + this.getProp('values')[k] + + $(`
    ${iconify(label)}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) + } this.value = undefined From c544a37434a7ace1ce3fa21f01c385a59ba48b0b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 14:45:03 +0100 Subject: [PATCH 0180/5759] switch: rename show_values to showValues and clean --- src/browser/js/app/widgets/buttons/switch.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index f86e4525..7ddbe3af 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -27,7 +27,7 @@ module.exports = class Switch extends _widgets_base { _switch:'switch', horizontal:false, - show_values:false, + showValues:false, values:{"Value 1":1,"Value 2":2}, value:'', @@ -51,10 +51,17 @@ module.exports = class Switch extends _widgets_base { this.values = [] + var isArray = Array.isArray(this.getProp('values')) + for (var k in this.getProp('values')) { + this.values.push(this.getProp('values')[k]) - var the_val = (this.getProp('show_values')) ? ': ' + this.getProp('values')[k] : '' - $(`
    ${iconify(parseFloat(k) != k ? k : this.getProp("values")[k]) + the_val}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) + + var label = isArray ? this.getProp('values')[k]: k + if (this.getProp('showValues') && !isArray) label = label + ': ' + this.getProp('values')[k] + + $(`
    ${iconify(label)}
    `).data({value:this.getProp('values')[k]}).appendTo(this.widget) + } this.value = undefined From 85785709c8f6d030993a82a24f0b1dbe9fd686d5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 14:56:36 +0100 Subject: [PATCH 0181/5759] switch: log, doc and indentation fix --- CHANGELOG.md | 1 + resources/docs/widgets/buttons.md | 7 ++++++- src/browser/js/app/widgets/buttons/switch.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc46bf8c..2c19084b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - widgets - inputs: **new** `keys` widget, for keyboard bindings - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) + - switch: added `showValues` to display both values and labels in the buttons ## 0.22.0 diff --git a/resources/docs/widgets/buttons.md b/resources/docs/widgets/buttons.md index 13cdb383..a4bc92b1 100644 --- a/resources/docs/widgets/buttons.md +++ b/resources/docs/widgets/buttons.md @@ -78,7 +78,6 @@ Setting the `push`'s value externally (via osc) will toggle it's inner light. // etc } ``` - ### `values` - type: `array|object` - default: `{"Value 1":1,"Value 2":2}` @@ -86,6 +85,12 @@ Setting the `push`'s value externally (via osc) will toggle it's inner light. - `array` of possible values to switch between : `[1,2,3]` - `object` of `"label":value` pairs +### `showValues` +- type: `boolean` +- default: `false` +- usage: if `values` is an `object`, set to `true` to display both values and labels instead of labels only + + ## Dropdown ```js { diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index 7ddbe3af..f34601e0 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -51,7 +51,7 @@ module.exports = class Switch extends _widgets_base { this.values = [] - var isArray = Array.isArray(this.getProp('values')) + var isArray = Array.isArray(this.getProp('values')) for (var k in this.getProp('values')) { From 69a4623dfd89ea96e69cc283fc9d69c4498322cd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 14:56:36 +0100 Subject: [PATCH 0182/5759] switch: log, doc and indentation fix --- CHANGELOG.md | 1 + resources/docs/widgets/buttons.md | 7 ++++++- src/browser/js/app/widgets/buttons/switch.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc46bf8c..2c19084b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - widgets - inputs: **new** `keys` widget, for keyboard bindings - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) + - switch: added `showValues` to display both values and labels in the buttons ## 0.22.0 diff --git a/resources/docs/widgets/buttons.md b/resources/docs/widgets/buttons.md index 13cdb383..a4bc92b1 100644 --- a/resources/docs/widgets/buttons.md +++ b/resources/docs/widgets/buttons.md @@ -78,7 +78,6 @@ Setting the `push`'s value externally (via osc) will toggle it's inner light. // etc } ``` - ### `values` - type: `array|object` - default: `{"Value 1":1,"Value 2":2}` @@ -86,6 +85,12 @@ Setting the `push`'s value externally (via osc) will toggle it's inner light. - `array` of possible values to switch between : `[1,2,3]` - `object` of `"label":value` pairs +### `showValues` +- type: `boolean` +- default: `false` +- usage: if `values` is an `object`, set to `true` to display both values and labels instead of labels only + + ## Dropdown ```js { diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index 7ddbe3af..f34601e0 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -51,7 +51,7 @@ module.exports = class Switch extends _widgets_base { this.values = [] - var isArray = Array.isArray(this.getProp('values')) + var isArray = Array.isArray(this.getProp('values')) for (var k in this.getProp('values')) { From ec3113501e3c505364a5c8d9696142aec9213642 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 20:10:45 +0100 Subject: [PATCH 0183/5759] editor: keep context menu items open when the mouse leaves --- src/browser/js/app/editor/context-menu.js | 116 ++++++++++++++-------- src/browser/js/app/editor/init.js | 11 +- src/browser/scss/_editor.scss | 2 +- 3 files changed, 81 insertions(+), 48 deletions(-) diff --git a/src/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js index cf9ee0cd..aaf0d930 100644 --- a/src/browser/js/app/editor/context-menu.js +++ b/src/browser/js/app/editor/context-menu.js @@ -1,59 +1,91 @@ -var correctPosition = function (m, parent){ - var pos = m.offset(), - width = m.outerWidth(), - height = m.outerHeight(), - totalWidth = $('body').outerWidth(), - totalHeight = $('body').outerHeight(), - leftAdjust = parent=='body'?0:parent.outerWidth()-2 +class ContextMenu { - if (width + pos.left > totalWidth) { - m.css({'margin-left':totalWidth-(width + pos.left + leftAdjust)}) - } - if (height + pos.top > totalHeight) { - m.css({'margin-top':totalHeight-(height + pos.top)}) - } -} + constructor(){ -var ev = 'fake-click' + this.menu = null + this.event = 'fake-click.editor' + this.root = 'body' - -var menu = function(e,actions,parent){ - - var m = $('
    ') - if (parent=='body') { - m.css({top:e.pageY+'px',left:e.pageX+'px'}) } - for (let label in actions) { + open(e, actions, parent) { - if (typeof actions[label] == 'object') { + var menu = $('
    ') - var item = $(`
    ${label}
    `).appendTo(m).on(ev,function(e){e.stopPropagation()}) - menu(e,actions[label],item) - - - } else { - - $(`
    ${label}
    `).on(ev + '.editor',function(){ - var callback = actions[label] - return function(e){ - callback() - $('.context-menu').remove() - } - }()).appendTo(m) + if (!parent) { + this.menu = menu + menu.css({ + top: e.pageY + 'px', + left: e.pageX + 'px' + }) } + + for (let label in actions) { + + if (typeof actions[label] == 'object') { + + var item = $(`
    ${label}
    `) + .appendTo(menu) + .on(this.event, function(e){e.stopPropagation()}) + + this.open(e,actions[label],item) + + + } else { + + $(`
    ${label}
    `).on(this.event,()=>{ + actions[label]() + this.close() + }).appendTo(menu) + } + + } + + if (!parent) { + + menu.find('.item').hover(function(){ + $(this).siblings().removeClass('focus').find('.focus').removeClass('focus') + $(this).addClass('focus') + }) + + } + + menu.appendTo(parent || this.root) + + this.correctPosition(menu,parent) + } - m.appendTo(parent) + close() { + if (this.menu) { + this.menu.remove() + this.menu = null + + } + + } + + correctPosition(menu, parent) { + + var pos = menu.offset(), + width = menu.outerWidth(), + height = menu.outerHeight(), + totalWidth = $('body').outerWidth(), + totalHeight = $('body').outerHeight(), + leftAdjust = !parent ? 0 : parent.outerWidth() - 2 + + if (width + pos.left > totalWidth) { + menu.css({'margin-left': totalWidth - (width + pos.left + leftAdjust)}) + } + if (height + pos.top > totalHeight) { + menu.css({'margin-top': totalHeight - (height + pos.top)}) + } - if (parent=='body') { - correctPosition(m,parent) - } else { - parent.hover(function(){correctPosition(m,parent)}) } } -module.exports = menu + +module.exports = ContextMenu diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 5b412164..35a5bdd2 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -3,9 +3,10 @@ var {getObjectData, updateDom, incrementWidget} = require('./data-workers'), createPopup = require('../utils').createPopup, {widgets, categories} = require('../widgets/'), widgetManager = require('../managers/widgets'), - menu = require('./context-menu') + ContextMenu = require('./context-menu') +var menu = new ContextMenu() var init = function(){ @@ -17,7 +18,7 @@ var init = function(){ // already handled in drag.js // if (e.type=='mousedown' && e.originalEvent.sourceCapabilities.firesTouchEvents) return - $('.context-menu').remove() + menu.close() if (e.target.classList.contains('not-editable')) return @@ -41,12 +42,12 @@ var init = function(){ if (e.type!='fake-right-click') return if (container.hasClass('root-container')) { - menu(d,{ + menu.open(d,{ ' Add tab': function(){ data.tabs.push({}) updateDom(container,data) } - },'body') + }) return } @@ -168,7 +169,7 @@ var init = function(){ } - menu(d,actions,'body') + menu.open(d,actions) }) diff --git a/src/browser/scss/_editor.scss b/src/browser/scss/_editor.scss index 91ba529c..e1adccc1 100644 --- a/src/browser/scss/_editor.scss +++ b/src/browser/scss/_editor.scss @@ -268,7 +268,7 @@ width: 15rem; text-align: center; } - &:hover, &:focus { + &.focus, &:focus { > .context-menu { pointer-events: auto; opacity: 1; From dda61f4641a70e67d423fc45a2f23988ae7976b3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 20:10:45 +0100 Subject: [PATCH 0184/5759] editor: keep context menu items open when the mouse leaves --- src/browser/js/app/editor/context-menu.js | 116 ++++++++++++++-------- src/browser/js/app/editor/init.js | 11 +- src/browser/scss/_editor.scss | 2 +- 3 files changed, 81 insertions(+), 48 deletions(-) diff --git a/src/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js index cf9ee0cd..aaf0d930 100644 --- a/src/browser/js/app/editor/context-menu.js +++ b/src/browser/js/app/editor/context-menu.js @@ -1,59 +1,91 @@ -var correctPosition = function (m, parent){ - var pos = m.offset(), - width = m.outerWidth(), - height = m.outerHeight(), - totalWidth = $('body').outerWidth(), - totalHeight = $('body').outerHeight(), - leftAdjust = parent=='body'?0:parent.outerWidth()-2 +class ContextMenu { - if (width + pos.left > totalWidth) { - m.css({'margin-left':totalWidth-(width + pos.left + leftAdjust)}) - } - if (height + pos.top > totalHeight) { - m.css({'margin-top':totalHeight-(height + pos.top)}) - } -} + constructor(){ -var ev = 'fake-click' + this.menu = null + this.event = 'fake-click.editor' + this.root = 'body' - -var menu = function(e,actions,parent){ - - var m = $('
    ') - if (parent=='body') { - m.css({top:e.pageY+'px',left:e.pageX+'px'}) } - for (let label in actions) { + open(e, actions, parent) { - if (typeof actions[label] == 'object') { + var menu = $('
    ') - var item = $(`
    ${label}
    `).appendTo(m).on(ev,function(e){e.stopPropagation()}) - menu(e,actions[label],item) - - - } else { - - $(`
    ${label}
    `).on(ev + '.editor',function(){ - var callback = actions[label] - return function(e){ - callback() - $('.context-menu').remove() - } - }()).appendTo(m) + if (!parent) { + this.menu = menu + menu.css({ + top: e.pageY + 'px', + left: e.pageX + 'px' + }) } + + for (let label in actions) { + + if (typeof actions[label] == 'object') { + + var item = $(`
    ${label}
    `) + .appendTo(menu) + .on(this.event, function(e){e.stopPropagation()}) + + this.open(e,actions[label],item) + + + } else { + + $(`
    ${label}
    `).on(this.event,()=>{ + actions[label]() + this.close() + }).appendTo(menu) + } + + } + + if (!parent) { + + menu.find('.item').hover(function(){ + $(this).siblings().removeClass('focus').find('.focus').removeClass('focus') + $(this).addClass('focus') + }) + + } + + menu.appendTo(parent || this.root) + + this.correctPosition(menu,parent) + } - m.appendTo(parent) + close() { + if (this.menu) { + this.menu.remove() + this.menu = null + + } + + } + + correctPosition(menu, parent) { + + var pos = menu.offset(), + width = menu.outerWidth(), + height = menu.outerHeight(), + totalWidth = $('body').outerWidth(), + totalHeight = $('body').outerHeight(), + leftAdjust = !parent ? 0 : parent.outerWidth() - 2 + + if (width + pos.left > totalWidth) { + menu.css({'margin-left': totalWidth - (width + pos.left + leftAdjust)}) + } + if (height + pos.top > totalHeight) { + menu.css({'margin-top': totalHeight - (height + pos.top)}) + } - if (parent=='body') { - correctPosition(m,parent) - } else { - parent.hover(function(){correctPosition(m,parent)}) } } -module.exports = menu + +module.exports = ContextMenu diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 5b412164..35a5bdd2 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -3,9 +3,10 @@ var {getObjectData, updateDom, incrementWidget} = require('./data-workers'), createPopup = require('../utils').createPopup, {widgets, categories} = require('../widgets/'), widgetManager = require('../managers/widgets'), - menu = require('./context-menu') + ContextMenu = require('./context-menu') +var menu = new ContextMenu() var init = function(){ @@ -17,7 +18,7 @@ var init = function(){ // already handled in drag.js // if (e.type=='mousedown' && e.originalEvent.sourceCapabilities.firesTouchEvents) return - $('.context-menu').remove() + menu.close() if (e.target.classList.contains('not-editable')) return @@ -41,12 +42,12 @@ var init = function(){ if (e.type!='fake-right-click') return if (container.hasClass('root-container')) { - menu(d,{ + menu.open(d,{ ' Add tab': function(){ data.tabs.push({}) updateDom(container,data) } - },'body') + }) return } @@ -168,7 +169,7 @@ var init = function(){ } - menu(d,actions,'body') + menu.open(d,actions) }) diff --git a/src/browser/scss/_editor.scss b/src/browser/scss/_editor.scss index 91ba529c..e1adccc1 100644 --- a/src/browser/scss/_editor.scss +++ b/src/browser/scss/_editor.scss @@ -268,7 +268,7 @@ width: 15rem; text-align: center; } - &:hover, &:focus { + &.focus, &:focus { > .context-menu { pointer-events: auto; opacity: 1; From 841ea9e19c2202bcc522f8046011b145684f2764 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 20:42:49 +0100 Subject: [PATCH 0185/5759] editor: fix context menu regression (position correction) --- src/browser/js/app/editor/context-menu.js | 12 +++++++++--- src/browser/scss/widgets/_knob.scss | 7 +++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js index aaf0d930..4fefec06 100644 --- a/src/browser/js/app/editor/context-menu.js +++ b/src/browser/js/app/editor/context-menu.js @@ -41,6 +41,8 @@ class ContextMenu { } + menu.appendTo(parent || this.root) + if (!parent) { menu.find('.item').hover(function(){ @@ -48,11 +50,15 @@ class ContextMenu { $(this).addClass('focus') }) + this.correctPosition(menu) + menu.find('.context-menu').each((i, m)=>{ + this.correctPosition($(m), $(m).parent()) + }) + + + } - menu.appendTo(parent || this.root) - - this.correctPosition(menu,parent) } diff --git a/src/browser/scss/widgets/_knob.scss b/src/browser/scss/widgets/_knob.scss index c35da1d0..0f28ec69 100644 --- a/src/browser/scss/widgets/_knob.scss +++ b/src/browser/scss/widgets/_knob.scss @@ -87,5 +87,12 @@ .drag-knob { opacity: 0; + + // safari fix + position: absolute; + top:0; + bottom:0; + left:0; + right:0; } } From ee7d167c53feb11a442a71f60121821ee28ca367 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 20:42:49 +0100 Subject: [PATCH 0186/5759] editor: fix context menu regression (position correction) --- src/browser/js/app/editor/context-menu.js | 12 +++++++++--- src/browser/scss/widgets/_knob.scss | 7 +++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js index aaf0d930..4fefec06 100644 --- a/src/browser/js/app/editor/context-menu.js +++ b/src/browser/js/app/editor/context-menu.js @@ -41,6 +41,8 @@ class ContextMenu { } + menu.appendTo(parent || this.root) + if (!parent) { menu.find('.item').hover(function(){ @@ -48,11 +50,15 @@ class ContextMenu { $(this).addClass('focus') }) + this.correctPosition(menu) + menu.find('.context-menu').each((i, m)=>{ + this.correctPosition($(m), $(m).parent()) + }) + + + } - menu.appendTo(parent || this.root) - - this.correctPosition(menu,parent) } diff --git a/src/browser/scss/widgets/_knob.scss b/src/browser/scss/widgets/_knob.scss index c35da1d0..0f28ec69 100644 --- a/src/browser/scss/widgets/_knob.scss +++ b/src/browser/scss/widgets/_knob.scss @@ -87,5 +87,12 @@ .drag-knob { opacity: 0; + + // safari fix + position: absolute; + top:0; + bottom:0; + left:0; + right:0; } } From 7a544b862db2114becdb050f7785ef2b055bac92 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 22:55:54 +0100 Subject: [PATCH 0187/5759] editor: context menu: unfocus non-submenu item on mouseout --- src/browser/js/app/editor/context-menu.js | 28 ++++++++++++----------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js index 4fefec06..56461df9 100644 --- a/src/browser/js/app/editor/context-menu.js +++ b/src/browser/js/app/editor/context-menu.js @@ -12,14 +12,6 @@ class ContextMenu { var menu = $('
    ') - if (!parent) { - this.menu = menu - menu.css({ - top: e.pageY + 'px', - left: e.pageX + 'px' - }) - } - for (let label in actions) { if (typeof actions[label] == 'object') { @@ -41,22 +33,32 @@ class ContextMenu { } - menu.appendTo(parent || this.root) + if (parent) menu.appendTo(parent) if (!parent) { + this.menu = menu + + menu.appendTo(this.root) + menu.find('.item').hover(function(){ $(this).siblings().removeClass('focus').find('.focus').removeClass('focus') $(this).addClass('focus') + }, function(){ + if (!$(this).hasClass('has-sub')) $(this).removeClass('focus') + }) + + menu.css({ + top: e.pageY + 'px', + left: e.pageX + 'px' }) this.correctPosition(menu) + menu.find('.context-menu').each((i, m)=>{ this.correctPosition($(m), $(m).parent()) }) - - } @@ -78,8 +80,8 @@ class ContextMenu { var pos = menu.offset(), width = menu.outerWidth(), height = menu.outerHeight(), - totalWidth = $('body').outerWidth(), - totalHeight = $('body').outerHeight(), + totalWidth = $(this.root).outerWidth(), + totalHeight = $(this.root).outerHeight(), leftAdjust = !parent ? 0 : parent.outerWidth() - 2 if (width + pos.left > totalWidth) { From dff4e252d3a300bd58f490cbdaa47f3159d951b1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Jan 2018 22:55:54 +0100 Subject: [PATCH 0188/5759] editor: context menu: unfocus non-submenu item on mouseout --- src/browser/js/app/editor/context-menu.js | 28 ++++++++++++----------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js index 4fefec06..56461df9 100644 --- a/src/browser/js/app/editor/context-menu.js +++ b/src/browser/js/app/editor/context-menu.js @@ -12,14 +12,6 @@ class ContextMenu { var menu = $('
    ') - if (!parent) { - this.menu = menu - menu.css({ - top: e.pageY + 'px', - left: e.pageX + 'px' - }) - } - for (let label in actions) { if (typeof actions[label] == 'object') { @@ -41,22 +33,32 @@ class ContextMenu { } - menu.appendTo(parent || this.root) + if (parent) menu.appendTo(parent) if (!parent) { + this.menu = menu + + menu.appendTo(this.root) + menu.find('.item').hover(function(){ $(this).siblings().removeClass('focus').find('.focus').removeClass('focus') $(this).addClass('focus') + }, function(){ + if (!$(this).hasClass('has-sub')) $(this).removeClass('focus') + }) + + menu.css({ + top: e.pageY + 'px', + left: e.pageX + 'px' }) this.correctPosition(menu) + menu.find('.context-menu').each((i, m)=>{ this.correctPosition($(m), $(m).parent()) }) - - } @@ -78,8 +80,8 @@ class ContextMenu { var pos = menu.offset(), width = menu.outerWidth(), height = menu.outerHeight(), - totalWidth = $('body').outerWidth(), - totalHeight = $('body').outerHeight(), + totalWidth = $(this.root).outerWidth(), + totalHeight = $(this.root).outerHeight(), leftAdjust = !parent ? 0 : parent.outerWidth() - 2 if (width + pos.left > totalWidth) { From f675e05d7e2dbed840978c8c3dafac89516d4194 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:19:49 +0100 Subject: [PATCH 0189/5759] widgets: move widget instance dom reference storing to constructor --- src/browser/js/app/managers/widgets.js | 3 --- src/browser/js/app/widgets/common/_widgets_base.js | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index 1fe26bcb..f1a8f38e 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -101,9 +101,6 @@ var WidgetManager = class WidgetManager { this.scrollingWidgets.push(hash) } - widget.widget.abstract = widget - if (widget.container) widget.container[0].abstract = widget - ipc.send('addWidget', { hash:hash, data:{ diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 17648fce..a056d8de 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -26,6 +26,9 @@ module.exports = class _widgets_base { this.parentNode = options.parentNode this.hash = _widgets_base.createHash() + this.widget.abstract = this + if (this.container) this.container[0].abstract = this + // Turn preArgs into array if (this.props.preArgs !== undefined && !Array.isArray(this.resolveProp('preArgs', undefined, false))) { this.props.preArgs = [this.props.preArgs] From 3cf45e9102ca43ad8c8048655aaab46f8f4bfa48 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:19:49 +0100 Subject: [PATCH 0190/5759] widgets: move widget instance dom reference storing to constructor --- src/browser/js/app/managers/widgets.js | 3 --- src/browser/js/app/widgets/common/_widgets_base.js | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index 1fe26bcb..f1a8f38e 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -101,9 +101,6 @@ var WidgetManager = class WidgetManager { this.scrollingWidgets.push(hash) } - widget.widget.abstract = widget - if (widget.container) widget.container[0].abstract = widget - ipc.send('addWidget', { hash:hash, data:{ diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 17648fce..a056d8de 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -26,6 +26,9 @@ module.exports = class _widgets_base { this.parentNode = options.parentNode this.hash = _widgets_base.createHash() + this.widget.abstract = this + if (this.container) this.container[0].abstract = this + // Turn preArgs into array if (this.props.preArgs !== undefined && !Array.isArray(this.resolveProp('preArgs', undefined, false))) { this.props.preArgs = [this.props.preArgs] From 23df2be2e7635a8572c406bfbfd6d9e09b0c1624 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:21:02 +0100 Subject: [PATCH 0191/5759] property inheritance: don't recreate the widget if only prop "value" has changed (call setValue) -> this makes reverse inheritance work for a container's "value" property targetting its own children --- .../js/app/widgets/common/_widgets_base.js | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index a056d8de..a535c1b3 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -238,15 +238,30 @@ module.exports = class _widgets_base { } checkPropsChanged(propNames){ + + if (propNames.indexOf('value') != -1 && this.propHasChanged('value')) { + this.cachedProps['value'] = this.resolveProp('value', undefined, false) + this.setValue(this.getProp('value'), {sync:true, send:true}) + } + for (var propName of propNames) { - if (JSON.stringify(this.cachedProps[propName]) != JSON.stringify(this.resolveProp(propName, undefined, false))) { + if (propName != 'value' && this.propHasChanged(propName)) { return this.reCreateWidget() } } + } - reCreateWidget(){ - updateDom(this.container, this.props, true) + propHasChanged(propName) { + + return JSON.stringify(this.cachedProps[propName]) != JSON.stringify(this.resolveProp(propName, undefined, false)) + + } + + reCreateWidget(valueChanged){ + + updateDom(this.container, this.props, true, valueChanged) + } onRemove(){ From d86375f536078053b92cdb808f8b0d6fb4bd0b8c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:21:02 +0100 Subject: [PATCH 0192/5759] property inheritance: don't recreate the widget if only prop "value" has changed (call setValue) -> this makes reverse inheritance work for a container's "value" property targetting its own children --- .../js/app/widgets/common/_widgets_base.js | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index a056d8de..a535c1b3 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -238,15 +238,30 @@ module.exports = class _widgets_base { } checkPropsChanged(propNames){ + + if (propNames.indexOf('value') != -1 && this.propHasChanged('value')) { + this.cachedProps['value'] = this.resolveProp('value', undefined, false) + this.setValue(this.getProp('value'), {sync:true, send:true}) + } + for (var propName of propNames) { - if (JSON.stringify(this.cachedProps[propName]) != JSON.stringify(this.resolveProp(propName, undefined, false))) { + if (propName != 'value' && this.propHasChanged(propName)) { return this.reCreateWidget() } } + } - reCreateWidget(){ - updateDom(this.container, this.props, true) + propHasChanged(propName) { + + return JSON.stringify(this.cachedProps[propName]) != JSON.stringify(this.resolveProp(propName, undefined, false)) + + } + + reCreateWidget(valueChanged){ + + updateDom(this.container, this.props, true, valueChanged) + } onRemove(){ From 344b39a2fbd0676ee9c7ce0b111e95e3cf2098fc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:32:59 +0100 Subject: [PATCH 0193/5759] property inheritance: when updating "value", don't send osc if initial event is a widget sync-only "change" --- src/browser/js/app/widgets/common/_widgets_base.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index a535c1b3..f2fb5562 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -67,7 +67,7 @@ module.exports = class _widgets_base { $('body').on(`widget-created.${this.hash}`, (e)=>{ var {id} = e if (this.linkedProps[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedProps[id]) + this.checkPropsChanged(this.linkedProps[id], true) } }) @@ -78,7 +78,7 @@ module.exports = class _widgets_base { $('body').on(`change.${this.hash}`, (e)=>{ var {id} = e if (this.linkedPropsValue[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedPropsValue[id]) + this.checkPropsChanged(this.linkedPropsValue[id], e.options.send) } }) @@ -237,11 +237,11 @@ module.exports = class _widgets_base { return this.cachedProps[propName] } - checkPropsChanged(propNames){ + checkPropsChanged(propNames, send){ if (propNames.indexOf('value') != -1 && this.propHasChanged('value')) { this.cachedProps['value'] = this.resolveProp('value', undefined, false) - this.setValue(this.getProp('value'), {sync:true, send:true}) + this.setValue(this.getProp('value'), {sync:true, send: send}) } for (var propName of propNames) { From 370c73c7aabb21a3cff9c7e91c7b4ddb1e95a0c8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:32:59 +0100 Subject: [PATCH 0194/5759] property inheritance: when updating "value", don't send osc if initial event is a widget sync-only "change" --- src/browser/js/app/widgets/common/_widgets_base.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index a535c1b3..f2fb5562 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -67,7 +67,7 @@ module.exports = class _widgets_base { $('body').on(`widget-created.${this.hash}`, (e)=>{ var {id} = e if (this.linkedProps[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedProps[id]) + this.checkPropsChanged(this.linkedProps[id], true) } }) @@ -78,7 +78,7 @@ module.exports = class _widgets_base { $('body').on(`change.${this.hash}`, (e)=>{ var {id} = e if (this.linkedPropsValue[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedPropsValue[id]) + this.checkPropsChanged(this.linkedPropsValue[id], e.options.send) } }) @@ -237,11 +237,11 @@ module.exports = class _widgets_base { return this.cachedProps[propName] } - checkPropsChanged(propNames){ + checkPropsChanged(propNames, send){ if (propNames.indexOf('value') != -1 && this.propHasChanged('value')) { this.cachedProps['value'] = this.resolveProp('value', undefined, false) - this.setValue(this.getProp('value'), {sync:true, send:true}) + this.setValue(this.getProp('value'), {sync:true, send: send}) } for (var propName of propNames) { From 5c1fdea704a21712e6326d5c527cd6e36561693d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:49:18 +0100 Subject: [PATCH 0195/5759] doc: property inheritance --- resources/docs/extras/property-inheritance.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/docs/extras/property-inheritance.md b/resources/docs/extras/property-inheritance.md index a21d55cd..237d8f40 100644 --- a/resources/docs/extras/property-inheritance.md +++ b/resources/docs/extras/property-inheritance.md @@ -6,12 +6,18 @@ Widgets can use each other's property values by using the following syntaxes: - `@{parent.propertyName}` - `@{widgetId.propertyName}` (where `widgetId` is the target widget's `id`) +`propertyName` can be any of the target widget's properties. Additionally, the special property name `_value` refers to a widget's value, as opposed to its `value` property. + It can be used to: - concatenate strings: `/@{parent.id}/some_suffix` - define object value: `["@{parent.id}"]` -If the retreived property is an object (`[] / {}`), it can be used as is or one can retreive a specfic item from it: `@{parent.variables.0}` will try to return the first item of the parent's `variables` property. +If the retreived property is an object (`[] / {}`), a subset can be defined by appending a dot and a key (array index or object key) : `@{parent.variables.key}` !!! note "" The root panel's `id` is `root`. + + +!!! warning "What about reverse inheritance ?" + Containers cannot inherit their children's properties but to define their `value` property. From 17db9f5d7778a3eaeba20a4fc260b93c30c03890 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:49:18 +0100 Subject: [PATCH 0196/5759] doc: property inheritance --- resources/docs/extras/property-inheritance.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/docs/extras/property-inheritance.md b/resources/docs/extras/property-inheritance.md index a21d55cd..237d8f40 100644 --- a/resources/docs/extras/property-inheritance.md +++ b/resources/docs/extras/property-inheritance.md @@ -6,12 +6,18 @@ Widgets can use each other's property values by using the following syntaxes: - `@{parent.propertyName}` - `@{widgetId.propertyName}` (where `widgetId` is the target widget's `id`) +`propertyName` can be any of the target widget's properties. Additionally, the special property name `_value` refers to a widget's value, as opposed to its `value` property. + It can be used to: - concatenate strings: `/@{parent.id}/some_suffix` - define object value: `["@{parent.id}"]` -If the retreived property is an object (`[] / {}`), it can be used as is or one can retreive a specfic item from it: `@{parent.variables.0}` will try to return the first item of the parent's `variables` property. +If the retreived property is an object (`[] / {}`), a subset can be defined by appending a dot and a key (array index or object key) : `@{parent.variables.key}` !!! note "" The root panel's `id` is `root`. + + +!!! warning "What about reverse inheritance ?" + Containers cannot inherit their children's properties but to define their `value` property. From 59506a6b823825929a3a15ec5485a443ec7ad42f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:57:19 +0100 Subject: [PATCH 0197/5759] editor: handle "value" prop editing gracefully (just dont restore the widget's state, as the parser apply one already) --- src/browser/js/app/editor/data-workers.js | 9 +++++---- src/browser/js/app/editor/edit-objects.js | 5 +---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index f4d555c2..13e229eb 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -15,7 +15,7 @@ var getObjectData = function(obj){ } -var updateDom = function(container,data, remote) { +var updateDom = function(container,data, remote, applyValue) { // save state var scroll = $('#sidepanel').scrollTop(), @@ -44,8 +44,8 @@ var updateDom = function(container,data, remote) { if (data.type == 'tab') newContainer.trigger('tab-created') - if (container[0].abstract.parent && container[0].abstract.parent.registerHashes) { - container[0].abstract.parent.registerHashes(true) + if (newContainer[0].abstract.parent && newContainer[0].abstract.parent.registerHashes) { + newContainer[0].abstract.parent.registerHashes(true) } $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) @@ -53,8 +53,9 @@ var updateDom = function(container,data, remote) { newContainer.trigger('resize') - // restore state + if (applyValue) delete wState[newContainer[0].abstract.getProp('id')] + for (let id in wState) { for (let w of widgetManager.getWidgetById(id)) { if (w.setValue) w.setValue(wState[id]) diff --git a/src/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js index c11f941a..9e26f6e1 100644 --- a/src/browser/js/app/editor/edit-objects.js +++ b/src/browser/js/app/editor/edit-objects.js @@ -111,10 +111,7 @@ var editObject = function(container, data, refresh){ if (v==='') delete data[title] try { - var w = updateDom(container,data) - if (title == 'value' && v != '') { - w[0].abstract.setValue(v, {sync:true}) - } + var w = updateDom(container,data, false, title == 'value' && v != '') wrapper.removeClass('error') } catch (err) { wrapper.addClass('error') From e4fbb55d09d8e8f8e20aec803b9cc9c2a402f750 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:57:19 +0100 Subject: [PATCH 0198/5759] editor: handle "value" prop editing gracefully (just dont restore the widget's state, as the parser apply one already) --- src/browser/js/app/editor/data-workers.js | 9 +++++---- src/browser/js/app/editor/edit-objects.js | 5 +---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index f4d555c2..13e229eb 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -15,7 +15,7 @@ var getObjectData = function(obj){ } -var updateDom = function(container,data, remote) { +var updateDom = function(container,data, remote, applyValue) { // save state var scroll = $('#sidepanel').scrollTop(), @@ -44,8 +44,8 @@ var updateDom = function(container,data, remote) { if (data.type == 'tab') newContainer.trigger('tab-created') - if (container[0].abstract.parent && container[0].abstract.parent.registerHashes) { - container[0].abstract.parent.registerHashes(true) + if (newContainer[0].abstract.parent && newContainer[0].abstract.parent.registerHashes) { + newContainer[0].abstract.parent.registerHashes(true) } $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) @@ -53,8 +53,9 @@ var updateDom = function(container,data, remote) { newContainer.trigger('resize') - // restore state + if (applyValue) delete wState[newContainer[0].abstract.getProp('id')] + for (let id in wState) { for (let w of widgetManager.getWidgetById(id)) { if (w.setValue) w.setValue(wState[id]) diff --git a/src/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js index c11f941a..9e26f6e1 100644 --- a/src/browser/js/app/editor/edit-objects.js +++ b/src/browser/js/app/editor/edit-objects.js @@ -111,10 +111,7 @@ var editObject = function(container, data, refresh){ if (v==='') delete data[title] try { - var w = updateDom(container,data) - if (title == 'value' && v != '') { - w[0].abstract.setValue(v, {sync:true}) - } + var w = updateDom(container,data, false, title == 'value' && v != '') wrapper.removeClass('error') } catch (err) { wrapper.addClass('error') From 74f59a5c9e62f75237d9e1dbeefb1f1e1ed79efb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:58:36 +0100 Subject: [PATCH 0199/5759] parser: when applying "value" property, make widget emit "change" event --- src/browser/js/app/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 831cc82a..ed9d136d 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -150,7 +150,7 @@ var Parser = class Parser { // set widget's initial state if (widgetInner.getProp('value') !== '' && widgetInner.setValue) { - widgetInner.setValue(widgetInner.getProp('value')) + widgetInner.setValue(widgetInner.getProp('value'), {sync:true}) } // Append the widget to its parent From 408945e399e84734807db6401a771a137102b542 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:58:36 +0100 Subject: [PATCH 0200/5759] parser: when applying "value" property, make widget emit "change" event --- src/browser/js/app/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 831cc82a..ed9d136d 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -150,7 +150,7 @@ var Parser = class Parser { // set widget's initial state if (widgetInner.getProp('value') !== '' && widgetInner.setValue) { - widgetInner.setValue(widgetInner.getProp('value')) + widgetInner.setValue(widgetInner.getProp('value'), {sync:true}) } // Append the widget to its parent From 66d48a38fc3d69d8683f5ce35f6cd69e90daa1ae Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:59:36 +0100 Subject: [PATCH 0201/5759] property inheritance: on "value" update only send osc if there was a change event firing osc --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index f2fb5562..99a715ef 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -67,7 +67,7 @@ module.exports = class _widgets_base { $('body').on(`widget-created.${this.hash}`, (e)=>{ var {id} = e if (this.linkedProps[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedProps[id], true) + this.checkPropsChanged(this.linkedProps[id]) } }) From 667c880745a5f4d3ec7b98a613ca71f1a1138b4a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 5 Jan 2018 16:59:36 +0100 Subject: [PATCH 0202/5759] property inheritance: on "value" update only send osc if there was a change event firing osc --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index f2fb5562..99a715ef 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -67,7 +67,7 @@ module.exports = class _widgets_base { $('body').on(`widget-created.${this.hash}`, (e)=>{ var {id} = e if (this.linkedProps[id] && id != this.getProp('id')) { - this.checkPropsChanged(this.linkedProps[id], true) + this.checkPropsChanged(this.linkedProps[id]) } }) From cb86370cb48a1f501f6ef02f364b9c2cc4590557 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 7 Jan 2018 22:20:02 +0100 Subject: [PATCH 0203/5759] editor: use a shared tmp state to prevent a fresh "value" property value to be applied --- src/browser/js/app/editor/data-workers.js | 15 +++++-------- src/browser/js/app/managers/state.js | 27 +++++++++++++++++++++++ src/browser/js/app/parser.js | 2 ++ 3 files changed, 35 insertions(+), 9 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index 13e229eb..f9d680d2 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -2,6 +2,7 @@ var editObject = function(){editObject = require('./edit-objects').editObject; e purgeStores = require('./purge'), {iconify} = require('../utils'), widgetManager = require('../managers/widgets'), + stateManager = require('../managers/state'), parser = require('../parser') var getObjectData = function(obj){ @@ -15,17 +16,18 @@ var getObjectData = function(obj){ } -var updateDom = function(container,data, remote, applyValue) { +var updateDom = function(container,data, remote) { // save state var scroll = $('#sidepanel').scrollTop(), oldWidgets = container[0].abstract.hashes || [container[0].abstract.hash], - wState = {}, wScroll = {} + stateManager.incrementQueue() + for (let h of oldWidgets) { if (widgetManager.widgets[h] && widgetManager.widgets[h].getValue) { - wState[widgetManager.widgets[h].getProp('id')] = widgetManager.widgets[h].getValue() + stateManager.push(widgetManager.widgets[h].getProp('id'), widgetManager.widgets[h].getValue()) } } @@ -54,13 +56,8 @@ var updateDom = function(container,data, remote, applyValue) { // restore state - if (applyValue) delete wState[newContainer[0].abstract.getProp('id')] + stateManager.decrementQueue() - for (let id in wState) { - for (let w of widgetManager.getWidgetById(id)) { - if (w.setValue) w.setValue(wState[id]) - } - } // restore scroll states for (let id in wScroll) { diff --git a/src/browser/js/app/managers/state.js b/src/browser/js/app/managers/state.js index 0c1d71df..34cb700d 100644 --- a/src/browser/js/app/managers/state.js +++ b/src/browser/js/app/managers/state.js @@ -8,6 +8,9 @@ var StateManager = class StateManager { this.state = [] + this.queue = {} + this.queueCounter = 0 + } get() { @@ -119,6 +122,30 @@ var StateManager = class StateManager { } + push(id, value, options) { + this.queue[id] = value + if (this.queueCounter == 0) this.flush() + } + + flush(){ + for (let id in this.queue) { + if (this.queue[id] !== undefined) { + for (let w of widgetManager.getWidgetById(id)) { + if (w.setValue) w.setValue(this.queue[id]) + } + } + } + this.queue = {} + } + + incrementQueue() { + this.queueCounter++ + } + + decrementQueue() { + this.queueCounter-- + if (this.queueCounter == 0) this.flush() + } } diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index ed9d136d..4c561e95 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -1,4 +1,5 @@ var widgetManager = require('./managers/widgets'), + stateManager = require('./managers/state'), {iconify} = require('./utils') var Parser = class Parser { @@ -151,6 +152,7 @@ var Parser = class Parser { // set widget's initial state if (widgetInner.getProp('value') !== '' && widgetInner.setValue) { widgetInner.setValue(widgetInner.getProp('value'), {sync:true}) + stateManager.push(widgetInner.getProp('id'), undefined) } // Append the widget to its parent From a6401b63e22d633064273eb541a8094ac1a840b2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 7 Jan 2018 22:20:02 +0100 Subject: [PATCH 0204/5759] editor: use a shared tmp state to prevent a fresh "value" property value to be applied --- src/browser/js/app/editor/data-workers.js | 15 +++++-------- src/browser/js/app/managers/state.js | 27 +++++++++++++++++++++++ src/browser/js/app/parser.js | 2 ++ 3 files changed, 35 insertions(+), 9 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index 13e229eb..f9d680d2 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -2,6 +2,7 @@ var editObject = function(){editObject = require('./edit-objects').editObject; e purgeStores = require('./purge'), {iconify} = require('../utils'), widgetManager = require('../managers/widgets'), + stateManager = require('../managers/state'), parser = require('../parser') var getObjectData = function(obj){ @@ -15,17 +16,18 @@ var getObjectData = function(obj){ } -var updateDom = function(container,data, remote, applyValue) { +var updateDom = function(container,data, remote) { // save state var scroll = $('#sidepanel').scrollTop(), oldWidgets = container[0].abstract.hashes || [container[0].abstract.hash], - wState = {}, wScroll = {} + stateManager.incrementQueue() + for (let h of oldWidgets) { if (widgetManager.widgets[h] && widgetManager.widgets[h].getValue) { - wState[widgetManager.widgets[h].getProp('id')] = widgetManager.widgets[h].getValue() + stateManager.push(widgetManager.widgets[h].getProp('id'), widgetManager.widgets[h].getValue()) } } @@ -54,13 +56,8 @@ var updateDom = function(container,data, remote, applyValue) { // restore state - if (applyValue) delete wState[newContainer[0].abstract.getProp('id')] + stateManager.decrementQueue() - for (let id in wState) { - for (let w of widgetManager.getWidgetById(id)) { - if (w.setValue) w.setValue(wState[id]) - } - } // restore scroll states for (let id in wScroll) { diff --git a/src/browser/js/app/managers/state.js b/src/browser/js/app/managers/state.js index 0c1d71df..34cb700d 100644 --- a/src/browser/js/app/managers/state.js +++ b/src/browser/js/app/managers/state.js @@ -8,6 +8,9 @@ var StateManager = class StateManager { this.state = [] + this.queue = {} + this.queueCounter = 0 + } get() { @@ -119,6 +122,30 @@ var StateManager = class StateManager { } + push(id, value, options) { + this.queue[id] = value + if (this.queueCounter == 0) this.flush() + } + + flush(){ + for (let id in this.queue) { + if (this.queue[id] !== undefined) { + for (let w of widgetManager.getWidgetById(id)) { + if (w.setValue) w.setValue(this.queue[id]) + } + } + } + this.queue = {} + } + + incrementQueue() { + this.queueCounter++ + } + + decrementQueue() { + this.queueCounter-- + if (this.queueCounter == 0) this.flush() + } } diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index ed9d136d..4c561e95 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -1,4 +1,5 @@ var widgetManager = require('./managers/widgets'), + stateManager = require('./managers/state'), {iconify} = require('./utils') var Parser = class Parser { @@ -151,6 +152,7 @@ var Parser = class Parser { // set widget's initial state if (widgetInner.getProp('value') !== '' && widgetInner.setValue) { widgetInner.setValue(widgetInner.getProp('value'), {sync:true}) + stateManager.push(widgetInner.getProp('id'), undefined) } // Append the widget to its parent From 9abacf65c5cdc75e90992b06ff782ba52fe65022 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 14:05:36 +0100 Subject: [PATCH 0205/5759] midi: define ipcSend before any possible use --- app/main/midi.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/main/midi.py b/app/main/midi.py index fb499f85..402bfeb0 100644 --- a/app/main/midi.py +++ b/app/main/midi.py @@ -4,6 +4,9 @@ import traceback import json as JSON import re +def ipcSend(name, data): + print(JSON.dumps([name, data])) + stdout.flush() try: import rtmidi @@ -18,10 +21,6 @@ except: if version_info.major == 3: raw_input = input -def ipcSend(name, data): - print(JSON.dumps([name, data])) - stdout.flush() - debug = False if 'debug' in argv: debug = True From eff2375a4b7394c48287c3ad7bbfd475d74711ee Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 14:05:36 +0100 Subject: [PATCH 0206/5759] midi: define ipcSend before any possible use --- app/main/midi.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/main/midi.py b/app/main/midi.py index fb499f85..402bfeb0 100644 --- a/app/main/midi.py +++ b/app/main/midi.py @@ -4,6 +4,9 @@ import traceback import json as JSON import re +def ipcSend(name, data): + print(JSON.dumps([name, data])) + stdout.flush() try: import rtmidi @@ -18,10 +21,6 @@ except: if version_info.major == 3: raw_input = input -def ipcSend(name, data): - print(JSON.dumps([name, data])) - stdout.flush() - debug = False if 'debug' in argv: debug = True From 50e6ae37c033325f96b6499fab1943eab822a38b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 14:20:35 +0100 Subject: [PATCH 0207/5759] docs: midi: typo --- resources/docs/extras/midi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/extras/midi.md b/resources/docs/extras/midi.md index 72f4a2c9..9c949879 100644 --- a/resources/docs/extras/midi.md +++ b/resources/docs/extras/midi.md @@ -14,7 +14,7 @@ MIDI support requires additional software to be installed on the server's system ## Setup -When running the app, the `-m / -midi` switch must be set; it accepts the following options (separated by spaces): +When running the app, the `-m / --midi` switch must be set; it accepts the following options (separated by spaces): - `list`: prints the available MIDI ports to the console; numbers in the first column may be used for `input`/`output` definition below - `device_name:input,output`: connect to midi ports `input` and `output`; osc messages sent to target `midi:device_name` will be processed as midi events; Multiple devices can be declared From 66ca153a34bb39a918a44fd5594d984380896d4c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 14:20:35 +0100 Subject: [PATCH 0208/5759] docs: midi: typo --- resources/docs/extras/midi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/extras/midi.md b/resources/docs/extras/midi.md index 72f4a2c9..9c949879 100644 --- a/resources/docs/extras/midi.md +++ b/resources/docs/extras/midi.md @@ -14,7 +14,7 @@ MIDI support requires additional software to be installed on the server's system ## Setup -When running the app, the `-m / -midi` switch must be set; it accepts the following options (separated by spaces): +When running the app, the `-m / --midi` switch must be set; it accepts the following options (separated by spaces): - `list`: prints the available MIDI ports to the console; numbers in the first column may be used for `input`/`output` definition below - `device_name:input,output`: connect to midi ports `input` and `output`; osc messages sent to target `midi:device_name` will be processed as midi events; Multiple devices can be declared From a0040ab4880d46992c3bb54ad499756ff9e8936d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 20:03:29 +0100 Subject: [PATCH 0209/5759] events: :fireworks: migrate from jquery custom events to non-dom event emitter ("change" event ok) --- package.json | 3 +- src/browser/js/app/event-emitter.js | 17 +++++ src/browser/js/app/managers/widgets.js | 69 ++++++++++--------- .../js/app/widgets/buttons/dropdown.js | 4 +- src/browser/js/app/widgets/buttons/push.js | 4 +- src/browser/js/app/widgets/buttons/switch.js | 4 +- src/browser/js/app/widgets/buttons/toggle.js | 2 +- .../js/app/widgets/common/_widgets_base.js | 24 +++++-- .../js/app/widgets/containers/modal.js | 2 +- .../js/app/widgets/containers/panel.js | 2 +- src/browser/js/app/widgets/containers/root.js | 4 +- src/browser/js/app/widgets/containers/tab.js | 4 -- src/browser/js/app/widgets/inputs/input.js | 10 ++- src/browser/js/app/widgets/maths/formula.js | 7 +- .../js/app/widgets/matrices/_matrices_base.js | 7 +- .../js/app/widgets/matrices/keyboard.js | 2 +- .../js/app/widgets/matrices/multifader.js | 2 +- .../js/app/widgets/matrices/multipush.js | 2 +- .../js/app/widgets/matrices/multitoggle.js | 2 +- src/browser/js/app/widgets/pads/multixy.js | 9 +-- src/browser/js/app/widgets/pads/rgb.js | 18 ++--- src/browser/js/app/widgets/pads/xy.js | 14 ++-- .../js/app/widgets/plots/_plots_base.js | 6 +- src/browser/js/app/widgets/plots/image.js | 2 +- src/browser/js/app/widgets/plots/led.js | 6 +- src/browser/js/app/widgets/plots/meter.js | 4 +- src/browser/js/app/widgets/plots/rgbled.js | 6 +- src/browser/js/app/widgets/plots/text.js | 6 +- .../js/app/widgets/plots/visualizer.js | 4 +- .../js/app/widgets/sliders/_sliders_base.js | 6 +- src/browser/js/app/widgets/sliders/encoder.js | 9 ++- src/browser/js/app/widgets/sliders/range.js | 16 +++-- .../app/widgets/switchers/_switchers_base.js | 6 +- .../js/app/widgets/switchers/crossfader.js | 4 +- .../js/app/widgets/switchers/switcher.js | 11 ++- 35 files changed, 172 insertions(+), 126 deletions(-) create mode 100644 src/browser/js/app/event-emitter.js diff --git a/package.json b/package.json index a8b8392e..fbd2970a 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "shortid": "2.2.8", "socket.io-client": "2.0.4", "source-map": "^0.6.1", - "uglifyify": "4.0.5" + "uglifyify": "4.0.5", + "wolfy87-eventemitter": "^5.2.4" }, "optionalDependencies": { "electron-installer-debian": "0.7.1" diff --git a/src/browser/js/app/event-emitter.js b/src/browser/js/app/event-emitter.js new file mode 100644 index 00000000..a355820e --- /dev/null +++ b/src/browser/js/app/event-emitter.js @@ -0,0 +1,17 @@ +var WolfyEventEmitter = require('wolfy87-eventemitter') + +module.exports = class EventEmitter extends WolfyEventEmitter { + + emitEvent(evt, args) { + + super.emitEvent(evt, args) + + if (args[0] && !args[0].stopPropagation) { + if (this.parent) this.parent.emitEvent(evt, args) + } + + return this + + } + +} diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index f1a8f38e..9cf0d9b3 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -1,9 +1,12 @@ -var ipc = require('../ipc/') +var EventEmitter = require('../event-emitter'), + ipc = require('../ipc/') -var WidgetManager = class WidgetManager { +var WidgetManager = class WidgetManager extends EventEmitter { constructor() { + super() + this.widgets = {} this.addressRoute = {} @@ -14,37 +17,7 @@ var WidgetManager = class WidgetManager { this.preArgsSeparator = '||||' - $(document).ready(()=>{ - - $('body').off('change.global').on('change.global',(e)=>{ - - var {id, widget, linkId, fromExternal, options} = e, - widgetsById = this.getWidgetById(id), - widgetsByLinkId = this.getWidgetByLinkId(linkId) - - // Widget that share the same id will update each other - // without sending any extra osc message - if (widgetsById.length>1) { - var v = widget.getValue() - for (let i in widgetsById) { - if (widgetsById[i].hash != widget.hash && widgetsById[i].setValue) { - widgetsById[i].setValue(v,{send:false,sync:false}) - } - } - } - - // widgets that share the same linkId will update each other. - // Updated widgets will send osc messages normally - if (widgetsByLinkId.length>1) { - var v = widget.getValue() - for (let i in widgetsByLinkId) { - if (widgetsByLinkId[i].hash != widget.hash && widgetsByLinkId[i].setValue) { - widgetsByLinkId[i].setValue(v,{send:options.send,sync:false}) - } - } - } - }) - }) + this.on('change', this.onChange, this) ipc.on('reconnect', ()=>{ for (var hash in this.widgets) { @@ -63,6 +36,36 @@ var WidgetManager = class WidgetManager { } + onChange(e) { + + var {id, widget, linkId, options} = e, + widgetsById = this.getWidgetById(id), + widgetsByLinkId = linkId ? this.getWidgetByLinkId(linkId) : [] + + // Widget that share the same id will update each other + // without sending any extra osc message + if (widgetsById.length>1) { + var v = widget.getValue() + for (let i in widgetsById) { + if (widgetsById[i].hash != widget.hash && widgetsById[i].setValue) { + widgetsById[i].setValue(v,{send:false,sync:false}) + } + } + } + + // widgets that share the same linkId will update each other. + // Updated widgets will send osc messages normally + if (widgetsByLinkId.length>1) { + var v = widget.getValue() + for (let i in widgetsByLinkId) { + if (widgetsByLinkId[i].hash != widget.hash && widgetsByLinkId[i].setValue) { + widgetsByLinkId[i].setValue(v,{send:options.send,sync:false}) + } + } + } + + } + createAddressRef(widget, preArgs, address) { var preArgs = preArgs || widget.getProp('preArgs'), address = address || widget.getProp('address') diff --git a/src/browser/js/app/widgets/buttons/dropdown.js b/src/browser/js/app/widgets/buttons/dropdown.js index 8068a21a..67cbe85f 100644 --- a/src/browser/js/app/widgets/buttons/dropdown.js +++ b/src/browser/js/app/widgets/buttons/dropdown.js @@ -71,12 +71,12 @@ module.exports = class Dropdown extends _widgets_base { this.value = this.values[i] if (!options.fromLocal) this.select[0].selectedIndex = i if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) this.container.removeClass('noselect') } else { this.value = undefined this.select[0].selectedIndex = -1 - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) this.container.addClass('noselect') } diff --git a/src/browser/js/app/widgets/buttons/push.js b/src/browser/js/app/widgets/buttons/push.js index be6c0b53..705ccbdd 100644 --- a/src/browser/js/app/widgets/buttons/push.js +++ b/src/browser/js/app/widgets/buttons/push.js @@ -91,14 +91,14 @@ module.exports = class Push extends _widgets_base { this.lastChanged = 'active' this.updateValue() if (options.send) this.sendValue(v) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } else if (v===this.getProp('off') || (this.getProp('off') != null && v === this.getProp('off').value && v !== undefined)) { this.widget.removeClass('active') this.active = 0 this.lastChanged = 'active' this.updateValue() if (options.send) this.sendValue(v, this.getProp('norelease')) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } } diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index f34601e0..0b9de237 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -91,11 +91,11 @@ module.exports = class Switch extends _widgets_base { this.widget.find('.on').removeClass('on') this.widget.find('.value').eq(i).addClass('on') if (options.send) this.sendValue(this.value) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } else { this.widget.find('.on').removeClass('on') this.value = undefined - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } }} diff --git a/src/browser/js/app/widgets/buttons/toggle.js b/src/browser/js/app/widgets/buttons/toggle.js index 9a7f4580..fd45bec2 100644 --- a/src/browser/js/app/widgets/buttons/toggle.js +++ b/src/browser/js/app/widgets/buttons/toggle.js @@ -102,7 +102,7 @@ module.exports = class Toggle extends _widgets_base { if (options.send) this.sendValue() } - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 99a715ef..2c57fd6b 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -1,10 +1,11 @@ -var osc = require('../../osc'), +var EventEmitter = require('../../event-emitter'), + osc = require('../../osc'), shortid = require('shortid'), widgetManager = require('../../managers/widgets'), updateDom = function(){ updateDom = require('../../editor/data-workers').updateDom; updateDom(...arguments)} -module.exports = class _widgets_base { +module.exports = class _widgets_base extends EventEmitter { static defaults() { @@ -19,6 +20,8 @@ module.exports = class _widgets_base { constructor(options={}) { + super() + this.container = options.container this.widget = $(options.html) this.props = options.props @@ -40,7 +43,7 @@ module.exports = class _widgets_base { } // strip parent ? no position - if (this.parent && this.parent.props.type == 'strip') { + if (this.parent && this.parent.props && this.parent.props.type == 'strip') { delete this.props.top delete this.props.left delete this.props[this.parent.getProp('horizontal') ? 'height' : 'width'] @@ -75,7 +78,7 @@ module.exports = class _widgets_base { if (Object.keys(this.linkedPropsValue).length) { - $('body').on(`change.${this.hash}`, (e)=>{ + widgetManager.on(`change.${this.hash}`, (e)=>{ var {id} = e if (this.linkedPropsValue[id] && id != this.getProp('id')) { this.checkPropsChanged(this.linkedPropsValue[id], e.options.send) @@ -97,6 +100,17 @@ module.exports = class _widgets_base { } + changed(options) { + + this.trigger(/change(\..*)?/, [{ + widget: this, + options: options, + id: this.getProp('id'), + linkId: this.getProp('linkId') + }]) + + } + sendValue(overrides) { var data = { @@ -266,7 +280,7 @@ module.exports = class _widgets_base { onRemove(){ $('body').off(`widget-created.${this.hash}`) - .off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) } } diff --git a/src/browser/js/app/widgets/containers/modal.js b/src/browser/js/app/widgets/containers/modal.js index 085ab8a1..34d7120c 100644 --- a/src/browser/js/app/widgets/containers/modal.js +++ b/src/browser/js/app/widgets/containers/modal.js @@ -128,7 +128,7 @@ module.exports = class Modal extends Panel { if (!this.init && this.value) this.init = true if (options.send) this.sendValue() - if (options.sync) this.light.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 4bb26a7a..5657a9fa 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -197,7 +197,7 @@ module.exports = class Panel extends _widgets_base { this.navigation.find('li').removeClass('on').eq(v).addClass('on') if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } } diff --git a/src/browser/js/app/widgets/containers/root.js b/src/browser/js/app/widgets/containers/root.js index 047e18e9..36319948 100644 --- a/src/browser/js/app/widgets/containers/root.js +++ b/src/browser/js/app/widgets/containers/root.js @@ -1,6 +1,7 @@ var Panel = require('./panel'), {iconify} = require('../../utils'), - Tab = require('./tab') + Tab = require('./tab'), + widgetManager = require('../../managers/widgets') @@ -45,6 +46,7 @@ module.exports = class Root extends Panel { super(options) + this.parent = widgetManager this.widget.addClass('root') this.widget.find('> .navigation').addClass('main') diff --git a/src/browser/js/app/widgets/containers/tab.js b/src/browser/js/app/widgets/containers/tab.js index 05b98b18..19f4279c 100644 --- a/src/browser/js/app/widgets/containers/tab.js +++ b/src/browser/js/app/widgets/containers/tab.js @@ -52,10 +52,6 @@ module.exports = class Tab extends Panel { var $body = $('body') - this.widget.on('change.detached', (e)=>{ - if (this.detached) $body.trigger(e) - }) - } hide() { diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index d23ce940..4dfd16c0 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -71,7 +71,11 @@ module.exports = class Input extends _canvas_base { } - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) { + + widgetManager.on(`change.${this.hash}`, this.syncHandle.bind(this)) + + } } @@ -116,7 +120,7 @@ module.exports = class Input extends _canvas_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -170,8 +174,8 @@ module.exports = class Input extends _canvas_base { this.stringValue = this.getStringValue() this.draw() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) if (options.send && !options.fromSync) this.sendValue() + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index 20464d31..ad1c038b 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -91,7 +91,7 @@ module.exports = class Formula extends _widgets_base { this.conditionState = true - $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) this.updateValue({options:{}}) this.input.widget.on('change', (e)=>{ @@ -102,7 +102,7 @@ module.exports = class Formula extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -143,7 +143,7 @@ module.exports = class Formula extends _widgets_base { var s = this.condition.eval(variables).valueOf() if (Array.isArray(s) && s.length == 1) s = s[0] - + this.conditionState = s.data !== undefined ? s.data : s } catch(err) { @@ -165,6 +165,7 @@ module.exports = class Formula extends _widgets_base { this.showValue() if (e.options.sync && this.conditionState) this.widget.trigger({type: 'change',id: this.getProp('id'),widget: this, linkId: this.getProp('linkId'), options: e.options}) + if (e.options.sync && this.conditionState) this.changed(e.options) if (e.options.send && this.conditionState) this.sendValue() } catch(err) { diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index e863d067..443f9e56 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -10,11 +10,12 @@ module.exports = class _matrices_base extends _widgets_base { this.start = parseInt(this.getProp('start')) - this.widget.on('change',(e)=>{ + this.on('change',(e)=>{ - if (e.id==this.getProp('id')) return + if (e.widget == this) return + this.value[e.widget.container.index()] = e.widget.getValue() - this.widget.trigger({type:'change',id:this.getProp('id'),widget:this,options:e.options}) + this.changed(e.options) }) diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index 6e8f708c..6d71918b 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -66,7 +66,7 @@ module.exports = class Keyboard extends _matrices_base { data.preArgs = this.getProp('split') ? this.getProp('preArgs') : [].concat(this.getProp('preArgs'), i) data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') if (pattern[i % 12] == 'w') { diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 32fb5445..3ab9c8eb 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -87,7 +87,7 @@ module.exports = class Multifader extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') if (this.getProp('traversing')) element.find('canvas').off('drag') diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 6b29fd00..605f8df0 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -67,7 +67,7 @@ module.exports = class Multipush extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index 9499000d..bee12e12 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -67,7 +67,7 @@ module.exports = class Multitoggle extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index ee64d19b..e3c20f72 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -95,7 +95,7 @@ module.exports = class MultiXy extends _pads_base { pointSize: this.getProp('pointSize'), pips: this.getProp('pips') && i == this.npoints-1, input:false - }}) + }, parent: this}) this.pads[i].sendValue = ()=>{} this.wrapper.append(this.pads[i].widget) @@ -151,8 +151,9 @@ module.exports = class MultiXy extends _pads_base { }) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.on('change',(e)=>{ + if (e.widget == this) return + e.stopPropagation = true this.setValue(this.getValue(), e.options) }) @@ -234,7 +235,7 @@ module.exports = class MultiXy extends _pads_base { } if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/pads/rgb.js b/src/browser/js/app/widgets/pads/rgb.js index d9279e24..bba587dc 100644 --- a/src/browser/js/app/widgets/pads/rgb.js +++ b/src/browser/js/app/widgets/pads/rgb.js @@ -94,17 +94,13 @@ module.exports = class Rgb extends _pads_base { this.value = [] this.hsb = {h:0,s:0,b:0} - this.wrapper.on('change',(e)=>{ - e.stopPropagation() - }) - - this.hue.widget.on('change',(e)=>{ - e.stopPropagation() + this.hue.on('change',(e)=>{ + e.stopPropagation = true this.dragHandle(true) }) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.pad.on('change',(e)=>{ + e.stopPropagation = true this.dragHandle() }) @@ -115,8 +111,8 @@ module.exports = class Rgb extends _pads_base { parent:this, parentNode:this.widget }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -167,7 +163,7 @@ module.exports = class Rgb extends _pads_base { this.value = v if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) this.update({dragged:options.dragged, nohue:options.nohue || (v[0]==v[1]&&v[1]==v[2])}) diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js index eafe2ee3..338b36f9 100644 --- a/src/browser/js/app/widgets/pads/xy.js +++ b/src/browser/js/app/widgets/pads/xy.js @@ -106,8 +106,12 @@ module.exports = class Xy extends _pads_base { this.wrapper.append(this.faders.x.widget) this.wrapper.append(this.faders.y.widget) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.faders.x.on('change',(e)=>{ + e.stopPropagation = true + }) + + this.faders.y.on('change',(e)=>{ + e.stopPropagation = true }) this.wrapper.on('draginit',(e, data, traversing)=>{ @@ -140,8 +144,8 @@ module.exports = class Xy extends _pads_base { parent:this, parentNode:this.widget }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -181,7 +185,7 @@ module.exports = class Xy extends _pads_base { ] if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) this.draw() diff --git a/src/browser/js/app/widgets/plots/_plots_base.js b/src/browser/js/app/widgets/plots/_plots_base.js index f5c403b0..7d86a767 100644 --- a/src/browser/js/app/widgets/plots/_plots_base.js +++ b/src/browser/js/app/widgets/plots/_plots_base.js @@ -35,7 +35,7 @@ module.exports = class _plots_base extends _canvas_base { - $('body').on(`change.${this.hash}`,this.syncHandleProxy.bind(this)) + widgetManager.on(`change.${this.hash}`, this.syncHandleProxy.bind(this), this) } @@ -47,7 +47,7 @@ module.exports = class _plots_base extends _canvas_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -155,7 +155,7 @@ module.exports = class _plots_base extends _canvas_base { this.data = v this.draw() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js index f1728917..52aca9a5 100644 --- a/src/browser/js/app/widgets/plots/image.js +++ b/src/browser/js/app/widgets/plots/image.js @@ -81,7 +81,7 @@ module.exports = class Led extends _widgets_base { this.widget[0].style.setProperty('background-image', `url(${this.value}${cache_query})`) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/led.js b/src/browser/js/app/widgets/plots/led.js index 5928ae6f..263de88a 100644 --- a/src/browser/js/app/widgets/plots/led.js +++ b/src/browser/js/app/widgets/plots/led.js @@ -48,7 +48,7 @@ module.exports = class Led extends _widgets_base { super({...options, html: html}) - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`, this.syncHandle.bind(this)) this.setValue(this.getProp('range').min) @@ -56,7 +56,7 @@ module.exports = class Led extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -80,7 +80,7 @@ module.exports = class Led extends _widgets_base { this.value = v this.widget[0].style.setProperty('--opacity', mapToScale(v,[this.getProp('range').min,this.getProp('range').max],[0,1],false,this.getProp('logScale'),true)) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/meter.js b/src/browser/js/app/widgets/plots/meter.js index 79ab3ab0..b1099398 100644 --- a/src/browser/js/app/widgets/plots/meter.js +++ b/src/browser/js/app/widgets/plots/meter.js @@ -57,14 +57,14 @@ module.exports = class Meter extends Fader { this.canvas.off('draginit drag') - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) } onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } diff --git a/src/browser/js/app/widgets/plots/rgbled.js b/src/browser/js/app/widgets/plots/rgbled.js index 1c0a00bf..dabb0241 100644 --- a/src/browser/js/app/widgets/plots/rgbled.js +++ b/src/browser/js/app/widgets/plots/rgbled.js @@ -46,7 +46,7 @@ module.exports = class Rbgled extends _widgets_base { super({...options, html: html}) - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) this.setValue([0,0,0,0]) @@ -54,7 +54,7 @@ module.exports = class Rbgled extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -103,7 +103,7 @@ module.exports = class Rbgled extends _widgets_base { this.widget[0].style.setProperty('--color-led', c) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index 103a42d8..df3baa22 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -51,7 +51,7 @@ module.exports = class Text extends _widgets_base { this.value = this.defaultValue - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) this.setValue(this.value) @@ -59,7 +59,7 @@ module.exports = class Text extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -83,7 +83,7 @@ module.exports = class Text extends _widgets_base { this.value = v==null ? this.defaultValue : v this.widget.html(iconify(String(this.value).replace(/\n/g,'
    '))) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/visualizer.js b/src/browser/js/app/widgets/plots/visualizer.js index d42c6730..9a557d55 100644 --- a/src/browser/js/app/widgets/plots/visualizer.js +++ b/src/browser/js/app/widgets/plots/visualizer.js @@ -125,7 +125,7 @@ module.exports = class Visualizer extends _plots_base { this.value = v[v.length - 1] this.startLoop() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } else if (typeof(v) == 'number'){ @@ -133,7 +133,7 @@ module.exports = class Visualizer extends _plots_base { this.value = v this.startLoop() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index 7ad000a3..f4190646 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -81,8 +81,8 @@ module.exports = class _sliders_base extends _canvas_base { }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -209,8 +209,8 @@ module.exports = class _sliders_base extends _canvas_base { this.showValue() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) if (options.send) this.sendValue() + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/sliders/encoder.js b/src/browser/js/app/widgets/sliders/encoder.js index 67af2bf7..a27c8a78 100644 --- a/src/browser/js/app/widgets/sliders/encoder.js +++ b/src/browser/js/app/widgets/sliders/encoder.js @@ -107,8 +107,11 @@ module.exports = class Encoder extends _widgets_base { this.previousValue = this.ticks/2 - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.on('change',(e)=>{ + + if (e.widget == this) return + + e.stopPropagation = true var value = this.knob.getValue() @@ -202,7 +205,7 @@ module.exports = class Encoder extends _widgets_base { } - if (options.sync && match) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync && match) this.changed(options) if (options.send && match && !(!this.getProp('snap') && options.draginit)) this.sendValue() if (options.dragged || options.draginit) this.updateDisplay(options.draginit) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 72daccc6..29b963ad 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -274,13 +274,19 @@ module.exports = class Range extends _widgets_base { this.wrapper.append(this.faders[0].widget) this.wrapper.append(this.faders[1].widget) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.on('change',(e)=>{ + + if (e.widget == this) return + + e.stopPropagation = true + var v = [ this.faders[0].getValue(), this.faders[1].getValue() ] + this.setValue(v, e.options) + }) this.handles = [ @@ -350,8 +356,8 @@ module.exports = class Range extends _widgets_base { parent:this, parentNode:this.widget, }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -406,7 +412,7 @@ module.exports = class Range extends _widgets_base { if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) this.faders[1].draw() diff --git a/src/browser/js/app/widgets/switchers/_switchers_base.js b/src/browser/js/app/widgets/switchers/_switchers_base.js index 5c065ac3..a2166381 100644 --- a/src/browser/js/app/widgets/switchers/_switchers_base.js +++ b/src/browser/js/app/widgets/switchers/_switchers_base.js @@ -19,7 +19,7 @@ module.exports = class _switchers_base extends _widgets_base { } - $('body').on(`change.${this.hash}`,this.syncHandler.bind(this)) + widgetManager.on(`change.${this.hash}`,this.syncHandler.bind(this)) } @@ -39,7 +39,7 @@ module.exports = class _switchers_base extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -104,7 +104,7 @@ module.exports = class _switchers_base extends _widgets_base { } } - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) if (options.send) this.sendValue() } diff --git a/src/browser/js/app/widgets/switchers/crossfader.js b/src/browser/js/app/widgets/switchers/crossfader.js index ed3fbdbd..60be168b 100644 --- a/src/browser/js/app/widgets/switchers/crossfader.js +++ b/src/browser/js/app/widgets/switchers/crossfader.js @@ -33,9 +33,9 @@ module.exports = class Crossfader extends Switcher { this.widget.append($('
    ').append(this.fader.widget)) - this.fader.widget.on('change', (e)=>{ + this.fader.on('change', (e)=>{ - e.stopPropagation() + e.stopPropagation = true this.setValue(this.fader.getValue(), e.options) diff --git a/src/browser/js/app/widgets/switchers/switcher.js b/src/browser/js/app/widgets/switchers/switcher.js index 8cf31ae5..02405ca0 100644 --- a/src/browser/js/app/widgets/switchers/switcher.js +++ b/src/browser/js/app/widgets/switchers/switcher.js @@ -59,15 +59,12 @@ module.exports = class Switcher extends _switchers_base { this.widget.append(this.switch.widget) - this.switch.widget.on('change', (e)=>{ + this.switch.on('change', (e)=>{ - e.stopPropagation() + e.stopPropagation = true + e.options.fromSelf = true - var {widget, options} = e - - options.fromSelf = true - - this.setValue(this.switch.getValue(), options) + this.setValue(this.switch.getValue(), e.options) }) From 80cf05b1d288d67cb56f895e78be286ca8f67947 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 20:03:29 +0100 Subject: [PATCH 0210/5759] events: :fireworks: migrate from jquery custom events to non-dom event emitter ("change" event ok) --- package.json | 3 +- src/browser/js/app/event-emitter.js | 17 +++++ src/browser/js/app/managers/widgets.js | 69 ++++++++++--------- .../js/app/widgets/buttons/dropdown.js | 4 +- src/browser/js/app/widgets/buttons/push.js | 4 +- src/browser/js/app/widgets/buttons/switch.js | 4 +- src/browser/js/app/widgets/buttons/toggle.js | 2 +- .../js/app/widgets/common/_widgets_base.js | 24 +++++-- .../js/app/widgets/containers/modal.js | 2 +- .../js/app/widgets/containers/panel.js | 2 +- src/browser/js/app/widgets/containers/root.js | 4 +- src/browser/js/app/widgets/containers/tab.js | 4 -- src/browser/js/app/widgets/inputs/input.js | 10 ++- src/browser/js/app/widgets/maths/formula.js | 7 +- .../js/app/widgets/matrices/_matrices_base.js | 7 +- .../js/app/widgets/matrices/keyboard.js | 2 +- .../js/app/widgets/matrices/multifader.js | 2 +- .../js/app/widgets/matrices/multipush.js | 2 +- .../js/app/widgets/matrices/multitoggle.js | 2 +- src/browser/js/app/widgets/pads/multixy.js | 9 +-- src/browser/js/app/widgets/pads/rgb.js | 18 ++--- src/browser/js/app/widgets/pads/xy.js | 14 ++-- .../js/app/widgets/plots/_plots_base.js | 6 +- src/browser/js/app/widgets/plots/image.js | 2 +- src/browser/js/app/widgets/plots/led.js | 6 +- src/browser/js/app/widgets/plots/meter.js | 4 +- src/browser/js/app/widgets/plots/rgbled.js | 6 +- src/browser/js/app/widgets/plots/text.js | 6 +- .../js/app/widgets/plots/visualizer.js | 4 +- .../js/app/widgets/sliders/_sliders_base.js | 6 +- src/browser/js/app/widgets/sliders/encoder.js | 9 ++- src/browser/js/app/widgets/sliders/range.js | 16 +++-- .../app/widgets/switchers/_switchers_base.js | 6 +- .../js/app/widgets/switchers/crossfader.js | 4 +- .../js/app/widgets/switchers/switcher.js | 11 ++- 35 files changed, 172 insertions(+), 126 deletions(-) create mode 100644 src/browser/js/app/event-emitter.js diff --git a/package.json b/package.json index a8b8392e..fbd2970a 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "shortid": "2.2.8", "socket.io-client": "2.0.4", "source-map": "^0.6.1", - "uglifyify": "4.0.5" + "uglifyify": "4.0.5", + "wolfy87-eventemitter": "^5.2.4" }, "optionalDependencies": { "electron-installer-debian": "0.7.1" diff --git a/src/browser/js/app/event-emitter.js b/src/browser/js/app/event-emitter.js new file mode 100644 index 00000000..a355820e --- /dev/null +++ b/src/browser/js/app/event-emitter.js @@ -0,0 +1,17 @@ +var WolfyEventEmitter = require('wolfy87-eventemitter') + +module.exports = class EventEmitter extends WolfyEventEmitter { + + emitEvent(evt, args) { + + super.emitEvent(evt, args) + + if (args[0] && !args[0].stopPropagation) { + if (this.parent) this.parent.emitEvent(evt, args) + } + + return this + + } + +} diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index f1a8f38e..9cf0d9b3 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -1,9 +1,12 @@ -var ipc = require('../ipc/') +var EventEmitter = require('../event-emitter'), + ipc = require('../ipc/') -var WidgetManager = class WidgetManager { +var WidgetManager = class WidgetManager extends EventEmitter { constructor() { + super() + this.widgets = {} this.addressRoute = {} @@ -14,37 +17,7 @@ var WidgetManager = class WidgetManager { this.preArgsSeparator = '||||' - $(document).ready(()=>{ - - $('body').off('change.global').on('change.global',(e)=>{ - - var {id, widget, linkId, fromExternal, options} = e, - widgetsById = this.getWidgetById(id), - widgetsByLinkId = this.getWidgetByLinkId(linkId) - - // Widget that share the same id will update each other - // without sending any extra osc message - if (widgetsById.length>1) { - var v = widget.getValue() - for (let i in widgetsById) { - if (widgetsById[i].hash != widget.hash && widgetsById[i].setValue) { - widgetsById[i].setValue(v,{send:false,sync:false}) - } - } - } - - // widgets that share the same linkId will update each other. - // Updated widgets will send osc messages normally - if (widgetsByLinkId.length>1) { - var v = widget.getValue() - for (let i in widgetsByLinkId) { - if (widgetsByLinkId[i].hash != widget.hash && widgetsByLinkId[i].setValue) { - widgetsByLinkId[i].setValue(v,{send:options.send,sync:false}) - } - } - } - }) - }) + this.on('change', this.onChange, this) ipc.on('reconnect', ()=>{ for (var hash in this.widgets) { @@ -63,6 +36,36 @@ var WidgetManager = class WidgetManager { } + onChange(e) { + + var {id, widget, linkId, options} = e, + widgetsById = this.getWidgetById(id), + widgetsByLinkId = linkId ? this.getWidgetByLinkId(linkId) : [] + + // Widget that share the same id will update each other + // without sending any extra osc message + if (widgetsById.length>1) { + var v = widget.getValue() + for (let i in widgetsById) { + if (widgetsById[i].hash != widget.hash && widgetsById[i].setValue) { + widgetsById[i].setValue(v,{send:false,sync:false}) + } + } + } + + // widgets that share the same linkId will update each other. + // Updated widgets will send osc messages normally + if (widgetsByLinkId.length>1) { + var v = widget.getValue() + for (let i in widgetsByLinkId) { + if (widgetsByLinkId[i].hash != widget.hash && widgetsByLinkId[i].setValue) { + widgetsByLinkId[i].setValue(v,{send:options.send,sync:false}) + } + } + } + + } + createAddressRef(widget, preArgs, address) { var preArgs = preArgs || widget.getProp('preArgs'), address = address || widget.getProp('address') diff --git a/src/browser/js/app/widgets/buttons/dropdown.js b/src/browser/js/app/widgets/buttons/dropdown.js index 8068a21a..67cbe85f 100644 --- a/src/browser/js/app/widgets/buttons/dropdown.js +++ b/src/browser/js/app/widgets/buttons/dropdown.js @@ -71,12 +71,12 @@ module.exports = class Dropdown extends _widgets_base { this.value = this.values[i] if (!options.fromLocal) this.select[0].selectedIndex = i if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) this.container.removeClass('noselect') } else { this.value = undefined this.select[0].selectedIndex = -1 - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) this.container.addClass('noselect') } diff --git a/src/browser/js/app/widgets/buttons/push.js b/src/browser/js/app/widgets/buttons/push.js index be6c0b53..705ccbdd 100644 --- a/src/browser/js/app/widgets/buttons/push.js +++ b/src/browser/js/app/widgets/buttons/push.js @@ -91,14 +91,14 @@ module.exports = class Push extends _widgets_base { this.lastChanged = 'active' this.updateValue() if (options.send) this.sendValue(v) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } else if (v===this.getProp('off') || (this.getProp('off') != null && v === this.getProp('off').value && v !== undefined)) { this.widget.removeClass('active') this.active = 0 this.lastChanged = 'active' this.updateValue() if (options.send) this.sendValue(v, this.getProp('norelease')) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } } diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index f34601e0..0b9de237 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -91,11 +91,11 @@ module.exports = class Switch extends _widgets_base { this.widget.find('.on').removeClass('on') this.widget.find('.value').eq(i).addClass('on') if (options.send) this.sendValue(this.value) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } else { this.widget.find('.on').removeClass('on') this.value = undefined - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } }} diff --git a/src/browser/js/app/widgets/buttons/toggle.js b/src/browser/js/app/widgets/buttons/toggle.js index 9a7f4580..fd45bec2 100644 --- a/src/browser/js/app/widgets/buttons/toggle.js +++ b/src/browser/js/app/widgets/buttons/toggle.js @@ -102,7 +102,7 @@ module.exports = class Toggle extends _widgets_base { if (options.send) this.sendValue() } - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 99a715ef..2c57fd6b 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -1,10 +1,11 @@ -var osc = require('../../osc'), +var EventEmitter = require('../../event-emitter'), + osc = require('../../osc'), shortid = require('shortid'), widgetManager = require('../../managers/widgets'), updateDom = function(){ updateDom = require('../../editor/data-workers').updateDom; updateDom(...arguments)} -module.exports = class _widgets_base { +module.exports = class _widgets_base extends EventEmitter { static defaults() { @@ -19,6 +20,8 @@ module.exports = class _widgets_base { constructor(options={}) { + super() + this.container = options.container this.widget = $(options.html) this.props = options.props @@ -40,7 +43,7 @@ module.exports = class _widgets_base { } // strip parent ? no position - if (this.parent && this.parent.props.type == 'strip') { + if (this.parent && this.parent.props && this.parent.props.type == 'strip') { delete this.props.top delete this.props.left delete this.props[this.parent.getProp('horizontal') ? 'height' : 'width'] @@ -75,7 +78,7 @@ module.exports = class _widgets_base { if (Object.keys(this.linkedPropsValue).length) { - $('body').on(`change.${this.hash}`, (e)=>{ + widgetManager.on(`change.${this.hash}`, (e)=>{ var {id} = e if (this.linkedPropsValue[id] && id != this.getProp('id')) { this.checkPropsChanged(this.linkedPropsValue[id], e.options.send) @@ -97,6 +100,17 @@ module.exports = class _widgets_base { } + changed(options) { + + this.trigger(/change(\..*)?/, [{ + widget: this, + options: options, + id: this.getProp('id'), + linkId: this.getProp('linkId') + }]) + + } + sendValue(overrides) { var data = { @@ -266,7 +280,7 @@ module.exports = class _widgets_base { onRemove(){ $('body').off(`widget-created.${this.hash}`) - .off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) } } diff --git a/src/browser/js/app/widgets/containers/modal.js b/src/browser/js/app/widgets/containers/modal.js index 085ab8a1..34d7120c 100644 --- a/src/browser/js/app/widgets/containers/modal.js +++ b/src/browser/js/app/widgets/containers/modal.js @@ -128,7 +128,7 @@ module.exports = class Modal extends Panel { if (!this.init && this.value) this.init = true if (options.send) this.sendValue() - if (options.sync) this.light.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 4bb26a7a..5657a9fa 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -197,7 +197,7 @@ module.exports = class Panel extends _widgets_base { this.navigation.find('li').removeClass('on').eq(v).addClass('on') if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options}) + if (options.sync) this.changed(options) } } diff --git a/src/browser/js/app/widgets/containers/root.js b/src/browser/js/app/widgets/containers/root.js index 047e18e9..36319948 100644 --- a/src/browser/js/app/widgets/containers/root.js +++ b/src/browser/js/app/widgets/containers/root.js @@ -1,6 +1,7 @@ var Panel = require('./panel'), {iconify} = require('../../utils'), - Tab = require('./tab') + Tab = require('./tab'), + widgetManager = require('../../managers/widgets') @@ -45,6 +46,7 @@ module.exports = class Root extends Panel { super(options) + this.parent = widgetManager this.widget.addClass('root') this.widget.find('> .navigation').addClass('main') diff --git a/src/browser/js/app/widgets/containers/tab.js b/src/browser/js/app/widgets/containers/tab.js index 05b98b18..19f4279c 100644 --- a/src/browser/js/app/widgets/containers/tab.js +++ b/src/browser/js/app/widgets/containers/tab.js @@ -52,10 +52,6 @@ module.exports = class Tab extends Panel { var $body = $('body') - this.widget.on('change.detached', (e)=>{ - if (this.detached) $body.trigger(e) - }) - } hide() { diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index d23ce940..4dfd16c0 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -71,7 +71,11 @@ module.exports = class Input extends _canvas_base { } - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) { + + widgetManager.on(`change.${this.hash}`, this.syncHandle.bind(this)) + + } } @@ -116,7 +120,7 @@ module.exports = class Input extends _canvas_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -170,8 +174,8 @@ module.exports = class Input extends _canvas_base { this.stringValue = this.getStringValue() this.draw() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) if (options.send && !options.fromSync) this.sendValue() + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index 20464d31..ad1c038b 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -91,7 +91,7 @@ module.exports = class Formula extends _widgets_base { this.conditionState = true - $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) this.updateValue({options:{}}) this.input.widget.on('change', (e)=>{ @@ -102,7 +102,7 @@ module.exports = class Formula extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -143,7 +143,7 @@ module.exports = class Formula extends _widgets_base { var s = this.condition.eval(variables).valueOf() if (Array.isArray(s) && s.length == 1) s = s[0] - + this.conditionState = s.data !== undefined ? s.data : s } catch(err) { @@ -165,6 +165,7 @@ module.exports = class Formula extends _widgets_base { this.showValue() if (e.options.sync && this.conditionState) this.widget.trigger({type: 'change',id: this.getProp('id'),widget: this, linkId: this.getProp('linkId'), options: e.options}) + if (e.options.sync && this.conditionState) this.changed(e.options) if (e.options.send && this.conditionState) this.sendValue() } catch(err) { diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index e863d067..443f9e56 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -10,11 +10,12 @@ module.exports = class _matrices_base extends _widgets_base { this.start = parseInt(this.getProp('start')) - this.widget.on('change',(e)=>{ + this.on('change',(e)=>{ - if (e.id==this.getProp('id')) return + if (e.widget == this) return + this.value[e.widget.container.index()] = e.widget.getValue() - this.widget.trigger({type:'change',id:this.getProp('id'),widget:this,options:e.options}) + this.changed(e.options) }) diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index 6e8f708c..6d71918b 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -66,7 +66,7 @@ module.exports = class Keyboard extends _matrices_base { data.preArgs = this.getProp('split') ? this.getProp('preArgs') : [].concat(this.getProp('preArgs'), i) data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') if (pattern[i % 12] == 'w') { diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 32fb5445..3ab9c8eb 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -87,7 +87,7 @@ module.exports = class Multifader extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') if (this.getProp('traversing')) element.find('canvas').off('drag') diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 6b29fd00..605f8df0 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -67,7 +67,7 @@ module.exports = class Multipush extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index 9499000d..bee12e12 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -67,7 +67,7 @@ module.exports = class Multitoggle extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data],this.widget) + var element = parser.parse([data], this.widget, this) element[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index ee64d19b..e3c20f72 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -95,7 +95,7 @@ module.exports = class MultiXy extends _pads_base { pointSize: this.getProp('pointSize'), pips: this.getProp('pips') && i == this.npoints-1, input:false - }}) + }, parent: this}) this.pads[i].sendValue = ()=>{} this.wrapper.append(this.pads[i].widget) @@ -151,8 +151,9 @@ module.exports = class MultiXy extends _pads_base { }) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.on('change',(e)=>{ + if (e.widget == this) return + e.stopPropagation = true this.setValue(this.getValue(), e.options) }) @@ -234,7 +235,7 @@ module.exports = class MultiXy extends _pads_base { } if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/pads/rgb.js b/src/browser/js/app/widgets/pads/rgb.js index d9279e24..bba587dc 100644 --- a/src/browser/js/app/widgets/pads/rgb.js +++ b/src/browser/js/app/widgets/pads/rgb.js @@ -94,17 +94,13 @@ module.exports = class Rgb extends _pads_base { this.value = [] this.hsb = {h:0,s:0,b:0} - this.wrapper.on('change',(e)=>{ - e.stopPropagation() - }) - - this.hue.widget.on('change',(e)=>{ - e.stopPropagation() + this.hue.on('change',(e)=>{ + e.stopPropagation = true this.dragHandle(true) }) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.pad.on('change',(e)=>{ + e.stopPropagation = true this.dragHandle() }) @@ -115,8 +111,8 @@ module.exports = class Rgb extends _pads_base { parent:this, parentNode:this.widget }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -167,7 +163,7 @@ module.exports = class Rgb extends _pads_base { this.value = v if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) this.update({dragged:options.dragged, nohue:options.nohue || (v[0]==v[1]&&v[1]==v[2])}) diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js index eafe2ee3..338b36f9 100644 --- a/src/browser/js/app/widgets/pads/xy.js +++ b/src/browser/js/app/widgets/pads/xy.js @@ -106,8 +106,12 @@ module.exports = class Xy extends _pads_base { this.wrapper.append(this.faders.x.widget) this.wrapper.append(this.faders.y.widget) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.faders.x.on('change',(e)=>{ + e.stopPropagation = true + }) + + this.faders.y.on('change',(e)=>{ + e.stopPropagation = true }) this.wrapper.on('draginit',(e, data, traversing)=>{ @@ -140,8 +144,8 @@ module.exports = class Xy extends _pads_base { parent:this, parentNode:this.widget }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -181,7 +185,7 @@ module.exports = class Xy extends _pads_base { ] if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) this.draw() diff --git a/src/browser/js/app/widgets/plots/_plots_base.js b/src/browser/js/app/widgets/plots/_plots_base.js index f5c403b0..7d86a767 100644 --- a/src/browser/js/app/widgets/plots/_plots_base.js +++ b/src/browser/js/app/widgets/plots/_plots_base.js @@ -35,7 +35,7 @@ module.exports = class _plots_base extends _canvas_base { - $('body').on(`change.${this.hash}`,this.syncHandleProxy.bind(this)) + widgetManager.on(`change.${this.hash}`, this.syncHandleProxy.bind(this), this) } @@ -47,7 +47,7 @@ module.exports = class _plots_base extends _canvas_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -155,7 +155,7 @@ module.exports = class _plots_base extends _canvas_base { this.data = v this.draw() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/image.js b/src/browser/js/app/widgets/plots/image.js index f1728917..52aca9a5 100644 --- a/src/browser/js/app/widgets/plots/image.js +++ b/src/browser/js/app/widgets/plots/image.js @@ -81,7 +81,7 @@ module.exports = class Led extends _widgets_base { this.widget[0].style.setProperty('background-image', `url(${this.value}${cache_query})`) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/led.js b/src/browser/js/app/widgets/plots/led.js index 5928ae6f..263de88a 100644 --- a/src/browser/js/app/widgets/plots/led.js +++ b/src/browser/js/app/widgets/plots/led.js @@ -48,7 +48,7 @@ module.exports = class Led extends _widgets_base { super({...options, html: html}) - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`, this.syncHandle.bind(this)) this.setValue(this.getProp('range').min) @@ -56,7 +56,7 @@ module.exports = class Led extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -80,7 +80,7 @@ module.exports = class Led extends _widgets_base { this.value = v this.widget[0].style.setProperty('--opacity', mapToScale(v,[this.getProp('range').min,this.getProp('range').max],[0,1],false,this.getProp('logScale'),true)) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/meter.js b/src/browser/js/app/widgets/plots/meter.js index 79ab3ab0..b1099398 100644 --- a/src/browser/js/app/widgets/plots/meter.js +++ b/src/browser/js/app/widgets/plots/meter.js @@ -57,14 +57,14 @@ module.exports = class Meter extends Fader { this.canvas.off('draginit drag') - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) } onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } diff --git a/src/browser/js/app/widgets/plots/rgbled.js b/src/browser/js/app/widgets/plots/rgbled.js index 1c0a00bf..dabb0241 100644 --- a/src/browser/js/app/widgets/plots/rgbled.js +++ b/src/browser/js/app/widgets/plots/rgbled.js @@ -46,7 +46,7 @@ module.exports = class Rbgled extends _widgets_base { super({...options, html: html}) - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) this.setValue([0,0,0,0]) @@ -54,7 +54,7 @@ module.exports = class Rbgled extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -103,7 +103,7 @@ module.exports = class Rbgled extends _widgets_base { this.widget[0].style.setProperty('--color-led', c) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js index 103a42d8..df3baa22 100644 --- a/src/browser/js/app/widgets/plots/text.js +++ b/src/browser/js/app/widgets/plots/text.js @@ -51,7 +51,7 @@ module.exports = class Text extends _widgets_base { this.value = this.defaultValue - if (this.getProp('widgetId').length) $('body').on(`change.${this.hash}`,this.syncHandle.bind(this)) + if (this.getProp('widgetId').length) widgetManager.on(`change.${this.hash}`,this.syncHandle.bind(this)) this.setValue(this.value) @@ -59,7 +59,7 @@ module.exports = class Text extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -83,7 +83,7 @@ module.exports = class Text extends _widgets_base { this.value = v==null ? this.defaultValue : v this.widget.html(iconify(String(this.value).replace(/\n/g,'
    '))) - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/plots/visualizer.js b/src/browser/js/app/widgets/plots/visualizer.js index d42c6730..9a557d55 100644 --- a/src/browser/js/app/widgets/plots/visualizer.js +++ b/src/browser/js/app/widgets/plots/visualizer.js @@ -125,7 +125,7 @@ module.exports = class Visualizer extends _plots_base { this.value = v[v.length - 1] this.startLoop() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } else if (typeof(v) == 'number'){ @@ -133,7 +133,7 @@ module.exports = class Visualizer extends _plots_base { this.value = v this.startLoop() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index 7ad000a3..f4190646 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -81,8 +81,8 @@ module.exports = class _sliders_base extends _canvas_base { }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -209,8 +209,8 @@ module.exports = class _sliders_base extends _canvas_base { this.showValue() - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) if (options.send) this.sendValue() + if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/sliders/encoder.js b/src/browser/js/app/widgets/sliders/encoder.js index 67af2bf7..a27c8a78 100644 --- a/src/browser/js/app/widgets/sliders/encoder.js +++ b/src/browser/js/app/widgets/sliders/encoder.js @@ -107,8 +107,11 @@ module.exports = class Encoder extends _widgets_base { this.previousValue = this.ticks/2 - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.on('change',(e)=>{ + + if (e.widget == this) return + + e.stopPropagation = true var value = this.knob.getValue() @@ -202,7 +205,7 @@ module.exports = class Encoder extends _widgets_base { } - if (options.sync && match) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync && match) this.changed(options) if (options.send && match && !(!this.getProp('snap') && options.draginit)) this.sendValue() if (options.dragged || options.draginit) this.updateDisplay(options.draginit) diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 72daccc6..29b963ad 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -274,13 +274,19 @@ module.exports = class Range extends _widgets_base { this.wrapper.append(this.faders[0].widget) this.wrapper.append(this.faders[1].widget) - this.wrapper.on('change',(e)=>{ - e.stopPropagation() + this.on('change',(e)=>{ + + if (e.widget == this) return + + e.stopPropagation = true + var v = [ this.faders[0].getValue(), this.faders[1].getValue() ] + this.setValue(v, e.options) + }) this.handles = [ @@ -350,8 +356,8 @@ module.exports = class Range extends _widgets_base { parent:this, parentNode:this.widget, }) this.widget.append(this.input.widget) - this.input.widget.on('change', (e)=>{ - e.stopPropagation() + this.input.on('change', (e)=>{ + e.stopPropagation = true this.setValue(this.input.getValue(), {sync:true, send:true}) this.showValue() }) @@ -406,7 +412,7 @@ module.exports = class Range extends _widgets_base { if (options.send) this.sendValue() - if (options.sync) this.widget.trigger({type:'change', id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) this.faders[1].draw() diff --git a/src/browser/js/app/widgets/switchers/_switchers_base.js b/src/browser/js/app/widgets/switchers/_switchers_base.js index 5c065ac3..a2166381 100644 --- a/src/browser/js/app/widgets/switchers/_switchers_base.js +++ b/src/browser/js/app/widgets/switchers/_switchers_base.js @@ -19,7 +19,7 @@ module.exports = class _switchers_base extends _widgets_base { } - $('body').on(`change.${this.hash}`,this.syncHandler.bind(this)) + widgetManager.on(`change.${this.hash}`,this.syncHandler.bind(this)) } @@ -39,7 +39,7 @@ module.exports = class _switchers_base extends _widgets_base { onRemove() { - $('body').off(`change.${this.hash}`) + widgetManager.off(`change.${this.hash}`) super.onRemove() } @@ -104,7 +104,7 @@ module.exports = class _switchers_base extends _widgets_base { } } - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'), options:options}) + if (options.sync) this.changed(options) if (options.send) this.sendValue() } diff --git a/src/browser/js/app/widgets/switchers/crossfader.js b/src/browser/js/app/widgets/switchers/crossfader.js index ed3fbdbd..60be168b 100644 --- a/src/browser/js/app/widgets/switchers/crossfader.js +++ b/src/browser/js/app/widgets/switchers/crossfader.js @@ -33,9 +33,9 @@ module.exports = class Crossfader extends Switcher { this.widget.append($('
    ').append(this.fader.widget)) - this.fader.widget.on('change', (e)=>{ + this.fader.on('change', (e)=>{ - e.stopPropagation() + e.stopPropagation = true this.setValue(this.fader.getValue(), e.options) diff --git a/src/browser/js/app/widgets/switchers/switcher.js b/src/browser/js/app/widgets/switchers/switcher.js index 8cf31ae5..02405ca0 100644 --- a/src/browser/js/app/widgets/switchers/switcher.js +++ b/src/browser/js/app/widgets/switchers/switcher.js @@ -59,15 +59,12 @@ module.exports = class Switcher extends _switchers_base { this.widget.append(this.switch.widget) - this.switch.widget.on('change', (e)=>{ + this.switch.on('change', (e)=>{ - e.stopPropagation() + e.stopPropagation = true + e.options.fromSelf = true - var {widget, options} = e - - options.fromSelf = true - - this.setValue(this.switch.getValue(), options) + this.setValue(this.switch.getValue(), e.options) }) From 93d8391b5b5bb05ceec863c8e4dd57fa264b7b7f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 20:07:23 +0100 Subject: [PATCH 0211/5759] canvas: batch all canvas operations to optimize perfs --- .../js/app/widgets/common/_canvas_base.js | 22 ++++++++++++++++++- src/browser/js/app/widgets/inputs/input.js | 2 +- src/browser/js/app/widgets/maths/formula.js | 2 +- src/browser/js/app/widgets/pads/multixy.js | 2 +- src/browser/js/app/widgets/pads/rgb.js | 2 +- src/browser/js/app/widgets/pads/xy.js | 2 +- .../js/app/widgets/plots/_plots_base.js | 4 ++-- .../js/app/widgets/plots/visualizer.js | 2 +- .../js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 2 +- 10 files changed, 31 insertions(+), 11 deletions(-) diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index 19564cbf..e9022456 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -1,5 +1,21 @@ var _widgets_base = require('./_widgets_base') +var drawQueue = {}, + flushDrawQueue = ()=>{ + for (var h in drawQueue) { + drawQueue[h].draw() + } + drawQueue = {} + }, + drawQueueLoop = ()=>{ + requestAnimationFrame(flushDrawQueue) + setTimeout(drawQueueLoop, 1000 / 60) + } + +drawQueueLoop() + + + module.exports = class _canvas_base extends _widgets_base { constructor(options) { @@ -80,7 +96,7 @@ module.exports = class _canvas_base extends _widgets_base { this.ctx.textBaseline = "middle" this.ctx.textAlign = this.textAlign - requestAnimationFrame(this.draw.bind(this)) + requestAnimationFrame(this.batchDraw.bind(this)) } @@ -102,6 +118,10 @@ module.exports = class _canvas_base extends _widgets_base { } + batchDraw() { + drawQueue[this.hash] = this + } + draw(){ throw 'Calling unimplemented draw() method' } diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index 4dfd16c0..84ef24b1 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -172,7 +172,7 @@ module.exports = class Input extends _canvas_base { if (options.sentOnce) options.send = false this.stringValue = this.getStringValue() - this.draw() + this.batchDraw() if (options.send && !options.fromSync) this.sendValue() if (options.sync) this.changed(options) diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index ad1c038b..dc7bec53 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -182,7 +182,7 @@ module.exports = class Formula extends _widgets_base { if (this.getProp('condition').length && !this.conditionState) { this.input.stringValue = '* ' + this.input.stringValue - this.input.draw() + this.input.batchDraw() } } diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index e3c20f72..3ce90bba 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -228,7 +228,7 @@ module.exports = class MultiXy extends _pads_base { } this.updateHandlesPosition() - this.draw() + this.batchDraw() for (var i=0;i 0) { this.shiftData(Math.floor(this.ticks)) this.ticks -= Math.floor(this.ticks) - this.draw() + this.batchDraw() } this.lastUpdate = t diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index f4190646..f249464c 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -205,7 +205,7 @@ module.exports = class _sliders_base extends _canvas_base { if (!options.dragged) this.percent = this.valueToPercent(this.value) - if (!this.noDraw) this.draw() + if (!this.noDraw) this.batchDraw() this.showValue() diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 29b963ad..43b94588 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -414,7 +414,7 @@ module.exports = class Range extends _widgets_base { if (options.send) this.sendValue() if (options.sync) this.changed(options) - this.faders[1].draw() + this.faders[1].batchDraw() this.showValue() From ead0d0f9819e400f5df51fa323940dc8b9873a88 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 20:07:23 +0100 Subject: [PATCH 0212/5759] canvas: batch all canvas operations to optimize perfs --- .../js/app/widgets/common/_canvas_base.js | 22 ++++++++++++++++++- src/browser/js/app/widgets/inputs/input.js | 2 +- src/browser/js/app/widgets/maths/formula.js | 2 +- src/browser/js/app/widgets/pads/multixy.js | 2 +- src/browser/js/app/widgets/pads/rgb.js | 2 +- src/browser/js/app/widgets/pads/xy.js | 2 +- .../js/app/widgets/plots/_plots_base.js | 4 ++-- .../js/app/widgets/plots/visualizer.js | 2 +- .../js/app/widgets/sliders/_sliders_base.js | 2 +- src/browser/js/app/widgets/sliders/range.js | 2 +- 10 files changed, 31 insertions(+), 11 deletions(-) diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index 19564cbf..e9022456 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -1,5 +1,21 @@ var _widgets_base = require('./_widgets_base') +var drawQueue = {}, + flushDrawQueue = ()=>{ + for (var h in drawQueue) { + drawQueue[h].draw() + } + drawQueue = {} + }, + drawQueueLoop = ()=>{ + requestAnimationFrame(flushDrawQueue) + setTimeout(drawQueueLoop, 1000 / 60) + } + +drawQueueLoop() + + + module.exports = class _canvas_base extends _widgets_base { constructor(options) { @@ -80,7 +96,7 @@ module.exports = class _canvas_base extends _widgets_base { this.ctx.textBaseline = "middle" this.ctx.textAlign = this.textAlign - requestAnimationFrame(this.draw.bind(this)) + requestAnimationFrame(this.batchDraw.bind(this)) } @@ -102,6 +118,10 @@ module.exports = class _canvas_base extends _widgets_base { } + batchDraw() { + drawQueue[this.hash] = this + } + draw(){ throw 'Calling unimplemented draw() method' } diff --git a/src/browser/js/app/widgets/inputs/input.js b/src/browser/js/app/widgets/inputs/input.js index 4dfd16c0..84ef24b1 100644 --- a/src/browser/js/app/widgets/inputs/input.js +++ b/src/browser/js/app/widgets/inputs/input.js @@ -172,7 +172,7 @@ module.exports = class Input extends _canvas_base { if (options.sentOnce) options.send = false this.stringValue = this.getStringValue() - this.draw() + this.batchDraw() if (options.send && !options.fromSync) this.sendValue() if (options.sync) this.changed(options) diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index ad1c038b..dc7bec53 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -182,7 +182,7 @@ module.exports = class Formula extends _widgets_base { if (this.getProp('condition').length && !this.conditionState) { this.input.stringValue = '* ' + this.input.stringValue - this.input.draw() + this.input.batchDraw() } } diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index e3c20f72..3ce90bba 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -228,7 +228,7 @@ module.exports = class MultiXy extends _pads_base { } this.updateHandlesPosition() - this.draw() + this.batchDraw() for (var i=0;i 0) { this.shiftData(Math.floor(this.ticks)) this.ticks -= Math.floor(this.ticks) - this.draw() + this.batchDraw() } this.lastUpdate = t diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index f4190646..f249464c 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -205,7 +205,7 @@ module.exports = class _sliders_base extends _canvas_base { if (!options.dragged) this.percent = this.valueToPercent(this.value) - if (!this.noDraw) this.draw() + if (!this.noDraw) this.batchDraw() this.showValue() diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 29b963ad..43b94588 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -414,7 +414,7 @@ module.exports = class Range extends _widgets_base { if (options.send) this.sendValue() if (options.sync) this.changed(options) - this.faders[1].draw() + this.faders[1].batchDraw() this.showValue() From bc9cef5e9dd0ac19cda64e12527bc81bf421aeb7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 21:00:16 +0100 Subject: [PATCH 0213/5759] events: missing widget "change" event migrations --- src/browser/js/app/widgets/buttons/push.js | 4 ++-- src/browser/js/app/widgets/maths/formula.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/buttons/push.js b/src/browser/js/app/widgets/buttons/push.js index 705ccbdd..bddf7c6a 100644 --- a/src/browser/js/app/widgets/buttons/push.js +++ b/src/browser/js/app/widgets/buttons/push.js @@ -115,13 +115,13 @@ module.exports = class Push extends _widgets_base { this.state = 1 if (options.send) this.sendValue(v) this.lastChanged = 'state' - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'),options:options}) + if (options.sync) this.changed(options) } else if (v===this.getProp('off') || (this.getProp('off') != null && v === this.getProp('off').value && v !== undefined)) { this.classHolders.removeClass('on') this.state = 0 if (options.send) this.sendValue(v) this.lastChanged = 'state' - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'),options:options}) + if (options.sync) this.changed(options) } } diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index dc7bec53..164f989b 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -164,7 +164,6 @@ module.exports = class Formula extends _widgets_base { this.showValue() - if (e.options.sync && this.conditionState) this.widget.trigger({type: 'change',id: this.getProp('id'),widget: this, linkId: this.getProp('linkId'), options: e.options}) if (e.options.sync && this.conditionState) this.changed(e.options) if (e.options.send && this.conditionState) this.sendValue() From aced94adfd5ae8c61c1b419319cabfb65de00419 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 21:00:16 +0100 Subject: [PATCH 0214/5759] events: missing widget "change" event migrations --- src/browser/js/app/widgets/buttons/push.js | 4 ++-- src/browser/js/app/widgets/maths/formula.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/widgets/buttons/push.js b/src/browser/js/app/widgets/buttons/push.js index 705ccbdd..bddf7c6a 100644 --- a/src/browser/js/app/widgets/buttons/push.js +++ b/src/browser/js/app/widgets/buttons/push.js @@ -115,13 +115,13 @@ module.exports = class Push extends _widgets_base { this.state = 1 if (options.send) this.sendValue(v) this.lastChanged = 'state' - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'),options:options}) + if (options.sync) this.changed(options) } else if (v===this.getProp('off') || (this.getProp('off') != null && v === this.getProp('off').value && v !== undefined)) { this.classHolders.removeClass('on') this.state = 0 if (options.send) this.sendValue(v) this.lastChanged = 'state' - if (options.sync) this.widget.trigger({type:'change',id:this.getProp('id'),widget:this, linkId:this.getProp('linkId'),options:options}) + if (options.sync) this.changed(options) } } diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index dc7bec53..164f989b 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -164,7 +164,6 @@ module.exports = class Formula extends _widgets_base { this.showValue() - if (e.options.sync && this.conditionState) this.widget.trigger({type: 'change',id: this.getProp('id'),widget: this, linkId: this.getProp('linkId'), options: e.options}) if (e.options.sync && this.conditionState) this.changed(e.options) if (e.options.send && this.conditionState) this.sendValue() From 18ef775125f2f7d808782e93c7a5a44f6bafdf87 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 23:57:25 +0100 Subject: [PATCH 0215/5759] canvas: redraw on resize one frame earlier --- src/browser/js/app/widgets/common/_canvas_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index e9022456..09e3cd77 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -96,7 +96,7 @@ module.exports = class _canvas_base extends _widgets_base { this.ctx.textBaseline = "middle" this.ctx.textAlign = this.textAlign - requestAnimationFrame(this.batchDraw.bind(this)) + requestAnimationFrame(this.draw.bind(this)) } From 77b3b6be85b1d82755922e407b8bd5656c87e137 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Jan 2018 23:57:25 +0100 Subject: [PATCH 0216/5759] canvas: redraw on resize one frame earlier --- src/browser/js/app/widgets/common/_canvas_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index e9022456..09e3cd77 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -96,7 +96,7 @@ module.exports = class _canvas_base extends _widgets_base { this.ctx.textBaseline = "middle" this.ctx.textAlign = this.textAlign - requestAnimationFrame(this.batchDraw.bind(this)) + requestAnimationFrame(this.draw.bind(this)) } From 565c6bfe41c262f8ea66659d14fb064d243f3dc8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 10:15:09 +0100 Subject: [PATCH 0217/5759] canvas: a bit smarter framerate handling + framerate url option --- resources/docs/extras/url-options.md | 1 + src/browser/js/app/globals.js | 1 + .../js/app/widgets/common/_canvas_base.js | 16 ++++++++++++---- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/resources/docs/extras/url-options.md b/resources/docs/extras/url-options.md index a61ed269..ab42e99f 100644 --- a/resources/docs/extras/url-options.md +++ b/resources/docs/extras/url-options.md @@ -9,6 +9,7 @@ Client specific options can be set by adding query parameters to the server's ur | forceHdpi | number | 0 | force canvas scaling (ignore `hdpi`) | | doubletab | number | 375 | sets the double tap/click time thershold in milliseconds | | zoom | number | 1 | sets the initial zoom | +| framerate | number | 60 | limit canvas drawing framerate | Example: diff --git a/src/browser/js/app/globals.js b/src/browser/js/app/globals.js index ee959973..6d97a2f6 100644 --- a/src/browser/js/app/globals.js +++ b/src/browser/js/app/globals.js @@ -15,6 +15,7 @@ window.EDITING = false window.GRIDWIDTH = 10 +window.CANVAS_FRAMERATE = parseFloat(ARGV.framerate || 60) window.CANVAS_SCALING = parseFloat(ARGV.forceHdpi) || ( ARGV.hdpi ? window.devicePixelRatio : 1 ) window.INITIALZOOM = ARGV.zoom ? ARGV.zoom : 1 window.PXSCALE = INITIALZOOM diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index 09e3cd77..844b26a4 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -1,18 +1,26 @@ var _widgets_base = require('./_widgets_base') var drawQueue = {}, + previousFrameTime = 0, + delta = 0, + frameLength = 1000 / CANVAS_FRAMERATE, flushDrawQueue = ()=>{ for (var h in drawQueue) { drawQueue[h].draw() } drawQueue = {} }, - drawQueueLoop = ()=>{ - requestAnimationFrame(flushDrawQueue) - setTimeout(drawQueueLoop, 1000 / 60) + drawQueueLoop = (now)=>{ + requestAnimationFrame(drawQueueLoop) + delta = now - previousFrameTime + if (delta > frameLength) { + previousFrameTime = now - (delta % frameLength) + flushDrawQueue() + } } -drawQueueLoop() + +requestAnimationFrame(drawQueueLoop) From c93db8b3c6e6824618bb42bf023b7ee3a373d97f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 10:15:09 +0100 Subject: [PATCH 0218/5759] canvas: a bit smarter framerate handling + framerate url option --- resources/docs/extras/url-options.md | 1 + src/browser/js/app/globals.js | 1 + .../js/app/widgets/common/_canvas_base.js | 16 ++++++++++++---- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/resources/docs/extras/url-options.md b/resources/docs/extras/url-options.md index a61ed269..ab42e99f 100644 --- a/resources/docs/extras/url-options.md +++ b/resources/docs/extras/url-options.md @@ -9,6 +9,7 @@ Client specific options can be set by adding query parameters to the server's ur | forceHdpi | number | 0 | force canvas scaling (ignore `hdpi`) | | doubletab | number | 375 | sets the double tap/click time thershold in milliseconds | | zoom | number | 1 | sets the initial zoom | +| framerate | number | 60 | limit canvas drawing framerate | Example: diff --git a/src/browser/js/app/globals.js b/src/browser/js/app/globals.js index ee959973..6d97a2f6 100644 --- a/src/browser/js/app/globals.js +++ b/src/browser/js/app/globals.js @@ -15,6 +15,7 @@ window.EDITING = false window.GRIDWIDTH = 10 +window.CANVAS_FRAMERATE = parseFloat(ARGV.framerate || 60) window.CANVAS_SCALING = parseFloat(ARGV.forceHdpi) || ( ARGV.hdpi ? window.devicePixelRatio : 1 ) window.INITIALZOOM = ARGV.zoom ? ARGV.zoom : 1 window.PXSCALE = INITIALZOOM diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index 09e3cd77..844b26a4 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -1,18 +1,26 @@ var _widgets_base = require('./_widgets_base') var drawQueue = {}, + previousFrameTime = 0, + delta = 0, + frameLength = 1000 / CANVAS_FRAMERATE, flushDrawQueue = ()=>{ for (var h in drawQueue) { drawQueue[h].draw() } drawQueue = {} }, - drawQueueLoop = ()=>{ - requestAnimationFrame(flushDrawQueue) - setTimeout(drawQueueLoop, 1000 / 60) + drawQueueLoop = (now)=>{ + requestAnimationFrame(drawQueueLoop) + delta = now - previousFrameTime + if (delta > frameLength) { + previousFrameTime = now - (delta % frameLength) + flushDrawQueue() + } } -drawQueueLoop() + +requestAnimationFrame(drawQueueLoop) From 4863958ffa4c4130cdc914989c9aca096d0c4855 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 13:08:33 +0100 Subject: [PATCH 0219/5759] canvas: objectify canvas queue and stop the rAF loop when idle --- .../js/app/widgets/common/_canvas_base.js | 75 ++++++++++++++----- 1 file changed, 56 insertions(+), 19 deletions(-) diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index 844b26a4..a9663ff9 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -1,27 +1,62 @@ var _widgets_base = require('./_widgets_base') -var drawQueue = {}, - previousFrameTime = 0, - delta = 0, - frameLength = 1000 / CANVAS_FRAMERATE, - flushDrawQueue = ()=>{ - for (var h in drawQueue) { - drawQueue[h].draw() - } - drawQueue = {} - }, - drawQueueLoop = (now)=>{ - requestAnimationFrame(drawQueueLoop) - delta = now - previousFrameTime - if (delta > frameLength) { - previousFrameTime = now - (delta % frameLength) - flushDrawQueue() - } +class CanvasQueue { + + constructor() { + + this.queue = {} + this.flushed = 0 + this.running = false + this.frameLength = 1000 / CANVAS_FRAMERATE + this.lastFrame = 0 + this.bindedLoop = this.loop.bind(this) + } + push(widget) { -requestAnimationFrame(drawQueueLoop) + this.queue[widget.hash] = widget + this.flushed = 0 + if (!this.running) { + this.running = true + requestAnimationFrame(this.bindedLoop) + } + + } + + flush() { + + for (var h in this.queue) { + this.queue[h].draw() + } + + this.queue = {} + this.flushed++ + + } + + loop(timestamp) { + + if (this.flushed >= 10) { + this.running = false + return + } + + requestAnimationFrame(this.bindedLoop) + + var delta = timestamp - this.lastFrame + + if (delta > this.frameLength) { + this.lastFrame = timestamp - (delta % this.frameLength) + this.flush() + } + + } + +} + +var canvasQueue = new CanvasQueue() module.exports = class _canvas_base extends _widgets_base { @@ -127,7 +162,9 @@ module.exports = class _canvas_base extends _widgets_base { } batchDraw() { - drawQueue[this.hash] = this + + canvasQueue.push(this) + } draw(){ From c9354f3c78a245797ba5f04d7ba1b081b744f7b0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 13:08:33 +0100 Subject: [PATCH 0220/5759] canvas: objectify canvas queue and stop the rAF loop when idle --- .../js/app/widgets/common/_canvas_base.js | 75 ++++++++++++++----- 1 file changed, 56 insertions(+), 19 deletions(-) diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index 844b26a4..a9663ff9 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -1,27 +1,62 @@ var _widgets_base = require('./_widgets_base') -var drawQueue = {}, - previousFrameTime = 0, - delta = 0, - frameLength = 1000 / CANVAS_FRAMERATE, - flushDrawQueue = ()=>{ - for (var h in drawQueue) { - drawQueue[h].draw() - } - drawQueue = {} - }, - drawQueueLoop = (now)=>{ - requestAnimationFrame(drawQueueLoop) - delta = now - previousFrameTime - if (delta > frameLength) { - previousFrameTime = now - (delta % frameLength) - flushDrawQueue() - } +class CanvasQueue { + + constructor() { + + this.queue = {} + this.flushed = 0 + this.running = false + this.frameLength = 1000 / CANVAS_FRAMERATE + this.lastFrame = 0 + this.bindedLoop = this.loop.bind(this) + } + push(widget) { -requestAnimationFrame(drawQueueLoop) + this.queue[widget.hash] = widget + this.flushed = 0 + if (!this.running) { + this.running = true + requestAnimationFrame(this.bindedLoop) + } + + } + + flush() { + + for (var h in this.queue) { + this.queue[h].draw() + } + + this.queue = {} + this.flushed++ + + } + + loop(timestamp) { + + if (this.flushed >= 10) { + this.running = false + return + } + + requestAnimationFrame(this.bindedLoop) + + var delta = timestamp - this.lastFrame + + if (delta > this.frameLength) { + this.lastFrame = timestamp - (delta % this.frameLength) + this.flush() + } + + } + +} + +var canvasQueue = new CanvasQueue() module.exports = class _canvas_base extends _widgets_base { @@ -127,7 +162,9 @@ module.exports = class _canvas_base extends _widgets_base { } batchDraw() { - drawQueue[this.hash] = this + + canvasQueue.push(this) + } draw(){ From 499637e851c6847f5f72c08cce2366016c7614aa Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 14:07:36 +0100 Subject: [PATCH 0221/5759] package: update deps --- app/package.json | 6 +++--- package.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/package.json b/app/package.json index 04368c47..559d90b3 100644 --- a/app/package.json +++ b/app/package.json @@ -22,15 +22,15 @@ "main": "index.js", "dependencies": { "bonjour": "^3.5.0", - "chokidar": "1.7.0", - "electron-localshortcut": "2.0.2", + "chokidar": "2.0.0", + "electron-localshortcut": "3.1.0", "express": "4.16.2", "jquery": "3.2.1", "osc": "2.2.0", "python-shell": "0.4.0", "socket.io": "2.0.4", "vmodule": "1.0.1", - "yargs": "10.0.3" + "yargs": "10.1.1" }, "scripts": { "start": "electron ." diff --git a/package.json b/package.json index fbd2970a..c1e533a1 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,10 @@ "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", "babelify": "8.0.0", - "browserify": "14.5.0", + "browserify": "15.1.0", "cardinal-spline-js": "2.3.6", "electron": "~1.7.10", - "electron-packager": "10.1.0", + "electron-packager": "10.1.1", "exorcist": "1.0.0", "file-saver": "1.3.3", "jquery": "3.2.1", @@ -35,9 +35,9 @@ "keyboardjs": "^2.4.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.18.1", + "mathjs": "3.19.0", "node-sass": "4.7.2", - "nodemon": "1.14.6", + "nodemon": "1.14.11", "nosleep.js": "0.7.0", "screenfull": "3.3.2", "shortid": "2.2.8", From 25d4318e7fee08d9addd658a211d2eb78597fd1e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 14:07:36 +0100 Subject: [PATCH 0222/5759] package: update deps --- app/package.json | 6 +++--- package.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/package.json b/app/package.json index 04368c47..559d90b3 100644 --- a/app/package.json +++ b/app/package.json @@ -22,15 +22,15 @@ "main": "index.js", "dependencies": { "bonjour": "^3.5.0", - "chokidar": "1.7.0", - "electron-localshortcut": "2.0.2", + "chokidar": "2.0.0", + "electron-localshortcut": "3.1.0", "express": "4.16.2", "jquery": "3.2.1", "osc": "2.2.0", "python-shell": "0.4.0", "socket.io": "2.0.4", "vmodule": "1.0.1", - "yargs": "10.0.3" + "yargs": "10.1.1" }, "scripts": { "start": "electron ." diff --git a/package.json b/package.json index fbd2970a..c1e533a1 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,10 @@ "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", "babelify": "8.0.0", - "browserify": "14.5.0", + "browserify": "15.1.0", "cardinal-spline-js": "2.3.6", "electron": "~1.7.10", - "electron-packager": "10.1.0", + "electron-packager": "10.1.1", "exorcist": "1.0.0", "file-saver": "1.3.3", "jquery": "3.2.1", @@ -35,9 +35,9 @@ "keyboardjs": "^2.4.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.18.1", + "mathjs": "3.19.0", "node-sass": "4.7.2", - "nodemon": "1.14.6", + "nodemon": "1.14.11", "nosleep.js": "0.7.0", "screenfull": "3.3.2", "shortid": "2.2.8", From 6e0af98ed6ee32a2dde3ce2b8d5b826a90465659 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 14:19:19 +0100 Subject: [PATCH 0223/5759] maths: don't import minified file as prod packaging doesn't work well with it --- src/browser/js/app/widgets/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index 8ed018a8..1ca76976 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -71,7 +71,7 @@ module.exports = { }, math: function(){ - var math = require('mathjs/dist/math.min.js').create({ + var math = require('mathjs').create({ matrix: 'Array' }) // set math's parser array index base to zero From b96bf4f6f8a4f14c5569a78a954e91beb772a9c6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 14:19:19 +0100 Subject: [PATCH 0224/5759] maths: don't import minified file as prod packaging doesn't work well with it --- src/browser/js/app/widgets/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index 8ed018a8..1ca76976 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -71,7 +71,7 @@ module.exports = { }, math: function(){ - var math = require('mathjs/dist/math.min.js').create({ + var math = require('mathjs').create({ matrix: 'Array' }) // set math's parser array index base to zero From d63ff81d39a7a46565c431209daa6b5e1f6ad3b1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 14:35:53 +0100 Subject: [PATCH 0225/5759] examples: fix keys (mathjs array zero-indexed) --- app/examples/keys.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/examples/keys.json b/app/examples/keys.json index 8a1d51aa..977a7f4c 100644 --- a/app/examples/keys.json +++ b/app/examples/keys.json @@ -122,7 +122,7 @@ "t" ], "widgetId": "xy_1", - "keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[1] + x\nvalue[2] + x\n# value + 0.1 works too", + "keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[0] + x\nvalue[1] + x\n# value + 0.1 works too", "keyup": "", "repeat": false } From ae74946493b573e786994590aa0260decd4d8bcf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 11 Jan 2018 14:35:53 +0100 Subject: [PATCH 0226/5759] examples: fix keys (mathjs array zero-indexed) --- app/examples/keys.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/examples/keys.json b/app/examples/keys.json index 8a1d51aa..977a7f4c 100644 --- a/app/examples/keys.json +++ b/app/examples/keys.json @@ -122,7 +122,7 @@ "t" ], "widgetId": "xy_1", - "keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[1] + x\nvalue[2] + x\n# value + 0.1 works too", + "keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[0] + x\nvalue[1] + x\n# value + 0.1 works too", "keyup": "", "repeat": false } From 4eed47c198ad04c5f7ec61d9d4df98c35236cdfe Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 12:39:39 +0100 Subject: [PATCH 0227/5759] events: handle "widget-created" event without dom, make widget auto register their children --- src/browser/js/app/editor/data-workers.js | 8 +----- .../js/app/widgets/common/_widgets_base.js | 18 ++++++++++-- .../js/app/widgets/containers/clone.js | 28 ++++++------------- .../js/app/widgets/containers/panel.js | 27 ++++-------------- .../js/app/widgets/matrices/_matrices_base.js | 14 +--------- .../js/app/widgets/matrices/keyboard.js | 2 -- .../js/app/widgets/matrices/multifader.js | 2 -- .../js/app/widgets/matrices/multipush.js | 2 -- .../js/app/widgets/matrices/multitoggle.js | 2 -- 9 files changed, 30 insertions(+), 73 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index f9d680d2..0d0781eb 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -20,7 +20,7 @@ var updateDom = function(container,data, remote) { // save state var scroll = $('#sidepanel').scrollTop(), - oldWidgets = container[0].abstract.hashes || [container[0].abstract.hash], + oldWidgets = container[0].abstract.childrenHashes.concat(container[0].abstract.hash), wScroll = {} stateManager.incrementQueue() @@ -44,12 +44,6 @@ var updateDom = function(container,data, remote) { var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) container.replaceWith(newContainer) - if (data.type == 'tab') newContainer.trigger('tab-created') - - if (newContainer[0].abstract.parent && newContainer[0].abstract.parent.registerHashes) { - newContainer[0].abstract.parent.registerHashes(true) - } - $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) newContainer.trigger('resize') diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 2c57fd6b..46323ce2 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -28,6 +28,7 @@ module.exports = class _widgets_base extends EventEmitter { this.parent = options.parent this.parentNode = options.parentNode this.hash = _widgets_base.createHash() + this.childrenHashes = [] this.widget.abstract = this if (this.container) this.container[0].abstract = this @@ -67,7 +68,7 @@ module.exports = class _widgets_base extends EventEmitter { if (Object.keys(this.linkedProps).length) { - $('body').on(`widget-created.${this.hash}`, (e)=>{ + widgetManager.on(`widget-created.${this.hash}`, (e)=>{ var {id} = e if (this.linkedProps[id] && id != this.getProp('id')) { this.checkPropsChanged(this.linkedProps[id]) @@ -92,11 +93,22 @@ module.exports = class _widgets_base extends EventEmitter { this.precision = Math.min(20,Math.max(this.getProp('precision', undefined, false),0)) } + this.on('widget-created', (e)=>{ + + if (e.widget == this) return + + this.childrenHashes.push(e.widget.hash) + + }) + } created() { - $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) + this.trigger(/widget-created(\..*)?/, [{ + id: this.getProp('id'), + widget: this + }]) } @@ -279,7 +291,7 @@ module.exports = class _widgets_base extends EventEmitter { } onRemove(){ - $('body').off(`widget-created.${this.hash}`) + widgetManager.off(`widget-created.${this.hash}`) widgetManager.off(`change.${this.hash}`) } diff --git a/src/browser/js/app/widgets/containers/clone.js b/src/browser/js/app/widgets/containers/clone.js index 6f7d85d0..f058f163 100644 --- a/src/browser/js/app/widgets/containers/clone.js +++ b/src/browser/js/app/widgets/containers/clone.js @@ -40,16 +40,15 @@ module.exports = class Clone extends _widgets_base { super({...options, html: '
    '}) - this.cloneHash = [0] + this.cloneHashes = [] this.cloneLock = false this.cloneClass = '' - this.originalHash = false this.createClone() - $('body').on(`widget-created.${this.hash}`, (e)=>{ + widgetManager.on(`widget-created.${this.hash}`, (e)=>{ var {id, widget} = e if ( - (id == this.getProp('widgetId') && this.cloneHash.indexOf(widget.hash) == -1) && + (id == this.getProp('widgetId') && this.cloneHashes.indexOf(widget.hash) == -1) && !(widget.parent && widget.parent.getProp('type') == 'clone') ) { this.createClone(widget) @@ -66,7 +65,7 @@ module.exports = class Clone extends _widgets_base { this.widget.empty() this.container.removeClass(this.cloneClass) - purge(this.cloneHash) + purge(this.childrenHashes) var widgets = widget ? [widget] : widgetManager.getWidgetById(this.getProp('widgetId')) @@ -74,14 +73,8 @@ module.exports = class Clone extends _widgets_base { for (var i = widgets.length - 1; i>=0; i--) { - if ( + if (!(widgets[i].parent && widgets[i].parent.getProp('type') == 'clone')) { - this.cloneHash.indexOf(widgets[i].hash) == -1 && - !(widgets[i].parent && widgets[i].parent.getProp('type') == 'clone') - - ) { - - this.originalHash = widgets[i].hash this.cloneClass = widgets[i].container.attr('class').match(/[^\s]*-container/)[0] this.container.addClass(this.cloneClass) @@ -89,14 +82,9 @@ module.exports = class Clone extends _widgets_base { this.widget.find('.widget').addClass('not-editable') - this.hashes = [this.hash] - if (c[0].abstract.hashes) { - this.hashes = this.hashes.concat(c[0].abstract.hashes) - this.cloneHash = c[0].abstract.hashes - } else { - this.hashes.push(c[0].abstract.hash) - this.cloneHash = [c[0].abstract.hash] - } + widgets[i].once(`widget-created.${this.hash}`, (e)=>{ + this.createClone() + }) break diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 5657a9fa..6118045e 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -73,16 +73,17 @@ module.exports = class Panel extends _widgets_base { parser.parse(this.getProp('tabs'), this.wrapper, this, true) this.createNavigation() - this.registerHashes() this.navigation.on('fake-click', (e)=>{ if (!e.target.hasAttribute('data-widget')) return this.setValue($(e.target).index(), {sync: true, send:this.value != $(e.target).index()}) }) - this.wrapper.on('tab-created', (e)=>{ - e.stopPropagation() - this.createNavigation() + this.on('widget-created', (e)=>{ + if (e.widget == this) return + if (e.widget.parent == this && e.widget.getProp('type') == 'tab') { + this.createNavigation() + } }) this.setValue(this.getProp('value') || 0) @@ -90,7 +91,6 @@ module.exports = class Panel extends _widgets_base { } else if (this.getProp('widgets') && this.getProp('widgets').length) { parser.parse(this.getProp('widgets'), this.widget, this) - this.registerHashes() if (this.getProp('layout') != '') this.parseLayout() } @@ -98,23 +98,6 @@ module.exports = class Panel extends _widgets_base { } - registerHashes(edited) { - - this.hashes = [this.hash] - var widgets = this.widget.add(this.wrapper).find('> .widget') - for (let widget of widgets) { - if (widget.abstract.hashes) { - this.hashes = this.hashes.concat(widget.abstract.hashes) - } else { - this.hashes.push(widget.abstract.hash) - } - } - - if (edited) this.created() - - if (edited && this.parent && this.parent.registerHashes) this.parent.registerHashes(true) - } - createNavigation() { this.navigation.empty() diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index 443f9e56..215d0176 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -13,7 +13,7 @@ module.exports = class _matrices_base extends _widgets_base { this.on('change',(e)=>{ if (e.widget == this) return - + this.value[e.widget.container.index()] = e.widget.getValue() this.changed(e.options) @@ -21,18 +21,6 @@ module.exports = class _matrices_base extends _widgets_base { } - registerHashes() { - this.hashes = [this.hash] - var widgets = this.widget.find('.widget') - for (let widget of widgets) { - if (widget.abstract.hashes) { - this.hashes = this.hashes.concat(widget.abstract.hashes) - } else { - this.hashes.push(widget.abstract.hash) - } - } - } - // conflicts with switchers (double osc send) // setValue(v, options={}) { // if (v && v.length == this.value.length) { diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index 6d71918b..788bd3b7 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -92,8 +92,6 @@ module.exports = class Keyboard extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures() - this.registerHashes() - } } diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 3ab9c8eb..af717c84 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -98,8 +98,6 @@ module.exports = class Multifader extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures({ctrlKeyCancel:true}) - this.registerHashes() - } } diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 605f8df0..88c0a8ca 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -76,8 +76,6 @@ module.exports = class Multipush extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures() - this.registerHashes() - } } diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index bee12e12..b6796b14 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -76,8 +76,6 @@ module.exports = class Multitoggle extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures() - this.registerHashes() - } } From a4266e2e76d1d3d27f99db732457a6ad98d95e50 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 12:39:39 +0100 Subject: [PATCH 0228/5759] events: handle "widget-created" event without dom, make widget auto register their children --- src/browser/js/app/editor/data-workers.js | 8 +----- .../js/app/widgets/common/_widgets_base.js | 18 ++++++++++-- .../js/app/widgets/containers/clone.js | 28 ++++++------------- .../js/app/widgets/containers/panel.js | 27 ++++-------------- .../js/app/widgets/matrices/_matrices_base.js | 14 +--------- .../js/app/widgets/matrices/keyboard.js | 2 -- .../js/app/widgets/matrices/multifader.js | 2 -- .../js/app/widgets/matrices/multipush.js | 2 -- .../js/app/widgets/matrices/multitoggle.js | 2 -- 9 files changed, 30 insertions(+), 73 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index f9d680d2..0d0781eb 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -20,7 +20,7 @@ var updateDom = function(container,data, remote) { // save state var scroll = $('#sidepanel').scrollTop(), - oldWidgets = container[0].abstract.hashes || [container[0].abstract.hash], + oldWidgets = container[0].abstract.childrenHashes.concat(container[0].abstract.hash), wScroll = {} stateManager.incrementQueue() @@ -44,12 +44,6 @@ var updateDom = function(container,data, remote) { var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) container.replaceWith(newContainer) - if (data.type == 'tab') newContainer.trigger('tab-created') - - if (newContainer[0].abstract.parent && newContainer[0].abstract.parent.registerHashes) { - newContainer[0].abstract.parent.registerHashes(true) - } - $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) newContainer.trigger('resize') diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 2c57fd6b..46323ce2 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -28,6 +28,7 @@ module.exports = class _widgets_base extends EventEmitter { this.parent = options.parent this.parentNode = options.parentNode this.hash = _widgets_base.createHash() + this.childrenHashes = [] this.widget.abstract = this if (this.container) this.container[0].abstract = this @@ -67,7 +68,7 @@ module.exports = class _widgets_base extends EventEmitter { if (Object.keys(this.linkedProps).length) { - $('body').on(`widget-created.${this.hash}`, (e)=>{ + widgetManager.on(`widget-created.${this.hash}`, (e)=>{ var {id} = e if (this.linkedProps[id] && id != this.getProp('id')) { this.checkPropsChanged(this.linkedProps[id]) @@ -92,11 +93,22 @@ module.exports = class _widgets_base extends EventEmitter { this.precision = Math.min(20,Math.max(this.getProp('precision', undefined, false),0)) } + this.on('widget-created', (e)=>{ + + if (e.widget == this) return + + this.childrenHashes.push(e.widget.hash) + + }) + } created() { - $('body').trigger({type: 'widget-created', id: this.getProp('id'), widget:this}) + this.trigger(/widget-created(\..*)?/, [{ + id: this.getProp('id'), + widget: this + }]) } @@ -279,7 +291,7 @@ module.exports = class _widgets_base extends EventEmitter { } onRemove(){ - $('body').off(`widget-created.${this.hash}`) + widgetManager.off(`widget-created.${this.hash}`) widgetManager.off(`change.${this.hash}`) } diff --git a/src/browser/js/app/widgets/containers/clone.js b/src/browser/js/app/widgets/containers/clone.js index 6f7d85d0..f058f163 100644 --- a/src/browser/js/app/widgets/containers/clone.js +++ b/src/browser/js/app/widgets/containers/clone.js @@ -40,16 +40,15 @@ module.exports = class Clone extends _widgets_base { super({...options, html: '
    '}) - this.cloneHash = [0] + this.cloneHashes = [] this.cloneLock = false this.cloneClass = '' - this.originalHash = false this.createClone() - $('body').on(`widget-created.${this.hash}`, (e)=>{ + widgetManager.on(`widget-created.${this.hash}`, (e)=>{ var {id, widget} = e if ( - (id == this.getProp('widgetId') && this.cloneHash.indexOf(widget.hash) == -1) && + (id == this.getProp('widgetId') && this.cloneHashes.indexOf(widget.hash) == -1) && !(widget.parent && widget.parent.getProp('type') == 'clone') ) { this.createClone(widget) @@ -66,7 +65,7 @@ module.exports = class Clone extends _widgets_base { this.widget.empty() this.container.removeClass(this.cloneClass) - purge(this.cloneHash) + purge(this.childrenHashes) var widgets = widget ? [widget] : widgetManager.getWidgetById(this.getProp('widgetId')) @@ -74,14 +73,8 @@ module.exports = class Clone extends _widgets_base { for (var i = widgets.length - 1; i>=0; i--) { - if ( + if (!(widgets[i].parent && widgets[i].parent.getProp('type') == 'clone')) { - this.cloneHash.indexOf(widgets[i].hash) == -1 && - !(widgets[i].parent && widgets[i].parent.getProp('type') == 'clone') - - ) { - - this.originalHash = widgets[i].hash this.cloneClass = widgets[i].container.attr('class').match(/[^\s]*-container/)[0] this.container.addClass(this.cloneClass) @@ -89,14 +82,9 @@ module.exports = class Clone extends _widgets_base { this.widget.find('.widget').addClass('not-editable') - this.hashes = [this.hash] - if (c[0].abstract.hashes) { - this.hashes = this.hashes.concat(c[0].abstract.hashes) - this.cloneHash = c[0].abstract.hashes - } else { - this.hashes.push(c[0].abstract.hash) - this.cloneHash = [c[0].abstract.hash] - } + widgets[i].once(`widget-created.${this.hash}`, (e)=>{ + this.createClone() + }) break diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 5657a9fa..6118045e 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -73,16 +73,17 @@ module.exports = class Panel extends _widgets_base { parser.parse(this.getProp('tabs'), this.wrapper, this, true) this.createNavigation() - this.registerHashes() this.navigation.on('fake-click', (e)=>{ if (!e.target.hasAttribute('data-widget')) return this.setValue($(e.target).index(), {sync: true, send:this.value != $(e.target).index()}) }) - this.wrapper.on('tab-created', (e)=>{ - e.stopPropagation() - this.createNavigation() + this.on('widget-created', (e)=>{ + if (e.widget == this) return + if (e.widget.parent == this && e.widget.getProp('type') == 'tab') { + this.createNavigation() + } }) this.setValue(this.getProp('value') || 0) @@ -90,7 +91,6 @@ module.exports = class Panel extends _widgets_base { } else if (this.getProp('widgets') && this.getProp('widgets').length) { parser.parse(this.getProp('widgets'), this.widget, this) - this.registerHashes() if (this.getProp('layout') != '') this.parseLayout() } @@ -98,23 +98,6 @@ module.exports = class Panel extends _widgets_base { } - registerHashes(edited) { - - this.hashes = [this.hash] - var widgets = this.widget.add(this.wrapper).find('> .widget') - for (let widget of widgets) { - if (widget.abstract.hashes) { - this.hashes = this.hashes.concat(widget.abstract.hashes) - } else { - this.hashes.push(widget.abstract.hash) - } - } - - if (edited) this.created() - - if (edited && this.parent && this.parent.registerHashes) this.parent.registerHashes(true) - } - createNavigation() { this.navigation.empty() diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index 443f9e56..215d0176 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -13,7 +13,7 @@ module.exports = class _matrices_base extends _widgets_base { this.on('change',(e)=>{ if (e.widget == this) return - + this.value[e.widget.container.index()] = e.widget.getValue() this.changed(e.options) @@ -21,18 +21,6 @@ module.exports = class _matrices_base extends _widgets_base { } - registerHashes() { - this.hashes = [this.hash] - var widgets = this.widget.find('.widget') - for (let widget of widgets) { - if (widget.abstract.hashes) { - this.hashes = this.hashes.concat(widget.abstract.hashes) - } else { - this.hashes.push(widget.abstract.hash) - } - } - } - // conflicts with switchers (double osc send) // setValue(v, options={}) { // if (v && v.length == this.value.length) { diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index 6d71918b..788bd3b7 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -92,8 +92,6 @@ module.exports = class Keyboard extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures() - this.registerHashes() - } } diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 3ab9c8eb..af717c84 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -98,8 +98,6 @@ module.exports = class Multifader extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures({ctrlKeyCancel:true}) - this.registerHashes() - } } diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 605f8df0..88c0a8ca 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -76,8 +76,6 @@ module.exports = class Multipush extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures() - this.registerHashes() - } } diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index bee12e12..b6796b14 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -76,8 +76,6 @@ module.exports = class Multitoggle extends _matrices_base { if (this.getProp('traversing')) this.widget.enableTraversingGestures() - this.registerHashes() - } } From 039872ef8cb2eb29fc35bcf9a431c6ebf37cad3a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 13:14:06 +0100 Subject: [PATCH 0229/5759] events: restore "tab-created" usage --- src/browser/js/app/editor/data-workers.js | 3 +++ src/browser/js/app/widgets/containers/panel.js | 7 +++---- src/browser/js/app/widgets/containers/tab.js | 2 -- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index 0d0781eb..fee252cd 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -42,8 +42,11 @@ var updateDom = function(container,data, remote) { // widget var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) + container.replaceWith(newContainer) + if (data.type == 'tab') newContainer[0].abstract.trigger('tab-created', [{widget: newContainer[0].abstract}]) + $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) newContainer.trigger('resize') diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 6118045e..3cb6bd12 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -79,11 +79,10 @@ module.exports = class Panel extends _widgets_base { this.setValue($(e.target).index(), {sync: true, send:this.value != $(e.target).index()}) }) - this.on('widget-created', (e)=>{ + this.on('tab-created', (e)=>{ if (e.widget == this) return - if (e.widget.parent == this && e.widget.getProp('type') == 'tab') { - this.createNavigation() - } + this.createNavigation() + e.stopPropagation = true }) this.setValue(this.getProp('value') || 0) diff --git a/src/browser/js/app/widgets/containers/tab.js b/src/browser/js/app/widgets/containers/tab.js index 19f4279c..49d31801 100644 --- a/src/browser/js/app/widgets/containers/tab.js +++ b/src/browser/js/app/widgets/containers/tab.js @@ -50,8 +50,6 @@ module.exports = class Tab extends Panel { this.detached = false - var $body = $('body') - } hide() { From 412866e417856c0897436d580b7e5785d01a7d11 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 13:14:06 +0100 Subject: [PATCH 0230/5759] events: restore "tab-created" usage --- src/browser/js/app/editor/data-workers.js | 3 +++ src/browser/js/app/widgets/containers/panel.js | 7 +++---- src/browser/js/app/widgets/containers/tab.js | 2 -- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index 0d0781eb..fee252cd 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -42,8 +42,11 @@ var updateDom = function(container,data, remote) { // widget var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) + container.replaceWith(newContainer) + if (data.type == 'tab') newContainer[0].abstract.trigger('tab-created', [{widget: newContainer[0].abstract}]) + $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) newContainer.trigger('resize') diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 6118045e..3cb6bd12 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -79,11 +79,10 @@ module.exports = class Panel extends _widgets_base { this.setValue($(e.target).index(), {sync: true, send:this.value != $(e.target).index()}) }) - this.on('widget-created', (e)=>{ + this.on('tab-created', (e)=>{ if (e.widget == this) return - if (e.widget.parent == this && e.widget.getProp('type') == 'tab') { - this.createNavigation() - } + this.createNavigation() + e.stopPropagation = true }) this.setValue(this.getProp('value') || 0) diff --git a/src/browser/js/app/widgets/containers/tab.js b/src/browser/js/app/widgets/containers/tab.js index 19f4279c..49d31801 100644 --- a/src/browser/js/app/widgets/containers/tab.js +++ b/src/browser/js/app/widgets/containers/tab.js @@ -50,8 +50,6 @@ module.exports = class Tab extends Panel { this.detached = false - var $body = $('body') - } hide() { From 521f86b776c2bbe24c60327215d6843ee8ad080d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 14:42:51 +0100 Subject: [PATCH 0231/5759] editor/widgets: centralize dom element to widget instance conversion (-> manager method) --- src/browser/js/app/editor/data-workers.js | 30 +++++-------- src/browser/js/app/editor/edit-objects.js | 27 +++++++----- src/browser/js/app/editor/init.js | 44 +++++++------------ src/browser/js/app/managers/widgets.js | 4 ++ src/browser/js/app/parser.js | 2 +- src/browser/js/app/remote-control.js | 32 ++++++++------ .../js/app/widgets/common/_widgets_base.js | 5 ++- .../js/app/widgets/containers/clone.js | 2 +- .../js/app/widgets/containers/panel.js | 29 +++++++----- .../js/app/widgets/matrices/_matrices_base.js | 9 ---- .../js/app/widgets/matrices/keyboard.js | 8 ++-- .../js/app/widgets/matrices/multifader.js | 6 +-- .../js/app/widgets/matrices/multipush.js | 4 +- .../js/app/widgets/matrices/multitoggle.js | 4 +- src/browser/js/app/widgets/sliders/fader.js | 5 ++- 15 files changed, 102 insertions(+), 109 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index fee252cd..b7101d19 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -5,22 +5,13 @@ var editObject = function(){editObject = require('./edit-objects').editObject; e stateManager = require('../managers/state'), parser = require('../parser') -var getObjectData = function(obj){ - var path = [] +var updateDom = function(widget, options = {}) { - if (obj.hasClass('widget')) { - return obj[0].abstract.props - } else { - return obj.closest('.widget')[0].abstract.props - } - -} - -var updateDom = function(container,data, remote) { + var data = widget.props // save state var scroll = $('#sidepanel').scrollTop(), - oldWidgets = container[0].abstract.childrenHashes.concat(container[0].abstract.hash), + oldWidgets = widget.childrenHashes.concat(widget.hash), wScroll = {} stateManager.incrementQueue() @@ -41,15 +32,15 @@ var updateDom = function(container,data, remote) { purgeStores(oldWidgets) // widget - var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) + var newWidget = parser.parse([data], widget.parentNode, widget.parent) - container.replaceWith(newContainer) + widget.container.replaceWith(newWidget.container) - if (data.type == 'tab') newContainer[0].abstract.trigger('tab-created', [{widget: newContainer[0].abstract}]) + if (data.type == 'tab') newWidget.trigger('tab-created', [{widget: widget}]) $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) - newContainer.trigger('resize') + newWidget.container.trigger('resize') // restore state @@ -63,15 +54,15 @@ var updateDom = function(container,data, remote) { } } - if (!remote) { - editObject(newContainer,data,true) + if (!options.remote) { + editObject(newWidget, {refresh: true}) } $('#sidepanel').scrollTop(scroll) // return updated node - return newContainer + return newWidget } @@ -151,6 +142,5 @@ var incrementWidget = function(data, root){ module.exports = { updateDom:updateDom, - getObjectData:getObjectData, incrementWidget:incrementWidget } diff --git a/src/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js index 9e26f6e1..6e3712c7 100644 --- a/src/browser/js/app/editor/edit-objects.js +++ b/src/browser/js/app/editor/edit-objects.js @@ -17,13 +17,16 @@ var editClean = function(){ } -var editObject = function(container, data, refresh){ +var editObject = function(widget, options = {}){ - if (!refresh && (container.hasClass('editing') || $(`a[data-tab="#${container.attr('id')}"]`).hasClass('editing'))) return + var container = widget.container, + data = widget.props + + if (!options.refresh && (container.hasClass('editing'))) return editClean() - $(`[data-widget="${container.attr('data-widget')}"]`).addClass('editing') + $(`[data-widget="${widget.hash}"]`).addClass('editing') $('#editor').append('
    ') @@ -111,7 +114,7 @@ var editObject = function(container, data, refresh){ if (v==='') delete data[title] try { - var w = updateDom(container,data, false, title == 'value' && v != '') + updateDom(widget) wrapper.removeClass('error') } catch (err) { wrapper.addClass('error') @@ -149,7 +152,7 @@ var editObject = function(container, data, refresh){ .click(function(e){ e.stopPropagation() data.widgets.splice($(this).parent().attr('data-index'),1) - updateDom(container,data) + updateDom(widget) }) } @@ -163,7 +166,7 @@ var editObject = function(container, data, refresh){ data.widgets.splice(newIndex, 0, data.widgets.splice(prevIndex, 1)[0]) - updateDom(container,data) + updateDom(widget) } }) @@ -171,7 +174,7 @@ var editObject = function(container, data, refresh){ data.widgets = data.widgets || [] data.widgets.push({}) - updateDom(container,data) + updateDom(widget) }) list.appendTo(wrapper) @@ -204,7 +207,7 @@ var editObject = function(container, data, refresh){ .click(function(e){ e.stopPropagation() data.tabs.splice($(this).parent().attr('data-index'),1) - updateDom(container,data) + updateDom(widget) }) } @@ -218,7 +221,7 @@ var editObject = function(container, data, refresh){ data.tabs.splice(newIndex, 0, data.tabs.splice(prevIndex, 1)[0]) - updateDom(container,data) + updateDom(widget) } }) @@ -226,7 +229,7 @@ var editObject = function(container, data, refresh){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(container,data) + updateDom(widget) }) list.appendTo(wrapper) @@ -247,7 +250,7 @@ var editObject = function(container, data, refresh){ stop: function( event, ui ) { if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-s')) data.height = Math.round((Math.max(ui.size.height,1)) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-e')) data.width = Math.round(ui.size.width / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - updateDom(container,data) + updateDom(widget) }, grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE] }) @@ -265,7 +268,7 @@ var editObject = function(container, data, refresh){ data.top = (ui.helper.position().top + container.parent().scrollTop())/PXSCALE data.left = (ui.helper.position().left + container.parent().scrollLeft())/PXSCALE ui.helper.remove() - updateDom(container,data) + updateDom(widget) }, handle:'.ui-draggable-handle, > .label', grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE], diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 35a5bdd2..c59f58c0 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -1,4 +1,4 @@ -var {getObjectData, updateDom, incrementWidget} = require('./data-workers'), +var {updateDom, incrementWidget} = require('./data-workers'), {editObject, editClean} = require('./edit-objects'), createPopup = require('../utils').createPopup, {widgets, categories} = require('../widgets/'), @@ -14,30 +14,19 @@ var init = function(){ if (!EDITING) return - // ignore mouse event when fired by a simulated touch event - // already handled in drag.js - // if (e.type=='mousedown' && e.originalEvent.sourceCapabilities.firesTouchEvents) return - menu.close() - if (e.target.classList.contains('not-editable')) return - - var target = e.target.hasAttribute('data-widget') || e.target.classList.contains('widget') ? - $(e.target).not('.not-editable') : $(e.target).closest('.widget:not(.not-editable)') - - if (!target.length) return - - var widget = widgetManager.widgets[target.attr('data-widget')] + var widget = widgetManager.getWidgetByElement(e.target, ':not(.not-editable)') if (!widget) return var container = widget.container, - parent = container.parent(), + parent = widget.parentNode, index = container.index(), - data = getObjectData(container), + data = widget.props, type = widget.props.type == 'tab' ? 'tab' : 'widget' - editObject(container,data) + editObject(widget) if (e.type!='fake-right-click') return @@ -45,7 +34,7 @@ var init = function(){ menu.open(d,{ ' Add tab': function(){ data.tabs.push({}) - updateDom(container,data) + updateDom(widget) } }) @@ -55,7 +44,6 @@ var init = function(){ var actions = {}, clickX = Math.round((d.offsetX + d.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, clickY = Math.round((d.offsetY + d.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - // actions[' Edit'] = function(){editObject(container,data)} if (parent.hasClass('panel')) { actions[' Edit parent'] = function(){parent.trigger('fake-click')} @@ -65,11 +53,11 @@ var init = function(){ if (type=='widget') actions[' Cut'] = function(){ CLIPBOARD=JSON.stringify(data) - var parentContainer = container.parents('.widget').first(), - parentData = getObjectData(parentContainer) + var parent = widget.parent, + parentData = parent.props parentData.widgets.splice(index,1) - updateDom(parentContainer,parentData) + updateDom(parent) } if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { @@ -90,7 +78,7 @@ var init = function(){ } data.widgets.push(newData) - updateDom(container,data) + updateDom(widget) }, ' Clone':function(){ data.widgets = data.widgets || [] @@ -103,7 +91,7 @@ var init = function(){ delete newData.left } data.widgets.push(newData) - updateDom(container,data) + updateDom(widget) } } } @@ -121,7 +109,7 @@ var init = function(){ newData.left= clickX } data.widgets.push(newData) - updateDom(container,data) + updateDom(widget) } } @@ -133,7 +121,7 @@ var init = function(){ actions[' Add tab'] = function(){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(container,data) + updateDom(widget) } } @@ -147,8 +135,8 @@ var init = function(){ `) $('.confirm-delete').click(function(){ popup.close() - var parentContainer = container.parents('.widget').first(), - parentData = getObjectData(parentContainer) + var parent = widget.parent, + parentData = parent.props if (widget.props.type != 'tab') { @@ -157,7 +145,7 @@ var init = function(){ parentData.tabs.splice(index,1) } - updateDom(parentContainer,parentData) + updateDom(parent) }) $('.cancel-delete').click(function(){ popup.close() diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index 9cf0d9b3..70be6b80 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -243,6 +243,10 @@ var WidgetManager = class WidgetManager extends EventEmitter { } + getWidgetByElement(e, filter = '') { + var element = e instanceof $ ? e : $(e) + return this.widgets[element.closest('[data-widget]' + filter).attr('data-widget')] + } } diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 4c561e95..9dcd8670 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -160,7 +160,7 @@ var Parser = class Parser { } // Editor needs to get the container object - if (data && data.length==1) return widgetContainer + if (data && data.length==1) return widgetInner } diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 9a50e357..425021ed 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -1,4 +1,4 @@ -var {getObjectData, updateDom} = require('./editor/data-workers'), +var {updateDom} = require('./editor/data-workers'), widgetManager = require('./managers/widgets') var callbacks = { @@ -8,17 +8,20 @@ var callbacks = { var [id, json] = args, newdata = JSON.parseFlex(json), - containers = widgetManager.getWidgetById(id) + widgets = widgetManager.getWidgetById(id) - if (!containers.length) return - for (var i=containers.length-1;i>=0;i--) { - var container = containers[i].container, - data = containers[i].props + if (!widgets.length) return + + for (var i = widgets.length - 1; i >= 0; i--) { + + var widget = widgets[i], + data = widget.props for (var k in newdata) { data[k] = newdata[k] } - updateDom(container,data,true) + updateDom(widget, {remote: true}) + } }, '/EDIT/MERGE': function(args) { @@ -27,15 +30,18 @@ var callbacks = { var [id, json] = args, newdata = JSON.parseFlex(json), - containers = widgetManager.getWidgetById(id) + widgets = widgetManager.getWidgetById(id) - if (!containers.length) return - for (var i=containers.length-1;i>=0;i--) { - var container = containers[i].container, - data = containers[i].props + if (!widgets.length) return + + for (var i = widgets.length - 1; i >= 0; i--) { + + var widget = widgets[i], + data = widget.props $.extend(true,data,newdata) - updateDom(container,data,true) + updateDom(widget, {remote: true}) + } }, '/EDIT/GET': function(args) { diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 46323ce2..c28f0f0f 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -30,8 +30,9 @@ module.exports = class _widgets_base extends EventEmitter { this.hash = _widgets_base.createHash() this.childrenHashes = [] - this.widget.abstract = this - if (this.container) this.container[0].abstract = this + if (this.container) { + this.container.attr('data-widget', this.hash) + } // Turn preArgs into array if (this.props.preArgs !== undefined && !Array.isArray(this.resolveProp('preArgs', undefined, false))) { diff --git a/src/browser/js/app/widgets/containers/clone.js b/src/browser/js/app/widgets/containers/clone.js index f058f163..f1edb0ed 100644 --- a/src/browser/js/app/widgets/containers/clone.js +++ b/src/browser/js/app/widgets/containers/clone.js @@ -78,7 +78,7 @@ module.exports = class Clone extends _widgets_base { this.cloneClass = widgets[i].container.attr('class').match(/[^\s]*-container/)[0] this.container.addClass(this.cloneClass) - var c = parser.parse([{..._widgets_base.deepCopy(widgets[i].props), ...this.getProp('props')}], this.widget, this) + parser.parse([{..._widgets_base.deepCopy(widgets[i].props), ...this.getProp('props')}], this.widget, this) this.widget.find('.widget').addClass('not-editable') diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 3cb6bd12..303f5e1c 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -105,9 +105,10 @@ module.exports = class Panel extends _widgets_base { var tabs = this.wrapper.find('> .widget') for (let tab of tabs) { - let style = tab.abstract.getProp('color') == 'auto' ? '' : `style="--color-custom:${tab.abstract.getProp('color')}"` - this.tabs.push(tab.abstract) - this.navigation.append(``) + let widget = widgetManager.getWidgetByElement(tab), + style = widget.getProp('color') == 'auto' ? '' : `style="--color-custom:${widget.getProp('color')}"` + this.tabs.push(widget) + this.navigation.append(``) } this.setValue(this.value) @@ -116,12 +117,12 @@ module.exports = class Panel extends _widgets_base { parseLayout() { - this.children = this.widget.find('> .widget') + var children = this.widget.find('> .widget') try { var layout = this.getProp('layout').replace(/\$([0-9])+/g, (m)=>{ - return this.children[m.replace('$','')].abstract.getProp('id') + return widgetManager.getWidgetByElement(children[m.replace('$','')]).getProp('id') }) this.layout = new autolayout.View({ @@ -146,15 +147,23 @@ module.exports = class Panel extends _widgets_base { applyLayout() { this.widget.find('> .widget').each((i,widget)=>{ - var id = widget.abstract.getProp('id') + + var widget = widgetManager.getWidgetByElement(widget), + id = widget.getProp('id') + if (!this.layout.subViews[id]) return - var $widget = $(widget).addClass('absolute-position').css({'min-height':'auto','min-width':'auto'}) + + widget.container.addClass('absolute-position').css({'min-height':'auto','min-width':'auto'}) + for (var prop of ['height', 'width', 'top', 'left']) { - delete widget.abstract.props[prop] - $widget.css(prop, this.layout.subViews[id][prop] + 'px') + delete widget.props[prop] + widget.container.css(prop, this.layout.subViews[id][prop] + 'px') } - if ($widget.hasClass('editing')) editObject($widget,widget.abstract.props,true) + + if (widget.container.hasClass('editing')) editObject(widget, {refresh:true}) + $(window).resize() + }) } diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index 215d0176..52f1b113 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -21,13 +21,4 @@ module.exports = class _matrices_base extends _widgets_base { } - // conflicts with switchers (double osc send) - // setValue(v, options={}) { - // if (v && v.length == this.value.length) { - // for (var i in v) { - // this.widget[0].children[i].abstract.setValue(v[i], options) - // } - // } - // } - } diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index 788bd3b7..cbdd68e2 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -66,14 +66,14 @@ module.exports = class Keyboard extends _matrices_base { data.preArgs = this.getProp('split') ? this.getProp('preArgs') : [].concat(this.getProp('preArgs'), i) data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var key = parser.parse([data], this.widget, this) + key.container[0].classList.add('not-editable') if (pattern[i % 12] == 'w') { - element.addClass('white') + key.container.addClass('white') wCount++ } else { - element.addClass('black').data('wCount',wCount) + key.container.addClass('black').data('wCount',wCount) } diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index af717c84..861bcfe3 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -87,10 +87,10 @@ module.exports = class Multifader extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var fader = parser.parse([data], this.widget, this) + fader.container[0].classList.add('not-editable') - if (this.getProp('traversing')) element.find('canvas').off('drag') + if (this.getProp('traversing')) fader.container.find('canvas').off('drag') this.value[i-this.start] = this.getProp('range').min diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 88c0a8ca..2d913040 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -67,8 +67,8 @@ module.exports = class Multipush extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var push = parser.parse([data], this.widget, this) + push.container[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index b6796b14..adea21c9 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -67,8 +67,8 @@ module.exports = class Multitoggle extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var toggle = parser.parse([data], this.widget, this) + toggle.container[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js index 6e3890b9..34b17afd 100644 --- a/src/browser/js/app/widgets/sliders/fader.js +++ b/src/browser/js/app/widgets/sliders/fader.js @@ -90,8 +90,9 @@ module.exports = class Fader extends _sliders_base { pips:false, dashed:true } - var element = parser.parse([data],this.wrapper, this.parent) - element[0].classList.add('not-editable') + var meter = parser.parse([data],this.wrapper, this.parent) + meter.container[0].classList.add('not-editable') + this.widget[0].classList.add('has-meter') } From 8c194be5177a42f21915bb9ced6df62ad6fabe5d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 14:42:51 +0100 Subject: [PATCH 0232/5759] editor/widgets: centralize dom element to widget instance conversion (-> manager method) --- src/browser/js/app/editor/data-workers.js | 30 +++++-------- src/browser/js/app/editor/edit-objects.js | 27 +++++++----- src/browser/js/app/editor/init.js | 44 +++++++------------ src/browser/js/app/managers/widgets.js | 4 ++ src/browser/js/app/parser.js | 2 +- src/browser/js/app/remote-control.js | 32 ++++++++------ .../js/app/widgets/common/_widgets_base.js | 5 ++- .../js/app/widgets/containers/clone.js | 2 +- .../js/app/widgets/containers/panel.js | 29 +++++++----- .../js/app/widgets/matrices/_matrices_base.js | 9 ---- .../js/app/widgets/matrices/keyboard.js | 8 ++-- .../js/app/widgets/matrices/multifader.js | 6 +-- .../js/app/widgets/matrices/multipush.js | 4 +- .../js/app/widgets/matrices/multitoggle.js | 4 +- src/browser/js/app/widgets/sliders/fader.js | 5 ++- 15 files changed, 102 insertions(+), 109 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index fee252cd..b7101d19 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -5,22 +5,13 @@ var editObject = function(){editObject = require('./edit-objects').editObject; e stateManager = require('../managers/state'), parser = require('../parser') -var getObjectData = function(obj){ - var path = [] +var updateDom = function(widget, options = {}) { - if (obj.hasClass('widget')) { - return obj[0].abstract.props - } else { - return obj.closest('.widget')[0].abstract.props - } - -} - -var updateDom = function(container,data, remote) { + var data = widget.props // save state var scroll = $('#sidepanel').scrollTop(), - oldWidgets = container[0].abstract.childrenHashes.concat(container[0].abstract.hash), + oldWidgets = widget.childrenHashes.concat(widget.hash), wScroll = {} stateManager.incrementQueue() @@ -41,15 +32,15 @@ var updateDom = function(container,data, remote) { purgeStores(oldWidgets) // widget - var newContainer = parser.parse([data], container[0].abstract.parentNode, container[0].abstract.parent) + var newWidget = parser.parse([data], widget.parentNode, widget.parent) - container.replaceWith(newContainer) + widget.container.replaceWith(newWidget.container) - if (data.type == 'tab') newContainer[0].abstract.trigger('tab-created', [{widget: newContainer[0].abstract}]) + if (data.type == 'tab') newWidget.trigger('tab-created', [{widget: widget}]) $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) - newContainer.trigger('resize') + newWidget.container.trigger('resize') // restore state @@ -63,15 +54,15 @@ var updateDom = function(container,data, remote) { } } - if (!remote) { - editObject(newContainer,data,true) + if (!options.remote) { + editObject(newWidget, {refresh: true}) } $('#sidepanel').scrollTop(scroll) // return updated node - return newContainer + return newWidget } @@ -151,6 +142,5 @@ var incrementWidget = function(data, root){ module.exports = { updateDom:updateDom, - getObjectData:getObjectData, incrementWidget:incrementWidget } diff --git a/src/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js index 9e26f6e1..6e3712c7 100644 --- a/src/browser/js/app/editor/edit-objects.js +++ b/src/browser/js/app/editor/edit-objects.js @@ -17,13 +17,16 @@ var editClean = function(){ } -var editObject = function(container, data, refresh){ +var editObject = function(widget, options = {}){ - if (!refresh && (container.hasClass('editing') || $(`a[data-tab="#${container.attr('id')}"]`).hasClass('editing'))) return + var container = widget.container, + data = widget.props + + if (!options.refresh && (container.hasClass('editing'))) return editClean() - $(`[data-widget="${container.attr('data-widget')}"]`).addClass('editing') + $(`[data-widget="${widget.hash}"]`).addClass('editing') $('#editor').append('
    ') @@ -111,7 +114,7 @@ var editObject = function(container, data, refresh){ if (v==='') delete data[title] try { - var w = updateDom(container,data, false, title == 'value' && v != '') + updateDom(widget) wrapper.removeClass('error') } catch (err) { wrapper.addClass('error') @@ -149,7 +152,7 @@ var editObject = function(container, data, refresh){ .click(function(e){ e.stopPropagation() data.widgets.splice($(this).parent().attr('data-index'),1) - updateDom(container,data) + updateDom(widget) }) } @@ -163,7 +166,7 @@ var editObject = function(container, data, refresh){ data.widgets.splice(newIndex, 0, data.widgets.splice(prevIndex, 1)[0]) - updateDom(container,data) + updateDom(widget) } }) @@ -171,7 +174,7 @@ var editObject = function(container, data, refresh){ data.widgets = data.widgets || [] data.widgets.push({}) - updateDom(container,data) + updateDom(widget) }) list.appendTo(wrapper) @@ -204,7 +207,7 @@ var editObject = function(container, data, refresh){ .click(function(e){ e.stopPropagation() data.tabs.splice($(this).parent().attr('data-index'),1) - updateDom(container,data) + updateDom(widget) }) } @@ -218,7 +221,7 @@ var editObject = function(container, data, refresh){ data.tabs.splice(newIndex, 0, data.tabs.splice(prevIndex, 1)[0]) - updateDom(container,data) + updateDom(widget) } }) @@ -226,7 +229,7 @@ var editObject = function(container, data, refresh){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(container,data) + updateDom(widget) }) list.appendTo(wrapper) @@ -247,7 +250,7 @@ var editObject = function(container, data, refresh){ stop: function( event, ui ) { if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-s')) data.height = Math.round((Math.max(ui.size.height,1)) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-e')) data.width = Math.round(ui.size.width / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - updateDom(container,data) + updateDom(widget) }, grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE] }) @@ -265,7 +268,7 @@ var editObject = function(container, data, refresh){ data.top = (ui.helper.position().top + container.parent().scrollTop())/PXSCALE data.left = (ui.helper.position().left + container.parent().scrollLeft())/PXSCALE ui.helper.remove() - updateDom(container,data) + updateDom(widget) }, handle:'.ui-draggable-handle, > .label', grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE], diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 35a5bdd2..c59f58c0 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -1,4 +1,4 @@ -var {getObjectData, updateDom, incrementWidget} = require('./data-workers'), +var {updateDom, incrementWidget} = require('./data-workers'), {editObject, editClean} = require('./edit-objects'), createPopup = require('../utils').createPopup, {widgets, categories} = require('../widgets/'), @@ -14,30 +14,19 @@ var init = function(){ if (!EDITING) return - // ignore mouse event when fired by a simulated touch event - // already handled in drag.js - // if (e.type=='mousedown' && e.originalEvent.sourceCapabilities.firesTouchEvents) return - menu.close() - if (e.target.classList.contains('not-editable')) return - - var target = e.target.hasAttribute('data-widget') || e.target.classList.contains('widget') ? - $(e.target).not('.not-editable') : $(e.target).closest('.widget:not(.not-editable)') - - if (!target.length) return - - var widget = widgetManager.widgets[target.attr('data-widget')] + var widget = widgetManager.getWidgetByElement(e.target, ':not(.not-editable)') if (!widget) return var container = widget.container, - parent = container.parent(), + parent = widget.parentNode, index = container.index(), - data = getObjectData(container), + data = widget.props, type = widget.props.type == 'tab' ? 'tab' : 'widget' - editObject(container,data) + editObject(widget) if (e.type!='fake-right-click') return @@ -45,7 +34,7 @@ var init = function(){ menu.open(d,{ ' Add tab': function(){ data.tabs.push({}) - updateDom(container,data) + updateDom(widget) } }) @@ -55,7 +44,6 @@ var init = function(){ var actions = {}, clickX = Math.round((d.offsetX + d.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, clickY = Math.round((d.offsetY + d.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - // actions[' Edit'] = function(){editObject(container,data)} if (parent.hasClass('panel')) { actions[' Edit parent'] = function(){parent.trigger('fake-click')} @@ -65,11 +53,11 @@ var init = function(){ if (type=='widget') actions[' Cut'] = function(){ CLIPBOARD=JSON.stringify(data) - var parentContainer = container.parents('.widget').first(), - parentData = getObjectData(parentContainer) + var parent = widget.parent, + parentData = parent.props parentData.widgets.splice(index,1) - updateDom(parentContainer,parentData) + updateDom(parent) } if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { @@ -90,7 +78,7 @@ var init = function(){ } data.widgets.push(newData) - updateDom(container,data) + updateDom(widget) }, ' Clone':function(){ data.widgets = data.widgets || [] @@ -103,7 +91,7 @@ var init = function(){ delete newData.left } data.widgets.push(newData) - updateDom(container,data) + updateDom(widget) } } } @@ -121,7 +109,7 @@ var init = function(){ newData.left= clickX } data.widgets.push(newData) - updateDom(container,data) + updateDom(widget) } } @@ -133,7 +121,7 @@ var init = function(){ actions[' Add tab'] = function(){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(container,data) + updateDom(widget) } } @@ -147,8 +135,8 @@ var init = function(){ `) $('.confirm-delete').click(function(){ popup.close() - var parentContainer = container.parents('.widget').first(), - parentData = getObjectData(parentContainer) + var parent = widget.parent, + parentData = parent.props if (widget.props.type != 'tab') { @@ -157,7 +145,7 @@ var init = function(){ parentData.tabs.splice(index,1) } - updateDom(parentContainer,parentData) + updateDom(parent) }) $('.cancel-delete').click(function(){ popup.close() diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index 9cf0d9b3..70be6b80 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -243,6 +243,10 @@ var WidgetManager = class WidgetManager extends EventEmitter { } + getWidgetByElement(e, filter = '') { + var element = e instanceof $ ? e : $(e) + return this.widgets[element.closest('[data-widget]' + filter).attr('data-widget')] + } } diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 4c561e95..9dcd8670 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -160,7 +160,7 @@ var Parser = class Parser { } // Editor needs to get the container object - if (data && data.length==1) return widgetContainer + if (data && data.length==1) return widgetInner } diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 9a50e357..425021ed 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -1,4 +1,4 @@ -var {getObjectData, updateDom} = require('./editor/data-workers'), +var {updateDom} = require('./editor/data-workers'), widgetManager = require('./managers/widgets') var callbacks = { @@ -8,17 +8,20 @@ var callbacks = { var [id, json] = args, newdata = JSON.parseFlex(json), - containers = widgetManager.getWidgetById(id) + widgets = widgetManager.getWidgetById(id) - if (!containers.length) return - for (var i=containers.length-1;i>=0;i--) { - var container = containers[i].container, - data = containers[i].props + if (!widgets.length) return + + for (var i = widgets.length - 1; i >= 0; i--) { + + var widget = widgets[i], + data = widget.props for (var k in newdata) { data[k] = newdata[k] } - updateDom(container,data,true) + updateDom(widget, {remote: true}) + } }, '/EDIT/MERGE': function(args) { @@ -27,15 +30,18 @@ var callbacks = { var [id, json] = args, newdata = JSON.parseFlex(json), - containers = widgetManager.getWidgetById(id) + widgets = widgetManager.getWidgetById(id) - if (!containers.length) return - for (var i=containers.length-1;i>=0;i--) { - var container = containers[i].container, - data = containers[i].props + if (!widgets.length) return + + for (var i = widgets.length - 1; i >= 0; i--) { + + var widget = widgets[i], + data = widget.props $.extend(true,data,newdata) - updateDom(container,data,true) + updateDom(widget, {remote: true}) + } }, '/EDIT/GET': function(args) { diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 46323ce2..c28f0f0f 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -30,8 +30,9 @@ module.exports = class _widgets_base extends EventEmitter { this.hash = _widgets_base.createHash() this.childrenHashes = [] - this.widget.abstract = this - if (this.container) this.container[0].abstract = this + if (this.container) { + this.container.attr('data-widget', this.hash) + } // Turn preArgs into array if (this.props.preArgs !== undefined && !Array.isArray(this.resolveProp('preArgs', undefined, false))) { diff --git a/src/browser/js/app/widgets/containers/clone.js b/src/browser/js/app/widgets/containers/clone.js index f058f163..f1edb0ed 100644 --- a/src/browser/js/app/widgets/containers/clone.js +++ b/src/browser/js/app/widgets/containers/clone.js @@ -78,7 +78,7 @@ module.exports = class Clone extends _widgets_base { this.cloneClass = widgets[i].container.attr('class').match(/[^\s]*-container/)[0] this.container.addClass(this.cloneClass) - var c = parser.parse([{..._widgets_base.deepCopy(widgets[i].props), ...this.getProp('props')}], this.widget, this) + parser.parse([{..._widgets_base.deepCopy(widgets[i].props), ...this.getProp('props')}], this.widget, this) this.widget.find('.widget').addClass('not-editable') diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 3cb6bd12..303f5e1c 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -105,9 +105,10 @@ module.exports = class Panel extends _widgets_base { var tabs = this.wrapper.find('> .widget') for (let tab of tabs) { - let style = tab.abstract.getProp('color') == 'auto' ? '' : `style="--color-custom:${tab.abstract.getProp('color')}"` - this.tabs.push(tab.abstract) - this.navigation.append(``) + let widget = widgetManager.getWidgetByElement(tab), + style = widget.getProp('color') == 'auto' ? '' : `style="--color-custom:${widget.getProp('color')}"` + this.tabs.push(widget) + this.navigation.append(``) } this.setValue(this.value) @@ -116,12 +117,12 @@ module.exports = class Panel extends _widgets_base { parseLayout() { - this.children = this.widget.find('> .widget') + var children = this.widget.find('> .widget') try { var layout = this.getProp('layout').replace(/\$([0-9])+/g, (m)=>{ - return this.children[m.replace('$','')].abstract.getProp('id') + return widgetManager.getWidgetByElement(children[m.replace('$','')]).getProp('id') }) this.layout = new autolayout.View({ @@ -146,15 +147,23 @@ module.exports = class Panel extends _widgets_base { applyLayout() { this.widget.find('> .widget').each((i,widget)=>{ - var id = widget.abstract.getProp('id') + + var widget = widgetManager.getWidgetByElement(widget), + id = widget.getProp('id') + if (!this.layout.subViews[id]) return - var $widget = $(widget).addClass('absolute-position').css({'min-height':'auto','min-width':'auto'}) + + widget.container.addClass('absolute-position').css({'min-height':'auto','min-width':'auto'}) + for (var prop of ['height', 'width', 'top', 'left']) { - delete widget.abstract.props[prop] - $widget.css(prop, this.layout.subViews[id][prop] + 'px') + delete widget.props[prop] + widget.container.css(prop, this.layout.subViews[id][prop] + 'px') } - if ($widget.hasClass('editing')) editObject($widget,widget.abstract.props,true) + + if (widget.container.hasClass('editing')) editObject(widget, {refresh:true}) + $(window).resize() + }) } diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index 215d0176..52f1b113 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -21,13 +21,4 @@ module.exports = class _matrices_base extends _widgets_base { } - // conflicts with switchers (double osc send) - // setValue(v, options={}) { - // if (v && v.length == this.value.length) { - // for (var i in v) { - // this.widget[0].children[i].abstract.setValue(v[i], options) - // } - // } - // } - } diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index 788bd3b7..cbdd68e2 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -66,14 +66,14 @@ module.exports = class Keyboard extends _matrices_base { data.preArgs = this.getProp('split') ? this.getProp('preArgs') : [].concat(this.getProp('preArgs'), i) data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var key = parser.parse([data], this.widget, this) + key.container[0].classList.add('not-editable') if (pattern[i % 12] == 'w') { - element.addClass('white') + key.container.addClass('white') wCount++ } else { - element.addClass('black').data('wCount',wCount) + key.container.addClass('black').data('wCount',wCount) } diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index af717c84..861bcfe3 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -87,10 +87,10 @@ module.exports = class Multifader extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var fader = parser.parse([data], this.widget, this) + fader.container[0].classList.add('not-editable') - if (this.getProp('traversing')) element.find('canvas').off('drag') + if (this.getProp('traversing')) fader.container.find('canvas').off('drag') this.value[i-this.start] = this.getProp('range').min diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 88c0a8ca..2d913040 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -67,8 +67,8 @@ module.exports = class Multipush extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var push = parser.parse([data], this.widget, this) + push.container[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index b6796b14..adea21c9 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -67,8 +67,8 @@ module.exports = class Multitoggle extends _matrices_base { data.color = typeof this.getProp('color') == 'object' ? '' + this.getProp('color')[i % this.getProp('color').length] : this.getProp('color') data.css = '' - var element = parser.parse([data], this.widget, this) - element[0].classList.add('not-editable') + var toggle = parser.parse([data], this.widget, this) + toggle.container[0].classList.add('not-editable') this.value[i-this.start] = this.getProp('off') diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js index 6e3890b9..34b17afd 100644 --- a/src/browser/js/app/widgets/sliders/fader.js +++ b/src/browser/js/app/widgets/sliders/fader.js @@ -90,8 +90,9 @@ module.exports = class Fader extends _sliders_base { pips:false, dashed:true } - var element = parser.parse([data],this.wrapper, this.parent) - element[0].classList.add('not-editable') + var meter = parser.parse([data],this.wrapper, this.parent) + meter.container[0].classList.add('not-editable') + this.widget[0].classList.add('has-meter') } From 722b69eede0c33b6e6d6b1858cab0a21e44d24d0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 14:54:41 +0100 Subject: [PATCH 0233/5759] events: fix tab-created (trigger parent directly) --- src/browser/js/app/editor/data-workers.js | 2 +- src/browser/js/app/widgets/containers/panel.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index b7101d19..e02d73af 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -36,7 +36,7 @@ var updateDom = function(widget, options = {}) { widget.container.replaceWith(newWidget.container) - if (data.type == 'tab') newWidget.trigger('tab-created', [{widget: widget}]) + if (data.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}]) $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 303f5e1c..c6e7271a 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -80,7 +80,6 @@ module.exports = class Panel extends _widgets_base { }) this.on('tab-created', (e)=>{ - if (e.widget == this) return this.createNavigation() e.stopPropagation = true }) From 3c83a35c372e4e308f5634b423aa4e66b907d0f4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 14:54:41 +0100 Subject: [PATCH 0234/5759] events: fix tab-created (trigger parent directly) --- src/browser/js/app/editor/data-workers.js | 2 +- src/browser/js/app/widgets/containers/panel.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index b7101d19..e02d73af 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -36,7 +36,7 @@ var updateDom = function(widget, options = {}) { widget.container.replaceWith(newWidget.container) - if (data.type == 'tab') newWidget.trigger('tab-created', [{widget: widget}]) + if (data.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}]) $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) diff --git a/src/browser/js/app/widgets/containers/panel.js b/src/browser/js/app/widgets/containers/panel.js index 303f5e1c..c6e7271a 100644 --- a/src/browser/js/app/widgets/containers/panel.js +++ b/src/browser/js/app/widgets/containers/panel.js @@ -80,7 +80,6 @@ module.exports = class Panel extends _widgets_base { }) this.on('tab-created', (e)=>{ - if (e.widget == this) return this.createNavigation() e.stopPropagation = true }) From 62bbcca72af1eadde69566c09ed5d0b95b24bc25 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 14:57:47 +0100 Subject: [PATCH 0235/5759] editor: fix context menu regression --- src/browser/js/app/editor/init.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index c59f58c0..3bef335d 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -69,7 +69,7 @@ var init = function(){ var newData = incrementWidget(JSON.parse(CLIPBOARD)) - if (!target.hasClass('tablink')) { + if (!$(e.target).hasClass('tablink')) { newData.top = clickY newData.left= clickX } else { @@ -83,7 +83,7 @@ var init = function(){ ' Clone':function(){ data.widgets = data.widgets || [] var newData = JSON.parse(CLIPBOARD) - if (!target.hasClass('tablink')) { + if (!$(e.target).hasClass('tablink')) { newData.top = clickY newData.left= clickX } else { @@ -104,7 +104,7 @@ var init = function(){ actions[' Add widget'][category][wtype] = function(){ data.widgets = data.widgets || [] var newData = {type:wtype} - if (!target.hasClass('tablink')) { + if (!$(e.target).hasClass('tablink')) { newData.top = clickY newData.left= clickX } From 97cacd46ea0f3a61c21de98a86529b93b1fee44b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 14:57:47 +0100 Subject: [PATCH 0236/5759] editor: fix context menu regression --- src/browser/js/app/editor/init.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index c59f58c0..3bef335d 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -69,7 +69,7 @@ var init = function(){ var newData = incrementWidget(JSON.parse(CLIPBOARD)) - if (!target.hasClass('tablink')) { + if (!$(e.target).hasClass('tablink')) { newData.top = clickY newData.left= clickX } else { @@ -83,7 +83,7 @@ var init = function(){ ' Clone':function(){ data.widgets = data.widgets || [] var newData = JSON.parse(CLIPBOARD) - if (!target.hasClass('tablink')) { + if (!$(e.target).hasClass('tablink')) { newData.top = clickY newData.left= clickX } else { @@ -104,7 +104,7 @@ var init = function(){ actions[' Add widget'][category][wtype] = function(){ data.widgets = data.widgets || [] var newData = {type:wtype} - if (!target.hasClass('tablink')) { + if (!$(e.target).hasClass('tablink')) { newData.top = clickY newData.left= clickX } From 063b6079188c8241f807d5676bedd941977c14b8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 15:07:22 +0100 Subject: [PATCH 0237/5759] widgets: getwidgetbyelement: without jquery --- src/browser/js/app/managers/widgets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index 70be6b80..d7ee4e0f 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -244,8 +244,8 @@ var WidgetManager = class WidgetManager extends EventEmitter { } getWidgetByElement(e, filter = '') { - var element = e instanceof $ ? e : $(e) - return this.widgets[element.closest('[data-widget]' + filter).attr('data-widget')] + var element = (e instanceof $ ? e[0] : e).closest('[data-widget]' + filter) + if (element) return this.widgets[element.getAttribute('data-widget')] } } From 6e4a3af4412f03968378bd4086df685a71c58a4b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 15:07:22 +0100 Subject: [PATCH 0238/5759] widgets: getwidgetbyelement: without jquery --- src/browser/js/app/managers/widgets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index 70be6b80..d7ee4e0f 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -244,8 +244,8 @@ var WidgetManager = class WidgetManager extends EventEmitter { } getWidgetByElement(e, filter = '') { - var element = e instanceof $ ? e : $(e) - return this.widgets[element.closest('[data-widget]' + filter).attr('data-widget')] + var element = (e instanceof $ ? e[0] : e).closest('[data-widget]' + filter) + if (element) return this.widgets[element.getAttribute('data-widget')] } } From e3231bd9844773e97ff3c4b9d02d42e4cba29c6c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 15:33:29 +0100 Subject: [PATCH 0239/5759] editor: rename updateDom to updateWidget --- src/browser/js/app/editor/data-workers.js | 8 +++----- src/browser/js/app/editor/edit-objects.js | 20 +++++++++---------- src/browser/js/app/editor/init.js | 16 +++++++-------- src/browser/js/app/remote-control.js | 6 +++--- .../js/app/widgets/common/_widgets_base.js | 4 ++-- 5 files changed, 26 insertions(+), 28 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index e02d73af..dce8e768 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -5,9 +5,7 @@ var editObject = function(){editObject = require('./edit-objects').editObject; e stateManager = require('../managers/state'), parser = require('../parser') -var updateDom = function(widget, options = {}) { - - var data = widget.props +var updateWidget = function(widget, options = {}) { // save state var scroll = $('#sidepanel').scrollTop(), @@ -32,7 +30,7 @@ var updateDom = function(widget, options = {}) { purgeStores(oldWidgets) // widget - var newWidget = parser.parse([data], widget.parentNode, widget.parent) + var newWidget = parser.parse([widget.props], widget.parentNode, widget.parent) widget.container.replaceWith(newWidget.container) @@ -141,6 +139,6 @@ var incrementWidget = function(data, root){ } module.exports = { - updateDom:updateDom, + updateWidget:updateWidget, incrementWidget:incrementWidget } diff --git a/src/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js index 6e3712c7..9caf73df 100644 --- a/src/browser/js/app/editor/edit-objects.js +++ b/src/browser/js/app/editor/edit-objects.js @@ -1,4 +1,4 @@ -var updateDom = require('./data-workers').updateDom, +var updateWidget = require('./data-workers').updateWidget, {widgets, categories} = require('../widgets/'), {icon} = require('../utils'), defaults = {} @@ -114,7 +114,7 @@ var editObject = function(widget, options = {}){ if (v==='') delete data[title] try { - updateDom(widget) + updateWidget(widget) wrapper.removeClass('error') } catch (err) { wrapper.addClass('error') @@ -152,7 +152,7 @@ var editObject = function(widget, options = {}){ .click(function(e){ e.stopPropagation() data.widgets.splice($(this).parent().attr('data-index'),1) - updateDom(widget) + updateWidget(widget) }) } @@ -166,7 +166,7 @@ var editObject = function(widget, options = {}){ data.widgets.splice(newIndex, 0, data.widgets.splice(prevIndex, 1)[0]) - updateDom(widget) + updateWidget(widget) } }) @@ -174,7 +174,7 @@ var editObject = function(widget, options = {}){ data.widgets = data.widgets || [] data.widgets.push({}) - updateDom(widget) + updateWidget(widget) }) list.appendTo(wrapper) @@ -207,7 +207,7 @@ var editObject = function(widget, options = {}){ .click(function(e){ e.stopPropagation() data.tabs.splice($(this).parent().attr('data-index'),1) - updateDom(widget) + updateWidget(widget) }) } @@ -221,7 +221,7 @@ var editObject = function(widget, options = {}){ data.tabs.splice(newIndex, 0, data.tabs.splice(prevIndex, 1)[0]) - updateDom(widget) + updateWidget(widget) } }) @@ -229,7 +229,7 @@ var editObject = function(widget, options = {}){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(widget) + updateWidget(widget) }) list.appendTo(wrapper) @@ -250,7 +250,7 @@ var editObject = function(widget, options = {}){ stop: function( event, ui ) { if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-s')) data.height = Math.round((Math.max(ui.size.height,1)) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-e')) data.width = Math.round(ui.size.width / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - updateDom(widget) + updateWidget(widget) }, grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE] }) @@ -268,7 +268,7 @@ var editObject = function(widget, options = {}){ data.top = (ui.helper.position().top + container.parent().scrollTop())/PXSCALE data.left = (ui.helper.position().left + container.parent().scrollLeft())/PXSCALE ui.helper.remove() - updateDom(widget) + updateWidget(widget) }, handle:'.ui-draggable-handle, > .label', grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE], diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 3bef335d..93dc7e4e 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -1,4 +1,4 @@ -var {updateDom, incrementWidget} = require('./data-workers'), +var {updateWidget, incrementWidget} = require('./data-workers'), {editObject, editClean} = require('./edit-objects'), createPopup = require('../utils').createPopup, {widgets, categories} = require('../widgets/'), @@ -34,7 +34,7 @@ var init = function(){ menu.open(d,{ ' Add tab': function(){ data.tabs.push({}) - updateDom(widget) + updateWidget(widget) } }) @@ -57,7 +57,7 @@ var init = function(){ parentData = parent.props parentData.widgets.splice(index,1) - updateDom(parent) + updateWidget(parent) } if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { @@ -78,7 +78,7 @@ var init = function(){ } data.widgets.push(newData) - updateDom(widget) + updateWidget(widget) }, ' Clone':function(){ data.widgets = data.widgets || [] @@ -91,7 +91,7 @@ var init = function(){ delete newData.left } data.widgets.push(newData) - updateDom(widget) + updateWidget(widget) } } } @@ -109,7 +109,7 @@ var init = function(){ newData.left= clickX } data.widgets.push(newData) - updateDom(widget) + updateWidget(widget) } } @@ -121,7 +121,7 @@ var init = function(){ actions[' Add tab'] = function(){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(widget) + updateWidget(widget) } } @@ -145,7 +145,7 @@ var init = function(){ parentData.tabs.splice(index,1) } - updateDom(parent) + updateWidget(parent) }) $('.cancel-delete').click(function(){ popup.close() diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 425021ed..630729cd 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -1,4 +1,4 @@ -var {updateDom} = require('./editor/data-workers'), +var {updateWidget} = require('./editor/data-workers'), widgetManager = require('./managers/widgets') var callbacks = { @@ -20,7 +20,7 @@ var callbacks = { for (var k in newdata) { data[k] = newdata[k] } - updateDom(widget, {remote: true}) + updateWidget(widget, {remote: true}) } }, @@ -40,7 +40,7 @@ var callbacks = { data = widget.props $.extend(true,data,newdata) - updateDom(widget, {remote: true}) + updateWidget(widget, {remote: true}) } }, diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index c28f0f0f..07de7879 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -2,7 +2,7 @@ var EventEmitter = require('../../event-emitter'), osc = require('../../osc'), shortid = require('shortid'), widgetManager = require('../../managers/widgets'), - updateDom = function(){ updateDom = require('../../editor/data-workers').updateDom; updateDom(...arguments)} + updateWidget = function(){ updateWidget = require('../../editor/data-workers').updateWidget; updateWidget(...arguments)} module.exports = class _widgets_base extends EventEmitter { @@ -287,7 +287,7 @@ module.exports = class _widgets_base extends EventEmitter { reCreateWidget(valueChanged){ - updateDom(this.container, this.props, true, valueChanged) + updateWidget(this.container, this.props, true, valueChanged) } From b4d78d87f48e4f105dc15bc4c9e3eb6b12660fb0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 15:33:29 +0100 Subject: [PATCH 0240/5759] editor: rename updateDom to updateWidget --- src/browser/js/app/editor/data-workers.js | 8 +++----- src/browser/js/app/editor/edit-objects.js | 20 +++++++++---------- src/browser/js/app/editor/init.js | 16 +++++++-------- src/browser/js/app/remote-control.js | 6 +++--- .../js/app/widgets/common/_widgets_base.js | 4 ++-- 5 files changed, 26 insertions(+), 28 deletions(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index e02d73af..dce8e768 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -5,9 +5,7 @@ var editObject = function(){editObject = require('./edit-objects').editObject; e stateManager = require('../managers/state'), parser = require('../parser') -var updateDom = function(widget, options = {}) { - - var data = widget.props +var updateWidget = function(widget, options = {}) { // save state var scroll = $('#sidepanel').scrollTop(), @@ -32,7 +30,7 @@ var updateDom = function(widget, options = {}) { purgeStores(oldWidgets) // widget - var newWidget = parser.parse([data], widget.parentNode, widget.parent) + var newWidget = parser.parse([widget.props], widget.parentNode, widget.parent) widget.container.replaceWith(newWidget.container) @@ -141,6 +139,6 @@ var incrementWidget = function(data, root){ } module.exports = { - updateDom:updateDom, + updateWidget:updateWidget, incrementWidget:incrementWidget } diff --git a/src/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js index 6e3712c7..9caf73df 100644 --- a/src/browser/js/app/editor/edit-objects.js +++ b/src/browser/js/app/editor/edit-objects.js @@ -1,4 +1,4 @@ -var updateDom = require('./data-workers').updateDom, +var updateWidget = require('./data-workers').updateWidget, {widgets, categories} = require('../widgets/'), {icon} = require('../utils'), defaults = {} @@ -114,7 +114,7 @@ var editObject = function(widget, options = {}){ if (v==='') delete data[title] try { - updateDom(widget) + updateWidget(widget) wrapper.removeClass('error') } catch (err) { wrapper.addClass('error') @@ -152,7 +152,7 @@ var editObject = function(widget, options = {}){ .click(function(e){ e.stopPropagation() data.widgets.splice($(this).parent().attr('data-index'),1) - updateDom(widget) + updateWidget(widget) }) } @@ -166,7 +166,7 @@ var editObject = function(widget, options = {}){ data.widgets.splice(newIndex, 0, data.widgets.splice(prevIndex, 1)[0]) - updateDom(widget) + updateWidget(widget) } }) @@ -174,7 +174,7 @@ var editObject = function(widget, options = {}){ data.widgets = data.widgets || [] data.widgets.push({}) - updateDom(widget) + updateWidget(widget) }) list.appendTo(wrapper) @@ -207,7 +207,7 @@ var editObject = function(widget, options = {}){ .click(function(e){ e.stopPropagation() data.tabs.splice($(this).parent().attr('data-index'),1) - updateDom(widget) + updateWidget(widget) }) } @@ -221,7 +221,7 @@ var editObject = function(widget, options = {}){ data.tabs.splice(newIndex, 0, data.tabs.splice(prevIndex, 1)[0]) - updateDom(widget) + updateWidget(widget) } }) @@ -229,7 +229,7 @@ var editObject = function(widget, options = {}){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(widget) + updateWidget(widget) }) list.appendTo(wrapper) @@ -250,7 +250,7 @@ var editObject = function(widget, options = {}){ stop: function( event, ui ) { if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-s')) data.height = Math.round((Math.max(ui.size.height,1)) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-e')) data.width = Math.round(ui.size.width / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - updateDom(widget) + updateWidget(widget) }, grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE] }) @@ -268,7 +268,7 @@ var editObject = function(widget, options = {}){ data.top = (ui.helper.position().top + container.parent().scrollTop())/PXSCALE data.left = (ui.helper.position().left + container.parent().scrollLeft())/PXSCALE ui.helper.remove() - updateDom(widget) + updateWidget(widget) }, handle:'.ui-draggable-handle, > .label', grid: [GRIDWIDTH * PXSCALE, GRIDWIDTH * PXSCALE], diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 3bef335d..93dc7e4e 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -1,4 +1,4 @@ -var {updateDom, incrementWidget} = require('./data-workers'), +var {updateWidget, incrementWidget} = require('./data-workers'), {editObject, editClean} = require('./edit-objects'), createPopup = require('../utils').createPopup, {widgets, categories} = require('../widgets/'), @@ -34,7 +34,7 @@ var init = function(){ menu.open(d,{ ' Add tab': function(){ data.tabs.push({}) - updateDom(widget) + updateWidget(widget) } }) @@ -57,7 +57,7 @@ var init = function(){ parentData = parent.props parentData.widgets.splice(index,1) - updateDom(parent) + updateWidget(parent) } if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { @@ -78,7 +78,7 @@ var init = function(){ } data.widgets.push(newData) - updateDom(widget) + updateWidget(widget) }, ' Clone':function(){ data.widgets = data.widgets || [] @@ -91,7 +91,7 @@ var init = function(){ delete newData.left } data.widgets.push(newData) - updateDom(widget) + updateWidget(widget) } } } @@ -109,7 +109,7 @@ var init = function(){ newData.left= clickX } data.widgets.push(newData) - updateDom(widget) + updateWidget(widget) } } @@ -121,7 +121,7 @@ var init = function(){ actions[' Add tab'] = function(){ data.tabs = data.tabs || [] data.tabs.push({}) - updateDom(widget) + updateWidget(widget) } } @@ -145,7 +145,7 @@ var init = function(){ parentData.tabs.splice(index,1) } - updateDom(parent) + updateWidget(parent) }) $('.cancel-delete').click(function(){ popup.close() diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 425021ed..630729cd 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -1,4 +1,4 @@ -var {updateDom} = require('./editor/data-workers'), +var {updateWidget} = require('./editor/data-workers'), widgetManager = require('./managers/widgets') var callbacks = { @@ -20,7 +20,7 @@ var callbacks = { for (var k in newdata) { data[k] = newdata[k] } - updateDom(widget, {remote: true}) + updateWidget(widget, {remote: true}) } }, @@ -40,7 +40,7 @@ var callbacks = { data = widget.props $.extend(true,data,newdata) - updateDom(widget, {remote: true}) + updateWidget(widget, {remote: true}) } }, diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index c28f0f0f..07de7879 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -2,7 +2,7 @@ var EventEmitter = require('../../event-emitter'), osc = require('../../osc'), shortid = require('shortid'), widgetManager = require('../../managers/widgets'), - updateDom = function(){ updateDom = require('../../editor/data-workers').updateDom; updateDom(...arguments)} + updateWidget = function(){ updateWidget = require('../../editor/data-workers').updateWidget; updateWidget(...arguments)} module.exports = class _widgets_base extends EventEmitter { @@ -287,7 +287,7 @@ module.exports = class _widgets_base extends EventEmitter { reCreateWidget(valueChanged){ - updateDom(this.container, this.props, true, valueChanged) + updateWidget(this.container, this.props, true, valueChanged) } From 90f0d17d0073f726bcd75ee227ba0cbfba2b8f07 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 19:57:20 +0100 Subject: [PATCH 0241/5759] editor: typo --- src/browser/js/app/editor/data-workers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index dce8e768..8a366cbd 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -34,7 +34,7 @@ var updateWidget = function(widget, options = {}) { widget.container.replaceWith(newWidget.container) - if (data.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}]) + if (newWidget.props.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}]) $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) From 4b8e6edec922ca1a81320a66c8607fa2b01f4a17 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Jan 2018 19:57:20 +0100 Subject: [PATCH 0242/5759] editor: typo --- src/browser/js/app/editor/data-workers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index dce8e768..8a366cbd 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -34,7 +34,7 @@ var updateWidget = function(widget, options = {}) { widget.container.replaceWith(newWidget.container) - if (data.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}]) + if (newWidget.props.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}]) $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) From 09974dda3e0865fbfd9fca3effce06abb1db0b31 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 10:45:33 +0100 Subject: [PATCH 0243/5759] editor: missing change in widget base class breaking property inheritance (issue #128) --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 07de7879..d0d3b416 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -287,7 +287,7 @@ module.exports = class _widgets_base extends EventEmitter { reCreateWidget(valueChanged){ - updateWidget(this.container, this.props, true, valueChanged) + updateWidget(this, {remote: true}) } From 2fa0f165def04e31778f8ee50d08d6cc94bff606 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 10:45:33 +0100 Subject: [PATCH 0244/5759] editor: missing change in widget base class breaking property inheritance (issue #128) --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 07de7879..d0d3b416 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -287,7 +287,7 @@ module.exports = class _widgets_base extends EventEmitter { reCreateWidget(valueChanged){ - updateWidget(this.container, this.props, true, valueChanged) + updateWidget(this, {remote: true}) } From eb51338c3121887144ccdd5eddaf5c894efa73ee Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 10:55:37 +0100 Subject: [PATCH 0245/5759] property inheritance: don't try to check widgetManager's props (topmost parent) (issue #129) --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index d0d3b416..d6fea8e5 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -195,7 +195,7 @@ module.exports = class _widgets_base extends EventEmitter { if (!widgets.length) { var parent = this.parent - while (parent) { + while (parent && parent != widgetManager) { if (parent.getProp('id') == id) { widgets.push(parent) storeLinks = false From ed2f35d64916183dfc59271309ce6c7c8cfbc9ea Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 10:55:37 +0100 Subject: [PATCH 0246/5759] property inheritance: don't try to check widgetManager's props (topmost parent) (issue #129) --- src/browser/js/app/widgets/common/_widgets_base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index d0d3b416..d6fea8e5 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -195,7 +195,7 @@ module.exports = class _widgets_base extends EventEmitter { if (!widgets.length) { var parent = this.parent - while (parent) { + while (parent && parent != widgetManager) { if (parent.getProp('id') == id) { widgets.push(parent) storeLinks = false From 59c5f4345d349e33a349b3cc3b2a4b2b782b8268 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 23:28:22 +0100 Subject: [PATCH 0247/5759] event: rewrite drag handling without jquery :fireworks: --- src/browser/js/app/dom.js | 27 ++ src/browser/js/app/editor/index.js | 6 - src/browser/js/app/editor/init.js | 266 ++++++------ src/browser/js/app/event-emitter.js | 17 - src/browser/js/app/events/click.js | 49 +++ src/browser/js/app/events/drag.js | 256 +++++++++++ src/browser/js/app/events/event-emitter.js | 94 +++++ src/browser/js/app/events/utils.js | 93 ++++ src/browser/js/app/globals.js | 5 +- src/browser/js/app/managers/widgets.js | 2 +- src/browser/js/app/widgets/buttons/push.js | 28 +- src/browser/js/app/widgets/buttons/switch.js | 8 +- src/browser/js/app/widgets/buttons/toggle.js | 39 +- .../js/app/widgets/common/_widgets_base.js | 2 +- .../js/app/widgets/mixins/double_tap.js | 22 +- src/browser/js/app/widgets/pads/multixy.js | 68 +-- src/browser/js/app/widgets/pads/xy.js | 29 +- .../js/app/widgets/sliders/_sliders_base.js | 7 +- src/browser/js/app/widgets/sliders/encoder.js | 31 +- src/browser/js/app/widgets/sliders/fader.js | 12 +- src/browser/js/app/widgets/sliders/knob.js | 20 +- src/browser/js/app/widgets/sliders/range.js | 62 +-- src/browser/js/libs/jquery.drag.js | 396 ------------------ src/browser/scss/widgets/_fader.scss | 12 +- src/browser/scss/widgets/_pads.scss | 12 +- 25 files changed, 822 insertions(+), 741 deletions(-) create mode 100644 src/browser/js/app/dom.js delete mode 100644 src/browser/js/app/event-emitter.js create mode 100644 src/browser/js/app/events/click.js create mode 100644 src/browser/js/app/events/drag.js create mode 100644 src/browser/js/app/events/event-emitter.js create mode 100644 src/browser/js/app/events/utils.js delete mode 100644 src/browser/js/libs/jquery.drag.js diff --git a/src/browser/js/app/dom.js b/src/browser/js/app/dom.js new file mode 100644 index 00000000..568a420c --- /dev/null +++ b/src/browser/js/app/dom.js @@ -0,0 +1,27 @@ +module.exports = { + + dispatchEvent: function(element, name, data) { + + var event = new CustomEvent(name, { + detail: data, + bubbles: true, + cancelable: true + }) + + element.dispatchEvent(event) + + }, + + addEventListener: function(element, events, listener, capture) { + + var eventsAsObject = typeof events == 'string' ? events.split(' ') : events + + for (var i in eventsAsObject) { + + element.addEventListener(eventsAsObject[i], listener, capture) + + } + + } + +} diff --git a/src/browser/js/app/editor/index.js b/src/browser/js/app/editor/index.js index 0a1351b3..03f41a76 100644 --- a/src/browser/js/app/editor/index.js +++ b/src/browser/js/app/editor/index.js @@ -4,12 +4,6 @@ var Editor = class Editor { constructor() { - $(document).ready(()=>{ - - init() - - }) - } enable() { diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 93dc7e4e..bd2ad0a4 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -8,159 +8,157 @@ var {updateWidget, incrementWidget} = require('./data-workers'), var menu = new ContextMenu() -var init = function(){ +var handleClick = function(event) { - $('body').off('.editor').on('fake-click fake-right-click',function(e,d){ + if (!EDITING) return - if (!EDITING) return + menu.close() - menu.close() + var eventData = event.detail, + widget = widgetManager.getWidgetByElement(eventData.target, ':not(.not-editable)') - var widget = widgetManager.getWidgetByElement(e.target, ':not(.not-editable)') + if (!widget) return - if (!widget) return + var container = widget.container, + parent = widget.parentNode, + index = container.index(), + data = widget.props, + type = widget.props.type == 'tab' ? 'tab' : 'widget' - var container = widget.container, - parent = widget.parentNode, - index = container.index(), - data = widget.props, - type = widget.props.type == 'tab' ? 'tab' : 'widget' + editObject(widget) - editObject(widget) + if (event.type!='fake-right-click') return - if (e.type!='fake-right-click') return - - if (container.hasClass('root-container')) { - menu.open(d,{ - ' Add tab': function(){ - data.tabs.push({}) - updateWidget(widget) - } - }) - - return - } - - var actions = {}, - clickX = Math.round((d.offsetX + d.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, - clickY = Math.round((d.offsetY + d.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - - if (parent.hasClass('panel')) { - actions[' Edit parent'] = function(){parent.trigger('fake-click')} - } - - if (type=='widget') actions[' Copy'] = function(){CLIPBOARD=JSON.stringify(data)} - - if (type=='widget') actions[' Cut'] = function(){ - CLIPBOARD=JSON.stringify(data) - var parent = widget.parent, - parentData = parent.props - - parentData.widgets.splice(index,1) - updateWidget(parent) - } - - if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { - - if (CLIPBOARD!=null) { - actions[' Paste'] = { - ' ID + 1':function(){ - data.widgets = data.widgets || [] - var newData = incrementWidget(JSON.parse(CLIPBOARD)) - - - if (!$(e.target).hasClass('tablink')) { - newData.top = clickY - newData.left= clickX - } else { - delete newData.top - delete newData.left - } - - data.widgets.push(newData) - updateWidget(widget) - }, - ' Clone':function(){ - data.widgets = data.widgets || [] - var newData = JSON.parse(CLIPBOARD) - if (!$(e.target).hasClass('tablink')) { - newData.top = clickY - newData.left= clickX - } else { - delete newData.top - delete newData.left - } - data.widgets.push(newData) - updateWidget(widget) - } - } - } - - actions[' Add widget'] = {} - for (let category in categories) { - actions[' Add widget'][category] = {} - for (let t in categories[category]) { - let wtype = categories[category][t] - actions[' Add widget'][category][wtype] = function(){ - data.widgets = data.widgets || [] - var newData = {type:wtype} - if (!$(e.target).hasClass('tablink')) { - newData.top = clickY - newData.left= clickX - } - data.widgets.push(newData) - updateWidget(widget) - } - - } - } - - } - if (((type=='widget' && widgets[data.type].defaults().tabs) || (type=='tab')) && (!data.widgets||!data.widgets.length)) { - - actions[' Add tab'] = function(){ - data.tabs = data.tabs || [] + if (container.hasClass('root-container')) { + menu.open(eventData,{ + ' Add tab': function(){ data.tabs.push({}) updateWidget(widget) } + }) + return + } + + var actions = {}, + clickX = Math.round((eventData.offsetX + eventData.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, + clickY = Math.round((eventData.offsetY + eventData.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH + + if (parent.hasClass('panel')) { + actions[' Edit parent'] = function(){parent.trigger('fake-click')} + } + + if (type=='widget') actions[' Copy'] = function(){CLIPBOARD=JSON.stringify(data)} + + if (type=='widget') actions[' Cut'] = function(){ + CLIPBOARD=JSON.stringify(data) + var parent = widget.parent, + parentData = parent.props + + parentData.widgets.splice(index,1) + updateWidget(parent) + } + + if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { + + if (CLIPBOARD!=null) { + actions[' Paste'] = { + ' ID + 1':function(){ + data.widgets = data.widgets || [] + var newData = incrementWidget(JSON.parse(CLIPBOARD)) + + + if (!$(eventData.target).hasClass('tablink')) { + newData.top = clickY + newData.left= clickX + } else { + delete newData.top + delete newData.left + } + + data.widgets.push(newData) + updateWidget(widget) + }, + ' Clone':function(){ + data.widgets = data.widgets || [] + var newData = JSON.parse(CLIPBOARD) + if (!$(eventData.target).hasClass('tablink')) { + newData.top = clickY + newData.left= clickX + } else { + delete newData.top + delete newData.left + } + data.widgets.push(newData) + updateWidget(widget) + } + } } - actions[' Delete'] = function(){ - var popup = createPopup('Are you sure ?',` -
    - DELETE - CANCEL -
    - `) - $('.confirm-delete').click(function(){ - popup.close() - var parent = widget.parent, - parentData = parent.props - - - if (widget.props.type != 'tab') { - parentData.widgets.splice(index,1) - } else { - parentData.tabs.splice(index,1) + actions[' Add widget'] = {} + for (let category in categories) { + actions[' Add widget'][category] = {} + for (let t in categories[category]) { + let wtype = categories[category][t] + actions[' Add widget'][category][wtype] = function(){ + data.widgets = data.widgets || [] + var newData = {type:wtype} + if (!$(eventData.target).hasClass('tablink')) { + newData.top = clickY + newData.left= clickX + } + data.widgets.push(newData) + updateWidget(widget) } - updateWidget(parent) - }) - $('.cancel-delete').click(function(){ - popup.close() - }) - $(document).on('keydown.popup', function(e){ - if (e.keyCode==13) $('.confirm-delete').click() - }) - - + } } - menu.open(d,actions) + } + if (((type=='widget' && widgets[data.type].defaults().tabs) || (type=='tab')) && (!data.widgets||!data.widgets.length)) { - }) + actions[' Add tab'] = function(){ + data.tabs = data.tabs || [] + data.tabs.push({}) + updateWidget(widget) + } + + } + + actions[' Delete'] = function(){ + var popup = createPopup('Are you sure ?',` +
    + DELETE + CANCEL +
    + `) + $('.confirm-delete').click(function(){ + popup.close() + var parent = widget.parent, + parentData = parent.props + + + if (widget.props.type != 'tab') { + parentData.widgets.splice(index,1) + } else { + parentData.tabs.splice(index,1) + } + + updateWidget(parent) + }) + $('.cancel-delete').click(function(){ + popup.close() + }) + $(document).on('keydown.popup', function(e){ + if (e.keyCode==13) $('.confirm-delete').click() + }) + + + } + + menu.open(eventData, actions) } -module.exports = init +document.addEventListener('fake-right-click', handleClick) +document.addEventListener('fake-click', handleClick) diff --git a/src/browser/js/app/event-emitter.js b/src/browser/js/app/event-emitter.js deleted file mode 100644 index a355820e..00000000 --- a/src/browser/js/app/event-emitter.js +++ /dev/null @@ -1,17 +0,0 @@ -var WolfyEventEmitter = require('wolfy87-eventemitter') - -module.exports = class EventEmitter extends WolfyEventEmitter { - - emitEvent(evt, args) { - - super.emitEvent(evt, args) - - if (args[0] && !args[0].stopPropagation) { - if (this.parent) this.parent.emitEvent(evt, args) - } - - return this - - } - -} diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js new file mode 100644 index 00000000..1fbe2cc9 --- /dev/null +++ b/src/browser/js/app/events/click.js @@ -0,0 +1,49 @@ +var {fix, getElementOffset} = require('./utils') + +var longTouchTimer = false, + clearLongTouchTimer = function() { + if (longTouchTimer) { + clearTimeout(longTouchTimer) + longTouchTimer = false + } + } + + +document.addEventListener('contextmenu', ()=>{return false}) + +document.addEventListener('mousedown', (event)=>{ + + if (event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) return + if (event.button == 2) event.preventDefault() + + var e = fix(event) + + var name = event.button == 2 ? 'fake-right-click' : 'fake-click' + + DOM.dispatchEvent(e.target, name, e) + +}) + +document.addEventListener('touchstart', (event)=>{ + + var e = fix(event) + + DOM.dispatchEvent(e.target, 'fake-click', e) + + longTouchTimer = setTimeout(()=>{ + + var off = getElementOffset(e.target) + + e.offsetX = e.pageX - off.left + e.offsetY = e.pageY - off.top + + DOM.dispatchEvent(e.target, 'fake-right-click', e) + + clearLongTouchTimer() + + }, 600) + +}) + + +DOM.addEventListener(document, 'touchend touchmove', clearLongTouchTimer) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js new file mode 100644 index 00000000..180e0e3f --- /dev/null +++ b/src/browser/js/app/events/drag.js @@ -0,0 +1,256 @@ +const {fix, normalizeEvent, resetEventOffset} = require('./utils') + +var targets = {}, + previousPointers = {} + +function pointerDownHandler(event) { + + if (!event.multitouch) { + for (var i in targets) { + if (targets[i] == event.target) return + } + } + + targets[event.pointerId] = event.target + + normalizeEvent(event) + + previousPointers[event.pointerId] = event + + triggerWidgetEvent(targets[event.pointerId], 'draginit', event) + +} + +function pointerMoveHandler(event) { + + normalizeEvent(event, previousPointers[event.pointerId]) + + if (event.traversing) { + + var previousTarget = targets[event.pointerId], + target = event instanceof Touch ? + document.elementFromPoint(event.clientX, event.clientY) + : event.target + + if (target) target = target.closest('.drag-event') + + if (target && event instanceof Touch) { + resetEventOffset(event, target) + } + + if (previousTarget !== -1 && previousTarget !== target) { + triggerWidgetEvent(previousTarget, 'dragend', event) + } + + targets[event.pointerId] = target + + if (target) { + if (event.traversingContainer.contains(target)) { + triggerWidgetEvent(targets[event.pointerId], 'draginit', event) + } + } + + + } else { + triggerWidgetEvent(targets[event.pointerId], 'drag', event) + } + + previousPointers[event.pointerId] = event + +} + +function pointerUpHandler(event) { + + normalizeEvent(event, previousPointers[event.pointerId]) + + triggerWidgetEvent(targets[event.pointerId], 'dragend', event) + + delete targets[event.pointerId] + delete previousPointers[event.pointerId] + +} + + +function triggerWidgetEvent(target, name, event) { + if (target !== null && target._widget) { + target._widget.trigger(name, [event]) + } else if (target !== null) { + triggerWidgetEvent(target.closest('.drag-event'), name, event) + } +} + + +// Move / Up handlers + +function capturedMoveHandler(event) { + + if (targets[event.pointerId] !== undefined) { + pointerMoveHandler.call(targets[event.pointerId], event) + } + +} + +function capturedUpHandler(event) { + + if (targets[event.pointerId] !== undefined) { + pointerUpHandler.call(targets[event.pointerId], event) + delete targets[event.pointerId] + } + +} + +// Mouse events wrappers + +function mouseDownHandler(event) { + if ((event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) || event.button == 2) return + event.pointerId = 'mouse' + pointerDownHandler(event) +} + +function mouseMultiWrapper(event) { + event.multitouch = true + mouseDownHandler(event) +} + +document.addEventListener('mousemove', (event)=>{ + event.pointerId = 'mouse' + event.inertia = event.ctrlKey ? 10 : 1 + capturedMoveHandler(event) +}, true) + +document.addEventListener('mouseup', (event)=>{ + if ((event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) || event.button == 2) return + event.pointerId = 'mouse' + capturedUpHandler(event) +}, true) + + +// Touch events wrappers + +function touchDownHandler(event) { + for (var i in event.changedTouches) { + if (isNaN(i) || !event.changedTouches[i]) continue + var touchEvent = event.changedTouches[i] + + if (event.traversing) { + touchEvent.traversing = event.traversing + touchEvent.traversingContainer = event.traversingContainer + } + + touchEvent.pointerId = touchEvent.identifier + pointerDownHandler(touchEvent) + } +} + +function touchMultiWrapper(event) { + event.multitouch = true + touchDownHandler(event) +} + +document.addEventListener('touchmove', (event)=>{ + for (var i in event.changedTouches) { + if (isNaN(i) || !event.changedTouches[i]) continue + var touchEvent = event.changedTouches[i] + + var fingers = 0 + for (var j in event.touches) { + if (event.touches[j].target && event.touches[j].target.isSameNode(touchEvent.target)) { + fingers += 1 + if (fingers == 2) { + touchEvent.inertia = 10 + break + } + } + } + + touchEvent.pointerId = touchEvent.identifier + capturedMoveHandler(touchEvent) + } +}, true) + +document.addEventListener('touchend', (event)=>{ + for (var i in event.changedTouches) { + if (isNaN(i) || !event.changedTouches[i]) continue + var touchEvent = event.changedTouches[i] + touchEvent.pointerId = touchEvent.identifier + capturedUpHandler(touchEvent) + } +}, true) + + + + +module.exports = { + + setup: function(options) { + + if ( + this._customBindings['drag'].bindings !== 0 || + this._customBindings['draginit'].bindings !== 0 || + this._customBindings['dragend'].bindings !== 0 || + !options + ) { + return + } + + var {element, multitouch} = options + + element._widget = this + element.style.touchAction = 'none' + element.classList.add('drag-event') + + if (multitouch) { + element.addEventListener('touchstart', touchMultiWrapper) + element.addEventListener('mousedown', mouseMultiWrapper) + } else { + element.addEventListener('touchstart', touchDownHandler) + element.addEventListener('mousedown', mouseDownHandler) + } + + }, + + teardown: function(options) { + + if ( + this._customBindings['drag'].bindings !== 0 || + this._customBindings['draginit'].bindings !== 0 || + this._customBindings['dragend'].bindings !== 0 || + !options + ) { + return + } + + } + +} + + + +$.fn.enableTraversingGestures = function(options={}) { + + var self = this[0] + + var makeEventTraversing = function(e){ + if (e.ctrlKey && options.ctrlKeyCancel) return + e.traversing=true + if (!e.traversingContainer) e.traversingContainer = self + } + + self.addEventListener("mousedown", makeEventTraversing, true) + self.addEventListener("touchstart", makeEventTraversing, true) + + this.on('disableTraversingGestures',()=>{ + self.removeEventListener("mousedown", makeEventTraversing, true) + self.removeEventListener("touchstart", makeEventTraversing, true) + }) + + + return this + +} + +$.fn.disableTraversingGestures = function() { + + this.trigger('disableTraversingGestures') + +} diff --git a/src/browser/js/app/events/event-emitter.js b/src/browser/js/app/events/event-emitter.js new file mode 100644 index 00000000..3d32b936 --- /dev/null +++ b/src/browser/js/app/events/event-emitter.js @@ -0,0 +1,94 @@ +var WolfyEventEmitter = require('wolfy87-eventemitter'), + customEvents = {} + +customEvents['draginit'] = customEvents['drag'] = customEvents['dragend'] = require('./drag') + +module.exports = class EventEmitter extends WolfyEventEmitter { + + constructor() { + + super() + + this._customBindings = {} + + for (var evt in customEvents) { + this._customBindings[evt] = { + bindings: 0 + } + } + + } + + emitEvent(evt, args) { + + // Event bubbling + + super.emitEvent(evt, args) + + if (args[0] && !args[0].stopPropagation) { + if (this.parent) this.parent.emitEvent(evt, args) + } + + return this + + } + + addListener(evt, listener, options) { + + // Custom event setup + + var eventName = typeof evt == 'string' ? evt.split('.')[0] : '' + + if ( + customEvents.hasOwnProperty(eventName) && + typeof customEvents[eventName].setup === 'function' + ) { + if (this._customBindings[eventName].bindings === 0) { + this._customBindings[eventName].options = options + customEvents[eventName].setup.call(this, options) + } + this._customBindings[eventName].bindings += 1 + } + + super.addListener(evt, listener) + + return this + + } + + removeListener(evt, listener) { + + // Custom event teardown + + var eventName = typeof evt == 'string' ? evt.split('.')[0] : '' + + if ( + customEvents.hasOwnProperty(eventName) && + typeof customEvents[eventName].teardown === 'function' && + this._customBindings[eventName].bindings !== 0 + ) { + this._customBindings[eventName].bindings -= 1 + if (this._customBindings[eventName].bindings === 0 || !listener) { + var options = this._customBindings[eventName].options + customEvents[eventName].teardown.call(this, options) + } + } + + // Remove all listeners is none specified + + if (listener) { + + super.removeListener(evt, listener) + + } else { + + this.removeEvent(evt) + + } + + return this + + + } + +} diff --git a/src/browser/js/app/events/utils.js b/src/browser/js/app/events/utils.js new file mode 100644 index 00000000..c80499bd --- /dev/null +++ b/src/browser/js/app/events/utils.js @@ -0,0 +1,93 @@ +module.exports = { + + fix: function(e) { + + return { + + target: e.target, + offsetX: e.offsetX, + offsetY: e.offsetY, + pageX: e.pageX, + pageY: e.pageY, + movementX: e.movementX, + movementY: e.movementY, + pointerId: e.pointerId, + pointerType: e.pointerType, + button: e.button, + ctrlKey: e.ctrlKey, + shiftKey: e.shiftKey + + } + + }, + + normalizeEvent: function(event, previousEvent) { + + if (event.movementX === undefined) { + + event.movementX = previousEvent ? event.pageX - previousEvent.pageX : 0 + event.movementY = previousEvent ? event.pageY - previousEvent.pageY : 0 + + } + + if (event instanceof Touch && !previousEvent) { + + module.exports.resetEventOffset(event, event.target) + + } else if (event instanceof Touch && previousEvent) { + + event.offsetX = previousEvent.offsetX + event.movementX + event.offsetY = previousEvent.offsetY + event.movementY + + } + + if (event.inertia === undefined) { + + event.inertia = 1 + + } + + if (previousEvent && previousEvent.traversing) { + + event.traversing = previousEvent.traversing + event.traversingContainer = previousEvent.traversingContainer + + } + + event.stopPropagation = true + + }, + + resetEventOffset: function(event, target) { + + var off = module.exports.getElementOffset(target) + + event.offsetX = event.pageX - off.left + event.offsetY = event.pageY - off.top + + }, + + getElementOffset: function(element) { + + var offsetLeft = 0, + offsetTop = 0 + + if (element) { + do { + if (!isNaN(element.offsetLeft)) { + offsetLeft += element.offsetLeft - element.scrollLeft + } + if (!isNaN(element.offsetTop)) { + offsetTop += element.offsetTop - element.scrollTop + } + } while (element = element.offsetParent) + } + + return { + left: offsetLeft, + top: offsetTop + } + } + + +} diff --git a/src/browser/js/app/globals.js b/src/browser/js/app/globals.js index 6d97a2f6..48337d44 100644 --- a/src/browser/js/app/globals.js +++ b/src/browser/js/app/globals.js @@ -26,10 +26,13 @@ window.DOUBLE_TAP_TIME = ARGV.doubletap ? ARGV.doubletap : 375 window.JSON.parseFlex = require('json5').parse +window.DOM = require('./dom') + window.$ = require('jquery/dist/jquery.slim.min.js') +require('./events/click') + require('../libs/jquery.ui') -require('../libs/jquery.drag') require('../libs/jquery.resize') require('cardinal-spline-js/curve.js') diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index d7ee4e0f..36edaedb 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -1,4 +1,4 @@ -var EventEmitter = require('../event-emitter'), +var EventEmitter = require('../events/event-emitter'), ipc = require('../ipc/') var WidgetManager = class WidgetManager extends EventEmitter { diff --git a/src/browser/js/app/widgets/buttons/push.js b/src/browser/js/app/widgets/buttons/push.js index bddf7c6a..dee60f48 100644 --- a/src/browser/js/app/widgets/buttons/push.js +++ b/src/browser/js/app/widgets/buttons/push.js @@ -47,11 +47,15 @@ module.exports = class Push extends _widgets_base { this.active = 0 this.lastChanged = 'state' - this.widget.on('drag',function(e){e.stopPropagation()}) - this.widget.on('draginit.push',()=>{ - this.widget.off('draginit.push') - this.fakeclick() - }) + this.on('draginit',()=>{ + if (this.active) return + this.setValuePrivate(this.getProp('on'),{send:true,sync:true}) + }, {element: this.widget[0]}) + + this.on('dragend',()=>{ + this.setValuePrivate(this.getProp('off'),{send:true,sync:true}) + }, {element: this.widget[0]}) + this.classHolders = this.widget.add(this.container) this.value = this.getProp('off') @@ -68,20 +72,6 @@ module.exports = class Push extends _widgets_base { } - fakeclick(){ - - if (!this.active) this.setValuePrivate(this.getProp('on'),{send:true,sync:true}) - this.widget.on('dragend.push',()=>{ - this.setValuePrivate(this.getProp('off'),{send:true,sync:true}) - this.widget.off('dragend.push') - this.widget.on('draginit.push',()=>{ - this.widget.off('draginit.push') - this.fakeclick() - }) - }) - - } - setValuePrivate(v,options={}) { if (typeof v == 'object' && v !== null) v = v.value diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index 0b9de237..974c9fef 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -66,9 +66,10 @@ module.exports = class Switch extends _widgets_base { this.value = undefined - this.widget.find('.value').on('draginit',(e,dd)=>{ + this.on('draginit',(e)=>{ + var index = 0, - node = e.target + node = e.changedTarget || e.target while ( (node = node.previousSibling) ) { if (node.nodeType != 3 || !/^\s*$/.test(node.data)) { @@ -79,7 +80,8 @@ module.exports = class Switch extends _widgets_base { var value = this.values[index] if (value!=this.value || this.value===undefined) this.setValue(value,{sync:true,send:true}) - }) + + }, {element: this.widget[0]}) } diff --git a/src/browser/js/app/widgets/buttons/toggle.js b/src/browser/js/app/widgets/buttons/toggle.js index fd45bec2..f219f637 100644 --- a/src/browser/js/app/widgets/buttons/toggle.js +++ b/src/browser/js/app/widgets/buttons/toggle.js @@ -46,24 +46,30 @@ module.exports = class Toggle extends _widgets_base { super({...options, html: '
    '}) - this.widget.value = this.widget.find('span') - this.widget.state = 0 + this.state = 0 + this.active = false if (this.getProp('led')) this.container.addClass('led') if (this.getProp('doubleTap')) { doubletab(this.widget, ()=>{ - var newVal = this.widget.state?this.getProp('off'):this.getProp('on') + var newVal = this.state?this.getProp('off'):this.getProp('on') this.setValue(newVal,{sync:true,send:true}) }) } else { - this.widget.on('draginit.toggle',()=>{ - this.widget.off('draginit.toggle') - this.fakeclick() - }) + this.on('draginit',()=>{ + if (this.active) return + this.active = true + var newVal = this.state?this.getProp('off'):this.getProp('on') + this.setValue(newVal,{sync:true,send:true}) + }, {element: this.widget[0]}) + + this.on('dragend',()=>{ + this.active = false + }, {element: this.widget[0]}) } @@ -73,31 +79,16 @@ module.exports = class Toggle extends _widgets_base { } - fakeclick() { - - var newVal = this.widget.state?this.getProp('off'):this.getProp('on') - this.setValue(newVal,{sync:true,send:true}) - this.widget.on('dragend.toggle',()=>{ - this.widget.off('dragend.toggle') - this.widget.on('draginit.toggle',()=>{ - this.widget.off('draginit.toggle') - this.fakeclick() - }) - }) - - } - - setValue(v,options={}) { if (v===this.getProp('on') || (this.getProp('on') != null && v.value === this.getProp('on').value && v.value !== undefined)) { this.classHolders.addClass('on') - this.widget.state = 1 + this.state = 1 this.value = this.getProp('on') if (options.send) this.sendValue() } else if (v===this.getProp('off') || (this.getProp('off') != null && v.value === this.getProp('off').value && v.value !== undefined)) { this.classHolders.removeClass('on') - this.widget.state = 0 + this.state = 0 this.value = this.getProp('off') if (options.send) this.sendValue() } diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index d6fea8e5..24205c3c 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -1,4 +1,4 @@ -var EventEmitter = require('../../event-emitter'), +var EventEmitter = require('../../events/event-emitter'), osc = require('../../osc'), shortid = require('shortid'), widgetManager = require('../../managers/widgets'), diff --git a/src/browser/js/app/widgets/mixins/double_tap.js b/src/browser/js/app/widgets/mixins/double_tap.js index 08b4a962..09261a9e 100644 --- a/src/browser/js/app/widgets/mixins/double_tap.js +++ b/src/browser/js/app/widgets/mixins/double_tap.js @@ -5,16 +5,18 @@ module.exports = (element, callback)=>{ lastTapY, touchId - element.on('fake-click',(e, d)=>{ + element[0].addEventListener('fake-click', (event)=>{ + + var tapTime = new Date().getTime(), + tapLength = tapTime - lastTapTime, + eventData = event.detail - var tapTime = new Date().getTime() - var tapLength = tapTime - lastTapTime if ( - - tapLength < DOUBLE_TAP_TIME && touchId == d.identifier && - Math.abs(lastTapX - d.pageX) < 20 && - Math.abs(lastTapY - d.pageY) < 20 + + tapLength < DOUBLE_TAP_TIME && touchId == eventData.pointerId && + Math.abs(lastTapX - eventData.pageX) < 20 && + Math.abs(lastTapY - eventData.pageY) < 20 ) { @@ -24,9 +26,9 @@ module.exports = (element, callback)=>{ } else { lastTapTime = tapTime - touchId = d.identifier - lastTapX = d.pageX - lastTapY = d.pageY + touchId = eventData.pointerId + lastTapX = eventData.pageX + lastTapY = eventData.pageY } diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index 3ce90bba..2aaeac6e 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -75,9 +75,6 @@ module.exports = class MultiXy extends _pads_base { })() : false - this.handles = [] - this.handlesPositions = [] - this.handlesToPads = [] this.pads = [] @@ -99,57 +96,66 @@ module.exports = class MultiXy extends _pads_base { this.pads[i].sendValue = ()=>{} this.wrapper.append(this.pads[i].widget) - this.handles[i] = $(`
    `) - - this.wrapper.append(this.handles[i]) - } this.value = [] - this.handles.forEach((handle, index)=>{ + this.padsCoords = [] + this.touchMap = {} - handle.on('draginit',(e, data, traversing)=>{ + this.on('draginit',(e)=>{ - if (!traversing) { - handle.addClass('active') - } + var id - var id, ndiff, diff = -1 + if (!this.touchMap[e.pointerId]) { + + var ndiff, diff = -1 + + for (var i in this.pads) { + + if (Object.values(this.touchMap).indexOf(i) != -1) continue + + ndiff = Math.abs(e.offsetX - this.padsCoords[i][0]) + Math.abs(e.offsetY - (this.padsCoords[i][1] + this.height)) - for (var i in this.handles) { - if (this.handlesToPads.indexOf(i) != -1) continue - ndiff = Math.abs(data.offsetX - this.handlesPositions[i][0]) + Math.abs(data.offsetY - (this.handlesPositions[i][1] + this.height)) if (diff == -1 || ndiff < diff) { id = i diff = ndiff } + } - this.handlesToPads[index] = id + this.touchMap[e.pointerId] = id - if (this.pads[id]) this.pads[id].wrapper.trigger(e.type, [data, traversing]) - }) + } else if (e.traversing) { - handle.on('drag',(e, data, traversing)=>{ + id = this.touchMap[e.pointerId] - var id = this.handlesToPads[index] - if (this.pads[id]) this.pads[id].wrapper.trigger(e.type, [data, traversing]) + } - }) + if (!id) return - handle.on('dragend',(e, data, traversing)=>{ + this.pads[id].trigger('draginit', [e]) - var id = this.handlesToPads[index] - if (this.pads[id]) this.pads[id].wrapper.trigger(e.type, [data, traversing]) - handle.removeClass('active') - this.handlesToPads[index] = false + }, {element: this.wrapper[0], multitouch: true}) + + this.on('drag',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.pads[i].trigger('drag', [e]) + + }, {element: this.wrapper[0], multitouch: true}) + + this.on('dragend',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.pads[i].trigger('dragend', [e]) + delete this.touchMap[e.pointerId] + + }, {element: this.wrapper[0], multitouch: true}) - }) - }) this.on('change',(e)=>{ if (e.widget == this) return @@ -178,7 +184,7 @@ module.exports = class MultiXy extends _pads_base { for (var i=0;i{ - this.faders.x.draginitHandleProxy(e, data, traversing) - this.faders.y.draginitHandleProxy(e, data, traversing) + this.on('draginit',(e)=>{ + this.faders.x.trigger('draginit', [e]) + this.faders.y.trigger('draginit', [e]) this.dragHandle() - }) - this.wrapper.on('drag',(e, data, traversing)=>{ - this.faders.x.dragHandleProxy(e, data, traversing) - this.faders.y.dragHandleProxy(e, data, traversing) - this.dragHandle() - }) + }, {element: this.wrapper[0]}) - if (this.getProp('spring')) { - this.wrapper.on('dragend', ()=>{ + this.on('drag',(e)=>{ + this.faders.x.trigger('drag', [e]) + this.faders.y.trigger('drag', [e]) + this.dragHandle() + }, {element: this.wrapper[0]}) + + this.on('dragend', (e)=>{ + this.faders.x.trigger('dragend', [e]) + this.faders.y.trigger('dragend', [e]) + if (this.getProp('spring')) { this.setValue([this.faders.x.springValue,this.faders.y.springValue],{sync:true,send:true,fromLocal:true}) - }) - } + } + }, {element: this.wrapper[0]}) if (this.getProp('doubleTap')) { doubletab(this.wrapper, ()=>{ diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index f249464c..73623461 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -63,9 +63,10 @@ module.exports = class _sliders_base extends _canvas_base { touchstate(this, this.wrapper) this.wrapper.on('mousewheel',this.mousewheelHandleProxy.bind(this)) - this.wrapper.on('draginit',this.draginitHandleProxy.bind(this)) - this.wrapper.on('drag',this.dragHandleProxy.bind(this)) - this.wrapper.on('dragend',this.dragendHandleProxy.bind(this)) + + this.on('draginit', this.draginitHandleProxy.bind(this), {element:this.wrapper[0]}) + this.on('drag', this.dragHandleProxy.bind(this), {element:this.wrapper[0]}) + this.on('dragend', this.dragendHandleProxy.bind(this), {element:this.wrapper[0]}) if (this.getProp('input')) { diff --git a/src/browser/js/app/widgets/sliders/encoder.js b/src/browser/js/app/widgets/sliders/encoder.js index a27c8a78..bd6966f7 100644 --- a/src/browser/js/app/widgets/sliders/encoder.js +++ b/src/browser/js/app/widgets/sliders/encoder.js @@ -6,18 +6,18 @@ var {clip, mapToScale} = require('../utils'), var EncoderKnob = class extends Knob { - draginitHandle(e, data, traversing) { + draginitHandle(e) { this.percent = clip(this.percent,[0,100]) - this.lastOffsetX = data.offsetX - this.lastOffsetY = data.offsetY + this.lastOffsetX = e.offsetX + this.lastOffsetY = e.offsetY - if (!(traversing || this.getProp('snap'))) return + if (!(e.traversing || this.getProp('snap'))) return - this.percent = this.angleToPercent(this.coordsToAngle(data.offsetX, data.offsetY)) + this.percent = this.angleToPercent(this.coordsToAngle(e.offsetX, e.offsetY)) - this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true, draginit:true}) + this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true, draginit:!e.traversing}) } mousewheelHandle(){} @@ -87,7 +87,7 @@ module.exports = class Encoder extends _widgets_base { snap:true, range:{min:0,max:this.ticks}, pips:false, - }}) + }, parent: this}) this.knob.noDraw = true @@ -97,7 +97,7 @@ module.exports = class Encoder extends _widgets_base { range:{min:0,max:this.ticks}, origin:this.ticks/2, pips:false, - }}) + }, parent: this}) this.wrapper.append(this.knob.widget.addClass('drag-knob')) this.wrapper.append(this.display.widget.addClass('display-knob')) @@ -133,7 +133,7 @@ module.exports = class Encoder extends _widgets_base { }) - this.wrapper.on('draginit', (e)=>{ + this.knob.on('draginit', (e)=>{ if (this.getProp('touchAddress') && this.getProp('touchAddress').length && e.target == this.wrapper[0]) this.sendValue({ @@ -142,25 +142,28 @@ module.exports = class Encoder extends _widgets_base { }) }) - this.wrapper.on('dragend', (e)=>{ + this.knob.on('dragend', (e)=>{ if (this.getProp('release') !== '' && this.value !== this.getProp('release')) { this.knob.setValue(this.ticks/2) this.display.setValue(this.ticks/2) this.setValue(this.getProp('release'), {sync:true, send:true, dragged:false}) } - if (this.getProp('touchAddress') && this.getProp('touchAddress').length - && e.target == this.wrapper[0]) + if ( + this.getProp('touchAddress') && this.getProp('touchAddress').length + && e.target == this.wrapper[0] + ) { this.sendValue({ address:this.getProp('touchAddress'), v:0 }) + } }) if (this.getProp('doubleTap')) { doubletab(this.wrapper, ()=>{ - this.knob.setValue(this.ticks/2) - this.display.setValue(this.ticks/2) + this.knob.setValue(this.ticks/2) + this.display.setValue(this.ticks/2) if (this.getProp('release') !== '' && this.value !== this.getProp('release')) { this.setValue(this.getProp('release'), {sync:true, send:true, dragged:false}) } diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js index 34b17afd..7b8b29da 100644 --- a/src/browser/js/app/widgets/sliders/fader.js +++ b/src/browser/js/app/widgets/sliders/fader.js @@ -125,17 +125,17 @@ module.exports = class Fader extends _sliders_base { } - draginitHandle(e, data, traversing) { + draginitHandle(e) { super.draginitHandle(...arguments) this.percent = clip(this.percent,[0,100]) - if (!(traversing || this.getProp('snap')) || data.ctrlKey) return + if (!(e.traversing || this.getProp('snap')) || e.ctrlKey) return this.percent = this.getProp('horizontal')? - (data.offsetX - this.margin * PXSCALE) / (this.width - (this.margin * PXSCALE * 2)) * 100: - (this.height - data.offsetY - this.margin * PXSCALE) / (this.height - (this.margin * PXSCALE * 2)) * 100 + (e.offsetX - this.margin * PXSCALE) / (this.width - (this.margin * PXSCALE * 2)) * 100: + (this.height - e.offsetY - this.margin * PXSCALE) / (this.height - (this.margin * PXSCALE * 2)) * 100 // this.percent = clip(this.percent,[0,100]) @@ -148,8 +148,8 @@ module.exports = class Fader extends _sliders_base { super.dragHandle(...arguments) this.percent = this.getProp('horizontal')? - this.percent + ( data.speedX/(this.width - this.margin * PXSCALE * 2)) * 100: - this.percent + (-data.speedY/(this.height - this.margin * PXSCALE * 2)) * 100 + this.percent + ( e.movementX/(this.width - this.margin * PXSCALE * 2)) * 100 / e.inertia: + this.percent + (-e.movementY/(this.height - this.margin * PXSCALE * 2)) * 100 / e.inertia this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true}) diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js index 418fd07b..fb0b5c45 100644 --- a/src/browser/js/app/widgets/sliders/knob.js +++ b/src/browser/js/app/widgets/sliders/knob.js @@ -69,31 +69,31 @@ module.exports = class Knob extends _sliders_base { } - draginitHandle(e, data, traversing) { + draginitHandle(e) { this.percent = clip(this.percent,[0,100]) - this.lastOffsetX = data.offsetX - this.lastOffsetY = data.offsetY + this.lastOffsetX = e.offsetX + this.lastOffsetY = e.offsetY - if (!(traversing || this.getProp('snap')) || data.ctrlKey) return + if (!(e.traversing || this.getProp('snap')) || e.ctrlKey) return - this.percent = this.angleToPercent(this.coordsToAngle(data.offsetX, data.offsetY)) + this.percent = this.angleToPercent(this.coordsToAngle(e.offsetX, e.offsetY)) this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true}) } - dragHandle(e, data, traversing) { + dragHandle(e) { - if (!(traversing || this.getProp('snap')) || data.ctrlKey) { + if (!(e.traversing || this.getProp('snap')) || e.ctrlKey) { - this.percent = -100*data.speedY/this.height + this.percent + this.percent = -100 * (e.movementY / e.inertia) / this.height + this.percent } else { - this.lastOffsetX = this.lastOffsetX + data.speedX - this.lastOffsetY = this.lastOffsetY + data.speedY + this.lastOffsetX = this.lastOffsetX + e.movementX / e.inertia + this.lastOffsetY = this.lastOffsetY + e.movementY / e.inertia this.percent = this.angleToPercent(this.coordsToAngle(this.lastOffsetX, this.lastOffsetY)) } diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 43b94588..e682df43 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -289,61 +289,63 @@ module.exports = class Range extends _widgets_base { }) - this.handles = [ - $(`
    `), - $(`
    `) - ] - this.wrapper.append(this.handles) + this.touchMap = {} - this.handlesToFaders = [] + this.on('draginit',(e)=>{ - this.handles.forEach((handle, index)=>{ + var id - handle.on('draginit',(e, data, traversing)=>{ + if (!this.touchMap[e.pointerId]) { - if (!traversing) { - handle.addClass('active') - } + var ndiff, diff = -1 - var id, ndiff, diff = -1 + for (var i in this.faders) { - for (var i in this.handles) { - if (this.handlesToFaders.indexOf(i) != -1) continue + if (Object.values(this.touchMap).indexOf(i) != -1) continue var coord = this.faders[i].percentToCoord(this.faders[i].valueToPercent(this.faders[i].value)) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) ndiff = this.getProp('horizontal')? - Math.abs(data.offsetX - coord) : - Math.abs(data.offsetY - coord) + Math.abs(e.offsetX - coord) : + Math.abs(e.offsetY - coord) + if (diff == -1 || ndiff < diff) { id = i diff = ndiff } + } - this.handlesToFaders[index] = id + this.touchMap[e.pointerId] = id - if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) - }) + } else if (e.traversing) { - handle.on('drag',(e, data, traversing)=>{ + id = this.touchMap[e.pointerId] - var id = this.handlesToFaders[index] - if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + } - }) + if (!id) return - handle.on('dragend',(e, data, traversing)=>{ + this.faders[id].trigger('draginit', [e]) - var id = this.handlesToFaders[index] - if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) - handle.removeClass('active') - this.handlesToFaders[index] = false + }, {element: this.wrapper[0], multitouch: true}) - }) + this.on('drag',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.faders[i].trigger('drag', [e]) + + }, {element: this.wrapper[0], multitouch: true}) + + this.on('dragend',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.faders[i].trigger('dragend', [e]) + delete this.touchMap[e.pointerId] + + }, {element: this.wrapper[0], multitouch: true}) - }) if (this.getProp('input')) { diff --git a/src/browser/js/libs/jquery.drag.js b/src/browser/js/libs/jquery.drag.js deleted file mode 100644 index 1d8f3fd8..00000000 --- a/src/browser/js/libs/jquery.drag.js +++ /dev/null @@ -1,396 +0,0 @@ -// jQuery drag event handler -// note: triggerHandler() is used instead of trigger() when event bubblig is not -// necessary, this increases performances a lot. -;(function($){ - var events = { - touch:{start:'touchstart',stop:'touchend touchcancel',move:'touchmove',touch:true}, - mouse:{start:'mousedown',stop:'mouseup',move:'mousemove',out:'mouseout',touch:false} - }, - - - $document = $(document), - getOffset = function(obj) { - var offsetLeft = 0 - var offsetTop = 0 - if (obj) { - do { - if (!isNaN(obj.offsetLeft)) { - offsetLeft += obj.offsetLeft - obj.scrollLeft - } - if (!isNaN(obj.offsetTop)) { - offsetTop += obj.offsetTop - obj.scrollTop - } - } while(obj = obj.offsetParent ) - } - - return {left: offsetLeft, top: offsetTop} - } - - - $.event.special.draginit = $.event.special.drag = { - setup:function(){ - - var $this = $(this) - - if ($this.data('dragSetup') == 'true') return - $this.data('dragSetup','true') - - - // mouse single touch handler - var previousEvent = null, - target = null, - traversing = false, - mouseStartHandler = function(e){ - - // ignore mouse event when fired by a simulated touch event - if ((e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) || e.button == 2) return - - target = $this - previousEvent = e - - e.speedX = 0 - e.speedY = 0 - e.deltaX = 0 - e.deltaY = 0 - - target.triggerHandler('draginit',[e,e.originalEvent.traversing]) - - $document.on(events.mouse.move,mouseMoveHandler) - $document.on(events.mouse.stop,mouseStopHandler) - $document.on(events.mouse.out,mouseOutHandler) - - }, - mouseMoveHandler = function(e){ - e.stopPropagation() - - e.speedX = (e.pageX - previousEvent.pageX) / (e.ctrlKey ? 8 : 1) - e.speedY = (e.pageY - previousEvent.pageY) / (e.ctrlKey ? 8 : 1) - e.deltaX = e.speedX + previousEvent.deltaX - e.deltaY = e.speedY + previousEvent.deltaY - - - if (e.originalEvent.traversing) { - target = $(e.target) - e.preventDefault() - target.triggerHandler('draginit',[e,e.originalEvent.traversing]) - } else { - target.triggerHandler('drag',[e,e.originalEvent.traversing]) - } - - previousEvent = e - }, - mouseStopHandler = function(e){ - e.stopPropagation() - - // ignore mouse event when fired by a simulated touch event - if (e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) return - - e.speedX = e.pageX - previousEvent.pageX - e.speedY = e.pageY - previousEvent.pageY - e.deltaX = e.deltaX + previousEvent.deltaX - e.deltaY = e.deltaY + previousEvent.deltaY - - - target.trigger('dragend',[e,e.originalEvent.traversing]) - - $document.off(events.mouse.move,mouseMoveHandler) - $document.off(events.mouse.stop,mouseStopHandler) - $document.off(events.mouse.out,mouseOutHandler) - }, - mouseOutHandler = function(e){ - if (e.originalEvent.traversing) { - e.stopPropagation() - - e.speedX = e.pageX - previousEvent.pageX - e.speedY = e.pageY - previousEvent.pageY - e.deltaX = e.deltaX + previousEvent.deltaX - e.deltaY = e.deltaY + previousEvent.deltaY - - target.trigger('dragend',[e,e.originalEvent.traversing]) - - previousEvent = e - - } - } - - - $this.on(events.mouse.start + '.drag-osc',mouseStartHandler) - - - // multi touch hanlder - window.targets = window.targets || {} - window.previousTouches = window.previousTouches || {} - window.touchActive = window.touchActive || false - - var self = this, - touchStartHandler = function(e){ - e.preventDefault() - - var oE = e.originalEvent - - for (let i in oE.changedTouches) { - if (isNaN(i) || !oE.changedTouches[i]) continue - - var touch = oE.changedTouches[i], - id = touch.identifier, - emit = true - - for (let j in targets) { - if (targets[j][0].isSameNode(touch.target)) { - emit = false - break - } - } - - targets[id] = $(touch.target) - previousTouches[id] = { - deltaX:touch.deltaX, - deltaY:touch.deltaY, - offsetX:touch.offsetX, - offsetY:touch.offsetY, - speedX:touch.speedX, - speedY:touch.speedY, - pageX:touch.pageX, - pageY:touch.pageY, - clientX:touch.clientX, - clientY:touch.clientY - } - - touch.speedX = 0 - touch.speedY = 0 - - touch.deltaX = 0 - touch.deltaY = 0 - - var off = getOffset(touch.target) - touch.offsetX = touch.pageX-off.left - touch.offsetY = touch.pageY-off.top - - - if (emit) targets[id].triggerHandler('draginit',[touch,e.originalEvent.traversing]) - - } - - if (!touchActive) { - $document.on(events.touch.move,touchMoveHandler) - $document.on(events.touch.stop,touchStopHandler) - touchActive = true - } - - }, - touchMoveHandler = function(e){ - - var oE = e.originalEvent - - for (let i in oE.changedTouches) { - if (isNaN(i) || !oE.changedTouches[i]) continue - - var nFingers = 0 - for (let j in oE.touches) { - if (oE.touches[j].target && oE.touches[j].target.isSameNode(oE.changedTouches[i].target)) { - nFingers += 1 - } - } - - var touch = oE.changedTouches[i], - id = touch.identifier, - speedFactor = nFingers * nFingers - - if (e.originalEvent.traversing) { - targets[id] = $(document.elementFromPoint(touch.clientX, touch.clientY)) - } - - if (!targets[id]) continue - - touch.speedX = (touch.pageX - previousTouches[id].pageX) / speedFactor - touch.speedY = (touch.pageY - previousTouches[id].pageY) / speedFactor - - touch.deltaX = touch.speedX + previousTouches[id].deltaX - touch.deltaY = touch.speedY + previousTouches[id].deltaY - - touch.offsetX = previousTouches[id].offsetX+touch.speedX - touch.offsetY = previousTouches[id].offsetY+touch.speedY - - if (e.originalEvent.traversing) { - touch.traversing = true - var previousTarget = document.elementFromPoint(previousTouches[id].clientX, previousTouches[id].clientY) - if (targets[id][0]!=previousTarget) { - var off = getOffset(targets[id][0]) - touch.offsetX = touch.pageX-off.left - touch.offsetY = touch.pageY-off.top - $(previousTarget).trigger('dragend',[touch,e.originalEvent.traversing]) - } - e.preventDefault() - if (oE.traversingContainer.contains(targets[id][0])) targets[id].triggerHandler('draginit',[touch,e.originalEvent.traversing]) - - } else { - - targets[id].triggerHandler('drag',[touch,e.originalEvent.traversing]) - - } - - previousTouches[id] = { - deltaX:touch.deltaX, - deltaY:touch.deltaY, - offsetX:touch.offsetX, - offsetY:touch.offsetY, - speedX:touch.speedX, - speedY:touch.speedY, - pageX:touch.pageX, - pageY:touch.pageY, - clientX:touch.clientX, - clientY:touch.clientY - } - - } - - }, - touchStopHandler = function(e){ - - var oE = e.originalEvent - - for (let i in oE.changedTouches) { - - if (isNaN(i) || !oE.changedTouches[i]) continue - - var touch = oE.changedTouches[i], - id = touch.identifier - - $(targets[id]).trigger('dragend',[touch,e.originalEvent.traversing]) - - delete previousTouches[id] - delete targets[id] - - } - - if (oE.touches.length==0) { - $document.off(events.touch.move,touchMoveHandler) - $document.off(events.touch.stop,touchStopHandler) - touchActive = false - } - - } - - $this.on(events.touch.start + '.drag-osc',touchStartHandler) - - - }, - teardown: function(){ - var $this = $(this) - $this.off(events.touch.start + '.drag-osc') - $this.off(events.mouse.start + '.drag-osc') - $this.data('dragSetup','false') - } - - } - - - - - - - - - var makeEventTraversing = function(e){ - e.traversing=true - if (!e.traversingContainer) e.traversingContainer=this - } - - - $.fn.enableTraversingGestures = function(options={}) { - - var self = this[0] - - var down = function(e){ - if (e.ctrlKey && options.ctrlKeyCancel) return - makeEventTraversing(e) - self.addEventListener("mousemove", makeEventTraversing, true) - self.addEventListener("touchmove", makeEventTraversing, true) - self.addEventListener("mouseout", makeEventTraversing, true) - document.addEventListener("mouseup",up,true) - document.addEventListener("touchend",up,true) - }, - up = function(e){ - makeEventTraversing(e) - self.removeEventListener("mousemove", makeEventTraversing, true) - self.removeEventListener("touchmove", makeEventTraversing, true) - self.removeEventListener("mouseout", makeEventTraversing, true) - document.removeEventListener("mouseup",up,true) - document.removeEventListener("touchend",up,true) - } - - self.addEventListener("mousedown", down, true) - self.addEventListener("touchstart", down, true) - - this.on('draginit.traversing',()=>{}) - - this.on('disableTraversingGestures',()=>{ - this.off('draginit.traversing') - self.removeEventListener("mousedown", down, true) - self.removeEventListener("touchstart", down, true) - }) - - - return this - - } - - $.fn.disableTraversingGestures = function() { - - this.trigger('disableTraversingGestures') - - } - - - var longTapTimer = false, - clearLongTapTimer = function() { - clearTimeout(longTapTimer) - longTapTimer = false - } - - $document.on('mousedown',function(e){ - - if (e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) return - - - if (e.button==2) { - - e.preventDefault() - $(e.target).trigger('fake-right-click', e) - - } else { - - $(e.target).trigger('fake-click', e) - - } - - }) - - $document.on(events.touch.start,function(e){ - var touch = e.originalEvent.changedTouches[0] - - $(e.target).trigger('fake-click', touch) - - if (!longTapTimer&&e.originalEvent.touches.length==1) { - longTapTimer = setTimeout(function(){ - if (longTapTimer) { - var off = getOffset(touch.target) - - touch.offsetX = touch.pageX-off.left - touch.offsetY = touch.pageY-off.top - $(e.originalEvent.changedTouches[0].target).trigger('fake-right-click',touch) - } - longTapTimer = false - },600) - } else { - clearLongTapTimer() - } - }) - - $document.on(events.touch.stop + ' ' + events.touch.move,function(e){ - clearLongTapTimer() - }) - - $document.on('contextmenu',function(){return false}) - -})($) diff --git a/src/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss index 9f2e0480..082ee1f5 100644 --- a/src/browser/scss/widgets/_fader.scss +++ b/src/browser/scss/widgets/_fader.scss @@ -401,23 +401,13 @@ display: flex; justify-content: center; border-radius: inherit; - .handle { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom:0; - z-index: 1; - &.active { - pointer-events: none; - } - } .fader { position: absolute; top:0; left:0; right:0; bottom:0; + pointer-events: none; .wrapper { // border: 0; } diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss index 220b2944..d3021b34 100644 --- a/src/browser/scss/widgets/_pads.scss +++ b/src/browser/scss/widgets/_pads.scss @@ -157,17 +157,7 @@ top:0; left:0; } - .handle { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom:0; - z-index: 1; - &.active { - pointer-events: none; - } - } + > .pad { pointer-events: none; position: absolute; From c896b38b43c727cb979ab9a1a98cba1abc834410 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 23:28:22 +0100 Subject: [PATCH 0248/5759] event: rewrite drag handling without jquery :fireworks: --- src/browser/js/app/dom.js | 27 ++ src/browser/js/app/editor/index.js | 6 - src/browser/js/app/editor/init.js | 266 ++++++------ src/browser/js/app/event-emitter.js | 17 - src/browser/js/app/events/click.js | 49 +++ src/browser/js/app/events/drag.js | 256 +++++++++++ src/browser/js/app/events/event-emitter.js | 94 +++++ src/browser/js/app/events/utils.js | 93 ++++ src/browser/js/app/globals.js | 5 +- src/browser/js/app/managers/widgets.js | 2 +- src/browser/js/app/widgets/buttons/push.js | 28 +- src/browser/js/app/widgets/buttons/switch.js | 8 +- src/browser/js/app/widgets/buttons/toggle.js | 39 +- .../js/app/widgets/common/_widgets_base.js | 2 +- .../js/app/widgets/mixins/double_tap.js | 22 +- src/browser/js/app/widgets/pads/multixy.js | 68 +-- src/browser/js/app/widgets/pads/xy.js | 29 +- .../js/app/widgets/sliders/_sliders_base.js | 7 +- src/browser/js/app/widgets/sliders/encoder.js | 31 +- src/browser/js/app/widgets/sliders/fader.js | 12 +- src/browser/js/app/widgets/sliders/knob.js | 20 +- src/browser/js/app/widgets/sliders/range.js | 62 +-- src/browser/js/libs/jquery.drag.js | 396 ------------------ src/browser/scss/widgets/_fader.scss | 12 +- src/browser/scss/widgets/_pads.scss | 12 +- 25 files changed, 822 insertions(+), 741 deletions(-) create mode 100644 src/browser/js/app/dom.js delete mode 100644 src/browser/js/app/event-emitter.js create mode 100644 src/browser/js/app/events/click.js create mode 100644 src/browser/js/app/events/drag.js create mode 100644 src/browser/js/app/events/event-emitter.js create mode 100644 src/browser/js/app/events/utils.js delete mode 100644 src/browser/js/libs/jquery.drag.js diff --git a/src/browser/js/app/dom.js b/src/browser/js/app/dom.js new file mode 100644 index 00000000..568a420c --- /dev/null +++ b/src/browser/js/app/dom.js @@ -0,0 +1,27 @@ +module.exports = { + + dispatchEvent: function(element, name, data) { + + var event = new CustomEvent(name, { + detail: data, + bubbles: true, + cancelable: true + }) + + element.dispatchEvent(event) + + }, + + addEventListener: function(element, events, listener, capture) { + + var eventsAsObject = typeof events == 'string' ? events.split(' ') : events + + for (var i in eventsAsObject) { + + element.addEventListener(eventsAsObject[i], listener, capture) + + } + + } + +} diff --git a/src/browser/js/app/editor/index.js b/src/browser/js/app/editor/index.js index 0a1351b3..03f41a76 100644 --- a/src/browser/js/app/editor/index.js +++ b/src/browser/js/app/editor/index.js @@ -4,12 +4,6 @@ var Editor = class Editor { constructor() { - $(document).ready(()=>{ - - init() - - }) - } enable() { diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 93dc7e4e..bd2ad0a4 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -8,159 +8,157 @@ var {updateWidget, incrementWidget} = require('./data-workers'), var menu = new ContextMenu() -var init = function(){ +var handleClick = function(event) { - $('body').off('.editor').on('fake-click fake-right-click',function(e,d){ + if (!EDITING) return - if (!EDITING) return + menu.close() - menu.close() + var eventData = event.detail, + widget = widgetManager.getWidgetByElement(eventData.target, ':not(.not-editable)') - var widget = widgetManager.getWidgetByElement(e.target, ':not(.not-editable)') + if (!widget) return - if (!widget) return + var container = widget.container, + parent = widget.parentNode, + index = container.index(), + data = widget.props, + type = widget.props.type == 'tab' ? 'tab' : 'widget' - var container = widget.container, - parent = widget.parentNode, - index = container.index(), - data = widget.props, - type = widget.props.type == 'tab' ? 'tab' : 'widget' + editObject(widget) - editObject(widget) + if (event.type!='fake-right-click') return - if (e.type!='fake-right-click') return - - if (container.hasClass('root-container')) { - menu.open(d,{ - ' Add tab': function(){ - data.tabs.push({}) - updateWidget(widget) - } - }) - - return - } - - var actions = {}, - clickX = Math.round((d.offsetX + d.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, - clickY = Math.round((d.offsetY + d.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - - if (parent.hasClass('panel')) { - actions[' Edit parent'] = function(){parent.trigger('fake-click')} - } - - if (type=='widget') actions[' Copy'] = function(){CLIPBOARD=JSON.stringify(data)} - - if (type=='widget') actions[' Cut'] = function(){ - CLIPBOARD=JSON.stringify(data) - var parent = widget.parent, - parentData = parent.props - - parentData.widgets.splice(index,1) - updateWidget(parent) - } - - if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { - - if (CLIPBOARD!=null) { - actions[' Paste'] = { - ' ID + 1':function(){ - data.widgets = data.widgets || [] - var newData = incrementWidget(JSON.parse(CLIPBOARD)) - - - if (!$(e.target).hasClass('tablink')) { - newData.top = clickY - newData.left= clickX - } else { - delete newData.top - delete newData.left - } - - data.widgets.push(newData) - updateWidget(widget) - }, - ' Clone':function(){ - data.widgets = data.widgets || [] - var newData = JSON.parse(CLIPBOARD) - if (!$(e.target).hasClass('tablink')) { - newData.top = clickY - newData.left= clickX - } else { - delete newData.top - delete newData.left - } - data.widgets.push(newData) - updateWidget(widget) - } - } - } - - actions[' Add widget'] = {} - for (let category in categories) { - actions[' Add widget'][category] = {} - for (let t in categories[category]) { - let wtype = categories[category][t] - actions[' Add widget'][category][wtype] = function(){ - data.widgets = data.widgets || [] - var newData = {type:wtype} - if (!$(e.target).hasClass('tablink')) { - newData.top = clickY - newData.left= clickX - } - data.widgets.push(newData) - updateWidget(widget) - } - - } - } - - } - if (((type=='widget' && widgets[data.type].defaults().tabs) || (type=='tab')) && (!data.widgets||!data.widgets.length)) { - - actions[' Add tab'] = function(){ - data.tabs = data.tabs || [] + if (container.hasClass('root-container')) { + menu.open(eventData,{ + ' Add tab': function(){ data.tabs.push({}) updateWidget(widget) } + }) + return + } + + var actions = {}, + clickX = Math.round((eventData.offsetX + eventData.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, + clickY = Math.round((eventData.offsetY + eventData.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH + + if (parent.hasClass('panel')) { + actions[' Edit parent'] = function(){parent.trigger('fake-click')} + } + + if (type=='widget') actions[' Copy'] = function(){CLIPBOARD=JSON.stringify(data)} + + if (type=='widget') actions[' Cut'] = function(){ + CLIPBOARD=JSON.stringify(data) + var parent = widget.parent, + parentData = parent.props + + parentData.widgets.splice(index,1) + updateWidget(parent) + } + + if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { + + if (CLIPBOARD!=null) { + actions[' Paste'] = { + ' ID + 1':function(){ + data.widgets = data.widgets || [] + var newData = incrementWidget(JSON.parse(CLIPBOARD)) + + + if (!$(eventData.target).hasClass('tablink')) { + newData.top = clickY + newData.left= clickX + } else { + delete newData.top + delete newData.left + } + + data.widgets.push(newData) + updateWidget(widget) + }, + ' Clone':function(){ + data.widgets = data.widgets || [] + var newData = JSON.parse(CLIPBOARD) + if (!$(eventData.target).hasClass('tablink')) { + newData.top = clickY + newData.left= clickX + } else { + delete newData.top + delete newData.left + } + data.widgets.push(newData) + updateWidget(widget) + } + } } - actions[' Delete'] = function(){ - var popup = createPopup('Are you sure ?',` -
    - DELETE - CANCEL -
    - `) - $('.confirm-delete').click(function(){ - popup.close() - var parent = widget.parent, - parentData = parent.props - - - if (widget.props.type != 'tab') { - parentData.widgets.splice(index,1) - } else { - parentData.tabs.splice(index,1) + actions[' Add widget'] = {} + for (let category in categories) { + actions[' Add widget'][category] = {} + for (let t in categories[category]) { + let wtype = categories[category][t] + actions[' Add widget'][category][wtype] = function(){ + data.widgets = data.widgets || [] + var newData = {type:wtype} + if (!$(eventData.target).hasClass('tablink')) { + newData.top = clickY + newData.left= clickX + } + data.widgets.push(newData) + updateWidget(widget) } - updateWidget(parent) - }) - $('.cancel-delete').click(function(){ - popup.close() - }) - $(document).on('keydown.popup', function(e){ - if (e.keyCode==13) $('.confirm-delete').click() - }) - - + } } - menu.open(d,actions) + } + if (((type=='widget' && widgets[data.type].defaults().tabs) || (type=='tab')) && (!data.widgets||!data.widgets.length)) { - }) + actions[' Add tab'] = function(){ + data.tabs = data.tabs || [] + data.tabs.push({}) + updateWidget(widget) + } + + } + + actions[' Delete'] = function(){ + var popup = createPopup('Are you sure ?',` +
    + DELETE + CANCEL +
    + `) + $('.confirm-delete').click(function(){ + popup.close() + var parent = widget.parent, + parentData = parent.props + + + if (widget.props.type != 'tab') { + parentData.widgets.splice(index,1) + } else { + parentData.tabs.splice(index,1) + } + + updateWidget(parent) + }) + $('.cancel-delete').click(function(){ + popup.close() + }) + $(document).on('keydown.popup', function(e){ + if (e.keyCode==13) $('.confirm-delete').click() + }) + + + } + + menu.open(eventData, actions) } -module.exports = init +document.addEventListener('fake-right-click', handleClick) +document.addEventListener('fake-click', handleClick) diff --git a/src/browser/js/app/event-emitter.js b/src/browser/js/app/event-emitter.js deleted file mode 100644 index a355820e..00000000 --- a/src/browser/js/app/event-emitter.js +++ /dev/null @@ -1,17 +0,0 @@ -var WolfyEventEmitter = require('wolfy87-eventemitter') - -module.exports = class EventEmitter extends WolfyEventEmitter { - - emitEvent(evt, args) { - - super.emitEvent(evt, args) - - if (args[0] && !args[0].stopPropagation) { - if (this.parent) this.parent.emitEvent(evt, args) - } - - return this - - } - -} diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js new file mode 100644 index 00000000..1fbe2cc9 --- /dev/null +++ b/src/browser/js/app/events/click.js @@ -0,0 +1,49 @@ +var {fix, getElementOffset} = require('./utils') + +var longTouchTimer = false, + clearLongTouchTimer = function() { + if (longTouchTimer) { + clearTimeout(longTouchTimer) + longTouchTimer = false + } + } + + +document.addEventListener('contextmenu', ()=>{return false}) + +document.addEventListener('mousedown', (event)=>{ + + if (event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) return + if (event.button == 2) event.preventDefault() + + var e = fix(event) + + var name = event.button == 2 ? 'fake-right-click' : 'fake-click' + + DOM.dispatchEvent(e.target, name, e) + +}) + +document.addEventListener('touchstart', (event)=>{ + + var e = fix(event) + + DOM.dispatchEvent(e.target, 'fake-click', e) + + longTouchTimer = setTimeout(()=>{ + + var off = getElementOffset(e.target) + + e.offsetX = e.pageX - off.left + e.offsetY = e.pageY - off.top + + DOM.dispatchEvent(e.target, 'fake-right-click', e) + + clearLongTouchTimer() + + }, 600) + +}) + + +DOM.addEventListener(document, 'touchend touchmove', clearLongTouchTimer) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js new file mode 100644 index 00000000..180e0e3f --- /dev/null +++ b/src/browser/js/app/events/drag.js @@ -0,0 +1,256 @@ +const {fix, normalizeEvent, resetEventOffset} = require('./utils') + +var targets = {}, + previousPointers = {} + +function pointerDownHandler(event) { + + if (!event.multitouch) { + for (var i in targets) { + if (targets[i] == event.target) return + } + } + + targets[event.pointerId] = event.target + + normalizeEvent(event) + + previousPointers[event.pointerId] = event + + triggerWidgetEvent(targets[event.pointerId], 'draginit', event) + +} + +function pointerMoveHandler(event) { + + normalizeEvent(event, previousPointers[event.pointerId]) + + if (event.traversing) { + + var previousTarget = targets[event.pointerId], + target = event instanceof Touch ? + document.elementFromPoint(event.clientX, event.clientY) + : event.target + + if (target) target = target.closest('.drag-event') + + if (target && event instanceof Touch) { + resetEventOffset(event, target) + } + + if (previousTarget !== -1 && previousTarget !== target) { + triggerWidgetEvent(previousTarget, 'dragend', event) + } + + targets[event.pointerId] = target + + if (target) { + if (event.traversingContainer.contains(target)) { + triggerWidgetEvent(targets[event.pointerId], 'draginit', event) + } + } + + + } else { + triggerWidgetEvent(targets[event.pointerId], 'drag', event) + } + + previousPointers[event.pointerId] = event + +} + +function pointerUpHandler(event) { + + normalizeEvent(event, previousPointers[event.pointerId]) + + triggerWidgetEvent(targets[event.pointerId], 'dragend', event) + + delete targets[event.pointerId] + delete previousPointers[event.pointerId] + +} + + +function triggerWidgetEvent(target, name, event) { + if (target !== null && target._widget) { + target._widget.trigger(name, [event]) + } else if (target !== null) { + triggerWidgetEvent(target.closest('.drag-event'), name, event) + } +} + + +// Move / Up handlers + +function capturedMoveHandler(event) { + + if (targets[event.pointerId] !== undefined) { + pointerMoveHandler.call(targets[event.pointerId], event) + } + +} + +function capturedUpHandler(event) { + + if (targets[event.pointerId] !== undefined) { + pointerUpHandler.call(targets[event.pointerId], event) + delete targets[event.pointerId] + } + +} + +// Mouse events wrappers + +function mouseDownHandler(event) { + if ((event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) || event.button == 2) return + event.pointerId = 'mouse' + pointerDownHandler(event) +} + +function mouseMultiWrapper(event) { + event.multitouch = true + mouseDownHandler(event) +} + +document.addEventListener('mousemove', (event)=>{ + event.pointerId = 'mouse' + event.inertia = event.ctrlKey ? 10 : 1 + capturedMoveHandler(event) +}, true) + +document.addEventListener('mouseup', (event)=>{ + if ((event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) || event.button == 2) return + event.pointerId = 'mouse' + capturedUpHandler(event) +}, true) + + +// Touch events wrappers + +function touchDownHandler(event) { + for (var i in event.changedTouches) { + if (isNaN(i) || !event.changedTouches[i]) continue + var touchEvent = event.changedTouches[i] + + if (event.traversing) { + touchEvent.traversing = event.traversing + touchEvent.traversingContainer = event.traversingContainer + } + + touchEvent.pointerId = touchEvent.identifier + pointerDownHandler(touchEvent) + } +} + +function touchMultiWrapper(event) { + event.multitouch = true + touchDownHandler(event) +} + +document.addEventListener('touchmove', (event)=>{ + for (var i in event.changedTouches) { + if (isNaN(i) || !event.changedTouches[i]) continue + var touchEvent = event.changedTouches[i] + + var fingers = 0 + for (var j in event.touches) { + if (event.touches[j].target && event.touches[j].target.isSameNode(touchEvent.target)) { + fingers += 1 + if (fingers == 2) { + touchEvent.inertia = 10 + break + } + } + } + + touchEvent.pointerId = touchEvent.identifier + capturedMoveHandler(touchEvent) + } +}, true) + +document.addEventListener('touchend', (event)=>{ + for (var i in event.changedTouches) { + if (isNaN(i) || !event.changedTouches[i]) continue + var touchEvent = event.changedTouches[i] + touchEvent.pointerId = touchEvent.identifier + capturedUpHandler(touchEvent) + } +}, true) + + + + +module.exports = { + + setup: function(options) { + + if ( + this._customBindings['drag'].bindings !== 0 || + this._customBindings['draginit'].bindings !== 0 || + this._customBindings['dragend'].bindings !== 0 || + !options + ) { + return + } + + var {element, multitouch} = options + + element._widget = this + element.style.touchAction = 'none' + element.classList.add('drag-event') + + if (multitouch) { + element.addEventListener('touchstart', touchMultiWrapper) + element.addEventListener('mousedown', mouseMultiWrapper) + } else { + element.addEventListener('touchstart', touchDownHandler) + element.addEventListener('mousedown', mouseDownHandler) + } + + }, + + teardown: function(options) { + + if ( + this._customBindings['drag'].bindings !== 0 || + this._customBindings['draginit'].bindings !== 0 || + this._customBindings['dragend'].bindings !== 0 || + !options + ) { + return + } + + } + +} + + + +$.fn.enableTraversingGestures = function(options={}) { + + var self = this[0] + + var makeEventTraversing = function(e){ + if (e.ctrlKey && options.ctrlKeyCancel) return + e.traversing=true + if (!e.traversingContainer) e.traversingContainer = self + } + + self.addEventListener("mousedown", makeEventTraversing, true) + self.addEventListener("touchstart", makeEventTraversing, true) + + this.on('disableTraversingGestures',()=>{ + self.removeEventListener("mousedown", makeEventTraversing, true) + self.removeEventListener("touchstart", makeEventTraversing, true) + }) + + + return this + +} + +$.fn.disableTraversingGestures = function() { + + this.trigger('disableTraversingGestures') + +} diff --git a/src/browser/js/app/events/event-emitter.js b/src/browser/js/app/events/event-emitter.js new file mode 100644 index 00000000..3d32b936 --- /dev/null +++ b/src/browser/js/app/events/event-emitter.js @@ -0,0 +1,94 @@ +var WolfyEventEmitter = require('wolfy87-eventemitter'), + customEvents = {} + +customEvents['draginit'] = customEvents['drag'] = customEvents['dragend'] = require('./drag') + +module.exports = class EventEmitter extends WolfyEventEmitter { + + constructor() { + + super() + + this._customBindings = {} + + for (var evt in customEvents) { + this._customBindings[evt] = { + bindings: 0 + } + } + + } + + emitEvent(evt, args) { + + // Event bubbling + + super.emitEvent(evt, args) + + if (args[0] && !args[0].stopPropagation) { + if (this.parent) this.parent.emitEvent(evt, args) + } + + return this + + } + + addListener(evt, listener, options) { + + // Custom event setup + + var eventName = typeof evt == 'string' ? evt.split('.')[0] : '' + + if ( + customEvents.hasOwnProperty(eventName) && + typeof customEvents[eventName].setup === 'function' + ) { + if (this._customBindings[eventName].bindings === 0) { + this._customBindings[eventName].options = options + customEvents[eventName].setup.call(this, options) + } + this._customBindings[eventName].bindings += 1 + } + + super.addListener(evt, listener) + + return this + + } + + removeListener(evt, listener) { + + // Custom event teardown + + var eventName = typeof evt == 'string' ? evt.split('.')[0] : '' + + if ( + customEvents.hasOwnProperty(eventName) && + typeof customEvents[eventName].teardown === 'function' && + this._customBindings[eventName].bindings !== 0 + ) { + this._customBindings[eventName].bindings -= 1 + if (this._customBindings[eventName].bindings === 0 || !listener) { + var options = this._customBindings[eventName].options + customEvents[eventName].teardown.call(this, options) + } + } + + // Remove all listeners is none specified + + if (listener) { + + super.removeListener(evt, listener) + + } else { + + this.removeEvent(evt) + + } + + return this + + + } + +} diff --git a/src/browser/js/app/events/utils.js b/src/browser/js/app/events/utils.js new file mode 100644 index 00000000..c80499bd --- /dev/null +++ b/src/browser/js/app/events/utils.js @@ -0,0 +1,93 @@ +module.exports = { + + fix: function(e) { + + return { + + target: e.target, + offsetX: e.offsetX, + offsetY: e.offsetY, + pageX: e.pageX, + pageY: e.pageY, + movementX: e.movementX, + movementY: e.movementY, + pointerId: e.pointerId, + pointerType: e.pointerType, + button: e.button, + ctrlKey: e.ctrlKey, + shiftKey: e.shiftKey + + } + + }, + + normalizeEvent: function(event, previousEvent) { + + if (event.movementX === undefined) { + + event.movementX = previousEvent ? event.pageX - previousEvent.pageX : 0 + event.movementY = previousEvent ? event.pageY - previousEvent.pageY : 0 + + } + + if (event instanceof Touch && !previousEvent) { + + module.exports.resetEventOffset(event, event.target) + + } else if (event instanceof Touch && previousEvent) { + + event.offsetX = previousEvent.offsetX + event.movementX + event.offsetY = previousEvent.offsetY + event.movementY + + } + + if (event.inertia === undefined) { + + event.inertia = 1 + + } + + if (previousEvent && previousEvent.traversing) { + + event.traversing = previousEvent.traversing + event.traversingContainer = previousEvent.traversingContainer + + } + + event.stopPropagation = true + + }, + + resetEventOffset: function(event, target) { + + var off = module.exports.getElementOffset(target) + + event.offsetX = event.pageX - off.left + event.offsetY = event.pageY - off.top + + }, + + getElementOffset: function(element) { + + var offsetLeft = 0, + offsetTop = 0 + + if (element) { + do { + if (!isNaN(element.offsetLeft)) { + offsetLeft += element.offsetLeft - element.scrollLeft + } + if (!isNaN(element.offsetTop)) { + offsetTop += element.offsetTop - element.scrollTop + } + } while (element = element.offsetParent) + } + + return { + left: offsetLeft, + top: offsetTop + } + } + + +} diff --git a/src/browser/js/app/globals.js b/src/browser/js/app/globals.js index 6d97a2f6..48337d44 100644 --- a/src/browser/js/app/globals.js +++ b/src/browser/js/app/globals.js @@ -26,10 +26,13 @@ window.DOUBLE_TAP_TIME = ARGV.doubletap ? ARGV.doubletap : 375 window.JSON.parseFlex = require('json5').parse +window.DOM = require('./dom') + window.$ = require('jquery/dist/jquery.slim.min.js') +require('./events/click') + require('../libs/jquery.ui') -require('../libs/jquery.drag') require('../libs/jquery.resize') require('cardinal-spline-js/curve.js') diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index d7ee4e0f..36edaedb 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -1,4 +1,4 @@ -var EventEmitter = require('../event-emitter'), +var EventEmitter = require('../events/event-emitter'), ipc = require('../ipc/') var WidgetManager = class WidgetManager extends EventEmitter { diff --git a/src/browser/js/app/widgets/buttons/push.js b/src/browser/js/app/widgets/buttons/push.js index bddf7c6a..dee60f48 100644 --- a/src/browser/js/app/widgets/buttons/push.js +++ b/src/browser/js/app/widgets/buttons/push.js @@ -47,11 +47,15 @@ module.exports = class Push extends _widgets_base { this.active = 0 this.lastChanged = 'state' - this.widget.on('drag',function(e){e.stopPropagation()}) - this.widget.on('draginit.push',()=>{ - this.widget.off('draginit.push') - this.fakeclick() - }) + this.on('draginit',()=>{ + if (this.active) return + this.setValuePrivate(this.getProp('on'),{send:true,sync:true}) + }, {element: this.widget[0]}) + + this.on('dragend',()=>{ + this.setValuePrivate(this.getProp('off'),{send:true,sync:true}) + }, {element: this.widget[0]}) + this.classHolders = this.widget.add(this.container) this.value = this.getProp('off') @@ -68,20 +72,6 @@ module.exports = class Push extends _widgets_base { } - fakeclick(){ - - if (!this.active) this.setValuePrivate(this.getProp('on'),{send:true,sync:true}) - this.widget.on('dragend.push',()=>{ - this.setValuePrivate(this.getProp('off'),{send:true,sync:true}) - this.widget.off('dragend.push') - this.widget.on('draginit.push',()=>{ - this.widget.off('draginit.push') - this.fakeclick() - }) - }) - - } - setValuePrivate(v,options={}) { if (typeof v == 'object' && v !== null) v = v.value diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index 0b9de237..974c9fef 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -66,9 +66,10 @@ module.exports = class Switch extends _widgets_base { this.value = undefined - this.widget.find('.value').on('draginit',(e,dd)=>{ + this.on('draginit',(e)=>{ + var index = 0, - node = e.target + node = e.changedTarget || e.target while ( (node = node.previousSibling) ) { if (node.nodeType != 3 || !/^\s*$/.test(node.data)) { @@ -79,7 +80,8 @@ module.exports = class Switch extends _widgets_base { var value = this.values[index] if (value!=this.value || this.value===undefined) this.setValue(value,{sync:true,send:true}) - }) + + }, {element: this.widget[0]}) } diff --git a/src/browser/js/app/widgets/buttons/toggle.js b/src/browser/js/app/widgets/buttons/toggle.js index fd45bec2..f219f637 100644 --- a/src/browser/js/app/widgets/buttons/toggle.js +++ b/src/browser/js/app/widgets/buttons/toggle.js @@ -46,24 +46,30 @@ module.exports = class Toggle extends _widgets_base { super({...options, html: '
    '}) - this.widget.value = this.widget.find('span') - this.widget.state = 0 + this.state = 0 + this.active = false if (this.getProp('led')) this.container.addClass('led') if (this.getProp('doubleTap')) { doubletab(this.widget, ()=>{ - var newVal = this.widget.state?this.getProp('off'):this.getProp('on') + var newVal = this.state?this.getProp('off'):this.getProp('on') this.setValue(newVal,{sync:true,send:true}) }) } else { - this.widget.on('draginit.toggle',()=>{ - this.widget.off('draginit.toggle') - this.fakeclick() - }) + this.on('draginit',()=>{ + if (this.active) return + this.active = true + var newVal = this.state?this.getProp('off'):this.getProp('on') + this.setValue(newVal,{sync:true,send:true}) + }, {element: this.widget[0]}) + + this.on('dragend',()=>{ + this.active = false + }, {element: this.widget[0]}) } @@ -73,31 +79,16 @@ module.exports = class Toggle extends _widgets_base { } - fakeclick() { - - var newVal = this.widget.state?this.getProp('off'):this.getProp('on') - this.setValue(newVal,{sync:true,send:true}) - this.widget.on('dragend.toggle',()=>{ - this.widget.off('dragend.toggle') - this.widget.on('draginit.toggle',()=>{ - this.widget.off('draginit.toggle') - this.fakeclick() - }) - }) - - } - - setValue(v,options={}) { if (v===this.getProp('on') || (this.getProp('on') != null && v.value === this.getProp('on').value && v.value !== undefined)) { this.classHolders.addClass('on') - this.widget.state = 1 + this.state = 1 this.value = this.getProp('on') if (options.send) this.sendValue() } else if (v===this.getProp('off') || (this.getProp('off') != null && v.value === this.getProp('off').value && v.value !== undefined)) { this.classHolders.removeClass('on') - this.widget.state = 0 + this.state = 0 this.value = this.getProp('off') if (options.send) this.sendValue() } diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index d6fea8e5..24205c3c 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -1,4 +1,4 @@ -var EventEmitter = require('../../event-emitter'), +var EventEmitter = require('../../events/event-emitter'), osc = require('../../osc'), shortid = require('shortid'), widgetManager = require('../../managers/widgets'), diff --git a/src/browser/js/app/widgets/mixins/double_tap.js b/src/browser/js/app/widgets/mixins/double_tap.js index 08b4a962..09261a9e 100644 --- a/src/browser/js/app/widgets/mixins/double_tap.js +++ b/src/browser/js/app/widgets/mixins/double_tap.js @@ -5,16 +5,18 @@ module.exports = (element, callback)=>{ lastTapY, touchId - element.on('fake-click',(e, d)=>{ + element[0].addEventListener('fake-click', (event)=>{ + + var tapTime = new Date().getTime(), + tapLength = tapTime - lastTapTime, + eventData = event.detail - var tapTime = new Date().getTime() - var tapLength = tapTime - lastTapTime if ( - - tapLength < DOUBLE_TAP_TIME && touchId == d.identifier && - Math.abs(lastTapX - d.pageX) < 20 && - Math.abs(lastTapY - d.pageY) < 20 + + tapLength < DOUBLE_TAP_TIME && touchId == eventData.pointerId && + Math.abs(lastTapX - eventData.pageX) < 20 && + Math.abs(lastTapY - eventData.pageY) < 20 ) { @@ -24,9 +26,9 @@ module.exports = (element, callback)=>{ } else { lastTapTime = tapTime - touchId = d.identifier - lastTapX = d.pageX - lastTapY = d.pageY + touchId = eventData.pointerId + lastTapX = eventData.pageX + lastTapY = eventData.pageY } diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js index 3ce90bba..2aaeac6e 100644 --- a/src/browser/js/app/widgets/pads/multixy.js +++ b/src/browser/js/app/widgets/pads/multixy.js @@ -75,9 +75,6 @@ module.exports = class MultiXy extends _pads_base { })() : false - this.handles = [] - this.handlesPositions = [] - this.handlesToPads = [] this.pads = [] @@ -99,57 +96,66 @@ module.exports = class MultiXy extends _pads_base { this.pads[i].sendValue = ()=>{} this.wrapper.append(this.pads[i].widget) - this.handles[i] = $(`
    `) - - this.wrapper.append(this.handles[i]) - } this.value = [] - this.handles.forEach((handle, index)=>{ + this.padsCoords = [] + this.touchMap = {} - handle.on('draginit',(e, data, traversing)=>{ + this.on('draginit',(e)=>{ - if (!traversing) { - handle.addClass('active') - } + var id - var id, ndiff, diff = -1 + if (!this.touchMap[e.pointerId]) { + + var ndiff, diff = -1 + + for (var i in this.pads) { + + if (Object.values(this.touchMap).indexOf(i) != -1) continue + + ndiff = Math.abs(e.offsetX - this.padsCoords[i][0]) + Math.abs(e.offsetY - (this.padsCoords[i][1] + this.height)) - for (var i in this.handles) { - if (this.handlesToPads.indexOf(i) != -1) continue - ndiff = Math.abs(data.offsetX - this.handlesPositions[i][0]) + Math.abs(data.offsetY - (this.handlesPositions[i][1] + this.height)) if (diff == -1 || ndiff < diff) { id = i diff = ndiff } + } - this.handlesToPads[index] = id + this.touchMap[e.pointerId] = id - if (this.pads[id]) this.pads[id].wrapper.trigger(e.type, [data, traversing]) - }) + } else if (e.traversing) { - handle.on('drag',(e, data, traversing)=>{ + id = this.touchMap[e.pointerId] - var id = this.handlesToPads[index] - if (this.pads[id]) this.pads[id].wrapper.trigger(e.type, [data, traversing]) + } - }) + if (!id) return - handle.on('dragend',(e, data, traversing)=>{ + this.pads[id].trigger('draginit', [e]) - var id = this.handlesToPads[index] - if (this.pads[id]) this.pads[id].wrapper.trigger(e.type, [data, traversing]) - handle.removeClass('active') - this.handlesToPads[index] = false + }, {element: this.wrapper[0], multitouch: true}) + + this.on('drag',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.pads[i].trigger('drag', [e]) + + }, {element: this.wrapper[0], multitouch: true}) + + this.on('dragend',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.pads[i].trigger('dragend', [e]) + delete this.touchMap[e.pointerId] + + }, {element: this.wrapper[0], multitouch: true}) - }) - }) this.on('change',(e)=>{ if (e.widget == this) return @@ -178,7 +184,7 @@ module.exports = class MultiXy extends _pads_base { for (var i=0;i{ - this.faders.x.draginitHandleProxy(e, data, traversing) - this.faders.y.draginitHandleProxy(e, data, traversing) + this.on('draginit',(e)=>{ + this.faders.x.trigger('draginit', [e]) + this.faders.y.trigger('draginit', [e]) this.dragHandle() - }) - this.wrapper.on('drag',(e, data, traversing)=>{ - this.faders.x.dragHandleProxy(e, data, traversing) - this.faders.y.dragHandleProxy(e, data, traversing) - this.dragHandle() - }) + }, {element: this.wrapper[0]}) - if (this.getProp('spring')) { - this.wrapper.on('dragend', ()=>{ + this.on('drag',(e)=>{ + this.faders.x.trigger('drag', [e]) + this.faders.y.trigger('drag', [e]) + this.dragHandle() + }, {element: this.wrapper[0]}) + + this.on('dragend', (e)=>{ + this.faders.x.trigger('dragend', [e]) + this.faders.y.trigger('dragend', [e]) + if (this.getProp('spring')) { this.setValue([this.faders.x.springValue,this.faders.y.springValue],{sync:true,send:true,fromLocal:true}) - }) - } + } + }, {element: this.wrapper[0]}) if (this.getProp('doubleTap')) { doubletab(this.wrapper, ()=>{ diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js index f249464c..73623461 100644 --- a/src/browser/js/app/widgets/sliders/_sliders_base.js +++ b/src/browser/js/app/widgets/sliders/_sliders_base.js @@ -63,9 +63,10 @@ module.exports = class _sliders_base extends _canvas_base { touchstate(this, this.wrapper) this.wrapper.on('mousewheel',this.mousewheelHandleProxy.bind(this)) - this.wrapper.on('draginit',this.draginitHandleProxy.bind(this)) - this.wrapper.on('drag',this.dragHandleProxy.bind(this)) - this.wrapper.on('dragend',this.dragendHandleProxy.bind(this)) + + this.on('draginit', this.draginitHandleProxy.bind(this), {element:this.wrapper[0]}) + this.on('drag', this.dragHandleProxy.bind(this), {element:this.wrapper[0]}) + this.on('dragend', this.dragendHandleProxy.bind(this), {element:this.wrapper[0]}) if (this.getProp('input')) { diff --git a/src/browser/js/app/widgets/sliders/encoder.js b/src/browser/js/app/widgets/sliders/encoder.js index a27c8a78..bd6966f7 100644 --- a/src/browser/js/app/widgets/sliders/encoder.js +++ b/src/browser/js/app/widgets/sliders/encoder.js @@ -6,18 +6,18 @@ var {clip, mapToScale} = require('../utils'), var EncoderKnob = class extends Knob { - draginitHandle(e, data, traversing) { + draginitHandle(e) { this.percent = clip(this.percent,[0,100]) - this.lastOffsetX = data.offsetX - this.lastOffsetY = data.offsetY + this.lastOffsetX = e.offsetX + this.lastOffsetY = e.offsetY - if (!(traversing || this.getProp('snap'))) return + if (!(e.traversing || this.getProp('snap'))) return - this.percent = this.angleToPercent(this.coordsToAngle(data.offsetX, data.offsetY)) + this.percent = this.angleToPercent(this.coordsToAngle(e.offsetX, e.offsetY)) - this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true, draginit:true}) + this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true, draginit:!e.traversing}) } mousewheelHandle(){} @@ -87,7 +87,7 @@ module.exports = class Encoder extends _widgets_base { snap:true, range:{min:0,max:this.ticks}, pips:false, - }}) + }, parent: this}) this.knob.noDraw = true @@ -97,7 +97,7 @@ module.exports = class Encoder extends _widgets_base { range:{min:0,max:this.ticks}, origin:this.ticks/2, pips:false, - }}) + }, parent: this}) this.wrapper.append(this.knob.widget.addClass('drag-knob')) this.wrapper.append(this.display.widget.addClass('display-knob')) @@ -133,7 +133,7 @@ module.exports = class Encoder extends _widgets_base { }) - this.wrapper.on('draginit', (e)=>{ + this.knob.on('draginit', (e)=>{ if (this.getProp('touchAddress') && this.getProp('touchAddress').length && e.target == this.wrapper[0]) this.sendValue({ @@ -142,25 +142,28 @@ module.exports = class Encoder extends _widgets_base { }) }) - this.wrapper.on('dragend', (e)=>{ + this.knob.on('dragend', (e)=>{ if (this.getProp('release') !== '' && this.value !== this.getProp('release')) { this.knob.setValue(this.ticks/2) this.display.setValue(this.ticks/2) this.setValue(this.getProp('release'), {sync:true, send:true, dragged:false}) } - if (this.getProp('touchAddress') && this.getProp('touchAddress').length - && e.target == this.wrapper[0]) + if ( + this.getProp('touchAddress') && this.getProp('touchAddress').length + && e.target == this.wrapper[0] + ) { this.sendValue({ address:this.getProp('touchAddress'), v:0 }) + } }) if (this.getProp('doubleTap')) { doubletab(this.wrapper, ()=>{ - this.knob.setValue(this.ticks/2) - this.display.setValue(this.ticks/2) + this.knob.setValue(this.ticks/2) + this.display.setValue(this.ticks/2) if (this.getProp('release') !== '' && this.value !== this.getProp('release')) { this.setValue(this.getProp('release'), {sync:true, send:true, dragged:false}) } diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js index 34b17afd..7b8b29da 100644 --- a/src/browser/js/app/widgets/sliders/fader.js +++ b/src/browser/js/app/widgets/sliders/fader.js @@ -125,17 +125,17 @@ module.exports = class Fader extends _sliders_base { } - draginitHandle(e, data, traversing) { + draginitHandle(e) { super.draginitHandle(...arguments) this.percent = clip(this.percent,[0,100]) - if (!(traversing || this.getProp('snap')) || data.ctrlKey) return + if (!(e.traversing || this.getProp('snap')) || e.ctrlKey) return this.percent = this.getProp('horizontal')? - (data.offsetX - this.margin * PXSCALE) / (this.width - (this.margin * PXSCALE * 2)) * 100: - (this.height - data.offsetY - this.margin * PXSCALE) / (this.height - (this.margin * PXSCALE * 2)) * 100 + (e.offsetX - this.margin * PXSCALE) / (this.width - (this.margin * PXSCALE * 2)) * 100: + (this.height - e.offsetY - this.margin * PXSCALE) / (this.height - (this.margin * PXSCALE * 2)) * 100 // this.percent = clip(this.percent,[0,100]) @@ -148,8 +148,8 @@ module.exports = class Fader extends _sliders_base { super.dragHandle(...arguments) this.percent = this.getProp('horizontal')? - this.percent + ( data.speedX/(this.width - this.margin * PXSCALE * 2)) * 100: - this.percent + (-data.speedY/(this.height - this.margin * PXSCALE * 2)) * 100 + this.percent + ( e.movementX/(this.width - this.margin * PXSCALE * 2)) * 100 / e.inertia: + this.percent + (-e.movementY/(this.height - this.margin * PXSCALE * 2)) * 100 / e.inertia this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true}) diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js index 418fd07b..fb0b5c45 100644 --- a/src/browser/js/app/widgets/sliders/knob.js +++ b/src/browser/js/app/widgets/sliders/knob.js @@ -69,31 +69,31 @@ module.exports = class Knob extends _sliders_base { } - draginitHandle(e, data, traversing) { + draginitHandle(e) { this.percent = clip(this.percent,[0,100]) - this.lastOffsetX = data.offsetX - this.lastOffsetY = data.offsetY + this.lastOffsetX = e.offsetX + this.lastOffsetY = e.offsetY - if (!(traversing || this.getProp('snap')) || data.ctrlKey) return + if (!(e.traversing || this.getProp('snap')) || e.ctrlKey) return - this.percent = this.angleToPercent(this.coordsToAngle(data.offsetX, data.offsetY)) + this.percent = this.angleToPercent(this.coordsToAngle(e.offsetX, e.offsetY)) this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true}) } - dragHandle(e, data, traversing) { + dragHandle(e) { - if (!(traversing || this.getProp('snap')) || data.ctrlKey) { + if (!(e.traversing || this.getProp('snap')) || e.ctrlKey) { - this.percent = -100*data.speedY/this.height + this.percent + this.percent = -100 * (e.movementY / e.inertia) / this.height + this.percent } else { - this.lastOffsetX = this.lastOffsetX + data.speedX - this.lastOffsetY = this.lastOffsetY + data.speedY + this.lastOffsetX = this.lastOffsetX + e.movementX / e.inertia + this.lastOffsetY = this.lastOffsetY + e.movementY / e.inertia this.percent = this.angleToPercent(this.coordsToAngle(this.lastOffsetX, this.lastOffsetY)) } diff --git a/src/browser/js/app/widgets/sliders/range.js b/src/browser/js/app/widgets/sliders/range.js index 43b94588..e682df43 100644 --- a/src/browser/js/app/widgets/sliders/range.js +++ b/src/browser/js/app/widgets/sliders/range.js @@ -289,61 +289,63 @@ module.exports = class Range extends _widgets_base { }) - this.handles = [ - $(`
    `), - $(`
    `) - ] - this.wrapper.append(this.handles) + this.touchMap = {} - this.handlesToFaders = [] + this.on('draginit',(e)=>{ - this.handles.forEach((handle, index)=>{ + var id - handle.on('draginit',(e, data, traversing)=>{ + if (!this.touchMap[e.pointerId]) { - if (!traversing) { - handle.addClass('active') - } + var ndiff, diff = -1 - var id, ndiff, diff = -1 + for (var i in this.faders) { - for (var i in this.handles) { - if (this.handlesToFaders.indexOf(i) != -1) continue + if (Object.values(this.touchMap).indexOf(i) != -1) continue var coord = this.faders[i].percentToCoord(this.faders[i].valueToPercent(this.faders[i].value)) - (this.getProp('horizontal') ? -1 : 1) * (i == 0 ? -20 : 20) ndiff = this.getProp('horizontal')? - Math.abs(data.offsetX - coord) : - Math.abs(data.offsetY - coord) + Math.abs(e.offsetX - coord) : + Math.abs(e.offsetY - coord) + if (diff == -1 || ndiff < diff) { id = i diff = ndiff } + } - this.handlesToFaders[index] = id + this.touchMap[e.pointerId] = id - if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) - }) + } else if (e.traversing) { - handle.on('drag',(e, data, traversing)=>{ + id = this.touchMap[e.pointerId] - var id = this.handlesToFaders[index] - if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) + } - }) + if (!id) return - handle.on('dragend',(e, data, traversing)=>{ + this.faders[id].trigger('draginit', [e]) - var id = this.handlesToFaders[index] - if (this.faders[id]) this.faders[id].wrapper.trigger(e.type, [data, traversing]) - handle.removeClass('active') - this.handlesToFaders[index] = false + }, {element: this.wrapper[0], multitouch: true}) - }) + this.on('drag',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.faders[i].trigger('drag', [e]) + + }, {element: this.wrapper[0], multitouch: true}) + + this.on('dragend',(e)=>{ + + var i = this.touchMap[e.pointerId] + this.faders[i].trigger('dragend', [e]) + delete this.touchMap[e.pointerId] + + }, {element: this.wrapper[0], multitouch: true}) - }) if (this.getProp('input')) { diff --git a/src/browser/js/libs/jquery.drag.js b/src/browser/js/libs/jquery.drag.js deleted file mode 100644 index 1d8f3fd8..00000000 --- a/src/browser/js/libs/jquery.drag.js +++ /dev/null @@ -1,396 +0,0 @@ -// jQuery drag event handler -// note: triggerHandler() is used instead of trigger() when event bubblig is not -// necessary, this increases performances a lot. -;(function($){ - var events = { - touch:{start:'touchstart',stop:'touchend touchcancel',move:'touchmove',touch:true}, - mouse:{start:'mousedown',stop:'mouseup',move:'mousemove',out:'mouseout',touch:false} - }, - - - $document = $(document), - getOffset = function(obj) { - var offsetLeft = 0 - var offsetTop = 0 - if (obj) { - do { - if (!isNaN(obj.offsetLeft)) { - offsetLeft += obj.offsetLeft - obj.scrollLeft - } - if (!isNaN(obj.offsetTop)) { - offsetTop += obj.offsetTop - obj.scrollTop - } - } while(obj = obj.offsetParent ) - } - - return {left: offsetLeft, top: offsetTop} - } - - - $.event.special.draginit = $.event.special.drag = { - setup:function(){ - - var $this = $(this) - - if ($this.data('dragSetup') == 'true') return - $this.data('dragSetup','true') - - - // mouse single touch handler - var previousEvent = null, - target = null, - traversing = false, - mouseStartHandler = function(e){ - - // ignore mouse event when fired by a simulated touch event - if ((e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) || e.button == 2) return - - target = $this - previousEvent = e - - e.speedX = 0 - e.speedY = 0 - e.deltaX = 0 - e.deltaY = 0 - - target.triggerHandler('draginit',[e,e.originalEvent.traversing]) - - $document.on(events.mouse.move,mouseMoveHandler) - $document.on(events.mouse.stop,mouseStopHandler) - $document.on(events.mouse.out,mouseOutHandler) - - }, - mouseMoveHandler = function(e){ - e.stopPropagation() - - e.speedX = (e.pageX - previousEvent.pageX) / (e.ctrlKey ? 8 : 1) - e.speedY = (e.pageY - previousEvent.pageY) / (e.ctrlKey ? 8 : 1) - e.deltaX = e.speedX + previousEvent.deltaX - e.deltaY = e.speedY + previousEvent.deltaY - - - if (e.originalEvent.traversing) { - target = $(e.target) - e.preventDefault() - target.triggerHandler('draginit',[e,e.originalEvent.traversing]) - } else { - target.triggerHandler('drag',[e,e.originalEvent.traversing]) - } - - previousEvent = e - }, - mouseStopHandler = function(e){ - e.stopPropagation() - - // ignore mouse event when fired by a simulated touch event - if (e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) return - - e.speedX = e.pageX - previousEvent.pageX - e.speedY = e.pageY - previousEvent.pageY - e.deltaX = e.deltaX + previousEvent.deltaX - e.deltaY = e.deltaY + previousEvent.deltaY - - - target.trigger('dragend',[e,e.originalEvent.traversing]) - - $document.off(events.mouse.move,mouseMoveHandler) - $document.off(events.mouse.stop,mouseStopHandler) - $document.off(events.mouse.out,mouseOutHandler) - }, - mouseOutHandler = function(e){ - if (e.originalEvent.traversing) { - e.stopPropagation() - - e.speedX = e.pageX - previousEvent.pageX - e.speedY = e.pageY - previousEvent.pageY - e.deltaX = e.deltaX + previousEvent.deltaX - e.deltaY = e.deltaY + previousEvent.deltaY - - target.trigger('dragend',[e,e.originalEvent.traversing]) - - previousEvent = e - - } - } - - - $this.on(events.mouse.start + '.drag-osc',mouseStartHandler) - - - // multi touch hanlder - window.targets = window.targets || {} - window.previousTouches = window.previousTouches || {} - window.touchActive = window.touchActive || false - - var self = this, - touchStartHandler = function(e){ - e.preventDefault() - - var oE = e.originalEvent - - for (let i in oE.changedTouches) { - if (isNaN(i) || !oE.changedTouches[i]) continue - - var touch = oE.changedTouches[i], - id = touch.identifier, - emit = true - - for (let j in targets) { - if (targets[j][0].isSameNode(touch.target)) { - emit = false - break - } - } - - targets[id] = $(touch.target) - previousTouches[id] = { - deltaX:touch.deltaX, - deltaY:touch.deltaY, - offsetX:touch.offsetX, - offsetY:touch.offsetY, - speedX:touch.speedX, - speedY:touch.speedY, - pageX:touch.pageX, - pageY:touch.pageY, - clientX:touch.clientX, - clientY:touch.clientY - } - - touch.speedX = 0 - touch.speedY = 0 - - touch.deltaX = 0 - touch.deltaY = 0 - - var off = getOffset(touch.target) - touch.offsetX = touch.pageX-off.left - touch.offsetY = touch.pageY-off.top - - - if (emit) targets[id].triggerHandler('draginit',[touch,e.originalEvent.traversing]) - - } - - if (!touchActive) { - $document.on(events.touch.move,touchMoveHandler) - $document.on(events.touch.stop,touchStopHandler) - touchActive = true - } - - }, - touchMoveHandler = function(e){ - - var oE = e.originalEvent - - for (let i in oE.changedTouches) { - if (isNaN(i) || !oE.changedTouches[i]) continue - - var nFingers = 0 - for (let j in oE.touches) { - if (oE.touches[j].target && oE.touches[j].target.isSameNode(oE.changedTouches[i].target)) { - nFingers += 1 - } - } - - var touch = oE.changedTouches[i], - id = touch.identifier, - speedFactor = nFingers * nFingers - - if (e.originalEvent.traversing) { - targets[id] = $(document.elementFromPoint(touch.clientX, touch.clientY)) - } - - if (!targets[id]) continue - - touch.speedX = (touch.pageX - previousTouches[id].pageX) / speedFactor - touch.speedY = (touch.pageY - previousTouches[id].pageY) / speedFactor - - touch.deltaX = touch.speedX + previousTouches[id].deltaX - touch.deltaY = touch.speedY + previousTouches[id].deltaY - - touch.offsetX = previousTouches[id].offsetX+touch.speedX - touch.offsetY = previousTouches[id].offsetY+touch.speedY - - if (e.originalEvent.traversing) { - touch.traversing = true - var previousTarget = document.elementFromPoint(previousTouches[id].clientX, previousTouches[id].clientY) - if (targets[id][0]!=previousTarget) { - var off = getOffset(targets[id][0]) - touch.offsetX = touch.pageX-off.left - touch.offsetY = touch.pageY-off.top - $(previousTarget).trigger('dragend',[touch,e.originalEvent.traversing]) - } - e.preventDefault() - if (oE.traversingContainer.contains(targets[id][0])) targets[id].triggerHandler('draginit',[touch,e.originalEvent.traversing]) - - } else { - - targets[id].triggerHandler('drag',[touch,e.originalEvent.traversing]) - - } - - previousTouches[id] = { - deltaX:touch.deltaX, - deltaY:touch.deltaY, - offsetX:touch.offsetX, - offsetY:touch.offsetY, - speedX:touch.speedX, - speedY:touch.speedY, - pageX:touch.pageX, - pageY:touch.pageY, - clientX:touch.clientX, - clientY:touch.clientY - } - - } - - }, - touchStopHandler = function(e){ - - var oE = e.originalEvent - - for (let i in oE.changedTouches) { - - if (isNaN(i) || !oE.changedTouches[i]) continue - - var touch = oE.changedTouches[i], - id = touch.identifier - - $(targets[id]).trigger('dragend',[touch,e.originalEvent.traversing]) - - delete previousTouches[id] - delete targets[id] - - } - - if (oE.touches.length==0) { - $document.off(events.touch.move,touchMoveHandler) - $document.off(events.touch.stop,touchStopHandler) - touchActive = false - } - - } - - $this.on(events.touch.start + '.drag-osc',touchStartHandler) - - - }, - teardown: function(){ - var $this = $(this) - $this.off(events.touch.start + '.drag-osc') - $this.off(events.mouse.start + '.drag-osc') - $this.data('dragSetup','false') - } - - } - - - - - - - - - var makeEventTraversing = function(e){ - e.traversing=true - if (!e.traversingContainer) e.traversingContainer=this - } - - - $.fn.enableTraversingGestures = function(options={}) { - - var self = this[0] - - var down = function(e){ - if (e.ctrlKey && options.ctrlKeyCancel) return - makeEventTraversing(e) - self.addEventListener("mousemove", makeEventTraversing, true) - self.addEventListener("touchmove", makeEventTraversing, true) - self.addEventListener("mouseout", makeEventTraversing, true) - document.addEventListener("mouseup",up,true) - document.addEventListener("touchend",up,true) - }, - up = function(e){ - makeEventTraversing(e) - self.removeEventListener("mousemove", makeEventTraversing, true) - self.removeEventListener("touchmove", makeEventTraversing, true) - self.removeEventListener("mouseout", makeEventTraversing, true) - document.removeEventListener("mouseup",up,true) - document.removeEventListener("touchend",up,true) - } - - self.addEventListener("mousedown", down, true) - self.addEventListener("touchstart", down, true) - - this.on('draginit.traversing',()=>{}) - - this.on('disableTraversingGestures',()=>{ - this.off('draginit.traversing') - self.removeEventListener("mousedown", down, true) - self.removeEventListener("touchstart", down, true) - }) - - - return this - - } - - $.fn.disableTraversingGestures = function() { - - this.trigger('disableTraversingGestures') - - } - - - var longTapTimer = false, - clearLongTapTimer = function() { - clearTimeout(longTapTimer) - longTapTimer = false - } - - $document.on('mousedown',function(e){ - - if (e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) return - - - if (e.button==2) { - - e.preventDefault() - $(e.target).trigger('fake-right-click', e) - - } else { - - $(e.target).trigger('fake-click', e) - - } - - }) - - $document.on(events.touch.start,function(e){ - var touch = e.originalEvent.changedTouches[0] - - $(e.target).trigger('fake-click', touch) - - if (!longTapTimer&&e.originalEvent.touches.length==1) { - longTapTimer = setTimeout(function(){ - if (longTapTimer) { - var off = getOffset(touch.target) - - touch.offsetX = touch.pageX-off.left - touch.offsetY = touch.pageY-off.top - $(e.originalEvent.changedTouches[0].target).trigger('fake-right-click',touch) - } - longTapTimer = false - },600) - } else { - clearLongTapTimer() - } - }) - - $document.on(events.touch.stop + ' ' + events.touch.move,function(e){ - clearLongTapTimer() - }) - - $document.on('contextmenu',function(){return false}) - -})($) diff --git a/src/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss index 9f2e0480..082ee1f5 100644 --- a/src/browser/scss/widgets/_fader.scss +++ b/src/browser/scss/widgets/_fader.scss @@ -401,23 +401,13 @@ display: flex; justify-content: center; border-radius: inherit; - .handle { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom:0; - z-index: 1; - &.active { - pointer-events: none; - } - } .fader { position: absolute; top:0; left:0; right:0; bottom:0; + pointer-events: none; .wrapper { // border: 0; } diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss index 220b2944..d3021b34 100644 --- a/src/browser/scss/widgets/_pads.scss +++ b/src/browser/scss/widgets/_pads.scss @@ -157,17 +157,7 @@ top:0; left:0; } - .handle { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom:0; - z-index: 1; - &.active { - pointer-events: none; - } - } + > .pad { pointer-events: none; position: absolute; From 9c41192ce4255feb420b25005e6780b70ee95fd3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 23:40:17 +0100 Subject: [PATCH 0249/5759] events: fake-click without jquery --- src/browser/js/app/events/click.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js index 1fbe2cc9..980b0369 100644 --- a/src/browser/js/app/events/click.js +++ b/src/browser/js/app/events/click.js @@ -26,7 +26,7 @@ document.addEventListener('mousedown', (event)=>{ document.addEventListener('touchstart', (event)=>{ - var e = fix(event) + var e = fix(event.changedTouches[0]) DOM.dispatchEvent(e.target, 'fake-click', e) From 9d919c7ea780fd8191f9b0dac80c4c65ad9e49c6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 14 Jan 2018 23:40:17 +0100 Subject: [PATCH 0250/5759] events: fake-click without jquery --- src/browser/js/app/events/click.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js index 1fbe2cc9..980b0369 100644 --- a/src/browser/js/app/events/click.js +++ b/src/browser/js/app/events/click.js @@ -26,7 +26,7 @@ document.addEventListener('mousedown', (event)=>{ document.addEventListener('touchstart', (event)=>{ - var e = fix(event) + var e = fix(event.changedTouches[0]) DOM.dispatchEvent(e.target, 'fake-click', e) From cac3f7d16b169abb5aba2f3a575a55a602ead143 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 13:40:31 +0100 Subject: [PATCH 0251/5759] font: wrong font name for FontAwesome 5 --- app/browser/fonts/fa-solid.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/browser/fonts/fa-solid.css b/app/browser/fonts/fa-solid.css index 16146e83..c6208d0b 100644 --- a/app/browser/fonts/fa-solid.css +++ b/app/browser/fonts/fa-solid.css @@ -3,12 +3,12 @@ * License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) */ @font-face { - font-family: 'Font Awesome 5 Free'; + font-family: FontAwesome; font-style: normal; font-weight: 900; src: url("./fa-solid-900.woff") format("woff")} .fa, .fas { - font-family: 'Font Awesome 5 Free'; + font-family: FontAwesome; font-weight: 900; } From e5cfbbc91c08af8525e775c9dcf83b6cfcd3cd42 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 13:40:31 +0100 Subject: [PATCH 0252/5759] font: wrong font name for FontAwesome 5 --- app/browser/fonts/fa-solid.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/browser/fonts/fa-solid.css b/app/browser/fonts/fa-solid.css index 16146e83..c6208d0b 100644 --- a/app/browser/fonts/fa-solid.css +++ b/app/browser/fonts/fa-solid.css @@ -3,12 +3,12 @@ * License - http://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) */ @font-face { - font-family: 'Font Awesome 5 Free'; + font-family: FontAwesome; font-style: normal; font-weight: 900; src: url("./fa-solid-900.woff") format("woff")} .fa, .fas { - font-family: 'Font Awesome 5 Free'; + font-family: FontAwesome; font-weight: 900; } From 62b32cdd8ab579be2a714dec655bcbe5b8d1a71b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 13:58:14 +0100 Subject: [PATCH 0253/5759] events; drag: listen for touchcancel too --- src/browser/js/app/events/click.js | 2 +- src/browser/js/app/events/drag.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js index 980b0369..35f65267 100644 --- a/src/browser/js/app/events/click.js +++ b/src/browser/js/app/events/click.js @@ -46,4 +46,4 @@ document.addEventListener('touchstart', (event)=>{ }) -DOM.addEventListener(document, 'touchend touchmove', clearLongTouchTimer) +DOM.addEventListener(document, 'touchend touchmove touchcancel', clearLongTouchTimer) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index 180e0e3f..91b88bef 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -168,7 +168,7 @@ document.addEventListener('touchmove', (event)=>{ } }, true) -document.addEventListener('touchend', (event)=>{ +DOM.addEventListener(document, 'touchend touchcancel', (event)=>{ for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue var touchEvent = event.changedTouches[i] From 6283726360398a62fbc0b10b7426ce25fab95c16 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 13:58:14 +0100 Subject: [PATCH 0254/5759] events; drag: listen for touchcancel too --- src/browser/js/app/events/click.js | 2 +- src/browser/js/app/events/drag.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js index 980b0369..35f65267 100644 --- a/src/browser/js/app/events/click.js +++ b/src/browser/js/app/events/click.js @@ -46,4 +46,4 @@ document.addEventListener('touchstart', (event)=>{ }) -DOM.addEventListener(document, 'touchend touchmove', clearLongTouchTimer) +DOM.addEventListener(document, 'touchend touchmove touchcancel', clearLongTouchTimer) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index 180e0e3f..91b88bef 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -168,7 +168,7 @@ document.addEventListener('touchmove', (event)=>{ } }, true) -document.addEventListener('touchend', (event)=>{ +DOM.addEventListener(document, 'touchend touchcancel', (event)=>{ for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue var touchEvent = event.changedTouches[i] From 3c0c92d0d003cbdfaed4d64186ab7b85b60dba0d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:23:57 +0100 Subject: [PATCH 0255/5759] build: wrap transform to ignore big minified files -> saves space, memory & build time --- scripts/build-js.js | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/scripts/build-js.js b/scripts/build-js.js index 159f5f8f..4e23aee5 100644 --- a/scripts/build-js.js +++ b/scripts/build-js.js @@ -1,5 +1,8 @@ var browserify = require('browserify'), - licensify = require('licensify'), + uglifyify = require('uglifyify'), + through = require('through'), + minimatch = require('minimatch').Minimatch, + licensify = require('licensify'), exorcist = require('exorcist'), path = require('path'), babelify = require('babelify'), @@ -7,16 +10,32 @@ var browserify = require('browserify'), fast = process.argv.indexOf('--fast') != -1, b +var ignoreList = ['**/mathjs/dist/math.min.js', '**/jquery.ui.js', '**/socket.io.slim.js'], + ignoreWrapper = function(transform){ + return function(file, opts){ + if ( + ignoreList.some(function(pattern) { + var match = minimatch(pattern) + return match.match(file) + }) + ) { + return through() + } else { + return transform(file, opts) + } + } + } if (prod) console.warn('\x1b[36m%s\x1b[0m', 'Building minified js bundle for production... This may take a while... '); -b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast}) +b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast, noParse: ignoreList}) + +b = b.transform(ignoreWrapper(babelify), {presets: ["env"]}) + +if (prod) b = b.transform(ignoreWrapper(uglifyify), {global: true}) b.plugin(licensify) -b = b.transform(babelify, {presets: ["env"]}) - -if (prod) b = b.transform('uglifyify', {global: true}) b = b.bundle() From 43fd389e40375ab2bbec1751d2fd7500f954fbe6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:23:57 +0100 Subject: [PATCH 0256/5759] build: wrap transform to ignore big minified files -> saves space, memory & build time --- scripts/build-js.js | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/scripts/build-js.js b/scripts/build-js.js index 159f5f8f..4e23aee5 100644 --- a/scripts/build-js.js +++ b/scripts/build-js.js @@ -1,5 +1,8 @@ var browserify = require('browserify'), - licensify = require('licensify'), + uglifyify = require('uglifyify'), + through = require('through'), + minimatch = require('minimatch').Minimatch, + licensify = require('licensify'), exorcist = require('exorcist'), path = require('path'), babelify = require('babelify'), @@ -7,16 +10,32 @@ var browserify = require('browserify'), fast = process.argv.indexOf('--fast') != -1, b +var ignoreList = ['**/mathjs/dist/math.min.js', '**/jquery.ui.js', '**/socket.io.slim.js'], + ignoreWrapper = function(transform){ + return function(file, opts){ + if ( + ignoreList.some(function(pattern) { + var match = minimatch(pattern) + return match.match(file) + }) + ) { + return through() + } else { + return transform(file, opts) + } + } + } if (prod) console.warn('\x1b[36m%s\x1b[0m', 'Building minified js bundle for production... This may take a while... '); -b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast}) +b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast, noParse: ignoreList}) + +b = b.transform(ignoreWrapper(babelify), {presets: ["env"]}) + +if (prod) b = b.transform(ignoreWrapper(uglifyify), {global: true}) b.plugin(licensify) -b = b.transform(babelify, {presets: ["env"]}) - -if (prod) b = b.transform('uglifyify', {global: true}) b = b.bundle() From 1cb0c29c3d8ff694d9e66b42a52146e5cb09ad2b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:32:29 +0100 Subject: [PATCH 0257/5759] build: make --fast faster --- scripts/build-js.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-js.js b/scripts/build-js.js index 4e23aee5..9fa78e4f 100644 --- a/scripts/build-js.js +++ b/scripts/build-js.js @@ -13,7 +13,7 @@ var browserify = require('browserify'), var ignoreList = ['**/mathjs/dist/math.min.js', '**/jquery.ui.js', '**/socket.io.slim.js'], ignoreWrapper = function(transform){ return function(file, opts){ - if ( + if ( ignoreList.some(function(pattern) { var match = minimatch(pattern) return match.match(file) @@ -28,7 +28,7 @@ var ignoreList = ['**/mathjs/dist/math.min.js', '**/jquery.ui.js', '**/socket.io if (prod) console.warn('\x1b[36m%s\x1b[0m', 'Building minified js bundle for production... This may take a while... '); -b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast, noParse: ignoreList}) +b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast, insertGlobals:fast, noParse: ignoreList}) b = b.transform(ignoreWrapper(babelify), {presets: ["env"]}) From 949ba4a64590004f7f3698cc08a0c4b05c8c0841 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:32:29 +0100 Subject: [PATCH 0258/5759] build: make --fast faster --- scripts/build-js.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-js.js b/scripts/build-js.js index 4e23aee5..9fa78e4f 100644 --- a/scripts/build-js.js +++ b/scripts/build-js.js @@ -13,7 +13,7 @@ var browserify = require('browserify'), var ignoreList = ['**/mathjs/dist/math.min.js', '**/jquery.ui.js', '**/socket.io.slim.js'], ignoreWrapper = function(transform){ return function(file, opts){ - if ( + if ( ignoreList.some(function(pattern) { var match = minimatch(pattern) return match.match(file) @@ -28,7 +28,7 @@ var ignoreList = ['**/mathjs/dist/math.min.js', '**/jquery.ui.js', '**/socket.io if (prod) console.warn('\x1b[36m%s\x1b[0m', 'Building minified js bundle for production... This may take a while... '); -b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast, noParse: ignoreList}) +b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast, insertGlobals:fast, noParse: ignoreList}) b = b.transform(ignoreWrapper(babelify), {presets: ["env"]}) From 8e83ca6ce60c3c7614ff36848f7134cc90d98446 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:39:51 +0100 Subject: [PATCH 0259/5759] package: deps update --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c1e533a1..e7e79129 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", "babelify": "8.0.0", - "browserify": "15.1.0", + "browserify": "15.2.0", "cardinal-spline-js": "2.3.6", "electron": "~1.7.10", "electron-packager": "10.1.1", @@ -35,7 +35,7 @@ "keyboardjs": "^2.4.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.19.0", + "mathjs": "3.20.0", "node-sass": "4.7.2", "nodemon": "1.14.11", "nosleep.js": "0.7.0", From 911084c51319412dfd06c56f1f6e8ab133f00b65 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:39:51 +0100 Subject: [PATCH 0260/5759] package: deps update --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c1e533a1..e7e79129 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-preset-env": "*", "babelify": "8.0.0", - "browserify": "15.1.0", + "browserify": "15.2.0", "cardinal-spline-js": "2.3.6", "electron": "~1.7.10", "electron-packager": "10.1.1", @@ -35,7 +35,7 @@ "keyboardjs": "^2.4.1", "kiwi.js": "1.0.1", "licensify": "3.1.3", - "mathjs": "3.19.0", + "mathjs": "3.20.0", "node-sass": "4.7.2", "nodemon": "1.14.11", "nosleep.js": "0.7.0", From 7234b0c1461bd116f9e55a069faf20f45159f4f2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:40:33 +0100 Subject: [PATCH 0261/5759] mathjs: load min file --- src/browser/js/app/widgets/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index 1ca76976..8ed018a8 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -71,7 +71,7 @@ module.exports = { }, math: function(){ - var math = require('mathjs').create({ + var math = require('mathjs/dist/math.min.js').create({ matrix: 'Array' }) // set math's parser array index base to zero From b7a866634ccf7b1f868c0cc343ae885113043e56 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 21:40:33 +0100 Subject: [PATCH 0262/5759] mathjs: load min file --- src/browser/js/app/widgets/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js index 1ca76976..8ed018a8 100644 --- a/src/browser/js/app/widgets/utils.js +++ b/src/browser/js/app/widgets/utils.js @@ -71,7 +71,7 @@ module.exports = { }, math: function(){ - var math = require('mathjs').create({ + var math = require('mathjs/dist/math.min.js').create({ matrix: 'Array' }) // set math's parser array index base to zero From 5bccabbf09136b1511746385565f043ca983d30d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 23:09:07 +0100 Subject: [PATCH 0263/5759] log: some recent changes --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c19084b..5804e70f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,14 @@ - plots now send their value to other widget for synchronization as expected - text widgets now apply their target widget's precision - property inheritance accepts targetting a parent widget by its id + - icons in context menu and modal widget are displayed correctly - widgets - inputs: **new** `keys` widget, for keyboard bindings - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) - switch: added `showValues` to display both values and labels in the buttons +- misc + - event system rewritten + - js build size reduced ## 0.22.0 From 3757f9c1c4c840d7dc240ce95e2fd592a1ab01cc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jan 2018 23:09:07 +0100 Subject: [PATCH 0264/5759] log: some recent changes --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c19084b..5804e70f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,14 @@ - plots now send their value to other widget for synchronization as expected - text widgets now apply their target widget's precision - property inheritance accepts targetting a parent widget by its id + - icons in context menu and modal widget are displayed correctly - widgets - inputs: **new** `keys` widget, for keyboard bindings - property inheritance: new special property name `_value` (retrieve the widget's value, and update when it changes) - switch: added `showValues` to display both values and labels in the buttons +- misc + - event system rewritten + - js build size reduced ## 0.22.0 From 319f64f41ae45786ab3e48237b96952104b1187e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 10:11:11 +0100 Subject: [PATCH 0265/5759] events: make some touchstart listeners passive to remove chromium warnings --- src/browser/js/app/events/click.js | 5 +++-- src/browser/js/app/events/drag.js | 8 +++++--- src/browser/js/app/events/supports-passive.js | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 src/browser/js/app/events/supports-passive.js diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js index 35f65267..e73d2f78 100644 --- a/src/browser/js/app/events/click.js +++ b/src/browser/js/app/events/click.js @@ -1,4 +1,5 @@ -var {fix, getElementOffset} = require('./utils') +var {fix, getElementOffset} = require('./utils'), + supportsPassive = require('./supports-passive') var longTouchTimer = false, clearLongTouchTimer = function() { @@ -43,7 +44,7 @@ document.addEventListener('touchstart', (event)=>{ }, 600) -}) +}, supportsPassive ? { passive: true } : false) DOM.addEventListener(document, 'touchend touchmove touchcancel', clearLongTouchTimer) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index 91b88bef..4ae431d6 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -1,4 +1,6 @@ -const {fix, normalizeEvent, resetEventOffset} = require('./utils') +const {fix, normalizeEvent, resetEventOffset} = require('./utils'), + supportsPassive = require('./supports-passive') + var targets = {}, previousPointers = {} @@ -200,10 +202,10 @@ module.exports = { element.classList.add('drag-event') if (multitouch) { - element.addEventListener('touchstart', touchMultiWrapper) + element.addEventListener('touchstart', touchMultiWrapper, supportsPassive ? { passive: true } : false) element.addEventListener('mousedown', mouseMultiWrapper) } else { - element.addEventListener('touchstart', touchDownHandler) + element.addEventListener('touchstart', touchDownHandler, supportsPassive ? { passive: true } : false) element.addEventListener('mousedown', mouseDownHandler) } diff --git a/src/browser/js/app/events/supports-passive.js b/src/browser/js/app/events/supports-passive.js new file mode 100644 index 00000000..270feace --- /dev/null +++ b/src/browser/js/app/events/supports-passive.js @@ -0,0 +1,15 @@ +// https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md#feature-detection + +var supportsPassive = false; + +try { + var opts = Object.defineProperty({}, 'passive', { + get: function() { + supportsPassive = true; + } + }); + window.addEventListener("testPassive", null, opts); + window.removeEventListener("testPassive", null, opts); +} catch (e) {} + +module.exports = supportsPassive From 6fbf9f87a4d1fa320ccb0985b48a8fb77fec07ff Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 10:11:11 +0100 Subject: [PATCH 0266/5759] events: make some touchstart listeners passive to remove chromium warnings --- src/browser/js/app/events/click.js | 5 +++-- src/browser/js/app/events/drag.js | 8 +++++--- src/browser/js/app/events/supports-passive.js | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 src/browser/js/app/events/supports-passive.js diff --git a/src/browser/js/app/events/click.js b/src/browser/js/app/events/click.js index 35f65267..e73d2f78 100644 --- a/src/browser/js/app/events/click.js +++ b/src/browser/js/app/events/click.js @@ -1,4 +1,5 @@ -var {fix, getElementOffset} = require('./utils') +var {fix, getElementOffset} = require('./utils'), + supportsPassive = require('./supports-passive') var longTouchTimer = false, clearLongTouchTimer = function() { @@ -43,7 +44,7 @@ document.addEventListener('touchstart', (event)=>{ }, 600) -}) +}, supportsPassive ? { passive: true } : false) DOM.addEventListener(document, 'touchend touchmove touchcancel', clearLongTouchTimer) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index 91b88bef..4ae431d6 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -1,4 +1,6 @@ -const {fix, normalizeEvent, resetEventOffset} = require('./utils') +const {fix, normalizeEvent, resetEventOffset} = require('./utils'), + supportsPassive = require('./supports-passive') + var targets = {}, previousPointers = {} @@ -200,10 +202,10 @@ module.exports = { element.classList.add('drag-event') if (multitouch) { - element.addEventListener('touchstart', touchMultiWrapper) + element.addEventListener('touchstart', touchMultiWrapper, supportsPassive ? { passive: true } : false) element.addEventListener('mousedown', mouseMultiWrapper) } else { - element.addEventListener('touchstart', touchDownHandler) + element.addEventListener('touchstart', touchDownHandler, supportsPassive ? { passive: true } : false) element.addEventListener('mousedown', mouseDownHandler) } diff --git a/src/browser/js/app/events/supports-passive.js b/src/browser/js/app/events/supports-passive.js new file mode 100644 index 00000000..270feace --- /dev/null +++ b/src/browser/js/app/events/supports-passive.js @@ -0,0 +1,15 @@ +// https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md#feature-detection + +var supportsPassive = false; + +try { + var opts = Object.defineProperty({}, 'passive', { + get: function() { + supportsPassive = true; + } + }); + window.addEventListener("testPassive", null, opts); + window.removeEventListener("testPassive", null, opts); +} catch (e) {} + +module.exports = supportsPassive From 022efe11672d36112215193860fffa9f251f359a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 10:34:20 +0100 Subject: [PATCH 0267/5759] event: drag: add remove routine --- src/browser/js/app/events/drag.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index 4ae431d6..e8c85956 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -222,6 +222,18 @@ module.exports = { return } + element._widget = this + element.style.touchAction = '' + element.classList.remove('drag-event') + + if (multitouch) { + element.removeEventListener('touchstart', touchMultiWrapper) + element.removeEventListener('mousedown', mouseMultiWrapper) + } else { + element.removeEventListener('touchstart', touchDownHandler) + element.removeEventListener('mousedown', mouseDownHandler) + } + } } From f1febf53fb2f95caa057f91dc4c550884de2429b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 10:34:20 +0100 Subject: [PATCH 0268/5759] event: drag: add remove routine --- src/browser/js/app/events/drag.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index 4ae431d6..e8c85956 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -222,6 +222,18 @@ module.exports = { return } + element._widget = this + element.style.touchAction = '' + element.classList.remove('drag-event') + + if (multitouch) { + element.removeEventListener('touchstart', touchMultiWrapper) + element.removeEventListener('mousedown', mouseMultiWrapper) + } else { + element.removeEventListener('touchstart', touchDownHandler) + element.removeEventListener('mousedown', mouseDownHandler) + } + } } From cb82cfcf5f57169c38d2ecee7832a0f535230146 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 13:09:09 +0100 Subject: [PATCH 0269/5759] editor: fix "edit parent" context menu & clean --- src/browser/js/app/editor/init.js | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index bd2ad0a4..8a45de41 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -20,7 +20,6 @@ var handleClick = function(event) { if (!widget) return var container = widget.container, - parent = widget.parentNode, index = container.index(), data = widget.props, type = widget.props.type == 'tab' ? 'tab' : 'widget' @@ -44,19 +43,16 @@ var handleClick = function(event) { clickX = Math.round((eventData.offsetX + eventData.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, clickY = Math.round((eventData.offsetY + eventData.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - if (parent.hasClass('panel')) { - actions[' Edit parent'] = function(){parent.trigger('fake-click')} + if (widget.parent != widgetManager) { + actions[' Edit parent'] = function(){editObject(widget.parent)} } if (type=='widget') actions[' Copy'] = function(){CLIPBOARD=JSON.stringify(data)} if (type=='widget') actions[' Cut'] = function(){ CLIPBOARD=JSON.stringify(data) - var parent = widget.parent, - parentData = parent.props - - parentData.widgets.splice(index,1) - updateWidget(parent) + widget.parent.props.widgets.splice(index,1) + updateWidget(widget.parent) } if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { @@ -134,17 +130,14 @@ var handleClick = function(event) { `) $('.confirm-delete').click(function(){ popup.close() - var parent = widget.parent, - parentData = parent.props - if (widget.props.type != 'tab') { - parentData.widgets.splice(index,1) + widget.parent.props.widgets.splice(index,1) } else { - parentData.tabs.splice(index,1) + widget.parent.props.tabs.splice(index,1) } - updateWidget(parent) + updateWidget(widget.parent) }) $('.cancel-delete').click(function(){ popup.close() From c037f734e9b9b1bfc82ed69d8888e9386e381c7e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 13:09:09 +0100 Subject: [PATCH 0270/5759] editor: fix "edit parent" context menu & clean --- src/browser/js/app/editor/init.js | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index bd2ad0a4..8a45de41 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -20,7 +20,6 @@ var handleClick = function(event) { if (!widget) return var container = widget.container, - parent = widget.parentNode, index = container.index(), data = widget.props, type = widget.props.type == 'tab' ? 'tab' : 'widget' @@ -44,19 +43,16 @@ var handleClick = function(event) { clickX = Math.round((eventData.offsetX + eventData.target.scrollLeft) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH, clickY = Math.round((eventData.offsetY + eventData.target.scrollTop) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH - if (parent.hasClass('panel')) { - actions[' Edit parent'] = function(){parent.trigger('fake-click')} + if (widget.parent != widgetManager) { + actions[' Edit parent'] = function(){editObject(widget.parent)} } if (type=='widget') actions[' Copy'] = function(){CLIPBOARD=JSON.stringify(data)} if (type=='widget') actions[' Cut'] = function(){ CLIPBOARD=JSON.stringify(data) - var parent = widget.parent, - parentData = parent.props - - parentData.widgets.splice(index,1) - updateWidget(parent) + widget.parent.props.widgets.splice(index,1) + updateWidget(widget.parent) } if (((type=='widget' && widgets[data.type].defaults().widgets) || (type=='tab')) && (!data.tabs||!data.tabs.length)) { @@ -134,17 +130,14 @@ var handleClick = function(event) { `) $('.confirm-delete').click(function(){ popup.close() - var parent = widget.parent, - parentData = parent.props - if (widget.props.type != 'tab') { - parentData.widgets.splice(index,1) + widget.parent.props.widgets.splice(index,1) } else { - parentData.tabs.splice(index,1) + widget.parent.props.tabs.splice(index,1) } - updateWidget(parent) + updateWidget(widget.parent) }) $('.cancel-delete').click(function(){ popup.close() From bfe99319d9593c39161190e0b015e0a2da53d7c5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 14:00:22 +0100 Subject: [PATCH 0271/5759] misc: removed nosleep (leaving it to 3rd-party apps) --- package.json | 1 - src/browser/js/app/ui.js | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/package.json b/package.json index e7e79129..7aba4c1f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "mathjs": "3.20.0", "node-sass": "4.7.2", "nodemon": "1.14.11", - "nosleep.js": "0.7.0", "screenfull": "3.3.2", "shortid": "2.2.8", "socket.io-client": "2.0.4", diff --git a/src/browser/js/app/ui.js b/src/browser/js/app/ui.js index 5fdc4221..effc5051 100644 --- a/src/browser/js/app/ui.js +++ b/src/browser/js/app/ui.js @@ -21,15 +21,4 @@ $(document).on('keydown.resetzoom', function(e){ } }) -// prevent mobile sleep -var NoSleep = require('nosleep.js'), - noSleep = new NoSleep() - -function enableNoSleep() { - noSleep.enable() - document.removeEventListener('click', enableNoSleep, false) -} - -document.addEventListener('click', enableNoSleep, false) - require('./sidepanel') From fcabbae8b2d2c40ba1cb2b78499d63084f0e280e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 14:00:22 +0100 Subject: [PATCH 0272/5759] misc: removed nosleep (leaving it to 3rd-party apps) --- package.json | 1 - src/browser/js/app/ui.js | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/package.json b/package.json index e7e79129..7aba4c1f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "mathjs": "3.20.0", "node-sass": "4.7.2", "nodemon": "1.14.11", - "nosleep.js": "0.7.0", "screenfull": "3.3.2", "shortid": "2.2.8", "socket.io-client": "2.0.4", diff --git a/src/browser/js/app/ui.js b/src/browser/js/app/ui.js index 5fdc4221..effc5051 100644 --- a/src/browser/js/app/ui.js +++ b/src/browser/js/app/ui.js @@ -21,15 +21,4 @@ $(document).on('keydown.resetzoom', function(e){ } }) -// prevent mobile sleep -var NoSleep = require('nosleep.js'), - noSleep = new NoSleep() - -function enableNoSleep() { - noSleep.enable() - document.removeEventListener('click', enableNoSleep, false) -} - -document.addEventListener('click', enableNoSleep, false) - require('./sidepanel') From 5e9d69223798da4080c16848a33d2af820b91fa8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 16:10:07 +0100 Subject: [PATCH 0273/5759] misc: reset vanilla document ready wait... --- src/browser/js/browser.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/browser/js/browser.js b/src/browser/js/browser.js index efe3b8cb..1dfd2ada 100644 --- a/src/browser/js/browser.js +++ b/src/browser/js/browser.js @@ -1,17 +1,19 @@ -require('./app/globals') -require('./app/sourcemap') +document.addEventListener("DOMContentLoaded", function(event) { -var ipc = require('./app/ipc/'), - osc = require('./app/osc'), - parser = require('./app/parser'), - {loading} = require('./app/utils') + require('./app/globals') + require('./app/sourcemap') -ipc.init() -osc.init() -parser.init() + var ipc = require('./app/ipc/'), + osc = require('./app/osc'), + parser = require('./app/parser'), + {loading} = require('./app/utils') + + ipc.init() + osc.init() + parser.init() -$(document).ready(function(){ LOADING = loading('Connecting server...') require('./app/ui') ipc.send('ready') + }) From bd2e6fa10269fac210cc75c0350e24376ad58b35 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 16:10:07 +0100 Subject: [PATCH 0274/5759] misc: reset vanilla document ready wait... --- src/browser/js/browser.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/browser/js/browser.js b/src/browser/js/browser.js index efe3b8cb..1dfd2ada 100644 --- a/src/browser/js/browser.js +++ b/src/browser/js/browser.js @@ -1,17 +1,19 @@ -require('./app/globals') -require('./app/sourcemap') +document.addEventListener("DOMContentLoaded", function(event) { -var ipc = require('./app/ipc/'), - osc = require('./app/osc'), - parser = require('./app/parser'), - {loading} = require('./app/utils') + require('./app/globals') + require('./app/sourcemap') -ipc.init() -osc.init() -parser.init() + var ipc = require('./app/ipc/'), + osc = require('./app/osc'), + parser = require('./app/parser'), + {loading} = require('./app/utils') + + ipc.init() + osc.init() + parser.init() -$(document).ready(function(){ LOADING = loading('Connecting server...') require('./app/ui') ipc.send('ready') + }) From 9bab2b436ab496b482ed73bdef37bc4218b30c2d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 16:54:35 +0100 Subject: [PATCH 0275/5759] events: vanillajs traversing gesture --- src/browser/js/app/events/drag.js | 60 ++++++++----------- .../js/app/widgets/matrices/_matrices_base.js | 6 +- .../js/app/widgets/matrices/keyboard.js | 2 - .../js/app/widgets/matrices/multifader.js | 2 - .../js/app/widgets/matrices/multipush.js | 2 - .../js/app/widgets/matrices/multitoggle.js | 2 - 6 files changed, 31 insertions(+), 43 deletions(-) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index e8c85956..bf50e43f 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -179,9 +179,6 @@ DOM.addEventListener(document, 'touchend touchcancel', (event)=>{ } }, true) - - - module.exports = { setup: function(options) { @@ -234,37 +231,32 @@ module.exports = { element.removeEventListener('mousedown', mouseDownHandler) } + }, + + enableTraversingGestures: function(element) { + + function makeEventTraversing(event) { + if (event.ctrlKey) return + event.traversing = true + if (!event.traversingContainer) event.traversingContainer = element + } + + element.addEventListener('mousedown', makeEventTraversing, supportsPassive ? { passive: true, capture:true } : true) + element.addEventListener('touchstart', makeEventTraversing, supportsPassive ? { passive: true, capture:true } : true) + + element.addEventListener('disableTraversingGestures', ()=>{ + + element.removeEventListener('mousedown', makeEventTraversing) + element.removeEventListener('touchstart', makeEventTraversing) + + }) + + }, + + disableTraversingGestures: function(element) { + + DOM.dispatchEvent(element, 'disableTraversingGestures') + } } - - - -$.fn.enableTraversingGestures = function(options={}) { - - var self = this[0] - - var makeEventTraversing = function(e){ - if (e.ctrlKey && options.ctrlKeyCancel) return - e.traversing=true - if (!e.traversingContainer) e.traversingContainer = self - } - - self.addEventListener("mousedown", makeEventTraversing, true) - self.addEventListener("touchstart", makeEventTraversing, true) - - this.on('disableTraversingGestures',()=>{ - self.removeEventListener("mousedown", makeEventTraversing, true) - self.removeEventListener("touchstart", makeEventTraversing, true) - }) - - - return this - -} - -$.fn.disableTraversingGestures = function() { - - this.trigger('disableTraversingGestures') - -} diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index 52f1b113..f479411c 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -1,4 +1,6 @@ -var _widgets_base = require('../common/_widgets_base') +var _widgets_base = require('../common/_widgets_base'), + {enableTraversingGestures} = require('../../events/drag') + module.exports = class _matrices_base extends _widgets_base { @@ -19,6 +21,8 @@ module.exports = class _matrices_base extends _widgets_base { }) + if (this.getProp('traversing')) enableTraversingGestures(this.widget[0]) + } } diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index cbdd68e2..1e466adc 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -90,8 +90,6 @@ module.exports = class Keyboard extends _matrices_base { }) - if (this.getProp('traversing')) this.widget.enableTraversingGestures() - } } diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 861bcfe3..3653e18b 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -96,8 +96,6 @@ module.exports = class Multifader extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures({ctrlKeyCancel:true}) - } } diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 2d913040..d3b65d94 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -74,8 +74,6 @@ module.exports = class Multipush extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures() - } } diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index adea21c9..b1b199e0 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -74,8 +74,6 @@ module.exports = class Multitoggle extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures() - } } From f145839454f14a7f3d530929ba225e7639db785e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 16:54:35 +0100 Subject: [PATCH 0276/5759] events: vanillajs traversing gesture --- src/browser/js/app/events/drag.js | 60 ++++++++----------- .../js/app/widgets/matrices/_matrices_base.js | 6 +- .../js/app/widgets/matrices/keyboard.js | 2 - .../js/app/widgets/matrices/multifader.js | 2 - .../js/app/widgets/matrices/multipush.js | 2 - .../js/app/widgets/matrices/multitoggle.js | 2 - 6 files changed, 31 insertions(+), 43 deletions(-) diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index e8c85956..bf50e43f 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -179,9 +179,6 @@ DOM.addEventListener(document, 'touchend touchcancel', (event)=>{ } }, true) - - - module.exports = { setup: function(options) { @@ -234,37 +231,32 @@ module.exports = { element.removeEventListener('mousedown', mouseDownHandler) } + }, + + enableTraversingGestures: function(element) { + + function makeEventTraversing(event) { + if (event.ctrlKey) return + event.traversing = true + if (!event.traversingContainer) event.traversingContainer = element + } + + element.addEventListener('mousedown', makeEventTraversing, supportsPassive ? { passive: true, capture:true } : true) + element.addEventListener('touchstart', makeEventTraversing, supportsPassive ? { passive: true, capture:true } : true) + + element.addEventListener('disableTraversingGestures', ()=>{ + + element.removeEventListener('mousedown', makeEventTraversing) + element.removeEventListener('touchstart', makeEventTraversing) + + }) + + }, + + disableTraversingGestures: function(element) { + + DOM.dispatchEvent(element, 'disableTraversingGestures') + } } - - - -$.fn.enableTraversingGestures = function(options={}) { - - var self = this[0] - - var makeEventTraversing = function(e){ - if (e.ctrlKey && options.ctrlKeyCancel) return - e.traversing=true - if (!e.traversingContainer) e.traversingContainer = self - } - - self.addEventListener("mousedown", makeEventTraversing, true) - self.addEventListener("touchstart", makeEventTraversing, true) - - this.on('disableTraversingGestures',()=>{ - self.removeEventListener("mousedown", makeEventTraversing, true) - self.removeEventListener("touchstart", makeEventTraversing, true) - }) - - - return this - -} - -$.fn.disableTraversingGestures = function() { - - this.trigger('disableTraversingGestures') - -} diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js index 52f1b113..f479411c 100644 --- a/src/browser/js/app/widgets/matrices/_matrices_base.js +++ b/src/browser/js/app/widgets/matrices/_matrices_base.js @@ -1,4 +1,6 @@ -var _widgets_base = require('../common/_widgets_base') +var _widgets_base = require('../common/_widgets_base'), + {enableTraversingGestures} = require('../../events/drag') + module.exports = class _matrices_base extends _widgets_base { @@ -19,6 +21,8 @@ module.exports = class _matrices_base extends _widgets_base { }) + if (this.getProp('traversing')) enableTraversingGestures(this.widget[0]) + } } diff --git a/src/browser/js/app/widgets/matrices/keyboard.js b/src/browser/js/app/widgets/matrices/keyboard.js index cbdd68e2..1e466adc 100644 --- a/src/browser/js/app/widgets/matrices/keyboard.js +++ b/src/browser/js/app/widgets/matrices/keyboard.js @@ -90,8 +90,6 @@ module.exports = class Keyboard extends _matrices_base { }) - if (this.getProp('traversing')) this.widget.enableTraversingGestures() - } } diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js index 861bcfe3..3653e18b 100644 --- a/src/browser/js/app/widgets/matrices/multifader.js +++ b/src/browser/js/app/widgets/matrices/multifader.js @@ -96,8 +96,6 @@ module.exports = class Multifader extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures({ctrlKeyCancel:true}) - } } diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js index 2d913040..d3b65d94 100644 --- a/src/browser/js/app/widgets/matrices/multipush.js +++ b/src/browser/js/app/widgets/matrices/multipush.js @@ -74,8 +74,6 @@ module.exports = class Multipush extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures() - } } diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js index adea21c9..b1b199e0 100644 --- a/src/browser/js/app/widgets/matrices/multitoggle.js +++ b/src/browser/js/app/widgets/matrices/multitoggle.js @@ -74,8 +74,6 @@ module.exports = class Multitoggle extends _matrices_base { } - if (this.getProp('traversing')) this.widget.enableTraversingGestures() - } } From ac00b1a8d4a7fc8a093a22000ba38fbb815aac53 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 16:57:30 +0100 Subject: [PATCH 0277/5759] sidepanel: vanilla js + some clean --- src/browser/js/app/dom.js | 27 ++++++- src/browser/js/app/ui.js | 24 ------ src/browser/js/app/ui/index.js | 2 + src/browser/js/app/{ => ui}/sidepanel.js | 98 ++++++++++++++---------- src/browser/js/app/ui/zoom.js | 22 ++++++ 5 files changed, 108 insertions(+), 65 deletions(-) delete mode 100644 src/browser/js/app/ui.js create mode 100644 src/browser/js/app/ui/index.js rename src/browser/js/app/{ => ui}/sidepanel.js (52%) create mode 100644 src/browser/js/app/ui/zoom.js diff --git a/src/browser/js/app/dom.js b/src/browser/js/app/dom.js index 568a420c..3eefc04f 100644 --- a/src/browser/js/app/dom.js +++ b/src/browser/js/app/dom.js @@ -1,3 +1,6 @@ +var DomParserFragment = document.createRange() + DomParserFragment.selectNode(document.body) + module.exports = { dispatchEvent: function(element, name, data) { @@ -22,6 +25,28 @@ module.exports = { } + }, + + get: function(a, b) { + + var context = b ? a : document, + selector = b || a + + var nodes = context.querySelectorAll(selector) + return NodeList.prototype.forEach ? nodes : [...nodes] + + }, + + create: function(html) { + + return DomParserFragment.createContextualFragment(html.trim()).firstChild + + }, + + each: function(context, selector, callback) { + + return module.exports.get(context, selector).forEach(callback) + } - + } diff --git a/src/browser/js/app/ui.js b/src/browser/js/app/ui.js deleted file mode 100644 index effc5051..00000000 --- a/src/browser/js/app/ui.js +++ /dev/null @@ -1,24 +0,0 @@ - -// mousewheel zoom -$('html').on('mousewheel.zoom',function(e) { - if (e.ctrlKey) { - e.preventDefault() - if (e.originalEvent.deltaY==0) return - var d = -e.originalEvent.deltaY/(10*Math.abs(e.originalEvent.deltaY)) - - PXSCALE = parseFloat(d)+parseFloat(PXSCALE) - document.documentElement.style.setProperty('font-size', PXSCALE + 'px') - - $(window).resize() - } -}) -$(document).on('keydown.resetzoom', function(e){ - if (e.ctrlKey && (e.keyCode==96||e.keyCode==48)) { - PXSCALE = INITIALZOOM - document.documentElement.style.setProperty('font-size', PXSCALE + 'px') - - $(window).resize() - } -}) - -require('./sidepanel') diff --git a/src/browser/js/app/ui/index.js b/src/browser/js/app/ui/index.js new file mode 100644 index 00000000..309195a6 --- /dev/null +++ b/src/browser/js/app/ui/index.js @@ -0,0 +1,2 @@ +require('./zoom') +require('./sidepanel') diff --git a/src/browser/js/app/sidepanel.js b/src/browser/js/app/ui/sidepanel.js similarity index 52% rename from src/browser/js/app/sidepanel.js rename to src/browser/js/app/ui/sidepanel.js index 331472eb..119d459a 100644 --- a/src/browser/js/app/sidepanel.js +++ b/src/browser/js/app/ui/sidepanel.js @@ -1,10 +1,11 @@ -var state = require('./managers/state'), - session = require('./managers/session'), - editor = require('./editor/'), - icon = require('./utils').icon, - fullscreen = require('screenfull') +var state = require('../managers/state'), + session = require('../managers/session'), + editor = require('../editor/'), + icon = require('../utils').icon, + fullscreen = require('screenfull'), + {enableTraversingGestures, disableTraversingGestures} = require('../events/drag') -var data = [ +var sidepanelData = [ { actions: [ { @@ -24,7 +25,7 @@ var data = [ title:'Store', action:()=>{ state.quickSave() - $('.quickload').removeClass('disabled') + DOM.get('.quickload').classList.remove('disabled') } }, { @@ -52,16 +53,20 @@ var data = [ { title:'On', action:()=>{ - $('.traversingEnable, .traversingDisable').toggleClass('on') - $('#container').enableTraversingGestures() + DOM.each(document, '.traversingEnable, .traversingDisable', (el)=>{ + el.classList.toggle('on') + }) + enableTraversingGestures(document.getElementById('container')) }, class:'traversingEnable' }, { title:'Off', action:()=>{ - $('.traversingEnable, .traversingDisable').toggleClass('on') - $('#container').disableTraversingGestures() + DOM.each(document, '.traversingEnable, .traversingDisable', (el)=>{ + el.classList.toggle('on') + }) + disableTraversingGestures(document.getElementById('container')) }, class:'traversingDisable on' } @@ -97,58 +102,71 @@ var data = [ }, ] -var sidepanel = $('
      ') +var options = DOM.create('
        ') -for (let i in data) { +for (let i in sidepanelData) { - let itemData = data[i], - item = $('
      • '), - inner = $(`
        `).appendTo(item), - wrapper = $('
        ').appendTo(inner) + let data = sidepanelData[i], + item = DOM.create(` +
      • +
        +
        + ${data.title ? `
        ${data.title}
        ` : ''} +
        +
        +
      • + `), + wrapper = DOM.get(item, '.actions')[0] - if (itemData.title) $(`
        ${itemData.title}
        `).prependTo(wrapper) + for (let j in data.actions) { - for (let j in itemData.actions) { + let actionData = data.actions[j], + element = DOM.create(`${actionData.title}`) - let actionData = itemData.actions[j], - element = $(`${actionData.title}`).appendTo(wrapper) - - if (actionData.action) element.click(actionData.action) + if (actionData.action) element.addEventListener('fake-click', actionData.action) + wrapper.appendChild(element) } - item.appendTo(sidepanel) + options.appendChild(item) } -$('#sidepanel').empty() -$('#sidepanel').append(` +var sidepanel = document.getElementById('sidepanel') + +sidepanel.appendChild(DOM.create(` -`) -$('#sidepanel').append(sidepanel) -$('#sidepanel').append('
        ') +`)) -$('#container').on('fake-click.sidepanel', function(e){ +sidepanel.appendChild(options) - if (e.target.id != 'open-toggle') return +sidepanel.appendChild(DOM.create('
        ')) - var t = (!$('#sidepanel').hasClass('sidepanel-open')) ? 250 : 0 +function toggleSidepanel() { + + var transitionLength = 275 + + DOM.get('#open-toggle, #sidepanel, #container').forEach((el)=>{ + el.classList.toggle('sidepanel-open') + }) setTimeout(function(){ - $('#open-toggle, #sidepanel').toggleClass('sidepanel-open') - }, 25) - - setTimeout(function(){ - $('#container').toggleClass('sidepanel-open') $(window).resize() - },t + 25) + }, transitionLength) + +} + +DOM.get('#container')[0].addEventListener('fake-click', function(e){ + + if (e.target.id == 'open-toggle') toggleSidepanel() }) -$(document).on('keydown.sidepanel', function(e){ - if (e.keyCode==121) $('#open-toggle').trigger('fake-click') +document.addEventListener('keydown', function(e){ + // F10 + if (e.keyCode==121) toggleSidepanel() }) // Fullscreen diff --git a/src/browser/js/app/ui/zoom.js b/src/browser/js/app/ui/zoom.js new file mode 100644 index 00000000..a74aa74c --- /dev/null +++ b/src/browser/js/app/ui/zoom.js @@ -0,0 +1,22 @@ +// mousewheel zoom +document.addEventListener('mousewheel', function(event) { + if (event.ctrlKey) { + event.preventDefault() + if (event.deltaY==0) return + var d = -event.deltaY / (10 * Math.abs(event.deltaY)) + + PXSCALE = parseFloat(d)+parseFloat(PXSCALE) + document.documentElement.style.setProperty('font-size', PXSCALE + 'px') + + $(window).resize() + } +}) + +document.addEventListener('keydown', function(event){ + if (event.ctrlKey && (event.keyCode == 96 || event.keyCode == 48)) { + PXSCALE = INITIALZOOM + document.documentElement.style.setProperty('font-size', PXSCALE + 'px') + + $(window).resize() + } +}) From 86e3487e0a9ef5f8b23fb7d378cbb308d5dbf507 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 16:57:30 +0100 Subject: [PATCH 0278/5759] sidepanel: vanilla js + some clean --- src/browser/js/app/dom.js | 27 ++++++- src/browser/js/app/ui.js | 24 ------ src/browser/js/app/ui/index.js | 2 + src/browser/js/app/{ => ui}/sidepanel.js | 98 ++++++++++++++---------- src/browser/js/app/ui/zoom.js | 22 ++++++ 5 files changed, 108 insertions(+), 65 deletions(-) delete mode 100644 src/browser/js/app/ui.js create mode 100644 src/browser/js/app/ui/index.js rename src/browser/js/app/{ => ui}/sidepanel.js (52%) create mode 100644 src/browser/js/app/ui/zoom.js diff --git a/src/browser/js/app/dom.js b/src/browser/js/app/dom.js index 568a420c..3eefc04f 100644 --- a/src/browser/js/app/dom.js +++ b/src/browser/js/app/dom.js @@ -1,3 +1,6 @@ +var DomParserFragment = document.createRange() + DomParserFragment.selectNode(document.body) + module.exports = { dispatchEvent: function(element, name, data) { @@ -22,6 +25,28 @@ module.exports = { } + }, + + get: function(a, b) { + + var context = b ? a : document, + selector = b || a + + var nodes = context.querySelectorAll(selector) + return NodeList.prototype.forEach ? nodes : [...nodes] + + }, + + create: function(html) { + + return DomParserFragment.createContextualFragment(html.trim()).firstChild + + }, + + each: function(context, selector, callback) { + + return module.exports.get(context, selector).forEach(callback) + } - + } diff --git a/src/browser/js/app/ui.js b/src/browser/js/app/ui.js deleted file mode 100644 index effc5051..00000000 --- a/src/browser/js/app/ui.js +++ /dev/null @@ -1,24 +0,0 @@ - -// mousewheel zoom -$('html').on('mousewheel.zoom',function(e) { - if (e.ctrlKey) { - e.preventDefault() - if (e.originalEvent.deltaY==0) return - var d = -e.originalEvent.deltaY/(10*Math.abs(e.originalEvent.deltaY)) - - PXSCALE = parseFloat(d)+parseFloat(PXSCALE) - document.documentElement.style.setProperty('font-size', PXSCALE + 'px') - - $(window).resize() - } -}) -$(document).on('keydown.resetzoom', function(e){ - if (e.ctrlKey && (e.keyCode==96||e.keyCode==48)) { - PXSCALE = INITIALZOOM - document.documentElement.style.setProperty('font-size', PXSCALE + 'px') - - $(window).resize() - } -}) - -require('./sidepanel') diff --git a/src/browser/js/app/ui/index.js b/src/browser/js/app/ui/index.js new file mode 100644 index 00000000..309195a6 --- /dev/null +++ b/src/browser/js/app/ui/index.js @@ -0,0 +1,2 @@ +require('./zoom') +require('./sidepanel') diff --git a/src/browser/js/app/sidepanel.js b/src/browser/js/app/ui/sidepanel.js similarity index 52% rename from src/browser/js/app/sidepanel.js rename to src/browser/js/app/ui/sidepanel.js index 331472eb..119d459a 100644 --- a/src/browser/js/app/sidepanel.js +++ b/src/browser/js/app/ui/sidepanel.js @@ -1,10 +1,11 @@ -var state = require('./managers/state'), - session = require('./managers/session'), - editor = require('./editor/'), - icon = require('./utils').icon, - fullscreen = require('screenfull') +var state = require('../managers/state'), + session = require('../managers/session'), + editor = require('../editor/'), + icon = require('../utils').icon, + fullscreen = require('screenfull'), + {enableTraversingGestures, disableTraversingGestures} = require('../events/drag') -var data = [ +var sidepanelData = [ { actions: [ { @@ -24,7 +25,7 @@ var data = [ title:'Store', action:()=>{ state.quickSave() - $('.quickload').removeClass('disabled') + DOM.get('.quickload').classList.remove('disabled') } }, { @@ -52,16 +53,20 @@ var data = [ { title:'On', action:()=>{ - $('.traversingEnable, .traversingDisable').toggleClass('on') - $('#container').enableTraversingGestures() + DOM.each(document, '.traversingEnable, .traversingDisable', (el)=>{ + el.classList.toggle('on') + }) + enableTraversingGestures(document.getElementById('container')) }, class:'traversingEnable' }, { title:'Off', action:()=>{ - $('.traversingEnable, .traversingDisable').toggleClass('on') - $('#container').disableTraversingGestures() + DOM.each(document, '.traversingEnable, .traversingDisable', (el)=>{ + el.classList.toggle('on') + }) + disableTraversingGestures(document.getElementById('container')) }, class:'traversingDisable on' } @@ -97,58 +102,71 @@ var data = [ }, ] -var sidepanel = $('
          ') +var options = DOM.create('
            ') -for (let i in data) { +for (let i in sidepanelData) { - let itemData = data[i], - item = $('
          • '), - inner = $(`
            `).appendTo(item), - wrapper = $('
            ').appendTo(inner) + let data = sidepanelData[i], + item = DOM.create(` +
          • +
            +
            + ${data.title ? `
            ${data.title}
            ` : ''} +
            +
            +
          • + `), + wrapper = DOM.get(item, '.actions')[0] - if (itemData.title) $(`
            ${itemData.title}
            `).prependTo(wrapper) + for (let j in data.actions) { - for (let j in itemData.actions) { + let actionData = data.actions[j], + element = DOM.create(`${actionData.title}`) - let actionData = itemData.actions[j], - element = $(`${actionData.title}`).appendTo(wrapper) - - if (actionData.action) element.click(actionData.action) + if (actionData.action) element.addEventListener('fake-click', actionData.action) + wrapper.appendChild(element) } - item.appendTo(sidepanel) + options.appendChild(item) } -$('#sidepanel').empty() -$('#sidepanel').append(` +var sidepanel = document.getElementById('sidepanel') + +sidepanel.appendChild(DOM.create(` -`) -$('#sidepanel').append(sidepanel) -$('#sidepanel').append('
            ') +`)) -$('#container').on('fake-click.sidepanel', function(e){ +sidepanel.appendChild(options) - if (e.target.id != 'open-toggle') return +sidepanel.appendChild(DOM.create('
            ')) - var t = (!$('#sidepanel').hasClass('sidepanel-open')) ? 250 : 0 +function toggleSidepanel() { + + var transitionLength = 275 + + DOM.get('#open-toggle, #sidepanel, #container').forEach((el)=>{ + el.classList.toggle('sidepanel-open') + }) setTimeout(function(){ - $('#open-toggle, #sidepanel').toggleClass('sidepanel-open') - }, 25) - - setTimeout(function(){ - $('#container').toggleClass('sidepanel-open') $(window).resize() - },t + 25) + }, transitionLength) + +} + +DOM.get('#container')[0].addEventListener('fake-click', function(e){ + + if (e.target.id == 'open-toggle') toggleSidepanel() }) -$(document).on('keydown.sidepanel', function(e){ - if (e.keyCode==121) $('#open-toggle').trigger('fake-click') +document.addEventListener('keydown', function(e){ + // F10 + if (e.keyCode==121) toggleSidepanel() }) // Fullscreen diff --git a/src/browser/js/app/ui/zoom.js b/src/browser/js/app/ui/zoom.js new file mode 100644 index 00000000..a74aa74c --- /dev/null +++ b/src/browser/js/app/ui/zoom.js @@ -0,0 +1,22 @@ +// mousewheel zoom +document.addEventListener('mousewheel', function(event) { + if (event.ctrlKey) { + event.preventDefault() + if (event.deltaY==0) return + var d = -event.deltaY / (10 * Math.abs(event.deltaY)) + + PXSCALE = parseFloat(d)+parseFloat(PXSCALE) + document.documentElement.style.setProperty('font-size', PXSCALE + 'px') + + $(window).resize() + } +}) + +document.addEventListener('keydown', function(event){ + if (event.ctrlKey && (event.keyCode == 96 || event.keyCode == 48)) { + PXSCALE = INITIALZOOM + document.documentElement.style.setProperty('font-size', PXSCALE + 'px') + + $(window).resize() + } +}) From 983555c33cf91a3e9dff79f1cfa8f4136d98d166 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 17:04:22 +0100 Subject: [PATCH 0279/5759] sidepanel: vanillajs fullscreen --- src/browser/js/app/ui/sidepanel.js | 67 +++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/src/browser/js/app/ui/sidepanel.js b/src/browser/js/app/ui/sidepanel.js index 119d459a..efe777de 100644 --- a/src/browser/js/app/ui/sidepanel.js +++ b/src/browser/js/app/ui/sidepanel.js @@ -144,40 +144,75 @@ sidepanel.appendChild(options) sidepanel.appendChild(DOM.create('
            ')) -function toggleSidepanel() { +// Fullscreen - var transitionLength = 275 +var fsToggle = DOM.get(sidepanel, '.fullscreenToggle')[0] + +if (fullscreen.enabled) { + fullscreen.off('change') + fullscreen.on('change', ()=>{ + if (fullscreen.isFullScreen) { + fsToggle.classList.add('on') + } else { + fsToggle.classList.remove('on') + } + }) +} else { + fsToggle.classList.add('disabled') +} + + +// open / close / toggle + +function sidepanelOpen() { DOM.get('#open-toggle, #sidepanel, #container').forEach((el)=>{ - el.classList.toggle('sidepanel-open') + el.classList.add('sidepanel-open') }) setTimeout(function(){ $(window).resize() - }, transitionLength) + }, 275) } +function sidepanelClose() { + + DOM.get('#open-toggle, #sidepanel, #container').forEach((el)=>{ + el.classList.remove('sidepanel-open') + }) + + setTimeout(function(){ + $(window).resize() + }, 25) + +} + +function sidepanelToggle() { + + if (sidepanel.classList.contains('sidepanel-open')) { + sidepanelClose() + } else { + sidepanelOpen() + } + +} + + DOM.get('#container')[0].addEventListener('fake-click', function(e){ - if (e.target.id == 'open-toggle') toggleSidepanel() + if (e.target.id == 'open-toggle') sidepanelToggle() }) document.addEventListener('keydown', function(e){ // F10 - if (e.keyCode==121) toggleSidepanel() + if (e.keyCode==121) sidepanelToggle() }) -// Fullscreen -var fsToggle = $('#sidepanel').find('.fullscreenToggle') - -if (fullscreen.enabled) { - fullscreen.off('change') - fullscreen.on('change', ()=>{ - fsToggle.toggleClass('on', fullscreen.isFullScreen) - }) -} else { - fsToggle.addClass('disabled') +module.exports = { + open: sidepanelOpen, + close: sidepanelClose, + toggle: sidepanelToggle } From 7f61710e24adadfd43a540a4c38dbc65d6e08517 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 16 Jan 2018 17:04:22 +0100 Subject: [PATCH 0280/5759] sidepanel: vanillajs fullscreen --- src/browser/js/app/ui/sidepanel.js | 67 +++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/src/browser/js/app/ui/sidepanel.js b/src/browser/js/app/ui/sidepanel.js index 119d459a..efe777de 100644 --- a/src/browser/js/app/ui/sidepanel.js +++ b/src/browser/js/app/ui/sidepanel.js @@ -144,40 +144,75 @@ sidepanel.appendChild(options) sidepanel.appendChild(DOM.create('
            ')) -function toggleSidepanel() { +// Fullscreen - var transitionLength = 275 +var fsToggle = DOM.get(sidepanel, '.fullscreenToggle')[0] + +if (fullscreen.enabled) { + fullscreen.off('change') + fullscreen.on('change', ()=>{ + if (fullscreen.isFullScreen) { + fsToggle.classList.add('on') + } else { + fsToggle.classList.remove('on') + } + }) +} else { + fsToggle.classList.add('disabled') +} + + +// open / close / toggle + +function sidepanelOpen() { DOM.get('#open-toggle, #sidepanel, #container').forEach((el)=>{ - el.classList.toggle('sidepanel-open') + el.classList.add('sidepanel-open') }) setTimeout(function(){ $(window).resize() - }, transitionLength) + }, 275) } +function sidepanelClose() { + + DOM.get('#open-toggle, #sidepanel, #container').forEach((el)=>{ + el.classList.remove('sidepanel-open') + }) + + setTimeout(function(){ + $(window).resize() + }, 25) + +} + +function sidepanelToggle() { + + if (sidepanel.classList.contains('sidepanel-open')) { + sidepanelClose() + } else { + sidepanelOpen() + } + +} + + DOM.get('#container')[0].addEventListener('fake-click', function(e){ - if (e.target.id == 'open-toggle') toggleSidepanel() + if (e.target.id == 'open-toggle') sidepanelToggle() }) document.addEventListener('keydown', function(e){ // F10 - if (e.keyCode==121) toggleSidepanel() + if (e.keyCode==121) sidepanelToggle() }) -// Fullscreen -var fsToggle = $('#sidepanel').find('.fullscreenToggle') - -if (fullscreen.enabled) { - fullscreen.off('change') - fullscreen.on('change', ()=>{ - fsToggle.toggleClass('on', fullscreen.isFullScreen) - }) -} else { - fsToggle.addClass('disabled') +module.exports = { + open: sidepanelOpen, + close: sidepanelClose, + toggle: sidepanelToggle } From cbafb4e32f0c4888073ef3851e527b81ccfb184f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 18 Jan 2018 12:23:37 +0100 Subject: [PATCH 0281/5759] :fire: removed jquery everywhere except from editor --- app/browser/index.html | 1 - src/browser/js/app/dom.js | 32 ++++- src/browser/js/app/editor/context-menu.js | 2 +- src/browser/js/app/editor/data-workers.js | 14 ++- src/browser/js/app/editor/edit-objects.js | 6 +- src/browser/js/app/editor/init.js | 39 +++--- src/browser/js/app/events/drag.js | 82 ++++++------ src/browser/js/app/events/event-emitter.js | 1 + src/browser/js/app/events/resize.js | 65 ++++++++++ src/browser/js/app/globals.js | 1 - src/browser/js/app/ipc/callbacks.js | 13 +- src/browser/js/app/managers/session.js | 118 ++++++++---------- src/browser/js/app/managers/state.js | 5 +- src/browser/js/app/managers/widgets.js | 6 +- src/browser/js/app/parser.js | 28 ++--- src/browser/js/app/remote-control.js | 4 +- src/browser/js/app/ui/{index.js => init.js} | 1 + src/browser/js/app/ui/lobby.js | 49 ++++++++ src/browser/js/app/ui/popup.js | 60 +++++++++ src/browser/js/app/ui/sidepanel.js | 15 ++- src/browser/js/app/ui/utils.js | 19 +++ src/browser/js/app/ui/zoom.js | 4 +- src/browser/js/app/utils.js | 43 ------- .../js/app/widgets/buttons/dropdown.js | 18 +-- src/browser/js/app/widgets/buttons/push.js | 16 +-- src/browser/js/app/widgets/buttons/switch.js | 22 ++-- src/browser/js/app/widgets/buttons/toggle.js | 14 +-- .../js/app/widgets/common/_canvas_base.js | 21 ++-- .../js/app/widgets/common/_widgets_base.js | 15 ++- .../js/app/widgets/containers/clone.js | 10 +- .../js/app/widgets/containers/modal.js | 86 +++++++------ .../js/app/widgets/containers/panel.js | 74 +++++------ src/browser/js/app/widgets/containers/root.js | 15 ++- .../js/app/widgets/containers/strip.js | 6 +- src/browser/js/app/widgets/containers/tab.js | 14 ++- src/browser/js/app/widgets/inputs/input.js | 53 +++----- src/browser/js/app/widgets/inputs/keys.js | 8 +- src/browser/js/app/widgets/maths/formula.js | 6 +- .../js/app/widgets/matrices/_matrices_base.js | 4 +- .../js/app/widgets/matrices/keyboard.js | 30 ++--- .../js/app/widgets/matrices/multifader.js | 8 +- .../js/app/widgets/matrices/multipush.js | 8 +- .../js/app/widgets/matrices/multitoggle.js | 8 +- .../js/app/widgets/mixins/double_tap.js | 2 +- .../js/app/widgets/mixins/touch_state.js | 12 +- src/browser/js/app/widgets/pads/_pads_base.js | 9 +- src/browser/js/app/widgets/pads/multixy.js | 12 +- src/browser/js/app/widgets/pads/rgb.js | 13 +- src/browser/js/app/widgets/pads/xy.js | 17 +-- src/browser/js/app/widgets/plots/image.js | 10 +- src/browser/js/app/widgets/plots/led.js | 2 +- src/browser/js/app/widgets/plots/meter.js | 5 +- src/browser/js/app/widgets/plots/rgbled.js | 2 +- src/browser/js/app/widgets/plots/text.js | 6 +- .../js/app/widgets/sliders/_sliders_base.js | 28 +++-- src/browser/js/app/widgets/sliders/encoder.js | 15 ++- src/browser/js/app/widgets/sliders/fader.js | 31 ++--- src/browser/js/app/widgets/sliders/knob.js | 6 +- src/browser/js/app/widgets/sliders/range.js | 30 +++-- .../js/app/widgets/switchers/crossfader.js | 2 +- .../js/app/widgets/switchers/switcher.js | 4 +- src/browser/js/browser.js | 28 +++-- src/browser/scss/_layout.scss | 4 + src/browser/scss/style.scss | 11 +- src/browser/scss/widgets/_panel.scss | 7 ++ 65 files changed, 766 insertions(+), 534 deletions(-) create mode 100644 src/browser/js/app/events/resize.js rename src/browser/js/app/ui/{index.js => init.js} (59%) create mode 100644 src/browser/js/app/ui/lobby.js create mode 100644 src/browser/js/app/ui/popup.js create mode 100644 src/browser/js/app/ui/utils.js delete mode 100644 src/browser/js/app/utils.js diff --git a/app/browser/index.html b/app/browser/index.html index 7e9fcc91..7857bcef 100644 --- a/app/browser/index.html +++ b/app/browser/index.html @@ -15,7 +15,6 @@ -
            diff --git a/src/browser/js/app/dom.js b/src/browser/js/app/dom.js index 3eefc04f..fb070702 100644 --- a/src/browser/js/app/dom.js +++ b/src/browser/js/app/dom.js @@ -1,8 +1,23 @@ -var DomParserFragment = document.createRange() - DomParserFragment.selectNode(document.body) +var DomParserFragment, + readyCallbacks = [] module.exports = { + init: function() { + + DomParserFragment = document.createRange() + DomParserFragment.selectNode(document.body) + + for (var i in readyCallbacks) { + readyCallbacks[i]() + } + + }, + + ready: function(callback) { + readyCallbacks.push(callback) + }, + dispatchEvent: function(element, name, data) { var event = new CustomEvent(name, { @@ -32,6 +47,8 @@ module.exports = { var context = b ? a : document, selector = b || a + if (selector.indexOf('>') == 0) selector = ':scope ' + selector + var nodes = context.querySelectorAll(selector) return NodeList.prototype.forEach ? nodes : [...nodes] @@ -45,8 +62,17 @@ module.exports = { each: function(context, selector, callback) { - return module.exports.get(context, selector).forEach(callback) + var nodes = module.exports.get(context, selector) + nodes.forEach(callback) + + return nodes + + }, + + index: function(element) { + var parent = element.parentNode + return parent ? Array.prototype.indexOf.call(parent.children, element) : -1 } } diff --git a/src/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js index 56461df9..449169d4 100644 --- a/src/browser/js/app/editor/context-menu.js +++ b/src/browser/js/app/editor/context-menu.js @@ -3,7 +3,7 @@ class ContextMenu { constructor(){ this.menu = null - this.event = 'fake-click.editor' + this.event = 'fake-click' this.root = 'body' } diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js index 8a366cbd..4bdb2865 100644 --- a/src/browser/js/app/editor/data-workers.js +++ b/src/browser/js/app/editor/data-workers.js @@ -1,14 +1,16 @@ var editObject = function(){editObject = require('./edit-objects').editObject; editObject(...arguments)}, purgeStores = require('./purge'), - {iconify} = require('../utils'), + {iconify} = require('../ui/utils'), widgetManager = require('../managers/widgets'), + resize = require('../events/resize'), stateManager = require('../managers/state'), parser = require('../parser') var updateWidget = function(widget, options = {}) { // save state - var scroll = $('#sidepanel').scrollTop(), + var sidepanel = DOM.get('#sidepanel')[0], + scroll = sidepanel.scrollTop, oldWidgets = widget.childrenHashes.concat(widget.hash), wScroll = {} @@ -32,13 +34,13 @@ var updateWidget = function(widget, options = {}) { // widget var newWidget = parser.parse([widget.props], widget.parentNode, widget.parent) - widget.container.replaceWith(newWidget.container) + widget.container.parentNode.replaceChild(newWidget.container, widget.container) if (newWidget.props.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}]) - $('.editor-root').attr('data-widget', $('.root-container').attr('data-widget')) + DOM.get('.editor-root')[0].setAttribute('data-widget', DOM.get('.root-container')[0].getAttribute('data-widget')) - newWidget.container.trigger('resize') + resize.check(newWidget.container) // restore state @@ -56,7 +58,7 @@ var updateWidget = function(widget, options = {}) { editObject(newWidget, {refresh: true}) } - $('#sidepanel').scrollTop(scroll) + sidepanel.scrollTop = scroll // return updated node diff --git a/src/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js index 9caf73df..05a14b91 100644 --- a/src/browser/js/app/editor/edit-objects.js +++ b/src/browser/js/app/editor/edit-objects.js @@ -1,6 +1,6 @@ -var updateWidget = require('./data-workers').updateWidget, +var {updateWidget} = require('./data-workers'), {widgets, categories} = require('../widgets/'), - {icon} = require('../utils'), + {icon} = require('../ui/utils'), defaults = {} for (var k in widgets) { @@ -19,7 +19,7 @@ var editClean = function(){ var editObject = function(widget, options = {}){ - var container = widget.container, + var container = $(widget.container), data = widget.props if (!options.refresh && (container.hasClass('editing'))) return diff --git a/src/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js index 8a45de41..e01fe907 100644 --- a/src/browser/js/app/editor/init.js +++ b/src/browser/js/app/editor/init.js @@ -1,6 +1,6 @@ var {updateWidget, incrementWidget} = require('./data-workers'), {editObject, editClean} = require('./edit-objects'), - createPopup = require('../utils').createPopup, + Popup = require('../ui/popup'), {widgets, categories} = require('../widgets/'), widgetManager = require('../managers/widgets'), ContextMenu = require('./context-menu') @@ -20,7 +20,7 @@ var handleClick = function(event) { if (!widget) return var container = widget.container, - index = container.index(), + index = DOM.index(container), data = widget.props, type = widget.props.type == 'tab' ? 'tab' : 'widget' @@ -28,7 +28,7 @@ var handleClick = function(event) { if (event.type!='fake-right-click') return - if (container.hasClass('root-container')) { + if (container.classList.contains('root-container')) { menu.open(eventData,{ ' Add tab': function(){ data.tabs.push({}) @@ -64,7 +64,7 @@ var handleClick = function(event) { var newData = incrementWidget(JSON.parse(CLIPBOARD)) - if (!$(eventData.target).hasClass('tablink')) { + if (!eventData.target.classList.contains('tablink')) { newData.top = clickY newData.left= clickX } else { @@ -78,7 +78,7 @@ var handleClick = function(event) { ' Clone':function(){ data.widgets = data.widgets || [] var newData = JSON.parse(CLIPBOARD) - if (!$(eventData.target).hasClass('tablink')) { + if (!eventData.target.classList.contains('tablink')) { newData.top = clickY newData.left= clickX } else { @@ -99,7 +99,7 @@ var handleClick = function(event) { actions[' Add widget'][category][wtype] = function(){ data.widgets = data.widgets || [] var newData = {type:wtype} - if (!$(eventData.target).hasClass('tablink')) { + if (!eventData.target.classList.contains('tablink')) { newData.top = clickY newData.left= clickX } @@ -122,13 +122,19 @@ var handleClick = function(event) { } actions[' Delete'] = function(){ - var popup = createPopup('Are you sure ?',` -
            - DELETE - CANCEL -
            - `) - $('.confirm-delete').click(function(){ + var popup = new Popup({ + title: 'Are you sure ?', + content:` +
            + DELETE + CANCEL +
            `, + closable: false, + escKey: true, + enterKey: function(){DOM.get(this.html, '.confirm-delete')[0].click()} + }) + + DOM.get(popup.html, '.confirm-delete')[0].addEventListener('click', function(){ popup.close() if (widget.props.type != 'tab') { @@ -139,13 +145,10 @@ var handleClick = function(event) { updateWidget(widget.parent) }) - $('.cancel-delete').click(function(){ + + DOM.get(popup.html, '.cancel-delete')[0].addEventListener('click', function(){ popup.close() }) - $(document).on('keydown.popup', function(e){ - if (e.keyCode==13) $('.confirm-delete').click() - }) - } diff --git a/src/browser/js/app/events/drag.js b/src/browser/js/app/events/drag.js index bf50e43f..85b3fdce 100644 --- a/src/browser/js/app/events/drag.js +++ b/src/browser/js/app/events/drag.js @@ -73,18 +73,9 @@ function pointerUpHandler(event) { } -function triggerWidgetEvent(target, name, event) { - if (target !== null && target._widget) { - target._widget.trigger(name, [event]) - } else if (target !== null) { - triggerWidgetEvent(target.closest('.drag-event'), name, event) - } -} +// Move / Up Filter - -// Move / Up handlers - -function capturedMoveHandler(event) { +function pointerMoveFilter(event) { if (targets[event.pointerId] !== undefined) { pointerMoveHandler.call(targets[event.pointerId], event) @@ -92,7 +83,7 @@ function capturedMoveHandler(event) { } -function capturedUpHandler(event) { +function pointerUpFilter(event) { if (targets[event.pointerId] !== undefined) { pointerUpHandler.call(targets[event.pointerId], event) @@ -114,21 +105,26 @@ function mouseMultiWrapper(event) { mouseDownHandler(event) } -document.addEventListener('mousemove', (event)=>{ +function mouseMoveCapture(event) { event.pointerId = 'mouse' event.inertia = event.ctrlKey ? 10 : 1 - capturedMoveHandler(event) -}, true) + pointerMoveFilter(event) +} -document.addEventListener('mouseup', (event)=>{ +function mouseUpCapture(event){ if ((event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) || event.button == 2) return event.pointerId = 'mouse' - capturedUpHandler(event) -}, true) + pointerUpFilter(event) +} // Touch events wrappers +function touchMultiWrapper(event) { + event.multitouch = true + touchDownHandler(event) +} + function touchDownHandler(event) { for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue @@ -144,12 +140,7 @@ function touchDownHandler(event) { } } -function touchMultiWrapper(event) { - event.multitouch = true - touchDownHandler(event) -} - -document.addEventListener('touchmove', (event)=>{ +function touchMoveCapture(event) { for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue var touchEvent = event.changedTouches[i] @@ -166,18 +157,39 @@ document.addEventListener('touchmove', (event)=>{ } touchEvent.pointerId = touchEvent.identifier - capturedMoveHandler(touchEvent) + pointerMoveFilter(touchEvent) } -}, true) +} -DOM.addEventListener(document, 'touchend touchcancel', (event)=>{ +function touchUpCapture(event) { for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue var touchEvent = event.changedTouches[i] touchEvent.pointerId = touchEvent.identifier - capturedUpHandler(touchEvent) + pointerUpFilter(touchEvent) } -}, true) +} + +// Callback trigger + +function triggerWidgetEvent(target, name, event) { + if (target !== null && target._drag_widget) { + target._drag_widget.trigger(name, [event]) + } else if (target !== null) { + triggerWidgetEvent(target.closest('.drag-event'), name, event) + } +} + +// init + +DOM.ready(()=>{ + + document.addEventListener('mousemove', mouseMoveCapture, true) + document.addEventListener('mouseup', mouseUpCapture, true) + document.addEventListener('touchmove', touchMoveCapture, true) + DOM.addEventListener(document, 'touchend touchcancel', touchUpCapture, true) + +}) module.exports = { @@ -194,7 +206,7 @@ module.exports = { var {element, multitouch} = options - element._widget = this + element._drag_widget = this element.style.touchAction = 'none' element.classList.add('drag-event') @@ -219,15 +231,15 @@ module.exports = { return } - element._widget = this + delete element._drag_widget element.style.touchAction = '' element.classList.remove('drag-event') if (multitouch) { - element.removeEventListener('touchstart', touchMultiWrapper) + element.removeEventListener('touchstart', touchMultiWrapper, supportsPassive ? { passive: true } : false) element.removeEventListener('mousedown', mouseMultiWrapper) } else { - element.removeEventListener('touchstart', touchDownHandler) + element.removeEventListener('touchstart', touchDownHandler, supportsPassive ? { passive: true } : false) element.removeEventListener('mousedown', mouseDownHandler) } @@ -246,8 +258,8 @@ module.exports = { element.addEventListener('disableTraversingGestures', ()=>{ - element.removeEventListener('mousedown', makeEventTraversing) - element.removeEventListener('touchstart', makeEventTraversing) + element.removeEventListener('mousedown', makeEventTraversing, supportsPassive ? { passive: true, capture:true } : true) + element.removeEventListener('touchstart', makeEventTraversing, supportsPassive ? { passive: true, capture:true } : true) }) diff --git a/src/browser/js/app/events/event-emitter.js b/src/browser/js/app/events/event-emitter.js index 3d32b936..62014efd 100644 --- a/src/browser/js/app/events/event-emitter.js +++ b/src/browser/js/app/events/event-emitter.js @@ -2,6 +2,7 @@ var WolfyEventEmitter = require('wolfy87-eventemitter'), customEvents = {} customEvents['draginit'] = customEvents['drag'] = customEvents['dragend'] = require('./drag') +customEvents['resize'] = require('./resize') module.exports = class EventEmitter extends WolfyEventEmitter { diff --git a/src/browser/js/app/events/resize.js b/src/browser/js/app/events/resize.js new file mode 100644 index 00000000..0c98ed69 --- /dev/null +++ b/src/browser/js/app/events/resize.js @@ -0,0 +1,65 @@ +var elements = [] + +function checkResizes(context){ + // Iterate over all elements to which the 'resize' event is bound. + var resizedElems = [], + cachedStyles = [] + for (var i = elements.length - 1; i >= 0; i--) { + var elem = elements[i] + + if (!context.contains(elem)) continue + + var style = window.getComputedStyle(elem), + width = parseInt(style['width']) - parseInt(style['padding-left']) - parseInt(style['padding-right']), + height = parseInt(style['height']) - parseInt(style['padding-top']) - parseInt(style['padding-bottom']) + + if (!width) continue + + // If element size has changed since the last time, update the element + // data store and trigger the 'resize' event. + if ( width != elem.resizedataw || height != elem.resizedatah ) { + elem.resizedataw = width + elem.resizedatah = height + resizedElems.push(elem) + cachedStyles.push(style) + } + } + for (var i = resizedElems.length - 1; i >= 0; i--) { + resizedElems[i]._resize_widget.trigger('resize', [{ + width: resizedElems[i].resizedataw, + height: resizedElems[i].resizedatah, + style:cachedStyles[i], + stopPropagation: true + }]) + } + +} + +window.addEventListener('resize', ()=>{checkResizes(document)}) + +module.exports = { + + setup: function(options) { + + if (!options) return + if (elements.indexOf(options.element) == -1) { + elements.push(options.element) + options.element._resize_widget = this + } + + }, + teardown: function() { + + if (!options) return + elements.push(options.element) + + if (elements.indexOf(options.element) == -1) { + elements.splice(elements.indexOf(options.element), 1) + delete options.element._resize_widget + } + + }, + + check: checkResizes + +} diff --git a/src/browser/js/app/globals.js b/src/browser/js/app/globals.js index 48337d44..0b2208e4 100644 --- a/src/browser/js/app/globals.js +++ b/src/browser/js/app/globals.js @@ -33,6 +33,5 @@ window.$ = require('jquery/dist/jquery.slim.min.js') require('./events/click') require('../libs/jquery.ui') -require('../libs/jquery.resize') require('cardinal-spline-js/curve.js') diff --git a/src/browser/js/app/ipc/callbacks.js b/src/browser/js/app/ipc/callbacks.js index 709febe3..65bad090 100644 --- a/src/browser/js/app/ipc/callbacks.js +++ b/src/browser/js/app/ipc/callbacks.js @@ -1,7 +1,7 @@ -var utils = require('../utils'), - icon = utils.icon, +var utils = require('../ui/utils'), osc = require('../osc'), session = require('../managers/session'), + widgetManager = require('../managers/widgets'), state = require('../managers/state'), editor = require('../editor/') @@ -60,16 +60,17 @@ var callbacks = module.exports = { }, error: function(data){ - utils.createPopup(icon('warning') + ' Error', data, true) + utils.createPopup(utils.icon('warning') + ' Error', data, true) }, reloadCss: function(){ var queryString = '?reload=' + new Date().getTime() - $('link[rel="stylesheet"][hot-reload]').each(function () { - this.href = this.href.replace(/\?.*|$/, queryString) + DOM.each(document, 'link[rel="stylesheet"][hot-reload]', (el)=>{ + el.href = el.href.replace(/\?.*|$/, queryString) }) + setTimeout(()=>{ - $('canvas').trigger('resize',[0,0,true]) + widgetManager.getWidgetById('root')[0].reCreateWidget() },100) GRIDWIDTH = getComputedStyle(document.documentElement).getPropertyValue("--grid-width") diff --git a/src/browser/js/app/managers/session.js b/src/browser/js/app/managers/session.js index 8cbf84ae..b9c4c98a 100644 --- a/src/browser/js/app/managers/session.js +++ b/src/browser/js/app/managers/session.js @@ -2,7 +2,9 @@ var ipc = require('../ipc/'), parser = require('../parser'), state = require('./state'), editor = require('../editor/'), - {loading, createPopup, icon} = require('../utils'), + Popup = require('../ui/popup'), + lobby = require('../ui/lobby'), + {loading, icon} = require('../ui/utils'), {saveAs} = require('file-saver') @@ -16,9 +18,14 @@ var SessionManager = class SessionManager { load(session, callback) { - $('#lobby').hide() - $('#container').empty() - var p = loading('Loading session file...') + var container = DOM.get('#container')[0] + + container.classList.remove('show') + container.innerHTML = '' + + lobby.close() + + var loader = loading('Loading session file...') setTimeout(()=>{ try { @@ -32,27 +39,25 @@ var SessionManager = class SessionManager { throw 'Malformed session file' } - parser.parse(this.session,$('#container')) + parser.parse(this.session, DOM.get('#container')[0]) } catch (err) { - p.close() - $('#lobby').show() - createPopup(icon('warning')+'  Parsing error', err,true) + loader.close() + lobby.open() + new Popup({title:icon('warning')+'  Parsing error', content: err, closable:true}) throw err } state.set(state.get(), false) - $('#lobby').remove() editor.disable() - $(window).resize() + DOM.dispatchEvent(window, 'resize') - setTimeout(function(){ - p.close() - if (!callback) return - setTimeout(function(){ - callback() - },25) - },25) - },25) + setTimeout(()=>{ + loader.close() + container.classList.add('show') + if (callback) callback() + }, 25) + + }, 25) } @@ -69,82 +74,65 @@ var SessionManager = class SessionManager { list(data) { - var lobby = $(` -
            -
            - ${PACKAGE.productName} -
            -
            - -
            `), - list = lobby.find('.list'), - footer = lobby.find('.footer'), - self = this - for (let i in data) { var max = 50 var path = data[i], file = path.split('\\').pop().split('/').pop(), length = data[i].length + path = path.replace(file,'') if (length > max - 3) { path = path.substr(0,Math.floor((path.length)/2)-(length-max)/2) + '...' + path.substr(Math.ceil((path.length)/2)+(length-max)/2, path.length) } - if (!READ_ONLY) { - } - list.append(` + lobby.list.appendChild(DOM.create(` ${file} (${path}) ${READ_ONLY? '' : ''+icon('times')+''} - `) + `)) } - lobby.find('.load').click(function(e){ + lobby.list.addEventListener('click', function(e){ e.preventDefault() e.stopPropagation() - ipc.send('sessionOpen',{path:$(this).data('session')}) - }).on('mousedown touchstart', function(e){ - if (e.type == 'mousedown') e.preventDefault() - $(this).blur() + e.target.blur() + if (e.target.hasAttribute('data-session')) { + ipc.send('sessionOpen',{path:e.target.getAttribute('data-session')}) + } else if (!READ_ONLY && e.target.tagName == 'span') { + ipc.send('sessionRemoveFromHistory',e.target.parentNode.getAttribute('data-session')) + lobby.list.removeChild(e.target.parentNode) + } }) if (!READ_ONLY) { - lobby.find('a span').click(function(e){ + var brw = lobby.footer.appendChild(DOM.create(''+icon('folder-open')+' Browse')) + var nws = lobby.footer.appendChild(DOM.create(''+icon('file')+' New')) + + brw.addEventListener('click', (e)=>{ e.stopPropagation() - ipc.send('sessionRemoveFromHistory',$(this).parent().data('session')) - $(this).parents('a').remove() + this.browse() + }) + brw.addEventListener('mousedown touchstart', function(e){ + if (e.type == 'mousedown') e.preventDefault() + e.target.blur() }) - footer.append(''+icon('folder-open')+' Browse') - footer.append(''+icon('file')+' New') - - lobby.find('.browse').click((e)=>{ + nws.addEventListener('click', (e)=>{ e.stopPropagation() - self.browse() - }).on('mousedown touchstart', function(e){ - if (e.type == 'mousedown') e.preventDefault() - $(this).blur() + this.create() }) - lobby.find('.new').click(function(e){ - e.stopPropagation() - self.create() - }).on('mousedown touchstart', function(e){ + nws.addEventListener('mousedown touchstart', (e)=>{ if (e.type == 'mousedown') e.preventDefault() - $(this).blur() + e.target.blur() }) } - $('#lobby').append(lobby) - - setTimeout(()=>{ - lobby.addClass('loaded') - }) + lobby.open() } @@ -158,9 +146,10 @@ var SessionManager = class SessionManager { browse() { - var prompt = $('') + var prompt = DOM.create('') + prompt.click() - prompt.on('change',function(e){ + prompt.addEventListener('change',function(e){ var reader = new FileReader(), file = e.target.files[0] @@ -177,9 +166,8 @@ var SessionManager = class SessionManager { create() { this.load([{}],function(){ - $('.enable-editor').click() - $('#open-toggle').trigger('fake-click') - $('.editor-root').trigger('fake-click') + require('../ui/sidepanel').open() + editor.enable() }) } diff --git a/src/browser/js/app/managers/state.js b/src/browser/js/app/managers/state.js index 34cb700d..67d0f3b6 100644 --- a/src/browser/js/app/managers/state.js +++ b/src/browser/js/app/managers/state.js @@ -72,11 +72,10 @@ var StateManager = class StateManager { load() { - var prompt = $('') + var prompt = DOM.create('') prompt.click() - - prompt.on('change',(e)=>{ + prompt.addEventListener('change',function(e){ var reader = new FileReader() diff --git a/src/browser/js/app/managers/widgets.js b/src/browser/js/app/managers/widgets.js index 36edaedb..83904b18 100644 --- a/src/browser/js/app/managers/widgets.js +++ b/src/browser/js/app/managers/widgets.js @@ -245,7 +245,11 @@ var WidgetManager = class WidgetManager extends EventEmitter { getWidgetByElement(e, filter = '') { var element = (e instanceof $ ? e[0] : e).closest('[data-widget]' + filter) - if (element) return this.widgets[element.getAttribute('data-widget')] + if (element) { + return element._widget_instance ? + element._widget_instance : + this.widgets[element.getAttribute('data-widget')] + } } } diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js index 9dcd8670..8e9cb8b7 100644 --- a/src/browser/js/app/parser.js +++ b/src/browser/js/app/parser.js @@ -1,6 +1,6 @@ var widgetManager = require('./managers/widgets'), stateManager = require('./managers/state'), - {iconify} = require('./utils') + {iconify} = require('./ui/utils') var Parser = class Parser { @@ -68,20 +68,20 @@ var Parser = class Parser { } // create container - var widgetContainer = $(` + var widgetContainer = DOM.create(`
            -
            +
            - `) + `) // create widget var widgetInner = new this.widgets[props.type]({props:props, container:widgetContainer, parent:parentWidget, parentNode:parentNode}) - widgetContainer[0].appendChild(widgetInner.widget[0]) + widgetContainer.appendChild(widgetInner.widget) widgetManager.addWidget(widgetInner) - widgetContainer[0].setAttribute('data-widget', widgetInner.hash) + widgetContainer.setAttribute('data-widget', widgetInner.hash) widgetInner.created() @@ -107,18 +107,18 @@ var Parser = class Parser { styleL = widgetInner.getProp('left') && widgetInner.getProp('left') != 'auto'|| widgetInner.getProp('left') == 0 ?`left: ${geometry.left};` : '', styleT = widgetInner.getProp('top') && widgetInner.getProp('top') != 'auto'|| widgetInner.getProp('top') == 0 ? `top: ${geometry.top};` : '' - if (styleL.length || styleT.length) widgetContainer.addClass('absolute-position') + if (styleL.length || styleT.length) widgetContainer.classList.add('absolute-position') // Hide label if false if (widgetInner.getProp('label')===false) { - widgetContainer.addClass('nolabel') + widgetContainer.classList.add('nolabel') } else { // Generate label, iconify if starting with "icon:" var label = widgetInner.getProp('label') == 'auto'? widgetInner.getProp('id'): iconify(widgetInner.getProp('label')) - widgetContainer.find('> .label').html(label) + DOM.get(widgetContainer, '> .label')[0].innerHTML = label } // parse css @@ -137,17 +137,17 @@ var Parser = class Parser { }) // apply styles - widgetContainer[0].setAttribute('style', styleW + styleH + styleL + styleT + css) + widgetContainer.setAttribute('style', styleW + styleH + styleL + styleT + css) // apply scoped css if (scopedCss.length) { - widgetContainer.attr('id', 'widget-' + widgetInner.hash) + widgetContainer.setAttribute('id', 'widget-' + widgetInner.hash) scopedCss = scopedCss.split('&').join('#widget-' + widgetInner.hash) - widgetContainer.prepend(``) + widgetContainer.insertBefore(DOM.create(``), widgetInner.widget) } // Set custom css color variable - if (widgetInner.getProp('color') && widgetInner.getProp('color')!='auto') widgetContainer[0].style.setProperty('--color-custom',widgetInner.getProp('color')) + if (widgetInner.getProp('color') && widgetInner.getProp('color')!='auto') widgetContainer.style.setProperty('--color-custom',widgetInner.getProp('color')) // set widget's initial state if (widgetInner.getProp('value') !== '' && widgetInner.setValue) { @@ -156,7 +156,7 @@ var Parser = class Parser { } // Append the widget to its parent - parentNode[0].appendChild(widgetContainer[0]) + parentNode.appendChild(widgetContainer) } // Editor needs to get the container object diff --git a/src/browser/js/app/remote-control.js b/src/browser/js/app/remote-control.js index 630729cd..fd91f7b7 100644 --- a/src/browser/js/app/remote-control.js +++ b/src/browser/js/app/remote-control.js @@ -142,7 +142,9 @@ var callbacks = { for (let id of args) { let ws = widgetManager.getWidgetById(id) for (let w of ws) { - $(`.tablink[data-widget="${w.hash}"]`).trigger('fake-click') + DOM.each(document, `.tablink[data-widget="${w.hash}"]`, (el)=>{ + DOM.dispatchEvent(el, 'fake-click') + }) } } diff --git a/src/browser/js/app/ui/index.js b/src/browser/js/app/ui/init.js similarity index 59% rename from src/browser/js/app/ui/index.js rename to src/browser/js/app/ui/init.js index 309195a6..5de4d1fb 100644 --- a/src/browser/js/app/ui/index.js +++ b/src/browser/js/app/ui/init.js @@ -1,2 +1,3 @@ require('./zoom') +require('./lobby').create() require('./sidepanel') diff --git a/src/browser/js/app/ui/lobby.js b/src/browser/js/app/ui/lobby.js new file mode 100644 index 00000000..d3ce33da --- /dev/null +++ b/src/browser/js/app/ui/lobby.js @@ -0,0 +1,49 @@ +class Lobby { + + constructor() { + + this.state = 0 + + } + + create() { + + this.html = DOM.create(` +
            +
            +
            + ${PACKAGE.productName} +
            +
            + +
            +
            + `) + + this.main = DOM.get(this.html, '.main')[0] + this.list = DOM.get(this.html, '.list')[0] + this.footer = DOM.get(this.html, '.footer')[0] + + } + + open() { + if (this.state) return + this.state = 1 + document.body.appendChild(this.html) + setTimeout(()=>{ + this.main.classList.add('show') + }) + } + + close() { + if (!this.state) return + this.state = 0 + this.main.classList.remove('show') + document.body.removeChild(this.html) + } + +} + +var lobby = new Lobby() + +module.exports = lobby diff --git a/src/browser/js/app/ui/popup.js b/src/browser/js/app/ui/popup.js new file mode 100644 index 00000000..1e455c48 --- /dev/null +++ b/src/browser/js/app/ui/popup.js @@ -0,0 +1,60 @@ +var {icon} = require('./utils') + +module.exports = class Popup { + + constructor(options) { + + this.closable = options.closable + this.escKey = options.closable || options.escKey + this.enterKey = options.enterKey + this.content = options.content + this.title = options.title + + this.html = DOM.create(` + + `) + + if (this.closable) { + DOM.get(this.html, '.popup-title .closer')[0].addEventListener('fake-click', ()=>{ + this.close() + }) + } + + if (this.escKey) { + this.escKeyHandler = ((e)=>{ + if (e.keyCode==27) this.close() + }).bind(this) + } + + if (this.enterKey) { + this.enterKeyHandler = ((e)=>{ + if (e.keyCode == 13) this.enterKey.call(this, e) + }).bind(this) + } + + this.open() + + + } + + + + close() { + if (this.escKey) document.removeEventListener('keydown', this.escKeyHandler) + if (this.enterKey) document.removeEventListener('keydown', this.enterKeyHandler) + document.body.removeChild(this.html) + } + + open() { + if (this.escKey) document.addEventListener('keydown', this.escKeyHandler) + if (this.enterKey) document.addEventListener('keydown', this.enterKeyHandler) + document.body.appendChild(this.html) + } +} diff --git a/src/browser/js/app/ui/sidepanel.js b/src/browser/js/app/ui/sidepanel.js index efe777de..e2370fc4 100644 --- a/src/browser/js/app/ui/sidepanel.js +++ b/src/browser/js/app/ui/sidepanel.js @@ -1,7 +1,7 @@ var state = require('../managers/state'), session = require('../managers/session'), editor = require('../editor/'), - icon = require('../utils').icon, + {icon} = require('./utils'), fullscreen = require('screenfull'), {enableTraversingGestures, disableTraversingGestures} = require('../events/drag') @@ -123,7 +123,7 @@ for (let i in sidepanelData) { let actionData = data.actions[j], element = DOM.create(`${actionData.title}`) - if (actionData.action) element.addEventListener('fake-click', actionData.action) + if (actionData.action) element.addEventListener('click', actionData.action) wrapper.appendChild(element) } @@ -166,13 +166,16 @@ if (fullscreen.enabled) { function sidepanelOpen() { - DOM.get('#open-toggle, #sidepanel, #container').forEach((el)=>{ + DOM.get('#open-toggle, #sidepanel').forEach((el)=>{ el.classList.add('sidepanel-open') }) setTimeout(function(){ - $(window).resize() - }, 275) + DOM.get('#container')[0].classList.add('sidepanel-open') + setTimeout(function(){ + DOM.dispatchEvent(window, 'resize') + }, 25) + }, 250) } @@ -183,7 +186,7 @@ function sidepanelClose() { }) setTimeout(function(){ - $(window).resize() + DOM.dispatchEvent(window, 'resize') }, 25) } diff --git a/src/browser/js/app/ui/utils.js b/src/browser/js/app/ui/utils.js new file mode 100644 index 00000000..6ff4785a --- /dev/null +++ b/src/browser/js/app/ui/utils.js @@ -0,0 +1,19 @@ +var Popup = require('./popup') + +module.exports = { + + loading: function(title){ + return new Popup({ + title: title, + content: '

            ', + closable: false + }) + }, + icon: function(i) { + return `` + }, + iconify:function(string){ + return String(string).replace(/\^[^\s]*/g,(x)=>{return module.exports.icon(x.substring(1))}) + } + +} diff --git a/src/browser/js/app/ui/zoom.js b/src/browser/js/app/ui/zoom.js index a74aa74c..f0512a45 100644 --- a/src/browser/js/app/ui/zoom.js +++ b/src/browser/js/app/ui/zoom.js @@ -8,7 +8,7 @@ document.addEventListener('mousewheel', function(event) { PXSCALE = parseFloat(d)+parseFloat(PXSCALE) document.documentElement.style.setProperty('font-size', PXSCALE + 'px') - $(window).resize() + DOM.dispatchEvent(window, 'resize') } }) @@ -17,6 +17,6 @@ document.addEventListener('keydown', function(event){ PXSCALE = INITIALZOOM document.documentElement.style.setProperty('font-size', PXSCALE + 'px') - $(window).resize() + DOM.dispatchEvent(window, 'resize') } }) diff --git a/src/browser/js/app/utils.js b/src/browser/js/app/utils.js deleted file mode 100644 index 56cf334e..00000000 --- a/src/browser/js/app/utils.js +++ /dev/null @@ -1,43 +0,0 @@ -module.exports = { - - createPopup: function(title,content,closable) { - - var popup = $(` - `), - closer = popup.find('.popup-title .closer') - - if (closable) { - closer.click(function(){ - popup.close() - }) - $(document).on('keydown.popup', function(e){ - if (e.keyCode==27) popup.close() - }) - } - - popup.close = function(){ - $(document).off('.popup') - popup.remove() - } - - popup.find('.popup-content').append(content) - $('body').append(popup) - - return popup - }, - loading: function(title){ - return module.exports.createPopup(title,'

            ', false) - }, - icon: function(i) { - return `` - }, - iconify:function(string){ - return String(string).replace(/\^[^\s]*/g,(x)=>{return module.exports.icon(x.substring(1))}) - } - -} diff --git a/src/browser/js/app/widgets/buttons/dropdown.js b/src/browser/js/app/widgets/buttons/dropdown.js index 67cbe85f..26c88869 100644 --- a/src/browser/js/app/widgets/buttons/dropdown.js +++ b/src/browser/js/app/widgets/buttons/dropdown.js @@ -1,5 +1,5 @@ var _widgets_base = require('../common/_widgets_base'), - {iconify} = require('../../utils') + {iconify} = require('../../ui/utils') module.exports = class Dropdown extends _widgets_base { @@ -42,24 +42,24 @@ module.exports = class Dropdown extends _widgets_base { super({...options, html: '
            '}) - this.select = $(``).appendTo(this.widget) + this.select = this.widget.appendChild(DOM.create(``)) this.values = [] var i = 0 for (var k in this.getProp('values')) { this.values[i] = this.getProp('values')[k] - this.select.append(``) + this.select.innerHTML += `` i++ } - this.select.change(()=>{ - this.setValue(this.values[this.select[0].selectedIndex], {sync:true, send:true, fromLocal:true}) + this.select.addEventListener('change', ()=>{ + this.setValue(this.values[this.select.selectedIndex], {sync:true, send:true, fromLocal:true}) }) this.value = undefined - this.select[0].selectedIndex = -1 - this.container.addClass('noselect') + this.select.selectedIndex = -1 + this.container.classList.add('noselect') } @@ -72,12 +72,12 @@ module.exports = class Dropdown extends _widgets_base { if (!options.fromLocal) this.select[0].selectedIndex = i if (options.send) this.sendValue() if (options.sync) this.changed(options) - this.container.removeClass('noselect') + this.container.classList.remove('noselect') } else { this.value = undefined this.select[0].selectedIndex = -1 if (options.sync) this.changed(options) - this.container.addClass('noselect') + this.container.classList.add('noselect') } }} diff --git a/src/browser/js/app/widgets/buttons/push.js b/src/browser/js/app/widgets/buttons/push.js index dee60f48..87976952 100644 --- a/src/browser/js/app/widgets/buttons/push.js +++ b/src/browser/js/app/widgets/buttons/push.js @@ -50,13 +50,11 @@ module.exports = class Push extends _widgets_base { this.on('draginit',()=>{ if (this.active) return this.setValuePrivate(this.getProp('on'),{send:true,sync:true}) - }, {element: this.widget[0]}) + }, {element: this.widget}) this.on('dragend',()=>{ this.setValuePrivate(this.getProp('off'),{send:true,sync:true}) - }, {element: this.widget[0]}) - - this.classHolders = this.widget.add(this.container) + }, {element: this.widget}) this.value = this.getProp('off') @@ -76,14 +74,14 @@ module.exports = class Push extends _widgets_base { if (typeof v == 'object' && v !== null) v = v.value if (v===this.getProp('on') || (this.getProp('on') != null && v === this.getProp('on').value && v !== undefined)) { - this.widget.addClass('active') + this.widget.classList.add('active') this.active = 1 this.lastChanged = 'active' this.updateValue() if (options.send) this.sendValue(v) if (options.sync) this.changed(options) } else if (v===this.getProp('off') || (this.getProp('off') != null && v === this.getProp('off').value && v !== undefined)) { - this.widget.removeClass('active') + this.widget.classList.remove('active') this.active = 0 this.lastChanged = 'active' this.updateValue() @@ -101,13 +99,15 @@ module.exports = class Push extends _widgets_base { } if (typeof v == 'object' && v !== null) v = v.value if (v===this.getProp('on') || (this.getProp('on') != null && v === this.getProp('on').value && v !== undefined)) { - this.classHolders.addClass('on') + this.widget.classList.add('on') + this.container.classList.add('on') this.state = 1 if (options.send) this.sendValue(v) this.lastChanged = 'state' if (options.sync) this.changed(options) } else if (v===this.getProp('off') || (this.getProp('off') != null && v === this.getProp('off').value && v !== undefined)) { - this.classHolders.removeClass('on') + this.widget.classList.remove('on') + this.container.classList.remove('on') this.state = 0 if (options.send) this.sendValue(v) this.lastChanged = 'state' diff --git a/src/browser/js/app/widgets/buttons/switch.js b/src/browser/js/app/widgets/buttons/switch.js index 974c9fef..86f6f946 100644 --- a/src/browser/js/app/widgets/buttons/switch.js +++ b/src/browser/js/app/widgets/buttons/switch.js @@ -1,6 +1,5 @@ var _widgets_base = require('../common/_widgets_base'), - {iconify} = require('../../utils'), - $document = $(document) + {iconify} = require('../../ui/utils') module.exports = class Switch extends _widgets_base { @@ -47,7 +46,7 @@ module.exports = class Switch extends _widgets_base { super({...options, html: '
            '}) - if (this.getProp('horizontal')) this.widget.addClass('horizontal') + if (this.getProp('horizontal')) this.widget.classList.add('horizontal') this.values = [] @@ -60,7 +59,9 @@ module.exports = class Switch extends _widgets_base { var label = isArray ? this.getProp('values')[k]: k if (this.getProp('showValues') && !isArray) label = label + ': ' + this.getProp('values')[k] - $(`
            ${iconify(label)}
            `).data({value:this.getProp('values')[k]}).appendTo(this.widget) + this.widget.appendChild(DOM.create(` +
            ${iconify(label)}
            + `)) } @@ -69,10 +70,10 @@ module.exports = class Switch extends _widgets_base { this.on('draginit',(e)=>{ var index = 0, - node = e.changedTarget || e.target + node = e.target while ( (node = node.previousSibling) ) { - if (node.nodeType != 3 || !/^\s*$/.test(node.data)) { + if (node.nodeType != 3) { index++; } } @@ -81,21 +82,22 @@ module.exports = class Switch extends _widgets_base { if (value!=this.value || this.value===undefined) this.setValue(value,{sync:true,send:true}) - }, {element: this.widget[0]}) + }, {element: this.widget}) } setValue(v,options={}) { var i = this.values.indexOf(v) + + DOM.each(this.widget, '.on', (el)=>{el.classList.remove('on')}) + if (i!=-1) { this.value = this.values[i] - this.widget.find('.on').removeClass('on') - this.widget.find('.value').eq(i).addClass('on') + DOM.get(this.widget, '.value')[i].classList.add('on') if (options.send) this.sendValue(this.value) if (options.sync) this.changed(options) } else { - this.widget.find('.on').removeClass('on') this.value = undefined if (options.sync) this.changed(options) } diff --git a/src/browser/js/app/widgets/buttons/toggle.js b/src/browser/js/app/widgets/buttons/toggle.js index f219f637..08014b63 100644 --- a/src/browser/js/app/widgets/buttons/toggle.js +++ b/src/browser/js/app/widgets/buttons/toggle.js @@ -49,7 +49,7 @@ module.exports = class Toggle extends _widgets_base { this.state = 0 this.active = false - if (this.getProp('led')) this.container.addClass('led') + if (this.getProp('led')) this.container.classList.add('led') if (this.getProp('doubleTap')) { @@ -65,16 +65,14 @@ module.exports = class Toggle extends _widgets_base { this.active = true var newVal = this.state?this.getProp('off'):this.getProp('on') this.setValue(newVal,{sync:true,send:true}) - }, {element: this.widget[0]}) + }, {element: this.widget}) this.on('dragend',()=>{ this.active = false - }, {element: this.widget[0]}) + }, {element: this.widget}) } - this.classHolders = this.widget.add(this.container) - this.value = this.getProp('off') } @@ -82,12 +80,14 @@ module.exports = class Toggle extends _widgets_base { setValue(v,options={}) { if (v===this.getProp('on') || (this.getProp('on') != null && v.value === this.getProp('on').value && v.value !== undefined)) { - this.classHolders.addClass('on') + this.widget.classList.add('on') + this.container.classList.add('on') this.state = 1 this.value = this.getProp('on') if (options.send) this.sendValue() } else if (v===this.getProp('off') || (this.getProp('off') != null && v.value === this.getProp('off').value && v.value !== undefined)) { - this.classHolders.removeClass('on') + this.widget.classList.remove('on') + this.container.classList.remove('on') this.state = 0 this.value = this.getProp('off') if (options.send) this.sendValue() diff --git a/src/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js index a9663ff9..a4917939 100644 --- a/src/browser/js/app/widgets/common/_canvas_base.js +++ b/src/browser/js/app/widgets/common/_canvas_base.js @@ -65,8 +65,8 @@ module.exports = class _canvas_base extends _widgets_base { super(options) - this.canvas = this.widget.find('canvas') - this.ctx = this.canvas[0].getContext('2d') + this.canvas = DOM.get(this.widget, 'canvas')[0] + this.ctx = this.canvas.getContext('2d') this.height = undefined this.width = undefined @@ -79,7 +79,7 @@ module.exports = class _canvas_base extends _widgets_base { this.colors = {} this.textColor = getComputedStyle(document.documentElement).getPropertyValue('--color-text-fade') - this.canvas.on('resize',this.resizeHandleProxy.bind(this)) + this.on('resize', this.resizeHandleProxy.bind(this), {element: this.canvas}) this.ctx.arc = (x, y, r, s, e, c)=>{ @@ -95,19 +95,18 @@ module.exports = class _canvas_base extends _widgets_base { } - resizeHandle(e, width, height, checkColors){ + resizeHandle(event){ - var width = width, - height = height, + var {width, height, style, checkColors} = event, ratio = CANVAS_SCALING * this.scaling if (width && height) { - this.height=height - this.width=width + this.height = height + this.width = width - this.canvas[0].setAttribute('width',width * ratio) - this.canvas[0].setAttribute('height',height * ratio) + this.canvas.setAttribute('width', width * ratio) + this.canvas.setAttribute('height', height * ratio) this.clearRect = [] @@ -118,8 +117,6 @@ module.exports = class _canvas_base extends _widgets_base { } - var style = getComputedStyle(this.widget[0]) - if (!this.visible || checkColors) { this.visible = true this.colors.custom = style.getPropertyValue('--color-custom') diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js index 24205c3c..ef0a75bb 100644 --- a/src/browser/js/app/widgets/common/_widgets_base.js +++ b/src/browser/js/app/widgets/common/_widgets_base.js @@ -5,6 +5,12 @@ var EventEmitter = require('../../events/event-emitter'), updateWidget = function(){ updateWidget = require('../../editor/data-workers').updateWidget; updateWidget(...arguments)} +var fallbackContainer + +DOM.ready(()=>{ + fallbackContainer = DOM.create('
            ') +}) + module.exports = class _widgets_base extends EventEmitter { static defaults() { @@ -22,16 +28,17 @@ module.exports = class _widgets_base extends EventEmitter { super() - this.container = options.container - this.widget = $(options.html) + this.container = options.container || fallbackContainer + this.widget = DOM.create(options.html) this.props = options.props this.parent = options.parent this.parentNode = options.parentNode this.hash = _widgets_base.createHash() this.childrenHashes = [] - if (this.container) { - this.container.attr('data-widget', this.hash) + if (options.container) { + this.container.setAttribute('data-widget', this.hash) + this.container._widget_instance = this } // Turn preArgs into array diff --git a/src/browser/js/app/widgets/containers/clone.js b/src/browser/js/app/widgets/containers/clone.js index f1edb0ed..e8f41483 100644 --- a/src/browser/js/app/widgets/containers/clone.js +++ b/src/browser/js/app/widgets/containers/clone.js @@ -63,8 +63,8 @@ module.exports = class Clone extends _widgets_base { this.cloneLock = true - this.widget.empty() - this.container.removeClass(this.cloneClass) + this.widget.innerHTML = '' + if (this.cloneClass) this.container.classList.remove(this.cloneClass) purge(this.childrenHashes) var widgets = widget ? [widget] : widgetManager.getWidgetById(this.getProp('widgetId')) @@ -75,12 +75,12 @@ module.exports = class Clone extends _widgets_base { if (!(widgets[i].parent && widgets[i].parent.getProp('type') == 'clone')) { - this.cloneClass = widgets[i].container.attr('class').match(/[^\s]*-container/)[0] - this.container.addClass(this.cloneClass) + this.cloneClass = widgets[i].container.getAttribute('class').match(/[^\s]*-container/)[0] + this.container.classList.add(this.cloneClass) parser.parse([{..._widgets_base.deepCopy(widgets[i].props), ...this.getProp('props')}], this.widget, this) - this.widget.find('.widget').addClass('not-editable') + DOM.each(this.widget, '.widget', (el)=>{el.classList.add('not-editable')}) widgets[i].once(`widget-created.${this.hash}`, (e)=>{ this.createClone() diff --git a/src/browser/js/app/widgets/containers/modal.js b/src/browser/js/app/widgets/containers/modal.js index 34d7120c..38742c49 100644 --- a/src/browser/js/app/widgets/containers/modal.js +++ b/src/browser/js/app/widgets/containers/modal.js @@ -1,5 +1,5 @@ var Panel = require('./panel'), - {icon, iconify} = require('../../utils'), + {icon, iconify} = require('../../ui/utils'), doubletab = require('../mixins/double_tap') @@ -57,7 +57,7 @@ module.exports = class Modal extends Panel { super(options) - this.popup = $(` + this.popup = DOM.create(` @@ -39,8 +39,10 @@ class UiInspector extends UiWidget { this.toolbarBtns = {} DOM.each(this.toolbar, '.btn', (item)=>{ var action = item.getAttribute('data-action') - item.setAttribute('title', locales('inspector_' + action.replace('-', '_'))) - this.toolbarBtns[action] = item + if (action) { + if (action !== 'selected-id') item.setAttribute('title', locales('inspector_' + action.replace('-', '_'))) + this.toolbarBtns[action] = item + } }) zoom.on('local-zoom-changed',()=>{ this.toolbarBtns['zoom-out'].classList.toggle('active', zoom.localZoom < 1) @@ -163,6 +165,7 @@ class UiInspector extends UiWidget { this.clearTimeout = setTimeout(()=>{ this.widget = null this.content.innerHTML = '' + this.toolbarBtns['selected-id'].firstChild.innerHTML = '' this.mounted = false this.clearTimeout = null this.colorPicker.close() @@ -259,6 +262,8 @@ class UiInspector extends UiWidget { morph(this.content, content) + this.toolbarBtns['selected-id'].firstChild.innerHTML = widgets.map(x=>x.getProp('id')).join(', ') + if (codeEditorFields.length) { let fields = DOM.get(this.container, '.has-editor') for (var i in codeEditorFields) { diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 323e1586..5c660d49 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -46,6 +46,10 @@ osc-panel-container.right.editor-breakout { align-items: center; justify-content: center; display: flex; + span{ + overflow: hidden; + text-overflow: ellipsis; + } i { pointer-events: none; } @@ -64,8 +68,9 @@ osc-panel-container.right.editor-breakout { transform: rotate(45deg); } } - .spacer { - flex: 1 + [data-action="selected-id"] { + flex: 1; + cursor: default; } } From 3a9882313cd692d1761a28a75b7f0cc2afc49567 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 10 Mar 2023 11:18:09 +0100 Subject: [PATCH 5077/5759] keyboard: incoming values different than the `off` property are now interpreted as `on` --- CHANGELOG.md | 3 +++ src/client/widgets/containers/keyboard.js | 9 ++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7b08f3d..ac64ae00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - linkId not working between two encoder widgets - fader: `gradient` breakpoints not positioned correctly +- widgets + - keyboard: incoming values different than the `off` property are now interpreted as `on` + - editor - when focusing the label property with `F2`, select all text in the text area - preserve scroll position in code editor when validating diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index a8d7bf5a..47c238fb 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -46,7 +46,7 @@ class Keyboard extends Panel { value: { value: {type: 'array', value: '', help: [ 'The keyboard widget accepts the following values:', - '- a `[note, value]` array to set the value of a single key where `note` is the note number and `value` is equal to the `on` or `off` property.', + '- a `[note, value]` array to set the value of a single key where `note` is the note number and `value` depends on the `on` and `off` properties (any value different from `off` will be interpreted as `on`).', '- an array of values with one item per key in the keyboard' ]} }, @@ -164,18 +164,17 @@ class Keyboard extends Panel { if (v.length === this.children.length) { for (var i = 0; i < this.children.length; i++){ - this.children[i].setValue(v[i] === this.getProp('on') ? 1 : 0, options) + this.children[i].setValue(v[i] !== this.getProp('off') ? 1 : 0, options) } } else if ( v.length === 2 && - v[0] >= parseInt(this.getProp('start')) && v[0] < 128 && - (v[1] === this.getProp('on') || v[1] === this.getProp('off')) + v[0] >= parseInt(this.getProp('start')) && v[0] < 128 ) { var index = v[0] - parseInt(this.getProp('start')) if (this.children[index]) { - this.children[index].setValue(v[1] === this.getProp('on') ? 1 : 0, options) + this.children[index].setValue(v[1] !== this.getProp('off') ? 1 : 0, options) } } From ba07e014acbfcdd93e0e5b2d3e0d734f5cf5047d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 11 Mar 2023 23:04:23 +0100 Subject: [PATCH 5078/5759] canvas: `onDraw()` called twice when calling `updateCanvas()` --- CHANGELOG.md | 1 + src/client/widgets/pads/canvas.js | 2 -- src/client/widgets/scripts/script-vm.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac64ae00..0f2183ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - linkId not working between two encoder widgets - fader: `gradient` breakpoints not positioned correctly + - canvas: `onDraw()` called twice when calling `updateCanvas()` - widgets - keyboard: incoming values different than the `off` property are now interpreted as `on` diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index 087806b7..9ef4dec0 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -172,8 +172,6 @@ class CanvasWidget extends Canvas { cssVars: this.cssVars }, {sync: false, send: false}) - this.batchDraw() - } extraResizeHandle(event) { diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 3b1d7920..a4440613 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -234,7 +234,7 @@ class ScriptVm extends Vm { var widgets = this.resolveId(id) for (var i = widgets.length - 1; i >= 0; i--) { - if (widgets[i].batchDraw) widgets[i].draw() + if (widgets[i].batchDraw) widgets[i].batchDraw() } From 8861c3d3a9132d55366545ca74b4f44559b0e897 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 15 Mar 2023 08:41:30 +0100 Subject: [PATCH 5079/5759] docs: midi rpn nrpn --- CHANGELOG.md | 5 ++++- .../docs/docs/midi/midi-configuration.md | 5 +++++ resources/docs/docs/midi/midi-messages.md | 21 +++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f2183ef..50ef8ba1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,15 @@ # Changelog -## 1.22.1 +## 1.23.0 - bug fixes - linkId not working between two encoder widgets - fader: `gradient` breakpoints not positioned correctly - canvas: `onDraw()` called twice when calling `updateCanvas()` +- midi + - optional rpn/nrpn parsing as single messages + - widgets - keyboard: incoming values different than the `off` property are now interpreted as `on` diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 46c2f7ba..d5a7cf1f 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -77,6 +77,11 @@ Enable parsing of system exclusive messages (disabled by default). Enable parsing of midi time code messages (disabled by default). +**`rpn`** + +Enable sending and receiving [RPN/NRPN](https://en.wikipedia.org/wiki/NRPN) controls on as single `/rpn` / `/nrpn` messages instead of 3 or 4 control changes that constitute them. + + **`active_sensing`** Enable parsing of midi active sensing messages (disabled by default). Active sensing messages will be received as sysex. diff --git a/resources/docs/docs/midi/midi-messages.md b/resources/docs/docs/midi/midi-messages.md index f3e83dd0..e189dcfe 100644 --- a/resources/docs/docs/midi/midi-messages.md +++ b/resources/docs/docs/midi/midi-messages.md @@ -107,3 +107,24 @@ Polyphonic key pressure event. - `pressure`: integer between 0 and 127 ---- + + +#### `/rpn channel rpn value` + +Registered Parameter Number event. + +- `channel`: integer between 1 and 16 +- `rpn`: integer between 0 and 16383 +- `value`: integer between 0 and 16383 + +---- + +#### `/nrpn channel nrpn value` + +Non-Registered Parameter Number event. + +- `channel`: integer between 1 and 16 +- `nrpn`: integer between 0 and 16383 +- `value`: integer between 0 and 16383 + +---- From 9b2fa156acb59db1eba55aeccfd86da9d5554179 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 15 Mar 2023 08:42:05 +0100 Subject: [PATCH 5080/5759] midi: bump version --- src/python/midi.py | 2 +- src/server/midi.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/midi.py b/src/python/midi.py index 1fcd36f7..75080ac1 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -4,7 +4,7 @@ from utils import * from mtc import * from rpn import * -ipc_send('version', '1.17.1') +ipc_send('version', '1.23.0') argv = argv[argv.index('--params') + 1:] diff --git a/src/server/midi.js b/src/server/midi.js index d614f9fa..de2ffd22 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -5,7 +5,7 @@ var {PythonShell} = require('python-shell'), // last o-s-c version that changed midi sources // must match version in midi.py / bundled midi executable -var midiVersion = '1.17.1' +var midiVersion = '1.23.0' var pythonOptions = { scriptPath:__dirname, From abd51a323ae4c0d996225bf8398b80aeee9d5568 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 15 Mar 2023 08:42:31 +0100 Subject: [PATCH 5081/5759] package: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bf72425e..663e2f85 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.22.1", + "version": "1.23.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From bb42439cafd09ac21f9c112e4fd4ca8ed78b6dae Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 15 Mar 2023 08:42:54 +0100 Subject: [PATCH 5082/5759] docs: update widget ref --- resources/docs/docs/widgets/properties-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index cd33bb85..83031f38 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -14,7 +14,7 @@ | --- | --- | --- | --- | |
            lock#
            | `boolean` | false | Set to `true` to prevent modifying this widget with the editor. This will not prevent deleting the widget or moving it from a container to another. | |
            type#
            | `string` | "auto" | Widget type | - |
            id#
            | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. | + |
            id#
            | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages (avoid doing so unless the widgets expect the exact same values). | |
            visible#
            | `boolean` | true | Set to `false` to hide the widget. | |
            interaction#
            | `boolean` | true | Set to `false` to disable pointer interactions. | |
            comments#
            | `string` | "" | User comments. | @@ -396,7 +396,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
            value#
            | `array` | "" | The keyboard widget accepts the following values:
            - a `[note, value]` array to set the value of a single key where `note` is the note number and `value` is equal to the `on` or `off` property.
            - an array of values with one item per key in the keyboard | + |
            value#
            | `array` | "" | The keyboard widget accepts the following values:
            - a `[note, value]` array to set the value of a single key where `note` is the note number and `value` depends on the `on` and `off` properties (any value different from `off` will be interpreted as `on`).
            - an array of values with one item per key in the keyboard | ??? api "
            patchbay#
            " Connect inputs to outputs. From 94972593227860a5c3266f03ced0932869202dc7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 15 Mar 2023 10:20:00 +0100 Subject: [PATCH 5083/5759] lint: bad space --- src/client/ui/ui-code-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/ui-code-editor.js b/src/client/ui/ui-code-editor.js index 9b5c0083..0b8107aa 100644 --- a/src/client/ui/ui-code-editor.js +++ b/src/client/ui/ui-code-editor.js @@ -202,7 +202,7 @@ class CodeEditor { } fullscreen() { -
 + this.editor.fullscreen = this.field.classList.toggle('fullscreen') this.editor.setOptions({maxLines: this.editor.fullscreen ? 0 : 30}) this.field.style.setProperty('--prefix', this.editor.fullscreen ? '"' + this.widget.getProp('id') + '."' : '') From cc953f6434e03236a2e280054db29d2965e1462f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 15 Mar 2023 10:25:53 +0100 Subject: [PATCH 5084/5759] travis: missing mkdocs apparently --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 6e583f32..7989c16c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ before_install: - sudo dpkg --add-architecture i386 - sudo apt-get update -qq - sudo apt-get install -qq wine fakeroot xvfb python3.10 python3-pip python3-setuptools + - sudo python3 -m pip install mkdocs - sudo python3 -m pip install mkdocs-material install: npm install before_deploy: From 42088de1408b8295bd6d9f13d20bdcf703747915 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 15 Mar 2023 18:10:54 +0100 Subject: [PATCH 5085/5759] traavis: messing around --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7989c16c..141d9510 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,8 @@ before_install: - sudo dpkg --add-architecture i386 - sudo apt-get update -qq - sudo apt-get install -qq wine fakeroot xvfb python3.10 python3-pip python3-setuptools - - sudo python3 -m pip install mkdocs - - sudo python3 -m pip install mkdocs-material + - python3 -m pip install mkdocs + - python3 -m pip install mkdocs-material install: npm install before_deploy: deploy: From 7d7ec962b9c96074bc0dadc055a1656036e2a55f Mon Sep 17 00:00:00 2001 From: Stefan Boca Date: Sun, 26 Mar 2023 09:29:31 -0700 Subject: [PATCH 5086/5759] package: build rpm packages --- .travis.yml | 6 ++++-- package.json | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 141d9510..cc76891a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ node_js: before_install: - sudo dpkg --add-architecture i386 - sudo apt-get update -qq - - sudo apt-get install -qq wine fakeroot xvfb python3.10 python3-pip python3-setuptools + - sudo apt-get install -qq wine fakeroot xvfb python3.10 python3-pip python3-setuptools rpm - python3 -m pip install mkdocs - python3 -m pip install mkdocs-material install: npm install @@ -33,11 +33,13 @@ before_deploy: - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR - npm run deb64 + - npm run rpm64 - cd dist - mkdir packages - mv open-stage-control-node open-stage-control_${VERSION}_node - mv open-stage-control-win32-x64 open-stage-control_${VERSION}_win32-x64 - - mv open-stage-control-linux-x64/*.deb packages/open-stage-control_${VERSION}_amd64.deb + - mv open-stage-control-linux-x64/*.deb packages/ + - mv open-stage-control-linux-x64/*.rpm packages/ - mv open-stage-control-linux-x64 open-stage-control_${VERSION}_linux-x64 - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx.zip open-stage-control-darwin-x64/open-stage-control.app - zip -q -r packages/open-stage-control_${VERSION}_node.zip open-stage-control_${VERSION}_node diff --git a/package.json b/package.json index 663e2f85..8b9649a8 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,8 @@ }, "optionalDependencies": { "electron": "15.1.0", - "electron-installer-debian": "3.1.0" + "electron-installer-debian": "3.1.0", + "electron-installer-redhat": "3.4.0" }, "scripts": { "postinstall": "echo '\\033[36m=> Dependencies installed successfully. Run \"npm run build\" to build the assets.\\033[0m\n'", @@ -91,6 +92,7 @@ "package": "node scripts/package.js", "package-node": "node scripts/package-node.js", "deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png", + "rpm64": "electron-installer-redhat --src dist/open-stage-control-linux-x64/ --arch x86_64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png", "build-css": "node scripts/build-css.js", "build-js": "npm run build-launcher-js && npm run build-client-js && npm run build-server-js", "build-client-js": "node scripts/build-client.js", From fe682693b1d165ee20eb6adfcf764af2a4dea731 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Apr 2023 18:56:12 +0200 Subject: [PATCH 5087/5759] widgets: circular value feedback issues --- CHANGELOG.md | 5 +++++ src/client/widgets/common/widget.js | 18 +++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50ef8ba1..3bdcff23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.23.1 + +- bug fixes + - widgets: circular value feedback issues + ## 1.23.0 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 6dea7613..7aef53fc 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -198,6 +198,9 @@ class Widget extends EventEmitter { this.mounted = false this.visible = true + this.isValueChanging = false + this.valueChangingTimeout = null + this.parsers = {} this.parsersLocalScope = options.locals || {} this.timeouts = {} @@ -343,12 +346,18 @@ class Widget extends EventEmitter { changed(options) { + // emitting value-changed might trigger feedback from multiple widgets + // in which case we'll want to hold on until we're done syncing + // and dedupe feedback actions caused by advanced syntaxes + // see this.linkedValueChangedCallback in createLinkedPropsBindings() + this.isValueChanging = true this.trigger('value-changed', { widget: this, options: options, id: this.getProp('id'), linkId: this.getProp('linkId') }) + this.isValueChanging = false } @@ -480,7 +489,14 @@ class Widget extends EventEmitter { if (!this.linkedValueChangedCallback && Object.keys(this.linkedPropsValue).length) { this.linkedValueChangedCallback = (e)=>{ - this.onLinkedPropsChanged(e, 'value-changed') + if (this.isValueChanging) { + clearTimeout(this.valueChangingTimeout) + this.valueChangingTimeout = setTimeout(()=>{ + if (!this.removed) this.onLinkedPropsChanged(e, 'value-changed') + }) + } else { + this.onLinkedPropsChanged(e, 'value-changed') + } } widgetManager.on('value-changed', this.linkedValueChangedCallback, {context: this}) From 4b4c9f0c5badf65372c21cabd06435161bbe6e56 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Apr 2023 18:57:22 +0200 Subject: [PATCH 5088/5759] log: rpm packages --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bdcff23..cdbd9e72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - bug fixes - widgets: circular value feedback issues +- misc + - add linux rpm packages + ## 1.23.0 - bug fixes From 3d36f3e4d7c91fcfae99865d8cbf3144a56f67b0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Apr 2023 19:52:42 +0200 Subject: [PATCH 5089/5759] editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` --- CHANGELOG.md | 1 + src/client/ui/context-menu.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdbd9e72..1b1f9d59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - widgets: circular value feedback issues + - editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` - misc - add linux rpm packages diff --git a/src/client/ui/context-menu.js b/src/client/ui/context-menu.js index fc96bd56..0ff808e9 100644 --- a/src/client/ui/context-menu.js +++ b/src/client/ui/context-menu.js @@ -6,6 +6,10 @@ var html = require('nanohtml'), MENU_CONTAINER +// monkey patch keyboardJS to prevent loosing track of pressed keys while +// switching contexts. Works as long as we don't call reset() or pause() +keyboardJS.releaseAllKeys = ()=>{} + class ContextMenu extends UiWidget { constructor(options={}){ From b480889b70171343e3e36779475164b18648af99 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Apr 2023 22:57:42 +0200 Subject: [PATCH 5090/5759] custom module: add optional `errorCallback` argument to`loadJSON` and `saveJSON` --- CHANGELOG.md | 3 +++ .../docs/docs/custom-module/custom-module.md | 12 +++++++++-- src/server/custom-module.js | 20 +++++++++++++------ 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b1f9d59..21dbe1a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - widgets: circular value feedback issues - editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` +- custom module + - add optional `errorCallback` argument to`loadJSON` and `saveJSON` + - misc - add linux rpm packages diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index b3988bc9..f728e29e 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -96,16 +96,24 @@ Returns the server's http addresses. ---- -#### `loadJSON(path)` +#### `loadJSON(path, errorCallback)` Loads a json file (path is relative to the custom module location) +- `path`: `string`, path to file (any extension allowed, but the content must be valid JSON) +- `errorCallback` (optional): `function`, called with the error as argument if the file can't be loaded + + ---- -#### `saveJSON(path, object)` +#### `saveJSON(path, data, errorCallback)` Saves an object/array to a json file (path is relative to the custom module location) +- `path`: `string`, path to file (any extension allowed) +- `data`: `object`, `array` or any value that can be encoded to JSON +- `errorCallback` (optional): `function`, called with the error as argument if the file can't be loaded + ---- #### `require(path)` diff --git a/src/server/custom-module.js b/src/server/custom-module.js index 20bf6310..b70ebfbe 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -33,24 +33,32 @@ class CustomModule { require: this.require.bind(this), } : { ...context, - loadJSON: (url)=>{ + loadJSON: (url, errorCallback)=>{ try { url = path.resolve(path.dirname(this.filename), url) var content = fs.readFileSync(url, 'utf8') if (content[0] === '\ufeff') content = content.slice(1) // remove BOM return JSON.parse(content) } catch(e) { - console.error('(ERROR) could not load json file from ' + url) - console.error(e.message) + if (typeof(errorCallback) === 'function') { + errorCallback(e) + } else { + console.error('(ERROR) could not load json file from ' + url) + console.error(e.message) + } } }, - saveJSON: (url, data)=>{ + saveJSON: (url, data, errorCallback)=>{ url = path.resolve(path.dirname(this.filename), url) try { return fs.writeFileSync(url, JSON.stringify(data, null, ' ')) } catch(e) { - console.error('(ERROR) could not save json file to ' + url) - console.error(e.message) + if (typeof(errorCallback) === 'function') { + errorCallback(e) + } else { + console.error('(ERROR) could not save json file to ' + url) + console.error(e.message) + } } }, console: console, From c0face2e2f8d966b33c6b3711d6ac3d4381c62cd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Apr 2023 23:24:35 +0200 Subject: [PATCH 5091/5759] patchbay: add in/out/both modes to exclusive property --- CHANGELOG.md | 3 +++ src/client/managers/session/session.js | 8 +++++++ src/client/widgets/containers/patchbay.js | 26 +++++++++++++++++++++-- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21dbe1a4..adbba7b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - widgets: circular value feedback issues - editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` +- widgets + - patchbay: add `in`, `out` and `both` modes to `exclusive` property + - custom module - add optional `errorCallback` argument to`loadJSON` and `saveJSON` diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index 7609c6a4..cfe1de6c 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -311,6 +311,14 @@ var converters = [ } } + }, + { + version: '1.23.0', + widget: (data)=>{ + if (data.type === 'patchbay' && data.exclusive === true) { + data.exclusive = 'in' + } + } } ] diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index eef74a1e..15698b85 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -39,10 +39,28 @@ class PatchBayNode extends Widget { } } - if (this.parent.getProp('exclusive') && this.value.length > 1) { + if ( + (this.parent.getProp('exclusive') === true + || this.parent.getProp('exclusive') === 'in' + || this.parent.getProp('exclusive') === 'both') + && this.value.length > 1 + ) { this.value = [this.value.pop()] } + if ( + (this.parent.getProp('exclusive') === 'out' || this.parent.getProp('exclusive') === 'both') + && this.value.length > 0 + ) { + for (var input of this.parent.inputsWidgets) { + if (input !== this && input.value.some(x=>this.value.includes(x))) { + input.setValue(input.value.filter(x=>!this.value.includes(x)), options) + } + } + } + + + this.parent.batchDraw() if (options.send) this.sendValue() @@ -89,7 +107,11 @@ class PatchBay extends Container(Canvas) { 'The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1`' ]}, outputs: {type: 'array|object', value: ['output_1', 'output_2'], help: 'List of output values the inputs can connect to (see `inputs`).'}, - exclusive: {type: 'boolean', value: false, help: 'If set to `true`, each input will be allowed to have only one connection at a time.'}, + exclusive: {type: 'string', value: false, choices: [false, 'in', 'out', 'both'], help: [ + '- `in`: allows only one connection per input', + '- `out`: allows only one connection per output', + '- `both`: allows only one connection per input and output' + ]} } }) From 0fae72664d581606af8ba916f8211a57a1b42088 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Apr 2023 23:52:26 +0200 Subject: [PATCH 5092/5759] mobile: fix noSleep usage and use wakeLock api when available --- CHANGELOG.md | 1 + src/client/ui/main-menu.js | 25 ++++++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adbba7b0..336c1ed5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - widgets: circular value feedback issues - editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` + - mobile: "prevent sleep" feature not working - widgets - patchbay: add `in`, `out` and `both` modes to `exclusive` property diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js index a1b46180..f840b863 100644 --- a/src/client/ui/main-menu.js +++ b/src/client/ui/main-menu.js @@ -219,15 +219,34 @@ if (navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)) { var NoSleep = require('nosleep.js'), noSleep = new NoSleep(), - noSleepState = false + noSleepState = false, + wakeLock = null menuEntries.push({ label: locales('nosleep'), class: ()=>{return 'toggle ' + (noSleepState ? 'on' : 'off')}, action:()=>{ noSleepState = !noSleepState - if (noSleepState) noSleep.disable() - else noSleep.enable() + if (noSleepState) { + if ("wakeLock" in navigator) { + navigator.wakeLock.request("screen").then((l)=>{ + wakeLock = l + }).catch((err)=>{ + console.error(`Could not acquire wake lock:\n${err.name}, ${err.message}`) + console.info(`Falling back name}, ${err.message}`) + wakeLock = null + }) + } + if (wakeLock === null) noSleep.enable() + } else { + if ("wakeLock" in navigator && wakeLock !== null) { + wakeLock.release().then(()=>{ + wakeLock = null + }) + } else { + noSleep.disable() + } + } } }) From 13ce9ebe0d5c9ca45c10c7a80b5aff7a3636ba55 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Apr 2023 23:56:39 +0200 Subject: [PATCH 5093/5759] lint: spaces and quotes --- src/client/ui/main-menu.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js index f840b863..9e081dec 100644 --- a/src/client/ui/main-menu.js +++ b/src/client/ui/main-menu.js @@ -228,8 +228,8 @@ if (navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)) { action:()=>{ noSleepState = !noSleepState if (noSleepState) { - if ("wakeLock" in navigator) { - navigator.wakeLock.request("screen").then((l)=>{ + if ('wakeLock' in navigator) { + navigator.wakeLock.request('screen').then((l)=>{ wakeLock = l }).catch((err)=>{ console.error(`Could not acquire wake lock:\n${err.name}, ${err.message}`) @@ -239,9 +239,9 @@ if (navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)) { } if (wakeLock === null) noSleep.enable() } else { - if ("wakeLock" in navigator && wakeLock !== null) { + if ('wakeLock' in navigator && wakeLock !== null) { wakeLock.release().then(()=>{ - wakeLock = null + wakeLock = null }) } else { noSleep.disable() From afcd9787dbe8d1f987a6910ae1ab5a68df19366c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 00:16:49 +0200 Subject: [PATCH 5094/5759] panel: replace `verticalTabs` property with `tabsPosition` (supports 4 directions) --- CHANGELOG.md | 3 ++- src/client/managers/session/session.js | 4 ++++ src/client/widgets/containers/panel.js | 6 +++--- src/scss/widgets/containers.scss | 22 ++++++++++++++-------- 4 files changed, 23 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 336c1ed5..4a5506a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,11 @@ - bug fixes - widgets: circular value feedback issues - editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` - - mobile: "prevent sleep" feature not working + - mobile: "prevent sleep" feature not working - widgets - patchbay: add `in`, `out` and `both` modes to `exclusive` property + - panel: replace `verticalTabs` property with `tabsPosition` (supports 4 directions) - custom module - add optional `errorCallback` argument to`loadJSON` and `saveJSON` diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index cfe1de6c..17571139 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -318,6 +318,10 @@ var converters = [ if (data.type === 'patchbay' && data.exclusive === true) { data.exclusive = 'in' } + else if ((data.type === 'panel' || data.type === 'root') && data.verticalTabs === true) { + data.tabsPosition = 'left' + delete data.verticalTabs + } } } ] diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 7e30ef3d..15c470f0 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -33,7 +33,7 @@ class Panel extends Container() { contain: {type: 'boolean', value: true, help:'If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel.'}, scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'}, innerPadding: {type : 'boolean', value: true, help: 'Set to `false` to make the `padding` property apply only between children and not at the container\'s inner boundaries.'}, - verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, + tabsPosition: {type: 'string', value: 'top', choices: ['top', 'bottom', 'left', 'right'], help: 'Defines the position of the navigation bar if the panel contains tabs'}, }, value: { value: {type: 'integer|array', value: '', help: [ @@ -80,7 +80,7 @@ class Panel extends Container() { if (this.getProp('tabs') && this.getProp('tabs').length) { this.container.classList.add('contains-tabs') - this.container.classList.toggle('vertical-tabs', this.getProp('verticalTabs')) + this.container.classList.add('tabs-' + this.getProp('tabsPosition')) } else { @@ -175,7 +175,7 @@ class Panel extends Container() { this.value = -1 - this.navigation = this.widget.appendChild(html``) + this.navigation = this.widget.appendChild(html``) this.children = options.children || new Array(this.getProp('tabs').length) for (let i = 0; i < this.children.length; i++) { diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 1e5f64e1..f48575d6 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -132,13 +132,18 @@ } } - &.vertical-tabs { - - > inner { - flex-direction: row; - } - + &.tabs-left > inner { + flex-direction: row; } + + &.tabs-right > inner { + flex-direction: row-reverse; + } + + &.tabs-bottom > inner { + flex-direction: column-reverse; + } + } } @@ -167,7 +172,8 @@ .tablink.editing:after { margin: 2rem 2rem 4rem; } -.vertical > .tablink.editing:after { +.tabs-left > .tablink.editing:after, +.tabs-right > .tablink.editing:after { margin: 2rem 4rem 2rem 2rem; } @@ -337,7 +343,7 @@ } } - &.vertical { + &.tabs-left, &.tabs-right { flex-direction: column; height: 100%; padding-bottom: 0; From a93d27f08e5194ba58b3423cf4c4887d92b7b8f0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 00:35:11 +0200 Subject: [PATCH 5095/5759] server: print multiple qrcodes if multiple network interfaces are available and prevent printing a qrcode for the localhost address --- CHANGELOG.md | 5 ++++- src/server/index.js | 28 +++++++++++++++++++--------- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a5506a4..8629d68f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.23.1 +## 1.24.0 - bug fixes - widgets: circular value feedback issues @@ -14,6 +14,9 @@ - custom module - add optional `errorCallback` argument to`loadJSON` and `saveJSON` +- server + - print multiple qrcodes if multiple network interfaces are available and prevent printing a qrcode for the localhost address + - misc - add linux rpm packages diff --git a/src/server/index.js b/src/server/index.js index 3fac5cb4..70da7123 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -86,17 +86,27 @@ function openClient() { function showQRCode(){ - var QRCode = require('qrcode') + var QRCode = require('qrcode'), + addresses = settings.appAddresses().filter(a=>!a.includes('127.0.0.1') && !a.includes('localhost')) - if (launcher) { - QRCode.toString(settings.appAddresses().pop(),{type:'svg', small: true, margin: 1}, (err, qr)=>{ - launcher.webContents.send('stdout', '
            ' + qr + '
            ') - }) - } else { - QRCode.toString(settings.appAddresses().pop(),{type:'terminal', small: true}, (err, qr)=>{ - console.log('\n' + qr.replace(/^/gm, ' ')) - }) + for (var add of addresses) { + if (launcher) { + QRCode.toString(add,{type:'svg', small: true, margin: 1}, (err, qr)=>{ + launcher.webContents.send('stdout', '
            ' + qr + '
            ') + }) + if (addresses.length > 1) { + launcher.webContents.send('stdout', '(' + add + ')') + } + } else { + QRCode.toString(add,{type:'terminal', small: true}, (err, qr)=>{ + console.log('\n' + qr.replace(/^/gm, ' ')) + }) + if (addresses.length > 1) { + console.log(' (' + add + ')') + } + } } + } function startServerProcess() { From 68fa0546104083d8440e2daf8c7ede7bf6322dfc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 00:36:05 +0200 Subject: [PATCH 5096/5759] package: 1.24.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b9649a8..d8b3319d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.23.0", + "version": "1.24.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 645bba0402bea0d2561f2a2dc3a21a4645e7fe3c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 01:00:23 +0200 Subject: [PATCH 5097/5759] docs: fix opening url with anchors to widget properties --- resources/docs/extra/scripts.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/resources/docs/extra/scripts.js b/resources/docs/extra/scripts.js index c31449b7..f75c16a1 100644 --- a/resources/docs/extra/scripts.js +++ b/resources/docs/extra/scripts.js @@ -3,9 +3,19 @@ document.addEventListener('DOMContentLoaded', ()=>{ if (window.location.hash && window.location.href.includes('properties-reference')) { // show target in tabs/details document.querySelectorAll('[id='+window.location.hash.split("#")[1]+']').forEach(function(item){ - var tab = item.closest('.tabbed-content'), - details = item.closest('details') - if (tab) tab.previousSibling.click() + var tab = item.closest('.tabbed-block'), + container= item.closest('.tabbed-set'), + details = item.closest('details'), + index = 0 + while (tab.previousElementSibling) { + index++ + tab = tab.previousElementSibling + } + console.log(index) + container.querySelectorAll('.tabbed-labels label:nth-child('+(index+1)+')').forEach(function(item,i){ + item.click() + }) + if (item) { item.scrollIntoView() document.documentElement.scrollTop -= 70 From 5f39ae3e9e94ceb22b72824d9e8a4be61337184c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 01:00:57 +0200 Subject: [PATCH 5098/5759] docs: update refs --- resources/docs/docs/widgets/properties-reference.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 83031f38..75806c8d 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -239,7 +239,7 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - |
            verticalTabs#
            | `boolean` | false | Set to `true` to display for vertical tab layout | + |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | === "panel" @@ -286,6 +286,7 @@ | | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | | | `boolean` | true | Set to `false` to disable scrollbars | | | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | + | | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | | | `string`|
            `boolean` | "auto" | Set to `false` to hide completely
            - Insert icons using the prefix ^ followed by the icon's name : `^play`, `^pause`, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free)
            - Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` | | | `string`|
            `boolean` | "auto" | Alternative label for the modal popup | | | `number` | "auto" | Modal's inner spacing. | @@ -346,6 +347,7 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | + |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | === "matrix" @@ -413,7 +415,7 @@ | --- | --- | --- | --- | |
            inputs#
            | `array`|
            `object` | [
             "input_1",
             "input_2"
            ]
            | - `Array` of input names : `['input_1', 'input_2']`
            - `Object` of `"label_1": "input_1"` pairs (example: `{"label a": "value 1", "label b": "value 2"}`). Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept



            Patchbay inputs can be connected to one or more outputs and will send messages of the following form when they are connected/disconnected:

            `/patchbay_address input_x output_x output_y etc`

            If no output is connected to the input, the message will be `/patchbay_address input_x`

            The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1` | |
            outputs#
            | `array`|
            `object` | [
             "output_1",
             "output_2"
            ]
            | List of output values the inputs can connect to (see `inputs`). | - |
            exclusive#
            | `boolean` | false | If set to `true`, each input will be allowed to have only one connection at a time. | + |
            exclusive#
            | `string` | false | - `in`: allows only one connection per input
            - `out`: allows only one connection per output
            - `both`: allows only one connection per input and output

            Choices: `false`, `in`, `out`, `both` | === "scripting" @@ -451,7 +453,7 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - |
            verticalTabs#
            | `boolean` | false | Set to `true` to display for vertical tab layout | + |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | |
            hideMenu#
            | `boolean` | false | Set to `true` to hide the main menu button. | === "root" @@ -488,7 +490,7 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - |
            verticalTabs#
            | `boolean` | false | Set to `true` to display for vertical tab layout | + |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | |
            label#
            | `string`|
            `boolean` | "auto" | Set to `false` to hide completely
            - Insert icons using the prefix ^ followed by the icon's name : `^play`, `^pause`, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free)
            - Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` | === "tab" From 5251bcd152b0e723b207a92542210ec928010372 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 01:03:46 +0200 Subject: [PATCH 5099/5759] log: typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8629d68f..9448c361 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - bug fixes - widgets: circular value feedback issues - - editor: `ctrl + e` not working when hitm multiple times without releasing `ctrl` + - editor: `ctrl + e` not working when hit multiple times without releasing `ctrl` - mobile: "prevent sleep" feature not working - widgets From 2b84e5dd9e8ce9076897d3ec5842d28e125e606b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 01:25:07 +0200 Subject: [PATCH 5100/5759] docs: fix pretty download names --- resources/docs/download.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index e6df6c79..58b5fb88 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -21,11 +21,12 @@ function text(id, str) { } var names = { - 'amd64': 'GNU/Linux Debian (64-bit)', - 'linux-x64': 'GNU/Linux (64-bit)', - 'node': 'Node.js', - 'osx': 'MacOS', - 'win32-x64': 'Windows (64-bit)' + 'x86_64.rpm': 'GNU/Linux RPM (64-bit)', + 'amd64.deb': 'GNU/Linux Debian (64-bit)', + 'linux-x64.zip': 'GNU/Linux (64-bit)', + 'node.zip': 'Node.js', + 'osx.zip': 'MacOS', + 'win32-x64.zip': 'Windows (64-bit)' } function reqListener () { @@ -41,10 +42,11 @@ function reqListener () { link = document.createElement('a'), name = data.assets[i].name - try { - name = names[name.match(/[0-9]+\.[0-9]+\.[0-9]+\-([^\.]+)/)[1]] - } catch(e) { - console.log(e) + for (var k in names) { + if (name.includes(k)) { + name = names[k] + break + } } link.innerHTML = ' ' + name + ' (' + (data.assets[i].size / 1024 / 1024).toFixed(0) + 'M)' From 7f07109bd3ca849937746dc69beeb291c5a4718a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Apr 2023 01:28:56 +0200 Subject: [PATCH 5101/5759] packaging: move deb file before making rpm --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cc76891a..7a6c0878 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,13 +32,13 @@ before_deploy: - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-x64/open-stage-control.app/Contents/Resources/app/server - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR + - mkdir dist/packages - npm run deb64 + - mv dist/open-stage-control-linux-x64/*.deb dist/packages/ - npm run rpm64 - cd dist - - mkdir packages - mv open-stage-control-node open-stage-control_${VERSION}_node - mv open-stage-control-win32-x64 open-stage-control_${VERSION}_win32-x64 - - mv open-stage-control-linux-x64/*.deb packages/ - mv open-stage-control-linux-x64/*.rpm packages/ - mv open-stage-control-linux-x64 open-stage-control_${VERSION}_linux-x64 - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx.zip open-stage-control-darwin-x64/open-stage-control.app From 968af3994bef23f07d0a8bb4360ae0f6a989e34f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 10 Apr 2023 15:45:30 +0200 Subject: [PATCH 5102/5759] launcher: fix ctrl+m --- CHANGELOG.md | 5 +++++ src/launcher/toolbar.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9448c361..062ac0ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.24.1 + +- bug fixes + - launcher: `Ctrl+M` keyboard shortcut not working + ## 1.24.0 - bug fixes diff --git a/src/launcher/toolbar.js b/src/launcher/toolbar.js index b519d484..ee623b60 100644 --- a/src/launcher/toolbar.js +++ b/src/launcher/toolbar.js @@ -78,7 +78,7 @@ menu.append(new MenuItem({ click: ()=>{ midilist() }, - accelerator: 'Ctrl + m' + accelerator: 'ctrl + m' })) menu.append(new MenuItem({type: 'submenu' , label: 'Console', submenu: [ new MenuItem({ From 22927983b889ea9f95d32f19ef5a93b66fb5632f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Apr 2023 07:24:31 +0200 Subject: [PATCH 5103/5759] advanced syntaxes: support `@{}` inside `IMPORT{}` --- CHANGELOG.md | 3 +++ src/client/widgets/common/widget.js | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 062ac0ae..a8e3b052 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - bug fixes - launcher: `Ctrl+M` keyboard shortcut not working +- advanced syntaxes + - support `@{}` inside `IMPORT{}` + ## 1.24.0 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 7aef53fc..c4fb7000 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -775,6 +775,11 @@ class Widget extends EventEmitter { }) propValue = balancedReplace('IMPORT', '{', '}', propValue, (file)=>{ + + file = file.replace(/VAR_[0-9]+/g, (m)=>{ + return typeof variables[m] === 'string' ? variables[m] : JSON.stringify(variables[m]) + }) + if ( // remove quotes (file[0] === '"' && file[file.length - 1] === '"') || From 0e54c11f132b07fc0b2297c77f9b920af089fbd5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Apr 2023 19:40:32 +0200 Subject: [PATCH 5104/5759] widgets: regression incurring a small delay before resolving a property that depends on a widget's own value (see fe682693b1d165ee20eb6adfcf764af2a4dea731) --- CHANGELOG.md | 1 + src/client/widgets/common/widget.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8e3b052..8e4ae66c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - launcher: `Ctrl+M` keyboard shortcut not working + - widgets: regression incurring a small delay before resolving a property that depends on a widget's own value - advanced syntaxes - support `@{}` inside `IMPORT{}` diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index c4fb7000..f07fe703 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -489,7 +489,7 @@ class Widget extends EventEmitter { if (!this.linkedValueChangedCallback && Object.keys(this.linkedPropsValue).length) { this.linkedValueChangedCallback = (e)=>{ - if (this.isValueChanging) { + if (this.isValueChanging && e.widget !== this) { clearTimeout(this.valueChangingTimeout) this.valueChangingTimeout = setTimeout(()=>{ if (!this.removed) this.onLinkedPropsChanged(e, 'value-changed') From 808b8b317625c28eb88acda59f9dc684e6dd9ecb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 15 Apr 2023 10:42:52 +0200 Subject: [PATCH 5105/5759] docs: new langs --- resources/docs/docs/client-options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/client-options.md b/resources/docs/docs/client-options.md index 31f874e0..0ec69a1c 100644 --- a/resources/docs/docs/client-options.md +++ b/resources/docs/docs/client-options.md @@ -9,7 +9,7 @@ Client options can be set either with the server's `--client-options` option, or | zoom | number | 1 | sets the initial zoom | | framerate | number | 60 | limit canvas drawing framerate | | desyncCanvas | number | 0 | set to 1 to enable desynchronized canvas (may improve rendering performances) | -| lang | string | *system_default* | use a different language than the default if available (available languages: en, fr) | +| lang | string | *system_default* | use a different language than the default if available (available languages: en, fr, de, pl) | | consoleLength | number | 300 | sets the maximum number of log messages in the client's console | | id | string | *random_id* | client's unique id (use with caution: two clients should never have the same id) | | usePercents | 1 / 0 | 0 | sets the editor's "relative units" option | From 69547271960356c0d4ae27100d120d58d0a01f32 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 15 Apr 2023 13:23:12 +0200 Subject: [PATCH 5106/5759] server: `--client-size` and `--client-position` options not parsed correctly --- CHANGELOG.md | 1 + src/server/options.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e4ae66c..bacb1963 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - launcher: `Ctrl+M` keyboard shortcut not working - widgets: regression incurring a small delay before resolving a property that depends on a widget's own value + - server: `--client-size` and `--client-position` options not parsed correctly - advanced syntaxes - support `@{}` inside `IMPORT{}` diff --git a/src/server/options.js b/src/server/options.js index 1071d752..afac3de9 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -96,13 +96,13 @@ module.exports = { 'docs': {type: 'boolean', describe: 'serve documentation website locally and open it with the system\'s default browser', launcher: false}, 'client-position': {type: 'string', describe: 'position of the client window ("x,y" pair of integers)', launcher: false, check: (s)=>{ - return s.match(/^[0-9]+,[0-9]+$/) ? + return !s.match(/^[0-9]+,[0-9]+$/) ? 'Position must a x,y pair of integers' : true } }, 'client-size': {type: 'string', describe: 'size of the client window ("width,height" pair of integers)', launcher: false, check: (s)=>{ - return s.match(/^[0-9]+,[0-9]+$/) ? + return !s.match(/^[0-9]+,[0-9]+$/) ? 'Size must a x,y pair of integers' : true } }, From 640e30f766f8648861a3b375e9784d5e8c6417a2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 17 Apr 2023 00:06:32 +0200 Subject: [PATCH 5107/5759] package: 1.24.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d8b3319d..7f8aea12 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.24.0", + "version": "1.24.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From e7dfa453e439a801866e1dd000ec74bca7541097 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Apr 2023 17:10:38 +0200 Subject: [PATCH 5108/5759] editor: regression breaking widget context menu actions under "Position" submenu --- CHANGELOG.md | 5 +++++ src/client/editor/context-menu.js | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bacb1963..c5a5755e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.24.2 + +- bug fixes + - editor: regression breaking widget context menu actions under "Position" submenu + ## 1.24.1 - bug fixes diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 709e12d3..71a21b32 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -202,28 +202,28 @@ var handleClick = function(event) { { label: locales('editor_back'), action: ()=>{ - editor.handleKeyboard('home') + editor.handleKeydown('home') }, shortcut: 'Home' }, { label: locales('editor_farther'), action: ()=>{ - editor.handleKeyboard('pageup') + editor.handleKeydown('pageup') }, shortcut: 'Page Up' }, { label: locales('editor_closer'), action: ()=>{ - editor.handleKeyboard('pagedown') + editor.handleKeydown('pagedown') }, shortcut: 'Page Down' }, { label: locales('editor_front'), action: ()=>{ - editor.handleKeyboard('end') + editor.handleKeydown('end') }, shortcut: 'End' } From fae6448a5bb0551e877804f40d3527ef1099ff0c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Apr 2023 19:22:08 +0200 Subject: [PATCH 5109/5759] touch devices: touchend event not fired on elements removed/detached during touchstart/touchmove callbacks (caused issues when switching tabs using a button inside a tab) --- CHANGELOG.md | 2 ++ src/client/events/drag.js | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5a5755e..02ca5431 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - bug fixes - editor: regression breaking widget context menu actions under "Position" submenu + - touch devices: touchend event not fired on elements removed/detached during touchstart/touchmove callbacks (caused issues when switching tabs using a button inside a tab) + ## 1.24.1 diff --git a/src/client/events/drag.js b/src/client/events/drag.js index 0deb7330..0b7e74ae 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -158,8 +158,34 @@ function mouseUpCapture(event){ // Touch events wrappers +// Touchend event is not emitted when target element is removed/detached +// Watch for DOM mutations and simulate pointerUp if a registered +// target is removed/detached +const domObserver = new MutationObserver(function(mutations) { + for (var id in targets) { + var event = previousPointers[id], + target = targets[id] + + if (event.pointerType === 'mouse') continue + + for (var mutation of mutations) { + for (var node of mutation.removedNodes) { + if (node == target || node.contains(target)){ + pointerUpHandler(event) + } + } + } + } +}) +domObserver.active = false + function touchDownCapture(event) { + if (!domObserver.active) { + domObserver.observe(DOM.get('#osc-container')[0], {subtree: true, childList: true}) + domObserver.active = true + } + event.preventDefault() for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue From dfabf2522325256ce52f4b3cac2275f1ec7f5d20 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Apr 2023 19:26:40 +0200 Subject: [PATCH 5110/5759] events: misc guard --- src/client/events/drag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index 0b7e74ae..d2b4f149 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -166,7 +166,7 @@ const domObserver = new MutationObserver(function(mutations) { var event = previousPointers[id], target = targets[id] - if (event.pointerType === 'mouse') continue + if (!event || event.pointerType === 'mouse') continue for (var mutation of mutations) { for (var node of mutation.removedNodes) { From 908a543d8bb3012d1abac078084ee2dcd057f171 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 26 Apr 2023 10:55:56 +0200 Subject: [PATCH 5111/5759] event: only enable dom observer while touched --- src/client/events/drag.js | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index d2b4f149..df7ec6dd 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -41,6 +41,9 @@ function pointerDownHandler(event) { targets[event.pointerId] = target previousPointers[event.pointerId] = event + + if (event.pointerType !== 'mouse') domObserver.activate() + triggerWidgetEvent(targets[event.pointerId], 'draginit', event) } @@ -112,6 +115,12 @@ function pointerUpHandler(event) { delete targets[event.pointerId] delete previousPointers[event.pointerId] + if (domObserver.active) { + var i = 0 + for (var k in targets) i++ + if (i == 0) domObserver.deactivate() + } + } @@ -178,13 +187,20 @@ const domObserver = new MutationObserver(function(mutations) { } }) domObserver.active = false - -function touchDownCapture(event) { - +domObserver.activate = ()=>{ if (!domObserver.active) { domObserver.observe(DOM.get('#osc-container')[0], {subtree: true, childList: true}) domObserver.active = true } +} +domObserver.deactivate = ()=>{ + if (domObserver.active) { + domObserver.disconnect() + domObserver.active = false + } +} + +function touchDownCapture(event) { event.preventDefault() for (var i in event.changedTouches) { From 078fa94408b4d3ef4559c36abdbded8b1fc9cd46 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 26 Apr 2023 15:09:45 +0200 Subject: [PATCH 5112/5759] misc: lint --- src/client/events/drag.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index df7ec6dd..e1f69ebf 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -116,9 +116,9 @@ function pointerUpHandler(event) { delete previousPointers[event.pointerId] if (domObserver.active) { - var i = 0 - for (var k in targets) i++ - if (i == 0) domObserver.deactivate() + var t + for (var k in targets) {t=targets[k]} + if (t === undefined) domObserver.deactivate() } } From 1797dfb692796d7731cea0251528c2bc24a62ac1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 26 Apr 2023 19:23:25 +0200 Subject: [PATCH 5113/5759] misc: client shim update --- scripts/client-shim.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/client-shim.js b/scripts/client-shim.js index facf547a..2818ca9d 100644 --- a/scripts/client-shim.js +++ b/scripts/client-shim.js @@ -66,10 +66,12 @@ window = { WebSocket: Object, localStorage: { getItem(){return null} - }, sessionStorage: { + }, + sessionStorage: { getItem(){return null}, setItem(){}, - }, + }, + MutationObserver: class MutationObserver{} } Object.assign(global, window) From 94d791e4cf92171bb71c928078dc437de49f3190 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 26 Apr 2023 19:23:43 +0200 Subject: [PATCH 5114/5759] package: 1.24.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7f8aea12..b2a58321 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.24.1", + "version": "1.24.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 5126125dbab8af9938bb185acf3adeba3249a345 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 9 May 2023 16:18:05 +0200 Subject: [PATCH 5115/5759] doubletap: missing offsetX & offsetY on touch devices --- CHANGELOG.md | 6 ++++++ src/client/widgets/mixins/double_tap.js | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02ca5431..f3b71a44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.24.3 + +- bug fixes + - multixy: doubleTap not working on touch devices + - button: `x` and `y` variables not passed to `onValue` when `doubleTap` is true on touch devices + ## 1.24.2 - bug fixes diff --git a/src/client/widgets/mixins/double_tap.js b/src/client/widgets/mixins/double_tap.js index f24f072a..0c8910a9 100644 --- a/src/client/widgets/mixins/double_tap.js +++ b/src/client/widgets/mixins/double_tap.js @@ -1,3 +1,5 @@ +var {normalizeDragEvent} = require('../../events/utils') + module.exports = (self, callback, options={})=>{ var lastTapTime = 0, @@ -23,7 +25,7 @@ module.exports = (self, callback, options={})=>{ // execute callback at next cycle to ensure draginit events are resolved first setTimeout(()=>{ - callback(event.detail) + callback(normalizeDragEvent(event.detail)) }, 0) lastTapTime = 0 From 59689d8f16f4e4d96c6840538cf6f9c09b2d0d05 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 11:07:13 +0200 Subject: [PATCH 5116/5759] advanced syntax: update issue with clones using their own value in their properties --- CHANGELOG.md | 2 ++ src/client/managers/widgets.js | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3b71a44..fc209d57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - bug fixes - multixy: doubleTap not working on touch devices - button: `x` and `y` variables not passed to `onValue` when `doubleTap` is true on touch devices + - advanced syntax: update issue with clones using their own value in their properties + ## 1.24.2 diff --git a/src/client/managers/widgets.js b/src/client/managers/widgets.js index 0141e216..f758a945 100644 --- a/src/client/managers/widgets.js +++ b/src/client/managers/widgets.js @@ -45,12 +45,17 @@ class WidgetManager extends EventEmitter { widgetsByLinkId = linkId ? this.getWidgetByLinkId(linkId) : [] // Widget that share the same id will update each other - // without sending any extra osc message + // without sending any extra osc message or running scripts if (widgetsById.length > 1) { let v = widget.getValue() for (let i in widgetsById) { if (widgetsById[i] !== widget) { widgetsById[i].setValue(v,{send:false,sync:false, id}) + // Because of sync:false, updated widgets that use @{this} + // in their properties wont update them, we trigger it manually + if (widgetsById[i].linkedPropsValue['this']) { + widgetsById[i].onLinkedPropsChanged({id, widget: widgetsById[i], options: {send: false, sync: false, id}}, 'value-changed') + } } } } From 5b981996fd150b0f29c90cedb267caf2ffe9b85e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 11:19:56 +0200 Subject: [PATCH 5117/5759] client: keyboard shortcut issues --- CHANGELOG.md | 2 +- src/client/editor/index.js | 9 +++++++++ src/client/ui/context-menu.js | 4 ---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc209d57..1e88baae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ - multixy: doubleTap not working on touch devices - button: `x` and `y` variables not passed to `onValue` when `doubleTap` is true on touch devices - advanced syntax: update issue with clones using their own value in their properties - + - client: minor keyboard shortcut issues ## 1.24.2 diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 8487a502..a24db473 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -521,7 +521,12 @@ class Editor { leftUiSidePanel.enable() rightUiSidePanel.enable() + + // keyboardJS hack: prevent releaseAllKeys when switching context + var locale = keyboardJS._locale + keyboardJS._locale = null keyboardJS.setContext('editing') + keyboardJS._locale = locale this.oscContainer.addEventListener('mousemove', this.mouveMoveHandler) this.oscContainer.addEventListener('mouseleave', this.mouveLeaveHandler) @@ -538,7 +543,11 @@ class Editor { document.body.classList.add('editor-disabled') document.body.classList.remove('editor-enabled') + // keyboardJS hack: prevent releaseAllKeys when switching context + var locale = keyboardJS._locale + keyboardJS._locale = null keyboardJS.setContext('global') + keyboardJS._locale = locale this.oscContainer.removeEventListener('mousemove', this.mouveMoveHandler) this.oscContainer.removeEventListener('mouseleave', this.mouveLeaveHandler) diff --git a/src/client/ui/context-menu.js b/src/client/ui/context-menu.js index 0ff808e9..fc96bd56 100644 --- a/src/client/ui/context-menu.js +++ b/src/client/ui/context-menu.js @@ -6,10 +6,6 @@ var html = require('nanohtml'), MENU_CONTAINER -// monkey patch keyboardJS to prevent loosing track of pressed keys while -// switching contexts. Works as long as we don't call reset() or pause() -keyboardJS.releaseAllKeys = ()=>{} - class ContextMenu extends UiWidget { constructor(options={}){ From 3af1d4ad1cb0ebcdd99541adf4b444304955b0d7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 11:43:45 +0200 Subject: [PATCH 5118/5759] menu: add item background --- CHANGELOG.md | 3 +++ src/scss/widgets/basics.scss | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e88baae..e3893ec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ - advanced syntax: update issue with clones using their own value in their properties - client: minor keyboard shortcut issues +- widgets + - menu: add a background to menu items to help distinguish them + ## 1.24.2 - bug fixes diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 4bcdee69..45fe5939 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -363,13 +363,13 @@ top: calc(-1 * var(--size) / 8); border-radius: 100%; pointer-events: none; - box-shadow: 0 0 0 4rem var(--color-fill); - opacity: 0; + box-shadow: 0 0 0 calc(var(--size) / 2.7 - 2rem) var(--color-fill); + opacity: 0.075; } } &.on { - color: var(--color-fill); + color: var(--color-background); } &.on div:before { @@ -415,7 +415,7 @@ height: 100%; flex: 1; &:after { - opacity: 0; + opacity: 0.075; margin: 0; top:0;left:0;right:0;bottom:0; } From fe9df9c2d9e40125287bece875f88953de476adf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 12:14:05 +0200 Subject: [PATCH 5119/5759] menu: merge different interaction modes into a single `mode` property menu: add `swipe` mode --- CHANGELOG.md | 2 ++ src/client/managers/session/session.js | 16 +++++++++++++ src/client/widgets/basics/menu.js | 31 +++++++++++++++++++------- src/scss/widgets/basics.scss | 4 ++-- 4 files changed, 43 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3893ec6..926d2883 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - widgets - menu: add a background to menu items to help distinguish them + - menu: merge different interaction modes into a single `mode` property + - menu: add `swipe` mode ## 1.24.2 diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index 17571139..3e5bb109 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -323,6 +323,22 @@ var converters = [ delete data.verticalTabs } } + }, + { + version: '1.24.2', + widget: (data)=>{ + if (data.type === 'menu') { + if (data.toggle) { + data.mode = data.doubleTap ? 'toggle' : 'doubleTap-toggle' + } else if (data.doubleTap) { + data.mode = 'doubleTap' + } else { + data.mode = 'default' + } + delete data.toggle + delete data.doubleTap + } + } } ] diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index c0c0c021..c35f5024 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -38,8 +38,14 @@ class Menu extends MenuBase { gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template".'}, }, class_specific: { - toggle: {type: 'boolean', value: false, help: 'Set to `true` to make the menu stay opened after mouse/touch release'}, - doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the menu require a double tap to be opened instead of a single tap'}, + mode: {type: 'string', value: 'default', choices: ['default', 'toggle', 'swipe', 'doubleTap', 'doubleTap-toggle'], help: [ + 'Interaction modes:', + '- `default`: opens on touch, closes and changes value on release', + '- `toggle`: opens on click, closes and changes value on next click', + '- `swipe`: opens on touch, changes value when the pointer moves above items, closes on release', + '- `doubleTap`: same as `default` but opens on double tap', + '- `doubleTap-toggle`: same as `toggle` but opens on double tap', + ]}, values: {type: 'array|object', value: [1, 2, 3], help: [ '`Array` of possible values to switch between : `[1,2,3]`', '`Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won\'t be kept', @@ -80,9 +86,11 @@ class Menu extends MenuBase { this.selected = -1 + this.mode = String(this.getProp('mode')) + this.parseValues() - if (this.getProp('doubleTap')) { + if (this.mode.includes('doubleTap')) { doubleTap(this, (e)=>{ if (this.opened) return @@ -91,7 +99,7 @@ class Menu extends MenuBase { this.on('draginit',(e)=>{ - if (this.opened && this.getProp('toggle')) { + if (this.opened && this.mode.includes('toggle')) { this.selectValue(e) this.submitValue() @@ -106,7 +114,7 @@ class Menu extends MenuBase { this.on('draginit',(e)=>{ - if (this.opened && this.getProp('toggle')) { + if (this.opened && this.mode.includes('toggle')) { this.selectValue(e) this.submitValue() @@ -122,18 +130,25 @@ class Menu extends MenuBase { } - if (!this.getProp('toggle')) { + if (!this.mode.includes('toggle')) { this.on('drag',(e)=>{ this.selectValue(e, true) + if (this.mode === 'swipe' && this.values[this.selected] !== this.value) { + this.submitValue() + } }, {element: this.widget}) this.on('dragend',()=>{ if (!this.opened) return - this.submitValue() + if (this.mode === 'swipe') { + this.close() + } else { + this.submitValue() + } }, {element: this.widget}) @@ -195,7 +210,7 @@ class Menu extends MenuBase { submitValue(e) { - this.close() + if (this.mode !== 'swipe') this.close() if (this.selected > -1) { this.setValue(this.values[this.selected], {send: true, sync: true}) } diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 45fe5939..bdf6f31d 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -375,7 +375,7 @@ &.on div:before { opacity: var(--alpha-fill-on)!important; } - &.active div:before, &:hover div:before { + &.active div:before { opacity: var(--alpha-fill-hover); } @@ -428,7 +428,7 @@ } } - &.active, &:hover { + &.active { div:after, div:after { opacity: var(--alpha-fill-hover); } From d0d73e4d44df0c977f77222417224eaa1aa23a00 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 12:21:44 +0200 Subject: [PATCH 5120/5759] remote control: `/STATE/SET` add optional argument to prevent widgets from sending their value --- CHANGELOG.md | 3 +++ resources/docs/docs/remote-control.md | 3 ++- src/client/remote-control.js | 9 +++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 926d2883..d4b222fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ - menu: merge different interaction modes into a single `mode` property - menu: add `swipe` mode +- remote control + - `/STATE/SET` add optional argument to prevent widgets from sending their value + ## 1.24.2 - bug fixes diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index 30ad24ca..27b75a5a 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -164,11 +164,12 @@ Sends back the app's state to specified target ---- -#### `/STATE/SET state` +#### `/STATE/SET state send` Set widgets' state - `state`: `string`, json stringified object (`"widget_id": value` pairs) +- `send` (optional): `boolean`, set to `false` to prevent widgets from sending their values when the state is applied diff --git a/src/client/remote-control.js b/src/client/remote-control.js index b87a6d92..64253209 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -206,12 +206,13 @@ var callbacks = { }, '/STATE/SET': function(args) { - if (Array.isArray(args)) args = args[0] + if (!Array.isArray(args)) args = [args] - var json = args, - data = typeof json == 'string' ? JSON.parseFlex(json) : json + var json = args[0], + data = typeof json == 'string' ? JSON.parseFlex(json) : json, + send = !(args[1] === 0 || args[1] === false) - stateManager.set(data) + stateManager.set(data, send) }, '/STATE/STORE': function(args) { From eda9881d222f1d6b499a801c98bfa6cd96c23c82 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 12:22:07 +0200 Subject: [PATCH 5121/5759] log: missing colon --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4b222fe..4267169f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ - menu: add `swipe` mode - remote control - - `/STATE/SET` add optional argument to prevent widgets from sending their value + - `/STATE/SET`: add optional argument to prevent widgets from sending their value ## 1.24.2 From a11e296921db3e238009c13cff751700a92195fe Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 13:48:56 +0200 Subject: [PATCH 5122/5759] panel: mitigate client synchronization issue with panel scrollbars --- CHANGELOG.md | 1 + src/client/widgets/containers/panel.js | 32 +++++++++++++++++++------- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4267169f..2140f1f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - button: `x` and `y` variables not passed to `onValue` when `doubleTap` is true on touch devices - advanced syntax: update issue with clones using their own value in their properties - client: minor keyboard shortcut issues + - panel: mitigate client synchronization issue with scrollbars - widgets - menu: add a background to menu items to help distinguish them diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 15c470f0..983a02c0 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -108,11 +108,11 @@ class Panel extends Container() { } this.iosScrollbars.horizontal.on('value-changed', (e)=>{ e.stopPropagation = true - this.widget.scrollLeft = parseInt(e.widget.getValue() * (this.widget.scrollWidth - this.widget.clientWidth)) + this.setScroll(parseInt(e.widget.getValue() * (this.widget.scrollWidth - this.widget.clientWidth)), undefined, true) }) this.iosScrollbars.vertical.on('value-changed', (e)=>{ e.stopPropagation = true - this.widget.scrollTop = parseInt(e.widget.getValue() * (this.widget.scrollHeight - this.widget.clientHeight)) + this.setScroll(undefined, parseInt(e.widget.getValue() * (this.widget.scrollWidth - this.widget.clientWidth)), true) }) this.checkScrollBars = ()=>{ @@ -141,6 +141,8 @@ class Panel extends Container() { this.scroll = [0, 0] this.scrollWidth = 1 this.scrollHeight = 1 + this.settingScroll = false + this.settingScrollEnd = null fastdom.measure(()=>{ this.scrollWidth = this.widget.scrollWidth - this.widget.clientWidth this.scrollHeight = this.widget.scrollHeight - this.widget.clientHeight @@ -156,7 +158,15 @@ class Panel extends Container() { if (this.iosScrollbars.vertical._scrollable) this.iosScrollbars.vertical.setValue(y) } if (this.props.type !== 'modal') { - this.setValue([x, y], {sync: true, send:true}) + if (this.settingScroll) { + clearTimeout(this.settingScrollEnd) + this.settingScrollEnd = setTimeout(()=>{ + this.settingScroll = false + }) + } else { + this.setValue([x, y], {sync: true, send:true, fromScroll:true}) + } + } }, {element: this.widget}) @@ -296,7 +306,7 @@ class Panel extends Container() { this.value = v clearTimeout(this.scrollTimeout) this.scrollTimeout = setTimeout(()=>{ - if (this.scroll) this.setScroll(v[0] * this.scrollWidth, v[1] * this.scrollHeight) + if (this.scroll) this.setScroll(v[0] * this.scrollWidth, v[1] * this.scrollHeight, !options.fromScroll) }) if (options.send) this.sendValue() @@ -310,10 +320,16 @@ class Panel extends Container() { } - setScroll(x, y) { - - if (x !== undefined) this.widget.scrollLeft = this.scroll[0] = x - if (y !== undefined) this.widget.scrollTop = this.scroll[1] = y + setScroll(x, y, updateDom) { + this.settingScroll = true + if (x !== undefined) { + this.scroll[0] = x + if (updateDom) this.widget.scrollLeft = x + } + if (y !== undefined) { + this.scroll[1] = y + if (updateDom) this.widget.scrollTop = y + } } From 06b1a2243a0db950faa522bfe817d32c20e90631 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 14:38:59 +0200 Subject: [PATCH 5123/5759] package: 1.25.0 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2140f1f0..56763ff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.24.3 +## 1.25.0 - bug fixes - multixy: doubleTap not working on touch devices diff --git a/package.json b/package.json index b2a58321..0de1f23a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.24.2", + "version": "1.25.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 617cc915bf0364d7bf759ad0974fa97c0f065804 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 May 2023 14:39:05 +0200 Subject: [PATCH 5124/5759] docs: update --- resources/docs/docs/widgets/properties-reference.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 75806c8d..3aa8bfdc 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -171,8 +171,7 @@ | property | type |default | description | | --- | --- | --- | --- | - | | `boolean` | false | Set to `true` to make the menu stay opened after mouse/touch release | - | | `boolean` | false | Set to `true` to make the menu require a double tap to be opened instead of a single tap | + | | `string` | "default" | Interaction modes:
            - `default`: opens on touch, closes and changes value on release
            - `toggle`: opens on click, closes and changes value on next click
            - `swipe`: opens on touch, changes value when the pointer moves above items, closes on release
            - `doubleTap`: same as `default` but opens on double tap
            - `doubleTap-toggle`: same as `toggle` but opens on double tap

            Choices: `default`, `toggle`, `swipe`, `doubleTap`, `doubleTap-toggle` | | | `array`|
            `object` | [
             1,
             2,
             3
            ]
            | `Array` of possible values to switch between : `[1,2,3]`

            `Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept

            `{"labels": [], "values": []}` `object` where `labels` and `values` arrays must be of the same length. This syntax allows using the same label for different values. | | | `array` | "" | `Array` of `number` defining the weights of each value in `values`

            Ignored when `mode` is `grid` | From 15c38fa78e67ad36b9069fdb00f56176252dbe1c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 3 Jun 2023 06:52:16 +0200 Subject: [PATCH 5125/5759] scripting: don't attempt to deep copy widget object --- src/client/widgets/scripts/script-vm.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index a4440613..53c4706c 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -69,7 +69,13 @@ class ScriptVm extends Vm { this.checkContext('set') var widget = this.getWidget() - var options = deepCopy(this.getValueOptions()) + var options = {}, + valueOptions = this.getValueOptions() + + for (var k in valueOptions) { + if (k === 'widget') options[k] = valueOptions[k] + else options[k] = deepCopy(valueOptions[k]) + } options.fromScript = widget.hash From 182941a22ccbca9775fe2c2233771b87a6d3a533 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 3 Jun 2023 06:53:38 +0200 Subject: [PATCH 5126/5759] widgets: regression in inter-widget sync mechanism --- src/client/widgets/common/widget.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index f07fe703..95bc24e6 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -200,6 +200,7 @@ class Widget extends EventEmitter { this.isValueChanging = false this.valueChangingTimeout = null + this.valueChangingQueue = {} this.parsers = {} this.parsersLocalScope = options.locals || {} @@ -491,8 +492,14 @@ class Widget extends EventEmitter { this.linkedValueChangedCallback = (e)=>{ if (this.isValueChanging && e.widget !== this) { clearTimeout(this.valueChangingTimeout) + this.valueChangingQueue[e.widget.hash] = e this.valueChangingTimeout = setTimeout(()=>{ - if (!this.removed) this.onLinkedPropsChanged(e, 'value-changed') + if (!this.removed) { + for (var h in this.valueChangingQueue) { + this.onLinkedPropsChanged(this.valueChangingQueue[h], 'value-changed') + } + } + this.valueChangingQueue = {} }) } else { this.onLinkedPropsChanged(e, 'value-changed') From bb222a11ae761ad0cb92468572326663e8280d6f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 5 Jun 2023 17:44:17 +0200 Subject: [PATCH 5127/5759] log: latest changes --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56763ff5..fafe1d87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.25.1 + +- bug fixes + - regression in inter-widget sync mechanism + - regression breaking `set()` function in scripts + ## 1.25.0 - bug fixes From ee98a20068e51b6a9ca7418d93963f5b2870d365 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 5 Jun 2023 17:49:07 +0200 Subject: [PATCH 5128/5759] textarea: display nothing instead of "null" when receing no value, null or an empty string --- CHANGELOG.md | 1 + src/client/widgets/basics/textarea.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fafe1d87..d3851f15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - regression in inter-widget sync mechanism - regression breaking `set()` function in scripts + - textarea: display nothing instead of "null" when receing no value, null or an empty string ## 1.25.0 diff --git a/src/client/widgets/basics/textarea.js b/src/client/widgets/basics/textarea.js index c3c9dc23..08477db0 100644 --- a/src/client/widgets/basics/textarea.js +++ b/src/client/widgets/basics/textarea.js @@ -92,9 +92,9 @@ class TextArea extends Widget { setValue(v, options={} ) { - this.value = String(v) + this.value = v === '' || v === null ? this.getProp('default') : String(v) - if (this.value === '' || this.value === null) this.value = this.getProp('default') + if (this.value === '') this.value = this.getProp('default') if (this.input.value !== this.value) this.input.value = this.value From 60b66c80fd548ec9dd7e7e2933204ffeef8be319 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 5 Jun 2023 17:50:08 +0200 Subject: [PATCH 5129/5759] package: 1.25.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0de1f23a..4445f6ed 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.0", + "version": "1.25.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From afeb726ddb441750dc226476ba6c8f10f15d255b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 2 Jul 2023 16:09:12 +0200 Subject: [PATCH 5130/5759] cli: electron might take a capital E, take it into account when parsing args --- src/server/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/settings.js b/src/server/settings.js index 10b83fd6..c6ac3cb6 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -6,7 +6,7 @@ var path = require('path'), address = require('./address') // This prevents argv parsing from breaking when the app is packaged (executed without 'electron' prefix) -var firstArgIndex = path.basename(process.argv[0]).match(/electron|node/) ? 2 : 1 +var firstArgIndex = path.basename(process.argv[0]).match(/electron|node|Electron|Node/) ? 2 : 1 if (process.env.OSC_SERVER_PROCESS) firstArgIndex++ From f206369ef0f37e8ac29793f5105f33a9a90b0c68 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2023 12:29:28 +0200 Subject: [PATCH 5131/5759] textarea: escape key not restoring previous value --- CHANGELOG.md | 5 +++++ src/client/widgets/basics/textarea.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3851f15..ae356c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.25.2 + +- bug fixes + - textarea: escape key not restoring previous value + ## 1.25.1 - bug fixes diff --git a/src/client/widgets/basics/textarea.js b/src/client/widgets/basics/textarea.js index 08477db0..a9bdb350 100644 --- a/src/client/widgets/basics/textarea.js +++ b/src/client/widgets/basics/textarea.js @@ -57,7 +57,7 @@ class TextArea extends Widget { else if (e.keyCode === 27) { // esc this.blur(false) - this.input.value = this.stringValue + this.input.value = this.value } }) From d00b22d35eb3e94236eff65f6b2f20d0f9e3d037 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2023 12:30:12 +0200 Subject: [PATCH 5132/5759] scripting: `setFocus(id)` not affecting textarea widgets --- CHANGELOG.md | 1 + src/client/widgets/basics/textarea.js | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae356c18..2c14bc68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - textarea: escape key not restoring previous value + - scripting: `setFocus(id)` not affecting textarea widgets ## 1.25.1 diff --git a/src/client/widgets/basics/textarea.js b/src/client/widgets/basics/textarea.js index a9bdb350..77f49c8d 100644 --- a/src/client/widgets/basics/textarea.js +++ b/src/client/widgets/basics/textarea.js @@ -43,7 +43,7 @@ class TextArea extends Widget { if (this.getProp('interaction')) { this.input.setAttribute('tabindex', 0) - this.on('focus', this.focus.bind(this), {element: this.input}) + this.on('focus', this.onFocus.bind(this), {element: this.input}) this.on('blur', (e)=>{ this.blur(true) }, {element: this.input}) @@ -65,13 +65,19 @@ class TextArea extends Widget { } - focus() { + onFocus() { if (this.focused) return this.focused = true } + focus() { + + this.input.focus() + + } + blur(change=true) { if (!this.focused) return From 86f80b02659a566b0593ef7080bc508d69110736 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2023 12:31:41 +0200 Subject: [PATCH 5133/5759] led, text, variable: value not synchronized between different clients --- CHANGELOG.md | 1 + src/client/widgets/indicators/led.js | 1 + src/client/widgets/indicators/text.js | 1 + src/client/widgets/scripts/variable.js | 1 + 4 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c14bc68..447417e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - textarea: escape key not restoring previous value - scripting: `setFocus(id)` not affecting textarea widgets + - led, text, variable: value not synchronized between different clients ## 1.25.1 diff --git a/src/client/widgets/indicators/led.js b/src/client/widgets/indicators/led.js index f93b0c4d..e3096c7f 100644 --- a/src/client/widgets/indicators/led.js +++ b/src/client/widgets/indicators/led.js @@ -58,6 +58,7 @@ module.exports = class Led extends StaticProperties(Widget, {bypass: true, inter if (options.sync && ret !== false) this.changed(options) + if (options.send) this.sendValue(null, {syncOnly: true}) } diff --git a/src/client/widgets/indicators/text.js b/src/client/widgets/indicators/text.js index f2f7e8cd..8cfdbd6e 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -65,6 +65,7 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte } if (options.sync) this.changed(options) + if (options.send) this.sendValue(null, {syncOnly: true}) } diff --git a/src/client/widgets/scripts/variable.js b/src/client/widgets/scripts/variable.js index c03bf7d5..8918f798 100644 --- a/src/client/widgets/scripts/variable.js +++ b/src/client/widgets/scripts/variable.js @@ -34,6 +34,7 @@ module.exports = class Variable extends StaticProperties(Widget, {interaction: f this.value = v if (options.sync) this.changed(options) + if (options.send) this.sendValue(null, {syncOnly: true}) } From 413c04f244059c41de116fa1d445e66f42981b51 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2023 12:34:52 +0200 Subject: [PATCH 5134/5759] log: missing changes --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 447417e3..3f28b8b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ - bug fixes - textarea: escape key not restoring previous value - scripting: `setFocus(id)` not affecting textarea widgets - - led, text, variable: value not synchronized between different clients + - led, text, variable: value not synchronized between different clients + - error when running from sources on Mac ## 1.25.1 From ff5800a81447f1142b1f5f4d8e4cf096e66c40d4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2023 12:35:37 +0200 Subject: [PATCH 5135/5759] package: 1.25.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4445f6ed..395442f1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.1", + "version": "1.25.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 2ecb510cb1bcf63289a9ee453d250f2f2cc5b82c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2023 16:40:59 +0200 Subject: [PATCH 5136/5759] input: rendering issues with big font sizes --- CHANGELOG.md | 5 +++++ src/client/widgets/basics/input.js | 21 ++++++++++++--------- src/scss/widgets/basics.scss | 1 + 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f28b8b5..0f7083ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.25.3 + +- bug fixes + - input: rendering issues with big font sizes + ## 1.25.2 - bug fixes diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index a58a9394..6f56d778 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -133,12 +133,12 @@ class Input extends Canvas { resizeHandle(event){ - if (this.fontSize && event.height !== this.fontSize) { - // little hack to prevent flex layout issues - // alternate fix is to set css 'height: 100%;' on the canvas element - // but it produces a big drawing context for just one line of text. - event.height = this.fontSize - } + // if (this.fontSize && event.height !== this.fontSize) { + // // little hack to prevent flex layout issues + // // alternate fix is to set css 'height: 100%;' on the canvas element + // // but it produces a big drawing context for just one line of text. + // event.height = this.fontSize + // } super.resizeHandle(event) @@ -198,12 +198,15 @@ class Input extends Canvas { this.ctx.fillStyle = this.cssVars.colorText + // hack ? prevent weird offset added for unknown reason when font size increases + var offy = this.fontSize / 10; + if (this.textAlign == 'center') { - this.ctx.fillText(v, Math.round(width/2), Math.round(height/2)) + this.ctx.fillText(v, Math.round(width/2), Math.round(height/2 + offy)) } else if (this.textAlign == 'right') { - this.ctx.fillText(v, width, Math.round(height/2)) + this.ctx.fillText(v, width, Math.round(height/2 + offy)) } else { - this.ctx.fillText(v, 0, Math.round(height/2)) + this.ctx.fillText(v, 0, Math.round(height/2 + offy)) } this.clearRect = [0, 0, width, height] diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index bdf6f31d..bf734186 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -588,6 +588,7 @@ canvas { flex:1; max-width: 100%; + height: 100%; } input { From 8c0dfb7c4f19f4e6f531fa6f3d48f7f459f5d5e3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 3 Jul 2023 16:52:02 +0200 Subject: [PATCH 5137/5759] misc: lint --- src/client/widgets/basics/input.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 6f56d778..b85a1b1a 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -198,8 +198,8 @@ class Input extends Canvas { this.ctx.fillStyle = this.cssVars.colorText - // hack ? prevent weird offset added for unknown reason when font size increases - var offy = this.fontSize / 10; + // hack ? prevent weird offset added for unknown reason when font size increases + var offy = this.fontSize / 10 if (this.textAlign == 'center') { this.ctx.fillText(v, Math.round(width/2), Math.round(height/2 + offy)) From 19a4a62a3e5c7a9ec60e7e3f629311d60d4722ea Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 5 Jul 2023 17:29:49 +0200 Subject: [PATCH 5138/5759] docs: minor change --- resources/docs/docs/customization/css-tips.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/customization/css-tips.md b/resources/docs/docs/customization/css-tips.md index 904101f1..95e7c236 100644 --- a/resources/docs/docs/customization/css-tips.md +++ b/resources/docs/docs/customization/css-tips.md @@ -27,12 +27,12 @@ CSS selectors can be used to apply styles to specific elements: */ } -.label { - /* style for the .label elements */ +label { + /* style for the label elements */ } -> .label { - /* style for the direct child .label element */ +> label { + /* style for the direct child label element */ } ``` From bce4c10acfda5bef3e21f3e1276faa0ac82bb2d7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 16 Jul 2023 17:47:15 +0200 Subject: [PATCH 5139/5759] panel: tab rendering issue when initialized with a non-numeric value --- CHANGELOG.md | 1 + src/client/widgets/containers/panel.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f7083ec..e21df858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - input: rendering issues with big font sizes + - panel: tab rendering issue when initialized with a non-numeric value ## 1.25.2 diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 983a02c0..d0ef778d 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -220,7 +220,7 @@ class Panel extends Container() { e.stopPropagation = true }) - this.setValue(this.getProp('value') || 0) + this.setValue(Number(this.getProp('value')) || 0) } else if (this.getProp('widgets') && this.getProp('widgets').length) { From bd2a4f3bedc256b1d8851d439322429fbcdc85ac Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 24 Jul 2023 14:33:04 +0200 Subject: [PATCH 5140/5759] panel: minor style issue in tab navigation bar --- CHANGELOG.md | 3 ++- src/scss/widgets/containers.scss | 17 ++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e21df858..08610e5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ - bug fixes - input: rendering issues with big font sizes - - panel: tab rendering issue when initialized with a non-numeric value + - panel: tab rendering issue when initialized with a non-numeric value + - panel: minor style issue in tab navigation bar ## 1.25.2 diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index f48575d6..f97f77fc 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -333,16 +333,25 @@ background: var(--color-fill); z-index: 101; } + + + } + } + &.tabs-top, &.bottom { + div { + &:last-child { + border-right: 0; + } &:first-child:before { margin-left: 1rem; } &:last-child:before { margin-right: 1rem; } - } } + &.tabs-left, &.tabs-right { flex-direction: column; height: 100%; @@ -374,13 +383,15 @@ background: var(--color-fill); z-index: 101; } + + &:last-child { + border-bottom:0 + } &:first-child:before { margin-top: 1rem; - margin-left: 0; } &:last-child:before { margin-bottom: 1rem; - margin-right: 0; } } } From 28d06cc14a77e66eb6c7023bb1ab426ef944104a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Aug 2023 10:36:23 +0200 Subject: [PATCH 5141/5759] docs: typo in syntax example --- resources/docs/docs/widgets/advanced-syntaxes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 0745414d..8db8e3ab 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -54,7 +54,7 @@ Options can contain `@{}` blocks. JS{ return OSC{address} || { "key a": 1, - "key b", 2 + "key b": 2 } } ``` From aa1ee85f6225e7069470060bc41fde10700a2b4b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 19 Aug 2023 07:38:06 +0200 Subject: [PATCH 5142/5759] scripting: scripting functions not working inside `browseFile()` callback --- CHANGELOG.md | 1 + src/client/widgets/scripts/script-vm.js | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08610e5b..6de207b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - input: rendering issues with big font sizes - panel: tab rendering issue when initialized with a non-numeric value - panel: minor style issue in tab navigation bar + - scripting: scripting functions not working inside `browseFile()` callback ## 1.25.2 diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 53c4706c..5ad0f5ee 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -569,14 +569,28 @@ class ScriptVm extends Vm { callback = options options = {} } + + if (typeof callback === 'function') { + + var widget = this.getWidget(), + valueOptions = this.getValueOptions() + uiFilebrowser({ extension: options.extention || '*', directory: options.directory || undefined, loadDir: !!options.allowDir, save: options.mode === 'save' }, (path)=>{ - callback(path.join(path[0][0] === '/' ? '/' : '\\')) + this.setWidget(widget) + this.setValueOptions(valueOptions) + try { + callback(path.join(path[0][0] === '/' ? '/' : '\\')) + } catch(e) { + widget.errorProp('script', 'browseFile', e) + } + this.setWidget() + this.setValueOptions() }) } else { widget.errorProp('script', 'browseFile', 'callback argument must be a function') From cb009e64e0899151c4e76dc5cc407f3976d4c1cf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 21 Aug 2023 23:23:22 +0200 Subject: [PATCH 5143/5759] docs: remove old button mode description --- src/client/widgets/basics/button.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 372a965e..8fd99237 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -47,7 +47,6 @@ class Button extends Widget { decoupled: {type: 'boolean', value: false, help: [ 'Set to `true` make the local feedback update only when it receives a value from an osc/midi message that matches the `on` or `off` property.', 'When `decoupled`, the button\'s value is ambiguous: when interacted with, it will send the value that\'s requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).', - '- `decoupled (toggle mode that only updates its state when it receives a value from an osc/midi message*)`', 'From a script property, feedback messages can be simulated with:', '`set("widget_id", value, {external: true})`' ]}, From c766370db7b7efe480094e90d175d3d064c0dcc1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 21 Aug 2023 23:33:22 +0200 Subject: [PATCH 5144/5759] scripting: using `external: true` in `set()` should prevent affected widget from sending any message --- CHANGELOG.md | 3 ++- resources/docs/docs/widgets/scripting.md | 2 +- src/client/widgets/scripts/script-vm.js | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6de207b1..c845e003 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,8 @@ - panel: tab rendering issue when initialized with a non-numeric value - panel: minor style issue in tab navigation bar - scripting: scripting functions not working inside `browseFile()` callback - + - scripting: using `external: true` in `set()` should prevent affected widget from sending any message + ## 1.25.2 - bug fixes diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 37959f9b..394ba49f 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -141,7 +141,7 @@ Returns the value of the first matching widget. If the returned value is an obje - `sync: false`: prevents widgets from triggering synchronization and scripts - `script: false`: prevents scripts but not synchronization - `send: false`: prevents widgets from sending osc messages - - `external: true`: simulates a value coming from an osc/midi message + - `external: true`: simulates a value coming from an osc/midi message (implies `sync: false` automatically) Sets the value of the first matching widget. If `ìd` contains wildcards, affects all matching widgets **except** the emitting widget. diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 5ad0f5ee..c7a6a583 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -87,7 +87,10 @@ class ScriptVm extends Vm { if (extraOptions.send === false) options.send = false if (extraOptions.sync === false) options.sync = false if (extraOptions.script === false) options.script = false - if (extraOptions.external === true) options.fromExternal = true + if (extraOptions.external === true) { + options.fromExternal = true + options.send = false + } var widgets if (id.includes('*')) { From 6498e0c6f6d3ab293561894809dd6f8062c07920 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 21 Aug 2023 23:44:18 +0200 Subject: [PATCH 5145/5759] button: inconsistent value in `push` mode with `decoupled` enabled when setting value from script --- CHANGELOG.md | 3 ++- src/client/widgets/basics/button.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c845e003..85367b55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ - panel: minor style issue in tab navigation bar - scripting: scripting functions not working inside `browseFile()` callback - scripting: using `external: true` in `set()` should prevent affected widget from sending any message - + - button: inconsistent value in `push` mode with `decoupled` enabled when setting value from script + ## 1.25.2 - bug fixes diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 8fd99237..8a4cda5b 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -278,7 +278,7 @@ class Button extends Widget { if (options.fromExternal) { this.state = newstate this.decoupledValue.setValue(newstate, {sync: true}) - } else if (!options.local && this.getProp('mode') === 'push') { + } else if ((!options.local || options.fromScript) && this.getProp('mode') === 'push') { if (newstate === 1 && !this.touchActive) { this.touchActive = 1 setTimeout(()=>{this.touchActive = 0}) From 95097d549e38aa4d2e5a8a9bd4d58afb5394d69d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Aug 2023 00:12:31 +0200 Subject: [PATCH 5146/5759] button: hand push+decoupled scripting issue in script-vm directly --- src/client/widgets/basics/button.js | 2 +- src/client/widgets/scripts/script-vm.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 8a4cda5b..8fd99237 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -278,7 +278,7 @@ class Button extends Widget { if (options.fromExternal) { this.state = newstate this.decoupledValue.setValue(newstate, {sync: true}) - } else if ((!options.local || options.fromScript) && this.getProp('mode') === 'push') { + } else if (!options.local && this.getProp('mode') === 'push') { if (newstate === 1 && !this.touchActive) { this.touchActive = 1 setTimeout(()=>{this.touchActive = 0}) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index c7a6a583..83b34dac 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -80,6 +80,7 @@ class ScriptVm extends Vm { options.fromScript = widget.hash if (options.dragged) options.dragged = false + if (options.local) options.local = false // if (id === options.id) options.sync = false // loop stop // if (this.getWidget() === options.widget) options.sync = false // loop stop From 6122b7cabd01cac17d68079ae37ec0d93554f3b8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Aug 2023 00:35:19 +0200 Subject: [PATCH 5147/5759] package: 1.25.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 395442f1..8a3a4c70 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.2", + "version": "1.25.3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From f2f1949053c6e8c93fc5456a57c95bc2e953846c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Aug 2023 00:37:12 +0200 Subject: [PATCH 5148/5759] docs: update --- resources/docs/docs/widgets/properties-reference.md | 2 +- resources/docs/docs/widgets/scripting.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 3aa8bfdc..84837ff6 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -100,7 +100,7 @@ |
            off#
            | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. Ignored if `mode` is `momentary` or `tap`. | |
            mode#
            | `string` | "toggle" | Interaction mode:
            - `toggle` (classic on/off switch)
            - `push` (press & release)
            - `momentary` (no release, no value sent with the address)
            - `tap` (no release, sends `on` as value)

            Choices: `toggle`, `push`, `momentary`, `tap` | |
            doubleTap#
            | `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | - |
            decoupled#
            | `boolean` | false | Set to `true` make the local feedback update only when it receives a value from an osc/midi message that matches the `on` or `off` property.

            When `decoupled`, the button's value is ambiguous: when interacted with, it will send the value that's requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).
            - `decoupled (toggle mode that only updates its state when it receives a value from an osc/midi message*)`

            From a script property, feedback messages can be simulated with:

            `set("widget_id", value, {external: true})` | + |
            decoupled#
            | `boolean` | false | Set to `true` make the local feedback update only when it receives a value from an osc/midi message that matches the `on` or `off` property.

            When `decoupled`, the button's value is ambiguous: when interacted with, it will send the value that's requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).

            From a script property, feedback messages can be simulated with:

            `set("widget_id", value, {external: true})` | === "scripting" diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 394ba49f..75f1c7f7 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -380,4 +380,4 @@ Opens the file file browser and pass selected file to a callback function (does - `extension`: allowed extension (default: "*") - `directory`: starting directory for browser (default: user's home) - `allowDir`: allow choosing a directory instead of a file (default: false) - - `mode`: "save" or "open" + - `mode`: "save" or "open" From 90b34d74756f16796761cbfc4fdae16beb838d75 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 30 Aug 2023 13:13:29 +0200 Subject: [PATCH 5149/5759] custom module: `receive()` not passing boolean arguments properly --- CHANGELOG.md | 7 ++++++- src/server/osc/index.js | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85367b55..c133f228 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.25.4 + +- bug fixes + - custom module: `receive()` not passing boolean arguments properly + ## 1.25.3 - bug fixes @@ -8,7 +13,7 @@ - panel: minor style issue in tab navigation bar - scripting: scripting functions not working inside `browseFile()` callback - scripting: using `external: true` in `set()` should prevent affected widget from sending any message - - button: inconsistent value in `push` mode with `decoupled` enabled when setting value from script + - button: inconsistent value in `push` mode with `decoupled` enabled when setting value from script ## 1.25.2 diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 7c2e7c04..715e69ca 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -74,11 +74,11 @@ class OscServer { case 'number': return {type: 'f', value: arg} case 'boolean': - return {type: arg ? 'T' : 'F'} + return {type: arg ? 'T' : 'F', value: arg} case 'string': - return {type: 's', value:arg} + return {type: 's', value: arg} default: - return {type: 's', value:JSON.stringify(arg)} + return {type: 's', value: JSON.stringify(arg)} } } From 6b96d208c9726a951643a09881d39ee668db8678 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 30 Aug 2023 13:20:56 +0200 Subject: [PATCH 5150/5759] editor: display current widget value in the `value` property's help modal --- CHANGELOG.md | 3 +++ src/client/ui/ui-inspector.js | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c133f228..7464cfb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - bug fixes - custom module: `receive()` not passing boolean arguments properly +- editor + - display current widget value in the `value` property's help modal + ## 1.25.3 - bug fixes diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index f43aba4a..1db74ecc 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -403,8 +403,13 @@ class UiInspector extends UiWidget { ${htmlHelp}
            -

            Computed value: ${computedValue || 'empty'}

            +

            Computed property: ${computedValue || 'empty'}

            + ${name === 'value' ? raw(` +
            +

            Current value: ${JSON.stringify(this.widget.getValue())}

            +
            + `): ''} `}) From 04e4e95c04b367afdca4089aa699f943c3997838 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 6 Sep 2023 23:44:21 +0200 Subject: [PATCH 5151/5759] ipc: fix `--authentication` on iOS clients (don't rely on headers to pass credentials) misc: remove "new Buffer()" deprecation warning --- CHANGELOG.md | 1 + src/client/ipc/index.js | 2 +- src/server/ipc/server.js | 10 +++++----- src/server/server.js | 1 + 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7464cfb8..1676929b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - custom module: `receive()` not passing boolean arguments properly + - fix `--authentication` on iOS clients - editor - display current widget value in the `value` property's help modal diff --git a/src/client/ipc/index.js b/src/client/ipc/index.js index 2023622a..fe00f4bc 100644 --- a/src/client/ipc/index.js +++ b/src/client/ipc/index.js @@ -73,7 +73,7 @@ class Ipc extends EventEmitter { open() { - this.socket = new WebSocket(protocol + window.location.host + '/' + uuid) + this.socket = new WebSocket(protocol + window.location.host + '/' + uuid + '/' + window.AUTH) this.socket.onclose = this.socket.onerror = ()=>{ if (!this.connected()) this.close() diff --git a/src/server/ipc/server.js b/src/server/ipc/server.js index 28d827f7..61cabb4a 100644 --- a/src/server/ipc/server.js +++ b/src/server/ipc/server.js @@ -16,18 +16,18 @@ class Ipc extends EventEmitter { this.server.on('connection', (socket, req)=>{ + var url = req.url.split('/'), + auth = url.pop().replace('_', '/'), + id = url.pop() + if (settings.read('authentication')) { - if (!req.headers.authorization) return - if (req.headers.authorization.search('Basic ') !== 0) return - var auth = new Buffer(req.headers.authorization.split(' ')[1], 'base64').toString() - if (settings.read('authentication') !== auth) { + if (settings.read('authentication') !== Buffer.from(auth, 'base64').toString()) { console.log(`(WARNING) Client connexion refused for ${req.connection.remoteAddress} (authentication failed)`) socket.close() return } } - var id = req.url.split('/').pop() if (!id) return diff --git a/src/server/server.js b/src/server/server.js index 918845a6..3b19ef9f 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -105,6 +105,7 @@ function httpRoute(req, res) { window.IP=${JSON.stringify(ip)} window.ENV=${JSON.stringify(clientOptions)} window.READ_ONLY=${JSON.stringify(settings.read('read-only'))} + window.AUTH=\`${(req.headers.authorization || '').replace('Basic ', '').replace('/', '_')}\` `)) .pipe(res) From 3b1f075fb3b5ec25725fc60635c450e3ffa64f2f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 6 Sep 2023 23:46:50 +0200 Subject: [PATCH 5152/5759] package: 1.25.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a3a4c70..2e263672 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.3", + "version": "1.25.4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 3e74271e122e2967d641984b66dc918d7bb9e009 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 8 Sep 2023 18:08:54 +0200 Subject: [PATCH 5153/5759] code editor: update ace (use upstream), update syntax (es7), do some cleanup, prevent middle clicking (causes issues on linux) --- scripts/copy-assets.js | 3 +++ src/client/ui/ui-code-editor.js | 36 ++++++++++++++------------------ src/scss/ui/inspector.scss | 37 +++++++++++++-------------------- src/server/server.js | 6 +++++- 4 files changed, 38 insertions(+), 44 deletions(-) diff --git a/scripts/copy-assets.js b/scripts/copy-assets.js index 9ddfd516..73ad3e70 100644 --- a/scripts/copy-assets.js +++ b/scripts/copy-assets.js @@ -9,6 +9,9 @@ var cpr = require('cpr'), ['../resources/fonts/', '../app/assets/fonts/'], ['../src/html/launcher.html', '../app/launcher/index.html'], ['../node_modules/fsevents/fsevents.node', '../app/server/fsevents.node'], + ['../node_modules/ace-builds/src-min/worker-css.js', '../app/client/workers/worker-css.js'], + ['../node_modules/ace-builds/src-min/worker-html.js', '../app/client/workers/worker-html.js'], + ['../node_modules/ace-builds/src-min/worker-javascript.js', '../app/client/workers/worker-javascript.js'], ] for (var i in files) { diff --git a/src/client/ui/ui-code-editor.js b/src/client/ui/ui-code-editor.js index 0b8107aa..c83cb00a 100644 --- a/src/client/ui/ui-code-editor.js +++ b/src/client/ui/ui-code-editor.js @@ -3,15 +3,17 @@ var UiModal = require('./ui-modal'), html = require('nanohtml'), raw = require('nanohtml/raw'), {icon} = require('../ui/utils'), - ace = require('brace'), + ace = require('ace-builds/src/ace.js'), scriptGlobals = require('../widgets/scripts/script-vm').globals, editors = {}, editorModes = { - javascript: require('brace/mode/javascript'), - css: require('brace/mode/css'), - html: require('brace/mode/html'), + javascript: require('ace-builds/src/mode-javascript.js'), + css: require('ace-builds/src/mode-css.js'), + html: require('ace-builds/src/mode-html.js'), }, codeEditorModKey = (navigator.platform || '').match('Mac') ? 'Cmd' : 'Ctrl' +ace.config.set('basePath', '/client/workers/') + class CodeEditor { constructor(parent, name, language, syntaxChecker) { @@ -60,7 +62,9 @@ class CodeEditor { this.editor.setOptions({ autoScrollEditorIntoView: true, - fixedWidthGutter: true, + copyWithEmptySelection: true, + highlightIndentGuides:false, + tooltipFollowsMouse: false, tabSize: 2, maxLines: 30, dragEnabled: false, @@ -84,7 +88,7 @@ class CodeEditor { if (language === 'javascript' && syntaxChecker !== false) { this.editor.getSession().$worker.send('setOptions', [{ asi: true, // no semicolon - esversion: 6, + esversion: 7, strict: 'implied', node: false, browser: true, @@ -94,15 +98,12 @@ class CodeEditor { }]) } - - this.middledown = false - this.editor.on('mousedown', function(e) { - if (e.domEvent.button === 1) this.middledown = true - }) - this.editor.on('mouseup', function(e) { - if (e.domEvent.button === 1) this.middledown = false - }) - + this.container.addEventListener('mousedown', (e)=>{ + if (e.button === 1) { + e.preventDefault() + e.stopPropagation() + } + }, {capture: true}) } @@ -127,10 +128,6 @@ class CodeEditor { } editor.removeAllListeners('focus') this.editor.on('focus', (e)=>{ - if (this.middledown) { - e.preventDefault() - return - } this.parent.focusedInput = this.input this.editor.setHighlightActiveLine(true) this.editor.setHighlightGutterLine(true) @@ -141,7 +138,6 @@ class CodeEditor { // this.parent.focusedInput = this.input this.editor.dirty = true }) - this.editor.on('blur', (e)=>{ this.editor.setHighlightActiveLine(false) this.editor.setHighlightGutterLine(false) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 5c660d49..809bcf8f 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -269,8 +269,6 @@ osc-inspector-field .ace_editor { background: var(--color-background); color: #6a6f7a; border-right: 1rem solid var(--color-ui-background); - z-index: 10; - // padding-top: 1rem; line-height: 1.5 } .ace_print-margin { @@ -295,11 +293,9 @@ osc-inspector-field .ace_editor { background: #c6dbae } .ace_marker-layer .ace_bracket { - // margin: 0 0 0 -1rem; border: none; border-radius: 0; margin-top: 1rem; - position: relative; border-bottom: 1rem solid var(--color-accent) } .ace_marker-layer .ace_active-line { @@ -402,7 +398,7 @@ osc-inspector-field .ace_editor { margin-left: -1rem; } .ace_tooltip { - left:$padding!important; + left:$padding + 1!important; max-width: 80%; white-space: pre-wrap; background: var(--color-context-menu); @@ -412,25 +408,20 @@ osc-inspector-field .ace_editor { border: none; border-radius: 0; } - .ace_info { - background: linear-gradient(rgba(black, 0.5), rgba(black, 0.5)), var(--color-text)!important; - color: var(--color-background); + .ace_gutter { + .ace_info { + background: linear-gradient(rgba(black, 0.5), rgba(black, 0.5)), var(--color-text)!important; + color: var(--color-background); + } + .ace_warning { + background: linear-gradient(rgba(black, 0.5), rgba(black, 0.5)), var(--color-warning); + color: var(--color-background); + } + .ace_error { + background: linear-gradient(rgba(black, 0.4), rgba(black, 0.4)), var(--color-error); + color: var(--color-background); + } } - .ace_warning { - background: linear-gradient(rgba(black, 0.5), rgba(black, 0.5)), var(--color-warning); - color: var(--color-background); - } - .ace_error { - background: linear-gradient(rgba(black, 0.4), rgba(black, 0.4)), var(--color-error); - color: var(--color-background); - } - // .ace_search { - // position: fixed; - // top: var(--nav-height); - // margin-top: $padding; - // right: $padding * 2; - // border-radius: 3rem; - // } } diff --git a/src/server/server.js b/src/server/server.js index 3b19ef9f..30ce3185 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -113,7 +113,11 @@ function httpRoute(req, res) { } else { - if (url.indexOf('__OSC_ASSET__=1') != -1 || url.indexOf('open-stage-control-client.js.map') != -1) { + if ( + url.indexOf('__OSC_ASSET__=1') != -1 || + url.indexOf('open-stage-control-client.js.map') != -1 || + url.indexOf('/client/workers') != -1 + ) { // osc asset files From 7d751c6982f48679e7153d70cc829e48967a0163 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 8 Sep 2023 18:14:34 +0200 Subject: [PATCH 5154/5759] dev: fix hot reload --- scripts/build-client.js | 2 +- scripts/build-css.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-client.js b/scripts/build-client.js index 966ead91..f6e4b64b 100644 --- a/scripts/build-client.js +++ b/scripts/build-client.js @@ -49,7 +49,7 @@ if (watch) { WS = require('../node_modules/ws') function send(msg, data){ - var ipc = new WS('ws://127.0.0.1:8080/dev') + var ipc = new WS('ws://127.0.0.1:8080/dev/') ipc.on('error', ()=>{}) ipc.on('open', ()=>{ ipc.send(JSON.stringify([msg, data])) diff --git a/scripts/build-css.js b/scripts/build-css.js index c2fe2d57..0e697159 100644 --- a/scripts/build-css.js +++ b/scripts/build-css.js @@ -33,7 +33,7 @@ if (process.argv.includes('--reload')) { var WS = require('../node_modules/ws') - var ipc = new WS('ws://127.0.0.1:8080/dev') + var ipc = new WS('ws://127.0.0.1:8080/dev/') ipc.on('error', ()=>{}) ipc.on('open', ()=>{ From 1e0dc41abcbfccbc52d155f243aea2fe4926cab2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 8 Sep 2023 18:15:13 +0200 Subject: [PATCH 5155/5759] package: next is 1.25.5 --- CHANGELOG.md | 6 ++++++ package.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1676929b..2ccc8b75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.25.5 + +- bug fixes + - code editor: issue when middle clicking in the editor on linux + - code editor: modern js operators such as `**` not recognized + ## 1.25.4 - bug fixes diff --git a/package.json b/package.json index 2e263672..715c66a9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.4", + "version": "1.25.5", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" @@ -26,11 +26,11 @@ "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.18.0", "@electron/remote": "2.0.8", + "ace-builds": "1.24.1", "ansi-html": "0.0.9", "babelify": "10.0.0", "balanced-match": "2.0.0", "bonjour": "github:jean-emmanuel/bonjour", - "brace": "0.11.1", "browserify": "17.0.0", "chokidar": "3.5.3", "chroma-js": "2.4.2", From 1fd85238859e1b59bad797f5af95dacd52de14d6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 8 Sep 2023 18:15:26 +0200 Subject: [PATCH 5156/5759] misc: update package-lock --- package-lock.json | 305 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 291 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 335c22b8..2fc88847 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-stage-control", - "version": "1.20.0", + "version": "1.25.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "open-stage-control", - "version": "1.20.0", + "version": "1.25.5", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { @@ -16,11 +16,11 @@ "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.18.0", "@electron/remote": "2.0.8", + "ace-builds": "1.24.1", "ansi-html": "0.0.9", "babelify": "10.0.0", "balanced-match": "2.0.0", "bonjour": "github:jean-emmanuel/bonjour", - "brace": "0.11.1", "browserify": "17.0.0", "chokidar": "3.5.3", "chroma-js": "2.4.2", @@ -78,7 +78,8 @@ }, "optionalDependencies": { "electron": "15.1.0", - "electron-installer-debian": "3.1.0" + "electron-installer-debian": "3.1.0", + "electron-installer-redhat": "3.4.0" } }, "node_modules/@ampproject/remapping": { @@ -3635,6 +3636,11 @@ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, + "node_modules/ace-builds": { + "version": "1.24.1", + "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.24.1.tgz", + "integrity": "sha512-TLcxMxiTRX5Eq9bBVSd/bTJlanCBULiv/IULLohJDDaCAfcpZKJBVSd4OWfN/j2c2jCLc+jhpNWGELiJZw3wPw==" + }, "node_modules/acorn": { "version": "7.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", @@ -4324,11 +4330,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/brace": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/brace/-/brace-0.11.1.tgz", - "integrity": "sha1-SJb8ydVE7vRfS7dmDbMg07N5/lg=" - }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -5754,6 +5755,164 @@ "node": ">=8" } }, + "node_modules/electron-installer-redhat": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/electron-installer-redhat/-/electron-installer-redhat-3.4.0.tgz", + "integrity": "sha512-gEISr3U32Sgtj+fjxUAlSDo3wyGGq6OBx7rF5UdpIgbnpUvMN4W5uYb0ThpnAZ42VEJh/3aODQXHbFS4f5J3Iw==", + "optional": true, + "os": [ + "darwin", + "linux" + ], + "dependencies": { + "@malept/cross-spawn-promise": "^1.0.0", + "debug": "^4.1.1", + "electron-installer-common": "^0.10.2", + "fs-extra": "^9.0.0", + "lodash": "^4.17.15", + "word-wrap": "^1.2.3", + "yargs": "^16.0.2" + }, + "bin": { + "electron-installer-redhat": "src/cli.js" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/electron-installer-redhat/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "optional": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/electron-installer-redhat/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "optional": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/electron-installer-redhat/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "optional": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/electron-installer-redhat/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "optional": true + }, + "node_modules/electron-installer-redhat/node_modules/fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "optional": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/electron-installer-redhat/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "optional": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/electron-installer-redhat/node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "optional": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/electron-installer-redhat/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "optional": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/electron-installer-redhat/node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "optional": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/electron-installer-redhat/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "optional": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/electron-installer-redhat/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "optional": true, + "engines": { + "node": ">=10" + } + }, "node_modules/electron-is-accelerator": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/electron-is-accelerator/-/electron-is-accelerator-0.1.2.tgz", @@ -15188,6 +15347,11 @@ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, + "ace-builds": { + "version": "1.24.1", + "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.24.1.tgz", + "integrity": "sha512-TLcxMxiTRX5Eq9bBVSd/bTJlanCBULiv/IULLohJDDaCAfcpZKJBVSd4OWfN/j2c2jCLc+jhpNWGELiJZw3wPw==" + }, "acorn": { "version": "7.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", @@ -15703,11 +15867,6 @@ } } }, - "brace": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/brace/-/brace-0.11.1.tgz", - "integrity": "sha1-SJb8ydVE7vRfS7dmDbMg07N5/lg=" - }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -16853,6 +17012,124 @@ } } }, + "electron-installer-redhat": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/electron-installer-redhat/-/electron-installer-redhat-3.4.0.tgz", + "integrity": "sha512-gEISr3U32Sgtj+fjxUAlSDo3wyGGq6OBx7rF5UdpIgbnpUvMN4W5uYb0ThpnAZ42VEJh/3aODQXHbFS4f5J3Iw==", + "optional": true, + "requires": { + "@malept/cross-spawn-promise": "^1.0.0", + "debug": "^4.1.1", + "electron-installer-common": "^0.10.2", + "fs-extra": "^9.0.0", + "lodash": "^4.17.15", + "word-wrap": "^1.2.3", + "yargs": "^16.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "optional": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "optional": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "optional": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "optional": true + }, + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "optional": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "optional": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "optional": true + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "optional": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "optional": true + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "optional": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "optional": true + } + } + }, "electron-is-accelerator": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/electron-is-accelerator/-/electron-is-accelerator-0.1.2.tgz", From 98a27de0dfa338413f36e530cfce15812bcbe49b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 11 Sep 2023 09:22:11 +0200 Subject: [PATCH 5157/5759] sliders: prevent error when `steps` is not a number, add `auto` mode for using ranges values as steps (it did not work before) --- CHANGELOG.md | 3 ++- src/client/widgets/sliders/fader.js | 8 ++++---- src/client/widgets/sliders/knob.js | 6 +++--- src/client/widgets/sliders/slider.js | 20 ++++++++++++++------ 4 files changed, 23 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ccc8b75..3d15e661 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ - bug fixes - code editor: issue when middle clicking in the editor on linux - - code editor: modern js operators such as `**` not recognized + - code editor: modern js operators such as `**` not recognized + - sliders: prevent error when `steps` is not a number, add `auto` mode for using ranges values as steps (it did not work before) ## 1.25.4 diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 242ad3f0..b3b046b4 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -42,11 +42,11 @@ class Fader extends Slider { ]}, logScale: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale. Set to `-1` for exponential scale.'}, sensitivity: {type: 'number', value: 1, help: 'Defines the fader\'s sensitivity when `snap` is `false` '}, - steps: {type: 'string|number|array', value: '', help: [ + steps: {type: 'number|array|string', value: '', help: [ 'Restricts the widget\'s value:', - '- `empty` or `0`: use values defined in `range`', '- `number`: define a number of evenly spaced steps', - '- `array`: use arbitrary values', + '- `array` of numbers: use arbitrary values as steps', + '- `auto`: use values defined in `range`' ]}, origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the fader\'s gauge'}, } @@ -181,7 +181,7 @@ class Fader extends Slider { var width = this.getProp('horizontal') ? this.height : this.width, height = !this.getProp('horizontal') ? this.height : this.width - var percent = this.getProp('steps') ? this.valueToPercent(this.value) : this.percent, + var percent = this.steps ? this.valueToPercent(this.value) : this.percent, d = Math.round(this.percentToCoord(percent)), o = Math.round(this.percentToCoord(this.valueToPercent(this.originValue))), m = this.getProp('horizontal') ? this.height / 2 : this.width / 2, diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 103e8d32..602efc06 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -44,9 +44,9 @@ module.exports = class Knob extends Slider { sensitivity: {type: 'number', value: 1, help: 'Defines the knob\'s sensitivity when `mode` is not `snap` '}, steps: {type: 'string|number|array', value: '', help: [ 'Restricts the widget\'s value:', - '- `empty` or `0`: use values defined in `range`', '- `number`: define a number of evenly spaced steps', - '- `array`: use arbitrary values', + '- `array` of numbers: use arbitrary values as steps', + '- `auto`: use values defined in `range`' ]}, origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the knob\'s gauge'}, } @@ -166,7 +166,7 @@ module.exports = class Knob extends Slider { draw() { - var percent = this.getProp('steps') ? this.valueToPercent(this.value) : this.percent, + var percent = this.steps ? this.valueToPercent(this.value) : this.percent, o = this.percentToAngle(this.valueToPercent(this.originValue)), d = this.percentToAngle(percent), min = this.percentToAngle(0), diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 1dbb357d..af5622e4 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -80,6 +80,7 @@ class Slider extends Canvas { this.on('dragend', this.dragendHandleProxy.bind(this), {element:this.widget, multitouch: options.multitouch}) this.on('wheel',this.mousewheelHandleProxy.bind(this), {element: this.widget}) + this.steps = null this.setSteps() this.setValue(this.getSpringValue()) @@ -120,7 +121,7 @@ class Slider extends Canvas { var direction = e.deltaY > 0 ? -1 : 1, increment = e.ctrlKey ? 0.25 : 1 - if (this.getProp('steps')) { + if (this.steps) { var i = this.steps.indexOf(this.value), val if (i === -1) { @@ -214,7 +215,7 @@ class Slider extends Canvas { this.value = value - if (this.getProp('steps')) { + if (this.steps) { var diff = this.steps.map(x => Math.abs(x - this.value)), index = diff.indexOf(Math.min(...diff)), @@ -237,10 +238,17 @@ class Slider extends Canvas { if (this.getProp('steps')) { var steps = this.getProp('steps') - this.steps = Array.isArray(steps) ? - steps : typeof steps === 'number' ? - Array(steps).fill(0).map((x, i) => i / (steps - 1) * (this.rangeValsMax - this.rangeValsMin) + this.rangeValsMin) - : this.rangeVals + if (steps === 'auto') { + this.steps = this.rangeVals + } else if (typeof steps === 'number' && steps > 0) { + this.steps = Array(steps).fill(0).map((x, i) => i / (steps - 1) * (this.rangeValsMax - this.rangeValsMin) + this.rangeValsMin) + } else if (Array.isArray(steps) && step.every(x=>typeof x === 'number')) { + this.steps = steps + } else { + this.steps = null + } + } else { + this.steps = null } } From cac9fb7abca3f54a8ae805cc6dac6590d720eeda Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 13 Sep 2023 08:10:28 +0200 Subject: [PATCH 5158/5759] widget: when possible, init value as soon as possible to avoid undefined when an array is expected. --- CHANGELOG.md | 3 ++- src/client/widgets/common/widget.js | 1 + src/client/widgets/pads/multixy.js | 2 -- src/client/widgets/pads/pad.js | 2 +- src/client/widgets/pads/rgb.js | 4 +--- src/client/widgets/pads/xy.js | 2 -- src/client/widgets/sliders/range.js | 2 +- src/client/widgets/sliders/slider.js | 1 - 8 files changed, 6 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d15e661..c1adbf09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ - bug fixes - code editor: issue when middle clicking in the editor on linux - code editor: modern js operators such as `**` not recognized - - sliders: prevent error when `steps` is not a number, add `auto` mode for using ranges values as steps (it did not work before) + - sliders: prevent error when `steps` is not a number, add `auto` mode for using ranges values as steps (it did not work before) + - pads, range: value not initialized as an array, causing errors in some cases ## 1.25.4 diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 95bc24e6..321afb1c 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -201,6 +201,7 @@ class Widget extends EventEmitter { this.isValueChanging = false this.valueChangingTimeout = null this.valueChangingQueue = {} + this.value = options.value this.parsers = {} this.parsersLocalScope = options.locals || {} diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 0f236cf0..bc6944e8 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -87,8 +87,6 @@ module.exports = class MultiXy extends Pad { } - this.value = [] - this.padsCoords = [] this.touchMap = {} diff --git a/src/client/widgets/pads/pad.js b/src/client/widgets/pads/pad.js index dfdf6af0..3b278654 100644 --- a/src/client/widgets/pads/pad.js +++ b/src/client/widgets/pads/pad.js @@ -5,7 +5,7 @@ class Pad extends Canvas { constructor(options) { - super({...options, html: html` + super({...options, value: [], html: html` diff --git a/src/client/widgets/pads/rgb.js b/src/client/widgets/pads/rgb.js index 5f9f54db..9576814a 100644 --- a/src/client/widgets/pads/rgb.js +++ b/src/client/widgets/pads/rgb.js @@ -40,7 +40,7 @@ module.exports = class Rgb extends Widget { constructor(options) { - super({...options, html: html``}) + super({...options, value: [], html: html``}) this.container.classList.toggle('contains-alpha', this.getProp('alpha')) @@ -125,8 +125,6 @@ module.exports = class Rgb extends Widget { } - this.value = [] - this.hsb = {h:0,s:0,b:0} this.setValue(initValue) diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 5efeb80b..92a973b4 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -84,8 +84,6 @@ module.exports = class Xy extends Pad { e.stopPropagation = true }) - this.value = [] - touchstate(this, {element: this.canvas}) this.active = false diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index 21196817..3502db51 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -45,7 +45,7 @@ class Range extends Fader { options.multitouch = true - super({...options, html: html` + super({...options, value: [], html: html` `}) diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index af5622e4..62ebbf57 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -14,7 +14,6 @@ class Slider extends Canvas { this.container.classList.add('design-' + this.getProp('design')) - this.value = undefined this.percent = 0 this.gaugePadding = 0 From 07b921d157fd6e4d8363212966441d97b3d68f69 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 13 Sep 2023 20:25:51 +0200 Subject: [PATCH 5159/5759] button: issue with value init (see previous commit) --- src/client/widgets/common/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 321afb1c..57e1a9f5 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -201,7 +201,7 @@ class Widget extends EventEmitter { this.isValueChanging = false this.valueChangingTimeout = null this.valueChangingQueue = {} - this.value = options.value + if (options.value !== undefined) this.value = options.value this.parsers = {} this.parsersLocalScope = options.locals || {} From 58540eda0ccab2639e6436c1a8340ff7ae96bbf7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 13 Sep 2023 21:54:30 +0200 Subject: [PATCH 5160/5759] modal: fix closing when doubleTap is true --- CHANGELOG.md | 1 + src/client/widgets/containers/modal.js | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1adbf09..7f4fffdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - code editor: modern js operators such as `**` not recognized - sliders: prevent error when `steps` is not a number, add `auto` mode for using ranges values as steps (it did not work before) - pads, range: value not initialized as an array, causing errors in some cases + - modal: not closing properly when `doubleTap` is true ## 1.25.4 diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index d6c27735..7e8e2ce3 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -98,6 +98,16 @@ class Modal extends Panel { this.toggle = this.container.appendChild(html`
            `) + var closer = DOM.get(this.popup, '.closer')[0] + + this.on('fast-click',(e)=>{ + console.log(e) + if ((e.target === this.popup || e.target === closer) && this.value == 1) { + e.detail.preventOriginalEvent = true + this.setValue(0, {sync:true, send:true}) + } + }, {element: this.container}) + if (this.getProp('doubleTap')) { doubleTap(this, ()=>{ this.setValue(1, {sync:true, send:true}) @@ -112,15 +122,6 @@ class Modal extends Panel { }, {element: this.container}) } - var closer = DOM.get(this.popup, '.closer')[0] - - this.on('fast-click',(e)=>{ - if ((e.target === this.popup || e.target === closer) && this.value == 1) { - e.detail.preventOriginalEvent = true - this.setValue(0, {sync:true, send:true}) - } - }, {element: this.container}) - this.escapeKeyHandler = ((e)=>{ if (e.keyCode==27) this.setValue(0, {sync:true, send:true}) From 4d7ef455ce1d0169c949c6da5f2694c3ba773c6d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 13 Sep 2023 21:58:35 +0200 Subject: [PATCH 5161/5759] log: phrasing --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f4fffdd..45e3c4f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - code editor: modern js operators such as `**` not recognized - sliders: prevent error when `steps` is not a number, add `auto` mode for using ranges values as steps (it did not work before) - pads, range: value not initialized as an array, causing errors in some cases - - modal: not closing properly when `doubleTap` is true + - modal: popup not closing when `doubleTap` is true ## 1.25.4 From e4b45b1a6b790c8a4ccc5c9c6228a99a22b7f030 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Sep 2023 08:07:09 +0200 Subject: [PATCH 5162/5759] sliders: round steps to avoid errors --- src/client/widgets/sliders/slider.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 62ebbf57..745ed6e0 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -239,7 +239,8 @@ class Slider extends Canvas { var steps = this.getProp('steps') if (steps === 'auto') { this.steps = this.rangeVals - } else if (typeof steps === 'number' && steps > 0) { + } else if (typeof steps === 'number' && Math.round(steps) > 0) { + steps = Math.round(steps) this.steps = Array(steps).fill(0).map((x, i) => i / (steps - 1) * (this.rangeValsMax - this.rangeValsMin) + this.rangeValsMin) } else if (Array.isArray(steps) && step.every(x=>typeof x === 'number')) { this.steps = steps From 91507ff3a99173f268d695cf548689347f875059 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 25 Sep 2023 11:30:34 +0200 Subject: [PATCH 5163/5759] misc: rm old files --- .eslintignore | 1 - Procfile | 1 - 2 files changed, 2 deletions(-) delete mode 100644 .eslintignore delete mode 100644 Procfile diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index e54938f4..00000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -jquery.*.js diff --git a/Procfile b/Procfile deleted file mode 100644 index 90e85874..00000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: node app/ -n -p $PORT --remote-saving 127.0.0.1 $OPTIONS From 2c97ac662c09789a204ea77a1de3d73729cc85ea Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 14 Oct 2023 11:51:31 +0200 Subject: [PATCH 5164/5759] docs: small fix --- resources/docs/docs/remote-control.md | 4 ++-- resources/docs/docs/widgets/properties-reference.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index 27b75a5a..59709b75 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -169,7 +169,7 @@ Sends back the app's state to specified target Set widgets' state - `state`: `string`, json stringified object (`"widget_id": value` pairs) -- `send` (optional): `boolean`, set to `false` to prevent widgets from sending their values when the state is applied +- `send` (optional): `boolean`, set to `false` to prevent widgets from sending their values when the state is applied @@ -203,7 +203,7 @@ Open state file `path.state`. #### `/STATE/SAVE path.state` -Save state session to `path.state`. If `path.state` is omitted, current session's path is used. +Save state session to `path.state`. ---- diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 84837ff6..f6a08f1f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -825,7 +825,7 @@ |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
            logScale#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
            sensitivity#
            | `number` | 1 | Defines the fader's sensitivity when `snap` is `false` | - |
            steps#
            | `string`|
            `number`|
            `array` | "" | Restricts the widget's value:
            - `empty` or `0`: use values defined in `range`
            - `number`: define a number of evenly spaced steps
            - `array`: use arbitrary values | + |
            steps#
            | `number`|
            `array`|
            `string` | "" | Restricts the widget's value:
            - `number`: define a number of evenly spaced steps
            - `array` of numbers: use arbitrary values as steps
            - `auto`: use values defined in `range` | |
            origin#
            | `number` | "auto" | Defines the starting point's value of the fader's gauge | === "scripting" @@ -858,7 +858,7 @@ |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
            logScale#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
            sensitivity#
            | `number` | 1 | Defines the knob's sensitivity when `mode` is not `snap` | - |
            steps#
            | `string`|
            `number`|
            `array` | "" | Restricts the widget's value:
            - `empty` or `0`: use values defined in `range`
            - `number`: define a number of evenly spaced steps
            - `array`: use arbitrary values | + |
            steps#
            | `string`|
            `number`|
            `array` | "" | Restricts the widget's value:
            - `number`: define a number of evenly spaced steps
            - `array` of numbers: use arbitrary values as steps
            - `auto`: use values defined in `range` | |
            origin#
            | `number` | "auto" | Defines the starting point's value of the knob's gauge | === "scripting" @@ -923,7 +923,7 @@ |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
            logScale#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
            sensitivity#
            | `number` | 1 | Defines the fader's sensitivity when `snap` is `false` | - |
            steps#
            | `string`|
            `number`|
            `array` | "" | Restricts the widget's value:
            - `empty` or `0`: use values defined in `range`
            - `number`: define a number of evenly spaced steps
            - `array`: use arbitrary values | + |
            steps#
            | `number`|
            `array`|
            `string` | "" | Restricts the widget's value:
            - `number`: define a number of evenly spaced steps
            - `array` of numbers: use arbitrary values as steps
            - `auto`: use values defined in `range` | === "scripting" From a6237a0aac49ccdb1c81becbe4387bb4aad71ba0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 22 Nov 2023 10:15:40 +0100 Subject: [PATCH 5165/5759] scripting: `stateSet`: add optional `{send: false}` flag --- CHANGELOG.md | 5 +++++ resources/docs/docs/widgets/scripting.md | 5 ++++- src/client/widgets/scripts/script-vm.js | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45e3c4f8..90b76a97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.26.0 + +- scripting + - `stateSet`: add optional `{send: false}` flag + ## 1.25.5 - bug fixes diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 75f1c7f7..843a4641 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -233,10 +233,13 @@ Returns a state object (`id:value`) for matching widget and all their children. ---- -#### `stateSet(state)` +#### `stateSet(state, options)` Loads a state object. If the event that triggered the script's execution was initiated by a user interaction, this will make the updated widgets send their value as well. +- `options` (optional): `object`, accepts the following items: + - `send: false`: prevents widgets from sending osc messages + ---- #### `storage` diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 83b34dac..028c55a4 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -330,12 +330,12 @@ class ScriptVm extends Vm { } - this.sandbox.contentWindow.stateSet = (state)=>{ + this.sandbox.contentWindow.stateSet = (state, extraOptions = {})=>{ this.checkContext('stateSet') var options = this.getValueOptions() - stateManager.set(state, options.send) + stateManager.set(state, extraOptions.send === false ? false : options.send) } From e4db027085617f6207abc102fa0bdb1307c5a5ac Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 23 Nov 2023 09:38:15 +0100 Subject: [PATCH 5166/5759] sliders: steps error (#835) --- CHANGELOG.md | 5 ++++- package-lock.json | 4 ++-- package.json | 2 +- src/client/widgets/sliders/slider.js | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90b76a97..d92e6274 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog -## 1.26.0 +## 1.25.6 + +- bug fixes + - sliders: error when `steps` is an array - scripting - `stateSet`: add optional `{send: false}` flag diff --git a/package-lock.json b/package-lock.json index 2fc88847..f197d525 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-stage-control", - "version": "1.25.5", + "version": "1.25.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "open-stage-control", - "version": "1.25.5", + "version": "1.25.6", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { diff --git a/package.json b/package.json index 715c66a9..c3e80ce1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.5", + "version": "1.25.6", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 745ed6e0..11ecd8e9 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -242,7 +242,7 @@ class Slider extends Canvas { } else if (typeof steps === 'number' && Math.round(steps) > 0) { steps = Math.round(steps) this.steps = Array(steps).fill(0).map((x, i) => i / (steps - 1) * (this.rangeValsMax - this.rangeValsMin) + this.rangeValsMin) - } else if (Array.isArray(steps) && step.every(x=>typeof x === 'number')) { + } else if (Array.isArray(steps) && steps.every(x=>typeof x === 'number')) { this.steps = steps } else { this.steps = null From 4ef35951254658db8a90701115904bde9e90691f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 23 Nov 2023 09:42:32 +0100 Subject: [PATCH 5167/5759] server: print config file read error --- src/server/settings.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/server/settings.js b/src/server/settings.js index c6ac3cb6..8bc159cb 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -115,7 +115,10 @@ if (configPathExists) { } try { config = JSON.parse(fs.readFileSync(configPath,'utf-8')) - } catch(e) {} + } catch(e) { + console.error('(ERROR) Could not read config from file:' + configPath) + console.error(e) + } if (cli) { for (let k in config) { if (k === 'options') continue From 0d66f2b8a8c4ca18d1130ebb84191d90f0ce6864 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 30 Nov 2023 13:21:20 +0100 Subject: [PATCH 5168/5759] docs: add tutorial, rm cpu warning for /EDIT (mostly irrelevant today) --- resources/docs/docs/remote-control.md | 4 - .../tutorials/change-property-with-osc.md | 149 ++++++++++++++++++ resources/mkdocs.yml | 1 + 3 files changed, 150 insertions(+), 4 deletions(-) create mode 100644 resources/docs/docs/tutorials/change-property-with-osc.md diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index 59709b75..09f450ad 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -20,10 +20,6 @@ Apply a set of options to an existing widget by replacing the old ones with the - `options` (optional): `string`, [JSON5](https://github.com/json5/json5) stringified object defining extra option flags: - `noWarning`: set to `true` to prevent further warning when exiting. -!!! danger "Warning" - Editing widgets is cpu expensive; for small and recurrent changes, consider using [osc listeners](./widgets/advanced-syntaxes.md) instead. - - ---- #### `/EDIT/MERGE id properties options` diff --git a/resources/docs/docs/tutorials/change-property-with-osc.md b/resources/docs/docs/tutorials/change-property-with-osc.md new file mode 100644 index 00000000..1c9a83c8 --- /dev/null +++ b/resources/docs/docs/tutorials/change-property-with-osc.md @@ -0,0 +1,149 @@ +# Change a widget property with an osc message + +By default, widgets only expose their value to incoming messages, but there are multiple ways to allow changing any widget property using osc messages as well. In this tutorial we'll explore the different possibilities for exposing the `visible` property of a widget to incoming messages, but it applies to any other property. + +## 1. Using a variable widget + +Create a variable widget and set up its `address` (and `preArgs` if needed) so that it receives the messages you want to use, and then in your other widget's `visible` property, use the [inheritance syntax](../widgets/advanced-syntaxes.md#inheritance-idproperty) to retrieve the variable's value: + + +=== "Inheritance syntax" + ``` + @{variable_id} + ``` +=== "Inheritance syntax + Javascript" + ```js + JS{ + // bonus, in case you don't want to use the variable's value as-is + if (@{variable_id} > 0.5) { + return true + } else { + return false + } + } + ``` + +Now the variable's value will determine the visibility of the widget. The `visible` property expects a boolean value (`true` for visible, `false` for invisible) but any [truthy](https://developer.mozilla.org/en-US/docs/Glossary/truthy) / [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) will do (e.g. `1` for visible, `0` for invisible is a sensible choice). + +## 2. Using the OSC listener syntax + +The [OSC listener syntax](../widgets/advanced-syntaxes.md#osc-listeners-oscaddress-default-usepreargs) might be a more straightforward solution for simple use cases. Writing this in a widget's `visible` property: + + +=== "Relative address" + ``` + OSC{show} + ``` + +will listen for messages on address `/widget_address/show` and return the last received value. + + +If we write this instead: + +=== "Absolute address" + ``` + OSC{/show} + ``` + +the address will be `/show` and won't be prefixed with the widget's address as before. + + +It is often needed to specify the initial state of the listener (before it receives any message), this is done via the second argument of the listener syntax: + + +=== "Default value (true)" + ``` + OSC{show, true} + ``` +=== "Default value (truthy)" + ``` + OSC{show, 1} + ``` +=== "Default value (false)" + ``` + OSC{show, false} + ``` +=== "Default value (falsy)" + ``` + OSC{show, 0} + ``` + +If the widget has any preArgs set, the osc listener will inherit them by default, this means that for a message to change the listener's value it will not only have to match its address but also the widget's `preArgs`, this can be prevented using the third argument of the listener syntax: + +=== "Ignore preArgs" + ``` + OSC{show, 1, false} + ``` + + +## 3. Using custom variables + +The [custom variable syntax](../widgets/advanced-syntaxes.md#custom-variables-varvariablename-default) connects regular properties and scripting properties (`onCreate`, `onValue`, etc), writing this in the `visible` property: + +``` +VAR{show} +``` + +will create a custom variable named `show` scoped to the widget (custom variables do not use a global namespace and multiple widgets may use the same names for their custom variables without conflict). This custom variable can be read and set from any widget scripting property using the [`getVar()` / `setVar()`](../widgets/scripting.md#getvarid-name) functions. + +For instance, we could use a variable widget as osc receiver like in the first example of this tutorial and use it's `onValue` script to change the custom variable's value (instead of using the inheritance syntax): + +```js +// variable widget onValue +// simply pass received value to the custom variable +setVar('widget_id', 'show', value) +``` + + +The custom variable's initial state can be specified: + +``` +VAR{show, 1} +``` + +## 4. Using /EDIT commands + +The [`/EDIT`](../remote-control.md) remote control command can be used to modify any widget property in the session, for instance: + +``` +/EDIT widget_id '{visible: false}' +``` + +Will hide the widget with id `widget_id`. Note that this is different from the 3 techniques described above in that it actually modifies the session and changes the property value in a destructive way (the property is rewritten, not just its state). When quitting the session after using it a warning indicating the session has unsaved changes will be shown, this can be prevented by appending a extra argument to the message: + +``` +/EDIT widget_id '{visible: false}' '{noWarning: true}' +``` + +Note that the arguments after `widget_id` are sent as strings ([JSON5](https://github.com/json5/json5)-encoded objects), this is because sending plain javascript object over osc is not possible. + +## Bonus: custom module + +Any of these techniques can be used in conjunction with a [custom module](../custom-module/custom-module.md). Using the `receive()` function allows simulating incoming osc messages and can be used to trigger property changes: + +=== "Variable widget" + ```js + var visible = true + receive('/variable_id', visible) + // or if variable widgets has preArgs + receive('/variable_id', preArg1, preArg2, visible) + ``` +=== "OSC listener" + ```js + var visible = true + receive('/widget_address/show', visible) + // or if listener has preArgs + receive('/widget_address/show', preArg1, preArg2, visible) + ``` +=== "Custom variable" + ```js + var visible = true + receive('/SCRIPT', `setVar('widget_id', 'show', ${visible})`) + ``` +=== "/EDIT command" + ```js + var visible = true + // what's really cool here is that you don't need to stringify objects arguments + // receive() will take care of that for you + receive('/EDIT', 'widget_id', {visible: visible}}, {noWarning: true}) + ``` diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 9bbd1e29..4a075979 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -37,6 +37,7 @@ nav: - docs/getting-started/running-with-node.md - Tutorials: - docs/tutorials/first-steps.md + - docs/tutorials/change-property-with-osc.md - User interface: - docs/user-interface/launcher.md - docs/user-interface/client.md From 3a5fdf17c7d493b90a57546702ac4ef4af0cfc0a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 17 Jan 2024 15:40:57 +0100 Subject: [PATCH 5169/5759] widgets: prevent value update event from interfering with a container creating its children --- CHANGELOG.md | 5 +++++ src/client/widgets/common/widget.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d92e6274..79e65b1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## next + +- bug fixes + - rare issue that made the last widget(s) in a container disappear when other widgets in the same container had a specific property dependency pattern + ## 1.25.6 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 57e1a9f5..eff09c00 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -491,7 +491,7 @@ class Widget extends EventEmitter { if (!this.linkedValueChangedCallback && Object.keys(this.linkedPropsValue).length) { this.linkedValueChangedCallback = (e)=>{ - if (this.isValueChanging && e.widget !== this) { + if (!this.parent.mounted || this.isValueChanging && e.widget !== this) { clearTimeout(this.valueChangingTimeout) this.valueChangingQueue[e.widget.hash] = e this.valueChangingTimeout = setTimeout(()=>{ From 9181c2a3aadc7a5630740358cd09e5416b9ee4c9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 17 Jan 2024 16:05:03 +0100 Subject: [PATCH 5170/5759] remote control: `/EDIT*` commands sent by a custom module are not affected by the server's `read-only` option anymore --- CHANGELOG.md | 3 +++ resources/docs/docs/remote-control.md | 3 +-- src/client/osc.js | 2 +- src/client/remote-control.js | 20 ++++++++++---------- src/server/osc/index.js | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79e65b1b..d24ba64c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - bug fixes - rare issue that made the last widget(s) in a container disappear when other widgets in the same container had a specific property dependency pattern +- remote control + - `/EDIT*` commands sent by a custom module are not affected by the server's `read-only` option anymore + ## 1.25.6 - bug fixes diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index 09f450ad..98ea8c63 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -11,8 +11,7 @@ When osc messages are received, the default behavior is to update the value of a #### `/EDIT id properties options` -Apply a set of options to an existing widget by replacing the old ones with the new ones. This ignores the widget's `lock` property. - +Apply a set of options to an existing widget by replacing the old ones with the new ones. This ignores the widget's `lock` property. If sent by a custom module using `receive()`, this command will not be prevented by the server's `read-only` option. - `id`: `string`, widget's `id` - `properties`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge diff --git a/src/client/osc.js b/src/client/osc.js index dded16a4..5271404c 100644 --- a/src/client/osc.js +++ b/src/client/osc.js @@ -69,7 +69,7 @@ var Osc = class Osc extends EventEmitter { if (data._rawTarget && !CLIENT_SYNC) return - if (typeof this.remoteControl.exists === 'function' && this.remoteControl.exists(data.address)) this.remoteControl.exec(data.address, data.args) + if (typeof this.remoteControl.exists === 'function' && this.remoteControl.exists(data.address)) this.remoteControl.exec(data.address, data.args, data.cm) var [widgets, restArgs] = widgetManager.getWidgetByAddressAndArgs(data.address, data.args) diff --git a/src/client/remote-control.js b/src/client/remote-control.js index 64253209..1f0380c8 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -8,9 +8,9 @@ var {updateWidget} = require('./editor/data-workers'), uiConsole = require('./ui/ui-console') var callbacks = { - '/EDIT': function(args) { + '/EDIT': function(args, custom_module) { - if (READ_ONLY) return + if (READ_ONLY && !custom_module) return var [id, json, opts] = args, newdata = typeof json == 'string' ? JSON.parseFlex(json) : json, @@ -40,9 +40,9 @@ var callbacks = { if (options.noWarning) editor.unsavedSession = false }, - '/EDIT/MERGE': function(args) { + '/EDIT/MERGE': function(args, custom_module) { - if (READ_ONLY) return + if (READ_ONLY && !custom_module) return var [id, json, opts] = args, newdata = typeof json == 'string' ? JSON.parseFlex(json) : json, @@ -70,16 +70,16 @@ var callbacks = { if (options.noWarning) editor.unsavedSession = false }, - '/EDIT/UNDO': function(args) { + '/EDIT/UNDO': function(args, custom_module) { - if (READ_ONLY) return + if (READ_ONLY && !custom_module) return editor.undo() }, - '/EDIT/REDO': function(args) { + '/EDIT/REDO': function(args, custom_module) { - if (READ_ONLY) return + if (READ_ONLY && !custom_module) return editor.redo() @@ -307,9 +307,9 @@ var callbacks = { } module.exports = { - exec: function(name, args){ + exec: function(name, args, custom_module){ if (callbacks[name]) { - callbacks[name](args) + callbacks[name](args, custom_module) } }, exists: function(name){ diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 715e69ca..d72562b7 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -36,7 +36,7 @@ class OscServer { if (typeof lastArg === 'object' && lastArg !== null && lastArg.clientId !== undefined) { options = args.pop() } - this.receiveOsc({host, port, address, args:args.map(x=>this.parseArg(x))}, options.clientId) + this.receiveOsc({host, port, address, args:args.map(x=>this.parseArg(x)), cm: 1}, options.clientId) }, }) : {} From a04c658bb5ca4f881c0a590909d8510a8d432b16 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 17 Jan 2024 16:16:09 +0100 Subject: [PATCH 5171/5759] input: allow using a number in `numeric` to specify stepping value for mousewheel interaction --- CHANGELOG.md | 3 +++ src/client/widgets/basics/input.js | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d24ba64c..4783e766 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ - remote control - `/EDIT*` commands sent by a custom module are not affected by the server's `read-only` option anymore +- widgets + - input: allow using a number in `numeric` to specify stepping value for mousewheel interaction + ## 1.25.6 - bug fixes diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index b85a1b1a..d0d30435 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -20,7 +20,9 @@ class Input extends Canvas { }, class_specific: { asYouType: {type: 'boolean', value: false, help: 'Set to `true` to make the input send its value at each keystroke'}, - numeric: {type: 'boolean', value: false, help: ['Set to `true` to allow numeric values only and display a numeric keyboard on mobile devices']}, + numeric: {type: 'boolean|number', value: false, help: [ + 'Set to `true` to allow numeric values only and display a numeric keyboard on mobile devices', + 'Can be a number to specify the stepping value for mousewheel interaction (only when the input is focused).']}, validation: {type: 'string', value: '', help: [ 'Regular expression: if the submitted value doesn\'t match the regular expression, it will be reset to the last valid value.', 'If leading and trailing slashes are omitted, they will be added automatically and the flag will be set to "gm"', @@ -65,6 +67,7 @@ class Input extends Canvas { this.input.type = 'number' this.input.pattern = '[0-9\.]*' this.input.inputMode = 'decimal' + this.input.step = parseFloat(this.getProp('numeric')) || 1 } if (this.getProp('maxLength') !== '') { From 86e819870c50914ac77f86c458c4c936c649a613 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 17 Jan 2024 16:31:27 +0100 Subject: [PATCH 5172/5759] root: add `onPreload` scripting property --- CHANGELOG.md | 1 + resources/docs/docs/widgets/scripting.md | 4 ++++ src/client/widgets/common/widget.js | 2 +- src/client/widgets/containers/panel.js | 11 +++++++++++ src/client/widgets/containers/root.js | 3 +++ 5 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4783e766..f6ba17cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - widgets - input: allow using a number in `numeric` to specify stepping value for mousewheel interaction + - root: add `onPreload` scripting property ## 1.25.6 diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 843a4641..5c9fea44 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -103,6 +103,10 @@ The following variables are available in this context: - `meta` (`boolean`): `true` if meta key is pressed +### `onPreload` + +This script is specific to the root widget, it's called before any other widget is created and can be used to create global variables / functions accessible in other scripts. + ## Available variables The following variables and functions are accessible in this context. diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index eff09c00..fa131940 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -142,7 +142,7 @@ class Widget extends EventEmitter { bypass: {type: 'boolean', value: false, help: 'Set to `true` to prevent the widget from sending any osc message'} }, scripting: { - onCreate: {type: 'script', value: '', editor: 'javascript', help: ['Script executed when the widget is created. See documentation.']}, + onCreate: {type: 'script', value: '', editor: 'javascript', help: ['Script executed when the widget (and its children) is created. See documentation.']}, onValue: {type: 'script', value: '', editor: 'javascript', help: ['Script executed when the widget\'s value updates. See documentation.']}, } } diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index d0ef778d..ecfe2e3d 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -6,6 +6,7 @@ var Container = require('../common/container'), setScrollbarColor = require('../../ui/scrollbar-color'), iOS13 = require('../../ui/ios') === 13, Fader = require('../sliders/fader'), faderDefaults, + Script = require('../scripts/script'), resize = require('../../events/resize'), fastdom = require('fastdom') @@ -56,6 +57,16 @@ class Panel extends Container() { this.childrenType = '' + if (options.root && this.getProp('onPreload')) { + this.scripts.onPreload = new Script({ + widget: this, + property: 'onPreload', + code: this.getProp('onPreload'), + context: {} + }) + if (this.scripts.onPreload) this.scripts.onPreload.run({}, {}) + } + this.container.classList.toggle('no-inner-padding', !this.getProp('innerPadding')) this.container.classList.toggle('no-scroll', !this.getProp('scroll')) this.container.classList.add('layout-' + this.getProp('layout')) diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 9803494f..1cfcebae 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -30,6 +30,9 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro _separator_root_style: 'Root style', hideMenu: {type: 'boolean', value: false, help: 'Set to `true` to hide the main menu button.'}, + }, + scripting: { + onPreload: {type: 'script', value: '', editor: 'javascript', help: ['Script executed before any other widget is created. See documentation.']}, } }) From bc4e1952e9bb2245a607d7da866d711ae48761f2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 17 Jan 2024 16:41:10 +0100 Subject: [PATCH 5173/5759] package: next is 1.25.7 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6ba17cb..fe039573 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## next +## 1.25.7 - bug fixes - rare issue that made the last widget(s) in a container disappear when other widgets in the same container had a specific property dependency pattern diff --git a/package.json b/package.json index c3e80ce1..f9791d88 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.6", + "version": "1.25.7", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 8c77ab7ca6d63d8b99b1f9891e0b681781bc48ec Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 17 Jan 2024 16:43:22 +0100 Subject: [PATCH 5174/5759] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index f6a08f1f..42d057fd 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -75,7 +75,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
            onCreate#
            | `script` | "" | Script executed when the widget is created. See documentation. | + |
            onCreate#
            | `script` | "" | Script executed when the widget (and its children) is created. See documentation. | |
            onValue#
            | `script` | "" | Script executed when the widget's value updates. See documentation. | ## Basics @@ -191,7 +191,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            asYouType#
            | `boolean` | false | Set to `true` to make the input send its value at each keystroke | - |
            numeric#
            | `boolean` | false | Set to `true` to allow numeric values only and display a numeric keyboard on mobile devices | + |
            numeric#
            | `boolean`|
            `number` | false | Set to `true` to allow numeric values only and display a numeric keyboard on mobile devices

            Can be a number to specify the stepping value for mousewheel interaction (only when the input is focused). | |
            validation#
            | `string` | "" | Regular expression: if the submitted value doesn't match the regular expression, it will be reset to the last valid value.

            If leading and trailing slashes are omitted, they will be added automatically and the flag will be set to "gm"

            Examples:
            - `^[0-9]*$` accepts digits only, any number of them
            - `/^[a-zs]{0,10}$/i` accept between 0 and 10 alphabetic characters and spaces (case insensitive) | |
            maxLength#
            | `number` | "" | Maximum number of characters allowed | @@ -468,6 +468,12 @@ | --- | --- | --- | --- | |
            value#
            | `integer`|
            `array` | "" | If the panel contains tabs, its value defines which tab is selected selected (by index, starting with 0).

            If the panel contains widgets and `scroll` is `true`, its value is an array that contains the scrolling state between 0 and 1 for the x and y axis. | + === "scripting" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            onPreload#
            | `script` | "" | Script executed before any other widget is created. See documentation. | + === "children" | property | type |default | description | @@ -794,6 +800,7 @@ | property | type |default | description | | --- | --- | --- | --- | + |
            onCreate#
            | `script` | "" | Script executed when the widget is created. See documentation. | |
            onValue#
            | `script` | "" | Script executed whenever the widget's value updates. See documentation. | |
            onTouch#
            | `script` | "" | Script executed when the widget is touched and released, and when the pointer moves when the widget is touched. See documentation. | |
            onDraw#
            | `script` | "" | Script executed when the widget is redrawn. See documentation. | @@ -940,6 +947,7 @@ | property | type |default | description | | --- | --- | --- | --- | + |
            onCreate#
            | `script` | "" | Script executed when the widget is created. See documentation. | |
            onKeyboard#
            | `script` | "" | Script executed whenever the widget receives a keyboard event if `keyBinding` is set). See documentation. | |
            keyBinding#
            | `string`|
            `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation).

            If the editor is enabled, some keys / combos will not work.

            To process all keystroke events, write `['']` | |
            keyRepeat#
            | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | From bf8d9799ccae904852406fcb041a788184fe85e3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 22 Jan 2024 18:50:59 +0100 Subject: [PATCH 5175/5759] modal: remove debug log --- src/client/widgets/containers/modal.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 7e8e2ce3..5c3198df 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -101,7 +101,6 @@ class Modal extends Panel { var closer = DOM.get(this.popup, '.closer')[0] this.on('fast-click',(e)=>{ - console.log(e) if ((e.target === this.popup || e.target === closer) && this.value == 1) { e.detail.preventOriginalEvent = true this.setValue(0, {sync:true, send:true}) From 690add4b38508d869f3aff67aa844a6af4d3dd32 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 4 Feb 2024 09:57:22 +0100 Subject: [PATCH 5176/5759] server: fix config file read/write initial check --- src/server/settings.js | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/server/settings.js b/src/server/settings.js index 8bc159cb..90862b43 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -113,11 +113,20 @@ if (configPathExists) { } else { configPath = path.join(baseDir, 'config.json') } - try { - config = JSON.parse(fs.readFileSync(configPath,'utf-8')) - } catch(e) { - console.error('(ERROR) Could not read config from file:' + configPath) - console.error(e) + if (fs.existsSync(configPath)) { + try { + config = JSON.parse(fs.readFileSync(configPath,'utf-8')) + } catch(e) { + console.error('(ERROR) Could not read config from file:' + configPath) + console.error(e) + } + } else { + try { + fs.writeFileSync(configPath, '{}') + } catch(e) { + console.error('(ERROR) Could not create config file:' + configPath) + console.error(e) + } } if (cli) { for (let k in config) { From 87ad29fa234d83a570e4e2b83572bfdbf58c1ce9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 Feb 2024 14:24:26 +0100 Subject: [PATCH 5177/5759] scripting: `getProp()` now correctly returns a copy of the property if it is an object --- CHANGELOG.md | 5 +++++ src/client/widgets/scripts/script-vm.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe039573..8913f91d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.25.8 + +- bug fixes + - scripting: `getProp()` now correctly returns a copy of the property if it is an object + ## 1.25.7 - bug fixes diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 028c55a4..0d2754cd 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -216,7 +216,7 @@ class ScriptVm extends Vm { for (var i = widgets.length - 1; i >= 0; i--) { var v = widgets[i].getProp(prop) - if (v !== undefined) return v + if (v !== undefined) return deepCopy(v) } From e2215b865a3a11d2624bb38e649e5a88be30bf24 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 Feb 2024 14:31:33 +0100 Subject: [PATCH 5178/5759] docs: python-rtmidi manual install update --- resources/docs/docs/midi/midi-configuration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index d5a7cf1f..d7e7a8fc 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -16,8 +16,10 @@ ??? example "Linux" + Install `python3-rtmidi` from your distribution's package repository, or if it's not available: + - Install `python3` and `python3-pip` from your distribution's package repository - - Install `python-rtmidi` from a terminal by executing this command + - Run this command in a terminal ```bash python3 -m pip install python-rtmidi --upgrade ``` From 8b92400c1e9436a55fd88bcd683d7d060be3c91a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 Feb 2024 17:38:45 +0100 Subject: [PATCH 5179/5759] widgets: solve multi-value-dependency pattern resolution using a single queue instead of timeouts --- CHANGELOG.md | 4 +++- src/client/editor/data-workers.js | 4 ++++ src/client/managers/widgets.js | 25 ++++++++++++++++++++++++ src/client/parser.js | 4 ++++ src/client/widgets/common/widget.js | 30 +++++------------------------ 5 files changed, 41 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8913f91d..37c73816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,9 @@ ## 1.25.8 - bug fixes - - scripting: `getProp()` now correctly returns a copy of the property if it is an object + - scripting: `getProp()` now correctly returns a copy of the property if it is an object + - prevent infinite loop when loading widgets with complex inter-dependencies + ## 1.25.7 diff --git a/src/client/editor/data-workers.js b/src/client/editor/data-workers.js index f9267823..f6b01f03 100644 --- a/src/client/editor/data-workers.js +++ b/src/client/editor/data-workers.js @@ -43,6 +43,8 @@ function updateWidget(widget, options={}) { return } + widgetManager.valueChangeLock() + var reuseChildren = options.reuseChildren !== false && widget instanceof Panel && !(widget instanceof Matrix) @@ -146,6 +148,8 @@ function updateWidget(widget, options={}) { } } + widgetManager.valueChangeUnlock() + editor.widgetTree.updateTree(editor.selectedWidgets) if (editor.selectedWidgets.includes(widget) && !options.preventSelect) { diff --git a/src/client/managers/widgets.js b/src/client/managers/widgets.js index f758a945..904977fc 100644 --- a/src/client/managers/widgets.js +++ b/src/client/managers/widgets.js @@ -19,6 +19,9 @@ class WidgetManager extends EventEmitter { this.preArgsSeparator = '||||' + this.valueChangeLockDepth = 0 + this.valueChangeQueue = {} + this.on('value-changed', this.onChange.bind(this)) ipc.on('connect', ()=>{ @@ -29,8 +32,29 @@ class WidgetManager extends EventEmitter { } + valueChangeLock() { + this.valueChangeLockDepth++ + } + + valueChangeUnlock() { + this.valueChangeLockDepth-- + if (this.valueChangeLockDepth == 0) { + for (var h in this.valueChangeQueue) { + if (this.valueChangeQueue[h]) this.applyValueChange(this.valueChangeQueue[h]) + } + this.valueChangeQueue = {} + } + } + onChange(e) { + if (this.valueChangeLockDepth === 0) this.applyValueChange(e) + else this.valueChangeQueue[e.widget.hash] = e + + } + + applyValueChange(e) { + var {id, widget, linkId, options} = e if (linkId) { @@ -78,6 +102,7 @@ class WidgetManager extends EventEmitter { } } + this.trigger('value-changed-lazy', e) } createAddressRef(widget, preArgs, address) { diff --git a/src/client/parser.js b/src/client/parser.js index 0f0247db..e0eca83e 100644 --- a/src/client/parser.js +++ b/src/client/parser.js @@ -43,6 +43,8 @@ var Parser = class Parser { var props = data + widgetManager.valueChangeLock() + // Set default widget type props.type = tab ? 'tab' : props.type || 'fader' @@ -107,6 +109,8 @@ var Parser = class Parser { parentNode.appendChild(widget.container) widget.mounted = true + widgetManager.valueChangeUnlock() + // Editor needs to get the container object return widget diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index fa131940..667f1121 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -198,9 +198,6 @@ class Widget extends EventEmitter { this.mounted = false this.visible = true - this.isValueChanging = false - this.valueChangingTimeout = null - this.valueChangingQueue = {} if (options.value !== undefined) this.value = options.value this.parsers = {} @@ -348,18 +345,14 @@ class Widget extends EventEmitter { changed(options) { - // emitting value-changed might trigger feedback from multiple widgets - // in which case we'll want to hold on until we're done syncing - // and dedupe feedback actions caused by advanced syntaxes - // see this.linkedValueChangedCallback in createLinkedPropsBindings() - this.isValueChanging = true + widgetManager.valueChangeLock() this.trigger('value-changed', { widget: this, options: options, id: this.getProp('id'), linkId: this.getProp('linkId') }) - this.isValueChanging = false + widgetManager.valueChangeUnlock() } @@ -491,27 +484,14 @@ class Widget extends EventEmitter { if (!this.linkedValueChangedCallback && Object.keys(this.linkedPropsValue).length) { this.linkedValueChangedCallback = (e)=>{ - if (!this.parent.mounted || this.isValueChanging && e.widget !== this) { - clearTimeout(this.valueChangingTimeout) - this.valueChangingQueue[e.widget.hash] = e - this.valueChangingTimeout = setTimeout(()=>{ - if (!this.removed) { - for (var h in this.valueChangingQueue) { - this.onLinkedPropsChanged(this.valueChangingQueue[h], 'value-changed') - } - } - this.valueChangingQueue = {} - }) - } else { - this.onLinkedPropsChanged(e, 'value-changed') - } + this.onLinkedPropsChanged(e, 'value-changed') } - widgetManager.on('value-changed', this.linkedValueChangedCallback, {context: this}) + widgetManager.on('value-changed-lazy', this.linkedValueChangedCallback, {context: this}) } else if (this.linkedPropsValueCallback && !Object.keys(this.linkedPropsValue).length) { - widgetManager.off('value-changed', this.linkedValueChangedCallback) + widgetManager.off('value-changed-lazy', this.linkedValueChangedCallback) delete this.linkedValueChangedCallback } From 5184498b9a3087298626cea10b18a7543f5d0dd0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 Feb 2024 21:31:19 +0100 Subject: [PATCH 5180/5759] package: version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f9791d88..b66a2707 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.7", + "version": "1.25.8-dev", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 5f4c2c60be0442ff7ac4eac8b349e66c4fe3bb03 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 Feb 2024 21:31:46 +0100 Subject: [PATCH 5181/5759] ipc: prevent stuck disconnected notif --- src/client/ipc/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/ipc/index.js b/src/client/ipc/index.js index fe00f4bc..b5871add 100644 --- a/src/client/ipc/index.js +++ b/src/client/ipc/index.js @@ -123,16 +123,17 @@ class Ipc extends EventEmitter { clearTimeout(this.disconnectTimeout) this.disconnectTimeout = setTimeout(()=>{ // delay notification in case reconnection succeeds quickly - if (notifications && this.disconnected) notifications.add({ + if (notifications && !this.connected()) notifications.add({ icon: 'wifi', class: 'error', message: locales('server_disconnected'), id: 'ipc_state', duration: Infinity }) + this.disconnected = true + }, reconnectTimeout * 2) - this.disconnected = true clearTimeout(this.reconnectTimeout) this.reconnectTimeout = setTimeout(()=>{ From b555169cefbcb36001ed015b5f8e85acc18f76d8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 14 Feb 2024 14:19:37 +0100 Subject: [PATCH 5182/5759] dropdown: allow resubmitting the same value --- CHANGELOG.md | 2 ++ src/client/widgets/basics/dropdown.js | 10 ++++++++++ src/scss/widgets/basics.scss | 4 +++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37c73816..468c3ebe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - scripting: `getProp()` now correctly returns a copy of the property if it is an object - prevent infinite loop when loading widgets with complex inter-dependencies +- widgets + - dropdown: allow resubmitting the same value ## 1.25.7 diff --git a/src/client/widgets/basics/dropdown.js b/src/client/widgets/basics/dropdown.js index ead94dd2..bb1a2769 100644 --- a/src/client/widgets/basics/dropdown.js +++ b/src/client/widgets/basics/dropdown.js @@ -58,6 +58,12 @@ class Dropdown extends MenuBase { this.setValue(this.values[this.select.selectedIndex], {sync:true, send:true, fromLocal:true}) }, {element: this.select}) + this.on('fast-click', (e)=>{ + // allow resubmitting same value + this.select.selectedIndex = -1 + }, {element: this.select}) + + this.select.selectedIndex = -1 this.selected = -1 this.container.classList.add('noselect') @@ -95,6 +101,10 @@ class Dropdown extends MenuBase { this.select.blur() } + for (var j = 0; j < this.select.options.length; j++) { + this.select.options[j].classList.toggle('on', i === j) + } + if (options.send) this.sendValue() if (options.sync) this.changed(options) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index bf734186..1e31f9cb 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -538,7 +538,9 @@ background: var(--color-background); opacity: 0; } - + option.on { + background: var(--color-fill) + } } .editor-enabled { From 48c78a1d127b18b6f1c2ca825680df1a03cbb4e1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 14 Feb 2024 14:23:55 +0100 Subject: [PATCH 5183/5759] plot: missing `logScaleX` and `logScaleY` properties --- CHANGELOG.md | 1 + src/client/widgets/graphs/plot.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 468c3ebe..02b72774 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - widgets - dropdown: allow resubmitting the same value + - plot: missing `logScaleX` and `logScaleY` properties ## 1.25.7 diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 70183607..e9b5c164 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -26,6 +26,8 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte class_specific: { rangeX: {type: 'object', value: {min: 0, max: 1}, help: 'Defines the min and max values for the x axis'}, rangeY: {type: 'object', value: {min: 0, max:1}, help: 'Defines the min and max values for the y axis'}, + logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, + logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, origin: {type: 'number|boolean', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'}, }, value: { From 0f2cb1b0af029883de22e7c6d89a3eb711dcc1c9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 14 Feb 2024 19:35:17 +0100 Subject: [PATCH 5184/5759] xy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging --- CHANGELOG.md | 1 + src/client/widgets/pads/pad.js | 3 ++- src/client/widgets/pads/xy.js | 32 ++++++++++++++++++++++++++------ 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02b72774..2a3c4494 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - widgets - dropdown: allow resubmitting the same value - plot: missing `logScaleX` and `logScaleY` properties + - xy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging ## 1.25.7 diff --git a/src/client/widgets/pads/pad.js b/src/client/widgets/pads/pad.js index 3b278654..df82e556 100644 --- a/src/client/widgets/pads/pad.js +++ b/src/client/widgets/pads/pad.js @@ -29,7 +29,8 @@ class Pad extends Canvas { } Pad.dynamicProps = Pad.prototype.constructor.dynamicProps.filter(n => n !== 'decimals').concat([ - 'spring' + 'spring', + 'axisLock' ]) module.exports = Pad diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 92a973b4..a68dce22 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -32,6 +32,10 @@ module.exports = class Xy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, + axisLock: {type: 'string', value: '', choices: ['', 'x', 'y'], help: [ + 'Restrict movements to one of the axes only.', + 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' + ]}, doubleTap: {type: 'boolean|string', value: false, help: [ 'Set to `true` to make the fader reset to its default value when receiving a double tap.', 'Can also be an osc address, which case the widget will just send an osc message: `/ `' @@ -88,23 +92,39 @@ module.exports = class Xy extends Pad { this.active = false + this.autoAxisLock = '' + this.on('draginit',(e)=>{ this.active = true - this.faders.x.trigger('draginit', {...e, stopPropagation: true}) - this.faders.y.trigger('draginit', {...e, stopPropagation: true}) + this.autoAxisLock = '' + var axis = this.getProp('axisLock') + if (axis !== 'y') this.faders.x.trigger('draginit', {...e, stopPropagation: true}) + if (axis !== 'x') this.faders.y.trigger('draginit', {...e, stopPropagation: true}) this.dragHandle() }, {element: this.canvas}) this.on('drag',(e)=>{ - this.faders.x.trigger('drag', e) - this.faders.y.trigger('drag', e) + var axis = this.getProp('axisLock') + if (e.shiftKey && axis === '') { + if (this.autoAxisLock === '') { + if (Math.abs(e.movementX) > Math.abs(e.movementY)) { + this.autoAxisLock = 'x' + } else if (Math.abs(e.movementY) > Math.abs(e.movementX)) { + this.autoAxisLock = 'y' + } + } + axis = this.autoAxisLock + } + if (axis !== 'y') this.faders.x.trigger('drag', e) + if (axis !== 'x') this.faders.y.trigger('drag', e) this.dragHandle() }, {element: this.canvas}) this.on('dragend', (e)=>{ this.active = false - this.faders.x.trigger('dragend', {...e, stopPropagation: true}) - this.faders.y.trigger('dragend', {...e, stopPropagation: true}) + var axis = this.getProp('axisLock') + if (axis !== 'y') this.faders.x.trigger('dragend', {...e, stopPropagation: true}) + if (axis !== 'x') this.faders.y.trigger('dragend', {...e, stopPropagation: true}) if (this.getProp('spring')) { this.setValue([this.faders.x.getSpringValue(),this.faders.y.getSpringValue()],{sync:true, send:true, spring:true}) } else { From 11fc7d2b5692e4d7d555c796f4e4c9f58f7105df Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 14 Feb 2024 19:53:01 +0100 Subject: [PATCH 5185/5759] multixy: add axisLock; bypass axisLock with Shift --- CHANGELOG.md | 2 +- src/client/widgets/pads/multixy.js | 6 ++++++ src/client/widgets/pads/xy.js | 7 +++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a3c4494..cf9b2517 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - widgets - dropdown: allow resubmitting the same value - plot: missing `logScaleX` and `logScaleY` properties - - xy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging + - xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise. ## 1.25.7 diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index bc6944e8..88fb1569 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -40,6 +40,10 @@ module.exports = class MultiXy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, + axisLock: {type: 'string', value: '', choices: ['', 'x', 'y'], help: [ + 'Restrict movements to one of the axes only.', + 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' + ]}, doubleTap: {type: 'boolean|string', value: false, help: [ 'Set to `true` to make the fader reset to its default value when receiving a double tap.', 'Can also be an osc address, which case the widget will just send an osc message: `/ `' @@ -77,6 +81,7 @@ module.exports = class MultiXy extends Pad { decimals:this.getProp('decimals'), logScaleX:this.getProp('logScaleX'), logScaleY:this.getProp('logScaleY'), + axisLock:this.getProp('axisLock'), pointSize: this.getProp('pointSize'), pips: this.getProp('pips') && i == this.npoints-1, sensitivity: this.getProp('sensitivity'), @@ -336,6 +341,7 @@ module.exports = class MultiXy extends Pad { } return case 'spring': + case 'axisLock': for (let w of this.pads) { w.cachedProps[propName] = this.getProp(propName) w.onPropChanged(propName, options) diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index a68dce22..f2e4a1aa 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -33,7 +33,7 @@ module.exports = class Xy extends Pad { logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, axisLock: {type: 'string', value: '', choices: ['', 'x', 'y'], help: [ - 'Restrict movements to one of the axes only.', + 'Restrict movements to one of the axes only unless `Shift` is held.', 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' ]}, doubleTap: {type: 'boolean|string', value: false, help: [ @@ -98,6 +98,7 @@ module.exports = class Xy extends Pad { this.active = true this.autoAxisLock = '' var axis = this.getProp('axisLock') + if (axis !== '' && e.shiftKey) axis = '' if (axis !== 'y') this.faders.x.trigger('draginit', {...e, stopPropagation: true}) if (axis !== 'x') this.faders.y.trigger('draginit', {...e, stopPropagation: true}) this.dragHandle() @@ -105,7 +106,8 @@ module.exports = class Xy extends Pad { this.on('drag',(e)=>{ var axis = this.getProp('axisLock') - if (e.shiftKey && axis === '') { + if (axis !== '' && e.shiftKey) axis = '' + else if (e.shiftKey && axis === '') { if (this.autoAxisLock === '') { if (Math.abs(e.movementX) > Math.abs(e.movementY)) { this.autoAxisLock = 'x' @@ -123,6 +125,7 @@ module.exports = class Xy extends Pad { this.on('dragend', (e)=>{ this.active = false var axis = this.getProp('axisLock') + if (axis !== '' && e.shiftKey) axis = '' if (axis !== 'y') this.faders.x.trigger('dragend', {...e, stopPropagation: true}) if (axis !== 'x') this.faders.y.trigger('dragend', {...e, stopPropagation: true}) if (this.getProp('spring')) { From f63bb0f24d632dfc4dce7c8bda9fd58c2d083a92 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 14 Feb 2024 20:06:28 +0100 Subject: [PATCH 5186/5759] fader: add `colorKnob` property --- CHANGELOG.md | 3 ++- src/client/widgets/sliders/fader.js | 14 ++++++++------ src/scss/widgets/sliders.scss | 3 ++- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf9b2517..5c49c95f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,8 @@ - widgets - dropdown: allow resubmitting the same value - plot: missing `logScaleX` and `logScaleY` properties - - xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise. + - xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise. + - fader: add `colorKnob` property ## 1.25.7 diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index b3b046b4..47a42693 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -16,6 +16,7 @@ class Fader extends Slider { _separator_fader_style: 'Fader style', design: {type: 'string', value: 'default', choices: ['default', 'round', 'compact'], help: 'Design style'}, knobSize: {type: 'number', value: 'auto', help: 'Fader knob size'}, + colorKnob: {type: 'string', value: 'auto', help: 'Fader knob color'}, horizontal: {type: 'boolean', value: false, help: 'Set to `true` to display the fader horizontally'}, pips: {type: 'boolean', value: false, help: 'Set to `true` to show range breakpoints (ignored if `design` is `compact`)'}, dashed: {type: 'boolean|array', value: false, help: 'Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]`'}, @@ -257,7 +258,7 @@ class Fader extends Slider { // flat knob this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorFill + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() d = d / (height - this.gaugePadding) * (height-this.gaugePadding - knobHeight) @@ -281,7 +282,7 @@ class Fader extends Slider { this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.strokeStyle = this.cssVars.colorStroke + this.ctx.strokeStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.lineWidth = PXSCALE @@ -291,7 +292,7 @@ class Fader extends Slider { } this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorStroke + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.rect(m - knobWidth / 6, d, knobWidth / 3, PXSCALE) @@ -302,7 +303,7 @@ class Fader extends Slider { } else { this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorFill + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.arc(m, d, knobHeight / 6, 0, 2 * Math.PI) @@ -311,7 +312,7 @@ class Fader extends Slider { if (this.cssVars.alphaStroke) { this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.fillStyle = this.cssVars.colorFill + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.arc(m, d, knobHeight / 2, 0, 2 * Math.PI) @@ -418,7 +419,8 @@ class Fader extends Slider { Fader.cssVariables = Fader.prototype.constructor.cssVariables.concat( - {js: 'knobSize', css: '--knob-size', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE} + {js: 'knobSize', css: '--knob-size', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, + {js: 'colorKnob', css: '--color-knob'}, ) module.exports = Fader diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index 04952919..b7d70db5 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -19,7 +19,8 @@ --widget-padding: 1rem; --knob-size: 1rem; --line-width: 1rem; - + --color-knob: var(--color-fill); + canvas { text-align: left; } From ebd14015de4230817ad9ce55fc97938abfbb1679 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 15 Feb 2024 08:34:31 +0100 Subject: [PATCH 5187/5759] docs: client sync dets --- resources/docs/docs/widgets/general-mechanics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/general-mechanics.md b/resources/docs/docs/widgets/general-mechanics.md index eaf4d3e1..631bdd0b 100644 --- a/resources/docs/docs/widgets/general-mechanics.md +++ b/resources/docs/docs/widgets/general-mechanics.md @@ -59,4 +59,4 @@ From a client to another, widgets are automatically synchronized if they share t - `preArgs` - `targets` -Client synchronization can be disabled with the `clientSync` [client option](../client-options.md). +Client synchronization can be disabled globally with the `clientSync` [client option](../client-options.md). Widgets with `bypass` set to `true` will not send synchronization messages to other clients. From 476f07ec60ddd3ac4692c0d04a763a2e069167f0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 18 Feb 2024 15:29:38 +0100 Subject: [PATCH 5188/5759] sliders: knob color property ok --- src/client/widgets/common/canvas.js | 1 + src/client/widgets/sliders/knob.js | 15 +++++++++++---- src/client/widgets/sliders/slider.js | 4 ++++ src/scss/widgets/sliders.scss | 4 +++- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index dd2b646e..bb98700a 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -192,6 +192,7 @@ class Canvas extends Widget { case 'colorWidget': case 'colorFill': case 'colorStroke': + case 'colorKnob': case 'alphaStroke': case 'alphaFillOff': case 'alphaFillOn': diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 602efc06..6d9276d3 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -1,7 +1,7 @@ var {clip} = require('../utils'), Slider = require('./slider') -module.exports = class Knob extends Slider { +class Knob extends Slider { static description() { @@ -18,6 +18,7 @@ module.exports = class Knob extends Slider { 'Design style', 'Note: "solid" design uses "colorStroke" for the central knob color.' ]}, + colorKnob: {type: 'string', value: 'auto', help: 'Knob color'}, pips: {type: 'boolean', value: false, help: 'Set to `true` to show the scale\'s breakpoints'}, dashed: {type: 'boolean|array', value: false, help: 'Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]`'}, angle: {type: 'number', value: 270, help: 'Defines the angle\'s width of the knob, in degrees'}, @@ -229,7 +230,7 @@ module.exports = class Knob extends Slider { // knob this.ctx.globalAlpha = 1 - this.ctx.strokeStyle = this.cssVars.colorFill + this.ctx.strokeStyle = this.cssVars.colorKnob this.ctx.lineWidth = this.cssVars.lineWidth + .5 * PXSCALE let r1 = minRadius + this.gaugePadding, @@ -246,7 +247,7 @@ module.exports = class Knob extends Slider { // center this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.fillStyle = this.cssVars.colorStroke + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.arc(this.width / 2, this.height / 2, maxRadius / 1.25, 0, 2 * Math.PI) @@ -318,7 +319,7 @@ module.exports = class Knob extends Slider { // knob this.ctx.globalAlpha = 1 - this.ctx.strokeStyle = this.cssVars.colorFill + this.ctx.strokeStyle = this.cssVars.colorKnob this.ctx.lineWidth = this.cssVars.lineWidth let r1 = minRadius * 1.5, @@ -371,3 +372,9 @@ module.exports = class Knob extends Slider { } } + +Knob.cssVariables = Knob.prototype.constructor.cssVariables.concat( + {js: 'colorKnob', css: '--color-knob'} +) + +module.exports = Knob diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 11ecd8e9..a3acd39b 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -265,6 +265,9 @@ class Slider extends Canvas { case 'spring': if (this.getProp('spring') && !this.touched) this.setValue(this.getSpringValue(), {...options}) return + case 'colorKnob': + this.setCssVariables() + return } @@ -284,6 +287,7 @@ Slider.dynamicProps = Slider.prototype.constructor.dynamicProps 'spring', 'sensitivity', 'default', + 'colorKnob' ]) module.exports = Slider diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index b7d70db5..416e4c6f 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -2,6 +2,9 @@ .knob-container, .encoder-container, .range-container { + + --color-knob: var(--color-fill); + canvas { image-rendering: pixelated; width: 100%; @@ -19,7 +22,6 @@ --widget-padding: 1rem; --knob-size: 1rem; --line-width: 1rem; - --color-knob: var(--color-fill); canvas { text-align: left; From dfcf1588082c99f5d9c308c87958f3998cf9b55b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 18 Feb 2024 15:35:17 +0100 Subject: [PATCH 5189/5759] range: colorKnob --- CHANGELOG.md | 2 +- src/client/widgets/sliders/encoder.js | 1 + src/client/widgets/sliders/range.js | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c49c95f..4acbe711 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - dropdown: allow resubmitting the same value - plot: missing `logScaleX` and `logScaleY` properties - xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise. - - fader: add `colorKnob` property + - knob/fader/range: add `colorKnob` property ## 1.25.7 diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index 73f7b3a3..f63c13a7 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -18,6 +18,7 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range pips: null, dashed: null, angle: null, + colorKnob: null }, class_specific: { origin: null, diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index 3502db51..e0493062 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -299,7 +299,7 @@ class Range extends Fader { // flat knob this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorFill + this.ctx.fillStyle = this.cssVars.colorKnob var compactAdjust = 1 / (height - this.gaugePadding) * (height-this.gaugePadding - knobHeight) this.ctx.beginPath() @@ -331,7 +331,7 @@ class Range extends Fader { this.ctx.fill() this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.strokeStyle = this.cssVars.colorStroke + this.ctx.strokeStyle = this.cssVars.colorKnob this.ctx.lineWidth = PXSCALE this.ctx.beginPath() @@ -341,7 +341,7 @@ class Range extends Fader { } this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorWidget + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.rect(m - knobWidth / 6, _d, knobWidth / 3, PXSCALE) @@ -354,7 +354,7 @@ class Range extends Fader { } else { this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorFill + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.arc(m, d, knobHeight / 6, 0, 2 * Math.PI) @@ -368,7 +368,7 @@ class Range extends Fader { if (this.cssVars.alphaStroke) { this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.fillStyle = this.cssVars.colorFill + this.ctx.fillStyle = this.cssVars.colorKnob this.ctx.beginPath() this.ctx.arc(m, d, knobHeight / 2, 0, 2 * Math.PI) From d387397c149198a876a685d6c959b15f1a5f1ee7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 18 Feb 2024 17:03:34 +0100 Subject: [PATCH 5190/5759] modal: ios 15+ layering issue --- CHANGELOG.md | 1 + src/scss/widgets/containers.scss | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4acbe711..cc44dc98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - scripting: `getProp()` now correctly returns a copy of the property if it is an object - prevent infinite loop when loading widgets with complex inter-dependencies + - modal: layout issue on iOS 15+ - widgets - dropdown: allow resubmitting the same value diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index f97f77fc..396bcb89 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -498,14 +498,11 @@ z-index: 2; } - z-index: 9999999999999!important; overflow: visible; contain: size; @supports not (contain: strict) { transform: none; // cancel new stacking context - z-index: initial!important; // iOS does it wrong otherwise - } } @@ -529,6 +526,7 @@ > .popup { padding:0; + z-index: 9999999999999!important; > .popup-wrapper { width: var(--width, 100%); From f78814ba4585e7d47f28645d2d03f7a9cfd41331 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 21 Feb 2024 10:10:55 +0100 Subject: [PATCH 5191/5759] launcher: start hidden on mac is "start minimized" is set --- CHANGELOG.md | 3 +++ src/server/electron-window.js | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc44dc98..0916b0a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ - xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise. - knob/fader/range: add `colorKnob` property +- misc + - on Mac, start with the launcher window hidden if `Start minimized` is set + ## 1.25.7 - bug fixes diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 0ea7fcb4..00c41def 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -63,7 +63,11 @@ module.exports = function(options={}) { window.once('ready-to-show', ()=>{ window.show() if (options.id === 'launcher' && settings.read('startMinimized')) { - window.minimize() + if (process.platform === 'darwin') { + window.hide() + } else { + window.minimize() + } } }) From fbfa41bd5ae58b62d56b7e90b9fb4967d4489430 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 21 Feb 2024 10:30:52 +0100 Subject: [PATCH 5192/5759] launcher: allow dropping files into file fields --- CHANGELOG.md | 5 +++-- src/launcher/settings.js | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0916b0a8..1998e1ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,8 +13,9 @@ - xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise. - knob/fader/range: add `colorKnob` property -- misc - - on Mac, start with the launcher window hidden if `Start minimized` is set +- launcher + - on Mac, start hidden if `Start minimized` is set + - allow dropping files into file fields ## 1.25.7 diff --git a/src/launcher/settings.js b/src/launcher/settings.js index c9b28d9c..5a2b088f 100644 --- a/src/launcher/settings.js +++ b/src/launcher/settings.js @@ -147,6 +147,21 @@ class Settings { }) }) + field.addEventListener('drop', (e) => { + e.preventDefault() + e.stopPropagation() + let paths = [] + for (var f of event.dataTransfer.files) { + if (f.path.includes(' ')) { + paths.push('"' + f.path + '"') + } else { + paths.push(f.path) + } + } + input.value = paths.join(' ') + DOM.dispatchEvent(input, 'change') + }); + } reset = field.appendChild(html` From 3ed11f38948a0f05ddb6ca3fe616f0abcbb242ec Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 21 Feb 2024 10:51:50 +0100 Subject: [PATCH 5193/5759] custom-module: expose tcpServer --- CHANGELOG.md | 3 +++ .../docs/docs/custom-module/custom-module.md | 16 ++++++++++++++++ src/server/osc/index.js | 1 + 3 files changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1998e1ce..96c37158 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ - on Mac, start hidden if `Start minimized` is set - allow dropping files into file fields +- custom module + - expose `tcpServer` to allow monitoring the state of tcp connections + ## 1.25.7 - bug fixes diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index f728e29e..6faeff91 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -135,6 +135,22 @@ This function can be used to load native node modules or locally installed modul ---- +#### `tcpServer` + +Raw access to the server's [TCP backend](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/server/osc/tcp.js). Can be used to monitor the state of TCP connections: + +```js +for (var ip in tcpServer.clients) { + tcpServer.clients[ip].port.on('ready', ()=>{ + console.log(`TCP connection established with ${ip}:${tcpServer.clients[ip].remotePort}`) + }) + tcpServer.clients[ip].port.on('close', ()=>{ + console.log(`TCP connection lost with ${ip}:${tcpServer.clients[ip].remotePort}`) + }) +} +``` + + #### Other javascript globals - `console` diff --git a/src/server/osc/index.js b/src/server/osc/index.js index d72562b7..1126c2cf 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -18,6 +18,7 @@ class OscServer { this.customModuleEventEmitter = new EventEmitter() this.customModule = settings.read('custom-module') ? new CustomModule(settings.read('custom-module'), { app: this.customModuleEventEmitter, + tcpServer: oscTCPServer, sendOsc: this.sendOsc.bind(this), receiveOsc: this.receiveOsc.bind(this), send: (host, port, address, ...args)=>{ From e87891cb7c2be6a770ddf003f5515002abb68586 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 21 Feb 2024 11:01:50 +0100 Subject: [PATCH 5194/5759] switch: allow resubmitting the same value --- CHANGELOG.md | 1 + src/client/widgets/basics/switch.js | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96c37158..aff99d78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - widgets - dropdown: allow resubmitting the same value + - switch: allow resubmitting the same value - plot: missing `logScaleX` and `logScaleY` properties - xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise. - knob/fader/range: add `colorKnob` property diff --git a/src/client/widgets/basics/switch.js b/src/client/widgets/basics/switch.js index 8cafedd4..2b8a8bbf 100644 --- a/src/client/widgets/basics/switch.js +++ b/src/client/widgets/basics/switch.js @@ -57,7 +57,7 @@ class Switch extends MenuBase { this.parseValues() - var dragCallback = (e, touchFix)=>{ + var dragCallback = (e, slide)=>{ var index = 0, node = e.target @@ -66,7 +66,7 @@ class Switch extends MenuBase { node = e.firstTarget } - if (touchFix && e.isTouch) { + if (slide && e.isTouch) { // special traversing touch fix node = document.elementFromPoint(e.clientX, e.clientY) } @@ -81,7 +81,9 @@ class Switch extends MenuBase { var value = this.values[index] - if (value !== this.value || this.value === undefined) this.setValue(value, {sync: true, send: true}) + if (slide && value === this.value) return + + this.setValue(value, {sync: true, send: true}) } From 0ecc104f4ba23558e4ea91b17f96c2d5a89b6025 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 21 Feb 2024 11:02:49 +0100 Subject: [PATCH 5195/5759] lint --- src/launcher/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launcher/settings.js b/src/launcher/settings.js index 5a2b088f..745f6b4d 100644 --- a/src/launcher/settings.js +++ b/src/launcher/settings.js @@ -160,7 +160,7 @@ class Settings { } input.value = paths.join(' ') DOM.dispatchEvent(input, 'change') - }); + }) } From fb0961603001a372d038ebf281e64929d6f1c6fd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 21 Feb 2024 11:05:30 +0100 Subject: [PATCH 5196/5759] package: v1.26 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aff99d78..83e8bc0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.25.8 +## 1.26.0 - bug fixes - scripting: `getProp()` now correctly returns a copy of the property if it is an object diff --git a/package.json b/package.json index b66a2707..552def44 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.25.8-dev", + "version": "1.26.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From b63402fce808286c0e94a0907aac081022becc26 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 21 Feb 2024 11:06:09 +0100 Subject: [PATCH 5197/5759] docs: update widget ref --- resources/docs/docs/widgets/properties-reference.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 42d057fd..2f43d5a0 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -582,6 +582,8 @@ | --- | --- | --- | --- | |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis | |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | + |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | + |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | |
            origin#
            | `number`|
            `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | === "value" @@ -614,6 +616,8 @@ | --- | --- | --- | --- | |
            rangeX#
            | `object` | \{
             "min": 20,
             "max": 22000
            }
            | Defines the min and max values for the x axis (in Hz, logarithmic scale) | |
            rangeY#
            | `object` | \{
             "min": -6,
             "max": 6
            }
            | Defines the min and max values for the y axis (in dB) | + |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | + |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | |
            origin#
            | `number`|
            `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | |
            filters#
            | `array` | "" | Each item must be an object with the following properties
            - `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")
            - `freq`: number (filter's resonant frequency, default: 1000)
            - `q`: number (Q factor, default: 1)
            - `gain`: number (default: 0)
            - `on`: boolean (default: true)

            See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode | |
            pips#
            | `boolean` | true | Set to false to hide the scale | @@ -646,10 +650,11 @@ | --- | --- | --- | --- | |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis | |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | + |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | + |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. | |
            origin#
            | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | |
            duration#
            | `number` | 1 | Defines visualization duration in seconds | |
            framerate#
            | `number` | 30 | Defines visualization framerate | - |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm's base. | |
            freeze#
            | `boolean` | false | Set to `true` to freeze current view and ignore incoming values | === "value" @@ -717,6 +722,7 @@ |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only unless `Shift` is held.

            When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.

            Choices: ``, `x`, `y` | |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the fader reset to its default value when receiving a double tap.

            Can also be an osc address, which case the widget will just send an osc message: `/ ` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -769,6 +775,7 @@ |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only.

            When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.

            Choices: ``, `x`, `y` | |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the fader reset to its default value when receiving a double tap.

            Can also be an osc address, which case the widget will just send an osc message: `/ ` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -817,6 +824,7 @@ |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | |
            design#
            | `string` | "default" | Design style

            Choices: `default`, `round`, `compact` | |
            knobSize#
            | `number` | "auto" | Fader knob size | + |
            colorKnob#
            | `string` | "auto" | Fader knob color | |
            horizontal#
            | `boolean` | false | Set to `true` to display the fader horizontally | |
            pips#
            | `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) | |
            dashed#
            | `boolean`|
            `array` | false | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` | @@ -851,6 +859,7 @@ | --- | --- | --- | --- | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | |
            design#
            | `string` | "default" | Design style

            Note: "solid" design uses "colorStroke" for the central knob color.

            Choices: `default`, `solid`, `line` | + |
            colorKnob#
            | `string` | "auto" | Knob color | |
            pips#
            | `boolean` | false | Set to `true` to show the scale's breakpoints | |
            dashed#
            | `boolean`|
            `array` | false | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` | |
            angle#
            | `number` | 270 | Defines the angle's width of the knob, in degrees | @@ -915,6 +924,7 @@ |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | |
            design#
            | `string` | "default" | Design style

            Choices: `default`, `round`, `compact` | |
            knobSize#
            | `number` | "auto" | Fader knob size | + |
            colorKnob#
            | `string` | "auto" | Fader knob color | |
            horizontal#
            | `boolean` | false | Set to `true` to display the fader horizontally | |
            pips#
            | `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) | |
            dashed#
            | `boolean`|
            `array` | false | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` | From 1a4b971b18a58b2e2fce09096fbad00e6a140a72 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 22 Feb 2024 09:29:35 +0100 Subject: [PATCH 5198/5759] mac: unable to show launcher windows when starting minimized --- CHANGELOG.md | 5 +++++ package.json | 2 +- src/server/electron-window.js | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83e8bc0f..6f295ccd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.26.1 + +- bug fixes + - mac: unable to show launcher windows when starting minimized + ## 1.26.0 - bug fixes diff --git a/package.json b/package.json index 552def44..e849fd97 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.26.0", + "version": "1.26.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 00c41def..40f0ea36 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -71,6 +71,12 @@ module.exports = function(options={}) { } }) + if (options.id === 'launcher' && process.platform === 'darwin' && settings.read('startMinimized')) { + app.on('activate', ()=>{ + if (!window.isDestroyed()) window.show() + }) + } + window.webContents.once('page-title-updated', ()=>{ if (options.fullscreen) { window.webContents.sendInputEvent({keyCode: 'F11', type: 'keyDown'}) From 0e68557b85072d7e94fb310911ad22d8b1911d84 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 13 Mar 2024 18:04:43 +0100 Subject: [PATCH 5199/5759] advanced syntaxes: restore stupid-simple resolution order, deduping value changes brings more problem than it solves history: fe682693b1d165ee20eb6adfcf764af2a4dea731, 0e54c11f132b07fc0b2297c77f9b920af089fbd5, 182941a22ccbca9775fe2c2233771b87a6d3a533, 3a5fdf17c7d493b90a57546702ac4ef4af0cfc0a, 8b92400c1e9436a55fd88bcd683d7d060be3c91a --- src/client/editor/data-workers.js | 4 ---- src/client/managers/widgets.js | 26 +------------------------- src/client/parser.js | 4 ---- src/client/widgets/common/widget.js | 6 ++---- src/client/widgets/containers/panel.js | 8 ++++++-- 5 files changed, 9 insertions(+), 39 deletions(-) diff --git a/src/client/editor/data-workers.js b/src/client/editor/data-workers.js index f6b01f03..f9267823 100644 --- a/src/client/editor/data-workers.js +++ b/src/client/editor/data-workers.js @@ -43,8 +43,6 @@ function updateWidget(widget, options={}) { return } - widgetManager.valueChangeLock() - var reuseChildren = options.reuseChildren !== false && widget instanceof Panel && !(widget instanceof Matrix) @@ -148,8 +146,6 @@ function updateWidget(widget, options={}) { } } - widgetManager.valueChangeUnlock() - editor.widgetTree.updateTree(editor.selectedWidgets) if (editor.selectedWidgets.includes(widget) && !options.preventSelect) { diff --git a/src/client/managers/widgets.js b/src/client/managers/widgets.js index 904977fc..b68f6f7e 100644 --- a/src/client/managers/widgets.js +++ b/src/client/managers/widgets.js @@ -19,9 +19,6 @@ class WidgetManager extends EventEmitter { this.preArgsSeparator = '||||' - this.valueChangeLockDepth = 0 - this.valueChangeQueue = {} - this.on('value-changed', this.onChange.bind(this)) ipc.on('connect', ()=>{ @@ -32,28 +29,9 @@ class WidgetManager extends EventEmitter { } - valueChangeLock() { - this.valueChangeLockDepth++ - } - - valueChangeUnlock() { - this.valueChangeLockDepth-- - if (this.valueChangeLockDepth == 0) { - for (var h in this.valueChangeQueue) { - if (this.valueChangeQueue[h]) this.applyValueChange(this.valueChangeQueue[h]) - } - this.valueChangeQueue = {} - } - } - onChange(e) { - if (this.valueChangeLockDepth === 0) this.applyValueChange(e) - else this.valueChangeQueue[e.widget.hash] = e - - } - - applyValueChange(e) { + if (!e) return var {id, widget, linkId, options} = e @@ -101,8 +79,6 @@ class WidgetManager extends EventEmitter { this.linkIdLock = [] } } - - this.trigger('value-changed-lazy', e) } createAddressRef(widget, preArgs, address) { diff --git a/src/client/parser.js b/src/client/parser.js index e0eca83e..0f0247db 100644 --- a/src/client/parser.js +++ b/src/client/parser.js @@ -43,8 +43,6 @@ var Parser = class Parser { var props = data - widgetManager.valueChangeLock() - // Set default widget type props.type = tab ? 'tab' : props.type || 'fader' @@ -109,8 +107,6 @@ var Parser = class Parser { parentNode.appendChild(widget.container) widget.mounted = true - widgetManager.valueChangeUnlock() - // Editor needs to get the container object return widget diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 667f1121..5034a36c 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -345,14 +345,12 @@ class Widget extends EventEmitter { changed(options) { - widgetManager.valueChangeLock() this.trigger('value-changed', { widget: this, options: options, id: this.getProp('id'), linkId: this.getProp('linkId') }) - widgetManager.valueChangeUnlock() } @@ -487,11 +485,11 @@ class Widget extends EventEmitter { this.onLinkedPropsChanged(e, 'value-changed') } - widgetManager.on('value-changed-lazy', this.linkedValueChangedCallback, {context: this}) + widgetManager.on('value-changed', this.linkedValueChangedCallback, {context: this}) } else if (this.linkedPropsValueCallback && !Object.keys(this.linkedPropsValue).length) { - widgetManager.off('value-changed-lazy', this.linkedValueChangedCallback) + widgetManager.off('value-changed', this.linkedValueChangedCallback) delete this.linkedValueChangedCallback } diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index ecfe2e3d..b85e8a2e 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -199,7 +199,9 @@ class Panel extends Container() { this.navigation = this.widget.appendChild(html``) this.children = options.children || new Array(this.getProp('tabs').length) - for (let i = 0; i < this.children.length; i++) { + var length = this.children.length + + for (let i = 0; i < length; i++) { if (this.children[i]) { this.widget.appendChild(this.children[i].container) this.children[i].mounted = true @@ -240,7 +242,9 @@ class Panel extends Container() { this.childrenType = 'widget' this.children = options.children || new Array(this.getProp('widgets').length) - for (let i = 0; i < this.children.length; i++) { + var length = this.children.length + + for (let i = 0; i < length; i++) { if (this.children[i]) { this.widget.appendChild(this.children[i].container) this.children[i].mounted = true From ededaee55bc260a559f78f3ec637053340b39bbb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 13 Mar 2024 18:17:41 +0100 Subject: [PATCH 5200/5759] misc: lint --- src/client/widgets/containers/panel.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index b85e8a2e..b741cdf1 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -199,9 +199,9 @@ class Panel extends Container() { this.navigation = this.widget.appendChild(html``) this.children = options.children || new Array(this.getProp('tabs').length) - var length = this.children.length + var tlength = this.children.length - for (let i = 0; i < length; i++) { + for (let i = 0; i < tlength; i++) { if (this.children[i]) { this.widget.appendChild(this.children[i].container) this.children[i].mounted = true @@ -242,9 +242,9 @@ class Panel extends Container() { this.childrenType = 'widget' this.children = options.children || new Array(this.getProp('widgets').length) - var length = this.children.length + var wlength = this.children.length - for (let i = 0; i < length; i++) { + for (let i = 0; i < wlength; i++) { if (this.children[i]) { this.widget.appendChild(this.children[i].container) this.children[i].mounted = true From 20d5091622de80c5f4f8f25ffcbd1e458858f663 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Apr 2024 08:47:19 +0200 Subject: [PATCH 5201/5759] server: fix cookie parsing (user resources not loading when using an external browser) --- CHANGELOG.md | 8 +++++++- src/server/server.js | 7 +++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f295ccd..51107fdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ # Changelog +## 1.26.2 + +- bug fixes + - user resources not loading when using an external browser + - advanced syntaxes resolution order issue + ## 1.26.1 - bug fixes - - mac: unable to show launcher windows when starting minimized + - mac: unable to show launcher windows when starting minimized ## 1.26.0 diff --git a/src/server/server.js b/src/server/server.js index 30ce3185..49a4067a 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -158,9 +158,12 @@ function httpRoute(req, res) { if (url.match(/.(svg|jpg|jpeg|png|apng|gif|webp|tiff|xbm|bmp|ico|ttf|otf|woff|woff2|html|css|js)(\?[0-9]*)?$/i)) { // Resolution order: session path, theme path, absolute path + var id + if (req.headers.cookie) { + id = (req.headers.cookie.match(/client_id=([^;]+)/) || [])[1] + } - var id = urlparser.parse('?' + req.headers.cookie, true).query.client_id, - resolvedPath = resolvePath(decodeURI(url), id) + resolvedPath = resolvePath(decodeURI(url), id) if (resolvedPath) { try { From b31b911a157eca21ebc610a225cefcac3e036e54 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Apr 2024 08:48:25 +0200 Subject: [PATCH 5202/5759] package: next is 1.26.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e849fd97..61faed61 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.26.1", + "version": "1.26.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From a71df8177f6c826cd2c42c9fead778c959b67bb3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Apr 2024 09:43:50 +0200 Subject: [PATCH 5203/5759] advanced syntaxes: display an error in the console in some unsupported advanced syntaxes use cases --- CHANGELOG.md | 3 +++ src/client/widgets/common/widget.js | 14 +++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51107fdd..35e1b0a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - user resources not loading when using an external browser - advanced syntaxes resolution order issue +- advanced syntaxes + - display an error in the console in some unsupported advanced syntaxes use cases + ## 1.26.1 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 5034a36c..f20539fe 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -925,9 +925,21 @@ class Widget extends EventEmitter { if (!this.isDynamicProp(propName)) { - if ((!widget || !this.contains(widget)) && !(widget === this && updatedProps.length === 1 && updatedProps[0] === 'value')) { + if (widget && this.contains(widget)) { + + this.errorProp(propName, '@{}', `a container can't use its child's properties to define non-dynamic properties.`) + continue + + } else if (widget === this && updatedProps.length === 1 && updatedProps[0] === 'value') { + + this.errorProp(propName, '@{}', `a widget can't use it's own value to define non-dynamic properties.`) + continue + + } else { + reCreate = true break + } } else { From ac995b2dd14e3c5f44545fcec427d66120035159 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 3 Apr 2024 10:01:05 +0200 Subject: [PATCH 5204/5759] lint --- .eslintrc.json | 3 ++- src/server/server.js | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index e2203f02..a8b58e4e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -53,7 +53,8 @@ ], "quotes": [ "error", - "single" + "single", + { "allowTemplateLiterals": true } ], "semi": [ "error", diff --git a/src/server/server.js b/src/server/server.js index 49a4067a..c1c01279 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -16,8 +16,7 @@ function createServer(route) { } } -var urlparser = require('url'), - path = require('path'), +var path = require('path'), fs = require('fs'), send = require('send'), replaceStream = require('replacestream'), From a4f27e32d495e360f8af5188ef4fa8faaf253bac Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Apr 2024 18:30:06 +0200 Subject: [PATCH 5205/5759] package: fix building with node <= 20 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 61faed61..4b02d128 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "nanomorph": "5.4.3", "node-forge": "1.3.1", "node-mouse": "0.0.2", - "node-sass": "7.0.1", + "node-sass": "9.0.0", "nodemon": "2.0.16", "nosleep.js": "0.12.0", "open": "8.4.0", @@ -107,7 +107,7 @@ "test": "eslint src && npm run build && node tests/test.js" }, "engines": { - "node": "16" + "node": ">=16 <=20" }, "devDependencies": { "watchify": "4.0.0" From a8f9c263a2b623083fa0b6c40938c5673546d084 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 12 Apr 2024 18:30:34 +0200 Subject: [PATCH 5206/5759] package: update package.lock --- package-lock.json | 14468 ++++++-------------------------------------- 1 file changed, 1808 insertions(+), 12660 deletions(-) diff --git a/package-lock.json b/package-lock.json index f197d525..949bd685 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-stage-control", - "version": "1.25.6", - "lockfileVersion": 2, + "version": "1.26.2", + "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-stage-control", - "version": "1.25.6", + "version": "1.26.2", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { @@ -48,7 +48,7 @@ "nanomorph": "5.4.3", "node-forge": "1.3.1", "node-mouse": "0.0.2", - "node-sass": "7.0.1", + "node-sass": "9.0.0", "nodemon": "2.0.16", "nosleep.js": "0.12.0", "open": "8.4.0", @@ -74,7 +74,7 @@ "watchify": "4.0.0" }, "engines": { - "node": "16" + "node": ">=16" }, "optionalDependencies": { "electron": "15.1.0", @@ -84,8 +84,7 @@ }, "node_modules/@ampproject/remapping": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.1.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -96,24 +95,21 @@ }, "node_modules/@babel/code-frame": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.10.4" } }, "node_modules/@babel/compat-data": { "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz", - "integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.0.tgz", - "integrity": "sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==", + "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.16.7", @@ -141,8 +137,7 @@ }, "node_modules/@babel/core/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -152,8 +147,7 @@ }, "node_modules/@babel/core/node_modules/@babel/generator": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.18.0", "@jridgewell/gen-mapping": "^0.3.0", @@ -165,8 +159,7 @@ }, "node_modules/@babel/core/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -177,8 +170,7 @@ }, "node_modules/@babel/core/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -188,16 +180,14 @@ }, "node_modules/@babel/core/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -209,8 +199,7 @@ }, "node_modules/@babel/core/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -220,8 +209,7 @@ }, "node_modules/@babel/core/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -233,8 +221,7 @@ }, "node_modules/@babel/core/node_modules/@babel/traverse": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.18.0", @@ -253,8 +240,7 @@ }, "node_modules/@babel/core/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -265,8 +251,7 @@ }, "node_modules/@babel/core/node_modules/@jridgewell/gen-mapping": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -278,8 +263,7 @@ }, "node_modules/@babel/core/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -291,16 +275,14 @@ }, "node_modules/@babel/core/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/eslint-parser": { "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz", - "integrity": "sha512-PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==", + "license": "MIT", "dependencies": { "eslint-scope": "^5.1.1", "eslint-visitor-keys": "^2.1.0", @@ -316,8 +298,7 @@ }, "node_modules/@babel/eslint-parser/node_modules/eslint-scope": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -328,32 +309,28 @@ }, "node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "license": "Apache-2.0", "engines": { "node": ">=10" } }, "node_modules/@babel/eslint-parser/node_modules/estraverse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "node_modules/@babel/eslint-parser/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/helper-annotate-as-pure": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", - "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -363,16 +340,14 @@ }, "node_modules/@babel/helper-annotate-as-pure/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-annotate-as-pure/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -383,8 +358,7 @@ }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", - "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "license": "MIT", "dependencies": { "@babel/helper-explode-assignable-expression": "^7.16.7", "@babel/types": "^7.16.7" @@ -395,16 +369,14 @@ }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -415,8 +387,7 @@ }, "node_modules/@babel/helper-compilation-targets": { "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz", - "integrity": "sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==", + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.17.10", "@babel/helper-validator-option": "^7.16.7", @@ -432,16 +403,14 @@ }, "node_modules/@babel/helper-compilation-targets/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/helper-create-class-features-plugin": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz", - "integrity": "sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==", + "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.16.7", "@babel/helper-environment-visitor": "^7.16.7", @@ -460,8 +429,7 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -471,8 +439,7 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -483,8 +450,7 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -494,16 +460,14 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -515,8 +479,7 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -526,8 +489,7 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -539,8 +501,7 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -551,8 +512,7 @@ }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -564,8 +524,7 @@ }, "node_modules/@babel/helper-create-regexp-features-plugin": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz", - "integrity": "sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw==", + "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.16.7", "regexpu-core": "^5.0.1" @@ -579,8 +538,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", - "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.13.0", "@babel/helper-module-imports": "^7.12.13", @@ -597,8 +555,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -608,8 +565,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/generator": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.18.0", "@jridgewell/gen-mapping": "^0.3.0", @@ -621,8 +577,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -633,8 +588,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -644,16 +598,14 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -665,8 +617,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -676,8 +627,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -689,8 +639,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/traverse": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.18.0", @@ -709,8 +658,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -721,8 +669,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/@jridgewell/gen-mapping": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -734,8 +681,7 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -747,16 +693,14 @@ }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/helper-environment-visitor": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", - "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -766,16 +710,14 @@ }, "node_modules/@babel/helper-environment-visitor/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-environment-visitor/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -786,8 +728,7 @@ }, "node_modules/@babel/helper-explode-assignable-expression": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", - "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -797,16 +738,14 @@ }, "node_modules/@babel/helper-explode-assignable-expression/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-explode-assignable-expression/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -817,8 +756,7 @@ }, "node_modules/@babel/helper-hoist-variables": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", - "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -828,16 +766,14 @@ }, "node_modules/@babel/helper-hoist-variables/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -848,8 +784,7 @@ }, "node_modules/@babel/helper-member-expression-to-functions": { "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", - "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.17.0" }, @@ -859,16 +794,14 @@ }, "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -879,8 +812,7 @@ }, "node_modules/@babel/helper-module-imports": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", - "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -890,16 +822,14 @@ }, "node_modules/@babel/helper-module-imports/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -910,8 +840,7 @@ }, "node_modules/@babel/helper-module-transforms": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz", - "integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==", + "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.16.7", "@babel/helper-module-imports": "^7.16.7", @@ -928,8 +857,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -939,8 +867,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/generator": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.18.0", "@jridgewell/gen-mapping": "^0.3.0", @@ -952,8 +879,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -964,8 +890,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -975,16 +900,14 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -996,8 +919,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -1007,8 +929,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -1020,8 +941,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/traverse": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.18.0", @@ -1040,8 +960,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1052,8 +971,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/@jridgewell/gen-mapping": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -1065,8 +983,7 @@ }, "node_modules/@babel/helper-module-transforms/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -1078,8 +995,7 @@ }, "node_modules/@babel/helper-optimise-call-expression": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", - "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -1089,16 +1005,14 @@ }, "node_modules/@babel/helper-optimise-call-expression/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-optimise-call-expression/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1109,16 +1023,14 @@ }, "node_modules/@babel/helper-plugin-utils": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz", - "integrity": "sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-remap-async-to-generator": { "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", - "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.16.7", "@babel/helper-wrap-function": "^7.16.8", @@ -1130,16 +1042,14 @@ }, "node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1150,8 +1060,7 @@ }, "node_modules/@babel/helper-replace-supers": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", - "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.16.7", "@babel/helper-member-expression-to-functions": "^7.16.7", @@ -1165,8 +1074,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -1176,8 +1084,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/generator": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.18.0", "@jridgewell/gen-mapping": "^0.3.0", @@ -1189,8 +1096,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -1201,8 +1107,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -1212,16 +1117,14 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -1233,8 +1136,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -1244,8 +1146,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -1257,8 +1158,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/traverse": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.18.0", @@ -1277,8 +1177,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1289,8 +1188,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/@jridgewell/gen-mapping": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -1302,8 +1200,7 @@ }, "node_modules/@babel/helper-replace-supers/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -1315,8 +1212,7 @@ }, "node_modules/@babel/helper-simple-access": { "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz", - "integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==", + "license": "MIT", "dependencies": { "@babel/types": "^7.17.0" }, @@ -1326,16 +1222,14 @@ }, "node_modules/@babel/helper-simple-access/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1346,8 +1240,7 @@ }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", - "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.0" }, @@ -1357,16 +1250,14 @@ }, "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1377,21 +1268,18 @@ }, "node_modules/@babel/helper-validator-identifier": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", - "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==" + "license": "MIT" }, "node_modules/@babel/helper-validator-option": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", - "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", - "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "license": "MIT", "dependencies": { "@babel/helper-function-name": "^7.16.7", "@babel/template": "^7.16.7", @@ -1404,8 +1292,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -1415,8 +1302,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/generator": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.18.0", "@jridgewell/gen-mapping": "^0.3.0", @@ -1428,8 +1314,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -1440,8 +1325,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -1451,16 +1335,14 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -1472,8 +1354,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -1483,8 +1364,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -1496,8 +1376,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/traverse": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.18.0", @@ -1516,8 +1395,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1528,8 +1406,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/@jridgewell/gen-mapping": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -1541,8 +1418,7 @@ }, "node_modules/@babel/helper-wrap-function/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -1554,8 +1430,7 @@ }, "node_modules/@babel/helpers": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.0.tgz", - "integrity": "sha512-AE+HMYhmlMIbho9nbvicHyxFwhrO+xhKB6AhRxzl8w46Yj0VXTZjEsAoBVC7rB2I0jzX+yWyVybnO08qkfx6kg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/traverse": "^7.18.0", @@ -1567,8 +1442,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -1578,8 +1452,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/generator": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", + "license": "MIT", "dependencies": { "@babel/types": "^7.18.0", "@jridgewell/gen-mapping": "^0.3.0", @@ -1591,8 +1464,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -1603,8 +1475,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -1614,16 +1485,14 @@ }, "node_modules/@babel/helpers/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -1635,8 +1504,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -1646,8 +1514,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -1659,8 +1526,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/traverse": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.18.0", @@ -1679,8 +1545,7 @@ }, "node_modules/@babel/helpers/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -1691,8 +1556,7 @@ }, "node_modules/@babel/helpers/node_modules/@jridgewell/gen-mapping": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -1704,8 +1568,7 @@ }, "node_modules/@babel/helpers/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -1717,8 +1580,7 @@ }, "node_modules/@babel/highlight": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", - "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", @@ -1727,8 +1589,7 @@ }, "node_modules/@babel/highlight/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -1740,8 +1601,7 @@ }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz", - "integrity": "sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -1754,8 +1614,7 @@ }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz", - "integrity": "sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", @@ -1770,8 +1629,7 @@ }, "node_modules/@babel/plugin-proposal-async-generator-functions": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz", - "integrity": "sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/helper-remap-async-to-generator": "^7.16.8", @@ -1786,8 +1644,7 @@ }, "node_modules/@babel/plugin-proposal-class-properties": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz", - "integrity": "sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw==", + "license": "MIT", "dependencies": { "@babel/helper-create-class-features-plugin": "^7.17.12", "@babel/helper-plugin-utils": "^7.17.12" @@ -1801,8 +1658,7 @@ }, "node_modules/@babel/plugin-proposal-class-static-block": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz", - "integrity": "sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA==", + "license": "MIT", "dependencies": { "@babel/helper-create-class-features-plugin": "^7.18.0", "@babel/helper-plugin-utils": "^7.17.12", @@ -1817,8 +1673,7 @@ }, "node_modules/@babel/plugin-proposal-dynamic-import": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", - "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7", "@babel/plugin-syntax-dynamic-import": "^7.8.3" @@ -1832,8 +1687,7 @@ }, "node_modules/@babel/plugin-proposal-export-namespace-from": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz", - "integrity": "sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/plugin-syntax-export-namespace-from": "^7.8.3" @@ -1847,8 +1701,7 @@ }, "node_modules/@babel/plugin-proposal-json-strings": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz", - "integrity": "sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/plugin-syntax-json-strings": "^7.8.3" @@ -1862,8 +1715,7 @@ }, "node_modules/@babel/plugin-proposal-logical-assignment-operators": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz", - "integrity": "sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" @@ -1877,8 +1729,7 @@ }, "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz", - "integrity": "sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" @@ -1892,8 +1743,7 @@ }, "node_modules/@babel/plugin-proposal-numeric-separator": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", - "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7", "@babel/plugin-syntax-numeric-separator": "^7.10.4" @@ -1907,8 +1757,7 @@ }, "node_modules/@babel/plugin-proposal-object-rest-spread": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz", - "integrity": "sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw==", + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.17.10", "@babel/helper-compilation-targets": "^7.17.10", @@ -1925,8 +1774,7 @@ }, "node_modules/@babel/plugin-proposal-optional-catch-binding": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", - "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7", "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" @@ -1940,8 +1788,7 @@ }, "node_modules/@babel/plugin-proposal-optional-chaining": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz", - "integrity": "sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", @@ -1956,8 +1803,7 @@ }, "node_modules/@babel/plugin-proposal-private-methods": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz", - "integrity": "sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A==", + "license": "MIT", "dependencies": { "@babel/helper-create-class-features-plugin": "^7.17.12", "@babel/helper-plugin-utils": "^7.17.12" @@ -1971,8 +1817,7 @@ }, "node_modules/@babel/plugin-proposal-private-property-in-object": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz", - "integrity": "sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg==", + "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.16.7", "@babel/helper-create-class-features-plugin": "^7.17.12", @@ -1988,8 +1833,7 @@ }, "node_modules/@babel/plugin-proposal-unicode-property-regex": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz", - "integrity": "sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A==", + "license": "MIT", "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.17.12", "@babel/helper-plugin-utils": "^7.17.12" @@ -2003,8 +1847,7 @@ }, "node_modules/@babel/plugin-syntax-async-generators": { "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2014,8 +1857,7 @@ }, "node_modules/@babel/plugin-syntax-class-properties": { "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.12.13" }, @@ -2025,8 +1867,7 @@ }, "node_modules/@babel/plugin-syntax-class-static-block": { "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -2039,8 +1880,7 @@ }, "node_modules/@babel/plugin-syntax-dynamic-import": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2050,8 +1890,7 @@ }, "node_modules/@babel/plugin-syntax-export-namespace-from": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.3" }, @@ -2061,8 +1900,7 @@ }, "node_modules/@babel/plugin-syntax-import-assertions": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz", - "integrity": "sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2075,8 +1913,7 @@ }, "node_modules/@babel/plugin-syntax-json-strings": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2086,8 +1923,7 @@ }, "node_modules/@babel/plugin-syntax-logical-assignment-operators": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -2097,8 +1933,7 @@ }, "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2108,8 +1943,7 @@ }, "node_modules/@babel/plugin-syntax-numeric-separator": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -2119,8 +1953,7 @@ }, "node_modules/@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2130,8 +1963,7 @@ }, "node_modules/@babel/plugin-syntax-optional-catch-binding": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2141,8 +1973,7 @@ }, "node_modules/@babel/plugin-syntax-optional-chaining": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2152,8 +1983,7 @@ }, "node_modules/@babel/plugin-syntax-private-property-in-object": { "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -2166,8 +1996,7 @@ }, "node_modules/@babel/plugin-syntax-top-level-await": { "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -2180,8 +2009,7 @@ }, "node_modules/@babel/plugin-transform-arrow-functions": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz", - "integrity": "sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2194,8 +2022,7 @@ }, "node_modules/@babel/plugin-transform-async-to-generator": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz", - "integrity": "sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ==", + "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.16.7", "@babel/helper-plugin-utils": "^7.17.12", @@ -2210,8 +2037,7 @@ }, "node_modules/@babel/plugin-transform-block-scoped-functions": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", - "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7" }, @@ -2224,8 +2050,7 @@ }, "node_modules/@babel/plugin-transform-block-scoping": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.17.12.tgz", - "integrity": "sha512-jw8XW/B1i7Lqwqj2CbrViPcZijSxfguBWZP2aN59NHgxUyO/OcO1mfdCxH13QhN5LbWhPkX+f+brKGhZTiqtZQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2238,8 +2063,7 @@ }, "node_modules/@babel/plugin-transform-classes": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.17.12.tgz", - "integrity": "sha512-cvO7lc7pZat6BsvH6l/EGaI8zpl8paICaoGk+7x7guvtfak/TbIf66nYmJOH13EuG0H+Xx3M+9LQDtSvZFKXKw==", + "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.16.7", "@babel/helper-environment-visitor": "^7.16.7", @@ -2259,8 +2083,7 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -2270,8 +2093,7 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -2282,8 +2104,7 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-split-export-declaration": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "license": "MIT", "dependencies": { "@babel/types": "^7.16.7" }, @@ -2293,16 +2114,14 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -2314,8 +2133,7 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -2325,8 +2143,7 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -2338,8 +2155,7 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -2350,8 +2166,7 @@ }, "node_modules/@babel/plugin-transform-classes/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -2363,8 +2178,7 @@ }, "node_modules/@babel/plugin-transform-computed-properties": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz", - "integrity": "sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2377,8 +2191,7 @@ }, "node_modules/@babel/plugin-transform-destructuring": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz", - "integrity": "sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2391,8 +2204,7 @@ }, "node_modules/@babel/plugin-transform-dotall-regex": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", - "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "license": "MIT", "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.16.7", "@babel/helper-plugin-utils": "^7.16.7" @@ -2406,8 +2218,7 @@ }, "node_modules/@babel/plugin-transform-duplicate-keys": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz", - "integrity": "sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2420,8 +2231,7 @@ }, "node_modules/@babel/plugin-transform-exponentiation-operator": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", - "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "license": "MIT", "dependencies": { "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", "@babel/helper-plugin-utils": "^7.16.7" @@ -2435,8 +2245,7 @@ }, "node_modules/@babel/plugin-transform-for-of": { "version": "7.18.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz", - "integrity": "sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2449,8 +2258,7 @@ }, "node_modules/@babel/plugin-transform-function-name": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", - "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.16.7", "@babel/helper-function-name": "^7.16.7", @@ -2465,8 +2273,7 @@ }, "node_modules/@babel/plugin-transform-function-name/node_modules/@babel/code-frame": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.16.7" }, @@ -2476,8 +2283,7 @@ }, "node_modules/@babel/plugin-transform-function-name/node_modules/@babel/helper-function-name": { "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "license": "MIT", "dependencies": { "@babel/template": "^7.16.7", "@babel/types": "^7.17.0" @@ -2488,16 +2294,14 @@ }, "node_modules/@babel/plugin-transform-function-name/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/plugin-transform-function-name/node_modules/@babel/highlight": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", @@ -2509,8 +2313,7 @@ }, "node_modules/@babel/plugin-transform-function-name/node_modules/@babel/parser": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==", + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -2520,8 +2323,7 @@ }, "node_modules/@babel/plugin-transform-function-name/node_modules/@babel/template": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/parser": "^7.16.7", @@ -2533,8 +2335,7 @@ }, "node_modules/@babel/plugin-transform-function-name/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -2545,8 +2346,7 @@ }, "node_modules/@babel/plugin-transform-function-name/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -2558,8 +2358,7 @@ }, "node_modules/@babel/plugin-transform-literals": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz", - "integrity": "sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2572,8 +2371,7 @@ }, "node_modules/@babel/plugin-transform-member-expression-literals": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", - "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7" }, @@ -2586,8 +2384,7 @@ }, "node_modules/@babel/plugin-transform-modules-amd": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz", - "integrity": "sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA==", + "license": "MIT", "dependencies": { "@babel/helper-module-transforms": "^7.18.0", "@babel/helper-plugin-utils": "^7.17.12", @@ -2602,8 +2399,7 @@ }, "node_modules/@babel/plugin-transform-modules-commonjs": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.0.tgz", - "integrity": "sha512-cCeR0VZWtfxWS4YueAK2qtHtBPJRSaJcMlbS8jhSIm/A3E2Kpro4W1Dn4cqJtp59dtWfXjQwK7SPKF8ghs7rlw==", + "license": "MIT", "dependencies": { "@babel/helper-module-transforms": "^7.18.0", "@babel/helper-plugin-utils": "^7.17.12", @@ -2619,8 +2415,7 @@ }, "node_modules/@babel/plugin-transform-modules-systemjs": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.0.tgz", - "integrity": "sha512-vwKpxdHnlM5tIrRt/eA0bzfbi7gUBLN08vLu38np1nZevlPySRe6yvuATJB5F/WPJ+ur4OXwpVYq9+BsxqAQuQ==", + "license": "MIT", "dependencies": { "@babel/helper-hoist-variables": "^7.16.7", "@babel/helper-module-transforms": "^7.18.0", @@ -2637,16 +2432,14 @@ }, "node_modules/@babel/plugin-transform-modules-systemjs/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/plugin-transform-modules-umd": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz", - "integrity": "sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA==", + "license": "MIT", "dependencies": { "@babel/helper-module-transforms": "^7.18.0", "@babel/helper-plugin-utils": "^7.17.12" @@ -2660,8 +2453,7 @@ }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz", - "integrity": "sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA==", + "license": "MIT", "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.17.12", "@babel/helper-plugin-utils": "^7.17.12" @@ -2675,8 +2467,7 @@ }, "node_modules/@babel/plugin-transform-new-target": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.17.12.tgz", - "integrity": "sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2689,8 +2480,7 @@ }, "node_modules/@babel/plugin-transform-object-super": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", - "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7", "@babel/helper-replace-supers": "^7.16.7" @@ -2704,8 +2494,7 @@ }, "node_modules/@babel/plugin-transform-parameters": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz", - "integrity": "sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2718,8 +2507,7 @@ }, "node_modules/@babel/plugin-transform-property-literals": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", - "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7" }, @@ -2732,8 +2520,7 @@ }, "node_modules/@babel/plugin-transform-regenerator": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz", - "integrity": "sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "regenerator-transform": "^0.15.0" @@ -2747,8 +2534,7 @@ }, "node_modules/@babel/plugin-transform-reserved-words": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz", - "integrity": "sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2761,8 +2547,7 @@ }, "node_modules/@babel/plugin-transform-shorthand-properties": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", - "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7" }, @@ -2775,8 +2560,7 @@ }, "node_modules/@babel/plugin-transform-spread": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz", - "integrity": "sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12", "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" @@ -2790,8 +2574,7 @@ }, "node_modules/@babel/plugin-transform-sticky-regex": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", - "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7" }, @@ -2804,8 +2587,7 @@ }, "node_modules/@babel/plugin-transform-template-literals": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.17.12.tgz", - "integrity": "sha512-kAKJ7DX1dSRa2s7WN1xUAuaQmkTpN+uig4wCKWivVXIObqGbVTUlSavHyfI2iZvz89GFAMGm9p2DBJ4Y1Tp0hw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2818,8 +2600,7 @@ }, "node_modules/@babel/plugin-transform-typeof-symbol": { "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz", - "integrity": "sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.17.12" }, @@ -2832,8 +2613,7 @@ }, "node_modules/@babel/plugin-transform-unicode-escapes": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", - "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.16.7" }, @@ -2846,8 +2626,7 @@ }, "node_modules/@babel/plugin-transform-unicode-regex": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", - "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "license": "MIT", "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.16.7", "@babel/helper-plugin-utils": "^7.16.7" @@ -2861,9 +2640,7 @@ }, "node_modules/@babel/polyfill": { "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.12.1.tgz", - "integrity": "sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==", - "deprecated": "🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.", + "license": "MIT", "dependencies": { "core-js": "^2.6.5", "regenerator-runtime": "^0.13.4" @@ -2871,15 +2648,12 @@ }, "node_modules/@babel/polyfill/node_modules/core-js": { "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "deprecated": "core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.", - "hasInstallScript": true + "hasInstallScript": true, + "license": "MIT" }, "node_modules/@babel/preset-env": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.0.tgz", - "integrity": "sha512-cP74OMs7ECLPeG1reiCQ/D/ypyOxgfm8uR6HRYV23vTJ7Lu1nbgj9DQDo/vH59gnn7GOAwtTDPPYV4aXzsMKHA==", + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.17.10", "@babel/helper-compilation-targets": "^7.17.10", @@ -2966,16 +2740,14 @@ }, "node_modules/@babel/preset-env/node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/preset-env/node_modules/@babel/types": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "to-fast-properties": "^2.0.0" @@ -2986,16 +2758,14 @@ }, "node_modules/@babel/preset-env/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/preset-modules": { "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", - "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", @@ -3009,8 +2779,7 @@ }, "node_modules/@babel/runtime": { "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.0.tgz", - "integrity": "sha512-YMQvx/6nKEaucl0MY56mwIG483xk8SDNdlUwb2Ts6FUpr7fm85DxEmsY18LXBNhcTz6tO6JwZV8w1W06v8UKeg==", + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.13.4" }, @@ -3020,8 +2789,7 @@ }, "node_modules/@babel/types": { "version": "7.12.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.6.tgz", - "integrity": "sha512-hwyjw6GvjBLiyy3W0YQf0Z5Zf4NpYejUnKFcfcUhZCSffoBBp30w6wP2Wn6pk31jMYZvcOrB/1b7cGXvEoKogA==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.10.4", "lodash": "^4.17.19", @@ -3030,8 +2798,7 @@ }, "node_modules/@electron/get": { "version": "1.13.0", - "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.13.0.tgz", - "integrity": "sha512-+SjZhRuRo+STTO1Fdhzqnv9D2ZhjxXP6egsJ9kiO8dtP68cDx7dFCwWi64dlMQV7sWcfW1OYCW4wviEBzmRsfQ==", + "license": "MIT", "dependencies": { "debug": "^4.1.1", "env-paths": "^2.2.0", @@ -3051,24 +2818,21 @@ }, "node_modules/@electron/get/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@electron/remote": { "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@electron/remote/-/remote-2.0.8.tgz", - "integrity": "sha512-P10v3+iFCIvEPeYzTWWGwwHmqWnjoh8RYnbtZAb3RlQefy4guagzIwcWtfftABIfm6JJTNQf4WPSKWZOpLmHXw==", + "license": "MIT", "peerDependencies": { "electron": ">= 13.0.0" } }, "node_modules/@eslint/eslintrc": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", - "integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==", + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -3084,26 +2848,9 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@eslint/eslintrc/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/@eslint/eslintrc/node_modules/globals": { "version": "13.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", - "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -3116,8 +2863,7 @@ }, "node_modules/@eslint/eslintrc/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -3127,8 +2873,7 @@ }, "node_modules/@eslint/eslintrc/node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -3138,13 +2883,11 @@ }, "node_modules/@gar/promisify": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" + "license": "MIT" }, "node_modules/@humanwhocodes/config-array": { "version": "0.9.5", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", - "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", + "license": "Apache-2.0", "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -3156,8 +2899,7 @@ }, "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -3167,13 +2909,11 @@ }, "node_modules/@humanwhocodes/object-schema": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + "license": "BSD-3-Clause" }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10" @@ -3184,29 +2924,25 @@ }, "node_modules/@jridgewell/resolve-uri": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.13", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", - "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==" + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz", - "integrity": "sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==", + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" @@ -3214,8 +2950,6 @@ }, "node_modules/@malept/cross-spawn-promise": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@malept/cross-spawn-promise/-/cross-spawn-promise-1.1.1.tgz", - "integrity": "sha512-RTBGWL5FWQcg9orDOCcp4LvItNzUPcyEU9bwaeJX0rJ1IQxzucC48Y0/sQLp/g6t99IQgAlGIaesJS+gTn7tVQ==", "funding": [ { "type": "individual", @@ -3226,6 +2960,7 @@ "url": "https://tidelift.com/subscription/pkg/npm-.malept-cross-spawn-promise?utm_medium=referral&utm_source=npm_fund" } ], + "license": "Apache-2.0", "optional": true, "dependencies": { "cross-spawn": "^7.0.1" @@ -3236,8 +2971,7 @@ }, "node_modules/@npmcli/fs": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", - "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", + "license": "ISC", "dependencies": { "@gar/promisify": "^1.0.1", "semver": "^7.3.5" @@ -3245,8 +2979,7 @@ }, "node_modules/@npmcli/move-file": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", + "license": "MIT", "dependencies": { "mkdirp": "^1.0.4", "rimraf": "^3.0.2" @@ -3257,8 +2990,7 @@ }, "node_modules/@npmcli/move-file/node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, @@ -3268,8 +3000,7 @@ }, "node_modules/@npmcli/move-file/node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -3282,9 +3013,7 @@ }, "node_modules/@serialport/binding-abstract": { "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@serialport/binding-abstract/-/binding-abstract-9.2.4.tgz", - "integrity": "sha512-UESvncat2oQKnAp29eDVJ2jB9sADatCgoojPPB4RVvp3+3Wqu5QVEh/UCjHRUeDJ20fkSFnKAw9D0vNoBQ+5Kw==", - "deprecated": "This package has been renamed to @serialport/bindings-interface", + "license": "MIT", "optional": true, "dependencies": { "debug": "^4.3.2" @@ -3296,27 +3025,9 @@ "url": "https://opencollective.com/serialport/donate" } }, - "node_modules/@serialport/binding-abstract/node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/@serialport/binding-mock": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/binding-mock/-/binding-mock-9.0.7.tgz", - "integrity": "sha512-aR8H+htZwwZZkVb1MdbnNvGWw8eXVRqQ2qPhkbKyx0N/LY5aVIgCgT98Kt1YylLsG7SzNG+Jbhd4wzwEuPVT5Q==", + "license": "MIT", "optional": true, "dependencies": { "@serialport/binding-abstract": "^9.0.7", @@ -3329,29 +3040,10 @@ "url": "https://opencollective.com/serialport/donate" } }, - "node_modules/@serialport/binding-mock/node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/@serialport/bindings": { "version": "9.2.9", - "resolved": "https://registry.npmjs.org/@serialport/bindings/-/bindings-9.2.9.tgz", - "integrity": "sha512-An7PiVlyNMx/0RDnSBxFHIsd4kt0/zPlDALlTjhVQKXbG6e0xRqLKbkoZVzHMS8rg7HzCu8G1nplifoAwNm5Lg==", - "deprecated": "This package has been renamed to @serialport/bindings-cpp.", "hasInstallScript": true, + "license": "MIT", "optional": true, "dependencies": { "@serialport/binding-abstract": "9.2.3", @@ -3370,8 +3062,7 @@ }, "node_modules/@serialport/bindings/node_modules/@serialport/binding-abstract": { "version": "9.2.3", - "resolved": "https://registry.npmjs.org/@serialport/binding-abstract/-/binding-abstract-9.2.3.tgz", - "integrity": "sha512-cQs9tbIlG3P0IrOWyVirqlhWuJ7Ms2Zh9m2108z6Y5UW/iVj6wEOiW8EmK9QX9jmJXYllE7wgGgvVozP5oCj3w==", + "license": "MIT", "optional": true, "dependencies": { "debug": "^4.3.2" @@ -3385,8 +3076,7 @@ }, "node_modules/@serialport/bindings/node_modules/@serialport/parser-delimiter": { "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@serialport/parser-delimiter/-/parser-delimiter-9.2.4.tgz", - "integrity": "sha512-4nvTAoYAgkxFiXrkI+3CA49Yd43CODjeszh89EK+I9c8wOZ+etZduRCzINYPiy26g7zO+GRAb9FoPCsY+sYcbQ==", + "license": "MIT", "optional": true, "engines": { "node": ">=10.0.0" @@ -3397,8 +3087,7 @@ }, "node_modules/@serialport/bindings/node_modules/@serialport/parser-readline": { "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@serialport/parser-readline/-/parser-readline-9.2.4.tgz", - "integrity": "sha512-Z1/qrZTQUVhNSJP1hd9YfDvq0o7d87rNwAjjRKbVpa7Qi51tG5BnKt43IV3NFMyBlVcRe0rnIb3tJu57E0SOwg==", + "license": "MIT", "optional": true, "dependencies": { "@serialport/parser-delimiter": "9.2.4" @@ -3410,27 +3099,9 @@ "url": "https://opencollective.com/serialport/donate" } }, - "node_modules/@serialport/bindings/node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/@serialport/parser-byte-length": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-byte-length/-/parser-byte-length-9.0.7.tgz", - "integrity": "sha512-evf7oOOSBMBn2AZZbgBFMRIyEzlsyQkhqaPm7IBCPTxMDXRf4tKkFYJHYZB0/6d1W4eI0meH079UqmSsh/uoDA==", + "license": "MIT", "optional": true, "engines": { "node": ">=10.0.0" @@ -3441,8 +3112,7 @@ }, "node_modules/@serialport/parser-cctalk": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-cctalk/-/parser-cctalk-9.0.7.tgz", - "integrity": "sha512-ert5jhMkeiTfr44TkbdySC09J8UwAsf/RxBucVN5Mz5enG509RggnkfFi4mfj3UCG2vZ7qsmM6gtZ62DshY02Q==", + "license": "MIT", "optional": true, "engines": { "node": ">=10.0.0" @@ -3453,8 +3123,7 @@ }, "node_modules/@serialport/parser-delimiter": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-delimiter/-/parser-delimiter-9.0.7.tgz", - "integrity": "sha512-Vb2NPeXPZ/28M4m5x4OAHFd8jRAeddNCgvL+Q+H/hqFPY1w47JcMLchC7pigRW8Cnt1fklmzfwdNQ8Fb+kMkxQ==", + "license": "MIT", "optional": true, "engines": { "node": ">=10.0.0" @@ -3465,8 +3134,7 @@ }, "node_modules/@serialport/parser-inter-byte-timeout": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-inter-byte-timeout/-/parser-inter-byte-timeout-9.0.7.tgz", - "integrity": "sha512-lUZ3cwgUluBvJ1jf+0LQsqoiPYAokDO6+fRCw9HCfnrF/OS60Gm4rxuyo2uQIueqZkJ7NIFP+ibKsULrA47AEA==", + "license": "MIT", "optional": true, "engines": { "node": ">=10.0.0" @@ -3477,8 +3145,7 @@ }, "node_modules/@serialport/parser-readline": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-readline/-/parser-readline-9.0.7.tgz", - "integrity": "sha512-ydoLbgVQQPxWrwbe3Fhh4XnZexbkEQAC6M/qgRTzjnKvTjrD61CJNxLc3vyDaAPI9bJIhTiI7eTX3JB5jJv8Hg==", + "license": "MIT", "optional": true, "dependencies": { "@serialport/parser-delimiter": "^9.0.7" @@ -3492,8 +3159,7 @@ }, "node_modules/@serialport/parser-ready": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-ready/-/parser-ready-9.0.7.tgz", - "integrity": "sha512-3qYhI4cNUPAYqVYvdwV57Y+PVRl4dJf1fPBtMoWtwDgwopsAXTR93WCs49WuUq9JCyNW+8Hrfqv8x8eNAD5Dqg==", + "license": "MIT", "optional": true, "engines": { "node": ">=10.0.0" @@ -3504,8 +3170,7 @@ }, "node_modules/@serialport/parser-regex": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-regex/-/parser-regex-9.0.7.tgz", - "integrity": "sha512-5XF+FXbhqQ/5bVKM4NaGs1m+E9KjfmeCx/obwsKaUZognQF67jwoTfjJJWNP/21jKfxdl8XoCYjZjASl3XKRAw==", + "license": "MIT", "optional": true, "engines": { "node": ">=10.0.0" @@ -3516,8 +3181,7 @@ }, "node_modules/@serialport/stream": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/stream/-/stream-9.0.7.tgz", - "integrity": "sha512-c/h7HPAeFiryD9iTGlaSvPqHFHSZ0NMQHxC4rcmKS2Vu3qJuEtkBdTLABwsMp7iWEiSnI4KC3s7bHapaXP06FQ==", + "license": "MIT", "optional": true, "dependencies": { "debug": "^4.3.1" @@ -3529,35 +3193,16 @@ "url": "https://opencollective.com/serialport/donate" } }, - "node_modules/@serialport/stream/node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/@sindresorhus/is": { "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/@szmarczak/http-timer": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "license": "MIT", "dependencies": { "defer-to-connect": "^1.0.1" }, @@ -3567,16 +3212,14 @@ }, "node_modules/@tootallnate/once": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/@types/fs-extra": { "version": "9.0.4", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.4.tgz", - "integrity": "sha512-50GO5ez44lxK5MDH90DYHFFfqxH7+fTqEEnvguQRzJ/tY9qFrMSHLiYHite+F3SNmf7+LHC1eMXojuD+E3Qcyg==", + "license": "MIT", "optional": true, "dependencies": { "@types/node": "*" @@ -3584,8 +3227,7 @@ }, "node_modules/@types/glob": { "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "license": "MIT", "optional": true, "dependencies": { "@types/minimatch": "*", @@ -3594,30 +3236,25 @@ }, "node_modules/@types/minimatch": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", - "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", + "license": "MIT", "optional": true }, "node_modules/@types/minimist": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" + "license": "MIT" }, "node_modules/@types/node": { "version": "16.11.36", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.36.tgz", - "integrity": "sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA==", + "license": "MIT", "optional": true }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + "license": "MIT" }, "node_modules/@types/yauzl": { "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", + "license": "MIT", "optional": true, "dependencies": { "@types/node": "*" @@ -3625,26 +3262,22 @@ }, "node_modules/7zip": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/7zip/-/7zip-0.0.6.tgz", - "integrity": "sha1-nK+xca+CMpSQNTtIFvAzR6oVCjA=", + "license": "GNU LGPL", "bin": { "7z": "7zip-lite/7z.exe" } }, "node_modules/abbrev": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + "license": "ISC" }, "node_modules/ace-builds": { "version": "1.24.1", - "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.24.1.tgz", - "integrity": "sha512-TLcxMxiTRX5Eq9bBVSd/bTJlanCBULiv/IULLohJDDaCAfcpZKJBVSd4OWfN/j2c2jCLc+jhpNWGELiJZw3wPw==" + "license": "BSD-3-Clause" }, "node_modules/acorn": { "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -3654,16 +3287,14 @@ }, "node_modules/acorn-jsx": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "node_modules/acorn-node": { "version": "1.8.2", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", - "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", + "license": "Apache-2.0", "dependencies": { "acorn": "^7.0.0", "acorn-walk": "^7.0.0", @@ -3672,16 +3303,14 @@ }, "node_modules/acorn-walk": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/agent-base": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "license": "MIT", "dependencies": { "debug": "4" }, @@ -3691,8 +3320,7 @@ }, "node_modules/agentkeepalive": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", - "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", + "license": "MIT", "dependencies": { "debug": "^4.1.0", "depd": "^1.1.2", @@ -3704,8 +3332,7 @@ }, "node_modules/aggregate-error": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "license": "MIT", "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" @@ -3716,8 +3343,7 @@ }, "node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -3731,35 +3357,31 @@ }, "node_modules/ansi-align": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "license": "ISC", "dependencies": { "string-width": "^4.1.0" } }, "node_modules/ansi-html": { "version": "0.0.9", - "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.9.tgz", - "integrity": "sha512-ozbS3LuenHVxNRh/wdnN16QapUHzauqSomAl1jwwJRRsGwFwtj644lIhxfWu0Fy0acCij2+AEgHvjscq3dlVXg==", "engines": [ "node >= 0.8.0" ], + "license": "Apache-2.0", "bin": { "ansi-html": "bin/ansi-html" } }, "node_modules/ansi-regex": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -3769,8 +3391,7 @@ }, "node_modules/anymatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -3781,8 +3402,7 @@ }, "node_modules/apache-crypt": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/apache-crypt/-/apache-crypt-1.2.5.tgz", - "integrity": "sha512-ICnYQH+DFVmw+S4Q0QY2XRXD8Ne8ewh8HgbuFH4K7022zCxgHM0Hz1xkRnUlEfAXNbwp1Cnhbedu60USIfDxvg==", + "license": "MIT", "dependencies": { "unix-crypt-td-js": "^1.1.4" }, @@ -3792,21 +3412,18 @@ }, "node_modules/apache-md5": { "version": "1.1.7", - "resolved": "https://registry.npmjs.org/apache-md5/-/apache-md5-1.1.7.tgz", - "integrity": "sha512-JtHjzZmJxtzfTSjsCyHgPR155HBe5WGyUyHTaEkfy46qhwCFKx1Epm6nAxgUG3WfUZP1dWhGqj9Z2NOBeZ+uBw==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/aproba": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" + "license": "ISC" }, "node_modules/are-we-there-yet": { "version": "1.1.7", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", - "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", + "license": "ISC", "optional": true, "dependencies": { "delegates": "^1.0.0", @@ -3815,31 +3432,26 @@ }, "node_modules/argparse": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "license": "Python-2.0" }, "node_modules/array-filter": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", - "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=" + "license": "MIT" }, "node_modules/array-flatten": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", - "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==" + "license": "MIT" }, "node_modules/arrify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/asar": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/asar/-/asar-3.0.3.tgz", - "integrity": "sha512-k7zd+KoR+n8pl71PvgElcoKHrVNiSXtw7odKbyNpmgKe7EGRF9Pnu3uLOukD37EvavKwVFxOUpqXTIZC5B5Pmw==", + "license": "MIT", "optional": true, "dependencies": { "chromium-pickle-js": "^0.2.0", @@ -3859,8 +3471,7 @@ }, "node_modules/asar/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "optional": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -3871,16 +3482,14 @@ }, "node_modules/asn1": { "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "license": "MIT", "dependencies": { "safer-buffer": "~2.1.0" } }, "node_modules/asn1.js": { "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "license": "MIT", "dependencies": { "bn.js": "^4.0.0", "inherits": "^2.0.1", @@ -3890,13 +3499,11 @@ }, "node_modules/asn1.js/node_modules/bn.js": { "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" + "license": "MIT" }, "node_modules/assert": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "license": "MIT", "dependencies": { "object-assign": "^4.1.1", "util": "0.10.3" @@ -3904,58 +3511,49 @@ }, "node_modules/assert-plus": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/assert/node_modules/inherits": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" + "license": "ISC" }, "node_modules/assert/node_modules/util": { "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "license": "MIT", "dependencies": { "inherits": "2.0.1" } }, "node_modules/async-foreach": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", - "integrity": "sha512-VUeSMD8nEGBWaZK4lizI1sf3yEC7pnAQ/mrI7pC2fBz2s/tq5jWWEngTwaf0Gruu/OoXRGLGg1XFqpYBiGTYJA==", "engines": { "node": "*" } }, "node_modules/asynckit": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "license": "MIT" }, "node_modules/at-least-node": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "license": "ISC", "engines": { "node": ">= 4.0.0" } }, "node_modules/author-regex": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/author-regex/-/author-regex-1.0.0.tgz", - "integrity": "sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA=", + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/available-typed-arrays": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", - "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", + "license": "MIT", "dependencies": { "array-filter": "^1.0.0" }, @@ -3968,29 +3566,25 @@ }, "node_modules/aws-sign2": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "license": "Apache-2.0", "engines": { "node": "*" } }, "node_modules/aws4": { "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + "license": "MIT" }, "node_modules/babel-plugin-dynamic-import-node": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "license": "MIT", "dependencies": { "object.assign": "^4.1.0" } }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", - "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.13.11", "@babel/helper-define-polyfill-provider": "^0.3.1", @@ -4002,16 +3596,14 @@ }, "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/babel-plugin-polyfill-corejs3": { "version": "0.5.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", - "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "license": "MIT", "dependencies": { "@babel/helper-define-polyfill-provider": "^0.3.1", "core-js-compat": "^3.21.0" @@ -4022,8 +3614,7 @@ }, "node_modules/babel-plugin-polyfill-regenerator": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", - "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "license": "MIT", "dependencies": { "@babel/helper-define-polyfill-provider": "^0.3.1" }, @@ -4033,8 +3624,7 @@ }, "node_modules/babelify": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/babelify/-/babelify-10.0.0.tgz", - "integrity": "sha512-X40FaxyH7t3X+JFAKvb1H9wooWKLRCi8pg3m8poqtdZaIng+bjzp9RvKQCvRjF9isHiPkXspbbXT/zwXLtwgwg==", + "license": "MIT", "engines": { "node": ">=6.9.0" }, @@ -4044,73 +3634,10 @@ }, "node_modules/balanced-match": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", - "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" + "license": "MIT" }, "node_modules/base64-js": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, - "node_modules/bcryptjs": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.4.3.tgz", - "integrity": "sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==" - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "optional": true, - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "optional": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/bl/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "funding": [ { "type": "github", @@ -4125,6 +3652,61 @@ "url": "https://feross.org/support" } ], + "license": "MIT" + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/bcryptjs": { + "version": "2.4.3", + "license": "MIT" + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/bindings": { + "version": "1.5.0", + "license": "MIT", + "optional": true, + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bl/node_modules/buffer": { + "version": "5.7.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", "optional": true, "dependencies": { "base64-js": "^1.3.1", @@ -4133,8 +3715,7 @@ }, "node_modules/bl/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "optional": true, "dependencies": { "inherits": "^2.0.3", @@ -4147,19 +3728,15 @@ }, "node_modules/bluebird": { "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "license": "MIT" }, "node_modules/bn.js": { "version": "5.1.3", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.1.3.tgz", - "integrity": "sha512-GkTiFpjFtUzU9CbMeJ5iazkCzGL3jrhzerzZIuqLABjbwRaFt33I9tUdSNryIptM+RxDet6OKm2WnLXzW51KsQ==" + "license": "MIT" }, "node_modules/bonjour": { "version": "4.0.0", "resolved": "git+ssh://git@github.com/jean-emmanuel/bonjour.git#33d7fa28c568d05cb7ffda1fd2b20f4cc364e273", - "integrity": "sha512-uP84XiLw4iMP+03GUQbK5euEMQ+ThOhg83yQJ1My0lu7hXfn7I8g8QQxgSPG3+Q8UcGzZ847Iq7PRSJQccFPnA==", - "license": "MIT", "dependencies": { "array-flatten": "^2.1.0", "deep-equal": "^1.0.1", @@ -4171,14 +3748,12 @@ }, "node_modules/boolean": { "version": "3.1.4", - "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.1.4.tgz", - "integrity": "sha512-3hx0kwU3uzG6ReQ3pnaFQPSktpBw6RHN3/ivDKEuU8g1XSfafowyvDnadjv1xp8IZqhtSukxlwv9bF6FhX8m0w==", + "license": "MIT", "optional": true }, "node_modules/boxen": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", - "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", + "license": "MIT", "dependencies": { "ansi-align": "^3.0.0", "camelcase": "^6.2.0", @@ -4198,16 +3773,14 @@ }, "node_modules/boxen/node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/boxen/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -4220,8 +3793,7 @@ }, "node_modules/boxen/node_modules/camelcase": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -4231,8 +3803,7 @@ }, "node_modules/boxen/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -4246,8 +3817,7 @@ }, "node_modules/boxen/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -4257,21 +3827,18 @@ }, "node_modules/boxen/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "license": "MIT" }, "node_modules/boxen/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/boxen/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -4283,8 +3850,7 @@ }, "node_modules/boxen/node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -4294,8 +3860,7 @@ }, "node_modules/boxen/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -4305,8 +3870,7 @@ }, "node_modules/boxen/node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -4316,8 +3880,7 @@ }, "node_modules/boxen/node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -4332,8 +3895,7 @@ }, "node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -4341,13 +3903,11 @@ }, "node_modules/brace-expansion/node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "license": "MIT" }, "node_modules/braces": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "license": "MIT", "dependencies": { "fill-range": "^7.0.1" }, @@ -4357,13 +3917,11 @@ }, "node_modules/brorand": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + "license": "MIT" }, "node_modules/browser-pack": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz", - "integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==", + "license": "MIT", "dependencies": { "combine-source-map": "~0.8.0", "defined": "^1.0.0", @@ -4378,21 +3936,18 @@ }, "node_modules/browser-process-hrtime": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", - "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==" + "license": "BSD-2-Clause" }, "node_modules/browser-resolve": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-2.0.0.tgz", - "integrity": "sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ==", + "license": "MIT", "dependencies": { "resolve": "^1.17.0" } }, "node_modules/browserify": { "version": "17.0.0", - "resolved": "https://registry.npmjs.org/browserify/-/browserify-17.0.0.tgz", - "integrity": "sha512-SaHqzhku9v/j6XsQMRxPyBrSP3gnwmE27gLJYZgMT2GeK3J0+0toN+MnuNYDfHwVGQfLiMZ7KSNSIXHemy905w==", + "license": "MIT", "dependencies": { "assert": "^1.4.0", "browser-pack": "^6.0.1", @@ -4452,8 +4007,7 @@ }, "node_modules/browserify-aes": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "license": "MIT", "dependencies": { "buffer-xor": "^1.0.3", "cipher-base": "^1.0.0", @@ -4465,8 +4019,7 @@ }, "node_modules/browserify-cipher": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "license": "MIT", "dependencies": { "browserify-aes": "^1.0.4", "browserify-des": "^1.0.0", @@ -4475,8 +4028,7 @@ }, "node_modules/browserify-des": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "license": "MIT", "dependencies": { "cipher-base": "^1.0.1", "des.js": "^1.0.0", @@ -4486,8 +4038,7 @@ }, "node_modules/browserify-rsa": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "license": "MIT", "dependencies": { "bn.js": "^5.0.0", "randombytes": "^2.0.1" @@ -4495,8 +4046,7 @@ }, "node_modules/browserify-sign": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "license": "ISC", "dependencies": { "bn.js": "^5.1.1", "browserify-rsa": "^4.0.1", @@ -4511,8 +4061,7 @@ }, "node_modules/browserify-sign/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -4524,8 +4073,6 @@ }, "node_modules/browserify-sign/node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", @@ -4539,20 +4086,18 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/browserify-zlib": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "license": "MIT", "dependencies": { "pako": "~1.0.5" } }, "node_modules/browserslist": { "version": "4.20.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", - "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", "funding": [ { "type": "opencollective", @@ -4563,6 +4108,7 @@ "url": "https://tidelift.com/funding/github/npm/browserslist" } ], + "license": "MIT", "dependencies": { "caniuse-lite": "^1.0.30001332", "electron-to-chromium": "^1.4.118", @@ -4579,8 +4125,7 @@ }, "node_modules/buffer": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", - "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" @@ -4588,8 +4133,7 @@ }, "node_modules/buffer-alloc": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", - "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "license": "MIT", "dependencies": { "buffer-alloc-unsafe": "^1.1.0", "buffer-fill": "^1.0.0" @@ -4597,26 +4141,22 @@ }, "node_modules/buffer-alloc-unsafe": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", - "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" + "license": "MIT" }, "node_modules/buffer-crc32": { "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/buffer-fill": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", - "integrity": "sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==" + "license": "MIT" }, "node_modules/buffer-from": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + "license": "MIT" }, "node_modules/buffer-indexof": { "version": "1.1.1", @@ -4625,18 +4165,15 @@ }, "node_modules/buffer-xor": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + "license": "MIT" }, "node_modules/builtin-status-codes": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" + "license": "MIT" }, "node_modules/cacache": { "version": "15.3.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", - "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", + "license": "ISC", "dependencies": { "@npmcli/fs": "^1.0.0", "@npmcli/move-file": "^1.0.1", @@ -4663,8 +4200,7 @@ }, "node_modules/cacache/node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, @@ -4674,8 +4210,7 @@ }, "node_modules/cacache/node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -4688,8 +4223,7 @@ }, "node_modules/cacheable-request": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", + "license": "MIT", "dependencies": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", @@ -4705,8 +4239,7 @@ }, "node_modules/cacheable-request/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==", + "license": "MIT", "dependencies": { "pump": "^3.0.0" }, @@ -4719,21 +4252,18 @@ }, "node_modules/cacheable-request/node_modules/lowercase-keys": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/cached-path-relative": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz", - "integrity": "sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==" + "license": "MIT" }, "node_modules/call-bind": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", - "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.0" @@ -4744,16 +4274,14 @@ }, "node_modules/callsites": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/camel-case": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", - "integrity": "sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==", + "license": "MIT", "dependencies": { "no-case": "^2.2.0", "upper-case": "^1.1.1" @@ -4761,16 +4289,14 @@ }, "node_modules/camelcase": { "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/camelcase-keys": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "license": "MIT", "dependencies": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", @@ -4785,8 +4311,6 @@ }, "node_modules/caniuse-lite": { "version": "1.0.30001342", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001342.tgz", - "integrity": "sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA==", "funding": [ { "type": "opencollective", @@ -4796,23 +4320,22 @@ "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/caseless": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + "license": "Apache-2.0" }, "node_modules/chokidar": { "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", "funding": [ { "type": "individual", "url": "https://paulmillr.com/funding/" } ], + "license": "MIT", "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -4831,31 +4354,26 @@ }, "node_modules/chownr": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/chroma-js": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-2.4.2.tgz", - "integrity": "sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A==" + "license": "(BSD-3-Clause AND Apache-2.0)" }, "node_modules/chromium-pickle-js": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/chromium-pickle-js/-/chromium-pickle-js-0.2.0.tgz", - "integrity": "sha1-BKEGZywYsIWrd02YPfo+oTjyIgU=" + "license": "MIT" }, "node_modules/ci-info": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + "license": "MIT" }, "node_modules/cipher-base": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "safe-buffer": "^5.0.1" @@ -4863,16 +4381,14 @@ }, "node_modules/clean-stack": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/cli-boxes": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", + "license": "MIT", "engines": { "node": ">=6" }, @@ -4882,8 +4398,7 @@ }, "node_modules/cliui": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -4892,16 +4407,14 @@ }, "node_modules/clone-response": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", + "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" } }, "node_modules/code-point-at": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "license": "MIT", "optional": true, "engines": { "node": ">=0.10.0" @@ -4909,29 +4422,25 @@ }, "node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "license": "MIT" }, "node_modules/color-support": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "license": "ISC", "bin": { "color-support": "bin.js" } }, "node_modules/combine-source-map": { "version": "0.8.0", - "resolved": "https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz", - "integrity": "sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=", + "license": "MIT", "dependencies": { "convert-source-map": "~1.1.0", "inline-source-map": "~0.6.0", @@ -4941,13 +4450,11 @@ }, "node_modules/combine-source-map/node_modules/convert-source-map": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", - "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=" + "license": "MIT" }, "node_modules/combined-stream": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -4957,32 +4464,28 @@ }, "node_modules/commander": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", + "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/compare-version": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/compare-version/-/compare-version-0.1.2.tgz", - "integrity": "sha1-AWLsLZNR9d3VmpICy6k1NmpyUIA=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/concat-map": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "license": "MIT" }, "node_modules/concat-stream": { "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "engines": [ "node >= 0.8" ], + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", @@ -4992,8 +4495,7 @@ }, "node_modules/config-chain": { "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", + "license": "MIT", "optional": true, "dependencies": { "ini": "^1.3.4", @@ -5002,8 +4504,7 @@ }, "node_modules/configstore": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", - "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", + "license": "BSD-2-Clause", "dependencies": { "dot-prop": "^5.2.0", "graceful-fs": "^4.1.2", @@ -5017,33 +4518,27 @@ } }, "node_modules/console-browserify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", - "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" + "version": "1.2.0" }, "node_modules/console-control-strings": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" + "license": "ISC" }, "node_modules/constants-browserify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" + "license": "MIT" }, "node_modules/convert-source-map": { "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.1" } }, "node_modules/core-js": { "version": "3.22.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.22.5.tgz", - "integrity": "sha512-VP/xYuvJ0MJWRAobcmQ8F2H6Bsn+s7zqAAjFaHGBMc5AQm7zaelhD1LGduFn2EehEcQcU+br6t+fwbpQ5d1ZWA==", "hasInstallScript": true, + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/core-js" @@ -5051,8 +4546,7 @@ }, "node_modules/core-js-compat": { "version": "3.22.5", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.5.tgz", - "integrity": "sha512-rEF75n3QtInrYICvJjrAgV03HwKiYvtKHdPtaba1KucG+cNZ4NJnH9isqt979e67KZlhpbCOTwnsvnIr+CVeOg==", + "license": "MIT", "dependencies": { "browserslist": "^4.20.3", "semver": "7.0.0" @@ -5064,21 +4558,18 @@ }, "node_modules/core-js-compat/node_modules/semver": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/core-util-is": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "license": "MIT" }, "node_modules/cpr": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/cpr/-/cpr-3.0.1.tgz", - "integrity": "sha1-uaVQOLfNgaNcF7l2GJW9hJau8eU=", + "license": "BSD-3-Clause", "dependencies": { "graceful-fs": "^4.1.5", "minimist": "^1.2.0", @@ -5091,8 +4582,7 @@ }, "node_modules/create-ecdh": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "license": "MIT", "dependencies": { "bn.js": "^4.1.0", "elliptic": "^6.5.3" @@ -5100,13 +4590,11 @@ }, "node_modules/create-ecdh/node_modules/bn.js": { "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" + "license": "MIT" }, "node_modules/create-hash": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "license": "MIT", "dependencies": { "cipher-base": "^1.0.1", "inherits": "^2.0.1", @@ -5117,8 +4605,7 @@ }, "node_modules/create-hmac": { "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "license": "MIT", "dependencies": { "cipher-base": "^1.0.3", "create-hash": "^1.1.0", @@ -5130,8 +4617,7 @@ }, "node_modules/cross-spawn": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -5143,13 +4629,11 @@ }, "node_modules/cross-unzip": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/cross-unzip/-/cross-unzip-0.0.2.tgz", - "integrity": "sha1-UYO8R6CVWb78+YzEZXlkmZNZNy8=" + "license": "GNU LGPL" }, "node_modules/crypto-browserify": { "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "license": "MIT", "dependencies": { "browserify-cipher": "^1.0.0", "browserify-sign": "^4.0.0", @@ -5169,21 +4653,18 @@ }, "node_modules/crypto-random-string": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/dash-ast": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz", - "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==" + "license": "Apache-2.0" }, "node_modules/dashdash": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "license": "MIT", "dependencies": { "assert-plus": "^1.0.0" }, @@ -5192,10 +4673,9 @@ } }, "node_modules/debug": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", - "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", - "deprecated": "Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dependencies": { "ms": "2.1.2" }, @@ -5210,16 +4690,14 @@ }, "node_modules/decamelize": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decamelize-keys": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "license": "MIT", "dependencies": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" @@ -5230,16 +4708,14 @@ }, "node_modules/decamelize-keys/node_modules/map-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decompress-response": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", + "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" }, @@ -5249,8 +4725,7 @@ }, "node_modules/deep-equal": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", - "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", + "license": "MIT", "dependencies": { "is-arguments": "^1.0.4", "is-date-object": "^1.0.1", @@ -5265,34 +4740,29 @@ }, "node_modules/deep-extend": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "license": "MIT", "engines": { "node": ">=4.0.0" } }, "node_modules/deep-is": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + "license": "MIT" }, "node_modules/defer-to-connect": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + "license": "MIT" }, "node_modules/define-lazy-prop": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/define-properties": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "license": "MIT", "dependencies": { "object-keys": "^1.0.12" }, @@ -5302,34 +4772,29 @@ }, "node_modules/defined": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=" + "license": "MIT" }, "node_modules/delayed-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/delegates": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" + "license": "MIT" }, "node_modules/depd": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/deps-sort": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.1.tgz", - "integrity": "sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw==", + "license": "MIT", "dependencies": { "JSONStream": "^1.0.3", "shasum-object": "^1.0.0", @@ -5342,8 +4807,7 @@ }, "node_modules/des.js": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "minimalistic-assert": "^1.0.0" @@ -5351,8 +4815,7 @@ }, "node_modules/destroy": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" @@ -5360,8 +4823,7 @@ }, "node_modules/detect-libc": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", - "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", + "license": "Apache-2.0", "optional": true, "engines": { "node": ">=8" @@ -5369,14 +4831,12 @@ }, "node_modules/detect-node": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", - "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "license": "MIT", "optional": true }, "node_modules/detective": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", - "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==", + "license": "MIT", "dependencies": { "acorn-node": "^1.6.1", "defined": "^1.0.0", @@ -5391,13 +4851,11 @@ }, "node_modules/diff-match-patch": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/diff-match-patch/-/diff-match-patch-1.0.5.tgz", - "integrity": "sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==" + "license": "Apache-2.0" }, "node_modules/diffie-hellman": { "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "license": "MIT", "dependencies": { "bn.js": "^4.1.0", "miller-rabin": "^4.0.0", @@ -5406,23 +4864,20 @@ }, "node_modules/diffie-hellman/node_modules/bn.js": { "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" + "license": "MIT" }, "node_modules/dijkstrajs": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.2.tgz", - "integrity": "sha512-QV6PMaHTCNmKSeP6QoXhVTw9snc9VD8MulTT0Bd99Pacp4SS1cjcrYPgBPmibqKVtMJJfqC6XvOXgPMEEPH/fg==" + "license": "MIT" }, "node_modules/dns-equal": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=" + "license": "MIT" }, "node_modules/dns-packet": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", - "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.4.tgz", + "integrity": "sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA==", "dependencies": { "ip": "^1.1.0", "safe-buffer": "^5.0.1" @@ -5431,16 +4886,13 @@ "node_modules/dns-txt": { "version": "2.0.3", "resolved": "git+ssh://git@github.com/jean-emmanuel/dns-txt.git#3bee7785c32d8bc71230d5e01383c61fb72a4b4f", - "integrity": "sha512-XcsrGSyODgkk304uVhqhggMfaG/NFjfEIZBh6eIpaLVR0/Wq+Z66ZV6SEomvt2/gBt611zghU16mX5Hebtf/TQ==", - "license": "MIT", "dependencies": { "buffer-indexof": "^1.0.0" } }, "node_modules/doctrine": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -5450,8 +4902,7 @@ }, "node_modules/dom-serializer": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "license": "MIT", "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.2.0", @@ -5463,8 +4914,7 @@ }, "node_modules/dom-serializer/node_modules/domhandler": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "license": "BSD-2-Clause", "dependencies": { "domelementtype": "^2.2.0" }, @@ -5477,8 +4927,7 @@ }, "node_modules/domain-browser": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "license": "MIT", "engines": { "node": ">=0.4", "npm": ">=1.2" @@ -5486,19 +4935,17 @@ }, "node_modules/domelementtype": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fb55" } - ] + ], + "license": "BSD-2-Clause" }, "node_modules/domhandler": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", - "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "license": "BSD-2-Clause", "dependencies": { "domelementtype": "^2.0.1" }, @@ -5511,8 +4958,7 @@ }, "node_modules/domutils": { "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "license": "BSD-2-Clause", "dependencies": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", @@ -5524,8 +4970,7 @@ }, "node_modules/domutils/node_modules/domhandler": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "license": "BSD-2-Clause", "dependencies": { "domelementtype": "^2.2.0" }, @@ -5538,8 +4983,7 @@ }, "node_modules/dot-prop": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "license": "MIT", "dependencies": { "is-obj": "^2.0.0" }, @@ -5549,21 +4993,18 @@ }, "node_modules/duplexer2": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "license": "BSD-3-Clause", "dependencies": { "readable-stream": "^2.0.2" } }, "node_modules/duplexer3": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" + "license": "BSD-3-Clause" }, "node_modules/ecc-jsbn": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "license": "MIT", "dependencies": { "jsbn": "~0.1.0", "safer-buffer": "^2.1.0" @@ -5571,14 +5012,12 @@ }, "node_modules/ee-first": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + "license": "MIT" }, "node_modules/electron": { "version": "15.1.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-15.1.0.tgz", - "integrity": "sha512-QZJKZdrOG2G9lyOrDpCHh+arMrj7ZVVBulrukhNXwCeCEHgNLTVULEQzMOB9AVXUbIs+FthcddlMgcgpaErohw==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "@electron/get": "^1.13.0", "@types/node": "^14.6.2", @@ -5593,8 +5032,7 @@ }, "node_modules/electron-installer-common": { "version": "0.10.3", - "resolved": "https://registry.npmjs.org/electron-installer-common/-/electron-installer-common-0.10.3.tgz", - "integrity": "sha512-mYbP+6i+nHMIm0WZHXgGdmmXMe+KXncl6jZYQNcCF9C1WsNA9C5SZ2VP4TLQMSIoFO+X4ugkMEA5uld1bmyEvA==", + "license": "Apache-2.0", "optional": true, "dependencies": { "@malept/cross-spawn-promise": "^1.0.0", @@ -5619,8 +5057,7 @@ }, "node_modules/electron-installer-common/node_modules/fs-extra": { "version": "9.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", - "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", + "license": "MIT", "optional": true, "dependencies": { "at-least-node": "^1.0.0", @@ -5634,8 +5071,7 @@ }, "node_modules/electron-installer-common/node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "license": "MIT", "optional": true, "dependencies": { "universalify": "^2.0.0" @@ -5646,8 +5082,7 @@ }, "node_modules/electron-installer-common/node_modules/jsonfile/node_modules/universalify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "license": "MIT", "optional": true, "engines": { "node": ">= 10.0.0" @@ -5655,8 +5090,7 @@ }, "node_modules/electron-installer-common/node_modules/universalify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", + "license": "MIT", "optional": true, "engines": { "node": ">= 10.0.0" @@ -5664,8 +5098,7 @@ }, "node_modules/electron-installer-debian": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/electron-installer-debian/-/electron-installer-debian-3.1.0.tgz", - "integrity": "sha512-k6KChvx0Fw8XTlCqwwbBfh19yGQaKjGdbugokmr1IpzINOm4QFyACKMTHAYFHW5LCBUZQShZD96hwxUZ+8Kx+w==", + "license": "MIT", "optional": true, "os": [ "darwin", @@ -5690,8 +5123,7 @@ }, "node_modules/electron-installer-debian/node_modules/fs-extra": { "version": "9.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", - "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", + "license": "MIT", "optional": true, "dependencies": { "at-least-node": "^1.0.0", @@ -5705,8 +5137,7 @@ }, "node_modules/electron-installer-debian/node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "license": "MIT", "optional": true, "dependencies": { "universalify": "^2.0.0" @@ -5717,8 +5148,7 @@ }, "node_modules/electron-installer-debian/node_modules/jsonfile/node_modules/universalify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "license": "MIT", "optional": true, "engines": { "node": ">= 10.0.0" @@ -5726,8 +5156,7 @@ }, "node_modules/electron-installer-debian/node_modules/universalify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", + "license": "MIT", "optional": true, "engines": { "node": ">= 10.0.0" @@ -5735,8 +5164,7 @@ }, "node_modules/electron-installer-debian/node_modules/yargs": { "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "license": "MIT", "optional": true, "dependencies": { "cliui": "^6.0.0", @@ -5757,8 +5185,7 @@ }, "node_modules/electron-installer-redhat": { "version": "3.4.0", - "resolved": "https://registry.npmjs.org/electron-installer-redhat/-/electron-installer-redhat-3.4.0.tgz", - "integrity": "sha512-gEISr3U32Sgtj+fjxUAlSDo3wyGGq6OBx7rF5UdpIgbnpUvMN4W5uYb0ThpnAZ42VEJh/3aODQXHbFS4f5J3Iw==", + "license": "MIT", "optional": true, "os": [ "darwin", @@ -5782,8 +5209,7 @@ }, "node_modules/electron-installer-redhat/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "optional": true, "dependencies": { "color-convert": "^2.0.1" @@ -5797,8 +5223,7 @@ }, "node_modules/electron-installer-redhat/node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "license": "ISC", "optional": true, "dependencies": { "string-width": "^4.2.0", @@ -5808,8 +5233,7 @@ }, "node_modules/electron-installer-redhat/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "optional": true, "dependencies": { "color-name": "~1.1.4" @@ -5820,14 +5244,12 @@ }, "node_modules/electron-installer-redhat/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT", "optional": true }, "node_modules/electron-installer-redhat/node_modules/fs-extra": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "license": "MIT", "optional": true, "dependencies": { "at-least-node": "^1.0.0", @@ -5841,8 +5263,7 @@ }, "node_modules/electron-installer-redhat/node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "license": "MIT", "optional": true, "dependencies": { "universalify": "^2.0.0" @@ -5853,8 +5274,7 @@ }, "node_modules/electron-installer-redhat/node_modules/universalify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "license": "MIT", "optional": true, "engines": { "node": ">= 10.0.0" @@ -5862,8 +5282,7 @@ }, "node_modules/electron-installer-redhat/node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", "optional": true, "dependencies": { "ansi-styles": "^4.0.0", @@ -5879,8 +5298,7 @@ }, "node_modules/electron-installer-redhat/node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", "optional": true, "engines": { "node": ">=10" @@ -5888,8 +5306,7 @@ }, "node_modules/electron-installer-redhat/node_modules/yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "license": "MIT", "optional": true, "dependencies": { "cliui": "^7.0.2", @@ -5906,8 +5323,7 @@ }, "node_modules/electron-installer-redhat/node_modules/yargs-parser": { "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "license": "ISC", "optional": true, "engines": { "node": ">=10" @@ -5915,13 +5331,11 @@ }, "node_modules/electron-is-accelerator": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/electron-is-accelerator/-/electron-is-accelerator-0.1.2.tgz", - "integrity": "sha1-UJ5RDCala1Xhf4Y6SwThEYRqsns=" + "license": "MIT" }, "node_modules/electron-localshortcut": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/electron-localshortcut/-/electron-localshortcut-3.2.1.tgz", - "integrity": "sha512-DWvhKv36GsdXKnaFFhEiK8kZZA+24/yFLgtTwJJHc7AFgDjNRIBJZ/jq62Y/dWv9E4ypYwrVWN2bVrCYw1uv7Q==", + "license": "MIT", "dependencies": { "debug": "^4.0.1", "electron-is-accelerator": "^0.1.0", @@ -5931,8 +5345,7 @@ }, "node_modules/electron-notarize": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/electron-notarize/-/electron-notarize-1.2.1.tgz", - "integrity": "sha512-u/ECWhIrhkSQpZM4cJzVZ5TsmkaqrRo5LDC/KMbGF0sPkm53Ng59+M0zp8QVaql0obfJy9vlVT+4iOkAi2UDlA==", + "license": "MIT", "dependencies": { "debug": "^4.1.1", "fs-extra": "^9.0.1" @@ -5943,8 +5356,7 @@ }, "node_modules/electron-notarize/node_modules/fs-extra": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "license": "MIT", "dependencies": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", @@ -5957,8 +5369,7 @@ }, "node_modules/electron-notarize/node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -5968,16 +5379,14 @@ }, "node_modules/electron-notarize/node_modules/universalify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "license": "MIT", "engines": { "node": ">= 10.0.0" } }, "node_modules/electron-osx-sign": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/electron-osx-sign/-/electron-osx-sign-0.5.0.tgz", - "integrity": "sha512-icoRLHzFz/qxzDh/N4Pi2z4yVHurlsCAYQvsCSG7fCedJ4UJXBS6PoQyGH71IfcqKupcKeK7HX/NkyfG+v6vlQ==", + "license": "BSD-2-Clause", "dependencies": { "bluebird": "^3.5.0", "compare-version": "^0.1.2", @@ -5996,21 +5405,18 @@ }, "node_modules/electron-osx-sign/node_modules/debug": { "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", "dependencies": { "ms": "2.0.0" } }, "node_modules/electron-osx-sign/node_modules/ms": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "license": "MIT" }, "node_modules/electron-packager": { "version": "15.2.0", - "resolved": "https://registry.npmjs.org/electron-packager/-/electron-packager-15.2.0.tgz", - "integrity": "sha512-BaklTBRQy1JTijR3hi8XxHf/uo76rHbDCNM/eQHSblzE9C0NoNfOe86nPxB7y1u2jwlqoEJ4zFiHpTFioKGGRA==", + "license": "BSD-2-Clause", "dependencies": { "@electron/get": "^1.6.0", "asar": "^3.0.0", @@ -6042,8 +5448,7 @@ }, "node_modules/electron-packager-plugin-non-proprietary-codecs-ffmpeg": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/electron-packager-plugin-non-proprietary-codecs-ffmpeg/-/electron-packager-plugin-non-proprietary-codecs-ffmpeg-1.0.2.tgz", - "integrity": "sha512-xPkbzndg2KODqmNe9yIx0dhNOfaOqrdNZ1ZSSZN4h1wT0T5SV/YES0tNyN932jQd+c5cFPv6AWYYjuPWKvcITg==", + "license": "MIT", "dependencies": { "7zip": "0.0.6", "cross-unzip": "0.0.2", @@ -6054,16 +5459,14 @@ }, "node_modules/electron-packager-plugin-non-proprietary-codecs-ffmpeg/node_modules/semver": { "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/electron-packager/node_modules/asar": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/asar/-/asar-3.1.0.tgz", - "integrity": "sha512-vyxPxP5arcAqN4F/ebHd/HhwnAiZtwhglvdmc7BR2f0ywbVNTOpSeyhLDbGXtE/y58hv1oC75TaNIXutnsOZsQ==", + "license": "MIT", "dependencies": { "chromium-pickle-js": "^0.2.0", "commander": "^5.0.0", @@ -6082,8 +5485,7 @@ }, "node_modules/electron-packager/node_modules/extract-zip": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", - "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "license": "BSD-2-Clause", "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", @@ -6101,8 +5503,7 @@ }, "node_modules/electron-packager/node_modules/fs-extra": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "license": "MIT", "dependencies": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", @@ -6115,8 +5516,7 @@ }, "node_modules/electron-packager/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==", + "license": "MIT", "dependencies": { "pump": "^3.0.0" }, @@ -6129,8 +5529,7 @@ }, "node_modules/electron-packager/node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -6140,8 +5539,7 @@ }, "node_modules/electron-packager/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -6151,34 +5549,29 @@ }, "node_modules/electron-packager/node_modules/universalify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "license": "MIT", "engines": { "node": ">= 10.0.0" } }, "node_modules/electron-packager/node_modules/yargs-parser": { "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/electron-to-chromium": { "version": "1.4.137", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.137.tgz", - "integrity": "sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==" + "license": "ISC" }, "node_modules/electron/node_modules/@types/node": { "version": "14.18.21", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.21.tgz", - "integrity": "sha512-x5W9s+8P4XteaxT/jKF0PSb7XEvo5VmqEWgsMlyeY4ZlLK8I6aH6g5TPPyDlLAep+GYf4kefb7HFyc7PAO3m+Q==" + "license": "MIT" }, "node_modules/elliptic": { "version": "6.5.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", - "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", + "license": "MIT", "dependencies": { "bn.js": "^4.4.0", "brorand": "^1.0.1", @@ -6191,31 +5584,26 @@ }, "node_modules/elliptic/node_modules/bn.js": { "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" + "license": "MIT" }, "node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "license": "MIT" }, "node_modules/encode-utf8": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz", - "integrity": "sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==" + "license": "MIT" }, "node_modules/encodeurl": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/encoding": { "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "license": "MIT", "optional": true, "dependencies": { "iconv-lite": "^0.6.2" @@ -6223,53 +5611,46 @@ }, "node_modules/end-of-stream": { "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "license": "MIT", "dependencies": { "once": "^1.4.0" } }, "node_modules/entities": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "license": "BSD-2-Clause", "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/env-paths": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/err-code": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" + "license": "MIT" }, "node_modules/error-ex": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" } }, "node_modules/error-stack-parser": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.6.tgz", - "integrity": "sha512-d51brTeqC+BHlwF0BhPtcYgF5nlzf9ZZ0ZIUQNZpc9ZB9qw5IJ2diTrBY9jlCJkTLITYPjmiX6OWCwH+fuyNgQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.1.1" } }, "node_modules/es-abstract": { "version": "1.18.0-next.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", - "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "license": "MIT", "dependencies": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -6293,8 +5674,7 @@ }, "node_modules/es-to-primitive": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -6309,48 +5689,41 @@ }, "node_modules/es6-error": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "license": "MIT", "optional": true }, "node_modules/escalade": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/escape-goat": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/escape-html": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + "license": "MIT" }, "node_modules/escape-string-regexp": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "license": "MIT", "engines": { "node": ">=0.8.0" } }, "node_modules/escaper": { "version": "2.5.3", - "resolved": "https://registry.npmjs.org/escaper/-/escaper-2.5.3.tgz", - "integrity": "sha512-QGb9sFxBVpbzMggrKTX0ry1oiI4CSDAl9vIL702hzl1jGW8VZs7qfqTRX7WDOjoNDoEVGcEtu1ZOQgReSfT2kQ==" + "license": "MIT" }, "node_modules/eslint": { "version": "8.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.16.0.tgz", - "integrity": "sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==", + "license": "MIT", "dependencies": { "@eslint/eslintrc": "^1.3.0", "@humanwhocodes/config-array": "^0.9.2", @@ -6400,8 +5773,7 @@ }, "node_modules/eslint-scope": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -6412,8 +5784,7 @@ }, "node_modules/eslint-utils": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^2.0.0" }, @@ -6429,24 +5800,21 @@ }, "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "license": "Apache-2.0", "engines": { "node": ">=10" } }, "node_modules/eslint/node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/eslint/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -6459,8 +5827,7 @@ }, "node_modules/eslint/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -6474,8 +5841,7 @@ }, "node_modules/eslint/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -6485,29 +5851,11 @@ }, "node_modules/eslint/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/eslint/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } + "license": "MIT" }, "node_modules/eslint/node_modules/escape-string-regexp": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -6517,16 +5865,14 @@ }, "node_modules/eslint/node_modules/eslint-visitor-keys": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/eslint/node_modules/glob-parent": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -6536,8 +5882,7 @@ }, "node_modules/eslint/node_modules/globals": { "version": "13.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", - "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -6550,16 +5895,14 @@ }, "node_modules/eslint/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/eslint/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -6569,8 +5912,7 @@ }, "node_modules/eslint/node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -6580,8 +5922,7 @@ }, "node_modules/eslint/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -6591,8 +5932,7 @@ }, "node_modules/eslint/node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -6602,8 +5942,7 @@ }, "node_modules/espree": { "version": "9.3.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz", - "integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==", + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.7.1", "acorn-jsx": "^5.3.2", @@ -6615,8 +5954,7 @@ }, "node_modules/espree/node_modules/acorn": { "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -6626,16 +5964,14 @@ }, "node_modules/espree/node_modules/eslint-visitor-keys": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/esquery": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -6645,8 +5981,7 @@ }, "node_modules/esrecurse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -6656,45 +5991,39 @@ }, "node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "node_modules/estree-is-member-expression": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/estree-is-member-expression/-/estree-is-member-expression-1.0.0.tgz", - "integrity": "sha512-Ec+X44CapIGExvSZN+pGkmr5p7HwUVQoPQSd458Lqwvaf4/61k/invHSh4BYK8OXnCkfEhWuIoG5hayKLQStIg==" + "license": "Apache-2.0" }, "node_modules/esutils": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/etag": { "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/events": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", - "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==", + "license": "MIT", "engines": { "node": ">=0.8.x" } }, "node_modules/evp_bytestokey": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "license": "MIT", "dependencies": { "md5.js": "^1.3.4", "safe-buffer": "^5.1.1" @@ -6702,8 +6031,7 @@ }, "node_modules/exorcist": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/exorcist/-/exorcist-2.0.0.tgz", - "integrity": "sha512-+c63SvhBq/HjmbV9cu9vkDkjXFiuI4lpqOZU5Y3t5GSV2l4TQCqVli9c7nIASHxkUL4THaOZDUcb6XNBI/eYjw==", + "license": "MIT", "dependencies": { "is-stream": "^2.0.0", "minimist": "^1.2.5", @@ -6716,8 +6044,7 @@ }, "node_modules/exorcist/node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, @@ -6727,8 +6054,7 @@ }, "node_modules/expand-template": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", - "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "license": "(MIT OR WTFPL)", "optional": true, "engines": { "node": ">=6" @@ -6736,13 +6062,11 @@ }, "node_modules/extend": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + "license": "MIT" }, "node_modules/extract-zip": { "version": "1.7.0", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", - "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", + "license": "BSD-2-Clause", "dependencies": { "concat-stream": "^1.6.2", "debug": "^2.6.9", @@ -6755,65 +6079,55 @@ }, "node_modules/extract-zip/node_modules/debug": { "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", "dependencies": { "ms": "2.0.0" } }, "node_modules/extract-zip/node_modules/ms": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "license": "MIT" }, "node_modules/extsprintf": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", "engines": [ "node >=0.6.0" - ] + ], + "license": "MIT" }, "node_modules/fast-deep-equal": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "license": "MIT" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + "license": "MIT" }, "node_modules/fast-safe-stringify": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", - "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==" + "license": "MIT" }, "node_modules/fastdom": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/fastdom/-/fastdom-1.0.10.tgz", - "integrity": "sha512-sbL4h358IlZn8VsTvA5TYnKVLYif46XhPEll+HTSxVtDSpqZEO/17D/QqlxE9V2K7AQ82GXeYeQLU2HWwKgk1A==", + "license": "MIT", "dependencies": { "strictdom": "^1.0.1" } }, "node_modules/fd-slicer": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "license": "MIT", "dependencies": { "pend": "~1.2.0" } }, "node_modules/file-entry-cache": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "license": "MIT", "dependencies": { "flat-cache": "^3.0.4" }, @@ -6823,27 +6137,23 @@ }, "node_modules/file-saver": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz", - "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==" + "license": "MIT" }, "node_modules/file-uri-to-path": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "license": "MIT", "optional": true }, "node_modules/filename-reserved-regex": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz", - "integrity": "sha1-q/c9+rc10EVECr/qLZHzieu/oik=", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/filenamify": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz", - "integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==", + "license": "MIT", "dependencies": { "filename-reserved-regex": "^2.0.0", "strip-outer": "^1.0.1", @@ -6858,8 +6168,7 @@ }, "node_modules/fill-range": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -6869,8 +6178,7 @@ }, "node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -6881,8 +6189,7 @@ }, "node_modules/flat-cache": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "license": "MIT", "dependencies": { "flatted": "^3.1.0", "rimraf": "^3.0.2" @@ -6893,8 +6200,7 @@ }, "node_modules/flat-cache/node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -6907,13 +6213,11 @@ }, "node_modules/flatted": { "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==" + "license": "ISC" }, "node_modules/flora-colossus": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/flora-colossus/-/flora-colossus-1.0.1.tgz", - "integrity": "sha512-d+9na7t9FyH8gBJoNDSi28mE4NgQVGGvxQ4aHtFRetjyh5SXjuus+V5EZaxFmFdXVemSOrx0lsgEl/ZMjnOWJA==", + "license": "MIT", "dependencies": { "debug": "^4.1.1", "fs-extra": "^7.0.0" @@ -6924,8 +6228,7 @@ }, "node_modules/flora-colossus/node_modules/fs-extra": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "jsonfile": "^4.0.0", @@ -6937,21 +6240,18 @@ }, "node_modules/foreach": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" + "license": "MIT" }, "node_modules/forever-agent": { "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "license": "Apache-2.0", "engines": { "node": "*" } }, "node_modules/form-data": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", @@ -6963,22 +6263,19 @@ }, "node_modules/fresh": { "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/fs-constants": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "license": "MIT", "optional": true }, "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==", + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", @@ -6990,8 +6287,7 @@ }, "node_modules/fs-minipass": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -7001,23 +6297,19 @@ }, "node_modules/fs.realpath": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "license": "ISC" }, "node_modules/function-bind": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "license": "MIT" }, "node_modules/functional-red-black-tree": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" + "license": "MIT" }, "node_modules/galactus": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/galactus/-/galactus-0.2.1.tgz", - "integrity": "sha1-y+0tIKQMH1Z5o1kI4rlBVzPnjbk=", + "license": "MIT", "dependencies": { "debug": "^3.1.0", "flora-colossus": "^1.0.0", @@ -7026,16 +6318,14 @@ }, "node_modules/galactus/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/galactus/node_modules/fs-extra": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "jsonfile": "^4.0.0", @@ -7044,14 +6334,12 @@ }, "node_modules/gar": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/gar/-/gar-1.0.4.tgz", - "integrity": "sha512-w4n9cPWyP7aHxKxYHFQMegj7WIAsL/YX/C4Bs5Rr8s1H9M1rNtRWRsw+ovYMkXDQ5S4ZbYHsHAPmevPjPgw44w==", + "license": "MIT", "optional": true }, "node_modules/gauge": { "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "license": "ISC", "optional": true, "dependencies": { "aproba": "^1.0.3", @@ -7066,8 +6354,7 @@ }, "node_modules/gauge/node_modules/ansi-regex": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "license": "MIT", "optional": true, "engines": { "node": ">=0.10.0" @@ -7075,8 +6362,7 @@ }, "node_modules/gauge/node_modules/is-fullwidth-code-point": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "license": "MIT", "optional": true, "dependencies": { "number-is-nan": "^1.0.0" @@ -7087,8 +6373,7 @@ }, "node_modules/gauge/node_modules/string-width": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "license": "MIT", "optional": true, "dependencies": { "code-point-at": "^1.0.0", @@ -7101,8 +6386,7 @@ }, "node_modules/gauge/node_modules/strip-ansi": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "license": "MIT", "optional": true, "dependencies": { "ansi-regex": "^2.0.0" @@ -7113,8 +6397,7 @@ }, "node_modules/gaze": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", - "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "license": "MIT", "dependencies": { "globule": "^1.0.0" }, @@ -7124,29 +6407,25 @@ }, "node_modules/gensync": { "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/get-assigned-identifiers": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", - "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==" + "license": "Apache-2.0" }, "node_modules/get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } }, "node_modules/get-folder-size": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/get-folder-size/-/get-folder-size-2.0.1.tgz", - "integrity": "sha512-+CEb+GDCM7tkOS2wdMKTn9vU7DgnKUTuDlehkNJKNSovdCOVxs14OfKCk4cvSaR3za4gj+OBdl9opPN9xrJ0zA==", + "license": "MIT", "optional": true, "dependencies": { "gar": "^1.0.4", @@ -7158,8 +6437,7 @@ }, "node_modules/get-intrinsic": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", - "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -7171,8 +6449,7 @@ }, "node_modules/get-package-info": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-package-info/-/get-package-info-1.0.0.tgz", - "integrity": "sha1-ZDJ5ZWPigRPNlHTbvQAFKYWkmZw=", + "license": "MIT", "dependencies": { "bluebird": "^3.1.1", "debug": "^2.2.0", @@ -7185,29 +6462,25 @@ }, "node_modules/get-package-info/node_modules/debug": { "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", "dependencies": { "ms": "2.0.0" } }, "node_modules/get-package-info/node_modules/ms": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "license": "MIT" }, "node_modules/get-stdin": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/get-stream": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "license": "MIT", "dependencies": { "pump": "^3.0.0" }, @@ -7217,22 +6490,19 @@ }, "node_modules/getpass": { "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "license": "MIT", "dependencies": { "assert-plus": "^1.0.0" } }, "node_modules/github-from-package": { "version": "0.0.0", - "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=", + "license": "MIT", "optional": true }, "node_modules/glob": { "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -7250,8 +6520,7 @@ }, "node_modules/glob-parent": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -7261,8 +6530,7 @@ }, "node_modules/glob/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -7272,8 +6540,7 @@ }, "node_modules/global-agent": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.2.0.tgz", - "integrity": "sha512-+20KpaW6DDLqhG7JDiJpD1JvNvb8ts+TNl7BPOYcURqCrXqnN1Vf+XVOrkKJAFPqfX+oEhsdzOj1hLWkBTdNJg==", + "license": "BSD-3-Clause", "optional": true, "dependencies": { "boolean": "^3.0.1", @@ -7290,8 +6557,7 @@ }, "node_modules/global-dirs": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", - "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", + "license": "MIT", "dependencies": { "ini": "2.0.0" }, @@ -7304,16 +6570,14 @@ }, "node_modules/global-dirs/node_modules/ini": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", - "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/global-tunnel-ng": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz", - "integrity": "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg==", + "license": "BSD-3-Clause", "optional": true, "dependencies": { "encodeurl": "^1.0.2", @@ -7327,16 +6591,14 @@ }, "node_modules/globals": { "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/globalthis": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.2.tgz", - "integrity": "sha512-ZQnSFO1la8P7auIOQECnm0sSuoMeaSq0EEdXMBFF2QJO4uNcwbyhSgG3MruWNbFTqCLmxVwGOl7LZ9kASvHdeQ==", + "license": "MIT", "optional": true, "dependencies": { "define-properties": "^1.1.3" @@ -7350,8 +6612,7 @@ }, "node_modules/globule": { "version": "1.3.3", - "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.3.tgz", - "integrity": "sha512-mb1aYtDbIjTu4ShMB85m3UzjX9BVKe9WCzsnfMSZk+K5GpIbBOexgg4PPCt5eHDEG5/ZQAUX2Kct02zfiPLsKg==", + "license": "MIT", "dependencies": { "glob": "~7.1.1", "lodash": "~4.17.10", @@ -7363,8 +6624,7 @@ }, "node_modules/globule/node_modules/minimatch": { "version": "3.0.8", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.8.tgz", - "integrity": "sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -7374,8 +6634,7 @@ }, "node_modules/got": { "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "license": "MIT", "dependencies": { "@sindresorhus/is": "^0.14.0", "@szmarczak/http-timer": "^1.1.2", @@ -7395,27 +6654,22 @@ }, "node_modules/graceful-fs": { "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" + "license": "ISC" }, "node_modules/gyronorm": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/gyronorm/-/gyronorm-2.0.6.tgz", - "integrity": "sha1-w9vKoBCQh/6nU3j3hTi+/c1TzuI=" + "license": "MIT" }, "node_modules/har-schema": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "license": "ISC", "engines": { "node": ">=4" } }, "node_modules/har-validator": { "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "deprecated": "this library is no longer supported", + "license": "MIT", "dependencies": { "ajv": "^6.12.3", "har-schema": "^2.0.0" @@ -7426,16 +6680,14 @@ }, "node_modules/hard-rejection": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/has": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1" }, @@ -7445,8 +6697,7 @@ }, "node_modules/has-ansi": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "license": "MIT", "dependencies": { "ansi-regex": "^2.0.0" }, @@ -7456,24 +6707,21 @@ }, "node_modules/has-ansi/node_modules/ansi-regex": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/has-symbols": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -7483,21 +6731,18 @@ }, "node_modules/has-unicode": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" + "license": "ISC" }, "node_modules/has-yarn": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", - "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/hash-base": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.4", "readable-stream": "^3.6.0", @@ -7509,8 +6754,7 @@ }, "node_modules/hash-base/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -7522,8 +6766,6 @@ }, "node_modules/hash-base/node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", @@ -7537,12 +6779,12 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/hash.js": { "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "minimalistic-assert": "^1.0.1" @@ -7550,8 +6792,7 @@ }, "node_modules/hmac-drbg": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "license": "MIT", "dependencies": { "hash.js": "^1.0.3", "minimalistic-assert": "^1.0.0", @@ -7560,21 +6801,18 @@ }, "node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + "license": "ISC" }, "node_modules/htmlescape": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz", - "integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=", + "license": "MIT", "engines": { "node": ">=0.10" } }, "node_modules/htmlparser2": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz", - "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==", + "license": "MIT", "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^3.0.0", @@ -7584,8 +6822,7 @@ }, "node_modules/http-auth": { "version": "4.1.9", - "resolved": "https://registry.npmjs.org/http-auth/-/http-auth-4.1.9.tgz", - "integrity": "sha512-kvPYxNGc9EKGTXvOMnTBQw2RZfuiSihK/mLw/a4pbtRueTE45S55Lw/3k5CktIf7Ak0veMKEIteDj4YkNmCzmQ==", + "license": "MIT", "dependencies": { "apache-crypt": "^1.1.2", "apache-md5": "^1.0.6", @@ -7598,21 +6835,18 @@ }, "node_modules/http-auth/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/http-cache-semantics": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + "license": "BSD-2-Clause" }, "node_modules/http-errors": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -7626,16 +6860,14 @@ }, "node_modules/http-errors/node_modules/depd": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/http-proxy-agent": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "license": "MIT", "dependencies": { "@tootallnate/once": "1", "agent-base": "6", @@ -7647,8 +6879,7 @@ }, "node_modules/http-signature": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "license": "MIT", "dependencies": { "assert-plus": "^1.0.0", "jsprim": "^1.2.2", @@ -7661,13 +6892,11 @@ }, "node_modules/https-browserify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" + "license": "MIT" }, "node_modules/https-proxy-agent": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -7678,29 +6907,25 @@ }, "node_modules/humanize-ms": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", + "license": "MIT", "dependencies": { "ms": "^2.0.0" } }, "node_modules/hyperscript-attribute-to-property": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/hyperscript-attribute-to-property/-/hyperscript-attribute-to-property-1.0.2.tgz", - "integrity": "sha512-oerMul16jZCmrbNsUw8QgrtDzF8lKgFri1bKQjReLw1IhiiNkI59CWuzZjJDGT79UQ1YiWqXhJMv/tRMVqgtkA==" + "license": "MIT" }, "node_modules/hyperx": { "version": "2.5.4", - "resolved": "https://registry.npmjs.org/hyperx/-/hyperx-2.5.4.tgz", - "integrity": "sha512-iOkSh7Yse7lsN/B9y7OsevLWjeXPqGuHQ5SbwaiJM5xAhWFqhoN6erpK1dQsS12OFU36lyai1pnx1mmzWLQqcA==", + "license": "BSD", "dependencies": { "hyperscript-attribute-to-property": "^1.0.0" } }, "node_modules/iconv-lite": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "license": "MIT", "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -7711,8 +6936,6 @@ }, "node_modules/ieee754": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "funding": [ { "type": "github", @@ -7726,25 +6949,23 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "BSD-3-Clause" }, "node_modules/ignore": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "license": "MIT", "engines": { "node": ">= 4" } }, "node_modules/ignore-by-default": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", - "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=" + "license": "ISC" }, "node_modules/import-fresh": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -7758,37 +6979,32 @@ }, "node_modules/import-lazy": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", - "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/imurmurhash": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "license": "MIT", "engines": { "node": ">=0.8.19" } }, "node_modules/indent-string": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/infer-owner": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" + "license": "ISC" }, "node_modules/inflight": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -7796,26 +7012,22 @@ }, "node_modules/inherits": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "license": "ISC" }, "node_modules/ini": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + "license": "ISC" }, "node_modules/inline-source-map": { "version": "0.6.2", - "resolved": "https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz", - "integrity": "sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=", + "license": "MIT", "dependencies": { "source-map": "~0.5.3" } }, "node_modules/insert-module-globals": { "version": "7.2.1", - "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.1.tgz", - "integrity": "sha512-ufS5Qq9RZN+Bu899eA9QCAYThY+gGW7oRkmb0vC93Vlyu/CFGcH0OYPEjVkDXA5FEbTt1+VWzdoOD3Ny9N+8tg==", + "license": "MIT", "dependencies": { "acorn-node": "^1.5.2", "combine-source-map": "^0.8.0", @@ -7834,26 +7046,22 @@ }, "node_modules/ip": { "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=" + "license": "MIT" }, "node_modules/is-arguments": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", - "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==", + "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/is-arrayish": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + "license": "MIT" }, "node_modules/is-binary-path": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "license": "MIT", "dependencies": { "binary-extensions": "^2.0.0" }, @@ -7863,18 +7071,15 @@ }, "node_modules/is-boolean-attribute": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/is-boolean-attribute/-/is-boolean-attribute-0.0.1.tgz", - "integrity": "sha1-JKtZt9y52jYSx3PmDGVlZeWgmAw=" + "license": "MIT" }, "node_modules/is-buffer": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + "license": "MIT" }, "node_modules/is-callable": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", - "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -7884,8 +7089,7 @@ }, "node_modules/is-ci": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "license": "MIT", "dependencies": { "ci-info": "^2.0.0" }, @@ -7895,8 +7099,7 @@ }, "node_modules/is-core-module": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz", - "integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==", + "license": "MIT", "dependencies": { "has": "^1.0.3" }, @@ -7906,8 +7109,7 @@ }, "node_modules/is-date-object": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -7917,8 +7119,7 @@ }, "node_modules/is-docker": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "license": "MIT", "bin": { "is-docker": "cli.js" }, @@ -7931,24 +7132,21 @@ }, "node_modules/is-extglob": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-generator-function": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.8.tgz", - "integrity": "sha512-2Omr/twNtufVZFr1GhxjOMFPAj2sjc/dKaIqBhvo4qciXfJmITGH6ZGd8eZYNHza8t1y0e01AuqRhJwfWp26WQ==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -7958,8 +7156,7 @@ }, "node_modules/is-glob": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -7969,8 +7166,7 @@ }, "node_modules/is-installed-globally": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", - "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", + "license": "MIT", "dependencies": { "global-dirs": "^3.0.0", "is-path-inside": "^3.0.2" @@ -7984,21 +7180,18 @@ }, "node_modules/is-lambda": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=" + "license": "MIT" }, "node_modules/is-negative-zero": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", - "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=", + "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/is-npm": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", - "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -8008,40 +7201,35 @@ }, "node_modules/is-number": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", "engines": { "node": ">=0.12.0" } }, "node_modules/is-obj": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-path-inside": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-plain-obj": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-regex": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", - "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.1" }, @@ -8054,24 +7242,21 @@ }, "node_modules/is-regexp": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-symbol": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.1" }, @@ -8084,8 +7269,7 @@ }, "node_modules/is-typed-array": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.4.tgz", - "integrity": "sha512-ILaRgn4zaSrVNXNGtON6iFNotXW3hAPF3+0fB1usg2jFlWqo5fEDdmJkz0zBfoi7Dgskr8Khi2xZ8cXqZEfXNA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.2", "call-bind": "^1.0.0", @@ -8102,13 +7286,11 @@ }, "node_modules/is-typedarray": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + "license": "MIT" }, "node_modules/is-wsl": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "license": "MIT", "dependencies": { "is-docker": "^2.0.0" }, @@ -8118,18 +7300,15 @@ }, "node_modules/is-yarn-global": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", - "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" + "license": "MIT" }, "node_modules/isarray": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "license": "MIT" }, "node_modules/isbinaryfile": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", - "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", + "license": "MIT", "dependencies": { "buffer-alloc": "^1.2.0" }, @@ -8139,13 +7318,11 @@ }, "node_modules/isexe": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + "license": "ISC" }, "node_modules/isstream": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + "license": "MIT" }, "node_modules/js-base64": { "version": "2.6.4", @@ -8154,13 +7331,11 @@ }, "node_modules/js-tokens": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "license": "MIT" }, "node_modules/js-yaml": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -8170,13 +7345,11 @@ }, "node_modules/jsbn": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + "license": "MIT" }, "node_modules/jsesc": { "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -8186,38 +7359,30 @@ }, "node_modules/json-buffer": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" + "license": "MIT" }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "license": "MIT" }, "node_modules/json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + "version": "0.2.3" }, "node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=" + "license": "MIT" }, "node_modules/json-stringify-safe": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + "license": "ISC" }, "node_modules/json5": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -8227,8 +7392,7 @@ }, "node_modules/jsondiffpatch": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/jsondiffpatch/-/jsondiffpatch-0.4.1.tgz", - "integrity": "sha512-t0etAxTUk1w5MYdNOkZBZ8rvYYN5iL+2dHCCx/DpkFm/bW28M6y5nUS83D4XdZiHy35Fpaw6LBb+F88fHZnVCw==", + "license": "MIT", "dependencies": { "chalk": "^2.3.0", "diff-match-patch": "^1.0.0" @@ -8242,8 +7406,7 @@ }, "node_modules/jsondiffpatch/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -8255,24 +7418,21 @@ }, "node_modules/jsonfile": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "license": "MIT", "optionalDependencies": { "graceful-fs": "^4.1.6" } }, "node_modules/jsonparse": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", "engines": [ "node >= 0.2.0" - ] + ], + "license": "MIT" }, "node_modules/JSONStream": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "license": "(MIT OR Apache-2.0)", "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" @@ -8286,11 +7446,10 @@ }, "node_modules/jsprim": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", "engines": [ "node >=0.6.0" ], + "license": "MIT", "dependencies": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", @@ -8300,47 +7459,40 @@ }, "node_modules/junk": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz", - "integrity": "sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/keyboardevent-from-electron-accelerator": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/keyboardevent-from-electron-accelerator/-/keyboardevent-from-electron-accelerator-2.0.0.tgz", - "integrity": "sha512-iQcmNA0M4ETMNi0kG/q0h/43wZk7rMeKYrXP7sqKIJbHkTU8Koowgzv+ieR/vWJbOwxx5nDC3UnudZ0aLSu4VA==" + "license": "MIT" }, "node_modules/keyboardevents-areequal": { "version": "0.2.2", - "resolved": "https://registry.npmjs.org/keyboardevents-areequal/-/keyboardevents-areequal-0.2.2.tgz", - "integrity": "sha512-Nv+Kr33T0mEjxR500q+I6IWisOQ0lK1GGOncV0kWE6n4KFmpcu7RUX5/2B0EUtX51Cb0HjZ9VJsSY3u4cBa0kw==" + "license": "MIT" }, "node_modules/keyboardjs": { "version": "2.6.4", - "resolved": "https://registry.npmjs.org/keyboardjs/-/keyboardjs-2.6.4.tgz", - "integrity": "sha512-xDiNwiwH3KUqap++RFJiLAXzbvRB5Yw08xliuceOgLhM1o7g1puKKR9vWy6wp9H/Bi4VP0+SQMpiWXMWWmR6rA==" + "license": "MIT" }, "node_modules/keyv": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "license": "MIT", "dependencies": { "json-buffer": "3.0.0" } }, "node_modules/kind-of": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/labeled-stream-splicer": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz", - "integrity": "sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==", + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "stream-splicer": "^2.0.0" @@ -8348,8 +7500,7 @@ }, "node_modules/latest-version": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", - "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", + "license": "MIT", "dependencies": { "package-json": "^6.3.0" }, @@ -8359,8 +7510,7 @@ }, "node_modules/levn": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -8371,8 +7521,7 @@ }, "node_modules/licensify": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/licensify/-/licensify-3.1.3.tgz", - "integrity": "sha1-4YsZ47KC7GnsZ4DMiBZyHVt2MrE=", + "license": "MIT", "dependencies": { "convert-source-map": "^1.1.3", "offset-sourcemap-lines": "^1.0.0", @@ -8383,13 +7532,11 @@ }, "node_modules/lines-and-columns": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "license": "MIT" }, "node_modules/load-json-file": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^2.2.0", @@ -8402,16 +7549,14 @@ }, "node_modules/load-json-file/node_modules/pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -8421,56 +7566,46 @@ }, "node_modules/lodash": { "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + "license": "MIT" }, "node_modules/lodash.debounce": { "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" + "license": "MIT" }, "node_modules/lodash.get": { "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" + "license": "MIT" }, "node_modules/lodash.memoize": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz", - "integrity": "sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=" + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + "license": "MIT" }, "node_modules/long": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + "license": "Apache-2.0" }, "node_modules/loop-protect": { "version": "1.0.1", - "resolved": "git+ssh://git@github.com/jean-emmanuel/loop-protect.git#335856f37ee4a805704bfcd1d7429ab94620bf6d", - "integrity": "sha512-ve7PwpxagW4B9N5tGSHzwwyLpSuHsa9v72IIl57w8klSI4QPL7G/m49l5Si8jE1zRcF2Tp1k8alvKZ2actsi6g==" + "resolved": "git+ssh://git@github.com/jean-emmanuel/loop-protect.git#335856f37ee4a805704bfcd1d7429ab94620bf6d" }, "node_modules/lower-case": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", - "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=" + "license": "MIT" }, "node_modules/lowercase-keys": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -8480,16 +7615,14 @@ }, "node_modules/magic-string": { "version": "0.23.2", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.23.2.tgz", - "integrity": "sha512-oIUZaAxbcxYIp4AyLafV6OVKoB3YouZs0UTCJ8mOKBHNyJgGDaMJ4TgA+VylJh6fx7EQCC52XkbURxxG9IoJXA==", + "license": "MIT", "dependencies": { "sourcemap-codec": "^1.4.1" } }, "node_modules/make-dir": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "license": "MIT", "dependencies": { "semver": "^6.0.0" }, @@ -8502,16 +7635,14 @@ }, "node_modules/make-dir/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/make-fetch-happen": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", - "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "license": "ISC", "dependencies": { "agentkeepalive": "^4.1.3", "cacache": "^15.2.0", @@ -8536,8 +7667,7 @@ }, "node_modules/map-obj": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "license": "MIT", "engines": { "node": ">=8" }, @@ -8547,8 +7677,7 @@ }, "node_modules/matcher": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz", - "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==", + "license": "MIT", "optional": true, "dependencies": { "escape-string-regexp": "^4.0.0" @@ -8559,8 +7688,7 @@ }, "node_modules/matcher/node_modules/escape-string-regexp": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", "optional": true, "engines": { "node": ">=10" @@ -8571,8 +7699,7 @@ }, "node_modules/md5.js": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "license": "MIT", "dependencies": { "hash-base": "^3.0.0", "inherits": "^2.0.1", @@ -8581,8 +7708,7 @@ }, "node_modules/meow": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", - "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -8606,8 +7732,7 @@ }, "node_modules/meow/node_modules/hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -8617,8 +7742,7 @@ }, "node_modules/meow/node_modules/is-core-module": { "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "license": "MIT", "dependencies": { "has": "^1.0.3" }, @@ -8628,8 +7752,7 @@ }, "node_modules/meow/node_modules/normalize-package-data": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", @@ -8642,8 +7765,7 @@ }, "node_modules/meow/node_modules/parse-json": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -8659,8 +7781,7 @@ }, "node_modules/meow/node_modules/read-pkg": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "license": "MIT", "dependencies": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", @@ -8673,8 +7794,7 @@ }, "node_modules/meow/node_modules/read-pkg-up": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "license": "MIT", "dependencies": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", @@ -8689,21 +7809,18 @@ }, "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/read-pkg/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + "license": "ISC" }, "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -8713,24 +7830,21 @@ }, "node_modules/meow/node_modules/read-pkg/node_modules/semver": { "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/meow/node_modules/type-fest": { "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -8740,24 +7854,21 @@ }, "node_modules/meow/node_modules/yargs-parser": { "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/merge-source-map": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz", - "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=", + "license": "MIT", "dependencies": { "source-map": "^0.5.6" } }, "node_modules/miller-rabin": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "license": "MIT", "dependencies": { "bn.js": "^4.0.0", "brorand": "^1.0.1" @@ -8768,13 +7879,11 @@ }, "node_modules/miller-rabin/node_modules/bn.js": { "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" + "license": "MIT" }, "node_modules/mime": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -8784,16 +7893,14 @@ }, "node_modules/mime-db": { "version": "1.44.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", - "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { "version": "2.1.27", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", - "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "license": "MIT", "dependencies": { "mime-db": "1.44.0" }, @@ -8803,34 +7910,29 @@ }, "node_modules/mimic-response": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/min-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/minimalistic-assert": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + "license": "ISC" }, "node_modules/minimalistic-crypto-utils": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + "license": "MIT" }, "node_modules/minimatch": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -8840,26 +7942,22 @@ }, "node_modules/minimatch/node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "license": "MIT" }, "node_modules/minimatch/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/minimist": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "license": "MIT" }, "node_modules/minimist-options": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", @@ -8871,8 +7969,7 @@ }, "node_modules/minipass": { "version": "3.1.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", - "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -8882,8 +7979,7 @@ }, "node_modules/minipass-collect": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -8893,8 +7989,7 @@ }, "node_modules/minipass-fetch": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", - "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", + "license": "MIT", "dependencies": { "minipass": "^3.1.0", "minipass-sized": "^1.0.3", @@ -8909,8 +8004,7 @@ }, "node_modules/minipass-flush": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -8920,8 +8014,7 @@ }, "node_modules/minipass-pipeline": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -8931,8 +8024,7 @@ }, "node_modules/minipass-sized": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -8942,8 +8034,7 @@ }, "node_modules/minizlib": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "license": "MIT", "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" @@ -8954,8 +8045,7 @@ }, "node_modules/mkdirp": { "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "license": "MIT", "dependencies": { "minimist": "^1.2.5" }, @@ -8965,13 +8055,11 @@ }, "node_modules/mkdirp-classic": { "version": "0.5.3", - "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", - "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" + "license": "MIT" }, "node_modules/module-deps": { "version": "6.2.3", - "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.3.tgz", - "integrity": "sha512-fg7OZaQBcL4/L+AK5f4iVqf9OMbCclXfy/znXRxTVhJSeW5AIlS9AwheYwDaXM3lVW7OBeaeUEY3gbaC6cLlSA==", + "license": "MIT", "dependencies": { "browser-resolve": "^2.0.0", "cached-path-relative": "^1.0.2", @@ -8998,8 +8086,7 @@ }, "node_modules/mold-source-map": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/mold-source-map/-/mold-source-map-0.4.0.tgz", - "integrity": "sha1-z2fgsxxHq5uttcnCVlGGISe7gxc=", + "license": "MIT", "dependencies": { "convert-source-map": "^1.1.0", "through": "~2.2.7" @@ -9007,19 +8094,15 @@ }, "node_modules/mold-source-map/node_modules/through": { "version": "2.2.7", - "resolved": "https://registry.npmjs.org/through/-/through-2.2.7.tgz", - "integrity": "sha1-bo4hIAGR1OtqmfbwEN9Gqhxusr0=" + "license": "MIT" }, "node_modules/ms": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "license": "MIT" }, "node_modules/multicast-dns": { "version": "7.2.1", "resolved": "git+ssh://git@github.com/jean-emmanuel/multicast-dns.git#1bb9f6ba892eba88f2cb12ca96a1c1b3088413c0", - "integrity": "sha512-vRF71KtrpJ77SYytPmnsV4JR4pjDoMCq5bBpMe7qLbqpxlgIg+SEVP1OYi7CfOCrb/fOvvVNko9crwL+uh0UUA==", - "license": "MIT", "dependencies": { "dns-packet": "^1.3.1", "thunky": "^1.0.2" @@ -9030,31 +8113,27 @@ }, "node_modules/multicast-dns-service-types": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", - "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=" + "license": "MIT" }, "node_modules/mutexify": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/mutexify/-/mutexify-1.4.0.tgz", - "integrity": "sha512-pbYSsOrSB/AKN5h/WzzLRMFgZhClWccf2XIB4RSMC8JbquiB0e0/SH5AIfdQMdyHmYtv4seU7yV/TvAwPLJ1Yg==", + "license": "MIT", "dependencies": { "queue-tick": "^1.0.0" } }, "node_modules/nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==" + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz", + "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==" }, "node_modules/nanoassert": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-1.1.0.tgz", - "integrity": "sha1-TzFS4JVA/eKMdvRLGbvNHVpCR40=" + "license": "ISC" }, "node_modules/nanobench": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nanobench/-/nanobench-2.1.1.tgz", - "integrity": "sha512-z+Vv7zElcjN+OpzAxAquUayFLGK3JI/ubCl0Oh64YQqsTGG09CGqieJVQw4ui8huDnnAgrvTv93qi5UaOoNj8A==", + "license": "MIT", "dependencies": { "browser-process-hrtime": "^0.1.2", "chalk": "^1.1.3", @@ -9068,24 +8147,21 @@ }, "node_modules/nanobench/node_modules/ansi-regex": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/nanobench/node_modules/ansi-styles": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/nanobench/node_modules/chalk": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", + "license": "MIT", "dependencies": { "ansi-styles": "^2.2.1", "escape-string-regexp": "^1.0.2", @@ -9099,8 +8175,7 @@ }, "node_modules/nanobench/node_modules/strip-ansi": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "license": "MIT", "dependencies": { "ansi-regex": "^2.0.0" }, @@ -9110,16 +8185,14 @@ }, "node_modules/nanobench/node_modules/supports-color": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "license": "MIT", "engines": { "node": ">=0.8.0" } }, "node_modules/nanohtml": { "version": "1.10.0", - "resolved": "https://registry.npmjs.org/nanohtml/-/nanohtml-1.10.0.tgz", - "integrity": "sha512-r/3AQl+jxAxUIJRiKExUjBtFcE1cm4yTOsTIdVqqlxPNtBxJh522ANrcQYzdNHhPzbPgb7j6qujq6eGehBX0kg==", + "license": "MIT", "dependencies": { "acorn-node": "^1.8.2", "camel-case": "^3.0.0", @@ -9136,8 +8209,7 @@ }, "node_modules/nanoid": { "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -9147,43 +8219,37 @@ }, "node_modules/nanomorph": { "version": "5.4.3", - "resolved": "https://registry.npmjs.org/nanomorph/-/nanomorph-5.4.3.tgz", - "integrity": "sha512-uPP5y0x21KISffZCKHh1A0QW0RHZFQS0BR7LetlHBlay6UWAbjwhjiJTxOO6JeMHko5Cigl617zFoGrYFJ8ZLg==", + "license": "MIT", "dependencies": { "nanoassert": "^1.1.0" } }, "node_modules/napi-build-utils": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", + "license": "MIT", "optional": true }, "node_modules/natural-compare": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" + "license": "MIT" }, "node_modules/negotiator": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/no-case": { "version": "2.3.2", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", - "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", + "license": "MIT", "dependencies": { "lower-case": "^1.1.1" } }, "node_modules/node-abi": { "version": "3.8.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.8.0.tgz", - "integrity": "sha512-tzua9qWWi7iW4I42vUPKM+SfaF0vQSLAm4yO5J83mSwB7GeoWrDKC/K+8YCnYNwqP5duwazbw2X9l4m8SC2cUw==", + "license": "MIT", "optional": true, "dependencies": { "semver": "^7.3.5" @@ -9194,16 +8260,14 @@ }, "node_modules/node-forge": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "license": "(BSD-3-Clause OR GPL-2.0)", "engines": { "node": ">= 6.13.0" } }, "node_modules/node-gyp": { "version": "8.4.1", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", - "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==", + "license": "MIT", "dependencies": { "env-paths": "^2.2.0", "glob": "^7.1.4", @@ -9225,16 +8289,14 @@ }, "node_modules/node-gyp/node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/node-gyp/node_modules/are-we-there-yet": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.0.tgz", - "integrity": "sha512-0GWpv50YSOcLXaN6/FAKY3vfRbllXWV2xvfA/oKJF8pzFhWXPV+yjhJXDBbjscDYowv7Yw1A3uigpzn5iEGTyw==", + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -9245,8 +8307,7 @@ }, "node_modules/node-gyp/node_modules/gauge": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", @@ -9263,13 +8324,11 @@ }, "node_modules/node-gyp/node_modules/graceful-fs": { "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "license": "ISC" }, "node_modules/node-gyp/node_modules/npmlog": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", + "license": "ISC", "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", @@ -9282,8 +8341,7 @@ }, "node_modules/node-gyp/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -9295,8 +8353,7 @@ }, "node_modules/node-gyp/node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -9309,13 +8366,11 @@ }, "node_modules/node-gyp/node_modules/signal-exit": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "license": "ISC" }, "node_modules/node-gyp/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -9327,8 +8382,7 @@ }, "node_modules/node-gyp/node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -9338,26 +8392,23 @@ }, "node_modules/node-gyp/node_modules/wide-align": { "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "license": "ISC", "dependencies": { "string-width": "^1.0.2 || 2 || 3 || 4" } }, "node_modules/node-mouse": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/node-mouse/-/node-mouse-0.0.2.tgz", - "integrity": "sha1-kpdDHNMBnaZ9h4B3wFTL8DAZUoo=" + "license": "MIT" }, "node_modules/node-releases": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz", - "integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==" + "license": "MIT" }, "node_modules/node-sass": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-7.0.1.tgz", - "integrity": "sha512-uMy+Xt29NlqKCFdFRZyXKOTqGt+QaKHexv9STj2WeLottnlqZEEWx6Bj0MXNthmFRRdM/YwyNo/8Tr46TOM0jQ==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-9.0.0.tgz", + "integrity": "sha512-yltEuuLrfH6M7Pq2gAj5B6Zm7m+gdZoG66wTqG6mIZV/zijq3M2OO2HswtT6oBspPyFhHDcaxWpsBm0fRNDHPg==", "hasInstallScript": true, "dependencies": { "async-foreach": "^0.1.3", @@ -9367,34 +8418,57 @@ "get-stdin": "^4.0.1", "glob": "^7.0.3", "lodash": "^4.17.15", + "make-fetch-happen": "^10.0.4", "meow": "^9.0.0", - "nan": "^2.13.2", + "nan": "^2.17.0", "node-gyp": "^8.4.1", - "npmlog": "^5.0.0", - "request": "^2.88.0", - "sass-graph": "4.0.0", + "sass-graph": "^4.0.1", "stdout-stream": "^1.4.0", - "true-case-path": "^1.0.2" + "true-case-path": "^2.2.1" }, "bin": { "node-sass": "bin/node-sass" }, "engines": { - "node": ">=12" + "node": ">=16" } }, - "node_modules/node-sass/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/node-sass/node_modules/@npmcli/fs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", + "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", + "dependencies": { + "@gar/promisify": "^1.1.3", + "semver": "^7.3.5" + }, "engines": { - "node": ">=8" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-sass/node_modules/@npmcli/move-file": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", + "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", + "deprecated": "This functionality has been moved to @npmcli/fs", + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-sass/node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "engines": { + "node": ">= 10" } }, "node_modules/node-sass/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -9405,22 +8479,55 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/node-sass/node_modules/are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "node_modules/node-sass/node_modules/cacache": { + "version": "16.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", + "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" + "@npmcli/fs": "^2.1.0", + "@npmcli/move-file": "^2.0.0", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "glob": "^8.0.1", + "infer-owner": "^1.0.4", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "mkdirp": "^1.0.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^9.0.0", + "tar": "^6.1.11", + "unique-filename": "^2.0.0" }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-sass/node_modules/cacache/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/node-sass/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -9434,8 +8541,7 @@ }, "node_modules/node-sass/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -9445,88 +8551,130 @@ }, "node_modules/node-sass/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/node-sass/node_modules/gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - }, - "engines": { - "node": ">=10" - } + "license": "MIT" }, "node_modules/node-sass/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/node-sass/node_modules/npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", + "node_modules/node-sass/node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "dependencies": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, - "node_modules/node-sass/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" }, "engines": { "node": ">= 6" } }, - "node_modules/node-sass/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, + "node_modules/node-sass/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "engines": { - "node": ">=8" + "node": ">=12" } }, - "node_modules/node-sass/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/node-sass/node_modules/make-fetch-happen": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", + "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", "dependencies": { - "ansi-regex": "^5.0.1" + "agentkeepalive": "^4.2.1", + "cacache": "^16.1.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^2.0.3", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^9.0.0" }, "engines": { - "node": ">=8" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-sass/node_modules/minipass-fetch": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", + "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", + "dependencies": { + "minipass": "^3.1.6", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/node-sass/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-sass/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-sass/node_modules/socks-proxy-agent": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", + "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.3", + "socks": "^2.6.2" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/node-sass/node_modules/ssri": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", + "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/node-sass/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -9534,11 +8682,32 @@ "node": ">=8" } }, + "node_modules/node-sass/node_modules/unique-filename": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", + "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", + "dependencies": { + "unique-slug": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/node-sass/node_modules/unique-slug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", + "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, "node_modules/nodemon": { "version": "2.0.16", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.16.tgz", - "integrity": "sha512-zsrcaOfTWRuUzBn3P44RDliLlp263Z/76FPoHFr3cFFkOz0lTPAcIw8dCzfdVIx/t3AtDYCZRCDkoCojJqaG3w==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "chokidar": "^3.5.2", "debug": "^3.2.7", @@ -9564,16 +8733,14 @@ }, "node_modules/nodemon/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/nodemon/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -9583,16 +8750,14 @@ }, "node_modules/nodemon/node_modules/semver": { "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/nopt": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "license": "ISC", "dependencies": { "abbrev": "1" }, @@ -9605,16 +8770,14 @@ }, "node_modules/normalize-html-whitespace": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/normalize-html-whitespace/-/normalize-html-whitespace-0.2.0.tgz", - "integrity": "sha1-EBci9kI1Ucdc24+dEE/4UNrx4Q4=", + "license": "MIT", "engines": { "node": ">= 0.10" } }, "node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -9624,37 +8787,32 @@ }, "node_modules/normalize-package-data/node_modules/semver": { "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/normalize-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/normalize-url": { "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/nosleep.js": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/nosleep.js/-/nosleep.js-0.12.0.tgz", - "integrity": "sha512-9d1HbpKLh3sdWlhXMhU6MMH+wQzKkrgfRkYV0EBdvt99YJfj0ilCJrWRDYG2130Tm4GXbEoTCx5b34JSaP+HhA==" + "license": "MIT" }, "node_modules/npm-conf": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz", - "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==", + "license": "MIT", "optional": true, "dependencies": { "config-chain": "^1.1.11", @@ -9666,8 +8824,7 @@ }, "node_modules/npmlog": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "license": "ISC", "optional": true, "dependencies": { "are-we-there-yet": "~1.1.2", @@ -9678,8 +8835,7 @@ }, "node_modules/number-is-nan": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "license": "MIT", "optional": true, "engines": { "node": ">=0.10.0" @@ -9687,32 +8843,28 @@ }, "node_modules/oauth-sign": { "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "license": "Apache-2.0", "engines": { "node": "*" } }, "node_modules/object-assign": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/object-inspect": { "version": "1.8.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", - "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/object-is": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.3.tgz", - "integrity": "sha512-teyqLvFWzLkq5B9ki8FVWA902UER2qkxmdA4nLf+wjOLAWgxzCWZNCxpDq9MvE8MmhWNr+I8w3BN49Vx36Y6Xg==", + "license": "MIT", "dependencies": { "define-properties": "^1.1.3", "es-abstract": "^1.18.0-next.1" @@ -9726,16 +8878,14 @@ }, "node_modules/object-keys": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/object.assign": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.0", "define-properties": "^1.1.3", @@ -9751,16 +8901,14 @@ }, "node_modules/offset-sourcemap-lines": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/offset-sourcemap-lines/-/offset-sourcemap-lines-1.0.1.tgz", - "integrity": "sha1-WFTf90tz/Abvy2HXtyGoET2ZvpI=", + "license": "MIT", "dependencies": { "source-map": "^0.5.0" } }, "node_modules/on-finished": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", "dependencies": { "ee-first": "1.1.1" }, @@ -9770,16 +8918,14 @@ }, "node_modules/once": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/open": { "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "license": "MIT", "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", @@ -9794,8 +8940,7 @@ }, "node_modules/optionator": { "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "license": "MIT", "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", @@ -9810,14 +8955,11 @@ }, "node_modules/os-browserify": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" + "license": "MIT" }, "node_modules/osc": { "version": "2.4.2", "resolved": "git+ssh://git@github.com/jean-emmanuel/osc.js.git#9197739162f26086e6a72670103c3fa036e9dcd5", - "integrity": "sha512-BYTHoLAOpBK9rWOuBPNhn0os/HWyWS62/XWJ1f7i7MI/399sbyKplC6CsHX9X1X/2ikyThBAXdMIoiWmpMrrZw==", - "license": "(MIT OR GPL-2.0)", "dependencies": { "long": "4.0.0", "slip": "1.0.2", @@ -9830,8 +8972,7 @@ }, "node_modules/osc/node_modules/ws": { "version": "7.5.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz", - "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==", + "license": "MIT", "engines": { "node": ">=8.3.0" }, @@ -9850,8 +8991,7 @@ }, "node_modules/osi-licenses": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/osi-licenses/-/osi-licenses-0.1.1.tgz", - "integrity": "sha1-YqAoct7CMGwM+5Qfc6gLrh7imlg=", + "license": "MIT", "engines": { "node": ">=0.10", "npm": ">=1.2" @@ -9859,33 +8999,29 @@ }, "node_modules/oss-license-name-to-url": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/oss-license-name-to-url/-/oss-license-name-to-url-1.2.1.tgz", - "integrity": "sha1-dzsFJFBvRy5xDT9D72fBnKIoVCM=", + "license": "MIT", "dependencies": { "osi-licenses": "^0.1.0" } }, "node_modules/outpipe": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/outpipe/-/outpipe-1.1.1.tgz", - "integrity": "sha1-UM+GFjZeh+Ax4ppeyTOaPaRyX6I=", "dev": true, + "license": "MIT", "dependencies": { "shell-quote": "^1.4.2" } }, "node_modules/p-cancelable": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -9898,8 +9034,7 @@ }, "node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -9909,8 +9044,7 @@ }, "node_modules/p-map": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "license": "MIT", "dependencies": { "aggregate-error": "^3.0.0" }, @@ -9923,16 +9057,14 @@ }, "node_modules/p-try": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/package-json": { "version": "6.5.0", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", - "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", + "license": "MIT", "dependencies": { "got": "^9.6.0", "registry-auth-token": "^4.0.0", @@ -9945,21 +9077,18 @@ }, "node_modules/package-json/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/pako": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + "license": "(MIT AND Zlib)" }, "node_modules/parent-module": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -9969,16 +9098,14 @@ }, "node_modules/parents": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz", - "integrity": "sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=", + "license": "MIT", "dependencies": { "path-platform": "~0.11.15" } }, "node_modules/parse-asn1": { "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "license": "ISC", "dependencies": { "asn1.js": "^5.2.0", "browserify-aes": "^1.0.0", @@ -9989,8 +9116,7 @@ }, "node_modules/parse-author": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-author/-/parse-author-2.0.0.tgz", - "integrity": "sha1-00YL8d3Q367tQtp1QkLmX7aEqB8=", + "license": "MIT", "dependencies": { "author-regex": "^1.0.0" }, @@ -10000,8 +9126,7 @@ }, "node_modules/parse-json": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "license": "MIT", "dependencies": { "error-ex": "^1.2.0" }, @@ -10011,55 +9136,47 @@ }, "node_modules/parse-srcset": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", - "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=" + "license": "MIT" }, "node_modules/path-browserify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" + "license": "MIT" }, "node_modules/path-exists": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/path-key": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/path-parse": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" + "license": "MIT" }, "node_modules/path-platform": { "version": "0.11.15", - "resolved": "https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz", - "integrity": "sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=", + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/path-type": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "license": "MIT", "dependencies": { "pify": "^2.0.0" }, @@ -10069,16 +9186,14 @@ }, "node_modules/path-type/node_modules/pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/pbkdf2": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", - "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", + "license": "MIT", "dependencies": { "create-hash": "^1.1.2", "create-hmac": "^1.1.4", @@ -10092,23 +9207,19 @@ }, "node_modules/pend": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + "license": "MIT" }, "node_modules/performance-now": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + "license": "MIT" }, "node_modules/picocolors": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "license": "ISC" }, "node_modules/picomatch": { "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==", + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -10118,8 +9229,7 @@ }, "node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "license": "MIT", "optional": true, "engines": { "node": ">=4" @@ -10127,8 +9237,7 @@ }, "node_modules/plist": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/plist/-/plist-3.0.5.tgz", - "integrity": "sha512-83vX4eYdQp3vP9SxuYgEM/G/pJQqLUz/V/xzPrzruLs7fz7jxGQ1msZ/mg1nwZxUSuOp4sb+/bEIbRrbzZRxDA==", + "license": "MIT", "dependencies": { "base64-js": "^1.5.1", "xmlbuilder": "^9.0.7" @@ -10139,16 +9248,14 @@ }, "node_modules/pngjs": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", - "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==", + "license": "MIT", "engines": { "node": ">=10.13.0" } }, "node_modules/postcss": { "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "license": "MIT", "dependencies": { "picocolors": "^0.2.1", "source-map": "^0.6.1" @@ -10163,21 +9270,18 @@ }, "node_modules/postcss/node_modules/picocolors": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==" + "license": "ISC" }, "node_modules/postcss/node_modules/source-map": { "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/prebuild-install": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.0.1.tgz", - "integrity": "sha512-QBSab31WqkyxpnMWQxubYAHR5S9B2+r81ucocew34Fkl98FhvKIF50jIJnNOBmAZfyNV7vE5T6gd3hTVWgY6tg==", + "license": "MIT", "optional": true, "dependencies": { "detect-libc": "^2.0.0", @@ -10203,58 +9307,50 @@ }, "node_modules/prelude-ls": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/prepend-http": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/pretty-hrtime": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", - "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/process": { "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "license": "MIT", "engines": { "node": ">= 0.6.0" } }, "node_modules/process-nextick-args": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + "license": "MIT" }, "node_modules/progress": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/promise-inflight": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=" + "license": "ISC" }, "node_modules/promise-retry": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "license": "MIT", "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" @@ -10265,24 +9361,20 @@ }, "node_modules/proto-list": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=", + "license": "ISC", "optional": true }, "node_modules/psl": { "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + "license": "MIT" }, "node_modules/pstree.remy": { "version": "1.1.8", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", - "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" + "license": "MIT" }, "node_modules/public-encrypt": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "license": "MIT", "dependencies": { "bn.js": "^4.1.0", "browserify-rsa": "^4.0.0", @@ -10294,13 +9386,11 @@ }, "node_modules/public-encrypt/node_modules/bn.js": { "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" + "license": "MIT" }, "node_modules/pump": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -10308,13 +9398,11 @@ }, "node_modules/punycode": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + "license": "MIT" }, "node_modules/pupa": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", - "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", + "license": "MIT", "dependencies": { "escape-goat": "^2.0.0" }, @@ -10324,16 +9412,14 @@ }, "node_modules/python-shell": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/python-shell/-/python-shell-3.0.1.tgz", - "integrity": "sha512-TWeotuxe1auhXa5bGRScxnc2J+0r41NBntSa6RYZtMBLtAEsvCboKrEbW6DvASosWQepVkhZZlT3B5Ei766G+Q==", + "license": "MIT", "engines": { "node": ">=0.10" } }, "node_modules/qrcode": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.1.tgz", - "integrity": "sha512-nS8NJ1Z3md8uTjKtP+SGGhfqmTCs5flU/xR623oI0JX+Wepz9R8UrRVCTBTJm3qGw3rH6jJ6MUHjkDx15cxSSg==", + "license": "MIT", "dependencies": { "dijkstrajs": "^1.0.1", "encode-utf8": "^1.0.3", @@ -10349,8 +9435,7 @@ }, "node_modules/qrcode/node_modules/yargs": { "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "license": "MIT", "dependencies": { "cliui": "^6.0.0", "decamelize": "^1.2.0", @@ -10370,54 +9455,44 @@ }, "node_modules/qs": { "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.6" } }, "node_modules/querystring": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", "engines": { "node": ">=0.4.x" } }, "node_modules/querystring-es3": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", "engines": { "node": ">=0.4.x" } }, "node_modules/queue-tick": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.0.tgz", - "integrity": "sha512-ULWhjjE8BmiICGn3G8+1L9wFpERNxkf8ysxkAer4+TFdRefDaXOCV5m92aMB9FtBVmn/8sETXLXY6BfW7hyaWQ==" + "license": "MIT" }, "node_modules/quick-lru": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/randombytes": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "license": "MIT", "dependencies": { "safe-buffer": "^5.1.0" } }, "node_modules/randomfill": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "license": "MIT", "dependencies": { "randombytes": "^2.0.5", "safe-buffer": "^5.1.0" @@ -10425,16 +9500,14 @@ }, "node_modules/range-parser": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/rc": { "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", "dependencies": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -10447,32 +9520,28 @@ }, "node_modules/rc/node_modules/strip-json-comments": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/rcedit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/rcedit/-/rcedit-2.3.0.tgz", - "integrity": "sha512-h1gNEl9Oai1oijwyJ1WYqYSXTStHnOcv1KYljg/8WM4NAg3H1KBK3azIaKkQ1WQl+d7PoJpcBMscPfLXVKgCLQ==", + "license": "MIT", "engines": { "node": ">= 8.0.0" } }, "node_modules/read-only-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz", - "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=", + "license": "MIT", "dependencies": { "readable-stream": "^2.0.2" } }, "node_modules/read-pkg": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "license": "MIT", "dependencies": { "load-json-file": "^2.0.0", "normalize-package-data": "^2.3.2", @@ -10484,8 +9553,7 @@ }, "node_modules/read-pkg-up": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^2.0.0" @@ -10496,8 +9564,7 @@ }, "node_modules/read-pkg-up/node_modules/find-up": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "license": "MIT", "dependencies": { "locate-path": "^2.0.0" }, @@ -10507,8 +9574,7 @@ }, "node_modules/read-pkg-up/node_modules/locate-path": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "license": "MIT", "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" @@ -10519,8 +9585,7 @@ }, "node_modules/read-pkg-up/node_modules/p-limit": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "license": "MIT", "dependencies": { "p-try": "^1.0.0" }, @@ -10530,8 +9595,7 @@ }, "node_modules/read-pkg-up/node_modules/p-locate": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "license": "MIT", "dependencies": { "p-limit": "^1.1.0" }, @@ -10541,24 +9605,21 @@ }, "node_modules/read-pkg-up/node_modules/p-try": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/read-pkg-up/node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/readable-stream": { "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -10571,16 +9632,14 @@ }, "node_modules/readable-stream/node_modules/string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } }, "node_modules/readdirp": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "license": "MIT", "dependencies": { "picomatch": "^2.2.1" }, @@ -10590,8 +9649,7 @@ }, "node_modules/redent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "license": "MIT", "dependencies": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" @@ -10602,13 +9660,11 @@ }, "node_modules/regenerate": { "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" + "license": "MIT" }, "node_modules/regenerate-unicode-properties": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", - "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "license": "MIT", "dependencies": { "regenerate": "^1.4.2" }, @@ -10618,21 +9674,18 @@ }, "node_modules/regenerator-runtime": { "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + "license": "MIT" }, "node_modules/regenerator-transform": { "version": "0.15.0", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", - "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", + "license": "MIT", "dependencies": { "@babel/runtime": "^7.8.4" } }, "node_modules/regexp.prototype.flags": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", - "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", + "license": "MIT", "dependencies": { "define-properties": "^1.1.3", "es-abstract": "^1.17.0-next.1" @@ -10646,8 +9699,7 @@ }, "node_modules/regexp.prototype.flags/node_modules/es-abstract": { "version": "1.17.7", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", - "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", + "license": "MIT", "dependencies": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", @@ -10670,8 +9722,7 @@ }, "node_modules/regexpp": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "license": "MIT", "engines": { "node": ">=8" }, @@ -10681,8 +9732,7 @@ }, "node_modules/regexpu-core": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", - "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "license": "MIT", "dependencies": { "regenerate": "^1.4.2", "regenerate-unicode-properties": "^10.0.1", @@ -10697,8 +9747,7 @@ }, "node_modules/registry-auth-token": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", - "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", + "license": "MIT", "dependencies": { "rc": "^1.2.8" }, @@ -10708,8 +9757,7 @@ }, "node_modules/registry-url": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", - "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", + "license": "MIT", "dependencies": { "rc": "^1.2.8" }, @@ -10719,13 +9767,11 @@ }, "node_modules/regjsgen": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", - "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==" + "license": "MIT" }, "node_modules/regjsparser": { "version": "0.8.4", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", - "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "license": "BSD-2-Clause", "dependencies": { "jsesc": "~0.5.0" }, @@ -10735,16 +9781,13 @@ }, "node_modules/regjsparser/node_modules/jsesc": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", "bin": { "jsesc": "bin/jsesc" } }, "node_modules/replacestream": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/replacestream/-/replacestream-4.0.3.tgz", - "integrity": "sha512-AC0FiLS352pBBiZhd4VXB1Ab/lh0lEgpP+GGvZqbQh8a5cmXVoTe5EX/YeTFArnp4SRGTHh1qCHu9lGs1qG8sA==", + "license": "BSD-3-Clause", "dependencies": { "escape-string-regexp": "^1.0.3", "object-assign": "^4.0.1", @@ -10753,9 +9796,7 @@ }, "node_modules/request": { "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "license": "Apache-2.0", "dependencies": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", @@ -10784,21 +9825,18 @@ }, "node_modules/require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/require-main-filename": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + "license": "ISC" }, "node_modules/resolve": { "version": "1.19.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", - "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "license": "MIT", "dependencies": { "is-core-module": "^2.1.0", "path-parse": "^1.0.6" @@ -10809,32 +9847,28 @@ }, "node_modules/resolve-from": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/responselike": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", + "license": "MIT", "dependencies": { "lowercase-keys": "^1.0.0" } }, "node_modules/retry": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", + "license": "MIT", "engines": { "node": ">= 4" } }, "node_modules/rimraf": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -10844,8 +9878,7 @@ }, "node_modules/ripemd160": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "license": "MIT", "dependencies": { "hash-base": "^3.0.0", "inherits": "^2.0.1" @@ -10853,8 +9886,7 @@ }, "node_modules/roarr": { "version": "2.15.4", - "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", - "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==", + "license": "BSD-3-Clause", "optional": true, "dependencies": { "boolean": "^3.0.1", @@ -10870,18 +9902,15 @@ }, "node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "license": "MIT" }, "node_modules/safer-buffer": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "license": "MIT" }, "node_modules/sanitize-html": { "version": "1.27.5", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-1.27.5.tgz", - "integrity": "sha512-M4M5iXDAUEcZKLXkmk90zSYWEtk5NH3JmojQxKxV371fnMh+x9t1rqdmXaGoyEHw3z/X/8vnFhKjGL5xFGOJ3A==", + "license": "MIT", "dependencies": { "htmlparser2": "^4.1.0", "lodash": "^4.17.15", @@ -10890,13 +9919,13 @@ } }, "node_modules/sass-graph": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-4.0.0.tgz", - "integrity": "sha512-WSO/MfXqKH7/TS8RdkCX3lVkPFQzCgbqdGsmSKq6tlPU+GpGEsa/5aW18JqItnqh+lPtcjifqdZ/VmiILkKckQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-4.0.1.tgz", + "integrity": "sha512-5YCfmGBmxoIRYHnKK2AKzrAkCoQ8ozO+iumT8K4tXJXRVCPf+7s1/9KxTSW3Rbvf+7Y7b4FR3mWyLnQr3PHocA==", "dependencies": { "glob": "^7.0.0", "lodash": "^4.17.11", - "scss-tokenizer": "^0.3.0", + "scss-tokenizer": "^0.4.3", "yargs": "^17.2.1" }, "bin": { @@ -10908,8 +9937,7 @@ }, "node_modules/scope-css": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/scope-css/-/scope-css-1.2.1.tgz", - "integrity": "sha512-UjLRmyEYaDNiOS673xlVkZFlVCtckJR/dKgr434VMm7Lb+AOOqXKdAcY7PpGlJYErjXXJzKN7HWo4uRPiZZG0Q==", + "license": "MIT", "dependencies": { "escaper": "^2.5.3", "slugify": "^1.3.1", @@ -10918,8 +9946,7 @@ }, "node_modules/screenfull": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.2.0.tgz", - "integrity": "sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==", + "license": "MIT", "engines": { "node": ">=0.10.0" }, @@ -10928,26 +9955,25 @@ } }, "node_modules/scss-tokenizer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.3.0.tgz", - "integrity": "sha512-14Zl9GcbBvOT9057ZKjpz5yPOyUWG2ojd9D5io28wHRYsOrs7U95Q+KNL87+32p8rc+LvDpbu/i9ZYjM9Q+FsQ==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.4.3.tgz", + "integrity": "sha512-raKLgf1LI5QMQnG+RxHz6oK0sL3x3I4FN2UDLqgLOGO8hodECNnNh5BXn7fAyBxrA8zVzdQizQ6XjNJQ+uBwMw==", "dependencies": { - "js-base64": "^2.4.3", - "source-map": "^0.7.1" + "js-base64": "^2.4.9", + "source-map": "^0.7.3" } }, "node_modules/scss-tokenizer/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "engines": { "node": ">= 8" } }, "node_modules/semver": { "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -10960,14 +9986,12 @@ }, "node_modules/semver-compare": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", + "license": "MIT", "optional": true }, "node_modules/semver-diff": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", - "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "license": "MIT", "dependencies": { "semver": "^6.3.0" }, @@ -10977,16 +10001,14 @@ }, "node_modules/semver-diff/node_modules/semver": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/send": { "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "license": "MIT", "dependencies": { "debug": "2.6.9", "depd": "2.0.0", @@ -11008,34 +10030,29 @@ }, "node_modules/send/node_modules/debug": { "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", "dependencies": { "ms": "2.0.0" } }, "node_modules/send/node_modules/debug/node_modules/ms": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "license": "MIT" }, "node_modules/send/node_modules/depd": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/send/node_modules/ms": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "license": "MIT" }, "node_modules/serialize-error": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz", - "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==", + "license": "MIT", "optional": true, "dependencies": { "type-fest": "^0.13.1" @@ -11049,8 +10066,7 @@ }, "node_modules/serialport": { "version": "9.2.0", - "resolved": "https://registry.npmjs.org/serialport/-/serialport-9.2.0.tgz", - "integrity": "sha512-C6AQ4jD4mre3tn3QA+atn++mEZDh4r40CIeh1sKhskKE+Q4eiIr/nzVMOiPxHb8gskrSNxujH+Br49tl3i9s9g==", + "license": "MIT", "optional": true, "dependencies": { "@serialport/binding-mock": "9.0.7", @@ -11072,37 +10088,17 @@ "url": "https://opencollective.com/serialport/donate" } }, - "node_modules/serialport/node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/set-blocking": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + "license": "ISC" }, "node_modules/setprototypeof": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + "license": "ISC" }, "node_modules/sha.js": { "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "license": "(MIT AND BSD-3-Clause)", "dependencies": { "inherits": "^2.0.1", "safe-buffer": "^5.0.1" @@ -11113,16 +10109,14 @@ }, "node_modules/shasum-object": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz", - "integrity": "sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg==", + "license": "Apache-2.0", "dependencies": { "fast-safe-stringify": "^2.0.7" } }, "node_modules/shebang-command": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -11132,45 +10126,21 @@ }, "node_modules/shebang-regex": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/shell-quote": { "version": "1.7.2", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz", - "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==" + "license": "MIT" }, "node_modules/signal-exit": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", - "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==" + "license": "ISC" }, "node_modules/simple-concat": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/simple-get": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", - "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", "funding": [ { "type": "github", @@ -11185,6 +10155,25 @@ "url": "https://feross.org/support" } ], + "license": "MIT" + }, + "node_modules/simple-get": { + "version": "4.0.1", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", "optional": true, "dependencies": { "decompress-response": "^6.0.0", @@ -11194,8 +10183,7 @@ }, "node_modules/simple-get/node_modules/decompress-response": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "license": "MIT", "optional": true, "dependencies": { "mimic-response": "^3.1.0" @@ -11209,8 +10197,7 @@ }, "node_modules/simple-get/node_modules/mimic-response": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "license": "MIT", "optional": true, "engines": { "node": ">=10" @@ -11221,21 +10208,18 @@ }, "node_modules/slip": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/slip/-/slip-1.0.2.tgz", - "integrity": "sha1-ukWpIwNNbPQbGieuvnEoKCyNVR8=" + "license": "(MIT OR GPL-2.0)" }, "node_modules/slugify": { "version": "1.4.6", - "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.4.6.tgz", - "integrity": "sha512-ZdJIgv9gdrYwhXqxsH9pv7nXxjUEyQ6nqhngRxoAAOlmMGA28FDq5O4/5US4G2/Nod7d1ovNcgURQJ7kHq50KQ==", + "license": "MIT", "engines": { "node": ">=8.0.0" } }, "node_modules/smart-buffer": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "license": "MIT", "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -11243,8 +10227,7 @@ }, "node_modules/socks": { "version": "2.6.2", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.2.tgz", - "integrity": "sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA==", + "license": "MIT", "dependencies": { "ip": "^1.1.5", "smart-buffer": "^4.2.0" @@ -11256,8 +10239,7 @@ }, "node_modules/socks-proxy-agent": { "version": "6.2.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.0.tgz", - "integrity": "sha512-wWqJhjb32Q6GsrUqzuFkukxb/zzide5quXYcMVpIjxalDBBYy2nqKCFQ/9+Ie4dvOYSQdOk3hUlZSdzZOd3zMQ==", + "license": "MIT", "dependencies": { "agent-base": "^6.0.2", "debug": "^4.3.3", @@ -11267,39 +10249,20 @@ "node": ">= 10" } }, - "node_modules/socks-proxy-agent/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/sortablejs": { "version": "1.15.0", - "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.0.tgz", - "integrity": "sha512-bv9qgVMjUMf89wAvM6AxVvS/4MX3sPeN0+agqShejLU5z5GX4C75ow1O2e5k4L6XItUyAK3gH6AxSbXrOM5e8w==" + "license": "MIT" }, "node_modules/source-map": { "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/source-map-support": { "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -11307,21 +10270,18 @@ }, "node_modules/source-map-support/node_modules/source-map": { "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/sourcemap-codec": { "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" + "license": "MIT" }, "node_modules/spdx-correct": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -11329,13 +10289,11 @@ }, "node_modules/spdx-exceptions": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -11343,19 +10301,16 @@ }, "node_modules/spdx-license-ids": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", - "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==" + "license": "CC0-1.0" }, "node_modules/sprintf-js": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", - "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", + "license": "BSD-3-Clause", "optional": true }, "node_modules/sshpk": { "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "license": "MIT", "dependencies": { "asn1": "~0.2.3", "assert-plus": "^1.0.0", @@ -11378,8 +10333,7 @@ }, "node_modules/ssri": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "license": "ISC", "dependencies": { "minipass": "^3.1.1" }, @@ -11389,21 +10343,18 @@ }, "node_modules/stack-generator": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.5.tgz", - "integrity": "sha512-/t1ebrbHkrLrDuNMdeAcsvynWgoH/i4o8EGGfX7dEYDoTXOYVAkEpFdtshlvabzc6JlJ8Kf9YdFEoz7JkzGN9Q==", + "license": "MIT", "dependencies": { "stackframe": "^1.1.1" } }, "node_modules/stackframe": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.2.0.tgz", - "integrity": "sha512-GrdeshiRmS1YLMYgzF16olf2jJ/IzxXY9lhKOskuVziubpTYcYqyOwYeJKzQkwy7uN0fYSsbsC4RQaXf9LCrYA==" + "license": "MIT" }, "node_modules/stacktrace-gps": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.0.4.tgz", - "integrity": "sha512-qIr8x41yZVSldqdqe6jciXEaSCKw1U8XTXpjDuy0ki/apyTn/r3w9hDAAQOhZdxvsC93H+WwwEu5cq5VemzYeg==", + "license": "MIT", "dependencies": { "source-map": "0.5.6", "stackframe": "^1.1.1" @@ -11411,16 +10362,14 @@ }, "node_modules/stacktrace-gps/node_modules/source-map": { "version": "0.5.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/stacktrace-js": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", - "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", + "license": "MIT", "dependencies": { "error-stack-parser": "^2.0.6", "stack-generator": "^2.0.5", @@ -11429,24 +10378,21 @@ }, "node_modules/statuses": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/stdout-stream": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", - "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "license": "MIT", "dependencies": { "readable-stream": "^2.0.1" } }, "node_modules/stream-browserify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", - "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", + "license": "MIT", "dependencies": { "inherits": "~2.0.4", "readable-stream": "^3.5.0" @@ -11454,8 +10400,7 @@ }, "node_modules/stream-browserify/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -11467,8 +10412,7 @@ }, "node_modules/stream-combiner2": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", - "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", + "license": "MIT", "dependencies": { "duplexer2": "~0.1.0", "readable-stream": "^2.0.2" @@ -11476,8 +10420,7 @@ }, "node_modules/stream-http": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.1.1.tgz", - "integrity": "sha512-S7OqaYu0EkFpgeGFb/NPOoPLxFko7TPqtEeFg5DXPB4v/KETHG0Ln6fRFrNezoelpaDKmycEmmZ81cC9DAwgYg==", + "license": "MIT", "dependencies": { "builtin-status-codes": "^3.0.0", "inherits": "^2.0.4", @@ -11487,8 +10430,7 @@ }, "node_modules/stream-http/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -11500,8 +10442,7 @@ }, "node_modules/stream-splicer": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz", - "integrity": "sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==", + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "readable-stream": "^2.0.2" @@ -11509,453 +10450,17 @@ }, "node_modules/strictdom": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strictdom/-/strictdom-1.0.1.tgz", - "integrity": "sha1-GJ3pFkn3PUTVm4Qy76aO+dJllGA=" + "license": "MIT" }, "node_modules/string_decoder": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.2.0" } }, "node_modules/string_decoder/node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.2.tgz", - "integrity": "sha512-8oAG/hi14Z4nOVP0z6mdiVZ/wqjDtWSLygMigTzAb+7aPEDTleeFf+WrF+alzecxIRkckkJVn+dTlwzJXORATw==", - "dependencies": { - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.2.tgz", - "integrity": "sha512-7F6CdBTl5zyu30BJFdzSTlSlLPwODC23Od+iLoVH8X6+3fvDPPuBVVj9iaB1GOsSTSIgVfsfm27R2FGrAPznWg==", - "dependencies": { - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dependencies": { - "ansi-regex": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-css-comments": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-css-comments/-/strip-css-comments-3.0.0.tgz", - "integrity": "sha1-elYl7/iisibPiUehElTaluE9rok=", - "dependencies": { - "is-regexp": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/strip-outer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz", - "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/subarg": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz", - "integrity": "sha1-9izxdYHplrSPyWVpn1TAauJouNI=", - "dependencies": { - "minimist": "^1.1.0" - } - }, - "node_modules/sumchecker": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz", - "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==", - "dependencies": { - "debug": "^4.1.0" - }, - "engines": { - "node": ">= 8.0" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/syntax-error": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", - "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", - "dependencies": { - "acorn-node": "^1.2.0" - } - }, - "node_modules/tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", - "optional": true, - "dependencies": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.1.4" - } - }, - "node_modules/tar-fs/node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "optional": true - }, - "node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "optional": true, - "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tar-stream/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "optional": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/tar/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", - "integrity": "sha512-/FQzzPJmCpjAH9Xvk2paiWrFq+5M6aVOf+2KRbwhByISDX/EujxsK+BAvrhb6H+2rtrLCHK9N01wO014vrIwVQ==", - "dependencies": { - "commander": "^2.19.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.10" - }, - "bin": { - "terser": "bin/uglifyjs" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/terser/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=" - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/thunky": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", - "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==" - }, - "node_modules/timers-browserify": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", - "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", - "dependencies": { - "process": "~0.11.0" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/tiny-each-async": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tiny-each-async/-/tiny-each-async-2.0.3.tgz", - "integrity": "sha1-jru/1tYpXxNwAD+7NxYq/loKUdE=", - "optional": true - }, - "node_modules/tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "optional": true, - "dependencies": { - "rimraf": "^3.0.0" - }, - "engines": { - "node": ">=8.17.0" - } - }, - "node_modules/tmp-promise": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/tmp-promise/-/tmp-promise-3.0.2.tgz", - "integrity": "sha512-OyCLAKU1HzBjL6Ev3gxUeraJNlbNingmi8IrHHEsYH8LTmEuhvYfqvhn2F/je+mjf4N58UmZ96OMEy1JanSCpA==", - "optional": true, - "dependencies": { - "tmp": "^0.2.0" - } - }, - "node_modules/tmp/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "optional": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "engines": { - "node": ">=4" - } - }, - "node_modules/to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", - "engines": { - "node": ">=6" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", - "dependencies": { - "nopt": "~1.0.10" - }, - "bin": { - "nodetouch": "bin/nodetouch.js" - } - }, - "node_modules/touch/node_modules/nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/tough-cookie/node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "engines": { - "node": ">=6" - } - }, - "node_modules/transform-ast": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/transform-ast/-/transform-ast-2.4.4.tgz", - "integrity": "sha512-AxjeZAcIOUO2lev2GDe3/xZ1Q0cVGjIMk5IsriTy8zbWlsEnjeB025AhkhBJHoy997mXpLd4R+kRbvnnQVuQHQ==", - "dependencies": { - "acorn-node": "^1.3.0", - "convert-source-map": "^1.5.1", - "dash-ast": "^1.0.0", - "is-buffer": "^2.0.0", - "magic-string": "^0.23.2", - "merge-source-map": "1.0.4", - "nanobench": "^2.1.1" - } - }, - "node_modules/transform-ast/node_modules/is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", "funding": [ { "type": "github", @@ -11970,22 +10475,409 @@ "url": "https://feross.org/support" } ], + "license": "MIT" + }, + "node_modules/string-width": { + "version": "4.2.0", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.0", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-css-comments": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "is-regexp": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-outer": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/subarg": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "minimist": "^1.1.0" + } + }, + "node_modules/sumchecker": { + "version": "3.0.1", + "license": "Apache-2.0", + "dependencies": { + "debug": "^4.1.0" + }, + "engines": { + "node": ">= 8.0" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/syntax-error": { + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "acorn-node": "^1.2.0" + } + }, + "node_modules/tar": { + "version": "6.1.11", + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tar-fs": { + "version": "2.1.1", + "license": "MIT", + "optional": true, + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/tar-fs/node_modules/chownr": { + "version": "1.1.4", + "license": "ISC", + "optional": true + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "license": "MIT", + "optional": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar-stream/node_modules/readable-stream": { + "version": "3.6.0", + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser": { + "version": "3.17.0", + "license": "BSD-2-Clause", + "dependencies": { + "commander": "^2.19.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.10" + }, + "bin": { + "terser": "bin/uglifyjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "license": "MIT" + }, + "node_modules/terser/node_modules/source-map": { + "version": "0.6.1", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "license": "MIT" + }, + "node_modules/through": { + "version": "2.3.8", + "license": "MIT" + }, + "node_modules/through2": { + "version": "2.0.5", + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/thunky": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", + "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==" + }, + "node_modules/timers-browserify": { + "version": "1.4.2", + "dependencies": { + "process": "~0.11.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/tiny-each-async": { + "version": "2.0.3", + "license": "MIT", + "optional": true + }, + "node_modules/tmp": { + "version": "0.2.1", + "license": "MIT", + "optional": true, + "dependencies": { + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=8.17.0" + } + }, + "node_modules/tmp-promise": { + "version": "3.0.2", + "license": "MIT", + "optional": true, + "dependencies": { + "tmp": "^0.2.0" + } + }, + "node_modules/tmp/node_modules/rimraf": { + "version": "3.0.2", + "license": "ISC", + "optional": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/to-readable-stream": { + "version": "1.0.0", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/touch": { + "version": "3.1.0", + "license": "ISC", + "dependencies": { + "nopt": "~1.0.10" + }, + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/touch/node_modules/nopt": { + "version": "1.0.10", + "license": "MIT", + "dependencies": { + "abbrev": "1" + }, + "bin": { + "nopt": "bin/nopt.js" + } + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tough-cookie/node_modules/punycode": { + "version": "2.1.1", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/transform-ast": { + "version": "2.4.4", + "license": "MIT", + "dependencies": { + "acorn-node": "^1.3.0", + "convert-source-map": "^1.5.1", + "dash-ast": "^1.0.0", + "is-buffer": "^2.0.0", + "magic-string": "^0.23.2", + "merge-source-map": "1.0.4", + "nanobench": "^2.1.1" + } + }, + "node_modules/transform-ast/node_modules/is-buffer": { + "version": "2.0.5", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/trim-newlines": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/trim-repeated": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", - "integrity": "sha1-42RqLqTokTEr9+rObPsFOAvAHCE=", + "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.2" }, @@ -11994,22 +10886,17 @@ } }, "node_modules/true-case-path": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", - "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", - "dependencies": { - "glob": "^7.1.2" - } + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-2.2.1.tgz", + "integrity": "sha512-0z3j8R7MCjy10kc/g+qg7Ln3alJTodw9aDuVWZa3uiWqfuBMKeAeP2ocWcxoyM3D73yz3Jt/Pu4qPr4wHSdB/Q==" }, "node_modules/tty-browserify": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", - "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==" + "license": "MIT" }, "node_modules/tunnel": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "license": "MIT", "optional": true, "engines": { "node": ">=0.6.11 <=0.7.0 || >=0.7.3" @@ -12017,8 +10904,7 @@ }, "node_modules/tunnel-agent": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" }, @@ -12028,13 +10914,11 @@ }, "node_modules/tweetnacl": { "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + "license": "Unlicense" }, "node_modules/type-check": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -12044,8 +10928,7 @@ }, "node_modules/type-fest": { "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "license": "(MIT OR CC0-1.0)", "optional": true, "engines": { "node": ">=10" @@ -12056,26 +10939,22 @@ }, "node_modules/type-name": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/type-name/-/type-name-2.0.2.tgz", - "integrity": "sha1-7+fUEj2KxSr/9/QMfk3sUmYAj7Q=" + "license": "MIT" }, "node_modules/typedarray": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + "license": "MIT" }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "license": "MIT", "dependencies": { "is-typedarray": "^1.0.0" } }, "node_modules/uglifyify": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/uglifyify/-/uglifyify-5.0.2.tgz", - "integrity": "sha512-NcSk6pgoC+IgwZZ2tVLVHq+VNKSvLPlLkF5oUiHPVOJI0s/OlSVYEGXG9PCAH0hcyFZLyvt4KBdPAQBRlVDn1Q==", + "license": "MIT", "dependencies": { "convert-source-map": "~1.1.0", "minimatch": "^3.0.2", @@ -12086,13 +10965,11 @@ }, "node_modules/uglifyify/node_modules/convert-source-map": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", - "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=" + "license": "MIT" }, "node_modules/uglifyify/node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -12102,16 +10979,14 @@ }, "node_modules/umd": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", - "integrity": "sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==", + "license": "MIT", "bin": { "umd": "bin/cli.js" } }, "node_modules/undeclared-identifiers": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz", - "integrity": "sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==", + "license": "Apache-2.0", "dependencies": { "acorn-node": "^1.3.0", "dash-ast": "^1.0.0", @@ -12125,21 +11000,18 @@ }, "node_modules/undefsafe": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", - "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" + "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/unicode-match-property-ecmascript": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "license": "MIT", "dependencies": { "unicode-canonical-property-names-ecmascript": "^2.0.0", "unicode-property-aliases-ecmascript": "^2.0.0" @@ -12150,40 +11022,35 @@ }, "node_modules/unicode-match-property-value-ecmascript": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/unicode-property-aliases-ecmascript": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/unique-filename": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "license": "ISC", "dependencies": { "unique-slug": "^2.0.0" } }, "node_modules/unique-slug": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4" } }, "node_modules/unique-string": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", - "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "license": "MIT", "dependencies": { "crypto-random-string": "^2.0.0" }, @@ -12193,21 +11060,18 @@ }, "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==", + "license": "MIT", "engines": { "node": ">= 4.0.0" } }, "node_modules/unix-crypt-td-js": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/unix-crypt-td-js/-/unix-crypt-td-js-1.1.4.tgz", - "integrity": "sha512-8rMeVYWSIyccIJscb9NdCfZKSRBKYTeVnwmiRYT2ulE3qd1RaDQ0xQDP+rI3ccIWbhu/zuo5cgN8z73belNZgw==" + "license": "BSD-3-Clause" }, "node_modules/update-notifier": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz", - "integrity": "sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==", + "license": "BSD-2-Clause", "dependencies": { "boxen": "^5.0.0", "chalk": "^4.1.0", @@ -12233,8 +11097,7 @@ }, "node_modules/update-notifier/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12247,8 +11110,7 @@ }, "node_modules/update-notifier/node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -12262,8 +11124,7 @@ }, "node_modules/update-notifier/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12273,21 +11134,18 @@ }, "node_modules/update-notifier/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "license": "MIT" }, "node_modules/update-notifier/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/update-notifier/node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12297,29 +11155,25 @@ }, "node_modules/upper-case": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", - "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=" + "license": "MIT" }, "node_modules/uri-js": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", - "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } }, "node_modules/uri-js/node_modules/punycode": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/url": { "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -12327,8 +11181,7 @@ }, "node_modules/url-parse-lax": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", + "license": "MIT", "dependencies": { "prepend-http": "^2.0.0" }, @@ -12338,13 +11191,11 @@ }, "node_modules/url/node_modules/punycode": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + "license": "MIT" }, "node_modules/util": { "version": "0.12.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", - "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -12356,27 +11207,22 @@ }, "node_modules/util-deprecate": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "license": "MIT" }, "node_modules/uuid": { "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "license": "MIT", "bin": { "uuid": "bin/uuid" } }, "node_modules/v8-compile-cache": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + "license": "MIT" }, "node_modules/validate-npm-package-license": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" @@ -12384,11 +11230,10 @@ }, "node_modules/verror": { "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "engines": [ "node >=0.6.0" ], + "license": "MIT", "dependencies": { "assert-plus": "^1.0.0", "core-util-is": "1.0.2", @@ -12397,14 +11242,12 @@ }, "node_modules/vm-browserify": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", - "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" + "license": "MIT" }, "node_modules/watchify": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/watchify/-/watchify-4.0.0.tgz", - "integrity": "sha512-2Z04dxwoOeNxa11qzWumBTgSAohTC0+ScuY7XMenPnH+W2lhTcpEOJP4g2EIG/SWeLadPk47x++Yh+8BqPM/lA==", "dev": true, + "license": "MIT", "dependencies": { "anymatch": "^3.1.0", "browserify": "^17.0.0", @@ -12423,9 +11266,8 @@ }, "node_modules/watchify/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -12437,22 +11279,19 @@ }, "node_modules/watchify/node_modules/through2": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "3" } }, "node_modules/webworkify": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/webworkify/-/webworkify-1.5.0.tgz", - "integrity": "sha512-AMcUeyXAhbACL8S2hqqdqOLqvJ8ylmIbNwUIqQujRSouf4+eUFaXbG6F1Rbu+srlJMmxQWsiU7mOJi0nMBfM1g==" + "license": "MIT" }, "node_modules/which": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -12465,13 +11304,11 @@ }, "node_modules/which-module": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" + "license": "ISC" }, "node_modules/which-typed-array": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", - "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.2", "call-bind": "^1.0.0", @@ -12490,32 +11327,32 @@ }, "node_modules/wide-align": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "license": "ISC", + "optional": true, "dependencies": { "string-width": "^1.0.2 || 2" } }, "node_modules/wide-align/node_modules/ansi-regex": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "license": "MIT", + "optional": true, "engines": { "node": ">=4" } }, "node_modules/wide-align/node_modules/is-fullwidth-code-point": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "license": "MIT", + "optional": true, "engines": { "node": ">=4" } }, "node_modules/wide-align/node_modules/string-width": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "license": "MIT", + "optional": true, "dependencies": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" @@ -12526,8 +11363,8 @@ }, "node_modules/wide-align/node_modules/strip-ansi": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "license": "MIT", + "optional": true, "dependencies": { "ansi-regex": "^3.0.0" }, @@ -12537,8 +11374,7 @@ }, "node_modules/widest-line": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", + "license": "MIT", "dependencies": { "string-width": "^4.0.0" }, @@ -12548,21 +11384,18 @@ }, "node_modules/wolfy87-eventemitter": { "version": "5.2.9", - "resolved": "https://registry.npmjs.org/wolfy87-eventemitter/-/wolfy87-eventemitter-5.2.9.tgz", - "integrity": "sha512-P+6vtWyuDw+MB01X7UeF8TaHBvbCovf4HPEMF/SV7BdDc1SMTiBy13SRD71lQh4ExFTG1d/WNzDGDCyOKSMblw==" + "license": "Unlicense" }, "node_modules/word-wrap": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/wrap-ansi": { "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -12574,8 +11407,7 @@ }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12588,8 +11420,7 @@ }, "node_modules/wrap-ansi/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12599,18 +11430,15 @@ }, "node_modules/wrap-ansi/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "license": "MIT" }, "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "license": "ISC" }, "node_modules/write-file-atomic": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -12620,8 +11448,7 @@ }, "node_modules/ws": { "version": "8.6.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.6.0.tgz", - "integrity": "sha512-AzmM3aH3gk0aX7/rZLYvjdvZooofDu3fFOzGqcSnQ1tOcTWwhM/o+q++E8mAyVVIyUdajrkzWUGftaVSDLn1bw==", + "license": "MIT", "engines": { "node": ">=10.0.0" }, @@ -12640,42 +11467,36 @@ }, "node_modules/xdg-basedir": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/xmlbuilder": { "version": "9.0.7", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", - "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", + "license": "MIT", "engines": { "node": ">=4.0" } }, "node_modules/xtend": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "license": "MIT", "engines": { "node": ">=0.4" } }, "node_modules/y18n": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", - "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==" + "license": "ISC" }, "node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/yargs": { "version": "17.5.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", - "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -12691,8 +11512,7 @@ }, "node_modules/yargs-parser": { "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "license": "ISC", "dependencies": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" @@ -12703,16 +11523,14 @@ }, "node_modules/yargs/node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/yargs/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12725,8 +11543,7 @@ }, "node_modules/yargs/node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -12735,8 +11552,7 @@ }, "node_modules/yargs/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12746,13 +11562,11 @@ }, "node_modules/yargs/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "license": "MIT" }, "node_modules/yargs/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -12764,8 +11578,7 @@ }, "node_modules/yargs/node_modules/string-width/node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -12775,8 +11588,7 @@ }, "node_modules/yargs/node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -12791,9689 +11603,25 @@ }, "node_modules/yargs/node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/yargs/node_modules/yargs-parser": { "version": "21.0.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", - "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/yauzl": { "version": "2.10.0", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "license": "MIT", "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } } - }, - "dependencies": { - "@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", - "requires": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", - "requires": { - "@babel/highlight": "^7.10.4" - } - }, - "@babel/compat-data": { - "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz", - "integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==" - }, - "@babel/core": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.0.tgz", - "integrity": "sha512-Xyw74OlJwDijToNi0+6BBI5mLLR5+5R3bcSH80LXzjzEGEUlvNzujEE71BaD/ApEZHAvFI/Mlmp4M5lIkdeeWw==", - "requires": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helpers": "^7.18.0", - "@babel/parser": "^7.18.0", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", - "semver": "^6.3.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "requires": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "@babel/eslint-parser": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.17.0.tgz", - "integrity": "sha512-PUEJ7ZBXbRkbq3qqM/jZ2nIuakUBqCYc7Qf52Lj7dlZ6zERnqisdHioL0l4wwQZnmskMeasqUNzLBFKs3nylXA==", - "requires": { - "eslint-scope": "^5.1.1", - "eslint-visitor-keys": "^2.1.0", - "semver": "^6.3.0" - }, - "dependencies": { - "eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - } - }, - "eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "@babel/helper-annotate-as-pure": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", - "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", - "requires": { - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", - "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", - "requires": { - "@babel/helper-explode-assignable-expression": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-compilation-targets": { - "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz", - "integrity": "sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==", - "requires": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-validator-option": "^7.16.7", - "browserslist": "^4.20.2", - "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==" - } - } - }, - "@babel/helper-create-class-features-plugin": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz", - "integrity": "sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg==", - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-member-expression-to-functions": "^7.17.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/helper-create-regexp-features-plugin": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz", - "integrity": "sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw==", - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "regexpu-core": "^5.0.1" - } - }, - "@babel/helper-define-polyfill-provider": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", - "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", - "requires": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "requires": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "@babel/helper-environment-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", - "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", - "requires": { - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-explode-assignable-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", - "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", - "requires": { - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-hoist-variables": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", - "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", - "requires": { - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-member-expression-to-functions": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz", - "integrity": "sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw==", - "requires": { - "@babel/types": "^7.17.0" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-module-imports": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", - "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", - "requires": { - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-module-transforms": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz", - "integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==", - "requires": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.17.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "requires": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/helper-optimise-call-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", - "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", - "requires": { - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-plugin-utils": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz", - "integrity": "sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==" - }, - "@babel/helper-remap-async-to-generator": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", - "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-wrap-function": "^7.16.8", - "@babel/types": "^7.16.8" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-replace-supers": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", - "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", - "requires": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-member-expression-to-functions": "^7.16.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "requires": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/helper-simple-access": { - "version": "7.17.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz", - "integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==", - "requires": { - "@babel/types": "^7.17.0" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", - "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", - "requires": { - "@babel/types": "^7.16.0" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - } - } - }, - "@babel/helper-validator-identifier": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", - "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==" - }, - "@babel/helper-validator-option": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", - "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==" - }, - "@babel/helper-wrap-function": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", - "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", - "requires": { - "@babel/helper-function-name": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.8", - "@babel/types": "^7.16.8" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "requires": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/helpers": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.0.tgz", - "integrity": "sha512-AE+HMYhmlMIbho9nbvicHyxFwhrO+xhKB6AhRxzl8w46Yj0VXTZjEsAoBVC7rB2I0jzX+yWyVybnO08qkfx6kg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/generator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.0.tgz", - "integrity": "sha512-81YO9gGx6voPXlvYdZBliFXAZU8vZ9AZ6z+CjlmcnaeOcYSFbMTpdeDUO9xD9dh/68Vq03I8ZspfUTPfitcDHg==", - "requires": { - "@babel/types": "^7.18.0", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/traverse": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.0.tgz", - "integrity": "sha512-oNOO4vaoIQoGjDQ84LgtF/IAlxlyqL4TUuoQ7xLkQETFaHkY1F7yazhB4Kt3VcZGL0ZF/jhrEpnXqUb0M7V3sw==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/highlight": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", - "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", - "requires": { - "@babel/helper-validator-identifier": "^7.10.4", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "dependencies": { - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz", - "integrity": "sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz", - "integrity": "sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-proposal-optional-chaining": "^7.17.12" - } - }, - "@babel/plugin-proposal-async-generator-functions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz", - "integrity": "sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-remap-async-to-generator": "^7.16.8", - "@babel/plugin-syntax-async-generators": "^7.8.4" - } - }, - "@babel/plugin-proposal-class-properties": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz", - "integrity": "sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw==", - "requires": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-proposal-class-static-block": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz", - "integrity": "sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA==", - "requires": { - "@babel/helper-create-class-features-plugin": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - } - }, - "@babel/plugin-proposal-dynamic-import": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", - "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - } - }, - "@babel/plugin-proposal-export-namespace-from": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz", - "integrity": "sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - } - }, - "@babel/plugin-proposal-json-strings": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz", - "integrity": "sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-json-strings": "^7.8.3" - } - }, - "@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz", - "integrity": "sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - } - }, - "@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz", - "integrity": "sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - } - }, - "@babel/plugin-proposal-numeric-separator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", - "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - } - }, - "@babel/plugin-proposal-object-rest-spread": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz", - "integrity": "sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw==", - "requires": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.17.12" - } - }, - "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", - "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - } - }, - "@babel/plugin-proposal-optional-chaining": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz", - "integrity": "sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - } - }, - "@babel/plugin-proposal-private-methods": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz", - "integrity": "sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A==", - "requires": { - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-proposal-private-property-in-object": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz", - "integrity": "sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg==", - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-create-class-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - } - }, - "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz", - "integrity": "sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A==", - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "requires": { - "@babel/helper-plugin-utils": "^7.12.13" - } - }, - "@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.3" - } - }, - "@babel/plugin-syntax-import-assertions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz", - "integrity": "sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-arrow-functions": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz", - "integrity": "sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-async-to-generator": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz", - "integrity": "sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ==", - "requires": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-remap-async-to-generator": "^7.16.8" - } - }, - "@babel/plugin-transform-block-scoped-functions": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", - "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-block-scoping": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.17.12.tgz", - "integrity": "sha512-jw8XW/B1i7Lqwqj2CbrViPcZijSxfguBWZP2aN59NHgxUyO/OcO1mfdCxH13QhN5LbWhPkX+f+brKGhZTiqtZQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-classes": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.17.12.tgz", - "integrity": "sha512-cvO7lc7pZat6BsvH6l/EGaI8zpl8paICaoGk+7x7guvtfak/TbIf66nYmJOH13EuG0H+Xx3M+9LQDtSvZFKXKw==", - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "globals": "^11.1.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", - "requires": { - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/plugin-transform-computed-properties": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz", - "integrity": "sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-destructuring": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz", - "integrity": "sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-dotall-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", - "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-duplicate-keys": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz", - "integrity": "sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-exponentiation-operator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", - "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", - "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-for-of": { - "version": "7.18.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz", - "integrity": "sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-function-name": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", - "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", - "requires": { - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", - "requires": { - "@babel/highlight": "^7.16.7" - } - }, - "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", - "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.0.tgz", - "integrity": "sha512-AqDccGC+m5O/iUStSJy3DGRIUFu7WbY/CppZYwrEUB4N0tZlnI8CSTsgL7v5fHVFmUbRv2sd+yy27o8Ydt4MGg==" - }, - "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "@babel/plugin-transform-literals": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz", - "integrity": "sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-member-expression-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", - "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-modules-amd": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz", - "integrity": "sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA==", - "requires": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-commonjs": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.0.tgz", - "integrity": "sha512-cCeR0VZWtfxWS4YueAK2qtHtBPJRSaJcMlbS8jhSIm/A3E2Kpro4W1Dn4cqJtp59dtWfXjQwK7SPKF8ghs7rlw==", - "requires": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-simple-access": "^7.17.7", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-systemjs": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.0.tgz", - "integrity": "sha512-vwKpxdHnlM5tIrRt/eA0bzfbi7gUBLN08vLu38np1nZevlPySRe6yvuATJB5F/WPJ+ur4OXwpVYq9+BsxqAQuQ==", - "requires": { - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-identifier": "^7.16.7", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - } - } - }, - "@babel/plugin-transform-modules-umd": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz", - "integrity": "sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA==", - "requires": { - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz", - "integrity": "sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA==", - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.17.12", - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-new-target": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.17.12.tgz", - "integrity": "sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-object-super": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", - "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7" - } - }, - "@babel/plugin-transform-parameters": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz", - "integrity": "sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-property-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", - "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-regenerator": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz", - "integrity": "sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "regenerator-transform": "^0.15.0" - } - }, - "@babel/plugin-transform-reserved-words": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz", - "integrity": "sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-shorthand-properties": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", - "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-spread": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz", - "integrity": "sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" - } - }, - "@babel/plugin-transform-sticky-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", - "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-template-literals": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.17.12.tgz", - "integrity": "sha512-kAKJ7DX1dSRa2s7WN1xUAuaQmkTpN+uig4wCKWivVXIObqGbVTUlSavHyfI2iZvz89GFAMGm9p2DBJ4Y1Tp0hw==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-typeof-symbol": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz", - "integrity": "sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw==", - "requires": { - "@babel/helper-plugin-utils": "^7.17.12" - } - }, - "@babel/plugin-transform-unicode-escapes": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", - "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", - "requires": { - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/plugin-transform-unicode-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", - "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" - } - }, - "@babel/polyfill": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.12.1.tgz", - "integrity": "sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==", - "requires": { - "core-js": "^2.6.5", - "regenerator-runtime": "^0.13.4" - }, - "dependencies": { - "core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" - } - } - }, - "@babel/preset-env": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.0.tgz", - "integrity": "sha512-cP74OMs7ECLPeG1reiCQ/D/ypyOxgfm8uR6HRYV23vTJ7Lu1nbgj9DQDo/vH59gnn7GOAwtTDPPYV4aXzsMKHA==", - "requires": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-compilation-targets": "^7.17.10", - "@babel/helper-plugin-utils": "^7.17.12", - "@babel/helper-validator-option": "^7.16.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.17.12", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.17.12", - "@babel/plugin-proposal-async-generator-functions": "^7.17.12", - "@babel/plugin-proposal-class-properties": "^7.17.12", - "@babel/plugin-proposal-class-static-block": "^7.18.0", - "@babel/plugin-proposal-dynamic-import": "^7.16.7", - "@babel/plugin-proposal-export-namespace-from": "^7.17.12", - "@babel/plugin-proposal-json-strings": "^7.17.12", - "@babel/plugin-proposal-logical-assignment-operators": "^7.17.12", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12", - "@babel/plugin-proposal-numeric-separator": "^7.16.7", - "@babel/plugin-proposal-object-rest-spread": "^7.18.0", - "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", - "@babel/plugin-proposal-optional-chaining": "^7.17.12", - "@babel/plugin-proposal-private-methods": "^7.17.12", - "@babel/plugin-proposal-private-property-in-object": "^7.17.12", - "@babel/plugin-proposal-unicode-property-regex": "^7.17.12", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.17.12", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.17.12", - "@babel/plugin-transform-async-to-generator": "^7.17.12", - "@babel/plugin-transform-block-scoped-functions": "^7.16.7", - "@babel/plugin-transform-block-scoping": "^7.17.12", - "@babel/plugin-transform-classes": "^7.17.12", - "@babel/plugin-transform-computed-properties": "^7.17.12", - "@babel/plugin-transform-destructuring": "^7.18.0", - "@babel/plugin-transform-dotall-regex": "^7.16.7", - "@babel/plugin-transform-duplicate-keys": "^7.17.12", - "@babel/plugin-transform-exponentiation-operator": "^7.16.7", - "@babel/plugin-transform-for-of": "^7.17.12", - "@babel/plugin-transform-function-name": "^7.16.7", - "@babel/plugin-transform-literals": "^7.17.12", - "@babel/plugin-transform-member-expression-literals": "^7.16.7", - "@babel/plugin-transform-modules-amd": "^7.18.0", - "@babel/plugin-transform-modules-commonjs": "^7.18.0", - "@babel/plugin-transform-modules-systemjs": "^7.18.0", - "@babel/plugin-transform-modules-umd": "^7.18.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.17.12", - "@babel/plugin-transform-new-target": "^7.17.12", - "@babel/plugin-transform-object-super": "^7.16.7", - "@babel/plugin-transform-parameters": "^7.17.12", - "@babel/plugin-transform-property-literals": "^7.16.7", - "@babel/plugin-transform-regenerator": "^7.18.0", - "@babel/plugin-transform-reserved-words": "^7.17.12", - "@babel/plugin-transform-shorthand-properties": "^7.16.7", - "@babel/plugin-transform-spread": "^7.17.12", - "@babel/plugin-transform-sticky-regex": "^7.16.7", - "@babel/plugin-transform-template-literals": "^7.17.12", - "@babel/plugin-transform-typeof-symbol": "^7.17.12", - "@babel/plugin-transform-unicode-escapes": "^7.16.7", - "@babel/plugin-transform-unicode-regex": "^7.16.7", - "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.18.0", - "babel-plugin-polyfill-corejs2": "^0.3.0", - "babel-plugin-polyfill-corejs3": "^0.5.0", - "babel-plugin-polyfill-regenerator": "^0.3.0", - "core-js-compat": "^3.22.1", - "semver": "^6.3.0" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" - }, - "@babel/types": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.0.tgz", - "integrity": "sha512-vhAmLPAiC8j9K2GnsnLPCIH5wCrPpYIVBCWRBFDCB7Y/BXLqi/O+1RSTTM2bsmg6U/551+FCf9PNPxjABmxHTw==", - "requires": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "@babel/preset-modules": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", - "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - } - }, - "@babel/runtime": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.0.tgz", - "integrity": "sha512-YMQvx/6nKEaucl0MY56mwIG483xk8SDNdlUwb2Ts6FUpr7fm85DxEmsY18LXBNhcTz6tO6JwZV8w1W06v8UKeg==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@babel/types": { - "version": "7.12.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.6.tgz", - "integrity": "sha512-hwyjw6GvjBLiyy3W0YQf0Z5Zf4NpYejUnKFcfcUhZCSffoBBp30w6wP2Wn6pk31jMYZvcOrB/1b7cGXvEoKogA==", - "requires": { - "@babel/helper-validator-identifier": "^7.10.4", - "lodash": "^4.17.19", - "to-fast-properties": "^2.0.0" - } - }, - "@electron/get": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/@electron/get/-/get-1.13.0.tgz", - "integrity": "sha512-+SjZhRuRo+STTO1Fdhzqnv9D2ZhjxXP6egsJ9kiO8dtP68cDx7dFCwWi64dlMQV7sWcfW1OYCW4wviEBzmRsfQ==", - "requires": { - "debug": "^4.1.1", - "env-paths": "^2.2.0", - "fs-extra": "^8.1.0", - "global-agent": "^2.0.2", - "global-tunnel-ng": "^2.7.1", - "got": "^9.6.0", - "progress": "^2.0.3", - "semver": "^6.2.0", - "sumchecker": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "@electron/remote": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@electron/remote/-/remote-2.0.8.tgz", - "integrity": "sha512-P10v3+iFCIvEPeYzTWWGwwHmqWnjoh8RYnbtZAb3RlQefy4guagzIwcWtfftABIfm6JJTNQf4WPSKWZOpLmHXw==", - "requires": {} - }, - "@eslint/eslintrc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", - "integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==", - "requires": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.3.2", - "globals": "^13.15.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "requires": { - "ms": "2.1.2" - } - }, - "globals": { - "version": "13.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", - "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", - "requires": { - "type-fest": "^0.20.2" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" - } - } - }, - "@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==" - }, - "@humanwhocodes/config-array": { - "version": "0.9.5", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", - "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", - "requires": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.4" - }, - "dependencies": { - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" - }, - "@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==" - }, - "@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==" - }, - "@jridgewell/sourcemap-codec": { - "version": "1.4.13", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", - "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==" - }, - "@jridgewell/trace-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz", - "integrity": "sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==", - "requires": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "@malept/cross-spawn-promise": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@malept/cross-spawn-promise/-/cross-spawn-promise-1.1.1.tgz", - "integrity": "sha512-RTBGWL5FWQcg9orDOCcp4LvItNzUPcyEU9bwaeJX0rJ1IQxzucC48Y0/sQLp/g6t99IQgAlGIaesJS+gTn7tVQ==", - "optional": true, - "requires": { - "cross-spawn": "^7.0.1" - } - }, - "@npmcli/fs": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", - "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", - "requires": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" - } - }, - "@npmcli/move-file": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", - "requires": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "@serialport/binding-abstract": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@serialport/binding-abstract/-/binding-abstract-9.2.4.tgz", - "integrity": "sha512-UESvncat2oQKnAp29eDVJ2jB9sADatCgoojPPB4RVvp3+3Wqu5QVEh/UCjHRUeDJ20fkSFnKAw9D0vNoBQ+5Kw==", - "optional": true, - "requires": { - "debug": "^4.3.2" - }, - "dependencies": { - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "requires": { - "ms": "2.1.2" - } - } - } - }, - "@serialport/binding-mock": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/binding-mock/-/binding-mock-9.0.7.tgz", - "integrity": "sha512-aR8H+htZwwZZkVb1MdbnNvGWw8eXVRqQ2qPhkbKyx0N/LY5aVIgCgT98Kt1YylLsG7SzNG+Jbhd4wzwEuPVT5Q==", - "optional": true, - "requires": { - "@serialport/binding-abstract": "^9.0.7", - "debug": "^4.3.1" - }, - "dependencies": { - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "requires": { - "ms": "2.1.2" - } - } - } - }, - "@serialport/bindings": { - "version": "9.2.9", - "resolved": "https://registry.npmjs.org/@serialport/bindings/-/bindings-9.2.9.tgz", - "integrity": "sha512-An7PiVlyNMx/0RDnSBxFHIsd4kt0/zPlDALlTjhVQKXbG6e0xRqLKbkoZVzHMS8rg7HzCu8G1nplifoAwNm5Lg==", - "optional": true, - "requires": { - "@serialport/binding-abstract": "9.2.3", - "@serialport/parser-readline": "9.2.4", - "bindings": "^1.5.0", - "debug": "^4.3.2", - "nan": "^2.15.0", - "prebuild-install": "^7.0.0" - }, - "dependencies": { - "@serialport/binding-abstract": { - "version": "9.2.3", - "resolved": "https://registry.npmjs.org/@serialport/binding-abstract/-/binding-abstract-9.2.3.tgz", - "integrity": "sha512-cQs9tbIlG3P0IrOWyVirqlhWuJ7Ms2Zh9m2108z6Y5UW/iVj6wEOiW8EmK9QX9jmJXYllE7wgGgvVozP5oCj3w==", - "optional": true, - "requires": { - "debug": "^4.3.2" - } - }, - "@serialport/parser-delimiter": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@serialport/parser-delimiter/-/parser-delimiter-9.2.4.tgz", - "integrity": "sha512-4nvTAoYAgkxFiXrkI+3CA49Yd43CODjeszh89EK+I9c8wOZ+etZduRCzINYPiy26g7zO+GRAb9FoPCsY+sYcbQ==", - "optional": true - }, - "@serialport/parser-readline": { - "version": "9.2.4", - "resolved": "https://registry.npmjs.org/@serialport/parser-readline/-/parser-readline-9.2.4.tgz", - "integrity": "sha512-Z1/qrZTQUVhNSJP1hd9YfDvq0o7d87rNwAjjRKbVpa7Qi51tG5BnKt43IV3NFMyBlVcRe0rnIb3tJu57E0SOwg==", - "optional": true, - "requires": { - "@serialport/parser-delimiter": "9.2.4" - } - }, - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "requires": { - "ms": "2.1.2" - } - } - } - }, - "@serialport/parser-byte-length": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-byte-length/-/parser-byte-length-9.0.7.tgz", - "integrity": "sha512-evf7oOOSBMBn2AZZbgBFMRIyEzlsyQkhqaPm7IBCPTxMDXRf4tKkFYJHYZB0/6d1W4eI0meH079UqmSsh/uoDA==", - "optional": true - }, - "@serialport/parser-cctalk": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-cctalk/-/parser-cctalk-9.0.7.tgz", - "integrity": "sha512-ert5jhMkeiTfr44TkbdySC09J8UwAsf/RxBucVN5Mz5enG509RggnkfFi4mfj3UCG2vZ7qsmM6gtZ62DshY02Q==", - "optional": true - }, - "@serialport/parser-delimiter": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-delimiter/-/parser-delimiter-9.0.7.tgz", - "integrity": "sha512-Vb2NPeXPZ/28M4m5x4OAHFd8jRAeddNCgvL+Q+H/hqFPY1w47JcMLchC7pigRW8Cnt1fklmzfwdNQ8Fb+kMkxQ==", - "optional": true - }, - "@serialport/parser-inter-byte-timeout": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-inter-byte-timeout/-/parser-inter-byte-timeout-9.0.7.tgz", - "integrity": "sha512-lUZ3cwgUluBvJ1jf+0LQsqoiPYAokDO6+fRCw9HCfnrF/OS60Gm4rxuyo2uQIueqZkJ7NIFP+ibKsULrA47AEA==", - "optional": true - }, - "@serialport/parser-readline": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-readline/-/parser-readline-9.0.7.tgz", - "integrity": "sha512-ydoLbgVQQPxWrwbe3Fhh4XnZexbkEQAC6M/qgRTzjnKvTjrD61CJNxLc3vyDaAPI9bJIhTiI7eTX3JB5jJv8Hg==", - "optional": true, - "requires": { - "@serialport/parser-delimiter": "^9.0.7" - } - }, - "@serialport/parser-ready": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-ready/-/parser-ready-9.0.7.tgz", - "integrity": "sha512-3qYhI4cNUPAYqVYvdwV57Y+PVRl4dJf1fPBtMoWtwDgwopsAXTR93WCs49WuUq9JCyNW+8Hrfqv8x8eNAD5Dqg==", - "optional": true - }, - "@serialport/parser-regex": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/parser-regex/-/parser-regex-9.0.7.tgz", - "integrity": "sha512-5XF+FXbhqQ/5bVKM4NaGs1m+E9KjfmeCx/obwsKaUZognQF67jwoTfjJJWNP/21jKfxdl8XoCYjZjASl3XKRAw==", - "optional": true - }, - "@serialport/stream": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@serialport/stream/-/stream-9.0.7.tgz", - "integrity": "sha512-c/h7HPAeFiryD9iTGlaSvPqHFHSZ0NMQHxC4rcmKS2Vu3qJuEtkBdTLABwsMp7iWEiSnI4KC3s7bHapaXP06FQ==", - "optional": true, - "requires": { - "debug": "^4.3.1" - }, - "dependencies": { - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "requires": { - "ms": "2.1.2" - } - } - } - }, - "@sindresorhus/is": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", - "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" - }, - "@szmarczak/http-timer": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", - "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", - "requires": { - "defer-to-connect": "^1.0.1" - } - }, - "@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==" - }, - "@types/fs-extra": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.4.tgz", - "integrity": "sha512-50GO5ez44lxK5MDH90DYHFFfqxH7+fTqEEnvguQRzJ/tY9qFrMSHLiYHite+F3SNmf7+LHC1eMXojuD+E3Qcyg==", - "optional": true, - "requires": { - "@types/node": "*" - } - }, - "@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", - "optional": true, - "requires": { - "@types/minimatch": "*", - "@types/node": "*" - } - }, - "@types/minimatch": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", - "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", - "optional": true - }, - "@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" - }, - "@types/node": { - "version": "16.11.36", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.36.tgz", - "integrity": "sha512-FR5QJe+TaoZ2GsMHkjuwoNabr+UrJNRr2HNOo+r/7vhcuntM6Ee/pRPOnRhhL2XE9OOvX9VLEq+BcXl3VjNoWA==", - "optional": true - }, - "@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" - }, - "@types/yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", - "optional": true, - "requires": { - "@types/node": "*" - } - }, - "7zip": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/7zip/-/7zip-0.0.6.tgz", - "integrity": "sha1-nK+xca+CMpSQNTtIFvAzR6oVCjA=" - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" - }, - "ace-builds": { - "version": "1.24.1", - "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.24.1.tgz", - "integrity": "sha512-TLcxMxiTRX5Eq9bBVSd/bTJlanCBULiv/IULLohJDDaCAfcpZKJBVSd4OWfN/j2c2jCLc+jhpNWGELiJZw3wPw==" - }, - "acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" - }, - "acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "requires": {} - }, - "acorn-node": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", - "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", - "requires": { - "acorn": "^7.0.0", - "acorn-walk": "^7.0.0", - "xtend": "^4.0.2" - } - }, - "acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" - }, - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { - "debug": "4" - } - }, - "agentkeepalive": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", - "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", - "requires": { - "debug": "^4.1.0", - "depd": "^1.1.2", - "humanize-ms": "^1.2.1" - } - }, - "aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "requires": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - } - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-align": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", - "requires": { - "string-width": "^4.1.0" - } - }, - "ansi-html": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.9.tgz", - "integrity": "sha512-ozbS3LuenHVxNRh/wdnN16QapUHzauqSomAl1jwwJRRsGwFwtj644lIhxfWu0Fy0acCij2+AEgHvjscq3dlVXg==" - }, - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "apache-crypt": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/apache-crypt/-/apache-crypt-1.2.5.tgz", - "integrity": "sha512-ICnYQH+DFVmw+S4Q0QY2XRXD8Ne8ewh8HgbuFH4K7022zCxgHM0Hz1xkRnUlEfAXNbwp1Cnhbedu60USIfDxvg==", - "requires": { - "unix-crypt-td-js": "^1.1.4" - } - }, - "apache-md5": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/apache-md5/-/apache-md5-1.1.7.tgz", - "integrity": "sha512-JtHjzZmJxtzfTSjsCyHgPR155HBe5WGyUyHTaEkfy46qhwCFKx1Epm6nAxgUG3WfUZP1dWhGqj9Z2NOBeZ+uBw==" - }, - "aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - }, - "are-we-there-yet": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", - "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", - "optional": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" - }, - "array-filter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", - "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=" - }, - "array-flatten": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", - "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==" - }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==" - }, - "asar": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/asar/-/asar-3.0.3.tgz", - "integrity": "sha512-k7zd+KoR+n8pl71PvgElcoKHrVNiSXtw7odKbyNpmgKe7EGRF9Pnu3uLOukD37EvavKwVFxOUpqXTIZC5B5Pmw==", - "optional": true, - "requires": { - "@types/glob": "^7.1.1", - "chromium-pickle-js": "^0.2.0", - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - }, - "dependencies": { - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "optional": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" - }, - "dependencies": { - "bn.js": { - "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" - } - } - }, - "assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", - "requires": { - "object-assign": "^4.1.1", - "util": "0.10.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "requires": { - "inherits": "2.0.1" - } - } - } - }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" - }, - "async-foreach": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", - "integrity": "sha512-VUeSMD8nEGBWaZK4lizI1sf3yEC7pnAQ/mrI7pC2fBz2s/tq5jWWEngTwaf0Gruu/OoXRGLGg1XFqpYBiGTYJA==" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" - }, - "author-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/author-regex/-/author-regex-1.0.0.tgz", - "integrity": "sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA=" - }, - "available-typed-arrays": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", - "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", - "requires": { - "array-filter": "^1.0.0" - } - }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" - }, - "aws4": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "requires": { - "object.assign": "^4.1.0" - } - }, - "babel-plugin-polyfill-corejs2": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", - "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", - "requires": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.3.1", - "semver": "^6.1.1" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "babel-plugin-polyfill-corejs3": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", - "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", - "requires": { - "@babel/helper-define-polyfill-provider": "^0.3.1", - "core-js-compat": "^3.21.0" - } - }, - "babel-plugin-polyfill-regenerator": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", - "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", - "requires": { - "@babel/helper-define-polyfill-provider": "^0.3.1" - } - }, - "babelify": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/babelify/-/babelify-10.0.0.tgz", - "integrity": "sha512-X40FaxyH7t3X+JFAKvb1H9wooWKLRCi8pg3m8poqtdZaIng+bjzp9RvKQCvRjF9isHiPkXspbbXT/zwXLtwgwg==", - "requires": {} - }, - "balanced-match": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz", - "integrity": "sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==" - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "requires": { - "tweetnacl": "^0.14.3" - } - }, - "bcryptjs": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.4.3.tgz", - "integrity": "sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==" - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" - }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "optional": true, - "requires": { - "file-uri-to-path": "1.0.0" - } - }, - "bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "optional": true, - "requires": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - }, - "dependencies": { - "buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "optional": true, - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "optional": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "bn.js": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.1.3.tgz", - "integrity": "sha512-GkTiFpjFtUzU9CbMeJ5iazkCzGL3jrhzerzZIuqLABjbwRaFt33I9tUdSNryIptM+RxDet6OKm2WnLXzW51KsQ==" - }, - "bonjour": { - "version": "git+ssh://git@github.com/jean-emmanuel/bonjour.git#33d7fa28c568d05cb7ffda1fd2b20f4cc364e273", - "integrity": "sha512-uP84XiLw4iMP+03GUQbK5euEMQ+ThOhg83yQJ1My0lu7hXfn7I8g8QQxgSPG3+Q8UcGzZ847Iq7PRSJQccFPnA==", - "from": "bonjour@github:jean-emmanuel/bonjour", - "requires": { - "array-flatten": "^2.1.0", - "deep-equal": "^1.0.1", - "dns-equal": "^1.0.0", - "dns-txt": "github:jean-emmanuel/dns-txt#v2.0.3", - "multicast-dns": "github:jean-emmanuel/multicast-dns", - "multicast-dns-service-types": "^1.1.0" - } - }, - "boolean": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.1.4.tgz", - "integrity": "sha512-3hx0kwU3uzG6ReQ3pnaFQPSktpBw6RHN3/ivDKEuU8g1XSfafowyvDnadjv1xp8IZqhtSukxlwv9bF6FhX8m0w==", - "optional": true - }, - "boxen": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", - "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", - "requires": { - "ansi-align": "^3.0.0", - "camelcase": "^6.2.0", - "chalk": "^4.1.0", - "cli-boxes": "^2.2.1", - "string-width": "^4.2.2", - "type-fest": "^0.20.2", - "widest-line": "^3.1.0", - "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - } - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - }, - "dependencies": { - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - } - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "requires": { - "fill-range": "^7.0.1" - } - }, - "brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" - }, - "browser-pack": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz", - "integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==", - "requires": { - "combine-source-map": "~0.8.0", - "defined": "^1.0.0", - "JSONStream": "^1.0.3", - "safe-buffer": "^5.1.1", - "through2": "^2.0.0", - "umd": "^3.0.0" - } - }, - "browser-process-hrtime": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", - "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==" - }, - "browser-resolve": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-2.0.0.tgz", - "integrity": "sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ==", - "requires": { - "resolve": "^1.17.0" - } - }, - "browserify": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/browserify/-/browserify-17.0.0.tgz", - "integrity": "sha512-SaHqzhku9v/j6XsQMRxPyBrSP3gnwmE27gLJYZgMT2GeK3J0+0toN+MnuNYDfHwVGQfLiMZ7KSNSIXHemy905w==", - "requires": { - "assert": "^1.4.0", - "browser-pack": "^6.0.1", - "browser-resolve": "^2.0.0", - "browserify-zlib": "~0.2.0", - "buffer": "~5.2.1", - "cached-path-relative": "^1.0.0", - "concat-stream": "^1.6.0", - "console-browserify": "^1.1.0", - "constants-browserify": "~1.0.0", - "crypto-browserify": "^3.0.0", - "defined": "^1.0.0", - "deps-sort": "^2.0.1", - "domain-browser": "^1.2.0", - "duplexer2": "~0.1.2", - "events": "^3.0.0", - "glob": "^7.1.0", - "has": "^1.0.0", - "htmlescape": "^1.1.0", - "https-browserify": "^1.0.0", - "inherits": "~2.0.1", - "insert-module-globals": "^7.2.1", - "JSONStream": "^1.0.3", - "labeled-stream-splicer": "^2.0.0", - "mkdirp-classic": "^0.5.2", - "module-deps": "^6.2.3", - "os-browserify": "~0.3.0", - "parents": "^1.0.1", - "path-browserify": "^1.0.0", - "process": "~0.11.0", - "punycode": "^1.3.2", - "querystring-es3": "~0.2.0", - "read-only-stream": "^2.0.0", - "readable-stream": "^2.0.2", - "resolve": "^1.1.4", - "shasum-object": "^1.0.0", - "shell-quote": "^1.6.1", - "stream-browserify": "^3.0.0", - "stream-http": "^3.0.0", - "string_decoder": "^1.1.1", - "subarg": "^1.0.0", - "syntax-error": "^1.1.1", - "through2": "^2.0.0", - "timers-browserify": "^1.0.1", - "tty-browserify": "0.0.1", - "url": "~0.11.0", - "util": "~0.12.0", - "vm-browserify": "^1.0.0", - "xtend": "^4.0.0" - } - }, - "browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", - "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", - "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "requires": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - } - }, - "browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "requires": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", - "create-hash": "^1.2.0", - "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", - "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - } - } - }, - "browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "requires": { - "pako": "~1.0.5" - } - }, - "browserslist": { - "version": "4.20.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", - "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", - "requires": { - "caniuse-lite": "^1.0.30001332", - "electron-to-chromium": "^1.4.118", - "escalade": "^3.1.1", - "node-releases": "^2.0.3", - "picocolors": "^1.0.0" - } - }, - "buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", - "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", - "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" - } - }, - "buffer-alloc": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", - "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", - "requires": { - "buffer-alloc-unsafe": "^1.1.0", - "buffer-fill": "^1.0.0" - } - }, - "buffer-alloc-unsafe": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", - "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" - }, - "buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" - }, - "buffer-fill": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", - "integrity": "sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==" - }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" - }, - "buffer-indexof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", - "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==" - }, - "buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" - }, - "builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" - }, - "cacache": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", - "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", - "requires": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", - "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", - "unique-filename": "^1.1.1" - }, - "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "cacheable-request": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", - "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", - "requires": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^3.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", - "responselike": "^1.0.2" - }, - "dependencies": { - "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==", - "requires": { - "pump": "^3.0.0" - } - }, - "lowercase-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", - "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" - } - } - }, - "cached-path-relative": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz", - "integrity": "sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==" - }, - "call-bind": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", - "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.0" - } - }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" - }, - "camel-case": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", - "integrity": "sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==", - "requires": { - "no-case": "^2.2.0", - "upper-case": "^1.1.1" - } - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" - }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - } - }, - "caniuse-lite": { - "version": "1.0.30001342", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001342.tgz", - "integrity": "sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA==" - }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" - }, - "chroma-js": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-2.4.2.tgz", - "integrity": "sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A==" - }, - "chromium-pickle-js": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/chromium-pickle-js/-/chromium-pickle-js-0.2.0.tgz", - "integrity": "sha1-BKEGZywYsIWrd02YPfo+oTjyIgU=" - }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" - }, - "cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" - }, - "cli-boxes": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==" - }, - "cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - } - }, - "clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "requires": { - "mimic-response": "^1.0.0" - } - }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "optional": true - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==" - }, - "combine-source-map": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz", - "integrity": "sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=", - "requires": { - "convert-source-map": "~1.1.0", - "inline-source-map": "~0.6.0", - "lodash.memoize": "~3.0.3", - "source-map": "~0.5.3" - }, - "dependencies": { - "convert-source-map": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", - "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=" - } - } - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "commander": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" - }, - "compare-version": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/compare-version/-/compare-version-0.1.2.tgz", - "integrity": "sha1-AWLsLZNR9d3VmpICy6k1NmpyUIA=" - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "config-chain": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", - "optional": true, - "requires": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" - } - }, - "configstore": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", - "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", - "requires": { - "dot-prop": "^5.2.0", - "graceful-fs": "^4.1.2", - "make-dir": "^3.0.0", - "unique-string": "^2.0.0", - "write-file-atomic": "^3.0.0", - "xdg-basedir": "^4.0.0" - } - }, - "console-browserify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", - "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" - }, - "constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" - }, - "convert-source-map": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "requires": { - "safe-buffer": "~5.1.1" - } - }, - "core-js": { - "version": "3.22.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.22.5.tgz", - "integrity": "sha512-VP/xYuvJ0MJWRAobcmQ8F2H6Bsn+s7zqAAjFaHGBMc5AQm7zaelhD1LGduFn2EehEcQcU+br6t+fwbpQ5d1ZWA==" - }, - "core-js-compat": { - "version": "3.22.5", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.5.tgz", - "integrity": "sha512-rEF75n3QtInrYICvJjrAgV03HwKiYvtKHdPtaba1KucG+cNZ4NJnH9isqt979e67KZlhpbCOTwnsvnIr+CVeOg==", - "requires": { - "browserslist": "^4.20.3", - "semver": "7.0.0" - }, - "dependencies": { - "semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==" - } - } - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "cpr": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/cpr/-/cpr-3.0.1.tgz", - "integrity": "sha1-uaVQOLfNgaNcF7l2GJW9hJau8eU=", - "requires": { - "graceful-fs": "^4.1.5", - "minimist": "^1.2.0", - "mkdirp": "~0.5.1", - "rimraf": "^2.5.4" - } - }, - "create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - }, - "dependencies": { - "bn.js": { - "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" - } - } - }, - "create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, - "create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", - "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "cross-unzip": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/cross-unzip/-/cross-unzip-0.0.2.tgz", - "integrity": "sha1-UYO8R6CVWb78+YzEZXlkmZNZNy8=" - }, - "crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" - } - }, - "crypto-random-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==" - }, - "dash-ast": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz", - "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==" - }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "requires": { - "assert-plus": "^1.0.0" - } - }, - "debug": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", - "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", - "requires": { - "ms": "2.1.2" - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, - "decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", - "requires": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "dependencies": { - "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" - } - } - }, - "decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "requires": { - "mimic-response": "^1.0.0" - } - }, - "deep-equal": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", - "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", - "requires": { - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0" - } - }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" - }, - "deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" - }, - "defer-to-connect": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", - "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" - }, - "define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==" - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "requires": { - "object-keys": "^1.0.12" - } - }, - "defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=" - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "deps-sort": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.1.tgz", - "integrity": "sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw==", - "requires": { - "JSONStream": "^1.0.3", - "shasum-object": "^1.0.0", - "subarg": "^1.0.0", - "through2": "^2.0.0" - } - }, - "des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, - "destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" - }, - "detect-libc": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", - "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", - "optional": true - }, - "detect-node": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", - "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "optional": true - }, - "detective": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", - "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==", - "requires": { - "acorn-node": "^1.6.1", - "defined": "^1.0.0", - "minimist": "^1.1.1" - } - }, - "diff-match-patch": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/diff-match-patch/-/diff-match-patch-1.0.5.tgz", - "integrity": "sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==" - }, - "diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - }, - "dependencies": { - "bn.js": { - "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" - } - } - }, - "dijkstrajs": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.2.tgz", - "integrity": "sha512-QV6PMaHTCNmKSeP6QoXhVTw9snc9VD8MulTT0Bd99Pacp4SS1cjcrYPgBPmibqKVtMJJfqC6XvOXgPMEEPH/fg==" - }, - "dns-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=" - }, - "dns-packet": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", - "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", - "requires": { - "ip": "^1.1.0", - "safe-buffer": "^5.0.1" - } - }, - "dns-txt": { - "version": "git+ssh://git@github.com/jean-emmanuel/dns-txt.git#3bee7785c32d8bc71230d5e01383c61fb72a4b4f", - "integrity": "sha512-XcsrGSyODgkk304uVhqhggMfaG/NFjfEIZBh6eIpaLVR0/Wq+Z66ZV6SEomvt2/gBt611zghU16mX5Hebtf/TQ==", - "from": "dns-txt@github:jean-emmanuel/dns-txt#v2.0.3", - "requires": { - "buffer-indexof": "^1.0.0" - } - }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "requires": { - "esutils": "^2.0.2" - } - }, - "dom-serializer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - }, - "dependencies": { - "domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", - "requires": { - "domelementtype": "^2.2.0" - } - } - } - }, - "domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==" - }, - "domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==" - }, - "domhandler": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", - "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", - "requires": { - "domelementtype": "^2.0.1" - } - }, - "domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", - "requires": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - }, - "dependencies": { - "domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", - "requires": { - "domelementtype": "^2.2.0" - } - } - } - }, - "dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "requires": { - "is-obj": "^2.0.0" - } - }, - "duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", - "requires": { - "readable-stream": "^2.0.2" - } - }, - "duplexer3": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "electron": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-15.1.0.tgz", - "integrity": "sha512-QZJKZdrOG2G9lyOrDpCHh+arMrj7ZVVBulrukhNXwCeCEHgNLTVULEQzMOB9AVXUbIs+FthcddlMgcgpaErohw==", - "requires": { - "@electron/get": "^1.13.0", - "@types/node": "^14.6.2", - "extract-zip": "^1.0.3" - }, - "dependencies": { - "@types/node": { - "version": "14.18.21", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.21.tgz", - "integrity": "sha512-x5W9s+8P4XteaxT/jKF0PSb7XEvo5VmqEWgsMlyeY4ZlLK8I6aH6g5TPPyDlLAep+GYf4kefb7HFyc7PAO3m+Q==" - } - } - }, - "electron-installer-common": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/electron-installer-common/-/electron-installer-common-0.10.3.tgz", - "integrity": "sha512-mYbP+6i+nHMIm0WZHXgGdmmXMe+KXncl6jZYQNcCF9C1WsNA9C5SZ2VP4TLQMSIoFO+X4ugkMEA5uld1bmyEvA==", - "optional": true, - "requires": { - "@malept/cross-spawn-promise": "^1.0.0", - "@types/fs-extra": "^9.0.1", - "asar": "^3.0.0", - "debug": "^4.1.1", - "fs-extra": "^9.0.0", - "glob": "^7.1.4", - "lodash": "^4.17.15", - "parse-author": "^2.0.0", - "semver": "^7.1.1", - "tmp-promise": "^3.0.2" - }, - "dependencies": { - "fs-extra": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", - "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", - "optional": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^1.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "optional": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - }, - "dependencies": { - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "optional": true - } - } - }, - "universalify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", - "optional": true - } - } - }, - "electron-installer-debian": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/electron-installer-debian/-/electron-installer-debian-3.1.0.tgz", - "integrity": "sha512-k6KChvx0Fw8XTlCqwwbBfh19yGQaKjGdbugokmr1IpzINOm4QFyACKMTHAYFHW5LCBUZQShZD96hwxUZ+8Kx+w==", - "optional": true, - "requires": { - "@malept/cross-spawn-promise": "^1.0.0", - "debug": "^4.1.1", - "electron-installer-common": "^0.10.2", - "fs-extra": "^9.0.0", - "get-folder-size": "^2.0.1", - "lodash": "^4.17.4", - "word-wrap": "^1.2.3", - "yargs": "^15.0.1" - }, - "dependencies": { - "fs-extra": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", - "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", - "optional": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^1.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "optional": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - }, - "dependencies": { - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "optional": true - } - } - }, - "universalify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", - "optional": true - }, - "yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "optional": true, - "requires": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - } - } - } - }, - "electron-installer-redhat": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/electron-installer-redhat/-/electron-installer-redhat-3.4.0.tgz", - "integrity": "sha512-gEISr3U32Sgtj+fjxUAlSDo3wyGGq6OBx7rF5UdpIgbnpUvMN4W5uYb0ThpnAZ42VEJh/3aODQXHbFS4f5J3Iw==", - "optional": true, - "requires": { - "@malept/cross-spawn-promise": "^1.0.0", - "debug": "^4.1.1", - "electron-installer-common": "^0.10.2", - "fs-extra": "^9.0.0", - "lodash": "^4.17.15", - "word-wrap": "^1.2.3", - "yargs": "^16.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "optional": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "optional": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "optional": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "optional": true - }, - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "optional": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "optional": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "optional": true - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "optional": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "optional": true - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "optional": true, - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "optional": true - } - } - }, - "electron-is-accelerator": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/electron-is-accelerator/-/electron-is-accelerator-0.1.2.tgz", - "integrity": "sha1-UJ5RDCala1Xhf4Y6SwThEYRqsns=" - }, - "electron-localshortcut": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/electron-localshortcut/-/electron-localshortcut-3.2.1.tgz", - "integrity": "sha512-DWvhKv36GsdXKnaFFhEiK8kZZA+24/yFLgtTwJJHc7AFgDjNRIBJZ/jq62Y/dWv9E4ypYwrVWN2bVrCYw1uv7Q==", - "requires": { - "debug": "^4.0.1", - "electron-is-accelerator": "^0.1.0", - "keyboardevent-from-electron-accelerator": "^2.0.0", - "keyboardevents-areequal": "^0.2.1" - } - }, - "electron-notarize": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/electron-notarize/-/electron-notarize-1.2.1.tgz", - "integrity": "sha512-u/ECWhIrhkSQpZM4cJzVZ5TsmkaqrRo5LDC/KMbGF0sPkm53Ng59+M0zp8QVaql0obfJy9vlVT+4iOkAi2UDlA==", - "requires": { - "debug": "^4.1.1", - "fs-extra": "^9.0.1" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" - } - } - }, - "electron-osx-sign": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/electron-osx-sign/-/electron-osx-sign-0.5.0.tgz", - "integrity": "sha512-icoRLHzFz/qxzDh/N4Pi2z4yVHurlsCAYQvsCSG7fCedJ4UJXBS6PoQyGH71IfcqKupcKeK7HX/NkyfG+v6vlQ==", - "requires": { - "bluebird": "^3.5.0", - "compare-version": "^0.1.2", - "debug": "^2.6.8", - "isbinaryfile": "^3.0.2", - "minimist": "^1.2.0", - "plist": "^3.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "electron-packager": { - "version": "15.2.0", - "resolved": "https://registry.npmjs.org/electron-packager/-/electron-packager-15.2.0.tgz", - "integrity": "sha512-BaklTBRQy1JTijR3hi8XxHf/uo76rHbDCNM/eQHSblzE9C0NoNfOe86nPxB7y1u2jwlqoEJ4zFiHpTFioKGGRA==", - "requires": { - "@electron/get": "^1.6.0", - "asar": "^3.0.0", - "debug": "^4.0.1", - "electron-notarize": "^1.0.0", - "electron-osx-sign": "^0.5.0", - "extract-zip": "^2.0.0", - "filenamify": "^4.1.0", - "fs-extra": "^9.0.0", - "galactus": "^0.2.1", - "get-package-info": "^1.0.0", - "junk": "^3.1.0", - "parse-author": "^2.0.0", - "plist": "^3.0.0", - "rcedit": "^2.0.0", - "resolve": "^1.1.6", - "semver": "^7.1.3", - "yargs-parser": "^20.0.0" - }, - "dependencies": { - "asar": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/asar/-/asar-3.1.0.tgz", - "integrity": "sha512-vyxPxP5arcAqN4F/ebHd/HhwnAiZtwhglvdmc7BR2f0ywbVNTOpSeyhLDbGXtE/y58hv1oC75TaNIXutnsOZsQ==", - "requires": { - "@types/glob": "^7.1.1", - "chromium-pickle-js": "^0.2.0", - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - } - }, - "extract-zip": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", - "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", - "requires": { - "@types/yauzl": "^2.9.1", - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - } - }, - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.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==", - "requires": { - "pump": "^3.0.0" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" - }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - } - } - }, - "electron-packager-plugin-non-proprietary-codecs-ffmpeg": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/electron-packager-plugin-non-proprietary-codecs-ffmpeg/-/electron-packager-plugin-non-proprietary-codecs-ffmpeg-1.0.2.tgz", - "integrity": "sha512-xPkbzndg2KODqmNe9yIx0dhNOfaOqrdNZ1ZSSZN4h1wT0T5SV/YES0tNyN932jQd+c5cFPv6AWYYjuPWKvcITg==", - "requires": { - "7zip": "0.0.6", - "cross-unzip": "0.0.2", - "mkdirp": "^0.5.1", - "request": "^2.73.0", - "semver": "^5.2.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, - "electron-to-chromium": { - "version": "1.4.137", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.137.tgz", - "integrity": "sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==" - }, - "elliptic": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", - "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", - "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" - }, - "dependencies": { - "bn.js": { - "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" - } - } - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "encode-utf8": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz", - "integrity": "sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==" - }, - "encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" - }, - "encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "optional": true, - "requires": { - "iconv-lite": "^0.6.2" - } - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "requires": { - "once": "^1.4.0" - } - }, - "entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" - }, - "env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" - }, - "err-code": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "error-stack-parser": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.0.6.tgz", - "integrity": "sha512-d51brTeqC+BHlwF0BhPtcYgF5nlzf9ZZ0ZIUQNZpc9ZB9qw5IJ2diTrBY9jlCJkTLITYPjmiX6OWCwH+fuyNgQ==", - "requires": { - "stackframe": "^1.1.1" - } - }, - "es-abstract": { - "version": "1.18.0-next.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", - "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.2.2", - "is-negative-zero": "^2.0.0", - "is-regex": "^1.1.1", - "object-inspect": "^1.8.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.1", - "string.prototype.trimend": "^1.0.1", - "string.prototype.trimstart": "^1.0.1" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "es6-error": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", - "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", - "optional": true - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" - }, - "escape-goat": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", - "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==" - }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - }, - "escaper": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/escaper/-/escaper-2.5.3.tgz", - "integrity": "sha512-QGb9sFxBVpbzMggrKTX0ry1oiI4CSDAl9vIL702hzl1jGW8VZs7qfqTRX7WDOjoNDoEVGcEtu1ZOQgReSfT2kQ==" - }, - "eslint": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.16.0.tgz", - "integrity": "sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==", - "requires": { - "@eslint/eslintrc": "^1.3.0", - "@humanwhocodes/config-array": "^0.9.2", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.1.1", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.2", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^6.0.1", - "globals": "^13.15.0", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "requires": { - "ms": "2.1.2" - } - }, - "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" - }, - "eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" - }, - "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "requires": { - "is-glob": "^4.0.3" - } - }, - "globals": { - "version": "13.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", - "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", - "requires": { - "type-fest": "^0.20.2" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" - } - } - }, - "eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - } - }, - "eslint-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", - "requires": { - "eslint-visitor-keys": "^2.0.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" - } - } - }, - "espree": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz", - "integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==", - "requires": { - "acorn": "^8.7.1", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" - }, - "dependencies": { - "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==" - }, - "eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" - } - } - }, - "esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", - "requires": { - "estraverse": "^5.1.0" - } - }, - "esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "requires": { - "estraverse": "^5.2.0" - } - }, - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" - }, - "estree-is-member-expression": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/estree-is-member-expression/-/estree-is-member-expression-1.0.0.tgz", - "integrity": "sha512-Ec+X44CapIGExvSZN+pGkmr5p7HwUVQoPQSd458Lqwvaf4/61k/invHSh4BYK8OXnCkfEhWuIoG5hayKLQStIg==" - }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" - }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" - }, - "events": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", - "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==" - }, - "evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, - "exorcist": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/exorcist/-/exorcist-2.0.0.tgz", - "integrity": "sha512-+c63SvhBq/HjmbV9cu9vkDkjXFiuI4lpqOZU5Y3t5GSV2l4TQCqVli9c7nIASHxkUL4THaOZDUcb6XNBI/eYjw==", - "requires": { - "is-stream": "^2.0.0", - "minimist": "^1.2.5", - "mkdirp": "^1.0.4", - "mold-source-map": "^0.4.0" - }, - "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - } - } - }, - "expand-template": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", - "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", - "optional": true - }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "extract-zip": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", - "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", - "requires": { - "concat-stream": "^1.6.2", - "debug": "^2.6.9", - "mkdirp": "^0.5.4", - "yauzl": "^2.10.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" - }, - "fast-safe-stringify": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", - "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==" - }, - "fastdom": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/fastdom/-/fastdom-1.0.10.tgz", - "integrity": "sha512-sbL4h358IlZn8VsTvA5TYnKVLYif46XhPEll+HTSxVtDSpqZEO/17D/QqlxE9V2K7AQ82GXeYeQLU2HWwKgk1A==", - "requires": { - "strictdom": "^1.0.1" - } - }, - "fd-slicer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", - "requires": { - "pend": "~1.2.0" - } - }, - "file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "requires": { - "flat-cache": "^3.0.4" - } - }, - "file-saver": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/file-saver/-/file-saver-2.0.5.tgz", - "integrity": "sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA==" - }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "optional": true - }, - "filename-reserved-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz", - "integrity": "sha1-q/c9+rc10EVECr/qLZHzieu/oik=" - }, - "filenamify": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz", - "integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==", - "requires": { - "filename-reserved-regex": "^2.0.0", - "strip-outer": "^1.0.1", - "trim-repeated": "^1.0.0" - } - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "requires": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "dependencies": { - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==" - }, - "flora-colossus": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/flora-colossus/-/flora-colossus-1.0.1.tgz", - "integrity": "sha512-d+9na7t9FyH8gBJoNDSi28mE4NgQVGGvxQ4aHtFRetjyh5SXjuus+V5EZaxFmFdXVemSOrx0lsgEl/ZMjnOWJA==", - "requires": { - "debug": "^4.1.1", - "fs-extra": "^7.0.0" - }, - "dependencies": { - "fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - } - } - }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" - }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" - }, - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, - "fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", - "optional": true - }, - "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==", - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "requires": { - "minipass": "^3.0.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" - }, - "galactus": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/galactus/-/galactus-0.2.1.tgz", - "integrity": "sha1-y+0tIKQMH1Z5o1kI4rlBVzPnjbk=", - "requires": { - "debug": "^3.1.0", - "flora-colossus": "^1.0.0", - "fs-extra": "^4.0.0" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "requires": { - "ms": "^2.1.1" - } - }, - "fs-extra": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - } - } - }, - "gar": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/gar/-/gar-1.0.4.tgz", - "integrity": "sha512-w4n9cPWyP7aHxKxYHFQMegj7WIAsL/YX/C4Bs5Rr8s1H9M1rNtRWRsw+ovYMkXDQ5S4ZbYHsHAPmevPjPgw44w==", - "optional": true - }, - "gauge": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", - "optional": true, - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "optional": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "optional": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "optional": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "optional": true, - "requires": { - "ansi-regex": "^2.0.0" - } - } - } - }, - "gaze": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", - "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", - "requires": { - "globule": "^1.0.0" - } - }, - "gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" - }, - "get-assigned-identifiers": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", - "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==" - }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - }, - "get-folder-size": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/get-folder-size/-/get-folder-size-2.0.1.tgz", - "integrity": "sha512-+CEb+GDCM7tkOS2wdMKTn9vU7DgnKUTuDlehkNJKNSovdCOVxs14OfKCk4cvSaR3za4gj+OBdl9opPN9xrJ0zA==", - "optional": true, - "requires": { - "gar": "^1.0.4", - "tiny-each-async": "2.0.3" - } - }, - "get-intrinsic": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", - "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "get-package-info": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-package-info/-/get-package-info-1.0.0.tgz", - "integrity": "sha1-ZDJ5ZWPigRPNlHTbvQAFKYWkmZw=", - "requires": { - "bluebird": "^3.1.1", - "debug": "^2.2.0", - "lodash.get": "^4.0.0", - "read-pkg-up": "^2.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "get-stdin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" - }, - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "requires": { - "pump": "^3.0.0" - } - }, - "getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "requires": { - "assert-plus": "^1.0.0" - } - }, - "github-from-package": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=", - "optional": true - }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "requires": { - "is-glob": "^4.0.1" - } - }, - "global-agent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-2.2.0.tgz", - "integrity": "sha512-+20KpaW6DDLqhG7JDiJpD1JvNvb8ts+TNl7BPOYcURqCrXqnN1Vf+XVOrkKJAFPqfX+oEhsdzOj1hLWkBTdNJg==", - "optional": true, - "requires": { - "boolean": "^3.0.1", - "core-js": "^3.6.5", - "es6-error": "^4.1.1", - "matcher": "^3.0.0", - "roarr": "^2.15.3", - "semver": "^7.3.2", - "serialize-error": "^7.0.1" - } - }, - "global-dirs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", - "integrity": "sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==", - "requires": { - "ini": "2.0.0" - }, - "dependencies": { - "ini": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", - "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==" - } - } - }, - "global-tunnel-ng": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/global-tunnel-ng/-/global-tunnel-ng-2.7.1.tgz", - "integrity": "sha512-4s+DyciWBV0eK148wqXxcmVAbFVPqtc3sEtUE/GTQfuU80rySLcMhUmHKSHI7/LDj8q0gDYI1lIhRRB7ieRAqg==", - "optional": true, - "requires": { - "encodeurl": "^1.0.2", - "lodash": "^4.17.10", - "npm-conf": "^1.1.3", - "tunnel": "^0.0.6" - } - }, - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" - }, - "globalthis": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.2.tgz", - "integrity": "sha512-ZQnSFO1la8P7auIOQECnm0sSuoMeaSq0EEdXMBFF2QJO4uNcwbyhSgG3MruWNbFTqCLmxVwGOl7LZ9kASvHdeQ==", - "optional": true, - "requires": { - "define-properties": "^1.1.3" - } - }, - "globule": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.3.tgz", - "integrity": "sha512-mb1aYtDbIjTu4ShMB85m3UzjX9BVKe9WCzsnfMSZk+K5GpIbBOexgg4PPCt5eHDEG5/ZQAUX2Kct02zfiPLsKg==", - "requires": { - "glob": "~7.1.1", - "lodash": "~4.17.10", - "minimatch": "~3.0.2" - }, - "dependencies": { - "minimatch": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.8.tgz", - "integrity": "sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==", - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "got": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", - "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", - "requires": { - "@sindresorhus/is": "^0.14.0", - "@szmarczak/http-timer": "^1.1.2", - "cacheable-request": "^6.0.0", - "decompress-response": "^3.3.0", - "duplexer3": "^0.1.4", - "get-stream": "^4.1.0", - "lowercase-keys": "^1.0.1", - "mimic-response": "^1.0.1", - "p-cancelable": "^1.0.0", - "to-readable-stream": "^1.0.0", - "url-parse-lax": "^3.0.0" - } - }, - "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" - }, - "gyronorm": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/gyronorm/-/gyronorm-2.0.6.tgz", - "integrity": "sha1-w9vKoBCQh/6nU3j3hTi+/c1TzuI=" - }, - "har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" - }, - "har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "requires": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - } - }, - "hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "requires": { - "ansi-regex": "^2.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==" - } - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" - }, - "has-yarn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", - "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==" - }, - "hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - } - } - }, - "hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "htmlescape": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz", - "integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=" - }, - "htmlparser2": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz", - "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==", - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^3.0.0", - "domutils": "^2.0.0", - "entities": "^2.0.0" - } - }, - "http-auth": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/http-auth/-/http-auth-4.1.9.tgz", - "integrity": "sha512-kvPYxNGc9EKGTXvOMnTBQw2RZfuiSihK/mLw/a4pbtRueTE45S55Lw/3k5CktIf7Ak0veMKEIteDj4YkNmCzmQ==", - "requires": { - "apache-crypt": "^1.1.2", - "apache-md5": "^1.0.6", - "bcryptjs": "^2.4.3", - "uuid": "^8.3.2" - }, - "dependencies": { - "uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - } - } - }, - "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" - }, - "http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "requires": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" - }, - "dependencies": { - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" - } - } - }, - "http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - } - }, - "http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, - "https-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" - }, - "https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", - "requires": { - "ms": "^2.0.0" - } - }, - "hyperscript-attribute-to-property": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/hyperscript-attribute-to-property/-/hyperscript-attribute-to-property-1.0.2.tgz", - "integrity": "sha512-oerMul16jZCmrbNsUw8QgrtDzF8lKgFri1bKQjReLw1IhiiNkI59CWuzZjJDGT79UQ1YiWqXhJMv/tRMVqgtkA==" - }, - "hyperx": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/hyperx/-/hyperx-2.5.4.tgz", - "integrity": "sha512-iOkSh7Yse7lsN/B9y7OsevLWjeXPqGuHQ5SbwaiJM5xAhWFqhoN6erpK1dQsS12OFU36lyai1pnx1mmzWLQqcA==", - "requires": { - "hyperscript-attribute-to-property": "^1.0.0" - } - }, - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "optional": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" - }, - "ignore-by-default": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", - "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=" - }, - "import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - } - }, - "import-lazy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", - "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=" - }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" - }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" - }, - "infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==" - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "inline-source-map": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz", - "integrity": "sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=", - "requires": { - "source-map": "~0.5.3" - } - }, - "insert-module-globals": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.1.tgz", - "integrity": "sha512-ufS5Qq9RZN+Bu899eA9QCAYThY+gGW7oRkmb0vC93Vlyu/CFGcH0OYPEjVkDXA5FEbTt1+VWzdoOD3Ny9N+8tg==", - "requires": { - "acorn-node": "^1.5.2", - "combine-source-map": "^0.8.0", - "concat-stream": "^1.6.1", - "is-buffer": "^1.1.0", - "JSONStream": "^1.0.3", - "path-is-absolute": "^1.0.1", - "process": "~0.11.0", - "through2": "^2.0.0", - "undeclared-identifiers": "^1.1.2", - "xtend": "^4.0.0" - } - }, - "ip": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=" - }, - "is-arguments": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", - "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==" - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-boolean-attribute": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/is-boolean-attribute/-/is-boolean-attribute-0.0.1.tgz", - "integrity": "sha1-JKtZt9y52jYSx3PmDGVlZeWgmAw=" - }, - "is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, - "is-callable": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", - "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" - }, - "is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "requires": { - "ci-info": "^2.0.0" - } - }, - "is-core-module": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz", - "integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==", - "requires": { - "has": "^1.0.3" - } - }, - "is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" - }, - "is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" - }, - "is-generator-function": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.8.tgz", - "integrity": "sha512-2Omr/twNtufVZFr1GhxjOMFPAj2sjc/dKaIqBhvo4qciXfJmITGH6ZGd8eZYNHza8t1y0e01AuqRhJwfWp26WQ==" - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-installed-globally": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz", - "integrity": "sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==", - "requires": { - "global-dirs": "^3.0.0", - "is-path-inside": "^3.0.2" - } - }, - "is-lambda": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=" - }, - "is-negative-zero": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", - "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=" - }, - "is-npm": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz", - "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==" - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" - }, - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" - }, - "is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==" - }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" - }, - "is-regex": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", - "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", - "requires": { - "has-symbols": "^1.0.1" - } - }, - "is-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=" - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==" - }, - "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "requires": { - "has-symbols": "^1.0.1" - } - }, - "is-typed-array": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.4.tgz", - "integrity": "sha512-ILaRgn4zaSrVNXNGtON6iFNotXW3hAPF3+0fB1usg2jFlWqo5fEDdmJkz0zBfoi7Dgskr8Khi2xZ8cXqZEfXNA==", - "requires": { - "available-typed-arrays": "^1.0.2", - "call-bind": "^1.0.0", - "es-abstract": "^1.18.0-next.1", - "foreach": "^2.0.5", - "has-symbols": "^1.0.1" - } - }, - "is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, - "is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "requires": { - "is-docker": "^2.0.0" - } - }, - "is-yarn-global": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", - "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "isbinaryfile": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", - "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", - "requires": { - "buffer-alloc": "^1.2.0" - } - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - }, - "isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "js-base64": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", - "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==" - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "requires": { - "argparse": "^2.0.1" - } - }, - "jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" - }, - "json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" - }, - "json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=" - }, - "json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==" - }, - "jsondiffpatch": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/jsondiffpatch/-/jsondiffpatch-0.4.1.tgz", - "integrity": "sha512-t0etAxTUk1w5MYdNOkZBZ8rvYYN5iL+2dHCCx/DpkFm/bW28M6y5nUS83D4XdZiHy35Fpaw6LBb+F88fHZnVCw==", - "requires": { - "chalk": "^2.3.0", - "diff-match-patch": "^1.0.0" - }, - "dependencies": { - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - } - } - }, - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=" - }, - "JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - } - }, - "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, - "junk": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz", - "integrity": "sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==" - }, - "keyboardevent-from-electron-accelerator": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/keyboardevent-from-electron-accelerator/-/keyboardevent-from-electron-accelerator-2.0.0.tgz", - "integrity": "sha512-iQcmNA0M4ETMNi0kG/q0h/43wZk7rMeKYrXP7sqKIJbHkTU8Koowgzv+ieR/vWJbOwxx5nDC3UnudZ0aLSu4VA==" - }, - "keyboardevents-areequal": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/keyboardevents-areequal/-/keyboardevents-areequal-0.2.2.tgz", - "integrity": "sha512-Nv+Kr33T0mEjxR500q+I6IWisOQ0lK1GGOncV0kWE6n4KFmpcu7RUX5/2B0EUtX51Cb0HjZ9VJsSY3u4cBa0kw==" - }, - "keyboardjs": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/keyboardjs/-/keyboardjs-2.6.4.tgz", - "integrity": "sha512-xDiNwiwH3KUqap++RFJiLAXzbvRB5Yw08xliuceOgLhM1o7g1puKKR9vWy6wp9H/Bi4VP0+SQMpiWXMWWmR6rA==" - }, - "keyv": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", - "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", - "requires": { - "json-buffer": "3.0.0" - } - }, - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - }, - "labeled-stream-splicer": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz", - "integrity": "sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==", - "requires": { - "inherits": "^2.0.1", - "stream-splicer": "^2.0.0" - } - }, - "latest-version": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", - "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", - "requires": { - "package-json": "^6.3.0" - } - }, - "levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, - "licensify": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/licensify/-/licensify-3.1.3.tgz", - "integrity": "sha1-4YsZ47KC7GnsZ4DMiBZyHVt2MrE=", - "requires": { - "convert-source-map": "^1.1.3", - "offset-sourcemap-lines": "^1.0.0", - "oss-license-name-to-url": "^1.2.1", - "through2": "^2.0.0", - "type-name": "^2.0.0" - } - }, - "lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" - }, - "load-json-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - } - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "requires": { - "p-locate": "^4.1.0" - } - }, - "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" - }, - "lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" - }, - "lodash.get": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" - }, - "lodash.memoize": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz", - "integrity": "sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=" - }, - "lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "loop-protect": { - "version": "git+ssh://git@github.com/jean-emmanuel/loop-protect.git#335856f37ee4a805704bfcd1d7429ab94620bf6d", - "integrity": "sha512-ve7PwpxagW4B9N5tGSHzwwyLpSuHsa9v72IIl57w8klSI4QPL7G/m49l5Si8jE1zRcF2Tp1k8alvKZ2actsi6g==", - "from": "loop-protect@github:jean-emmanuel/loop-protect#v1.0.1" - }, - "lower-case": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", - "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=" - }, - "lowercase-keys": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "magic-string": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.23.2.tgz", - "integrity": "sha512-oIUZaAxbcxYIp4AyLafV6OVKoB3YouZs0UTCJ8mOKBHNyJgGDaMJ4TgA+VylJh6fx7EQCC52XkbURxxG9IoJXA==", - "requires": { - "sourcemap-codec": "^1.4.1" - } - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "make-fetch-happen": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", - "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", - "requires": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" - } - }, - "map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" - }, - "matcher": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz", - "integrity": "sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==", - "optional": true, - "requires": { - "escape-string-regexp": "^4.0.0" - }, - "dependencies": { - "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "optional": true - } - } - }, - "md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "meow": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz", - "integrity": "sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==", - "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize": "^1.2.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" - }, - "dependencies": { - "hosted-git-info": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", - "requires": { - "has": "^1.0.3" - } - }, - "normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "requires": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" - } - }, - "parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - }, - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" - } - } - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" - } - } - }, - "type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" - }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" - } - } - }, - "merge-source-map": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz", - "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=", - "requires": { - "source-map": "^0.5.6" - } - }, - "miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - }, - "dependencies": { - "bn.js": { - "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" - } - } - }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, - "mime-db": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", - "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" - }, - "mime-types": { - "version": "2.1.27", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", - "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", - "requires": { - "mime-db": "1.44.0" - } - }, - "mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" - }, - "min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" - }, - "minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - }, - "minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" - }, - "minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", - "requires": { - "brace-expansion": "^2.0.1" - }, - "dependencies": { - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "requires": { - "balanced-match": "^1.0.0" - } - } - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "requires": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - } - }, - "minipass": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", - "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", - "requires": { - "yallist": "^4.0.0" - } - }, - "minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", - "requires": { - "minipass": "^3.0.0" - } - }, - "minipass-fetch": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", - "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", - "requires": { - "encoding": "^0.1.12", - "minipass": "^3.1.0", - "minipass-sized": "^1.0.3", - "minizlib": "^2.0.0" - } - }, - "minipass-flush": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", - "requires": { - "minipass": "^3.0.0" - } - }, - "minipass-pipeline": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", - "requires": { - "minipass": "^3.0.0" - } - }, - "minipass-sized": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", - "requires": { - "minipass": "^3.0.0" - } - }, - "minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "requires": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - } - }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } - }, - "mkdirp-classic": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", - "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" - }, - "module-deps": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.3.tgz", - "integrity": "sha512-fg7OZaQBcL4/L+AK5f4iVqf9OMbCclXfy/znXRxTVhJSeW5AIlS9AwheYwDaXM3lVW7OBeaeUEY3gbaC6cLlSA==", - "requires": { - "browser-resolve": "^2.0.0", - "cached-path-relative": "^1.0.2", - "concat-stream": "~1.6.0", - "defined": "^1.0.0", - "detective": "^5.2.0", - "duplexer2": "^0.1.2", - "inherits": "^2.0.1", - "JSONStream": "^1.0.3", - "parents": "^1.0.0", - "readable-stream": "^2.0.2", - "resolve": "^1.4.0", - "stream-combiner2": "^1.1.1", - "subarg": "^1.0.0", - "through2": "^2.0.0", - "xtend": "^4.0.0" - } - }, - "mold-source-map": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/mold-source-map/-/mold-source-map-0.4.0.tgz", - "integrity": "sha1-z2fgsxxHq5uttcnCVlGGISe7gxc=", - "requires": { - "convert-source-map": "^1.1.0", - "through": "~2.2.7" - }, - "dependencies": { - "through": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/through/-/through-2.2.7.tgz", - "integrity": "sha1-bo4hIAGR1OtqmfbwEN9Gqhxusr0=" - } - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "multicast-dns": { - "version": "git+ssh://git@github.com/jean-emmanuel/multicast-dns.git#1bb9f6ba892eba88f2cb12ca96a1c1b3088413c0", - "integrity": "sha512-vRF71KtrpJ77SYytPmnsV4JR4pjDoMCq5bBpMe7qLbqpxlgIg+SEVP1OYi7CfOCrb/fOvvVNko9crwL+uh0UUA==", - "from": "multicast-dns@github:jean-emmanuel/multicast-dns", - "requires": { - "dns-packet": "^1.3.1", - "thunky": "^1.0.2" - } - }, - "multicast-dns-service-types": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", - "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=" - }, - "mutexify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/mutexify/-/mutexify-1.4.0.tgz", - "integrity": "sha512-pbYSsOrSB/AKN5h/WzzLRMFgZhClWccf2XIB4RSMC8JbquiB0e0/SH5AIfdQMdyHmYtv4seU7yV/TvAwPLJ1Yg==", - "requires": { - "queue-tick": "^1.0.0" - } - }, - "nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==" - }, - "nanoassert": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-1.1.0.tgz", - "integrity": "sha1-TzFS4JVA/eKMdvRLGbvNHVpCR40=" - }, - "nanobench": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nanobench/-/nanobench-2.1.1.tgz", - "integrity": "sha512-z+Vv7zElcjN+OpzAxAquUayFLGK3JI/ubCl0Oh64YQqsTGG09CGqieJVQw4ui8huDnnAgrvTv93qi5UaOoNj8A==", - "requires": { - "browser-process-hrtime": "^0.1.2", - "chalk": "^1.1.3", - "mutexify": "^1.1.0", - "pretty-hrtime": "^1.0.2" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==" - }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - } - } - }, - "nanohtml": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/nanohtml/-/nanohtml-1.10.0.tgz", - "integrity": "sha512-r/3AQl+jxAxUIJRiKExUjBtFcE1cm4yTOsTIdVqqlxPNtBxJh522ANrcQYzdNHhPzbPgb7j6qujq6eGehBX0kg==", - "requires": { - "acorn-node": "^1.8.2", - "camel-case": "^3.0.0", - "convert-source-map": "^1.5.1", - "estree-is-member-expression": "^1.0.0", - "hyperx": "^2.5.0", - "is-boolean-attribute": "0.0.1", - "nanoassert": "^1.1.0", - "nanobench": "^2.1.0", - "normalize-html-whitespace": "^0.2.0", - "through2": "^2.0.3", - "transform-ast": "^2.4.0" - } - }, - "nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==" - }, - "nanomorph": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/nanomorph/-/nanomorph-5.4.3.tgz", - "integrity": "sha512-uPP5y0x21KISffZCKHh1A0QW0RHZFQS0BR7LetlHBlay6UWAbjwhjiJTxOO6JeMHko5Cigl617zFoGrYFJ8ZLg==", - "requires": { - "nanoassert": "^1.1.0" - } - }, - "napi-build-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", - "optional": true - }, - "natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" - }, - "negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==" - }, - "no-case": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", - "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", - "requires": { - "lower-case": "^1.1.1" - } - }, - "node-abi": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.8.0.tgz", - "integrity": "sha512-tzua9qWWi7iW4I42vUPKM+SfaF0vQSLAm4yO5J83mSwB7GeoWrDKC/K+8YCnYNwqP5duwazbw2X9l4m8SC2cUw==", - "optional": true, - "requires": { - "semver": "^7.3.5" - } - }, - "node-forge": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==" - }, - "node-gyp": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", - "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==", - "requires": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.6", - "make-fetch-happen": "^9.1.0", - "nopt": "^5.0.0", - "npmlog": "^6.0.0", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.2", - "which": "^2.0.2" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "are-we-there-yet": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.0.tgz", - "integrity": "sha512-0GWpv50YSOcLXaN6/FAKY3vfRbllXWV2xvfA/oKJF8pzFhWXPV+yjhJXDBbjscDYowv7Yw1A3uigpzn5iEGTyw==", - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - } - }, - "gauge": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", - "requires": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.3", - "console-control-strings": "^1.1.0", - "has-unicode": "^2.0.1", - "signal-exit": "^3.0.7", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.5" - } - }, - "graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" - }, - "npmlog": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", - "requires": { - "are-we-there-yet": "^3.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^4.0.3", - "set-blocking": "^2.0.0" - } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "requires": { - "glob": "^7.1.3" - } - }, - "signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "requires": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - } - } - }, - "node-mouse": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/node-mouse/-/node-mouse-0.0.2.tgz", - "integrity": "sha1-kpdDHNMBnaZ9h4B3wFTL8DAZUoo=" - }, - "node-releases": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz", - "integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==" - }, - "node-sass": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-7.0.1.tgz", - "integrity": "sha512-uMy+Xt29NlqKCFdFRZyXKOTqGt+QaKHexv9STj2WeLottnlqZEEWx6Bj0MXNthmFRRdM/YwyNo/8Tr46TOM0jQ==", - "requires": { - "async-foreach": "^0.1.3", - "chalk": "^4.1.2", - "cross-spawn": "^7.0.3", - "gaze": "^1.0.0", - "get-stdin": "^4.0.1", - "glob": "^7.0.3", - "lodash": "^4.17.15", - "meow": "^9.0.0", - "nan": "^2.13.2", - "node-gyp": "^8.4.1", - "npmlog": "^5.0.0", - "request": "^2.88.0", - "sass-graph": "4.0.0", - "stdout-stream": "^1.4.0", - "true-case-path": "^1.0.2" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "requires": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", - "requires": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "nodemon": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.16.tgz", - "integrity": "sha512-zsrcaOfTWRuUzBn3P44RDliLlp263Z/76FPoHFr3cFFkOz0lTPAcIw8dCzfdVIx/t3AtDYCZRCDkoCojJqaG3w==", - "requires": { - "chokidar": "^3.5.2", - "debug": "^3.2.7", - "ignore-by-default": "^1.0.1", - "minimatch": "^3.0.4", - "pstree.remy": "^1.1.8", - "semver": "^5.7.1", - "supports-color": "^5.5.0", - "touch": "^3.1.0", - "undefsafe": "^2.0.5", - "update-notifier": "^5.1.0" - }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "requires": { - "ms": "^2.1.1" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, - "nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "requires": { - "abbrev": "1" - } - }, - "normalize-html-whitespace": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/normalize-html-whitespace/-/normalize-html-whitespace-0.2.0.tgz", - "integrity": "sha1-EBci9kI1Ucdc24+dEE/4UNrx4Q4=" - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" - }, - "normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" - }, - "nosleep.js": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/nosleep.js/-/nosleep.js-0.12.0.tgz", - "integrity": "sha512-9d1HbpKLh3sdWlhXMhU6MMH+wQzKkrgfRkYV0EBdvt99YJfj0ilCJrWRDYG2130Tm4GXbEoTCx5b34JSaP+HhA==" - }, - "npm-conf": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz", - "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==", - "optional": true, - "requires": { - "config-chain": "^1.1.11", - "pify": "^3.0.0" - } - }, - "npmlog": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", - "optional": true, - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "optional": true - }, - "oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "object-inspect": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", - "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==" - }, - "object-is": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.3.tgz", - "integrity": "sha512-teyqLvFWzLkq5B9ki8FVWA902UER2qkxmdA4nLf+wjOLAWgxzCWZNCxpDq9MvE8MmhWNr+I8w3BN49Vx36Y6Xg==", - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - } - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "offset-sourcemap-lines": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/offset-sourcemap-lines/-/offset-sourcemap-lines-1.0.1.tgz", - "integrity": "sha1-WFTf90tz/Abvy2HXtyGoET2ZvpI=", - "requires": { - "source-map": "^0.5.0" - } - }, - "on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "requires": { - "ee-first": "1.1.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", - "requires": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - } - }, - "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "requires": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - } - }, - "os-browserify": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" - }, - "osc": { - "version": "git+ssh://git@github.com/jean-emmanuel/osc.js.git#9197739162f26086e6a72670103c3fa036e9dcd5", - "integrity": "sha512-BYTHoLAOpBK9rWOuBPNhn0os/HWyWS62/XWJ1f7i7MI/399sbyKplC6CsHX9X1X/2ikyThBAXdMIoiWmpMrrZw==", - "from": "osc@github:jean-emmanuel/osc.js", - "requires": { - "long": "4.0.0", - "serialport": "9.2.0", - "slip": "1.0.2", - "wolfy87-eventemitter": "5.2.9", - "ws": "7.5.3" - }, - "dependencies": { - "ws": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz", - "integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg==", - "requires": {} - } - } - }, - "osi-licenses": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/osi-licenses/-/osi-licenses-0.1.1.tgz", - "integrity": "sha1-YqAoct7CMGwM+5Qfc6gLrh7imlg=" - }, - "oss-license-name-to-url": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/oss-license-name-to-url/-/oss-license-name-to-url-1.2.1.tgz", - "integrity": "sha1-dzsFJFBvRy5xDT9D72fBnKIoVCM=", - "requires": { - "osi-licenses": "^0.1.0" - } - }, - "outpipe": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/outpipe/-/outpipe-1.1.1.tgz", - "integrity": "sha1-UM+GFjZeh+Ax4ppeyTOaPaRyX6I=", - "dev": true, - "requires": { - "shell-quote": "^1.4.2" - } - }, - "p-cancelable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", - "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "requires": { - "aggregate-error": "^3.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" - }, - "package-json": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", - "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", - "requires": { - "got": "^9.6.0", - "registry-auth-token": "^4.0.0", - "registry-url": "^5.0.0", - "semver": "^6.2.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } - }, - "pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" - }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "requires": { - "callsites": "^3.0.0" - } - }, - "parents": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz", - "integrity": "sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=", - "requires": { - "path-platform": "~0.11.15" - } - }, - "parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", - "requires": { - "asn1.js": "^5.2.0", - "browserify-aes": "^1.0.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" - } - }, - "parse-author": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-author/-/parse-author-2.0.0.tgz", - "integrity": "sha1-00YL8d3Q367tQtp1QkLmX7aEqB8=", - "requires": { - "author-regex": "^1.0.0" - } - }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "requires": { - "error-ex": "^1.2.0" - } - }, - "parse-srcset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", - "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=" - }, - "path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" - }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" - }, - "path-platform": { - "version": "0.11.15", - "resolved": "https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz", - "integrity": "sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=" - }, - "path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "requires": { - "pify": "^2.0.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" - } - } - }, - "pbkdf2": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", - "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", - "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" - } - }, - "pend": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" - }, - "performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "picomatch": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz", - "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==" - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "optional": true - }, - "plist": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/plist/-/plist-3.0.5.tgz", - "integrity": "sha512-83vX4eYdQp3vP9SxuYgEM/G/pJQqLUz/V/xzPrzruLs7fz7jxGQ1msZ/mg1nwZxUSuOp4sb+/bEIbRrbzZRxDA==", - "requires": { - "base64-js": "^1.5.1", - "xmlbuilder": "^9.0.7" - } - }, - "pngjs": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", - "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==" - }, - "postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "requires": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "dependencies": { - "picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==" - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } - } - }, - "prebuild-install": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.0.1.tgz", - "integrity": "sha512-QBSab31WqkyxpnMWQxubYAHR5S9B2+r81ucocew34Fkl98FhvKIF50jIJnNOBmAZfyNV7vE5T6gd3hTVWgY6tg==", - "optional": true, - "requires": { - "detect-libc": "^2.0.0", - "expand-template": "^2.0.3", - "github-from-package": "0.0.0", - "minimist": "^1.2.3", - "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^1.0.1", - "node-abi": "^3.3.0", - "npmlog": "^4.0.1", - "pump": "^3.0.0", - "rc": "^1.2.7", - "simple-get": "^4.0.0", - "tar-fs": "^2.0.0", - "tunnel-agent": "^0.6.0" - } - }, - "prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==" - }, - "prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" - }, - "pretty-hrtime": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", - "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=" - }, - "process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" - }, - "promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=" - }, - "promise-retry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", - "requires": { - "err-code": "^2.0.2", - "retry": "^0.12.0" - } - }, - "proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=", - "optional": true - }, - "psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" - }, - "pstree.remy": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", - "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==" - }, - "public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", - "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" - }, - "dependencies": { - "bn.js": { - "version": "4.11.9", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", - "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" - } - } - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" - }, - "pupa": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", - "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", - "requires": { - "escape-goat": "^2.0.0" - } - }, - "python-shell": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/python-shell/-/python-shell-3.0.1.tgz", - "integrity": "sha512-TWeotuxe1auhXa5bGRScxnc2J+0r41NBntSa6RYZtMBLtAEsvCboKrEbW6DvASosWQepVkhZZlT3B5Ei766G+Q==" - }, - "qrcode": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.1.tgz", - "integrity": "sha512-nS8NJ1Z3md8uTjKtP+SGGhfqmTCs5flU/xR623oI0JX+Wepz9R8UrRVCTBTJm3qGw3rH6jJ6MUHjkDx15cxSSg==", - "requires": { - "dijkstrajs": "^1.0.1", - "encode-utf8": "^1.0.3", - "pngjs": "^5.0.0", - "yargs": "^15.3.1" - }, - "dependencies": { - "yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", - "requires": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" - } - } - } - }, - "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" - }, - "querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" - }, - "querystring-es3": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" - }, - "queue-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.0.tgz", - "integrity": "sha512-ULWhjjE8BmiICGn3G8+1L9wFpERNxkf8ysxkAer4+TFdRefDaXOCV5m92aMB9FtBVmn/8sETXLXY6BfW7hyaWQ==" - }, - "quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, - "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" - }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" - } - } - }, - "rcedit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/rcedit/-/rcedit-2.3.0.tgz", - "integrity": "sha512-h1gNEl9Oai1oijwyJ1WYqYSXTStHnOcv1KYljg/8WM4NAg3H1KBK3azIaKkQ1WQl+d7PoJpcBMscPfLXVKgCLQ==" - }, - "read-only-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz", - "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=", - "requires": { - "readable-stream": "^2.0.2" - } - }, - "read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" - } - }, - "read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - }, - "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=" - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" - } - } - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - }, - "dependencies": { - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "requires": { - "picomatch": "^2.2.1" - } - }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "requires": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - } - }, - "regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" - }, - "regenerate-unicode-properties": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", - "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", - "requires": { - "regenerate": "^1.4.2" - } - }, - "regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" - }, - "regenerator-transform": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", - "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", - "requires": { - "@babel/runtime": "^7.8.4" - } - }, - "regexp.prototype.flags": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", - "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" - }, - "dependencies": { - "es-abstract": { - "version": "1.17.7", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", - "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.2.2", - "is-regex": "^1.1.1", - "object-inspect": "^1.8.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.1", - "string.prototype.trimend": "^1.0.1", - "string.prototype.trimstart": "^1.0.1" - } - } - } - }, - "regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==" - }, - "regexpu-core": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", - "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", - "requires": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.0.1", - "regjsgen": "^0.6.0", - "regjsparser": "^0.8.2", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" - } - }, - "registry-auth-token": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", - "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", - "requires": { - "rc": "^1.2.8" - } - }, - "registry-url": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", - "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", - "requires": { - "rc": "^1.2.8" - } - }, - "regjsgen": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", - "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==" - }, - "regjsparser": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", - "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", - "requires": { - "jsesc": "~0.5.0" - }, - "dependencies": { - "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" - } - } - }, - "replacestream": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/replacestream/-/replacestream-4.0.3.tgz", - "integrity": "sha512-AC0FiLS352pBBiZhd4VXB1Ab/lh0lEgpP+GGvZqbQh8a5cmXVoTe5EX/YeTFArnp4SRGTHh1qCHu9lGs1qG8sA==", - "requires": { - "escape-string-regexp": "^1.0.3", - "object-assign": "^4.0.1", - "readable-stream": "^2.0.2" - } - }, - "request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - } - }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - }, - "require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" - }, - "resolve": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", - "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", - "requires": { - "is-core-module": "^2.1.0", - "path-parse": "^1.0.6" - } - }, - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" - }, - "responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "requires": { - "lowercase-keys": "^1.0.0" - } - }, - "retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=" - }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "requires": { - "glob": "^7.1.3" - } - }, - "ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "roarr": { - "version": "2.15.4", - "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", - "integrity": "sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==", - "optional": true, - "requires": { - "boolean": "^3.0.1", - "detect-node": "^2.0.4", - "globalthis": "^1.0.1", - "json-stringify-safe": "^5.0.1", - "semver-compare": "^1.0.0", - "sprintf-js": "^1.1.2" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "sanitize-html": { - "version": "1.27.5", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-1.27.5.tgz", - "integrity": "sha512-M4M5iXDAUEcZKLXkmk90zSYWEtk5NH3JmojQxKxV371fnMh+x9t1rqdmXaGoyEHw3z/X/8vnFhKjGL5xFGOJ3A==", - "requires": { - "htmlparser2": "^4.1.0", - "lodash": "^4.17.15", - "parse-srcset": "^1.0.2", - "postcss": "^7.0.27" - } - }, - "sass-graph": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-4.0.0.tgz", - "integrity": "sha512-WSO/MfXqKH7/TS8RdkCX3lVkPFQzCgbqdGsmSKq6tlPU+GpGEsa/5aW18JqItnqh+lPtcjifqdZ/VmiILkKckQ==", - "requires": { - "glob": "^7.0.0", - "lodash": "^4.17.11", - "scss-tokenizer": "^0.3.0", - "yargs": "^17.2.1" - } - }, - "scope-css": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/scope-css/-/scope-css-1.2.1.tgz", - "integrity": "sha512-UjLRmyEYaDNiOS673xlVkZFlVCtckJR/dKgr434VMm7Lb+AOOqXKdAcY7PpGlJYErjXXJzKN7HWo4uRPiZZG0Q==", - "requires": { - "escaper": "^2.5.3", - "slugify": "^1.3.1", - "strip-css-comments": "^3.0.0" - } - }, - "screenfull": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.2.0.tgz", - "integrity": "sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==" - }, - "scss-tokenizer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.3.0.tgz", - "integrity": "sha512-14Zl9GcbBvOT9057ZKjpz5yPOyUWG2ojd9D5io28wHRYsOrs7U95Q+KNL87+32p8rc+LvDpbu/i9ZYjM9Q+FsQ==", - "requires": { - "js-base64": "^2.4.3", - "source-map": "^0.7.1" - }, - "dependencies": { - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" - } - } - }, - "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", - "optional": true - }, - "semver-diff": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", - "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", - "requires": { - "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==" - } - } - }, - "send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "requires": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } - } - }, - "depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - } - } - }, - "serialize-error": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-7.0.1.tgz", - "integrity": "sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==", - "optional": true, - "requires": { - "type-fest": "^0.13.1" - } - }, - "serialport": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/serialport/-/serialport-9.2.0.tgz", - "integrity": "sha512-C6AQ4jD4mre3tn3QA+atn++mEZDh4r40CIeh1sKhskKE+Q4eiIr/nzVMOiPxHb8gskrSNxujH+Br49tl3i9s9g==", - "optional": true, - "requires": { - "@serialport/binding-mock": "9.0.7", - "@serialport/bindings": "^9.2.0", - "@serialport/parser-byte-length": "9.0.7", - "@serialport/parser-cctalk": "9.0.7", - "@serialport/parser-delimiter": "9.0.7", - "@serialport/parser-inter-byte-timeout": "9.0.7", - "@serialport/parser-readline": "9.0.7", - "@serialport/parser-ready": "9.0.7", - "@serialport/parser-regex": "9.0.7", - "@serialport/stream": "9.0.7", - "debug": "^4.3.1" - }, - "dependencies": { - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "optional": true, - "requires": { - "ms": "2.1.2" - } - } - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" - }, - "sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "shasum-object": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz", - "integrity": "sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg==", - "requires": { - "fast-safe-stringify": "^2.0.7" - } - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" - }, - "shell-quote": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz", - "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==" - }, - "signal-exit": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", - "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==" - }, - "simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" - }, - "simple-get": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", - "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", - "optional": true, - "requires": { - "decompress-response": "^6.0.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - }, - "dependencies": { - "decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", - "optional": true, - "requires": { - "mimic-response": "^3.1.0" - } - }, - "mimic-response": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", - "optional": true - } - } - }, - "slip": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/slip/-/slip-1.0.2.tgz", - "integrity": "sha1-ukWpIwNNbPQbGieuvnEoKCyNVR8=" - }, - "slugify": { - "version": "1.4.6", - "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.4.6.tgz", - "integrity": "sha512-ZdJIgv9gdrYwhXqxsH9pv7nXxjUEyQ6nqhngRxoAAOlmMGA28FDq5O4/5US4G2/Nod7d1ovNcgURQJ7kHq50KQ==" - }, - "smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" - }, - "socks": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.2.tgz", - "integrity": "sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA==", - "requires": { - "ip": "^1.1.5", - "smart-buffer": "^4.2.0" - } - }, - "socks-proxy-agent": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.0.tgz", - "integrity": "sha512-wWqJhjb32Q6GsrUqzuFkukxb/zzide5quXYcMVpIjxalDBBYy2nqKCFQ/9+Ie4dvOYSQdOk3hUlZSdzZOd3zMQ==", - "requires": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" - }, - "dependencies": { - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "requires": { - "ms": "2.1.2" - } - } - } - }, - "sortablejs": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.0.tgz", - "integrity": "sha512-bv9qgVMjUMf89wAvM6AxVvS/4MX3sPeN0+agqShejLU5z5GX4C75ow1O2e5k4L6XItUyAK3gH6AxSbXrOM5e8w==" - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } - } - }, - "sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" - }, - "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", - "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==" - }, - "sprintf-js": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", - "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", - "optional": true - }, - "sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, - "ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", - "requires": { - "minipass": "^3.1.1" - } - }, - "stack-generator": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.5.tgz", - "integrity": "sha512-/t1ebrbHkrLrDuNMdeAcsvynWgoH/i4o8EGGfX7dEYDoTXOYVAkEpFdtshlvabzc6JlJ8Kf9YdFEoz7JkzGN9Q==", - "requires": { - "stackframe": "^1.1.1" - } - }, - "stackframe": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.2.0.tgz", - "integrity": "sha512-GrdeshiRmS1YLMYgzF16olf2jJ/IzxXY9lhKOskuVziubpTYcYqyOwYeJKzQkwy7uN0fYSsbsC4RQaXf9LCrYA==" - }, - "stacktrace-gps": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.0.4.tgz", - "integrity": "sha512-qIr8x41yZVSldqdqe6jciXEaSCKw1U8XTXpjDuy0ki/apyTn/r3w9hDAAQOhZdxvsC93H+WwwEu5cq5VemzYeg==", - "requires": { - "source-map": "0.5.6", - "stackframe": "^1.1.1" - }, - "dependencies": { - "source-map": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=" - } - } - }, - "stacktrace-js": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", - "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", - "requires": { - "error-stack-parser": "^2.0.6", - "stack-generator": "^2.0.5", - "stacktrace-gps": "^3.0.4" - } - }, - "statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" - }, - "stdout-stream": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", - "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", - "requires": { - "readable-stream": "^2.0.1" - } - }, - "stream-browserify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", - "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", - "requires": { - "inherits": "~2.0.4", - "readable-stream": "^3.5.0" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "stream-combiner2": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", - "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", - "requires": { - "duplexer2": "~0.1.0", - "readable-stream": "^2.0.2" - } - }, - "stream-http": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.1.1.tgz", - "integrity": "sha512-S7OqaYu0EkFpgeGFb/NPOoPLxFko7TPqtEeFg5DXPB4v/KETHG0Ln6fRFrNezoelpaDKmycEmmZ81cC9DAwgYg==", - "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "xtend": "^4.0.2" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "stream-splicer": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz", - "integrity": "sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==", - "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.2" - } - }, - "strictdom": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strictdom/-/strictdom-1.0.1.tgz", - "integrity": "sha1-GJ3pFkn3PUTVm4Qy76aO+dJllGA=" - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - } - } - }, - "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "string.prototype.trimend": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.2.tgz", - "integrity": "sha512-8oAG/hi14Z4nOVP0z6mdiVZ/wqjDtWSLygMigTzAb+7aPEDTleeFf+WrF+alzecxIRkckkJVn+dTlwzJXORATw==", - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - } - }, - "string.prototype.trimstart": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.2.tgz", - "integrity": "sha512-7F6CdBTl5zyu30BJFdzSTlSlLPwODC23Od+iLoVH8X6+3fvDPPuBVVj9iaB1GOsSTSIgVfsfm27R2FGrAPznWg==", - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" - }, - "strip-css-comments": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-css-comments/-/strip-css-comments-3.0.0.tgz", - "integrity": "sha1-elYl7/iisibPiUehElTaluE9rok=", - "requires": { - "is-regexp": "^1.0.0" - } - }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "requires": { - "min-indent": "^1.0.0" - } - }, - "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" - }, - "strip-outer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz", - "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==", - "requires": { - "escape-string-regexp": "^1.0.2" - } - }, - "subarg": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz", - "integrity": "sha1-9izxdYHplrSPyWVpn1TAauJouNI=", - "requires": { - "minimist": "^1.1.0" - } - }, - "sumchecker": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz", - "integrity": "sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==", - "requires": { - "debug": "^4.1.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - }, - "syntax-error": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", - "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", - "requires": { - "acorn-node": "^1.2.0" - } - }, - "tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", - "requires": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" - } - } - }, - "tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", - "optional": true, - "requires": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.1.4" - }, - "dependencies": { - "chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", - "optional": true - } - } - }, - "tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "optional": true, - "requires": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "optional": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - } - } - }, - "terser": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", - "integrity": "sha512-/FQzzPJmCpjAH9Xvk2paiWrFq+5M6aVOf+2KRbwhByISDX/EujxsK+BAvrhb6H+2rtrLCHK9N01wO014vrIwVQ==", - "requires": { - "commander": "^2.19.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.10" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - } - } - }, - "text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=" - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "thunky": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", - "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==" - }, - "timers-browserify": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", - "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", - "requires": { - "process": "~0.11.0" - } - }, - "tiny-each-async": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/tiny-each-async/-/tiny-each-async-2.0.3.tgz", - "integrity": "sha1-jru/1tYpXxNwAD+7NxYq/loKUdE=", - "optional": true - }, - "tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "optional": true, - "requires": { - "rimraf": "^3.0.0" - }, - "dependencies": { - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "optional": true, - "requires": { - "glob": "^7.1.3" - } - } - } - }, - "tmp-promise": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/tmp-promise/-/tmp-promise-3.0.2.tgz", - "integrity": "sha512-OyCLAKU1HzBjL6Ev3gxUeraJNlbNingmi8IrHHEsYH8LTmEuhvYfqvhn2F/je+mjf4N58UmZ96OMEy1JanSCpA==", - "optional": true, - "requires": { - "tmp": "^0.2.0" - } - }, - "to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" - }, - "to-readable-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", - "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "requires": { - "is-number": "^7.0.0" - } - }, - "toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" - }, - "touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", - "requires": { - "nopt": "~1.0.10" - }, - "dependencies": { - "nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=", - "requires": { - "abbrev": "1" - } - } - } - }, - "tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "requires": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "dependencies": { - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - } - } - }, - "transform-ast": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/transform-ast/-/transform-ast-2.4.4.tgz", - "integrity": "sha512-AxjeZAcIOUO2lev2GDe3/xZ1Q0cVGjIMk5IsriTy8zbWlsEnjeB025AhkhBJHoy997mXpLd4R+kRbvnnQVuQHQ==", - "requires": { - "acorn-node": "^1.3.0", - "convert-source-map": "^1.5.1", - "dash-ast": "^1.0.0", - "is-buffer": "^2.0.0", - "magic-string": "^0.23.2", - "merge-source-map": "1.0.4", - "nanobench": "^2.1.1" - }, - "dependencies": { - "is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" - } - } - }, - "trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" - }, - "trim-repeated": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", - "integrity": "sha1-42RqLqTokTEr9+rObPsFOAvAHCE=", - "requires": { - "escape-string-regexp": "^1.0.2" - } - }, - "true-case-path": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", - "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", - "requires": { - "glob": "^7.1.2" - } - }, - "tty-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", - "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==" - }, - "tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "optional": true - }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "requires": { - "prelude-ls": "^1.2.1" - } - }, - "type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", - "optional": true - }, - "type-name": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/type-name/-/type-name-2.0.2.tgz", - "integrity": "sha1-7+fUEj2KxSr/9/QMfk3sUmYAj7Q=" - }, - "typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" - }, - "typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "requires": { - "is-typedarray": "^1.0.0" - } - }, - "uglifyify": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/uglifyify/-/uglifyify-5.0.2.tgz", - "integrity": "sha512-NcSk6pgoC+IgwZZ2tVLVHq+VNKSvLPlLkF5oUiHPVOJI0s/OlSVYEGXG9PCAH0hcyFZLyvt4KBdPAQBRlVDn1Q==", - "requires": { - "convert-source-map": "~1.1.0", - "minimatch": "^3.0.2", - "terser": "^3.7.5", - "through": "~2.3.4", - "xtend": "^4.0.1" - }, - "dependencies": { - "convert-source-map": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", - "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=" - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, - "umd": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", - "integrity": "sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==" - }, - "undeclared-identifiers": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz", - "integrity": "sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==", - "requires": { - "acorn-node": "^1.3.0", - "dash-ast": "^1.0.0", - "get-assigned-identifiers": "^1.2.0", - "simple-concat": "^1.0.0", - "xtend": "^4.0.1" - } - }, - "undefsafe": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", - "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==" - }, - "unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==" - }, - "unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "requires": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - } - }, - "unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==" - }, - "unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==" - }, - "unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", - "requires": { - "unique-slug": "^2.0.0" - } - }, - "unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", - "requires": { - "imurmurhash": "^0.1.4" - } - }, - "unique-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", - "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", - "requires": { - "crypto-random-string": "^2.0.0" - } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" - }, - "unix-crypt-td-js": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/unix-crypt-td-js/-/unix-crypt-td-js-1.1.4.tgz", - "integrity": "sha512-8rMeVYWSIyccIJscb9NdCfZKSRBKYTeVnwmiRYT2ulE3qd1RaDQ0xQDP+rI3ccIWbhu/zuo5cgN8z73belNZgw==" - }, - "update-notifier": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz", - "integrity": "sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==", - "requires": { - "boxen": "^5.0.0", - "chalk": "^4.1.0", - "configstore": "^5.0.1", - "has-yarn": "^2.1.0", - "import-lazy": "^2.1.0", - "is-ci": "^2.0.0", - "is-installed-globally": "^0.4.0", - "is-npm": "^5.0.0", - "is-yarn-global": "^0.3.0", - "latest-version": "^5.1.0", - "pupa": "^2.1.1", - "semver": "^7.3.4", - "semver-diff": "^3.1.1", - "xdg-basedir": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "upper-case": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", - "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=" - }, - "uri-js": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", - "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", - "requires": { - "punycode": "^2.1.0" - }, - "dependencies": { - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" - } - } - }, - "url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "requires": { - "punycode": "1.3.2", - "querystring": "0.2.0" - }, - "dependencies": { - "punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" - } - } - }, - "url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "requires": { - "prepend-http": "^2.0.0" - } - }, - "util": { - "version": "0.12.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", - "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", - "requires": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "safe-buffer": "^5.1.2", - "which-typed-array": "^1.1.2" - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" - }, - "v8-compile-cache": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "vm-browserify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", - "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" - }, - "watchify": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/watchify/-/watchify-4.0.0.tgz", - "integrity": "sha512-2Z04dxwoOeNxa11qzWumBTgSAohTC0+ScuY7XMenPnH+W2lhTcpEOJP4g2EIG/SWeLadPk47x++Yh+8BqPM/lA==", - "dev": true, - "requires": { - "anymatch": "^3.1.0", - "browserify": "^17.0.0", - "chokidar": "^3.4.0", - "defined": "^1.0.0", - "outpipe": "^1.1.0", - "through2": "^4.0.2", - "xtend": "^4.0.2" - }, - "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "through2": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", - "dev": true, - "requires": { - "readable-stream": "3" - } - } - } - }, - "webworkify": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/webworkify/-/webworkify-1.5.0.tgz", - "integrity": "sha512-AMcUeyXAhbACL8S2hqqdqOLqvJ8ylmIbNwUIqQujRSouf4+eUFaXbG6F1Rbu+srlJMmxQWsiU7mOJi0nMBfM1g==" - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "requires": { - "isexe": "^2.0.0" - } - }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" - }, - "which-typed-array": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", - "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", - "requires": { - "available-typed-arrays": "^1.0.2", - "call-bind": "^1.0.0", - "es-abstract": "^1.18.0-next.1", - "foreach": "^2.0.5", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.1", - "is-typed-array": "^1.1.3" - } - }, - "wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", - "requires": { - "string-width": "^1.0.2 || 2" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - }, - "widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "requires": { - "string-width": "^4.0.0" - } - }, - "wolfy87-eventemitter": { - "version": "5.2.9", - "resolved": "https://registry.npmjs.org/wolfy87-eventemitter/-/wolfy87-eventemitter-5.2.9.tgz", - "integrity": "sha512-P+6vtWyuDw+MB01X7UeF8TaHBvbCovf4HPEMF/SV7BdDc1SMTiBy13SRD71lQh4ExFTG1d/WNzDGDCyOKSMblw==" - }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" - }, - "wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "write-file-atomic": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", - "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "requires": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "ws": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.6.0.tgz", - "integrity": "sha512-AzmM3aH3gk0aX7/rZLYvjdvZooofDu3fFOzGqcSnQ1tOcTWwhM/o+q++E8mAyVVIyUdajrkzWUGftaVSDLn1bw==", - "requires": {} - }, - "xdg-basedir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" - }, - "xmlbuilder": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", - "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" - }, - "xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" - }, - "y18n": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", - "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==" - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "yargs": { - "version": "17.5.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", - "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "dependencies": { - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - } - } - }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - } - }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" - }, - "yargs-parser": { - "version": "21.0.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", - "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==" - } - } - }, - "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - }, - "yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", - "requires": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - } } } From dfeb30a57d8b42e1bec323efda63444e9a5d2269 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 16 Jun 2024 22:17:01 +0200 Subject: [PATCH 5207/5759] server: Print backtraces for errors in UDP handler This applies to errors in e.g. the oscInFilter defined by a custom plugin module. Previously, just the exception backtrace was shown, without any indication of the exception type or where the error occurred, e.g.: (ERROR, UDP) links is not defined With this commit, the full exception including backtrace is printed, making debugging a lot easier, e.g.: (ERROR, UDP) ReferenceError: links is not defined at CustomModule.oscInFilter (/app/custom-module.js:221:83) at OscServer.oscInFilter (/open-stage-control/app/server/src/server/osc/index.js:148:1) at OscServer.oscInHandler (/open-stage-control/app/server/src/server/osc/index.js:162:1) at OscServer.oscInHandlerWrapper (/open-stage-control/app/server/src/server/osc/index.js:174:1) at osc.UDPPort.emit (node:events:394:28) at Object.osc.firePacketEvents (/open-stage-control/app/server/node_modules/osc/src/osc-transports.js:25:1) at osc.UDPPort.p.decodeOSC (/open-stage-control/app/server/node_modules/osc/src/osc-transports.js:85:1) --- src/server/osc/udp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/osc/udp.js b/src/server/osc/udp.js index f819ea5a..9175b885 100644 --- a/src/server/osc/udp.js +++ b/src/server/osc/udp.js @@ -14,7 +14,7 @@ oscUDPServer.on('error', function(e) { if (e.code === 'EADDRINUSE') { console.error(`(ERROR, UDP) could not open port ${oscInPort} (already in use) `) } else { - console.error(`(ERROR, UDP) ${e.message}`) + console.error('(ERROR, UDP)', e) } }) From a3194a3bb8bde765774359e1f4608c395e787216 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 18 Jun 2024 09:32:35 +0200 Subject: [PATCH 5208/5759] custom-module: Fix example for unload with nested modules The unload method is actually called on all modules, not just the main one, so it makes no sense to have the module merger example call it explicitly on its submodules. --- resources/docs/docs/custom-module/examples.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index 5fa3eb3e..b6e605cf 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -378,11 +378,6 @@ module.exports = { if (m.init) m.init() } }, - unload: function(){ - for (var m of submodules) { - if (m.unload) m.unload() - } - }, oscInFilter: function(data){ for (var m of submodules) { From c5314fe17abdce99dd929e6f68f8ce63e842cca1 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 17 Jun 2024 09:27:57 +0200 Subject: [PATCH 5209/5759] custom-module: Call reload() function on auto-reload This allows modules to re-initialize any state they need whenever the module is reloaded. Without this, any such initialization can also be done in the top level of the custom module, but this has two problems: 1. Top-level module code runs on load and reload, and for the initial load, it runs *before* the connections are set up, so trying to use send() would produce an error on load (not reload). 2. Top-level module code runs for the primary custom module, but also for any nested modules, removing control about the process and ordering from the primary custom module. In addition, a module that can be used both as primary and nested module, there is no clean way to distinguish between these cases. Both of these problems can be solved by doing some bookkeeping in the global object, but that produces messy code. This commit allows modules to define a reload() function, which is called (for the primary module only) after the module is reloaded. This means that any initialization for the first load can be done in init() and for reloads in reload(), and in both cases all connections will already have been set up solving issue 1. In addition, neither of these functions are called for nested modules, solving issue 2 (and the primary module can then stil explicitly call a reload function on nested modules if needed, as shown in the examples). --- resources/docs/docs/custom-module/custom-module.md | 14 +++++++++++--- resources/docs/docs/custom-module/examples.md | 5 +++++ src/server/custom-module.js | 9 +++++++++ 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index 6faeff91..a79cf24e 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -16,7 +16,14 @@ Using the server's `custom-module` option, users can load a custom javascript mo module.exports = { init: function(){ - // this will be executed once when the osc server starts + // this will be executed once when the osc server starts after + // connections are set up + // it is called for the main module only + }, + + reload: function(){ + // this will be executed after the custom module is reloaded + // it is called for the main module only }, oscInFilter:function(data){ @@ -48,7 +55,8 @@ module.exports = { }, unload: function(){ - // this will be executed when the custom module is reloaded + // this will be executed before the custom module is reloaded + // it is called for all modules, including other loaded modules }, } @@ -168,7 +176,7 @@ for (var ip in tcpServer.clients) { ## Autoreload -Custom modules (including submodules loaded with `require()`) are reloaded automatically when they are modified. Upon reload, timers (`setTimeout` and `setInterval`) and event listeners (added to the  `app` object) are reset. +Custom modules (including submodules loaded with `require()`) are reloaded automatically when they are modified. Upon reload, timers (`setTimeout` and `setInterval`) and event listeners (added to the  `app` object) are reset. After each reload the `module.exports.reload()` function (if any) is called. The `global` object persists accross reloads. diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index b6e605cf..ffbfe6dc 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -378,6 +378,11 @@ module.exports = { if (m.init) m.init() } }, + reload: function(){ + for (var m of submodules) { + if (m.reload) m.reload() + } + }, oscInFilter: function(data){ for (var m of submodules) { diff --git a/src/server/custom-module.js b/src/server/custom-module.js index b70ebfbe..1bbc1593 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -195,6 +195,15 @@ class CustomModule { console.log('(INFO) Reloading custom module...') if (this.load()) { console.log('(INFO) Custom module reloaded successfully') + + if (this.module.exports && this.module.exports.reload) { + try { + this.module.exports.reload() + } catch(e) { + console.error('(ERROR) Error while calling custom module reload function') + console.error(e) + } + } } else { console.error('(ERROR) Failed to reload custom module') this.unload() From c02146c9b16e460c17f486b96f3f60b79bd401b9 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 17 Jun 2024 12:57:39 +0200 Subject: [PATCH 5210/5759] remote control: Add `/SESSION/CREATE` command This allows creating a new empty session. This is useful for projects that want to dynamically create the entire session using a custom module. Without this, you can also create an empty session json file and load that with `--load`, but then you would have to manage that file, and if you accidentaly press control-s, it gets overwritten to contain any dynamically created widgets. With this commit, such a custom module can just create a new session on startup and then populate it. This takes a bit of fiddling to get the order of events correct, this commit also adds an example showing how to do this. --- resources/docs/docs/custom-module/examples.md | 50 +++++++++++++++++++ resources/docs/docs/remote-control.md | 5 ++ src/client/remote-control.js | 5 ++ 3 files changed, 60 insertions(+) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index 5fa3eb3e..2fe6e37e 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -404,3 +404,53 @@ module.exports = { } } ``` + +## Dynamic widget creation +```js +function create_widgets() { + receive('', '', '/EDIT', 'root', { + widgets: [{ + type: 'panel', + id: 'my_panel', + layout: 'vertical', + width: '100%', + height: '200%', + widgets: [ + { + type: 'text', + id: 'notice', + value: 'Hello, world!', + width: '100%', + }, + { + type: 'button', + id: 'button', + address: '/foo', + preArgs: [1], + }, + ] + }] + }) +} + +module.exports = { + reload: function(){ + // When reloading this script, recreate all widgets + create_widgets() + }, +} + +// Called when a client is opened +// +// This can be omitted if you want to dynamically create additional widgets on top +// of a session loaded with --load +app.once('open', () => { + app.once('sessionSetPath', (data) => { + // Session was created + create_widgets() + }) + // Create a new empty session + receive('', '', '/SESSION/CREATE') +}) + +``` diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index 98ea8c63..168f80fa 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -202,6 +202,11 @@ Save state session to `path.state`. ---- +#### `/SESSION/CREATE` + +Create a new empty session + +---- #### `/SESSION/OPEN path.json` Open session file `path.json`. diff --git a/src/client/remote-control.js b/src/client/remote-control.js index 1f0380c8..ad4705d5 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -263,6 +263,11 @@ var callbacks = { console.log(args) + }, + '/SESSION/CREATE': function(args) { + + sessionManager.create() + }, '/SESSION/OPEN': function(args) { From 33d0b54dadd43c1e0036776ecac08d6e28a0c4f3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Jun 2024 12:51:24 +0200 Subject: [PATCH 5211/5759] osc/custom module: more error backtraces --- CHANGELOG.md | 5 +++++ src/server/custom-module.js | 8 ++++---- src/server/osc/index.js | 20 +++++++++++++++++--- src/server/osc/tcp.js | 2 +- 4 files changed, 27 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35e1b0a7..2b9406c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.26.3 + +- custom module + - provide error backtraces in module.exports functions + ## 1.26.2 - bug fixes diff --git a/src/server/custom-module.js b/src/server/custom-module.js index b70ebfbe..62e394fb 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -110,7 +110,7 @@ class CustomModule { try { code = fs.readFileSync(this.filename, {encoding: 'utf8', flag: 'rs'}) // flag 'rs' to avoid cache issue on windows } catch(err) { - console.error(`(ERROR) ${this.submodule ? 'Submodule' : 'Custom module'} not found: ${this.filename}`) + console.error(`(ERROR, CUSTOM MODULE) module not found: ${this.filename}`) return false } @@ -129,8 +129,8 @@ class CustomModule { }) } catch(err) { loadedModules[this.filename] = null - console.error('(ERROR) Custom module loading error') - console.error(err) + console.error('(ERROR, CUSTOM MODULE) error while loading module') + console.log(err) return false } @@ -153,7 +153,7 @@ class CustomModule { try { this.module.exports.unload() } catch(e) { - console.error('(ERROR) Error while unloading custom module') + console.error('(ERROR) Error while unloading custom module', e) console.error(e) } } diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 1126c2cf..34dc5c92 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -145,14 +145,24 @@ class OscServer { oscInFilter(data){ if (this.customModule.oscInFilter) { - return this.customModule.oscInFilter(data) + try { + return this.customModule.oscInFilter(data) + } catch(e) { + console.error('(ERROR, CUSTOM MODULE)', e) + return data + } } else { return data } } oscOutFilter(data){ if (this.customModule.oscOutFilter) { - return this.customModule.oscOutFilter(data) + try { + return this.customModule.oscOutFilter(data) + } catch(e) { + console.error('(ERROR, CUSTOM MODULE)', e) + return data + } } else { return data } @@ -198,7 +208,11 @@ class OscServer { } if (this.customModule.init) { - this.customModule.init() + try { + this.customModule.init() + } catch(e) { + console.error('(ERROR, CUSTOM MODULE)', e) + } } } diff --git a/src/server/osc/tcp.js b/src/server/osc/tcp.js index 89d76546..edb12f65 100644 --- a/src/server/osc/tcp.js +++ b/src/server/osc/tcp.js @@ -25,7 +25,7 @@ class OscTCPClient extends EventEmitter { this.port = new osc.TCPSocketPort(this.options) this.port.on('error', (err)=>{ - console.error(`(ERROR, TCP) ${err.message}`) + console.error('(ERROR, TCP)', err) }) this.port.on('close', (hadErr)=>{ From 0e1ef27eb58058e70b24516866916d70e45f556b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Jun 2024 12:53:44 +0200 Subject: [PATCH 5212/5759] server/launcher: app address / qr code not updating when network changes --- CHANGELOG.md | 3 +++ src/server/address.js | 7 ++++--- src/server/index.js | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b9406c4..66e62a41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.26.3 +- bug fixes + - app address / qr code not updating when network changes + - custom module - provide error backtraces in module.exports functions diff --git a/src/server/address.js b/src/server/address.js index b7969f38..279a22de 100644 --- a/src/server/address.js +++ b/src/server/address.js @@ -1,9 +1,10 @@ -var ifaces = require('os').networkInterfaces(), - address = Object.values(ifaces) +var networkInterfaces = require('os').networkInterfaces + +module.exports = (proto, port)=>{ + var address = Object.values(networkInterfaces()) .reduce((a,b)=>a.concat(b), []) .filter(i=>i.family === 'IPv4') .map(i=>i.address + ':') -module.exports = (proto, port)=>{ return address.map(x=>proto + x + port) } diff --git a/src/server/index.js b/src/server/index.js index 70da7123..8dcb80df 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -92,7 +92,7 @@ function showQRCode(){ for (var add of addresses) { if (launcher) { QRCode.toString(add,{type:'svg', small: true, margin: 1}, (err, qr)=>{ - launcher.webContents.send('stdout', '
            ' + qr + '
            ') + launcher.webContents.send('stdout', '
            ' + qr + '
            ') }) if (addresses.length > 1) { launcher.webContents.send('stdout', '(' + add + ')') From 0e3119226b7149e0375e46df6691c5fd887683ae Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Jun 2024 14:03:29 +0200 Subject: [PATCH 5213/5759] theme: fix issues with autoreload (correctly detect when stylesheet is reloaded) --- CHANGELOG.md | 1 + src/client/ipc/callbacks.js | 39 +++++++++++++++++++++++++++---------- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66e62a41..607cbb0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - app address / qr code not updating when network changes + - issue after theme auto reload (broken grid, colors not updated) - custom module - provide error backtraces in module.exports functions diff --git a/src/client/ipc/callbacks.js b/src/client/ipc/callbacks.js index 846bdfb5..7f7c4ae5 100644 --- a/src/client/ipc/callbacks.js +++ b/src/client/ipc/callbacks.js @@ -95,18 +95,37 @@ module.exports = { reloadCss: function(){ var queryString = '?__OSC_ASSET__=1&reload=' + Date.now() - DOM.each(document, 'link[rel="stylesheet"][hot-reload]', (el)=>{ - el.href = el.href.replace(/\?.*|$/, queryString) - }) + var sheets = DOM.get(document, 'link[rel="stylesheet"][hot-reload]') + var loaded = 0 - setTimeout(()=>{ - var root = widgetManager.getWidgetById('root')[0] - if (root) root.onPropChanged('color') - GRIDWIDTH_CSS = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--grid-width')) - editor.toggleGrid() - editor.toggleGrid() - },200) + for (let stylesheet of sheets) { + stylesheet.href = stylesheet.href.replace(/\?.*|$/, queryString) + // use image hack to catch stylesheet load event + let img = document.createElement('img') + document.body.appendChild(img) + + img.onerror = img.onload = ()=>{ + img.onerror = img.onload = null + document.body.removeChild(img) + + if (++loaded === sheets.length) { + var root = widgetManager.getWidgetById('root')[0] + if (root) root.onPropChanged('colorWidget') + fastdom.measure(()=>{ + GRIDWIDTH_CSS = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--grid-width')) + fastdom.mutate(()=>{ + editor.toggleGrid() + editor.toggleGrid() + }) + }) + } + } + + img.src = stylesheet.href + + + } }, From dad35b6166b8fbc0feac678b501ae6cad95d8cbb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 20 Jun 2024 13:37:38 +0200 Subject: [PATCH 5214/5759] package lock update --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 949bd685..372cdf91 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,7 +74,7 @@ "watchify": "4.0.0" }, "engines": { - "node": ">=16" + "node": ">=16 <=20" }, "optionalDependencies": { "electron": "15.1.0", From da6c5d02c720ddf4b0ae7954c161e7e82b740438 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 20 Jun 2024 13:38:04 +0200 Subject: [PATCH 5215/5759] clean --- src/client/widgets/common/canvas.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index bb98700a..54a9e014 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -203,10 +203,6 @@ class Canvas extends Widget { this.batchDraw() }) }) - // setTimeout(()=>{ - // this.cacheCanvasStyle() - // this.batchDraw() - // },10) return case 'css': case 'lineWidth': From f93056d21ea1188444f2e2a13e3f2ce306c2eca5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 20 Jun 2024 14:30:08 +0200 Subject: [PATCH 5216/5759] pads: expose/clean --point-size css var, make pointSize property dynamic --- CHANGELOG.md | 3 +++ src/client/widgets/common/canvas.js | 1 + src/client/widgets/pads/multixy.js | 9 ++++----- src/client/widgets/pads/pad.js | 25 +++++++++++++++++++++---- src/client/widgets/pads/xy.js | 4 ++-- src/scss/widgets/pads.scss | 2 ++ 6 files changed, 33 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 607cbb0f..34ed8c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - app address / qr code not updating when network changes - issue after theme auto reload (broken grid, colors not updated) +- widgets + - pads: expose css variable `--point-size` + - custom module - provide error backtraces in module.exports functions diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 54a9e014..3fbc6568 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -197,6 +197,7 @@ class Canvas extends Widget { case 'alphaFillOff': case 'alphaFillOn': case 'colorBg': + case 'pointSize': fastdom.measure(()=>{ this.cacheCanvasStyle() fastdom.mutate(()=>{ diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 88fb1569..64a600e5 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -64,7 +64,6 @@ module.exports = class MultiXy extends Pad { this.npoints = Array.isArray(this.getProp('points')) ? this.getProp('points').length : this.getProp('points') || 0 this.labels = Array.isArray(this.getProp('points')) - this.pointSize = parseInt(this.getProp('pointSize')) this.preventChildrenTouchState = true this.pads = [] @@ -82,7 +81,7 @@ module.exports = class MultiXy extends Pad { logScaleX:this.getProp('logScaleX'), logScaleY:this.getProp('logScaleY'), axisLock:this.getProp('axisLock'), - pointSize: this.getProp('pointSize'), + pointSize: 'auto', pips: this.getProp('pips') && i == this.npoints-1, sensitivity: this.getProp('sensitivity'), input:false @@ -249,9 +248,9 @@ module.exports = class MultiXy extends Pad { updateHandlesPosition() { for (var i=0;i `}) - this.canvas.style.setProperty('--pointSize', parseInt(this.getProp('pointSize')) + 'rem') - } cacheCanvasStyle(style) { @@ -21,16 +19,35 @@ class Pad extends Canvas { super.cacheCanvasStyle(style) - this.pointSize = parseFloat(style.getPropertyValue('--pointSize')) * PXSCALE this.padPadding = (this.cssVars.padding + this.cssVars.lineWidth) + 2 * PXSCALE } + onPropChanged(propName, options, oldPropValue) { + + var ret = super.onPropChanged(...arguments) + + switch (propName) { + case 'pointSize': + this.setCssVariables() + return + } + + return ret + + + } + } +Pad.cssVariables = Pad.prototype.constructor.cssVariables.concat( + {js: 'pointSize', css: '--point-size', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, +) + Pad.dynamicProps = Pad.prototype.constructor.dynamicProps.filter(n => n !== 'decimals').concat([ 'spring', - 'axisLock' + 'axisLock', + 'pointSize' ]) module.exports = Pad diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index f2e4a1aa..42609df2 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -208,7 +208,7 @@ module.exports = class Xy extends Pad { draw() { - var pointSize = this.pointSize, + var pointSize = this.cssVars.pointSize, margin = this.padPadding, x = this.faders.x.percentToCoord(this.faders.x.percent), y = this.faders.y.percentToCoord(this.faders.y.percent), @@ -287,7 +287,7 @@ module.exports = class Xy extends Pad { } - if (!pipsDrawn) this.clearRect = [x - this.pointSize - 2 * PXSCALE, y - this.pointSize - 2 * PXSCALE, (this.pointSize + PXSCALE) * 4, (this.pointSize + PXSCALE) * 4] + if (!pipsDrawn) this.clearRect = [x - pointSize - 2 * PXSCALE, y - pointSize - 2 * PXSCALE, (pointSize + PXSCALE) * 4, (pointSize + PXSCALE) * 4] if (!ephemeral || this.active) { diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index 34feae3e..ba13d73d 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -30,6 +30,8 @@ .multixy-container { + --point-size: 20rem; + canvas:not(:first-child) { position: absolute; top: 0; From 118c064e86e225231c02bb040eca82c481b2d842 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Jun 2024 12:03:47 +0200 Subject: [PATCH 5217/5759] custom module: error message formatting --- src/server/custom-module.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/server/custom-module.js b/src/server/custom-module.js index b3b461b0..ac8c0464 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -43,7 +43,7 @@ class CustomModule { if (typeof(errorCallback) === 'function') { errorCallback(e) } else { - console.error('(ERROR) could not load json file from ' + url) + console.error('(ERROR, CUSTOM MODULE) could not load json file from ' + url) console.error(e.message) } } @@ -56,7 +56,7 @@ class CustomModule { if (typeof(errorCallback) === 'function') { errorCallback(e) } else { - console.error('(ERROR) could not save json file to ' + url) + console.error('(ERROR, CUSTOM MODULE) could not save json file to ' + url) console.error(e.message) } } @@ -110,7 +110,7 @@ class CustomModule { try { code = fs.readFileSync(this.filename, {encoding: 'utf8', flag: 'rs'}) // flag 'rs' to avoid cache issue on windows } catch(err) { - console.error(`(ERROR, CUSTOM MODULE) module not found: ${this.filename}`) + console.error(`(ERROR, CUSTOM MODULE) Module not found: ${this.filename}`) return false } @@ -129,7 +129,7 @@ class CustomModule { }) } catch(err) { loadedModules[this.filename] = null - console.error('(ERROR, CUSTOM MODULE) error while loading module') + console.error('(ERROR, CUSTOM MODULE) Error while loading module') console.log(err) return false } @@ -153,7 +153,7 @@ class CustomModule { try { this.module.exports.unload() } catch(e) { - console.error('(ERROR) Error while unloading custom module', e) + console.error('(ERROR, CUSTOM MODULE) Error while calling unload()') console.error(e) } } @@ -200,12 +200,12 @@ class CustomModule { try { this.module.exports.reload() } catch(e) { - console.error('(ERROR) Error while calling custom module reload function') + console.error('(ERROR, CUSTOM MODULE) Error while calling custom module reload function') console.error(e) } } } else { - console.error('(ERROR) Failed to reload custom module') + console.error('(ERROR, CUSTOM MODULE) Failed to reload custom module') this.unload() } } From c06107a07fda442fc105e0701a63df4c1783d690 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Jun 2024 12:08:22 +0200 Subject: [PATCH 5218/5759] remote control: ignore unsaved changes on /SESSION/CREATE --- resources/docs/docs/remote-control.md | 2 +- src/client/remote-control.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index 168f80fa..de66127b 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -204,7 +204,7 @@ Save state session to `path.state`. #### `/SESSION/CREATE` -Create a new empty session +Create a new empty session. Unsaved changes will be lost. ---- #### `/SESSION/OPEN path.json` diff --git a/src/client/remote-control.js b/src/client/remote-control.js index ad4705d5..b20b1315 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -266,6 +266,8 @@ var callbacks = { }, '/SESSION/CREATE': function(args) { + editor.unsavedSession = false + sessionManager.create() }, From c56a5bfbeb318e92bbfabfdee868e04031a580cc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Jun 2024 12:11:13 +0200 Subject: [PATCH 5219/5759] log: latest changes --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34ed8c51..67de9d3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ - custom module - provide error backtraces in module.exports functions + - add `reload()` callback to provide finer control over the module's lifecycle + +- remote control + - add /SESSION/CREATE command ## 1.26.2 From 026230d8e1d600a4c33884cf135f5e8e4b38f0d5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 15 Jul 2024 11:03:07 +0200 Subject: [PATCH 5220/5759] custom module: add `stop()` callback (runs when the server stops --- CHANGELOG.md | 1 + .../docs/docs/custom-module/custom-module.md | 6 +++ src/server/custom-module.js | 12 ++++++ src/server/electron-app.js | 3 -- src/server/index.js | 41 +++++++++++++++---- src/server/osc/index.js | 7 ++++ 6 files changed, 59 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67de9d3a..79c38c24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - custom module - provide error backtraces in module.exports functions - add `reload()` callback to provide finer control over the module's lifecycle + - add `stop()` callback (runs when the server stops) - remote control - add /SESSION/CREATE command diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index a79cf24e..eac6bc0a 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -10,6 +10,7 @@ Using the server's `custom-module` option, users can load a custom javascript mo // Do whatever you want // initialize variables // declare functions +// listen to app events // load modules // etc @@ -21,6 +22,11 @@ module.exports = { // it is called for the main module only }, + stop: function(){ + // this will be executed once when the osc server stops + // it is called for the main module only + }, + reload: function(){ // this will be executed after the custom module is reloaded // it is called for the main module only diff --git a/src/server/custom-module.js b/src/server/custom-module.js index ac8c0464..d7b369c6 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -210,6 +210,18 @@ class CustomModule { } } + stop() { + + if (this.module.exports && this.module.exports.stop) { + try { + this.module.exports.stop() + } catch(e) { + console.error('(ERROR, CUSTOM MODULE) Error while calling custom module stop function') + console.error(e) + } + } + } + setTimeout(fn, t) { var timeout = setTimeout(fn, t) this.timeouts.push(timeout) diff --git a/src/server/electron-app.js b/src/server/electron-app.js index 60aea880..3b9c5cb7 100644 --- a/src/server/electron-app.js +++ b/src/server/electron-app.js @@ -115,9 +115,6 @@ if (process.platform === 'darwin') { ) } -app.on('before-quit',()=>{ - process.exit() -}) app.on('ready',()=>{ var menu = Menu.buildFromTemplate(template) diff --git a/src/server/index.js b/src/server/index.js index 8dcb80df..a710e4f4 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -175,21 +175,21 @@ function startServerProcess() { function stopServerProcess() { if (settings.read('no-gui')) { - if (serverProcess) serverProcess.kill() + if (serverProcess) serverProcess.kill('SIGINT') return } var toClose = [...clientWindows].filter(w=>w && !w.isDestroyed()), closed = 0 - if (toClose.length === 0) serverProcess.kill() + if (toClose.length === 0) serverProcess.kill('SIGINT') for (var w of toClose) { w.on('closed', ()=>{ closed++ if (closed === toClose.length) { clientWindows = [] - if (serverProcess) serverProcess.kill() + if (serverProcess) serverProcess.kill('SIGINT') } }) w.close() @@ -283,10 +283,26 @@ if (settings.read('docs')) { server.bindCallbacks(callbacks) serverStarted = true - process.on('exit',()=>{ - if (osc.midi) osc.midi.stop() + + var closeServer = ()=>{ + osc.server.stop() zeroconf.unpublishAll() - }) + } + + try { + let {app} = require('electron') + app.on('ready', ()=>{ + process.on('SIGINT', function() { + closeServer() + process.exit(0) + }) + }) + } catch(e) { + process.on('SIGINT', function() { + closeServer() + process.exit(0) + }) + } if (!process.env.OSC_SERVER_PROCESS) server.eventEmitter.on('serverStarted', ()=>{ if (!settings.read('no-qrcode')) showQRCode() @@ -299,8 +315,17 @@ if (settings.read('docs')) { // - node process: server (node mode in a forked process) app = require('./electron-app') - process.on('exit',()=>{ - if (serverProcess) serverProcess.kill() + + app.on('ready', ()=>{ + process.on('SIGINT', function() { + if (serverProcess) serverProcess.kill('SIGINT') + process.exit(0) + }) + }) + + app.on('before-quit',()=>{ + console.log('PARENT PROCESS QUIT') + if (serverProcess) serverProcess.kill('SIGINT') }) diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 34dc5c92..8061369d 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -217,6 +217,13 @@ class OscServer { } + stop() { + + if (this.customModule.stop) this.customModule.stop() + if (midi) midi.stop() + + } + } From 8a34f9c81cb24aaac4ec97fdae5f465c3300e1cc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 24 Jul 2024 11:57:51 +0200 Subject: [PATCH 5221/5759] clean --- src/server/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/index.js b/src/server/index.js index a710e4f4..04fc768b 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -324,7 +324,6 @@ if (settings.read('docs')) { }) app.on('before-quit',()=>{ - console.log('PARENT PROCESS QUIT') if (serverProcess) serverProcess.kill('SIGINT') }) From 3547da8bdfc14e9f54cbcea5ef48042013346e12 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 24 Jul 2024 11:59:54 +0200 Subject: [PATCH 5222/5759] client: file browser now remembers the last displayed directory --- CHANGELOG.md | 3 +++ src/server/callbacks.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79c38c24..4188a530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ - remote control - add /SESSION/CREATE command +- client + - file browser now remembers the last displayed directory + ## 1.26.2 - bug fixes diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 8f7ce467..cfc4d542 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -492,7 +492,7 @@ module.exports = { // remote file browser backend if (data.path) data.path[0] = resolveHomeDir(data.path[0]) - else data.path = [resolveHomeDir('~/')] + else data.path = [settings.read('last-dir') || resolveHomeDir('~/')] var p = path.resolve(...data.path), root = resolveHomeDir(settings.read('remote-root')) @@ -546,6 +546,7 @@ module.exports = { path: p, files: list }, clientId) + settings.write('last-dir', p, false, false) } }) From 31700de02143de8a9ae22b19c6d270a9e9e91354 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 25 Jul 2024 09:20:06 +0200 Subject: [PATCH 5223/5759] package: next is 1.27 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4188a530..df017e29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.26.3 +## 1.27.0 - bug fixes - app address / qr code not updating when network changes diff --git a/package.json b/package.json index 4b02d128..19d31745 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.26.2", + "version": "1.27.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 1510ebb80d23cf077dc93094aa5659c89239af7f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 26 Jul 2024 12:14:36 +0200 Subject: [PATCH 5224/5759] ui: allow dismissing notifications with a click --- CHANGELOG.md | 1 + resources/docs/docs/user-interface/client.md | 2 +- src/client/ui/notifications.js | 18 +++++++++++++----- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df017e29..f4d2de0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - client - file browser now remembers the last displayed directory + - allow dismissing notifications by clicking on them ## 1.26.2 diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index b48599ea..a7a05e0d 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -42,7 +42,7 @@ It is the main component, it contains all the widgets and takes all the availabl ## 4. Notifications -Notifications appear in the lower right corner, they are usually used to convey server status information. +Notifications appear in the lower right corner, they are usually used to convey server status information and can be dismissed with a single click. ## 5. Modals diff --git a/src/client/ui/notifications.js b/src/client/ui/notifications.js index 1c9547f0..3a5e1324 100644 --- a/src/client/ui/notifications.js +++ b/src/client/ui/notifications.js @@ -1,5 +1,6 @@ var html = require('nanohtml'), - morph = require('nanomorph') + morph = require('nanomorph'), + UiWidget = require('./ui-widget') var DEFAULT_DURATION = 3500 @@ -53,15 +54,22 @@ class Toast { } -class Notifications { +class Notifications extends UiWidget { - constructor() { + constructor(options) { + + super(options) - this.container = DOM.get('#notifications')[0] this.toasts = [] this.loop = null + this.container.addEventListener('fast-click', (e)=>{ + for (var toast of this.toasts) { + if (toast.html.contains(e.target)) this.remove(toast) + } + }) + } add(data) { @@ -118,4 +126,4 @@ class Notifications { } -module.exports = new Notifications() +module.exports = new Notifications({selector: '#notifications'}) From 30ee07c52b160c8cc8d51558c608c0ebcad4a91a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 26 Jul 2024 12:17:09 +0200 Subject: [PATCH 5225/5759] clean --- src/client/ui/main-menu.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js index 9e081dec..c948983d 100644 --- a/src/client/ui/main-menu.js +++ b/src/client/ui/main-menu.js @@ -233,7 +233,6 @@ if (navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)) { wakeLock = l }).catch((err)=>{ console.error(`Could not acquire wake lock:\n${err.name}, ${err.message}`) - console.info(`Falling back name}, ${err.message}`) wakeLock = null }) } From abf943da5ffee91dfefec07e691e6412aa7872a4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 26 Jul 2024 12:30:58 +0200 Subject: [PATCH 5226/5759] ui: allow disabling notifications globally --- CHANGELOG.md | 2 ++ resources/docs/docs/client-options.md | 1 + resources/docs/docs/user-interface/client.md | 1 + src/client/locales/de.js | 5 ++++- src/client/locales/en.js | 3 +++ src/client/locales/fr.js | 3 +++ src/client/locales/pl.js | 3 +++ src/client/ui/main-menu.js | 7 +++++++ src/client/ui/notifications.js | 10 ++++++++++ 9 files changed, 34 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4d2de0c..626b0c10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ - client - file browser now remembers the last displayed directory - allow dismissing notifications by clicking on them + - allow toggling notifications globally from main menu + - add `notifications` client option ## 1.26.2 diff --git a/resources/docs/docs/client-options.md b/resources/docs/docs/client-options.md index 0ec69a1c..41b046ae 100644 --- a/resources/docs/docs/client-options.md +++ b/resources/docs/docs/client-options.md @@ -17,6 +17,7 @@ Client options can be set either with the server's `--client-options` option, or | clientSync | 1 / 0 | 1 | set to 0 to prevent the client from syncing with other clients | | altTraversing | 1 / 0 | 0 | set to 1 to enable an alternative traversing behavior for toggle buttons (traversing gestures on toggle buttons will change their values in only one way depending on the first touched button's state) | | virtualKeyboard | 1 / 0 | 0 | (desktop only) set to 1 to enable the virtual keyboard by default | +| notifications | 1 / 0 | 1 | set to 0 to hide notifications by default | Example: diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index a7a05e0d..2133c01f 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -30,6 +30,7 @@ - Clear console: remove logged messages from the console - Virtual keyboard: (desktop only) toggle virtual keyboard (displayed only when a text input is in focus, except for code editors in the inspector) - Fullscreen: toggle fullscreen +- Notifications: toggle visibility of notifications - Prevent sleep (mobile only): attempt to prevent device from going to sleep when idle ## 2. Sidepanels diff --git a/src/client/locales/de.js b/src/client/locales/de.js index 4b534f2a..a0e8d1cb 100644 --- a/src/client/locales/de.js +++ b/src/client/locales/de.js @@ -94,6 +94,9 @@ module.exports = { // nosleep nosleep: 'Prevent sleep', + // notifications + notifications: 'Benachrichtigungen', + // remote save remotesave_open: 'Öffnen (auf dem Server)', remotesave_save: 'Speichern (auf dem Server)', @@ -135,4 +138,4 @@ module.exports = { error: 'Error' -} \ No newline at end of file +} diff --git a/src/client/locales/en.js b/src/client/locales/en.js index 854b632d..eb43793e 100644 --- a/src/client/locales/en.js +++ b/src/client/locales/en.js @@ -94,6 +94,9 @@ module.exports = { // nosleep nosleep: 'Prevent sleep', + // notifications + notifications: 'Notifications', + // remote save remotesave_open: 'Open (on the server)', remotesave_save: 'Save (on the server)', diff --git a/src/client/locales/fr.js b/src/client/locales/fr.js index 2930a437..9538d4dc 100644 --- a/src/client/locales/fr.js +++ b/src/client/locales/fr.js @@ -94,6 +94,9 @@ module.exports = { // nosleep nosleep: 'Empêcher la veille', + // notifications + notifications: 'Notifications', + // remote save remotesave_open: 'Ouvrir (sur le serveur)', remotesave_save: 'Enregistrer (sur le serveur)', diff --git a/src/client/locales/pl.js b/src/client/locales/pl.js index 0e48a7fa..7fac7fa1 100644 --- a/src/client/locales/pl.js +++ b/src/client/locales/pl.js @@ -94,6 +94,9 @@ module.exports = { // nosleep nosleep: 'Nie pozwalaj na uśpienie ekranu', + // notifications + notifications: 'Powiadomienia', + // remote save remotesave_open: 'Otwórz (na serwerze)', remotesave_save: 'Sapisz (na serwerze)', diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js index c948983d..03adeac4 100644 --- a/src/client/ui/main-menu.js +++ b/src/client/ui/main-menu.js @@ -211,6 +211,13 @@ var menuEntries = [ if (fullscreen.isEnabled) fullscreen.toggle() }, shortcut: 'f11' + }, + { + label: locales('notifications'), + class: ()=>{return 'toggle ' + (notifications.visible ? 'on' : 'off')}, + action: ()=>{ + notifications.setVisibility(!notifications.visible) + } } ] diff --git a/src/client/ui/notifications.js b/src/client/ui/notifications.js index 3a5e1324..37d1e187 100644 --- a/src/client/ui/notifications.js +++ b/src/client/ui/notifications.js @@ -63,6 +63,9 @@ class Notifications extends UiWidget { this.toasts = [] this.loop = null + this.visible = undefined + + this.setVisibility(ENV.notifications != 0) this.container.addEventListener('fast-click', (e)=>{ for (var toast of this.toasts) { @@ -124,6 +127,13 @@ class Notifications extends UiWidget { } + setVisibility(v) { + + this.visible = v + this.container.style.display = v ? '' : 'none' + + } + } module.exports = new Notifications({selector: '#notifications'}) From 359d467f4d9b9e865f08647dc1a0f6bfda4d84d2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 26 Jul 2024 12:41:27 +0200 Subject: [PATCH 5227/5759] docs: fix build --- scripts/client-shim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/client-shim.js b/scripts/client-shim.js index 2818ca9d..a6edb55c 100644 --- a/scripts/client-shim.js +++ b/scripts/client-shim.js @@ -79,7 +79,7 @@ Object.assign(global, window) // Required globals DOM = require('../src/client/dom') -DOM.get = x=>[{addEventListener:()=>{}}] +DOM.get = x=>[{addEventListener:()=>{}, style:{}}] DOM.init() ELECTRON_NOGPU = false CANVAS_FRAMERATE = 1 From adb27b35fb8a5252a1e19b13df3d8b639a7d68bc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 26 Jul 2024 12:41:43 +0200 Subject: [PATCH 5228/5759] docs: udpate ref --- resources/docs/docs/widgets/properties-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 2f43d5a0..0b30ee3a 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -708,7 +708,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | - |
            pointSize#
            | `integer` | 20 | Defines the points' size | + |
            pointSize#
            | `integer` | 20 | Defines the points' size | |
            ephemeral#
            | `boolean` | false | When set to `true`, the point will be drawn only while touched. | |
            pips#
            | `boolean` | true | Set to `false` to hide the scale | @@ -760,7 +760,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | - |
            pointSize#
            | `integer` | 20 | Defines the points' size | + |
            pointSize#
            | `integer` | 20 | Defines the points' size | |
            ephemeral#
            | `boolean` | false | When set to `true`, the points will be drawn only while touched. | |
            pips#
            | `boolean` | true | Set to `false` to hide the scale | From 0bc7848b06279dafc2db3d26081fdb0069330075 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 26 Jul 2024 12:45:31 +0200 Subject: [PATCH 5229/5759] log: fix formatting --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 626b0c10..b7144195 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,10 +18,10 @@ - add /SESSION/CREATE command - client - - file browser now remembers the last displayed directory - - allow dismissing notifications by clicking on them - - allow toggling notifications globally from main menu - - add `notifications` client option + - file browser now remembers the last displayed directory + - allow dismissing notifications by clicking on them + - allow toggling notifications globally from main menu + - add `notifications` client option ## 1.26.2 From 8878c9283babab9591a29c77b553254f3a280c4f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 9 Aug 2024 12:48:34 +0200 Subject: [PATCH 5230/5759] noop: typo --- src/client/ui/ui-selectarea.js | 18 +++++++++--------- src/client/widgets/common/osc-receiver.js | 6 +++--- src/client/widgets/common/queue.js | 6 +++--- src/client/widgets/graphs/visualizer.js | 6 +++--- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/client/ui/ui-selectarea.js b/src/client/ui/ui-selectarea.js index 0fe9eb80..89b2a83f 100644 --- a/src/client/ui/ui-selectarea.js +++ b/src/client/ui/ui-selectarea.js @@ -18,9 +18,9 @@ class UiSelectArea { this.selector = selector this.callback = callback - this.bindedMousedown = this.mousedown.bind(this) - this.bindedMousemove = this.mousemove.bind(this) - this.bindedMouseup = this.mouseup.bind(this) + this.boundMousedown = this.mousedown.bind(this) + this.boundMousemove = this.mousemove.bind(this) + this.boundMouseup = this.mouseup.bind(this) } @@ -109,17 +109,17 @@ class UiSelectArea { enable() { - document.addEventListener('pointerdown', this.bindedMousedown) - document.addEventListener('pointermove', this.bindedMousemove, true) - document.addEventListener('pointerup', this.bindedMouseup) + document.addEventListener('pointerdown', this.boundMousedown) + document.addEventListener('pointermove', this.boundMousemove, true) + document.addEventListener('pointerup', this.boundMouseup) } disable() { - document.removeEventListener('pointerdown', this.bindedMousedown) - document.removeEventListener('pointermove', this.bindedMousemove, true) - document.removeEventListener('pointerup', this.bindedMouseup) + document.removeEventListener('pointerdown', this.boundMousedown) + document.removeEventListener('pointermove', this.boundMousemove, true) + document.removeEventListener('pointerup', this.boundMouseup) } diff --git a/src/client/widgets/common/osc-receiver.js b/src/client/widgets/common/osc-receiver.js index 09121fbf..868b0f9e 100644 --- a/src/client/widgets/common/osc-receiver.js +++ b/src/client/widgets/common/osc-receiver.js @@ -20,7 +20,7 @@ module.exports = class OscReceiver { this.parent = parent this.propNames = [propName] this.usePreArgs = usePreArgs - this.bindedCallback = this.callback.bind(this) + this.boundCallback = this.callback.bind(this) this.prefix = '' this.setAddress(address) @@ -30,7 +30,7 @@ module.exports = class OscReceiver { if (this.address !== address) { - if (this.address) osc.off(this.prefix + this.address, this.bindedCallback, this.parent) + if (this.address) osc.off(this.prefix + this.address, this.boundCallback, this.parent) if (address) this.address = address @@ -44,7 +44,7 @@ module.exports = class OscReceiver { if (this.prefix[this.prefix.length - 1] !== '/') this.prefix += '/' } - osc.on(this.prefix + this.address, this.bindedCallback, {context: this.parent}) + osc.on(this.prefix + this.address, this.boundCallback, {context: this.parent}) } diff --git a/src/client/widgets/common/queue.js b/src/client/widgets/common/queue.js index 9b0ba092..d6245bc9 100644 --- a/src/client/widgets/common/queue.js +++ b/src/client/widgets/common/queue.js @@ -11,7 +11,7 @@ class CanvasQueue extends EventEmitter{ this.running = false this.frameLength = 1000 / CANVAS_FRAMERATE this.lastFrame = 0 - this.bindedLoop = this.loop.bind(this) + this.boundLoop = this.loop.bind(this) } @@ -27,7 +27,7 @@ class CanvasQueue extends EventEmitter{ this.running = true this.flushed = 0 - requestAnimationFrame(this.bindedLoop) + requestAnimationFrame(this.boundLoop) } @@ -49,7 +49,7 @@ class CanvasQueue extends EventEmitter{ return } - requestAnimationFrame(this.bindedLoop) + requestAnimationFrame(this.boundLoop) var delta = timestamp - this.lastFrame diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index 8f30ea8a..8cb2eece 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -54,7 +54,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot this.watchDuration = 1000 * this.getProp('duration') this.ticks = 0 - this.bindedLoop = this.loop.bind(this) + this.boundLoop = this.loop.bind(this) } @@ -63,7 +63,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot this.clock = Date.now() if (!this.looping && !this.getProp('freeze')) { this.lastUpdate = Date.now() - canvasQueue.on('frame', this.bindedLoop) + canvasQueue.on('frame', this.boundLoop) if (!canvasQueue.running) canvasQueue.startLoop() this.looping = true this.ticks = 0 @@ -74,7 +74,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot if (this.looping) { - canvasQueue.off('frame', this.bindedLoop) + canvasQueue.off('frame', this.boundLoop) this.looping = false } From f2b2dbe9f613c04763bcfa03fccc9cdb8c994b21 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 10 Aug 2024 10:07:56 +0200 Subject: [PATCH 5231/5759] server: fix read-only + fullscreen option combo --- CHANGELOG.md | 5 +++++ src/client/ui/fullscreen.js | 1 + src/server/electron-window.js | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7144195..cf7dc2d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.27.1 + +- bug fixes + - server: `fullscreen` option not working when `read-only` is set + ## 1.27.0 - bug fixes diff --git a/src/client/ui/fullscreen.js b/src/client/ui/fullscreen.js index cb069a36..682081f8 100644 --- a/src/client/ui/fullscreen.js +++ b/src/client/ui/fullscreen.js @@ -38,5 +38,6 @@ if (screenfull.isEnabled && !iOS) { } +window.ELECTRON_FULLSCREEN = ()=>{fullscreen.toggle()} module.exports = fullscreen diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 40f0ea36..77786bc0 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -79,7 +79,7 @@ module.exports = function(options={}) { window.webContents.once('page-title-updated', ()=>{ if (options.fullscreen) { - window.webContents.sendInputEvent({keyCode: 'F11', type: 'keyDown'}) + window.webContents.executeJavaScript('window.ELECTRON_FULLSCREEN()', true) } if (app._noGpu) { window.webContents.executeJavaScript(` From 04b7994e9a00f7d4c3a1a7fbd2284653b48bd10a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 29 Aug 2024 10:43:17 +0200 Subject: [PATCH 5232/5759] led, text: fix client sync --- CHANGELOG.md | 1 + src/client/widgets/indicators/led.js | 3 +-- src/client/widgets/indicators/text.js | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf7dc2d6..4cc88b4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - server: `fullscreen` option not working when `read-only` is set + - led and text widgets not client-syncing ## 1.27.0 diff --git a/src/client/widgets/indicators/led.js b/src/client/widgets/indicators/led.js index e3096c7f..422347de 100644 --- a/src/client/widgets/indicators/led.js +++ b/src/client/widgets/indicators/led.js @@ -3,7 +3,7 @@ var {mapToScale} = require('../utils'), html = require('nanohtml'), StaticProperties = require('../mixins/static_properties') -module.exports = class Led extends StaticProperties(Widget, {bypass: true, interaction: false}) { +module.exports = class Led extends StaticProperties(Widget, {interaction: false}) { static description() { @@ -36,7 +36,6 @@ module.exports = class Led extends StaticProperties(Widget, {bypass: true, inter osc: { decimals: null, typeTags: null, - bypass: null, ignoreDefaults: null } }) diff --git a/src/client/widgets/indicators/text.js b/src/client/widgets/indicators/text.js index 8cfdbd6e..61df9d6a 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -3,7 +3,7 @@ var {iconify} = require('../../ui/utils'), html = require('nanohtml'), StaticProperties = require('../mixins/static_properties') -module.exports = class Text extends StaticProperties(Widget, {bypass: true, interaction: false}) { +module.exports = class Text extends StaticProperties(Widget, {interaction: false}) { static description() { @@ -27,7 +27,6 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte }, osc: { typeTags: null, - bypass: null, ignoreDefaults: null } }) From 5d3f770e3bdf5d089f890f647d12bd1015d6472d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 5 Sep 2024 19:22:42 +0200 Subject: [PATCH 5233/5759] patchbay: address not working properly when set to `auto` --- CHANGELOG.md | 1 + src/client/widgets/containers/patchbay.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cc88b4a..afa22c6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - server: `fullscreen` option not working when `read-only` is set - led and text widgets not client-syncing + - patchbay: address not working properly when set to `auto` ## 1.27.0 diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index 15698b85..f31bb360 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -167,7 +167,7 @@ class PatchBay extends Container(Canvas) { data: { type: 'patchbaynode', id: this.getProp('id') + '/' + this.inputs[k], - address: '@{parent.address}', + address: '#{@{parent.address} == "auto" ? "/" + @{parent.id} : @{parent.address}}', target: '@{parent.target}', preArgs: this.inputs[k], bypass: '@{parent.bypass}', From 98ed962976c58de412bc2a0ef335af772a35e26a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 5 Sep 2024 19:29:09 +0200 Subject: [PATCH 5234/5759] doc: patchbay scripting --- src/client/widgets/containers/patchbay.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index f31bb360..8ea12c75 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -99,12 +99,13 @@ class PatchBay extends Container(Canvas) { class_specific: { inputs: {type: 'array|object', value: ['input_1', 'input_2'], help: [ '- `Array` of input names : `[\'input_1\', \'input_2\']`', - '- `Object` of `"label_1": "input_1"` pairs (example: `{"label a": "value 1", "label b": "value 2"}`). Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won\'t be kept', + '- `Object` of `"label_1": "input_1"` pairs (example: `{"label a": "name 1", "label b": "name 2"}`). Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won\'t be kept', '', 'Patchbay inputs can be connected to one or more outputs and will send messages of the following form when they are connected/disconnected: ', '`/patchbay_address input_x output_x output_y etc`', 'If no output is connected to the input, the message will be `/patchbay_address input_x`', - 'The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1`' + 'The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1`.', + 'To change connections via scripting, one must target the input nodes as follows: `set(\'patchbay_id/input_name\', [\'output_x\', \'output_y\'])`' ]}, outputs: {type: 'array|object', value: ['output_1', 'output_2'], help: 'List of output values the inputs can connect to (see `inputs`).'}, exclusive: {type: 'string', value: false, choices: [false, 'in', 'out', 'both'], help: [ From b194519071ef1f223e2dcc4001a80d8c048053ef Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 5 Sep 2024 19:38:07 +0200 Subject: [PATCH 5235/5759] =?UTF-8?q?patchbay:=20fix=20`=C3=ACgnoreDefault?= =?UTF-8?q?s`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 ++- src/client/widgets/containers/patchbay.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afa22c6b..8d6afe5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ - bug fixes - server: `fullscreen` option not working when `read-only` is set - led and text widgets not client-syncing - - patchbay: address not working properly when set to `auto` + - patchbay: `address` not working properly when set to `auto` + - patchbay: `ignoreDefaults` not working properly ## 1.27.0 diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index 8ea12c75..e01dc307 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -170,6 +170,7 @@ class PatchBay extends Container(Canvas) { id: this.getProp('id') + '/' + this.inputs[k], address: '#{@{parent.address} == "auto" ? "/" + @{parent.id} : @{parent.address}}', target: '@{parent.target}', + ignoreDefaults: '@{parent.ignoreDefaults}', preArgs: this.inputs[k], bypass: '@{parent.bypass}', label: k From 4451cffd36797ac88dc40a6c337258b17ea199aa Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 4 Oct 2024 15:02:25 +0200 Subject: [PATCH 5236/5759] editor: missing position dot in color picker pad (since f93056d21ea1188444f2e2a13e3f2ce306c2eca5) --- CHANGELOG.md | 1 + src/scss/ui/inspector.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d6afe5e..3acf5ac1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - led and text widgets not client-syncing - patchbay: `address` not working properly when set to `auto` - patchbay: `ignoreDefaults` not working properly + - editor: missing position indicator in color picker pad ## 1.27.0 diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 809bcf8f..090cd660 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -691,7 +691,7 @@ osc-inspector-color { $padding: 2rem; border: 1rem solid var(--color-ui-button); overflow: hidden; - + --point-size: 10rem; .widget { background: var(--color-ui-background); flex: 1; From f891442e284d0304651d75022ee970821a108a6e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 4 Oct 2024 15:41:38 +0200 Subject: [PATCH 5237/5759] mobile: apply root's (or themes) background color the the browser's topbar when possible --- CHANGELOG.md | 4 ++ src/client/ipc/callbacks.js | 4 +- src/client/ui/init.js | 1 + src/client/ui/scrollbar-color.js | 32 ---------------- src/client/ui/ui-workspace.js | 2 +- src/client/ui/utils.js | 52 ++++++++++++++++++++++++++ src/client/widgets/containers/panel.js | 2 +- src/client/widgets/containers/root.js | 10 +++++ src/html/client.html | 1 + 9 files changed, 73 insertions(+), 35 deletions(-) delete mode 100644 src/client/ui/scrollbar-color.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 3acf5ac1..e1ab9718 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ - patchbay: `ignoreDefaults` not working properly - editor: missing position indicator in color picker pad +- mobile + - apply root's (or themes) background color the the browser's topbar when possible + + ## 1.27.0 - bug fixes diff --git a/src/client/ipc/callbacks.js b/src/client/ipc/callbacks.js index 7f7c4ae5..08fac43c 100644 --- a/src/client/ipc/callbacks.js +++ b/src/client/ipc/callbacks.js @@ -9,7 +9,8 @@ var utils = require('../ui/utils'), uiLoading = require('../ui/ui-loading'), notifications = require('../ui/notifications'), raw = require('nanohtml/raw'), - backup = require('../backup') + backup = require('../backup'), + {updateMobileThemeColor} = require('../ui/utils') module.exports = { @@ -119,6 +120,7 @@ module.exports = { editor.toggleGrid() }) }) + updateMobileThemeColor() } } diff --git a/src/client/ui/init.js b/src/client/ui/init.js index 73a292e2..c2c4ce3b 100644 --- a/src/client/ui/init.js +++ b/src/client/ui/init.js @@ -5,6 +5,7 @@ require('./notifications') require('./ui-workspace') require('./main-menu') require('./ui-console') +require('./utils').updateMobileThemeColor() if (!navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)) { require('./ui-keyboard') diff --git a/src/client/ui/scrollbar-color.js b/src/client/ui/scrollbar-color.js deleted file mode 100644 index 5150a170..00000000 --- a/src/client/ui/scrollbar-color.js +++ /dev/null @@ -1,32 +0,0 @@ -var chroma = require('chroma-js'), - fastdom = require('fastdom') - -module.exports = (container)=>{ - - fastdom.measure(()=>{ - - var computedStyle = window.getComputedStyle(container), - alpha = parseFloat(computedStyle.getPropertyValue('--alpha-scrollbar')), - alphaOn = parseFloat(computedStyle.getPropertyValue('--alpha-scrollbar-on')), - color = computedStyle.getPropertyValue('--color-fill').trim() - - if (color === 'transparent') { - // prevent chroma-js error - // irrelevant case, but still... - color = 'rgb(0, 0, 0)' - alpha = 0 - alphaOn = 0 - } - - if (color) { - fastdom.mutate(()=>{ - try { - container.style.setProperty('--color-scrollbar', chroma(color).alpha(alpha).css()) - container.style.setProperty('--color-scrollbar-on', chroma(color).alpha(alphaOn).css()) - } catch(e) {} - }) - } - - }) - -} diff --git a/src/client/ui/ui-workspace.js b/src/client/ui/ui-workspace.js index 95c3d189..06eea07f 100644 --- a/src/client/ui/ui-workspace.js +++ b/src/client/ui/ui-workspace.js @@ -1,5 +1,5 @@ var UiWidget = require('./ui-widget'), - setScrollbarColor = require('./scrollbar-color') + {setScrollbarColor} = require('./utils') class UiWorkspace extends UiWidget { diff --git a/src/client/ui/utils.js b/src/client/ui/utils.js index 86c41985..704ace3a 100644 --- a/src/client/ui/utils.js +++ b/src/client/ui/utils.js @@ -1,3 +1,6 @@ +var chroma = require('chroma-js'), + fastdom = require('fastdom'), + widgetManager = require('../managers/widgets') module.exports = { @@ -10,6 +13,55 @@ module.exports = { return String(string).replace(/\^[^\s]{2,}/g,(x)=>{return module.exports.icon(x.substring(1))}) }, + setScrollbarColor: function(container) { + fastdom.measure(()=>{ + + var computedStyle = window.getComputedStyle(container), + alpha = parseFloat(computedStyle.getPropertyValue('--alpha-scrollbar')), + alphaOn = parseFloat(computedStyle.getPropertyValue('--alpha-scrollbar-on')), + color = computedStyle.getPropertyValue('--color-fill').trim() + + if (color === 'transparent') { + // prevent chroma-js error + // irrelevant case, but still... + color = 'rgb(0, 0, 0)' + alpha = 0 + alphaOn = 0 + } + + if (color) { + fastdom.mutate(()=>{ + try { + container.style.setProperty('--color-scrollbar', chroma(color).alpha(alpha).css()) + container.style.setProperty('--color-scrollbar-on', chroma(color).alpha(alphaOn).css()) + } catch(e) {} + }) + } + + }) + + }, + + updateMobileThemeColor: function(){ + + fastdom.measure(()=>{ + var root = widgetManager.getWidgetById('root')[0] + var style = window.getComputedStyle(root ? root.widget : document.documentElement) + + fastdom.mutate(()=>{ + + var color = style.getPropertyValue('--color-background').trim() + try { + for (var el of DOM.get('meta[name="theme-color"], meta[name="apple-mobile-web-app-status-bar-style"]')) { + el.setAttribute('content', color) + } + } catch(e) {} + + }) + + }) + + } } diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index b741cdf1..73068517 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -3,7 +3,7 @@ var Container = require('../common/container'), parser = require('../../parser'), html = require('nanohtml'), {enableTraversingGestures, disableTraversingGestures} = require('../../events/drag'), - setScrollbarColor = require('../../ui/scrollbar-color'), + {setScrollbarColor} = require('../../ui/utils'), iOS13 = require('../../ui/ios') === 13, Fader = require('../sliders/fader'), faderDefaults, Script = require('../scripts/script'), diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 1cfcebae..6c7df940 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -1,5 +1,6 @@ var Panel = require('./panel'), StaticProperties = require('../mixins/static_properties'), + {updateMobileThemeColor} = require('../../ui/utils'), mainMenu class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'root'}) { @@ -84,6 +85,9 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro case 'hideMenu': this.checkMenuVisibility() return + case 'colorBg': + updateMobileThemeColor() + } } @@ -97,6 +101,12 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro } + setCssVariables() { + + super.setCssVariables() + updateMobileThemeColor() + + } } diff --git a/src/html/client.html b/src/html/client.html index fbeaffc0..aea357cf 100644 --- a/src/html/client.html +++ b/src/html/client.html @@ -6,6 +6,7 @@ + From 8fb4662bd1b7e64aa31df2f58a68c29f9f268be6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 5 Oct 2024 17:30:01 +0200 Subject: [PATCH 5238/5759] mobile: fix build (broken in f891442e284d0304651d75022ee970821a108a6e) --- src/client/ui/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/ui/utils.js b/src/client/ui/utils.js index 704ace3a..5547e834 100644 --- a/src/client/ui/utils.js +++ b/src/client/ui/utils.js @@ -1,6 +1,6 @@ var chroma = require('chroma-js'), fastdom = require('fastdom'), - widgetManager = require('../managers/widgets') + widgetManager module.exports = { @@ -45,6 +45,8 @@ module.exports = { updateMobileThemeColor: function(){ + if (!widgetManager) widgetManager = require('../managers/widgets') + fastdom.measure(()=>{ var root = widgetManager.getWidgetById('root')[0] var style = window.getComputedStyle(root ? root.widget : document.documentElement) From c945b8decf1d82e37fa88e0a224af37c78f989c6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 5 Oct 2024 17:50:58 +0200 Subject: [PATCH 5239/5759] mobile: fix build for real --- src/client/ipc/callbacks.js | 2 +- src/client/ui/utils.js | 9 +++------ src/client/widgets/containers/root.js | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/client/ipc/callbacks.js b/src/client/ipc/callbacks.js index 08fac43c..b6dff81f 100644 --- a/src/client/ipc/callbacks.js +++ b/src/client/ipc/callbacks.js @@ -120,7 +120,7 @@ module.exports = { editor.toggleGrid() }) }) - updateMobileThemeColor() + updateMobileThemeColor(root) } } diff --git a/src/client/ui/utils.js b/src/client/ui/utils.js index 5547e834..903b6692 100644 --- a/src/client/ui/utils.js +++ b/src/client/ui/utils.js @@ -1,6 +1,5 @@ var chroma = require('chroma-js'), - fastdom = require('fastdom'), - widgetManager + fastdom = require('fastdom') module.exports = { @@ -43,12 +42,10 @@ module.exports = { }, - updateMobileThemeColor: function(){ - - if (!widgetManager) widgetManager = require('../managers/widgets') + updateMobileThemeColor: function(root) { fastdom.measure(()=>{ - var root = widgetManager.getWidgetById('root')[0] + var style = window.getComputedStyle(root ? root.widget : document.documentElement) fastdom.mutate(()=>{ diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 6c7df940..16aa480b 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -86,7 +86,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro this.checkMenuVisibility() return case 'colorBg': - updateMobileThemeColor() + updateMobileThemeColor(this) } @@ -104,7 +104,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro setCssVariables() { super.setCssVariables() - updateMobileThemeColor() + updateMobileThemeColor(this) } From 2344fc0a81fb0a63a201489377a530620dc1ad98 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 5 Oct 2024 22:39:40 +0200 Subject: [PATCH 5240/5759] mobile: wrong fastdom usage in theme color update routine --- src/client/ui/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/ui/utils.js b/src/client/ui/utils.js index 903b6692..35f0dee2 100644 --- a/src/client/ui/utils.js +++ b/src/client/ui/utils.js @@ -46,11 +46,11 @@ module.exports = { fastdom.measure(()=>{ - var style = window.getComputedStyle(root ? root.widget : document.documentElement) + var style = window.getComputedStyle(root ? root.widget : document.documentElement), + color = style.getPropertyValue('--color-background').trim() fastdom.mutate(()=>{ - var color = style.getPropertyValue('--color-background').trim() try { for (var el of DOM.get('meta[name="theme-color"], meta[name="apple-mobile-web-app-status-bar-style"]')) { el.setAttribute('content', color) From 6f26e53f82151645470808dda5b71cc9c17ed9d1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 5 Oct 2024 22:40:39 +0200 Subject: [PATCH 5241/5759] mobile: unnecessary try/catch in theme update routine --- src/client/ui/utils.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/client/ui/utils.js b/src/client/ui/utils.js index 35f0dee2..7e80d499 100644 --- a/src/client/ui/utils.js +++ b/src/client/ui/utils.js @@ -51,11 +51,9 @@ module.exports = { fastdom.mutate(()=>{ - try { - for (var el of DOM.get('meta[name="theme-color"], meta[name="apple-mobile-web-app-status-bar-style"]')) { - el.setAttribute('content', color) - } - } catch(e) {} + for (var el of DOM.get('meta[name="theme-color"], meta[name="apple-mobile-web-app-status-bar-style"]')) { + el.setAttribute('content', color) + } }) From df8e4bbcbfe636f91ffc149d2f06e9bf5df0e267 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 17 Oct 2024 10:34:27 +0200 Subject: [PATCH 5242/5759] file browser: fallback to home directory when last visited directory is not accessible --- CHANGELOG.md | 1 + src/server/callbacks.js | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1ab9718..2180c013 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - patchbay: `address` not working properly when set to `auto` - patchbay: `ignoreDefaults` not working properly - editor: missing position indicator in color picker pad + - file browser: fallback to home directory when last visited directory is not accessible - mobile - apply root's (or themes) background color the the browser's topbar when possible diff --git a/src/server/callbacks.js b/src/server/callbacks.js index cfc4d542..8b9b0c67 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -491,8 +491,16 @@ module.exports = { listDir(data, clientId) { // remote file browser backend - if (data.path) data.path[0] = resolveHomeDir(data.path[0]) - else data.path = [settings.read('last-dir') || resolveHomeDir('~/')] + if (data.path) { + // path is requested + data.path[0] = resolveHomeDir(data.path[0]) + } else if (settings.read('last-dir') && fs.existsSync(settings.read('last-dir'))) { + // attempt to use last visited directory + data.path = [settings.read('last-dir')] + } else { + // default directory fallback + data.path = [resolveHomeDir('~/')] + } var p = path.resolve(...data.path), root = resolveHomeDir(settings.read('remote-root')) From e239b35a7e5b33ae1073f04a514c901f48bc976a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 17 Oct 2024 10:37:21 +0200 Subject: [PATCH 5243/5759] package: v1.27.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 19d31745..4c9645b1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.27.0", + "version": "1.27.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 89c696796184ece40978e28f1e4b47309c0c2bc8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 2 Nov 2024 11:01:12 +0100 Subject: [PATCH 5244/5759] client: show partially accessible menu in readonly mode; disable console in readonly mode --- CHANGELOG.md | 6 ++++++ src/client/ui/context-menu.js | 20 ++++++++++++++++---- src/client/ui/main-menu.js | 4 ++++ src/client/ui/ui-console.js | 2 +- src/client/ui/ui-toolbar.js | 27 ++++++++++----------------- 5 files changed, 37 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2180c013..554b0ebf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.27.2 + +- client + - show 3-dots menu in read-only mode with access to allowed items (e.g fullscreen) + - hide console in read-only mode + ## 1.27.1 - bug fixes diff --git a/src/client/ui/context-menu.js b/src/client/ui/context-menu.js index fc96bd56..635aacef 100644 --- a/src/client/ui/context-menu.js +++ b/src/client/ui/context-menu.js @@ -82,18 +82,28 @@ class ContextMenu extends UiWidget { iclass = typeof action.class === 'function' ? action .class() : action.class, item = html`
            ${raw(label)}
            ` - item.appendChild(submenu) + if (action.disabled) { + + item.classList.add('disabled') + + } else { + + item.appendChild(submenu) + + this.parse(action.action, submenu, parentReadonly || action.readOnly) + + } + node.appendChild(item) - this.parse(action.action, submenu) - - } else { let label = typeof action.label === 'function' ? action.label() : action.label, iclass = typeof action.class === 'function' ? action.class() : action.class, item = html`
            ${raw(label)}
            ` + if (action.disabled) item.classList.add('disabled') + item._action = action.action node.appendChild(item) @@ -186,6 +196,8 @@ class ContextMenu extends UiWidget { for (let action of actions) { + if (action.disabled) continue + if (Array.isArray(action.action)) { this.bindShortcuts(action.action) diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js index 03adeac4..0d72b001 100644 --- a/src/client/ui/main-menu.js +++ b/src/client/ui/main-menu.js @@ -15,6 +15,7 @@ var menuEntries = [ { label: locales('session'), + disabled: READ_ONLY, action: [ { label: locales('session_new'), @@ -79,6 +80,7 @@ var menuEntries = [ }, { label: locales('state'), + disabled: READ_ONLY, class: ()=>{return sessionManager.session === null ? 'disabled' : ''}, action: [ { @@ -130,6 +132,7 @@ var menuEntries = [ }, { label: locales('editor'), + disabled: READ_ONLY, class: ()=>{return sessionManager.session === null ? 'disabled' : ''}, action: [ { @@ -177,6 +180,7 @@ var menuEntries = [ }, { label: locales('console'), + disabled: READ_ONLY, action: [ { label: locales('console_enabled'), diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index a2a6c2e8..c85a1b0d 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -105,7 +105,7 @@ class UiConsole extends UiSidePanel { this.inputSize() }) - this.enable() + if (!READ_ONLY) this.enable() } diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index bf3e4c60..c048112c 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -13,26 +13,19 @@ class UiToolbar extends UiWidget { this.opened = false this.entries = options.entries - if (READ_ONLY) { + this.menu.bindShortcuts(this.entries) - this.container.style.display = 'none' + this.container.addEventListener('fast-click', (e)=>{ + if (this.opened) this.close() + else this.open(e) + }) - } else { - - this.menu.bindShortcuts(this.entries) - - this.container.addEventListener('fast-click', (e)=>{ - if (this.opened) this.close() - else this.open(e) + this.menu.on('close', ()=>{ + setTimeout(()=>{ + this.opened = false + this.toggleState() }) - - this.menu.on('close', ()=>{ - setTimeout(()=>{ - this.opened = false - this.toggleState() - }) - }) - } + }) } From e6882ee90a9fd7932e419ae08a837e8b1b2039ab Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 5 Nov 2024 15:31:15 +0100 Subject: [PATCH 5245/5759] misc: fix build --- src/client/ui/context-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/context-menu.js b/src/client/ui/context-menu.js index 635aacef..20f00d35 100644 --- a/src/client/ui/context-menu.js +++ b/src/client/ui/context-menu.js @@ -90,7 +90,7 @@ class ContextMenu extends UiWidget { item.appendChild(submenu) - this.parse(action.action, submenu, parentReadonly || action.readOnly) + this.parse(action.action, submenu) } From f3b2b8900c4a0879913e4192b294446a55bceb4d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 5 Nov 2024 15:31:28 +0100 Subject: [PATCH 5246/5759] canvas: attempt to mitigate memory issue on ios --- src/client/widgets/common/canvas.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 3fbc6568..6ebe2bcb 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -225,6 +225,8 @@ class Canvas extends Widget { onRemove() { this.off('resize') + this.canvas.width = 0 + this.canvas.height = 0 super.onRemove() } From 6eb8b73c777f79d99d47b14e42eed081f2462b50 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 5 Nov 2024 16:04:16 +0100 Subject: [PATCH 5247/5759] canvas: attempt to mitigate memory issue on ios (bis) --- src/client/widgets/sliders/fader.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 47a42693..c3547f2f 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -415,6 +415,16 @@ class Fader extends Slider { } + onRemove() { + + if (this.pips) { + this.pips.width = 0 + this.pips.height = 0 + } + super.onRemove() + + } + } From d00987402e042569ed3d7114aa2c26c93f072faf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 12 Nov 2024 13:22:04 +0100 Subject: [PATCH 5248/5759] matrix: don't implicitely override children's `label`, do it explicitely in `props`' default --- CHANGELOG.md | 3 +++ src/client/widgets/containers/matrix.js | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 554b0ebf..433eb3fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - show 3-dots menu in read-only mode with access to allowed items (e.g fullscreen) - hide console in read-only mode +- widgets + - matrix: don't implicitely override children's `label`, do it explicitely in `props`' default + ## 1.27.1 - bug fixes diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 3b1e1391..c7d87ad4 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -17,7 +17,7 @@ class Matrix extends Panel { class_specific: { widgetType: {type: 'string', value: 'button', help: 'Defines the type of the widgets in the matrix'}, quantity: {type: 'number', value: 4, help: 'Defines the number of widgets in the matrix'}, - props: {type: 'object', value: {}, editor: 'javascript', syntaxChecker: false, help: [ + props: {type: 'object', value: {label: "#{$}"}, editor: 'javascript', syntaxChecker: false, help: [ 'Defines a set of property to override the widgets\' defaults.', 'JS{} and #{} blocks in this field are resolved with an extra variable representing each widget\'s index: `$` (e.g. `#{$}`)', 'Advanced syntax blocks (@{}, OSC{}, JS{}, VAR{} and #{}) are resolved at the matrix\' scope (ie @{this.variables} returns the matrix\' variables property)', @@ -111,7 +111,6 @@ class Matrix extends Panel { target: '@{parent.target}', decimals: '@{parent.decimals}', bypass: '@{parent.bypass}', - label: i, top: 'auto', left: 'auto', height: 'auto', From 32803f3f31ab9148a6948b732a5e237cebf8717d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 12 Nov 2024 13:26:43 +0100 Subject: [PATCH 5249/5759] lint: quotes --- src/client/widgets/containers/matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index c7d87ad4..16646774 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -17,7 +17,7 @@ class Matrix extends Panel { class_specific: { widgetType: {type: 'string', value: 'button', help: 'Defines the type of the widgets in the matrix'}, quantity: {type: 'number', value: 4, help: 'Defines the number of widgets in the matrix'}, - props: {type: 'object', value: {label: "#{$}"}, editor: 'javascript', syntaxChecker: false, help: [ + props: {type: 'object', value: {label: '#{$}'}, editor: 'javascript', syntaxChecker: false, help: [ 'Defines a set of property to override the widgets\' defaults.', 'JS{} and #{} blocks in this field are resolved with an extra variable representing each widget\'s index: `$` (e.g. `#{$}`)', 'Advanced syntax blocks (@{}, OSC{}, JS{}, VAR{} and #{}) are resolved at the matrix\' scope (ie @{this.variables} returns the matrix\' variables property)', From 20d29f811197b774f4f0a53fbae698cafcc98d12 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Nov 2024 13:32:22 +0100 Subject: [PATCH 5250/5759] multixy: fix default props when points are named --- CHANGELOG.md | 3 +++ src/client/widgets/pads/multixy.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 433eb3fb..375db8e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.27.2 +- bug fixes + - multixy: `default` not applied when points are named + - client - show 3-dots menu in read-only mode with access to allowed items (e.g fullscreen) - hide console in read-only mode diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 64a600e5..3e2345f2 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -74,7 +74,7 @@ module.exports = class MultiXy extends Pad { snap:this.getProp('snap'), spring:this.getProp('spring'), ephemeral:this.getProp('ephemeral'), - default:this.getProp('default').length === this.getProp('points') * 2 ? [this.getProp('default')[i*2], this.getProp('default')[i*2 + 1]] : '', + default:this.getProp('default').length === this.npoints * 2 ? [this.getProp('default')[i*2], this.getProp('default')[i*2 + 1]] : '', rangeX:this.getProp('rangeX'), rangeY:this.getProp('rangeY'), decimals:this.getProp('decimals'), From 51f2e649680d2776227d52a596939718c2266b1c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 2 Dec 2024 08:34:35 +0100 Subject: [PATCH 5251/5759] scrpiting: httpGet: provide error code --- src/client/widgets/scripts/script-vm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 0d2754cd..4a0eff55 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -305,7 +305,7 @@ class ScriptVm extends Vm { callback(xhr.responseText) } } - xhr.onerror = (e)=>err('httpGet error (' + url + '): ' + xhr.statusText) + xhr.onerror = (e)=>err(`httpGet error (${url}): ${xhr.status} ${xhr.statusText}`) xhr.send(null) } From e56340fd11df3a6346d96f5ed3a3faa11f9a32fe Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 28 Dec 2024 12:08:35 +0100 Subject: [PATCH 5252/5759] misc: expand prop default value is a boolean --- src/client/widgets/common/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index f20539fe..8b350fdd 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -72,7 +72,7 @@ class Widget extends EventEmitter { ]}, width: {type: 'number|percentage', value: 'auto', help: 'Widget width'}, height: {type: 'number|percentage', value: 'auto', help: 'Widget height'}, - expand: {type: 'boolean|number', value: 'false', help: 'If parent\'s layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically.'}, + expand: {type: 'boolean|number', value: false, help: 'If parent\'s layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically.'}, }, style: { colorText: {type: 'string', value: 'auto', help: 'Text color. Set to "auto" to inherit from parent widget.'}, From da4252c6dac53ec78a1e7bd041ee7226d120121d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 28 Dec 2024 12:10:27 +0100 Subject: [PATCH 5253/5759] clone: avoid some unnecessary property checks --- CHANGELOG.md | 1 + src/client/widgets/containers/clone.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 375db8e7..5110013c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - multixy: `default` not applied when points are named + - clone: avoid some unnecessary property checks - client - show 3-dots menu in read-only mode with access to allowed items (e.g fullscreen) diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index e012744e..6e5a9cff 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -96,8 +96,12 @@ class Clone extends Container() { }, {context: this}) widgetManager.on('prop-changed', (e)=>{ + // watch for prop changes initiated by the editor + // Other changes (from advanced syntaxes) are already + // handled by standard widget mechanicsé if (!this.cloneTarget) return + if (!e.options.fromEditor) return if (e.widget === this.cloneTarget || this.cloneTarget.contains(e.widget)) { From 9d21bdc2b503d200b815849799475336a3dc2cb4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 28 Dec 2024 14:24:39 +0100 Subject: [PATCH 5254/5759] clone: fix target prop update check --- src/client/widgets/containers/clone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 6e5a9cff..7aa87be1 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -101,7 +101,7 @@ class Clone extends Container() { // handled by standard widget mechanicsé if (!this.cloneTarget) return - if (!e.options.fromEditor) return + if (!e.options || !e.options.fromEditor) return if (e.widget === this.cloneTarget || this.cloneTarget.contains(e.widget)) { From 4ea2e0b50ab49126fa381ae43f542810b5aff10d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 28 Dec 2024 14:40:05 +0100 Subject: [PATCH 5255/5759] widget: remove potential perf-hurting try/catch that is useless now (element.style is readonly) --- src/client/widgets/common/widget.js | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 8b350fdd..49e67e43 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -28,12 +28,6 @@ var OSCProps = [ 'bypass' ] -var dummyDOM - -DOM.ready(()=>{ - dummyDOM = html`
            ` -}) - setTimeout(()=>{ updateWidget = require('../../editor/data-workers').updateWidget uiConsole = require('../../ui/ui-console') @@ -1170,21 +1164,12 @@ class Widget extends EventEmitter { if (css.includes('{')) { scopedCss = scopeCss(css, prefix) - try { - dummyDOM.style = css - unScopedCss = dummyDOM.getAttribute('style') || '' - - } catch(err) { - - // fallback for browser that don't allow assigning "style" property - css - .replace(/\{[^}]*\}/g, '') - .replace(/^[^@#.]*:.*/gm, (m)=>{ - unScopedCss += m[m.length - 1] === ';' ? m : m + ';' - }) - - } + css + .replace(/\{[^}]*\}/g, '') + .replace(/^[^@#.]*:.*/gm, (m)=>{ + unScopedCss += m[m.length - 1] === ';' ? m : m + ';' + }) if (scopedCss.indexOf('@keyframes') > -1) scopedCss = scopedCss.replace(new RegExp(prefix + '\\s+([0-9]+%|to|from)', 'g'), ' $1') if (scopedCss.indexOf('&') > -1) scopedCss = scopedCss.replace(new RegExp(prefix + '\\s&', 'g'), prefix) From 06e14a57c20b1f5fb197c3d1e55a6bd2cdb95102 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 28 Dec 2024 16:57:32 +0100 Subject: [PATCH 5256/5759] canvas: css: provide a way to bypass resize and css vars checks --- src/client/widgets/common/canvas.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 6ebe2bcb..cc3a1995 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -206,6 +206,13 @@ class Canvas extends Widget { }) return case 'css': + if (!/\/\*\s*noresize\s*\*\//.test(this.getProp('css'))) resize.check(this.canvas, true) + fastdom.measure(()=>{ + this.cacheCanvasStyle() + fastdom.mutate(()=>{ + this.batchDraw() + }) + }) case 'lineWidth': case 'padding': resize.check(this.canvas, true) From 845a93a05207ba6efa1d6ba4d1e7fa2fc3e35307 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 29 Dec 2024 19:03:08 +0100 Subject: [PATCH 5257/5759] canvas: further investigation --- src/client/widgets/common/canvas.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index cc3a1995..213b749a 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -207,12 +207,16 @@ class Canvas extends Widget { return case 'css': if (!/\/\*\s*noresize\s*\*\//.test(this.getProp('css'))) resize.check(this.canvas, true) - fastdom.measure(()=>{ - this.cacheCanvasStyle() - fastdom.mutate(()=>{ - this.batchDraw() + if (!/\/\*\s*novars\s*\*\//.test(this.getProp('css'))) { + // tmp test + fastdom.measure(()=>{ + this.cacheCanvasStyle() + fastdom.mutate(()=>{ + this.batchDraw() + }) }) - }) + } + case 'lineWidth': case 'padding': resize.check(this.canvas, true) From 6ed34736f735fc8c495c1fea195362f12f277069 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 30 Dec 2024 21:38:59 +0100 Subject: [PATCH 5258/5759] Revert "canvas: further investigation" This reverts commit 845a93a05207ba6efa1d6ba4d1e7fa2fc3e35307. --- src/client/widgets/common/canvas.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 213b749a..cc3a1995 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -207,16 +207,12 @@ class Canvas extends Widget { return case 'css': if (!/\/\*\s*noresize\s*\*\//.test(this.getProp('css'))) resize.check(this.canvas, true) - if (!/\/\*\s*novars\s*\*\//.test(this.getProp('css'))) { - // tmp test - fastdom.measure(()=>{ - this.cacheCanvasStyle() - fastdom.mutate(()=>{ - this.batchDraw() - }) + fastdom.measure(()=>{ + this.cacheCanvasStyle() + fastdom.mutate(()=>{ + this.batchDraw() }) - } - + }) case 'lineWidth': case 'padding': resize.check(this.canvas, true) From 1bfc558f83deef094b4d1bd2e986f4693c4e55e8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 11 Jan 2025 14:20:17 +0100 Subject: [PATCH 5259/5759] editor: force property update to prevent advanced syntax change from being unnoticed by clone widgets For instance, a VAR{} may be renamed without its return value to change immediately --- CHANGELOG.md | 1 + src/client/widgets/common/widget.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5110013c..f6dc35a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - multixy: `default` not applied when points are named - clone: avoid some unnecessary property checks + - clone: prevent missing editions in target properties (e.g. VAR{} renamed with the same return value) - client - show 3-dots menu in read-only mode with access to allowed items (e.g fullscreen) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 49e67e43..06dee133 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -915,7 +915,9 @@ class Widget extends EventEmitter { let propValue = this.resolveProp(propName, undefined, false), oldPropValue = this.getProp(propName) - if (!deepEqual(oldPropValue, propValue)) { + if (!deepEqual(oldPropValue, propValue) || (options && options.fromEditor)) { + // forced if initiated by the editor to make sure advanced syntax changes don't go unnoticed by clone + // (a VAR{} may be renamed without its return value to change immediately) if (!this.isDynamicProp(propName)) { From 857e0408be41fa846fb85e3ea87e134a79979f18 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 11 Jan 2025 14:48:17 +0100 Subject: [PATCH 5260/5759] editor: rewrite 1bfc558f83deef094b4d1bd2e986f4693c4e55e8 --- src/client/widgets/common/widget.js | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 06dee133..1b4e05f4 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -408,6 +408,7 @@ class Widget extends EventEmitter { || propNames.some(n => linkedProps.includes(n)) ) { this.createPropsCache() + return true } } @@ -915,9 +916,7 @@ class Widget extends EventEmitter { let propValue = this.resolveProp(propName, undefined, false), oldPropValue = this.getProp(propName) - if (!deepEqual(oldPropValue, propValue) || (options && options.fromEditor)) { - // forced if initiated by the editor to make sure advanced syntax changes don't go unnoticed by clone - // (a VAR{} may be renamed without its return value to change immediately) + if (!deepEqual(oldPropValue, propValue)) { if (!this.isDynamicProp(propName)) { @@ -972,7 +971,21 @@ class Widget extends EventEmitter { } if (options && options.fromEditor) { - this.checkLinkedProps(propNames) + + // update advanced syntax bindings if its an edition + if (this.checkLinkedProps(propNames)) { + + // emit prop-changed event if not already + // to make sure an advanced syntax changes don't go unnoticed by clone + var unNotified = propNames.filter(n => !changedProps.includes(n)) + widgetManager.trigger('prop-changed', { + id: this.getProp('id'), + props: unNotified, + widget: this, + options: options + }) + } + } } From bdd83657c84134b26fbef681b97d7d6220c6f29e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 11 Jan 2025 16:41:07 +0100 Subject: [PATCH 5261/5759] custom module: `receive()` and `send()` now accept `host` and `port` to be provided as a single string argument joined by a colon --- CHANGELOG.md | 3 +++ resources/docs/docs/custom-module/custom-module.md | 2 ++ src/server/osc/index.js | 14 ++++++++++++++ 3 files changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6dc35a8..b93a0ad5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ - widgets - matrix: don't implicitely override children's `label`, do it explicitely in `props`' default +- custom module + - `receive()` and `send()` now accept `host` and `port` to be provided as a single string argument joined by a colon. + ## 1.27.1 - bug fixes diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index eac6bc0a..3615e4fc 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -90,6 +90,8 @@ Send osc/midi message to connected clients. `host` and `port` can be specified t - `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` (objects that don't match this format will simply be turned to a JSON string). - `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retrieved from `app` events or `oscOutFilter`) +For convenience, `host` and `port` can be provided both as single string argument joined with a colon. + ---- #### `send(host, port, address, ...args)` diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 8061369d..85046ce2 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -22,6 +22,14 @@ class OscServer { sendOsc: this.sendOsc.bind(this), receiveOsc: this.receiveOsc.bind(this), send: (host, port, address, ...args)=>{ + if (host.indexOf(':') > -1) { + args.unshift(address) + address = port + var split = host.split(':') + host = split[0] + port = parseInt(split[1]) + } + this.sendOsc({host, port, address, args:args.map(x=>this.parseArg(x))}) }, receive: (host, port, address, ...args)=>{ @@ -31,6 +39,12 @@ class OscServer { if (port !== undefined) args.unshift(port) address = host host = port = undefined + } else if (host.indexOf(':') > -1) { + args.unshift(address) + address = port + var split = host.split(':') + host = split[0] + port = parseInt(split[1]) } var lastArg = args[args.length - 1], options = {} From ebb6478021ad8d7bb51f6740355342bbc11b3d1d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 10:33:08 +0100 Subject: [PATCH 5262/5759] package: v1.27.2 & update docs --- CHANGELOG.md | 2 +- package.json | 2 +- resources/docs/docs/widgets/properties-reference.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b93a0ad5..7cb4f006 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ - matrix: don't implicitely override children's `label`, do it explicitely in `props`' default - custom module - - `receive()` and `send()` now accept `host` and `port` to be provided as a single string argument joined by a colon. + - `receive()` and `send()` now accept `host` and `port` to be provided as a single string argument joined by a colon ## 1.27.1 diff --git a/package.json b/package.json index 4c9645b1..983c9fd7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.27.1", + "version": "1.27.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 0b30ee3a..6729a443 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -28,7 +28,7 @@ |
            top#
            | `number`|
            `percentage` | "auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).

            Otherwise, the widget will be positioned at absolute coordinates | |
            width#
            | `number`|
            `percentage` | "auto" | Widget width | |
            height#
            | `number`|
            `percentage` | "auto" | Widget height | - |
            expand#
            | `boolean`|
            `number` | "false" | If parent's layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically. | + |
            expand#
            | `boolean`|
            `number` | false | If parent's layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically. | === "style" @@ -356,7 +356,7 @@ |
            traversing#
            | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` to limit affected widgets by the type of the first touched widget

            Choices: `false`, `true`, `smart` | |
            widgetType#
            | `string` | "button" | Defines the type of the widgets in the matrix | |
            quantity#
            | `number` | 4 | Defines the number of widgets in the matrix | - |
            props#
            | `object` | \{} | Defines a set of property to override the widgets' defaults.

            JS{} and #{} blocks in this field are resolved with an extra variable representing each widget's index: `$` (e.g. `#{$}`)

            Advanced syntax blocks (@{}, OSC{}, JS{}, VAR{} and #{}) are resolved at the matrix' scope (ie @{this.variables} returns the matrix' variables property)

            Advanced syntax blocks can be passed to children without being resolved at the matrix' scope by adding an underscore before the opening bracket.

            Note: unless overridden, children inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | + |
            props#
            | `object` | \{
             "label": "#{$}"
            }
            | Defines a set of property to override the widgets' defaults.

            JS{} and #{} blocks in this field are resolved with an extra variable representing each widget's index: `$` (e.g. `#{$}`)

            Advanced syntax blocks (@{}, OSC{}, JS{}, VAR{} and #{}) are resolved at the matrix' scope (ie @{this.variables} returns the matrix' variables property)

            Advanced syntax blocks can be passed to children without being resolved at the matrix' scope by adding an underscore before the opening bracket.

            Note: unless overridden, children inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | === "value" @@ -412,7 +412,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
            inputs#
            | `array`|
            `object` | [
             "input_1",
             "input_2"
            ]
            | - `Array` of input names : `['input_1', 'input_2']`
            - `Object` of `"label_1": "input_1"` pairs (example: `{"label a": "value 1", "label b": "value 2"}`). Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept



            Patchbay inputs can be connected to one or more outputs and will send messages of the following form when they are connected/disconnected:

            `/patchbay_address input_x output_x output_y etc`

            If no output is connected to the input, the message will be `/patchbay_address input_x`

            The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1` | + |
            inputs#
            | `array`|
            `object` | [
             "input_1",
             "input_2"
            ]
            | - `Array` of input names : `['input_1', 'input_2']`
            - `Object` of `"label_1": "input_1"` pairs (example: `{"label a": "name 1", "label b": "name 2"}`). Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept



            Patchbay inputs can be connected to one or more outputs and will send messages of the following form when they are connected/disconnected:

            `/patchbay_address input_x output_x output_y etc`

            If no output is connected to the input, the message will be `/patchbay_address input_x`

            The inputs values can be consumed with the property inheritance syntax: `@{patchbay_id/input_1}` returns an array of output names connected to `input_1`.

            To change connections via scripting, one must target the input nodes as follows: `set('patchbay_id/input_name', ['output_x', 'output_y'])` | |
            outputs#
            | `array`|
            `object` | [
             "output_1",
             "output_2"
            ]
            | List of output values the inputs can connect to (see `inputs`). | |
            exclusive#
            | `string` | false | - `in`: allows only one connection per input
            - `out`: allows only one connection per output
            - `both`: allows only one connection per input and output

            Choices: `false`, `in`, `out`, `both` | From 697481e43a0d7cda7243976b09abea5847130d83 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 10:49:13 +0100 Subject: [PATCH 5263/5759] docs: update custom module example --- resources/docs/docs/custom-module/examples.md | 38 +++++++++++++------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index ff92a405..cb994eb9 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -435,22 +435,36 @@ function create_widgets() { module.exports = { reload: function(){ - // When reloading this script, recreate all widgets + // Create widgets whenever the custom modules is edited create_widgets() }, } -// Called when a client is opened -// -// This can be omitted if you want to dynamically create additional widgets on top -// of a session loaded with --load -app.once('open', () => { - app.once('sessionSetPath', (data) => { - // Session was created - create_widgets() - }) - // Create a new empty session - receive('', '', '/SESSION/CREATE') +// Create widgets whenever an existing session is loaded +app.on('sessionOpened', ()=>{ + create_widgets() }) +// And when a new session is created +app.on('sessionSetPath', (e)=>{ + if (e.path === '') { + create_widgets() + } +}) ``` + + +## Simple bridge + +```js +module.exports = { + + oscInFilter: function(data) { + + // pass through incoming messages directly to another application + send('127.0.0.1', 12345, data.address, ...args) + + return data // let original message reach clients / widgets + } + +} From 030446accd60e6d89fd01080c41a40bc292b4230 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 10:53:25 +0100 Subject: [PATCH 5264/5759] docs: missing fences --- resources/docs/docs/custom-module/examples.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index cb994eb9..d903870c 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -461,10 +461,11 @@ module.exports = { oscInFilter: function(data) { - // pass through incoming messages directly to another application + // pass through incoming messages directly to another application send('127.0.0.1', 12345, data.address, ...args) return data // let original message reach clients / widgets } } +``` From b1a7282dc9083209454b3e96727d8d86978b5da1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 12:56:53 +0100 Subject: [PATCH 5265/5759] package: fixing deploy --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7a6c0878..23636ad3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,8 @@ before_install: - python3 -m pip install mkdocs-material install: npm install before_deploy: + - yes | gem update --system --force + - gem install uri deploy: provider: releases api-key: From 1d16bf7c673c08688bafb3452bef36d013193736 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 13:06:26 +0100 Subject: [PATCH 5266/5759] package: fixing deploy 2 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 23636ad3..202fb7e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,9 @@ before_install: install: npm install before_deploy: - yes | gem update --system --force + - gem install bundler - gem install uri + - gem install logger deploy: provider: releases api-key: From f9fcb20d91eda7ab81fcc216bf8eb4a319da572f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 13:21:06 +0100 Subject: [PATCH 5267/5759] package: going on fixing --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 202fb7e0..d1e9b8d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,6 @@ before_install: - python3 -m pip install mkdocs-material install: npm install before_deploy: - - yes | gem update --system --force - - gem install bundler - - gem install uri - - gem install logger deploy: provider: releases api-key: @@ -25,6 +21,8 @@ deploy: on: tags: true before_deploy: + - yes | gem update --system --force + - gem install uri - export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json) - npm run build-docs - npm run package -- --all From ac2ff2cc8b26694a694a4805f7d3f513a34ada7f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 13:31:11 +0100 Subject: [PATCH 5268/5759] package: good to go ? --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index d1e9b8d1..c7147a69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,9 @@ deploy: tags: true before_deploy: - yes | gem update --system --force + - gem install bundler - gem install uri + - gem install logger - export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json) - npm run build-docs - npm run package -- --all From 85c393d18404703ea1f5ab7f4ba6b5f9a51588f1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 13 Jan 2025 13:40:42 +0100 Subject: [PATCH 5269/5759] package: good travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index c7147a69..7e1cc75a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,7 @@ deploy: before_deploy: - yes | gem update --system --force - gem install bundler + - gem install faraday-net_http -v '3.3.0' - gem install uri - gem install logger - export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json) From 5c65d4d59450175f199ca68dc4f6ffc15ca856e2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 21 Jan 2025 18:04:01 +0100 Subject: [PATCH 5270/5759] fader: glitch with large `lineWidth` values in default design mode --- CHANGELOG.md | 5 +++++ src/client/widgets/sliders/fader.js | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cb4f006..6c57f439 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.27.3 + +- bug fixes + - fader: glitch with large `lineWidth` values in default design mode + ## 1.27.2 - bug fixes diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index c3547f2f..31a1caca 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -298,7 +298,8 @@ class Fader extends Slider { this.ctx.rect(m - knobWidth / 6, d, knobWidth / 3, PXSCALE) this.ctx.fill() - this.clearRect = [m - knobWidth / 2 - PXSCALE, this.gaugePadding - knobHeight / 2 - PXSCALE, knobWidth + 2 * PXSCALE, height - 2 * this.gaugePadding + knobHeight + 2 * PXSCALE] + var clearWidth = Math.max(knobWidth, this.cssVars.lineWidth) + this.clearRect = [m - clearWidth / 2 - PXSCALE, this.gaugePadding - knobHeight / 2 - PXSCALE, clearWidth + 2 * PXSCALE, height - 2 * this.gaugePadding + knobHeight + 2 * PXSCALE] } else { From 67bb888a459090a6372224a4e72dea2176fdd711 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 21 Jan 2025 18:04:04 +0100 Subject: [PATCH 5271/5759] log: fix indent --- CHANGELOG.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c57f439..28bb31fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,20 +20,20 @@ - matrix: don't implicitely override children's `label`, do it explicitely in `props`' default - custom module - - `receive()` and `send()` now accept `host` and `port` to be provided as a single string argument joined by a colon + - `receive()` and `send()` now accept `host` and `port` to be provided as a single string argument joined by a colon ## 1.27.1 - bug fixes - - server: `fullscreen` option not working when `read-only` is set - - led and text widgets not client-syncing - - patchbay: `address` not working properly when set to `auto` - - patchbay: `ignoreDefaults` not working properly - - editor: missing position indicator in color picker pad - - file browser: fallback to home directory when last visited directory is not accessible + - server: `fullscreen` option not working when `read-only` is set + - led and text widgets not client-syncing + - patchbay: `address` not working properly when set to `auto` + - patchbay: `ignoreDefaults` not working properly + - editor: missing position indicator in color picker pad + - file browser: fallback to home directory when last visited directory is not accessible - mobile - - apply root's (or themes) background color the the browser's topbar when possible + - apply root's (or themes) background color the the browser's topbar when possible ## 1.27.0 From b3b08c3af5161bcb21fc54f679d811915ebbc076 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 22 Jan 2025 15:38:36 +0100 Subject: [PATCH 5272/5759] widget: amend 1bfc558f83deef094b4d1bd2e986f4693c4e55e8 & 857e0408be41fa846fb85e3ea87e134a79979f18 to only affect clones and fix circular loop regression --- src/client/widgets/common/widget.js | 2 +- src/client/widgets/containers/clone.js | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 1b4e05f4..c6fc02a5 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -978,7 +978,7 @@ class Widget extends EventEmitter { // emit prop-changed event if not already // to make sure an advanced syntax changes don't go unnoticed by clone var unNotified = propNames.filter(n => !changedProps.includes(n)) - widgetManager.trigger('prop-changed', { + widgetManager.trigger('prop-changed-maybe', { id: this.getProp('id'), props: unNotified, widget: this, diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 7aa87be1..22badfb4 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -95,7 +95,7 @@ class Clone extends Container() { }, {context: this}) - widgetManager.on('prop-changed', (e)=>{ + var onPropChanged = (e)=>{ // watch for prop changes initiated by the editor // Other changes (from advanced syntaxes) are already // handled by standard widget mechanicsé @@ -109,7 +109,12 @@ class Clone extends Container() { } - }, {context: this}) + } + + widgetManager.on('prop-changed', onPropChanged, {context: this}) + + // see common/widget.js @ updateProps() + widgetManager.on('prop-changed-maybe', onPropChanged, {context: this}) this.on('widget-created', (e)=>{ From 1ec0d7822d0c29a94398a25318485568fb6c8c66 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 22 Jan 2025 15:40:53 +0100 Subject: [PATCH 5273/5759] package: v1.27.3 --- CHANGELOG.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28bb31fd..884da42c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.27.3 - bug fixes + - regression causing circular loop errors upon certain editions - fader: glitch with large `lineWidth` values in default design mode ## 1.27.2 diff --git a/package.json b/package.json index 983c9fd7..1206aee3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.27.2", + "version": "1.27.3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 24629f302dc3e1d87f30c192f250590cd87ce241 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 29 Jan 2025 16:32:10 +0100 Subject: [PATCH 5274/5759] docs: iframe vs cross-origin policy --- src/client/widgets/frames/frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 6c7573fb..519d97e9 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -7,7 +7,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { static description() { - return 'Embed a web page in a frame.' + return 'Embed a web page in a frame. Note: some websites do not allow this.' } From 16da4bbada7518860cce75b55c58e4088b740110 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Feb 2025 10:57:33 +0100 Subject: [PATCH 5275/5759] fader: draw pips during batched draw call (fixes a glitch and an error) --- CHANGELOG.md | 5 +++++ src/client/widgets/sliders/fader.js | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 884da42c..12c92ab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## next + +- bug fixes + - fader: pips drawing issue causing small a position offset or errors with some browsers + ## 1.27.3 - bug fixes diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 31a1caca..98b50bb9 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -66,6 +66,7 @@ class Fader extends Slider { this.container.classList.toggle('horizontal', this.getProp('horizontal')) this.gaugeGradient = null + this.shouldDrawPips = false var dashed = this.getProp('dashed') this.dashed = dashed ? Array.isArray(dashed) ? dashed.map(x=>parseFloat(x)) : [1, 1] : false @@ -172,7 +173,7 @@ class Fader extends Slider { super.cacheCanvasStyle(style) - if (this.getProp('pips') && this.getProp('design') !== 'compact') this.drawPips() + if (this.getProp('pips') && this.getProp('design') !== 'compact') this.shouldDrawPips = true } @@ -324,6 +325,11 @@ class Fader extends Slider { } + if (this.shouldDrawPips) { + this.drawPips() + this.shouldDrawPips = false + } + if (this.getProp('pips') && !compact) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) From c844f778e3475729424f4d598f9019ccb10b8925 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Feb 2025 12:35:47 +0100 Subject: [PATCH 5276/5759] package: start electron upgrade --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1206aee3..0aef2611 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@babel/plugin-proposal-object-rest-spread": "7.18.0", "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.18.0", - "@electron/remote": "2.0.8", + "@electron/remote": "2.1.2", "ace-builds": "1.24.1", "ansi-html": "0.0.9", "babelify": "10.0.0", @@ -81,8 +81,8 @@ "yargs": "17.5.1" }, "optionalDependencies": { - "electron": "15.1.0", - "electron-installer-debian": "3.1.0", + "electron": "34.1.1", + "electron-installer-debian": "3.2.0", "electron-installer-redhat": "3.4.0" }, "scripts": { From af9c4c5fb0551636aae49039090f4170591d1afd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Feb 2025 12:36:06 +0100 Subject: [PATCH 5277/5759] launcher: fix electron-remote for recent electron --- src/server/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/index.js b/src/server/index.js index 04fc768b..ed1ef705 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -208,6 +208,9 @@ function startLauncher() { address = 'file://' + path.resolve(__dirname + '/../launcher/' + 'index.html'), {ipcMain} = require('electron') + // @electron/remote won't work without this hack + process.mainModule = {require} + require('@electron/remote/main').initialize() app.on('ready',function(){ From a001c755706b2d9e3dec052d763cc67c33fd4e7f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Feb 2025 12:38:41 +0100 Subject: [PATCH 5278/5759] package: prepare apple m1 packaging --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7e1cc75a..ab0a0fc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,8 @@ before_deploy: - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-windows.exe && chmod +x osc-midi-windows.exe && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-x64/open-stage-control.app/Contents/Resources/app/server - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json + - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-arm64/open-stage-control.app/Contents/Resources/app/server + - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR - mkdir dist/packages - npm run deb64 @@ -46,7 +48,8 @@ before_deploy: - mv open-stage-control-win32-x64 open-stage-control_${VERSION}_win32-x64 - mv open-stage-control-linux-x64/*.rpm packages/ - mv open-stage-control-linux-x64 open-stage-control_${VERSION}_linux-x64 - - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx.zip open-stage-control-darwin-x64/open-stage-control.app + - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-x64.zip open-stage-control-darwin-x64/open-stage-control.app + - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-arm64.zip open-stage-control-darwin-arm64/open-stage-control.app - zip -q -r packages/open-stage-control_${VERSION}_node.zip open-stage-control_${VERSION}_node - zip -q -r packages/open-stage-control_${VERSION}_win32-x64.zip open-stage-control_${VERSION}_win32-x64 - zip -q -r packages/open-stage-control_${VERSION}_linux-x64.zip open-stage-control_${VERSION}_linux-x64 From f4264c56f2b01f53630460d7b308d82384fc871b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Feb 2025 12:39:40 +0100 Subject: [PATCH 5279/5759] package: next will be 1.28.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0aef2611..947adf14 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.27.3", + "version": "1.28.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From f7422f56143cbb8448688cd598cf321a41d26a38 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Feb 2025 13:45:51 +0100 Subject: [PATCH 5280/5759] midi: update rtmidi --- src/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/requirements.txt b/src/python/requirements.txt index c2ec30aa..a63392d8 100644 --- a/src/python/requirements.txt +++ b/src/python/requirements.txt @@ -1,2 +1,2 @@ -python-rtmidi == 1.4.9 +python-rtmidi == 1.5.8 pyinstaller From cbeeef1d6710b771d9e04ec091b4fb0342162162 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Feb 2025 17:26:44 +0100 Subject: [PATCH 5281/5759] packaging: new api key --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ab0a0fc7..2110557a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,7 @@ install: npm install before_deploy: deploy: provider: releases - api-key: - secure: Nb4qJlmLEE2/ETHEYe8V8eGI08d4GuE5kdQef5ZnB4PrstppLlAjShv5E4DNTsyalMOMDjpw9v+9aQNzxGiGv+lCVVL5oFvqvDpcYusRuF9Qua7oJtFh+5FvjgC1DDjauk5Z7WQWMvzWwfNmqbY/lxPbA4zVy4kdYkGV/8WnzA9AL5fU0ZU8gDsFjcr9Pz81XDsDXtPH/+iMuclMsEl8V/ZuswWlZaFn1Jnb1tcGC5WUCsuNQo/+gGfSK6Qcf9AKsIrOjdzi55s4jqH1N7P/kKi4a2tWUTwmSLrOxdUmSYjXVOxMu0cAEnHSeYREv/5o6J0MbfQrDoxh2y5roPZzqE+FAuFLl+b/+bYlW0mrfYfSuP/VX9LYh5JSvrhN7rZuUfMqS1iM7c9Dx8sZadMnvYEAAJhH8IV/9SkuRa/8QoIpXf7YB9v1jERxs4gk5CPT5Aml6nY/CvMWiEQ/wJhC7iZd/QRHshgfNLfAGlbbNU2KP6ZsVAGD601fyST/8neoQqLqS9mteOr1QME3c5EFw+XaauIQNYZSl+wJr8Y1YMcKY+fbJqqR0TXkbsoxFgV9PRf/4ZCjIJYtmelQVlM7j20XavOHM/Ko6/y7a3pohFz+ql3YR9jGF5XW2foXb4+e6DwTGL91/f75hYcsvXxoKbeaBjWpaSK8532UTeVkhPM= + api-key: $API_KEY file_glob: true file: dist/packages/* skip_cleanup: true From 9ddd4a9970a3e8b7216f8e7061d6de5d152ee119 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 9 Feb 2025 22:19:44 +0100 Subject: [PATCH 5282/5759] Revert "midi: update rtmidi" This reverts commit f7422f56143cbb8448688cd598cf321a41d26a38. --- src/python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/requirements.txt b/src/python/requirements.txt index a63392d8..c2ec30aa 100644 --- a/src/python/requirements.txt +++ b/src/python/requirements.txt @@ -1,2 +1,2 @@ -python-rtmidi == 1.5.8 +python-rtmidi == 1.4.9 pyinstaller From e8774c26079912e09bb6bcf3a0f2f175a0d98773 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 11 Feb 2025 18:39:08 +0100 Subject: [PATCH 5283/5759] Revert "package: start electron upgrade" This reverts commit c844f778e3475729424f4d598f9019ccb10b8925. --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 947adf14..1771c1b9 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@babel/plugin-proposal-object-rest-spread": "7.18.0", "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.18.0", - "@electron/remote": "2.1.2", + "@electron/remote": "2.0.8", "ace-builds": "1.24.1", "ansi-html": "0.0.9", "babelify": "10.0.0", @@ -81,8 +81,8 @@ "yargs": "17.5.1" }, "optionalDependencies": { - "electron": "34.1.1", - "electron-installer-debian": "3.2.0", + "electron": "15.1.0", + "electron-installer-debian": "3.1.0", "electron-installer-redhat": "3.4.0" }, "scripts": { From 2d19a6085495b8e3912f273244b5da31c78b9fde Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 11 Feb 2025 18:39:26 +0100 Subject: [PATCH 5284/5759] script: fix setFocus for textarea --- src/client/widgets/scripts/script-vm.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 4a0eff55..8ba596a3 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -460,8 +460,7 @@ class ScriptVm extends Vm { if (widgets.length) { setTimeout(()=>{ - - widgets[0].widget.focus() + if (widgets[0].focus) widgets[0].focus() }) } } From 432919befa606e841d48ae260070fdce99b98047 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 11 Feb 2025 18:40:57 +0100 Subject: [PATCH 5285/5759] package: postpone electron update --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2110557a..6876d34f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,8 +35,8 @@ before_deploy: - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-windows.exe && chmod +x osc-midi-windows.exe && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-x64/open-stage-control.app/Contents/Resources/app/server - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json - - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-arm64/open-stage-control.app/Contents/Resources/app/server - - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json + # - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-arm64/open-stage-control.app/Contents/Resources/app/server + # - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR - mkdir dist/packages - npm run deb64 From b81acd87fac72a31c7de8c55d8513ea11e6440fd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 11 Feb 2025 18:42:27 +0100 Subject: [PATCH 5286/5759] package: next is just a patch release actually --- CHANGELOG.md | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12c92ab1..0c7fef26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Changelog -## next +## 1.27.4 - bug fixes - fader: pips drawing issue causing small a position offset or errors with some browsers + - script: setFocus not working with textarea widgets ## 1.27.3 diff --git a/package.json b/package.json index 1771c1b9..a53c1de2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.28.0", + "version": "1.27.4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 2dce5c4338c65c8e6f6422a51d55b084d75cc760 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Feb 2025 09:14:42 +0100 Subject: [PATCH 5287/5759] widget: remove style node when it's not needed --- src/client/widgets/common/widget.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index c6fc02a5..fe629c84 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -1199,9 +1199,11 @@ class Widget extends EventEmitter { var style = (unScopedCss ? prefix + '{' + unScopedCss + '}\n' : '') + scopedCss + style = style.trim() if (this.style) { - this.style.innerText = style + if (style) this.style.innerText = style + else this.container.removeChild(this.style) } else if (scopedCss.length || unScopedCss.length){ this.style = html`` this.container.insertBefore(this.style, this.container.childNodes[0] || null) From 8fa4263016fc96708936b0e72b8e4de9f84d4086 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Feb 2025 09:19:17 +0100 Subject: [PATCH 5288/5759] package: v1.27.4 --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 372cdf91..d279a90b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-stage-control", - "version": "1.26.2", + "version": "1.27.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-stage-control", - "version": "1.26.2", + "version": "1.27.4", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { From ed23fb4e0f643cb850b9d95315c8256d67e462b2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 13 Feb 2025 19:08:28 +0100 Subject: [PATCH 5289/5759] package: rm erroneously included m1 package --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6876d34f..0e77bad3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,7 @@ before_deploy: - mv open-stage-control-linux-x64/*.rpm packages/ - mv open-stage-control-linux-x64 open-stage-control_${VERSION}_linux-x64 - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-x64.zip open-stage-control-darwin-x64/open-stage-control.app - - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-arm64.zip open-stage-control-darwin-arm64/open-stage-control.app + # - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-arm64.zip open-stage-control-darwin-arm64/open-stage-control.app - zip -q -r packages/open-stage-control_${VERSION}_node.zip open-stage-control_${VERSION}_node - zip -q -r packages/open-stage-control_${VERSION}_win32-x64.zip open-stage-control_${VERSION}_win32-x64 - zip -q -r packages/open-stage-control_${VERSION}_linux-x64.zip open-stage-control_${VERSION}_linux-x64 From 0ab928efc2715b47c5acc1a841082ce229a402a5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 13 Feb 2025 19:12:42 +0100 Subject: [PATCH 5290/5759] pachbay: fix layout --- CHANGELOG.md | 5 +++++ src/scss/widgets/containers.scss | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c7fef26..a374072b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.27.5 + +- bug fixes + - patchbay: layout issue + ## 1.27.4 - bug fixes diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 396bcb89..346aaee1 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -611,6 +611,7 @@ .patchbaynode-container { justify-content: center; + flex: 1; background: transparent; } From 2a509adfa8fceb211c906c20c31164cf2ac6694e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 16 Feb 2025 15:13:57 +0100 Subject: [PATCH 5291/5759] widget: fix css regression --- CHANGELOG.md | 1 + src/client/widgets/common/widget.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a374072b..a704801e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - patchbay: layout issue + - widget: regression causing error when emptying the css property ## 1.27.4 diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index fe629c84..4b97f478 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -1201,7 +1201,7 @@ class Widget extends EventEmitter { var style = (unScopedCss ? prefix + '{' + unScopedCss + '}\n' : '') + scopedCss style = style.trim() - if (this.style) { + if (this.style && this.container.contains(this.style)) { if (style) this.style.innerText = style else this.container.removeChild(this.style) } else if (scopedCss.length || unScopedCss.length){ From 70e242f3ca1d2305780a2e2fe1a837b210b0b522 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 16 Feb 2025 15:15:02 +0100 Subject: [PATCH 5292/5759] log: correct fix msg --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a704801e..381a4a95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - bug fixes - patchbay: layout issue - - widget: regression causing error when emptying the css property + - widget: regression causing error when emptying the css property and leaving only class declarations ## 1.27.4 From a48e0c173fc903b120d4ab1019764cd1b50073d5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 16 Feb 2025 17:31:57 +0100 Subject: [PATCH 5293/5759] modal: hide unused property --- src/client/widgets/containers/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 5c3198df..2f14cd1d 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -38,7 +38,7 @@ class Modal extends Panel { ]}, popupLabel: {type: 'string|boolean', value: 'auto', help: 'Alternative label for the modal popup'}, popupPadding: {type: 'number', value: 'auto', help: 'Modal\'s inner spacing.'}, - verticalTabs: null, + tabsPosition: null, html: null }, children: { From 389badb113d4faca45d9a97d765cca655d1ddc7f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 16 Feb 2025 17:32:16 +0100 Subject: [PATCH 5294/5759] modal/menu: position issues in scrolled containers --- CHANGELOG.md | 2 ++ src/client/widgets/containers/modal.js | 12 ++++++++++++ src/scss/widgets/basics.scss | 3 +-- src/scss/widgets/containers.scss | 6 ++++-- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 381a4a95..37ac2fc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - bug fixes - patchbay: layout issue - widget: regression causing error when emptying the css property and leaving only class declarations + - modal: incorrect position in scrolled containers when `relative` is `true` + - menu: incorrect position in scrlled containers depending on menu's alignment ## 1.27.4 diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 2f14cd1d..8da88304 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -181,6 +181,8 @@ class Modal extends Panel { fixParents() { var parent = this.parent, + scrollX = 0, + scrollY = 0, stop = this.getProp('ignoreTabs') ? /root/ : /root|tab/ while (parent && parent.props && !String(parent.getProp('type')).match(stop)) { @@ -190,9 +192,19 @@ class Modal extends Panel { else if (parent.modalBreakout === 0) parent.container.classList.remove('modal-breakout') else parent.modalBreakout = 0 + scrollX += parent.widget.scrollLeft + scrollY += parent.widget.scrollTop + parent = parent.parent } + scrollX += parent.widget.scrollLeft + scrollY += parent.widget.scrollTop + + if (this.getProp('relative')) { + this.container.style.setProperty('--parent-scroll-x', scrollX + 'px') + this.container.style.setProperty('--parent-scroll-y', scrollY + 'px') + } this.modalBreakout += (this.value ? 1 : -1) if (this.modalBreakout > 0) this.container.classList.add('modal-breakout') diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 1e31f9cb..6624b9ae 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -291,8 +291,7 @@ position: fixed; z-index: 999999999; - margin-left: calc(-1 * var(--parent-scroll-x)); - margin-top: calc(-1 * var(--parent-scroll-y)); + transform: translate(calc(-1 * var(--parent-scroll-x)), calc(-1 * var(--parent-scroll-y))); overflow: hidden; diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 346aaee1..c891e973 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -566,6 +566,8 @@ } + --parent-scroll-x:0; + --parent-scroll-y:0; &.relative { > .popup { left: auto; @@ -574,8 +576,8 @@ bottom: auto; width: var(--width, 100%); height: var(--height, 100%); - margin-top: calc(-1 * var(--widget-spacing)); - margin-left: calc(-1 * var(--widget-spacing)); + margin-top: calc(-1 * var(--widget-spacing) - var(--parent-scroll-y)); + margin-left: calc(-1 * var(--widget-spacing) - var(--parent-scroll-x)); padding: var(--widget-spacing); align-items:flex-start; justify-content: flex-start; From 107ca1d29591116f67d57f37e2652c951f3d9d55 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 16 Feb 2025 17:32:38 +0100 Subject: [PATCH 5295/5759] package: next is 1.27.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a53c1de2..6fa7be67 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.27.4", + "version": "1.27.5", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From c554a23c99cf02fe39ecf9cc171f37243a6ded3a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Feb 2025 10:04:28 +0100 Subject: [PATCH 5296/5759] ui: use event.key instead of event.keyCode for various keybindings --- src/client/ui/ui-code-editor.js | 4 ++-- src/client/ui/ui-colorpicker.js | 4 ++-- src/client/ui/ui-console.js | 8 ++++---- src/client/ui/ui-filebrowser.js | 6 +++--- src/client/ui/ui-inspector.js | 4 ++-- src/client/ui/ui-modal.js | 4 ++-- src/client/ui/zoom.js | 6 +++--- src/client/widgets/basics/input.js | 4 ++-- src/client/widgets/basics/textarea.js | 4 ++-- src/client/widgets/containers/modal.js | 2 +- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/client/ui/ui-code-editor.js b/src/client/ui/ui-code-editor.js index c83cb00a..040ed4a6 100644 --- a/src/client/ui/ui-code-editor.js +++ b/src/client/ui/ui-code-editor.js @@ -40,7 +40,7 @@ class CodeEditor { this.closeKey = ((e)=>{ // this handler may remain dangling if closing with ctrl+enter // we ignore this as it has no effect - if (e.keyCode !== 27) return + if (e.key != 'Escape') return this.field.classList.remove('fullscreen') this.editor.setOptions({maxLines: 30}) this.editor.fullscreen = false @@ -52,7 +52,7 @@ class CodeEditor { this.closeClick = ((e)=>{ if (e.target === this.field) { - this.closeKey({keyCode: 27}) + this.closeKey({key: 'Escape'}) } }).bind(this) diff --git a/src/client/ui/ui-colorpicker.js b/src/client/ui/ui-colorpicker.js index 21748bfb..43e3cbbd 100644 --- a/src/client/ui/ui-colorpicker.js +++ b/src/client/ui/ui-colorpicker.js @@ -46,11 +46,11 @@ class ColorPicker extends UiWidget { this.opened = 0 this.escKeyHandler = ((e)=>{ - if (e.keyCode==27) this.close() + if (e.key == 'Escape') this.close() }).bind(this) this.enterKeyHandler = ((e)=>{ - if (e.keyCode == 13) this.confirm() + if (e.key == 'Enter') this.confirm() }).bind(this) } diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index c85a1b0d..708c3aa6 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -69,10 +69,10 @@ class UiConsole extends UiSidePanel { this.widget.hash = 'CONSOLE' this.input.addEventListener('keydown', (event)=>{ - if (event.keyCode === 13 && !event.shiftKey) { + if (event.key === 'Enter' && !event.shiftKey) { event.preventDefault() this.inputValidate() - } else if (event.keyCode === 38) { + } else if (event.key == 'ArrowUp') { if (this.cursor < this.history.length - 1) { if (this.input.value.substr(0, this.input.selectionStart).split('\n').length !== 1) return @@ -81,7 +81,7 @@ class UiConsole extends UiSidePanel { this.input.value = this.history[this.cursor] event.preventDefault() } - } else if (event.keyCode === 40) { + } else if (event.key == 'ArrowDown') { if (this.cursor > 0) { var nLines = this.input.value.split('\n').length if (this.input.value.substr(0, this.input.selectionStart).split('\n').length !== nLines) return @@ -90,7 +90,7 @@ class UiConsole extends UiSidePanel { this.input.value = this.history[this.cursor] event.preventDefault() } - } else if (event.keyCode === 9 && this.input.value !== '') { + } else if (event.key == 'DOM_VK_TAB' && this.input.value !== '') { var cur = this.input.selectionStart, val = this.input.value this.input.value = val.slice(0, cur) + ' ' + val.slice(cur) diff --git a/src/client/ui/ui-filebrowser.js b/src/client/ui/ui-filebrowser.js index e448e957..0454ea53 100644 --- a/src/client/ui/ui-filebrowser.js +++ b/src/client/ui/ui-filebrowser.js @@ -95,7 +95,7 @@ module.exports = function UiFilebrowser(options, callback) { function keyDownHandler(e){ - if (e.keyCode === 13) { + if (e.key == 'Enter') { if (save) { document.addEventListener('keyup', keyUpHandler) } else { @@ -103,7 +103,7 @@ module.exports = function UiFilebrowser(options, callback) { } } else if (e.target === saveInput) { return - } else if (e.keyCode === 8) { + } else if (e.key == 'DOM_VK_BACK_SPACE') { list.childNodes[0].firstElementChild.checked = true submit() } else if (e.key.length === 1) { @@ -131,7 +131,7 @@ module.exports = function UiFilebrowser(options, callback) { } function keyUpHandler(e){ - if (e.keyCode === 13) { + if (e.key == 'Enter') { setTimeout(submit, 100) document.removeEventListener('keyup', keyUpHandler) } diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 1db74ecc..8c40a5b6 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -330,7 +330,7 @@ class UiInspector extends UiWidget { if (event.target.tagName === 'TEXTAREA') { - if (event.keyCode === 13 && + if (event.key == 'Enter' && ((!event.shiftKey && !event.target._ace) || (event[codeEditorModKey] && event.target._ace)) ) { @@ -338,7 +338,7 @@ class UiInspector extends UiWidget { event.preventDefault() DOM.dispatchEvent(event.target, 'change') - } else if (event.keyCode === 27) { + } else if (event.key == 'Escape') { event.preventDefault() event.target.value = event.target.textContent diff --git a/src/client/ui/ui-modal.js b/src/client/ui/ui-modal.js index 45a44e56..54c5c50b 100644 --- a/src/client/ui/ui-modal.js +++ b/src/client/ui/ui-modal.js @@ -56,13 +56,13 @@ class UiModal extends UiWidget { if (this.escKey) { this.escKeyHandler = ((e)=>{ - if (e.keyCode==27) this.close() + if (e.key == 'Escape') this.close() }).bind(this) } if (this.enterKey) { this.enterKeyHandler = ((e)=>{ - if (e.keyCode == 13) this.enterKey.call(this, e) + if (e.key == 'Enter') this.enterKey.call(this, e) }).bind(this) } diff --git a/src/client/ui/zoom.js b/src/client/ui/zoom.js index fef60424..61e65d58 100644 --- a/src/client/ui/zoom.js +++ b/src/client/ui/zoom.js @@ -31,12 +31,12 @@ class Zoom extends EventEmitter { document.addEventListener('keydown', (event)=>{ if (event[mod]) { - if (event.keyCode == 96 || event.keyCode == 48) { + if (event.key == 'DOM_VK_0' || event.key == 'Numpad0') { this.setGlobalZoom(INITIALZOOM) this.setLocalZoom(1) } - else if (event.keyCode == 107 || event.keyCode == 109) { - this.setGlobalZoom((event.keyCode == 107 ? 0.1 : -0.1) + PXSCALE) + else if (event.key == '+' || event.key == '-') { + this.setGlobalZoom((event.key == '+' ? 0.1 : -0.1) + PXSCALE) } } diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index d0d30435..161a8816 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -90,8 +90,8 @@ class Input extends Canvas { } this.input.addEventListener('keydown', (e)=>{ - if (e.keyCode === 13) this.blur() // enter - else if (e.keyCode === 27) this.blur(false) // esc + if (e.key == 'Enter') this.blur() + else if (e.key == 'Escape') this.blur(false) else if (asYouType) { setTimeout(()=>{ this.inputChange() diff --git a/src/client/widgets/basics/textarea.js b/src/client/widgets/basics/textarea.js index 77f49c8d..ab44b09d 100644 --- a/src/client/widgets/basics/textarea.js +++ b/src/client/widgets/basics/textarea.js @@ -49,12 +49,12 @@ class TextArea extends Widget { }, {element: this.input}) this.input.addEventListener('keydown', (e)=>{ - if (e.keyCode === 13 && !e.shiftKey) { + if (e.key == 'Enter' && !e.shiftKey) { // enter e.preventDefault() this.blur() } - else if (e.keyCode === 27) { + else if (e.key == 'Escape') { // esc this.blur(false) this.input.value = this.value diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 8da88304..25c26909 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -123,7 +123,7 @@ class Modal extends Panel { this.escapeKeyHandler = ((e)=>{ - if (e.keyCode==27) this.setValue(0, {sync:true, send:true}) + if (e.key == 'Escape') this.setValue(0, {sync:true, send:true}) }).bind(this) this.value = 0 From dd8da4708543af0b16d3eab5e627657a6726eea9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Feb 2025 10:05:10 +0100 Subject: [PATCH 5297/5759] script widget: sometimes e.preventDefault is not defined --- src/client/widgets/scripts/script-widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script-widget.js b/src/client/widgets/scripts/script-widget.js index 5c06f6df..890b7ff7 100644 --- a/src/client/widgets/scripts/script-widget.js +++ b/src/client/widgets/scripts/script-widget.js @@ -91,7 +91,7 @@ class ScriptWidget extends Widget { if (e.type === 'keydown' && !this.getProp('keyRepeat')) e.preventRepeat() - e.preventDefault() + if (e.preventDefault) e.preventDefault() this.scripts.onKeyboard.run({ type: e.type, From b9edeca691c96bd5f2d28553d9e2e584126ecc8f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Feb 2025 23:53:24 +0100 Subject: [PATCH 5298/5759] matrix: tabsPosition should be hidden --- src/client/widgets/containers/matrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 16646774..fd720879 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -27,7 +27,7 @@ class Matrix extends Panel { }, style: { layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, - verticalTabs: null, + tabsPosition: null, } }) From 1286acc2a3c45b43de476720aef7bb0ba2cac1b1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 23 Feb 2025 18:40:23 +0100 Subject: [PATCH 5299/5759] ui: zoom tweaks (limit zoom wheel rate, bypass native browser zoom on ctrl + / - / 0) --- CHANGELOG.md | 6 +++++- package.json | 2 +- src/client/ui/zoom.js | 42 ++++++++++++++++++++++++++++-------------- 3 files changed, 34 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37ac2fc4..9f7aa4a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,16 @@ # Changelog +- bug fixes + - ui: global zoom (CmdOrCtrl + scroll / + / - / 0) issues and conflits with native browser zoom; + - ui: limit ctrl + scroll zoom speed + ## 1.27.5 - bug fixes - patchbay: layout issue - widget: regression causing error when emptying the css property and leaving only class declarations - modal: incorrect position in scrolled containers when `relative` is `true` - - menu: incorrect position in scrlled containers depending on menu's alignment + - menu: incorrect position in scrlled containers depending on menu's alignment ## 1.27.4 diff --git a/package.json b/package.json index 6fa7be67..63dc5246 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.27.5", + "version": "1.27.6-dev", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/ui/zoom.js b/src/client/ui/zoom.js index 61e65d58..ed08d1ce 100644 --- a/src/client/ui/zoom.js +++ b/src/client/ui/zoom.js @@ -8,22 +8,30 @@ class Zoom extends EventEmitter { super() this.localZoom = 1 + this.lastWheelZoom = 0 document.addEventListener('wheel', (event)=>{ if (event.ctrlKey) event.preventDefault() - if (event[mod]) { - event.preventDefault() + var now = Date.now() + if (now - this.lastWheelZoom > 50) { - if (event.deltaY === 0) return + if (event[mod]) { - let d = - event.deltaY / (10 * Math.abs(event.deltaY)) - if (!isNaN(d)) this.setGlobalZoom(d + PXSCALE) - } - if (event.altKey) { - event.preventDefault() - let d = - event.deltaY / (10 * Math.abs(event.deltaY)) * 2 - if (!isNaN(d)) this.setLocalZoom(d + this.localZoom) + event.preventDefault() + + if (event.deltaY === 0) return + + let d = - event.deltaY / (10 * Math.abs(event.deltaY)) + if (!isNaN(d)) this.setGlobalZoom(d + PXSCALE) + } + if (event.altKey) { + event.preventDefault() + let d = - event.deltaY / (10 * Math.abs(event.deltaY)) * 2 + if (!isNaN(d)) this.setLocalZoom(d + this.localZoom) + } + + this.lastWheelZoom = now } }, {passive: false}) @@ -31,16 +39,22 @@ class Zoom extends EventEmitter { document.addEventListener('keydown', (event)=>{ if (event[mod]) { - if (event.key == 'DOM_VK_0' || event.key == 'Numpad0') { + if (event.key == 'DOM_VK_0' || event.key == 'Numpad0'|| event.code == 'Digit0') { + event.preventDefault() this.setGlobalZoom(INITIALZOOM) this.setLocalZoom(1) } - else if (event.key == '+' || event.key == '-') { - this.setGlobalZoom((event.key == '+' ? 0.1 : -0.1) + PXSCALE) + else if (event.key == '+' || event.key == '=') { + event.preventDefault() + this.setGlobalZoom(PXSCALE + 0.1) + } + else if (event.key == '-') { + event.preventDefault() + this.setGlobalZoom(PXSCALE - 0.1) } } - }, {passive: true}) + }, {passive: false}) } From 60655dc8968c7c26fce5aacc2f87273b7e6cf65f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 23 Feb 2025 18:47:43 +0100 Subject: [PATCH 5300/5759] ui: keep some keycodes around for zoom kb ctrls --- src/client/ui/zoom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/ui/zoom.js b/src/client/ui/zoom.js index ed08d1ce..39f64f62 100644 --- a/src/client/ui/zoom.js +++ b/src/client/ui/zoom.js @@ -44,11 +44,11 @@ class Zoom extends EventEmitter { this.setGlobalZoom(INITIALZOOM) this.setLocalZoom(1) } - else if (event.key == '+' || event.key == '=') { + else if (event.key == '+' || event.key == '=' || event.keyCode === 107) { event.preventDefault() this.setGlobalZoom(PXSCALE + 0.1) } - else if (event.key == '-') { + else if (event.key == '-' || event.keyCode === 109) { event.preventDefault() this.setGlobalZoom(PXSCALE - 0.1) } From 9e97e068342e7e13f15fd40dd29428c0dd16c507 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 27 Feb 2025 15:42:22 +0100 Subject: [PATCH 5301/5759] drag events: allow widgets to cancel dragging and let touch scrolling happen --- src/client/events/drag.js | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index e1f69ebf..4e976251 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -46,6 +46,10 @@ function pointerDownHandler(event) { triggerWidgetEvent(targets[event.pointerId], 'draginit', event) + if (event.cancelDragEvent) clearPointer(event) + + return event + } function pointerMoveHandler(event) { @@ -112,6 +116,12 @@ function pointerUpHandler(event) { triggerWidgetEvent(targets[event.pointerId], 'dragend', event) + clearPointer(event) + +} + +function clearPointer(event) { + delete targets[event.pointerId] delete previousPointers[event.pointerId] @@ -202,7 +212,7 @@ domObserver.deactivate = ()=>{ function touchDownCapture(event) { - event.preventDefault() + var preventDefault = true for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue var touchEvent = event.changedTouches[i] @@ -213,8 +223,11 @@ function touchDownCapture(event) { touchEvent.pointerId = touchEvent.identifier - pointerDownHandler(touchEvent) + touchEvent = pointerDownHandler(touchEvent) + + if (touchEvent.cancelDragEvent) preventDefault = false } + if (preventDefault) event.preventDefault() } function touchMoveCapture(event) { @@ -302,7 +315,6 @@ module.exports = { var {element, multitouch} = options - element.style.touchAction = 'none' element.addEventListener('touchstart', touchDownCapture, false) element._drag_widget = this element._drag_multitouch = multitouch From 7c2a85f7d8567647fa0612b0cc837e0ebfe1b0dd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 27 Feb 2025 15:44:01 +0100 Subject: [PATCH 5302/5759] fader: add touchZone property --- CHANGELOG.md | 3 ++ src/client/widgets/sliders/fader.js | 53 +++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f7aa4a1..94d94677 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ - ui: global zoom (CmdOrCtrl + scroll / + / - / 0) issues and conflits with native browser zoom; - ui: limit ctrl + scroll zoom speed +- widgets + - fader: add `touchZone` property to allow restricting interaction to a part of the widget + ## 1.27.5 - bug fixes diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 98b50bb9..d7d6870f 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -30,6 +30,12 @@ class Fader extends Slider { }, class_specific: { snap: {type: 'boolean', value: false, help: 'By default, dragging the widget will modify it\'s value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position'}, + touchZone: {type: 'string', value: 'any', choices: ['any', 'knob', 'gauge'], help: [ + 'Restrict interaction to a part of the widget:', + '- `all`: touching the widget anywhere will start an interaction', + '- `knob`: touching the knob will start an interaction', + '- `gauge`: touching anywhere in the knob\'s moving range will start an interaction' + ]}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its `default` value when released'}, doubleTap: {type: 'boolean', value: false, help: [ 'Set to `true` to make the fader reset to its `default` value when receiving a double tap.', @@ -77,6 +83,11 @@ class Fader extends Slider { super.draginitHandle(...arguments) + if (!this.shouldDrag(e)) { + e.cancelDragEvent = true + return + } + this.percent = clip(this.percent,[0,100]) if (!(e.traversing || this.getProp('snap')) || e.ctrlKey) return @@ -104,6 +115,48 @@ class Fader extends Slider { } + shouldDrag(e) { + + var zone = this.getProp('dragZone'), + design = this.getProp('design'), + horizontal = this.getProp('horizontal') + + if (zone == 'any' || design == 'compact') return true + + var x = e.offsetX, + y = e.offsetY, + percent = this.steps ? this.valueToPercent(this.value) : this.percent, + d = Math.round(this.percentToCoord(percent)), + m = horizontal ? this.height / 2 : this.width / 2, + knobHeight = this.cssVars.knobSize, + knobWidth = design ? knobHeight : knobHeight * .6 + + if (horizontal) [knobWidth, knobHeight] = [knobHeight, knobWidth] + + // add extra tolerance pixels + knobWidth += 2 * PXSCALE + knobHeight += 2 * PXSCALE + + var knobX = (horizontal ? d : m) - knobWidth / 2, + knobY = (horizontal ? m : d) - knobHeight / 2, + condition + + if (horizontal) { + condition = ((x >= knobX && x <= knobX + knobWidth) || zone == 'gauge') && + y >= knobY && y <= knobY + knobHeight + } else { + condition = x >= knobX && x <= knobX + knobWidth && + ((y >= knobY && y <= knobY + knobHeight) || zone == 'gauge') + } + + if (condition) { + return true + } else { + return false + } + + } + percentToCoord(percent) { if (this.getProp('horizontal')) { From 70fe73631452b61305eed2e2366a0caff5b7b720 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 27 Feb 2025 15:51:04 +0100 Subject: [PATCH 5303/5759] fader: touchZone wrong value name --- src/client/widgets/sliders/fader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index d7d6870f..50d89cf6 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -30,7 +30,7 @@ class Fader extends Slider { }, class_specific: { snap: {type: 'boolean', value: false, help: 'By default, dragging the widget will modify it\'s value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position'}, - touchZone: {type: 'string', value: 'any', choices: ['any', 'knob', 'gauge'], help: [ + touchZone: {type: 'string', value: 'any', choices: ['all', 'knob', 'gauge'], help: [ 'Restrict interaction to a part of the widget:', '- `all`: touching the widget anywhere will start an interaction', '- `knob`: touching the knob will start an interaction', @@ -121,7 +121,7 @@ class Fader extends Slider { design = this.getProp('design'), horizontal = this.getProp('horizontal') - if (zone == 'any' || design == 'compact') return true + if (zone == 'all' || design == 'compact') return true var x = e.offsetX, y = e.offsetY, From 9e4d1419e312f3cacc2e4ac96f0284183a5b1ec7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 27 Feb 2025 16:27:25 +0100 Subject: [PATCH 5304/5759] fader: touchZone tweaks --- src/client/widgets/sliders/fader.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 50d89cf6..3e16b354 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -30,11 +30,12 @@ class Fader extends Slider { }, class_specific: { snap: {type: 'boolean', value: false, help: 'By default, dragging the widget will modify it\'s value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position'}, - touchZone: {type: 'string', value: 'any', choices: ['all', 'knob', 'gauge'], help: [ + touchZone: {type: 'string', value: 'all', choices: ['all', 'knob', 'gauge'], help: [ 'Restrict interaction to a part of the widget:', '- `all`: touching the widget anywhere will start an interaction', '- `knob`: touching the knob will start an interaction', - '- `gauge`: touching anywhere in the knob\'s moving range will start an interaction' + '- `gauge`: touching anywhere in the knob\'s moving range will start an interaction', + 'This setting is ignored in containers with `traversing` set to `true`' ]}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its `default` value when released'}, doubleTap: {type: 'boolean', value: false, help: [ @@ -83,7 +84,7 @@ class Fader extends Slider { super.draginitHandle(...arguments) - if (!this.shouldDrag(e)) { + if (!e.traversing && !this.shouldDrag(e)) { e.cancelDragEvent = true return } @@ -117,9 +118,10 @@ class Fader extends Slider { shouldDrag(e) { - var zone = this.getProp('dragZone'), + var zone = this.getProp('touchZone'), design = this.getProp('design'), - horizontal = this.getProp('horizontal') + horizontal = this.getProp('horizontal'), + snap = this.getProp('snap') if (zone == 'all' || design == 'compact') return true @@ -142,11 +144,11 @@ class Fader extends Slider { condition if (horizontal) { - condition = ((x >= knobX && x <= knobX + knobWidth) || zone == 'gauge') && + condition = ((x >= knobX && x <= knobX + knobWidth) || (zone == 'gauge' || snap)) && y >= knobY && y <= knobY + knobHeight } else { condition = x >= knobX && x <= knobX + knobWidth && - ((y >= knobY && y <= knobY + knobHeight) || zone == 'gauge') + ((y >= knobY && y <= knobY + knobHeight) || (zone == 'gauge' || snap)) } if (condition) { From da3b7ff2d2587f1576c5b314735b05f81a6105d8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 28 Feb 2025 12:48:58 +0100 Subject: [PATCH 5305/5759] fader: implement touchZone for compact design --- src/client/widgets/sliders/fader.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 3e16b354..054fa438 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -123,7 +123,8 @@ class Fader extends Slider { horizontal = this.getProp('horizontal'), snap = this.getProp('snap') - if (zone == 'all' || design == 'compact') return true + if (zone == 'all') return true + if (design == 'compact' && zone == 'gauge') return true var x = e.offsetX, y = e.offsetY, @@ -133,6 +134,8 @@ class Fader extends Slider { knobHeight = this.cssVars.knobSize, knobWidth = design ? knobHeight : knobHeight * .6 + if (design == 'compact') knobWidth = this.width + if (horizontal) [knobWidth, knobHeight] = [knobHeight, knobWidth] // add extra tolerance pixels From e65e928f88b55716fbf03e1a73371348ed66b1b1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 28 Feb 2025 13:58:27 +0100 Subject: [PATCH 5306/5759] server: fix debug log for outgoing rgba messages --- src/server/osc/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 85046ce2..ee32ff7c 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -133,7 +133,9 @@ class OscServer { } - if (debug) console.log('\x1b[35m(DEBUG, OSC) Out: ',{address:data.address, args: data.args}, 'To: ' + data.host + ':' + data.port, '\x1b[0m') + if (debug) { + console.log('\x1b[35m(DEBUG, OSC) Out: ', `{ address: '${data.address}', args: `, data.args, '} To: ' + data.host + ':' + data.port, '\x1b[0m') + } } From 1138933aa9f122c30849753914954cf7321a212d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 7 Mar 2025 10:46:46 +0100 Subject: [PATCH 5307/5759] server: fix ELECTRON_RUN_AS_NODE --- CHANGELOG.md | 1 + src/server/settings.js | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94d94677..b5de55e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - bug fixes - ui: global zoom (CmdOrCtrl + scroll / + / - / 0) issues and conflits with native browser zoom; - ui: limit ctrl + scroll zoom speed + - broken cli when `ELECTRON_RUN_AS_NODE` is set - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget diff --git a/src/server/settings.js b/src/server/settings.js index 90862b43..626a19d5 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -4,19 +4,23 @@ var path = require('path'), infos = require('../../package.json'), options = require('./options'), address = require('./address') + argv = process.argv.slice() -// This prevents argv parsing from breaking when the app is packaged (executed without 'electron' prefix) -var firstArgIndex = path.basename(process.argv[0]).match(/electron|node|Electron|Node/) ? 2 : 1 - -if (process.env.OSC_SERVER_PROCESS) firstArgIndex++ - -// on windows, electron stops parsing after the first argument containing a colon +// Note : on windows, electron stops parsing after the first argument containing a colon // https://github.com/electron/electron/pull/13039 // windows cli users need to add a double dash (--) before their options to avoid that // it must be stripped to let yargs work normally -if (process.argv[firstArgIndex] === '--') process.argv.splice(firstArgIndex, 1) -var argv = yargs(process.argv.slice(firstArgIndex)) +// rmeove all args before the first actual cli arg +while (argv.length) { + if (argv[0][0] != '-' || argv[0][0] == '--') { + argv.splice(0, 1) + } else if (argv[0][0] == '-' ) { + break + } +} + +argv = yargs(argv) .parserConfiguration({'boolean-negation': false}) .help('help').usage('\nUsage:\n $0 [options]').alias('h', 'help') .options(options) From ecda3a05cfaedec400f99354e2f5df6c94b65aaf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 7 Mar 2025 10:47:17 +0100 Subject: [PATCH 5308/5759] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 6729a443..4c9b6011 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -285,7 +285,6 @@ | | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | | | `boolean` | true | Set to `false` to disable scrollbars | | | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - | | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | | | `string`|
            `boolean` | "auto" | Set to `false` to hide completely
            - Insert icons using the prefix ^ followed by the icon's name : `^play`, `^pause`, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free)
            - Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` | | | `string`|
            `boolean` | "auto" | Alternative label for the modal popup | | | `number` | "auto" | Modal's inner spacing. | @@ -346,7 +345,6 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | === "matrix" @@ -520,7 +518,7 @@ ## Frames ??? api "
            frame#
            " - Embed a web page in a frame. + Embed a web page in a frame. Note: some websites do not allow this. === "value" @@ -835,6 +833,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            snap#
            | `boolean` | false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position | + |
            touchZone#
            | `string` | "all" | Restrict interaction to a part of the widget:
            - `all`: touching the widget anywhere will start an interaction
            - `knob`: touching the knob will start an interaction
            - `gauge`: touching anywhere in the knob's moving range will start an interaction

            This setting is ignored in containers with `traversing` set to `true`

            Choices: `all`, `knob`, `gauge` | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | |
            doubleTap#
            | `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

            Can also be an osc address, in which case the widget will just send an osc message (`/ `) | |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | @@ -935,6 +934,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            snap#
            | `boolean` | false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position | + |
            touchZone#
            | `string` | "all" | Restrict interaction to a part of the widget:
            - `all`: touching the widget anywhere will start an interaction
            - `knob`: touching the knob will start an interaction
            - `gauge`: touching anywhere in the knob's moving range will start an interaction

            This setting is ignored in containers with `traversing` set to `true`

            Choices: `all`, `knob`, `gauge` | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | |
            doubleTap#
            | `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

            Can also be an osc address, in which case the widget will just send an osc message (`/ `) | |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | From 0e703d95e30a1763804507c3e1dee0ae6a631869 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 7 Mar 2025 10:51:51 +0100 Subject: [PATCH 5309/5759] server: missing coma --- src/server/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/settings.js b/src/server/settings.js index 626a19d5..89c7c87a 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -3,7 +3,7 @@ var path = require('path'), yargs = require('yargs'), infos = require('../../package.json'), options = require('./options'), - address = require('./address') + address = require('./address'), argv = process.argv.slice() // Note : on windows, electron stops parsing after the first argument containing a colon From 3766767cb161897a71981f73bf70d8b58d7017c4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Mar 2025 13:20:51 +0100 Subject: [PATCH 5310/5759] canvas: never draw if size is 0 --- src/client/widgets/common/queue.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/common/queue.js b/src/client/widgets/common/queue.js index d6245bc9..8cb754c9 100644 --- a/src/client/widgets/common/queue.js +++ b/src/client/widgets/common/queue.js @@ -34,7 +34,9 @@ class CanvasQueue extends EventEmitter{ flush() { for (var h in this.queue) { - this.queue[h].draw() + if (this.queue[h].width > 0 && this.queue[h].height > 0) { + this.queue[h].draw() + } } this.queue = {} From 36bf7197c7834cb5b80d91b48e0c6af89b3049eb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 8 Mar 2025 13:21:17 +0100 Subject: [PATCH 5311/5759] eq: hide logScale props --- src/client/widgets/graphs/eq.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 343a667d..99e4cd59 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -31,6 +31,8 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo rangeX: {type: 'object', value: {min: 20, max: 22000}, help: 'Defines the min and max values for the x axis (in Hz, logarithmic scale)'}, rangeY: {type: 'object', value: {min:-6, max:6}, help: 'Defines the min and max values for the y axis (in dB)'}, origin: {type: 'number|boolean', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'}, + logScaleX: null, + logScaleY: null }, osc: { decimals: null, From 52012d1ed3585a8918bcd1e4910ded46af9893cd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 9 Mar 2025 13:28:37 +0100 Subject: [PATCH 5312/5759] eq: add support for n-poles lowpass and highpass filters with the filter's `poles` property eq: adapt sampling frequency to the x-axis range --- CHANGELOG.md | 2 ++ src/client/widgets/graphs/eq.js | 46 ++++++++++++++++++++++++------- src/client/widgets/graphs/plot.js | 1 - 3 files changed, 38 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5de55e3..3af1810e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget + - eq: add support for n-poles lowpass and highpass filters with the filter's `poles` property + - eq: adapt sampling frequency to the x-axis range ## 1.27.5 diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 99e4cd59..0d255087 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -24,11 +24,16 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo '- `q`: number (Q factor, default: 1)', '- `gain`: number (default: 0)', '- `on`: boolean (default: true)', + '- `poles`: if `type` is "highpass" or "lowpass", indicates the number of poles for the filter (if omitted or 0, a biquad filter with Q factor is used)', 'See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode' ]}, pips: {type: 'boolean', value: true, help: 'Set to false to hide the scale'}, - rangeX: {type: 'object', value: {min: 20, max: 22000}, help: 'Defines the min and max values for the x axis (in Hz, logarithmic scale)'}, + rangeX: {type: 'object', value: {min: 20, max: 22000}, help: [ + 'Defines the min and max values for the x axis (in Hz, logarithmic scale)', + 'The sampling frequency used to compute the response curve will be 2 * rangeX.max', + + ]}, rangeY: {type: 'object', value: {min:-6, max:6}, help: 'Defines the min and max values for the y axis (in dB)'}, origin: {type: 'number|boolean', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'}, logScaleX: null, @@ -56,7 +61,8 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo var resolution = this.width, frequencyHz = new Float32Array(resolution), - filterResponse = new Float32Array(resolution).fill(0) + filterResponse = new Float32Array(resolution).fill(0), + Fs = this.getProp('rangeX').max * 2 for (let i = 0; i < resolution; ++i) { frequencyHz[i] = mapToScale(i, [0, this.width], [this.getProp('rangeX').min, this.getProp('rangeX').max], -1, true) @@ -66,13 +72,21 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo if (filter.on !== undefined && !filter.on) continue + var poles = 1, + type = filter.type + + if ((type === 'lowpass' || type === 'highpass') && filter.poles !== undefined && filter.poles !== 0) { + poles = Math.max(parseInt(filter.poles), 1) + type += '-1p' + } + biquadResponse({ - type: filter.type || 'peak', + type: type || 'peak', gain: filter.gain || 0, frequency: filter.freq || 1000, - q: filter.q || 1 + q: filter.q || 1, + poles, Fs }, frequencyHz, filterResponse) - } this.setValue(filterResponse, {sync: true}) @@ -122,11 +136,10 @@ module.exports = Eq // biquadResponse -// Based on code by Nigel Redmon Dec 14, 2010 njr +// Based on code by Nigel Redmon @ https://www.earlevel.com function biquadResponse(options, frequencyHz, filterResponse) { - var {type, frequency, q, gain} = options, - Fs = 44100, + var {type, frequency, q, gain, Fs, poles} = options, len = frequencyHz.length, a0, a1, a2, b1, b2,norm @@ -152,6 +165,20 @@ function biquadResponse(options, frequencyHz, filterResponse) { b2 = (1 - K / q + K * K) * norm break + case "lowpass-1p": + b1 = Math.exp(-2.0 * Math.PI * (frequency / Fs)) + a0 = 1.0 - b1 + b1 = -b1 + a1 = a2 = b2 = 0 + break + + case "highpass-1p": + b1 = -Math.exp(-2.0 * Math.PI * (0.5 - frequency / Fs)) + a0 = 1.0 + b1 + b1 = -b1 + a1 = a2 = b2 = 0 + break + case 'bandpass': norm = 1 / (1 + K / q + K * K) a0 = K / q * norm @@ -234,10 +261,9 @@ function biquadResponse(options, frequencyHz, filterResponse) { Math.log(Math.pow(1 + b1 + b2, 2) - 4 * (b1 + 4 * b2 + b1 * b2) * phi + 16 * b2 * phi *phi) y = y * 10 / Math.LN10 - // if (y == -Infinity) y = -200 - filterResponse[i] += y + filterResponse[i] += y * poles } diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index e9b5c164..58e9dd87 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -137,7 +137,6 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte if (i < length - 2 && this.value[i] === previousValue && this.value[i+1] === previousValue) { continue } - nx = mapToScale(i, [0, this.value.length - 1], [padding, this.width - padding], decimals, this.logScaleX, true) ny = mapToScale(this.value[i], [this.rangeY.min, this.rangeY.max], [this.height - 2 * PXSCALE - padding, 2 * PXSCALE + padding], decimals, this.logScaleY, true) From a8a49d4e4e9047a36248b475a69855fc443cf88a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 9 Mar 2025 13:32:03 +0100 Subject: [PATCH 5313/5759] eq: fix indent & add poles to db examples --- src/client/widgets/graphs/eq.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 0d255087..c7234ab5 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -24,7 +24,7 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo '- `q`: number (Q factor, default: 1)', '- `gain`: number (default: 0)', '- `on`: boolean (default: true)', - '- `poles`: if `type` is "highpass" or "lowpass", indicates the number of poles for the filter (if omitted or 0, a biquad filter with Q factor is used)', + '- `poles`: if `type` is "highpass" or "lowpass", indicates the number of poles for the filter (if omitted or 0, a biquad filter with Q factor is used). Set to 1 for 6dB/otaves roll-off, 2 for 12dB/octaves, etc.', 'See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode' ]}, @@ -165,19 +165,19 @@ function biquadResponse(options, frequencyHz, filterResponse) { b2 = (1 - K / q + K * K) * norm break - case "lowpass-1p": - b1 = Math.exp(-2.0 * Math.PI * (frequency / Fs)) + case 'lowpass-1p': + b1 = Math.exp(-2.0 * Math.PI * (frequency / Fs)) a0 = 1.0 - b1 b1 = -b1 - a1 = a2 = b2 = 0 - break + a1 = a2 = b2 = 0 + break - case "highpass-1p": - b1 = -Math.exp(-2.0 * Math.PI * (0.5 - frequency / Fs)) + case 'highpass-1p': + b1 = -Math.exp(-2.0 * Math.PI * (0.5 - frequency / Fs)) a0 = 1.0 + b1 b1 = -b1 - a1 = a2 = b2 = 0 - break + a1 = a2 = b2 = 0 + break case 'bandpass': norm = 1 / (1 + K / q + K * K) From 0f60d212fa218c12fd746f63d5bf67197bd4cb88 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 10 Mar 2025 09:00:45 +0100 Subject: [PATCH 5314/5759] xy/multixy: add `auto` choice to to `axisLock` (locks on the first moved axis) --- CHANGELOG.md | 3 ++- src/client/widgets/pads/multixy.js | 2 +- src/client/widgets/pads/xy.js | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3af1810e..b5a69c06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,8 @@ - fader: add `touchZone` property to allow restricting interaction to a part of the widget - eq: add support for n-poles lowpass and highpass filters with the filter's `poles` property - eq: adapt sampling frequency to the x-axis range - + - xy/multixy: add `auto` choice to to `axisLock` (locks on the first moved axis) + ## 1.27.5 - bug fixes diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 3e2345f2..9ccd18a6 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -40,7 +40,7 @@ module.exports = class MultiXy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, - axisLock: {type: 'string', value: '', choices: ['', 'x', 'y'], help: [ + axisLock: {type: 'string', value: '', choices: ['', 'auto', 'x', 'y'], help: [ 'Restrict movements to one of the axes only.', 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' ]}, diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 42609df2..7a689f08 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -32,7 +32,7 @@ module.exports = class Xy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, - axisLock: {type: 'string', value: '', choices: ['', 'x', 'y'], help: [ + axisLock: {type: 'string', value: '', choices: ['', 'auto', 'x', 'y'], help: [ 'Restrict movements to one of the axes only unless `Shift` is held.', 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' ]}, @@ -107,7 +107,7 @@ module.exports = class Xy extends Pad { this.on('drag',(e)=>{ var axis = this.getProp('axisLock') if (axis !== '' && e.shiftKey) axis = '' - else if (e.shiftKey && axis === '') { + else if (e.shiftKey && axis === '' || !e.shiftKey && axis === 'auto') { if (this.autoAxisLock === '') { if (Math.abs(e.movementX) > Math.abs(e.movementY)) { this.autoAxisLock = 'x' From 1a564f8458e7229c5f9891684c26468bac9e056a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 10 Mar 2025 09:05:01 +0100 Subject: [PATCH 5315/5759] xy/multixy: change axisLock choices order --- src/client/widgets/pads/multixy.js | 4 ++-- src/client/widgets/pads/xy.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 9ccd18a6..624706f2 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -40,9 +40,9 @@ module.exports = class MultiXy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, - axisLock: {type: 'string', value: '', choices: ['', 'auto', 'x', 'y'], help: [ + axisLock: {type: 'string', value: '', choices: ['', 'x', 'y', 'auto'], help: [ 'Restrict movements to one of the axes only.', - 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' + 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' ]}, doubleTap: {type: 'boolean|string', value: false, help: [ 'Set to `true` to make the fader reset to its default value when receiving a double tap.', diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 7a689f08..bc0a6888 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -32,9 +32,9 @@ module.exports = class Xy extends Pad { rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, - axisLock: {type: 'string', value: '', choices: ['', 'auto', 'x', 'y'], help: [ + axisLock: {type: 'string', value: '', choices: ['', 'x', 'y', 'auto'], help: [ 'Restrict movements to one of the axes only unless `Shift` is held.', - 'When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.' + 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' ]}, doubleTap: {type: 'boolean|string', value: false, help: [ 'Set to `true` to make the fader reset to its default value when receiving a double tap.', From f31cc2091ce28fcee376a2815ad2afd9067102c2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 10 Mar 2025 19:34:26 +0100 Subject: [PATCH 5316/5759] button: `locals.touchCoords` not updated upon release and incorrect when `doubleTap` is set --- src/client/widgets/basics/button.js | 31 ++++++++++++++++++------- src/client/widgets/mixins/double_tap.js | 4 +++- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 8fd99237..6f116cae 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -94,7 +94,12 @@ class Button extends Widget { doubleTap(this, (e)=>{ this.touchActive = true - this.setValue(this.getProp('on'), {sync: true, send: true, y: e.offsetY, x: e.offsetX, local:true}) + + if (this.exposeTouchCoords) { + this.parsersLocalScope.touchCoords = [e.offsetX / this.buttonSize[0], 1 - e.offsetY / this.buttonSize[1]] + } + + this.setValue(this.getProp('on'), {sync: true, send: true, local:true}) if (tap) this.container.classList.add('active') @@ -107,7 +112,12 @@ class Button extends Widget { if (this.touchActive) return this.touchActive = true - this.setValue(this.getProp('on'), {sync: true, send: true, y: e.offsetY, x: e.offsetX, local:true}) + + if (this.exposeTouchCoords) { + this.parsersLocalScope.touchCoords = [e.offsetX / this.buttonSize[0], 1 - e.offsetY / this.buttonSize[1]] + } + + this.setValue(this.getProp('on'), {sync: true, send: true, local:true}) if (tap) this.container.classList.add('active') @@ -116,6 +126,17 @@ class Button extends Widget { } + if (this.exposeTouchCoords) { + this.on('drag',(e)=>{ + + if (!this.touchActive) return + + this.parsersLocalScope.touchCoords[0] += e.movementX / this.buttonSize[0] + this.parsersLocalScope.touchCoords[1] += e.movementY / this.buttonSize[1] + + }, {element: this.container}) + } + this.on('dragend',()=>{ if (!this.touchActive) return @@ -298,12 +319,6 @@ class Button extends Widget { } - if (this.exposeTouchCoords) { - if (options.y !== undefined) { - this.parsersLocalScope.touchCoords = [options.x / this.buttonSize[0], 1 - options.y / this.buttonSize[1]] - } - } - if (options.local || !options.fromExternal) this.localSet = true if (options.send) this.sendValue() diff --git a/src/client/widgets/mixins/double_tap.js b/src/client/widgets/mixins/double_tap.js index 0c8910a9..f7677beb 100644 --- a/src/client/widgets/mixins/double_tap.js +++ b/src/client/widgets/mixins/double_tap.js @@ -24,8 +24,10 @@ module.exports = (self, callback, options={})=>{ ) { // execute callback at next cycle to ensure draginit events are resolved first + // normalize event now or offset gets lost + var e = normalizeDragEvent(event.detail) setTimeout(()=>{ - callback(normalizeDragEvent(event.detail)) + callback(e) }, 0) lastTapTime = 0 From 395d4786c4b1a8c6cf575be194fc22158783a4e5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 10 Mar 2025 19:55:07 +0100 Subject: [PATCH 5317/5759] file: `extension` can now be an array of strings --- CHANGELOG.md | 4 +++- src/client/widgets/basics/file.js | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5a69c06..124189f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,8 @@ - eq: add support for n-poles lowpass and highpass filters with the filter's `poles` property - eq: adapt sampling frequency to the x-axis range - xy/multixy: add `auto` choice to to `axisLock` (locks on the first moved axis) - + - file: `extension` can now be an array of strings + ## 1.27.5 - bug fixes @@ -18,6 +19,7 @@ - widget: regression causing error when emptying the css property and leaving only class declarations - modal: incorrect position in scrolled containers when `relative` is `true` - menu: incorrect position in scrlled containers depending on menu's alignment + - button: `locals.touchCoords` not updated upon release and incorrect when `doubleTap` is set ## 1.27.4 diff --git a/src/client/widgets/basics/file.js b/src/client/widgets/basics/file.js index 39e44296..a75cd835 100644 --- a/src/client/widgets/basics/file.js +++ b/src/client/widgets/basics/file.js @@ -21,7 +21,7 @@ module.exports = class File extends Widget { }, class_specific: { directory: {type: 'string', value: 'auto', help: 'Default browsing directory'}, - extension: {type: 'string', value: '*', help: 'Only display files with this extension'}, + extension: {type: 'string|array', value: '*', help: 'Only display files with this extension. Multiple extensions can be specified with an array of strings (`["jpg", "jpeg"]`)'}, allowDir: {type: 'boolean', value: false, help: 'Allow selecting a folder (by pressing "open" when no file is selected)'} } }) @@ -43,12 +43,18 @@ module.exports = class File extends Widget { if (this.getProp('hidePath')) this.widget.classList.add('hide-path') this.text = DOM.get(this.widget, '.text')[0] + + var ext = this.getProp('extension') + if (Array.isArray(ext)) { + ext = '(' + ext.join('|') + ')' + } + this.on('fast-click', (e)=>{ if (e.capturedByEditor === true) return uiFilebrowser({ - extension: this.getProp('extension').replace(/^\.?(.*)$/, '$1'), + extension: ext.replace(/^\.?(.*)$/, '$1'), directory: this.getProp('directory') === 'auto' ? undefined : this.getProp('directory'), loadDir: this.getProp('allowDir'), save: this.getProp('mode') === 'save' From f9902e01e0df1fafefe2212ec03ac71eb8c6d05a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 10 Mar 2025 21:40:03 +0100 Subject: [PATCH 5318/5759] ui: another non-working key, keyCode was not so bad --- src/client/ui/ui-filebrowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/ui-filebrowser.js b/src/client/ui/ui-filebrowser.js index 0454ea53..6f7dc693 100644 --- a/src/client/ui/ui-filebrowser.js +++ b/src/client/ui/ui-filebrowser.js @@ -103,7 +103,7 @@ module.exports = function UiFilebrowser(options, callback) { } } else if (e.target === saveInput) { return - } else if (e.key == 'DOM_VK_BACK_SPACE') { + } else if (e.key == 'DOM_VK_BACK_SPACE' || e.keyCode === 8) { list.childNodes[0].firstElementChild.checked = true submit() } else if (e.key.length === 1) { From c829d87eae12a3bdc23425a1953541f056b62cb0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 11 Mar 2025 08:16:04 +0100 Subject: [PATCH 5319/5759] eq/plot: smoother curves --- CHANGELOG.md | 1 + src/client/widgets/graphs/plot.js | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 124189f9..808c23f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - eq: adapt sampling frequency to the x-axis range - xy/multixy: add `auto` choice to to `axisLock` (locks on the first moved axis) - file: `extension` can now be an array of strings + - plot/eq: smoother curves ## 1.27.5 diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 58e9dd87..98587bde 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -123,22 +123,21 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte var points = [], padding = this.cssVars.padding + this.cssVars.lineWidth, - decimals = this.getProp('smooth') ? 1 : 0, length = this.value.length, x, y, i, previousValue, nx, ny for (i = 0; i < length; i++) { if (this.value[i].length) { - points.push(mapToScale(this.value[i][0], [this.rangeX.min, this.rangeX.max], [padding, this.width - padding], decimals, this.logScaleX, true)) - points.push(mapToScale(this.value[i][1], [this.rangeY.min, this.rangeY.max], [this.height - 2 * PXSCALE - padding, 2 * PXSCALE + padding], decimals, this.logScaleY, true)) + points.push(mapToScale(this.value[i][0], [this.rangeX.min, this.rangeX.max], [padding, this.width - padding], -1, this.logScaleX, true)) + points.push(mapToScale(this.value[i][1], [this.rangeY.min, this.rangeY.max], [this.height - 2 * PXSCALE - padding, 2 * PXSCALE + padding], -1, this.logScaleY, true)) } else { if (i < length - 2 && this.value[i] === previousValue && this.value[i+1] === previousValue) { continue } - nx = mapToScale(i, [0, this.value.length - 1], [padding, this.width - padding], decimals, this.logScaleX, true) - ny = mapToScale(this.value[i], [this.rangeY.min, this.rangeY.max], [this.height - 2 * PXSCALE - padding, 2 * PXSCALE + padding], decimals, this.logScaleY, true) + nx = mapToScale(i, [0, this.value.length - 1], [padding, this.width - padding], -1, this.logScaleX, true) + ny = mapToScale(this.value[i], [this.rangeY.min, this.rangeY.max], [this.height - 2 * PXSCALE - padding, 2 * PXSCALE + padding], -1, this.logScaleY, true) if (x !== nx || y !== ny) { points.push(nx) From 79e0eee7210e48d57c56799aaecef80f1fe6052b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Mar 2025 09:42:50 +0100 Subject: [PATCH 5320/5759] sliders/pads: `doubleTap` can now be `"script"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` --- CHANGELOG.md | 1 + src/client/widgets/pads/multixy.js | 18 ++++++++++++++---- src/client/widgets/pads/xy.js | 17 ++++++++++++++--- src/client/widgets/sliders/fader.js | 7 ++++--- src/client/widgets/sliders/knob.js | 5 +++-- src/client/widgets/sliders/slider.js | 11 +++++++++++ 6 files changed, 47 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 808c23f5..457ee28b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - xy/multixy: add `auto` choice to to `axisLock` (locks on the first moved axis) - file: `extension` can now be an array of strings - plot/eq: smoother curves + - sliders/pads: `doubleTap` can now be `"stript"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` ## 1.27.5 diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 624706f2..3bb56312 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -44,9 +44,10 @@ module.exports = class MultiXy extends Pad { 'Restrict movements to one of the axes only.', 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' ]}, - doubleTap: {type: 'boolean|string', value: false, help: [ - 'Set to `true` to make the fader reset to its default value when receiving a double tap.', - 'Can also be an osc address, which case the widget will just send an osc message: `/ `' + doubleTap: {type: 'boolean|string', value: false, choices: [false, true, 'script'], help: [ + 'Set to `true` to make the knob reset to its `default` value when receiving a double tap.', + 'Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).', + 'If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`. ' ]}, sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, } @@ -195,7 +196,16 @@ module.exports = class MultiXy extends Pad { } var pad = this.pads[id] - pad.setValue([pad.faders.x.getSpringValue(), pad.faders.y.getSpringValue()], { sync: true, send: true, spring: true, doubleTap: true }) + + if (this.getProp('doubleTap') == 'script') { + this.scripts.onTouch.run({ + event: {type: 'doubleTap', handle: id}, + value: this.value + }, {sync: true, send: true}) + } else { + pad.setValue([pad.faders.x.getSpringValue(), pad.faders.y.getSpringValue()], { sync: true, send: true, spring: true, doubleTap: true }) + } + }, { element: this.widget}) } diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index bc0a6888..2aab17b7 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -36,9 +36,10 @@ module.exports = class Xy extends Pad { 'Restrict movements to one of the axes only unless `Shift` is held.', 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' ]}, - doubleTap: {type: 'boolean|string', value: false, help: [ - 'Set to `true` to make the fader reset to its default value when receiving a double tap.', - 'Can also be an osc address, which case the widget will just send an osc message: `/ `' + doubleTap: {type: 'boolean|string', value: false, choices: [false, true, 'script'], help: [ + 'Set to `true` to make the knob reset to its `default` value when receiving a double tap.', + 'Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).', + 'If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`. ' ]}, sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, } @@ -143,6 +144,16 @@ module.exports = class Xy extends Pad { this.sendValue({v:null, address: this.getProp('doubleTap')}) }, {element: this.widget}) + } else if (this.getProp('doubleTap') == 'script') { + + doubleTap(this, ()=>{ + this.scripts.onTouch.run({ + event: {type: 'doubleTap'}, + value: this.value + }, {sync: true, send: true}) + }, {element: this.widget}) + + } else { doubleTap(this, ()=>{ diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 054fa438..3d837937 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -38,9 +38,10 @@ class Fader extends Slider { 'This setting is ignored in containers with `traversing` set to `true`' ]}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its `default` value when released'}, - doubleTap: {type: 'boolean', value: false, help: [ - 'Set to `true` to make the fader reset to its `default` value when receiving a double tap.', - 'Can also be an osc address, in which case the widget will just send an osc message (`/ `)' + doubleTap: {type: 'boolean|string', value: false, choices: [false, true, 'script'], help: [ + 'Set to `true` to make the knob reset to its `default` value when receiving a double tap.', + 'Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).', + 'If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`. ' ]}, range: {type: 'object', value: {min:0,max:1}, help: [ 'Defines the breakpoints of the fader\'s scale:', diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 6d9276d3..1a89901e 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -31,9 +31,10 @@ class Knob extends Slider { '- `snap-alt`: alternative snap mode that allow jumping from `range.min` to `range.max`. `sensitivity` is ignored with this mode.', ]}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its `default` value when released'}, - doubleTap: {type: 'boolean', value: false, help: [ + doubleTap: {type: 'boolean|string', value: false, choices: [false, true, 'script'], help: [ 'Set to `true` to make the knob reset to its `default` value when receiving a double tap.', - 'Can also be an osc address, in which case the widget will just send an osc message (`/ `)' + 'Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).', + 'If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`. ' ]}, range: {type: 'object', value: {min:0,max:1}, help: [ 'Defines the breakpoints of the fader\'s scale:', diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index a3acd39b..289372a2 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -61,6 +61,17 @@ class Slider extends Canvas { this.sendValue({v:null, address: this.getProp('doubleTap')}) }, {element: this.widget}) + } + if (this.getProp('doubleTap') == 'script') { + + doubleTap(this, ()=>{ + this.scripts.onTouch.run({ + event: {type: 'doubleTap'}, + value: this.value + }, {sync: true, send: true}) + }, {element: this.widget}) + + } else { doubleTap(this, ()=>{ From 542c0629fb5c4891f28fa2a76d30621be27f05f9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Mar 2025 10:25:33 +0100 Subject: [PATCH 5321/5759] log: typos --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 457ee28b..eee71dd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,10 @@ - fader: add `touchZone` property to allow restricting interaction to a part of the widget - eq: add support for n-poles lowpass and highpass filters with the filter's `poles` property - eq: adapt sampling frequency to the x-axis range - - xy/multixy: add `auto` choice to to `axisLock` (locks on the first moved axis) + - xy/multixy: add `auto` choice to `axisLock` (locks on the first moved axis) - file: `extension` can now be an array of strings - plot/eq: smoother curves - - sliders/pads: `doubleTap` can now be `"stript"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` + - sliders/pads: `doubleTap` can now be `"script"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` ## 1.27.5 From 848f591930ea2b1247b2d5558d1abb74a657ad21 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Mar 2025 15:44:03 +0100 Subject: [PATCH 5322/5759] pads: per-point customization on the way --- CHANGELOG.md | 4 +- src/client/widgets/common/queue.js | 2 +- src/client/widgets/pads/multixy.js | 126 ++++++++++++++++++++--------- src/client/widgets/pads/pad.js | 58 ++++++++++++- src/client/widgets/pads/xy.js | 84 ++++++------------- src/scss/widgets/pads.scss | 4 +- 6 files changed, 173 insertions(+), 105 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eee71dd8..c3c87e97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,9 @@ - xy/multixy: add `auto` choice to `axisLock` (locks on the first moved axis) - file: `extension` can now be an array of strings - plot/eq: smoother curves - - sliders/pads: `doubleTap` can now be `"script"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` + - sliders/pads: `doubleTap` can now be `"script"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` + - xy: add `label` property + - multixy: add `padsAttr` property for per-pad customization ## 1.27.5 diff --git a/src/client/widgets/common/queue.js b/src/client/widgets/common/queue.js index 8cb754c9..6bd18305 100644 --- a/src/client/widgets/common/queue.js +++ b/src/client/widgets/common/queue.js @@ -34,7 +34,7 @@ class CanvasQueue extends EventEmitter{ flush() { for (var h in this.queue) { - if (this.queue[h].width > 0 && this.queue[h].height > 0) { + if (this.queue[h].width > 0 && this.queue[h].height > 0 && this.queue[h].visible) { this.queue[h].draw() } } diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 3bb56312..7baed047 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -8,7 +8,7 @@ var Pad = require('./pad'), var xyDefaults = Xy.defaults()._props() -module.exports = class MultiXy extends Pad { +class MultiXy extends Pad { static description() { @@ -31,6 +31,17 @@ module.exports = class MultiXy extends Pad { 'Defines the number of points on the pad', 'Can be an array of strings that will be used as labels for the points (ex: `[\'A\', \'B\']`)' ]}, + pointsAttr: {type: 'object', value: [], help: [ + 'Defines per-point properties that are otherwise inherited from the multixy. Must be an array of objects (one per point) that may contain the following keys:', + '- visible (visibility and interactability)', + '- colorFill (background color)', + '- colorStroke (outline color)', + '- colorText (label color)', + '- color (shorthand for colorFill and colorStroke)', + '- alphaFillOn (background opacity)', + '- pointSize', + '- label' + ]}, snap: {type: 'boolean', value: false, help: [ 'By default, the points are dragged from their initial position.', 'If set to `true`, touching anywhere on the widget\'s surface will make them snap to the touching coordinates', @@ -64,7 +75,6 @@ module.exports = class MultiXy extends Pad { super(options) this.npoints = Array.isArray(this.getProp('points')) ? this.getProp('points').length : this.getProp('points') || 0 - this.labels = Array.isArray(this.getProp('points')) this.preventChildrenTouchState = true this.pads = [] @@ -83,7 +93,7 @@ module.exports = class MultiXy extends Pad { logScaleY:this.getProp('logScaleY'), axisLock:this.getProp('axisLock'), pointSize: 'auto', - pips: this.getProp('pips') && i == this.npoints-1, + pips: false, sensitivity: this.getProp('sensitivity'), input:false }, parent: this}) @@ -92,6 +102,12 @@ module.exports = class MultiXy extends Pad { } + // tiny hack for pips until there's a proper range refactoring + this.faders = this.pads[0].faders + + this.pointsAttr = [] + this.updatePadsAttr() + this.padsCoords = [] this.touchMap = {} @@ -108,6 +124,7 @@ module.exports = class MultiXy extends Pad { for (var i in this.pads) { if (Object.values(this.touchMap).indexOf(i) != -1) continue + if (!this.pads[i].getProp('visible')) continue ndiff = Math.abs(e.offsetX - this.padsCoords[i][0]) + Math.abs(e.offsetY - (this.padsCoords[i][1] + this.height)) @@ -116,6 +133,7 @@ module.exports = class MultiXy extends Pad { diff = ndiff } + } this.touchMap[e.pointerId] = id @@ -132,8 +150,6 @@ module.exports = class MultiXy extends Pad { this.pads[id].trigger('draginit', e) this.pads[id].touched = 1 - if (this.getProp('ephemeral')) this.batchDraw() - }, {element: this.widget, multitouch: true}) this.on('drag',(e)=>{ @@ -163,8 +179,6 @@ module.exports = class MultiXy extends Pad { delete this.touchMap[e.pointerId] - if (this.getProp('ephemeral')) this.batchDraw() - }, {element: this.widget, multitouch: true}) this.on('value-changed',(e)=>{ @@ -241,8 +255,8 @@ module.exports = class MultiXy extends Pad { super.cacheCanvasStyle(style) for (var k in this.pads) { this.pads[k].cacheCanvasStyle() - this.pads[k].batchDraw() } + this.batchDraw() } @@ -252,6 +266,7 @@ module.exports = class MultiXy extends Pad { for (var k in this.pads) { this.pads[k].setVisibility() } + this.batchDraw() } @@ -270,25 +285,7 @@ module.exports = class MultiXy extends Pad { this.clear() - this.clearRect = [] - - for (var i=0;ix.js==n) + if (cssVar) { + this.pads[i].canvas.style.setProperty(cssVar.css, this.pointsAttr[i][n] == 'auto' ? '' : this.pointsAttr[i][n]) + } + + if (n == 'visible') { + this.pads[i].canvas.style.setProperty('opacity', this.pointsAttr[i][n] ? 1 : 0) + } + + } + } + } + + + } + onPropChanged(propName, options, oldPropValue) { if (super.onPropChanged(...arguments)) return true switch (propName) { + case 'padding': + for (let w of this.pads) { + w.onPropChanged(propName) + } + return + case 'colorText': case 'colorWidget': case 'colorFill': @@ -343,19 +392,11 @@ module.exports = class MultiXy extends Pad { case 'alphaStroke': case 'alphaFillOff': case 'alphaFillOn': - case 'padding': - case 'lineWidth': - for (let w of this.pads) { - w.onPropChanged(propName) - } - return + case 'pointsAttr': case 'spring': + case 'pointSize': case 'axisLock': - for (let w of this.pads) { - w.cachedProps[propName] = this.getProp(propName) - w.onPropChanged(propName, options) - } - this.batchDraw() + this.updatePadsAttr() return } @@ -369,3 +410,10 @@ module.exports = class MultiXy extends Pad { } } + + +MultiXy.dynamicProps = MultiXy.prototype.constructor.dynamicProps.filter(n => n !== 'decimals').concat([ + 'pointsAttr', +]) + +module.exports = MultiXy diff --git a/src/client/widgets/pads/pad.js b/src/client/widgets/pads/pad.js index ca925418..93a2f924 100644 --- a/src/client/widgets/pads/pad.js +++ b/src/client/widgets/pads/pad.js @@ -23,6 +23,61 @@ class Pad extends Canvas { } + drawPips() { + + var margin = this.padPadding, + pipTexts = margin >= this.fontSize * 1.5 + + this.ctx.lineWidth = PXSCALE + this.ctx.fillStyle = this.cssVars.colorText + this.ctx.strokeStyle = this.cssVars.colorStroke + this.ctx.globalAlpha = this.cssVars.alphaPips + this.ctx.beginPath() + + for (let i in this.faders.x.rangeKeys) { + + let pip = this.faders.x.rangeKeys[i], + px = Math.round(0.5 * this.faders.x.percentToCoord(pip)) * 2 + + if (parseInt(px) === px) px -= 0.5 + + if (pipTexts) { + this.ctx.textAlign = 'center' + let label = this.faders.x.rangeLabels[i] + this.ctx.fillText(label, px, this.height - margin / 2) + } + + if (pip == 0 || pip == 100) continue + this.ctx.moveTo(px, margin - PXSCALE) + this.ctx.lineTo(px, this.height - margin + PXSCALE) + + + } + for (let i in this.faders.y.rangeKeys) { + + let pip = this.faders.y.rangeKeys[i], + py = Math.round(0.5 * this.faders.y.percentToCoord(pip)) * 2 + + if (parseInt(py) === py) py -= 0.5 + + if (pipTexts) { + this.ctx.textAlign = 'right' + let label = this.faders.y.rangeLabels[i] + this.ctx.fillText(label, margin / 2 + this.fontSize / 2, py) + } + + if (pip == 0 || pip == 100) continue + this.ctx.moveTo(margin - PXSCALE, py) + this.ctx.lineTo(this.width - margin + PXSCALE, py) + + + } + + this.ctx.globalAlpha = this.cssVars.alphaFillOn + this.ctx.stroke() + + } + onPropChanged(propName, options, oldPropValue) { var ret = super.onPropChanged(...arguments) @@ -47,7 +102,8 @@ Pad.cssVariables = Pad.prototype.constructor.cssVariables.concat( Pad.dynamicProps = Pad.prototype.constructor.dynamicProps.filter(n => n !== 'decimals').concat([ 'spring', 'axisLock', - 'pointSize' + 'pointSize', + 'label' ]) module.exports = Pad diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 2aab17b7..5c2f36e0 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -21,6 +21,7 @@ module.exports = class Xy extends Pad { pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the point will be drawn only while touched.'}, pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, + label: {type: 'string', value: '', help: 'Text displayed in the handle'} }, class_specific: { snap: {type: 'boolean', value: false, help: [ @@ -219,6 +220,8 @@ module.exports = class Xy extends Pad { draw() { + if (!this.visible) return + var pointSize = this.cssVars.pointSize, margin = this.padPadding, x = this.faders.x.percentToCoord(this.faders.x.percent), @@ -238,69 +241,11 @@ module.exports = class Xy extends Pad { - - var pipsDrawn = false - if (this.getProp('pips')) { - - var pipTexts = margin >= this.fontSize * 1.5 - - this.ctx.lineWidth = PXSCALE - this.ctx.fillStyle = this.cssVars.colorText - this.ctx.strokeStyle = this.cssVars.colorStroke - this.ctx.globalAlpha = this.cssVars.alphaPips - this.ctx.beginPath() - - for (let i in this.faders.x.rangeKeys) { - - let pip = this.faders.x.rangeKeys[i], - px = Math.round(0.5 * this.faders.x.percentToCoord(pip)) * 2 - - if (parseInt(px) === px) px -= 0.5 - - if (pipTexts) { - this.ctx.textAlign = 'center' - let label = this.faders.x.rangeLabels[i] - this.ctx.fillText(label, px, this.height - margin / 2) - pipsDrawn = true - } - - if (pip == 0 || pip == 100) continue - this.ctx.moveTo(px, margin - PXSCALE) - this.ctx.lineTo(px, this.height - margin + PXSCALE) - pipsDrawn = true - - - } - for (let i in this.faders.y.rangeKeys) { - - let pip = this.faders.y.rangeKeys[i], - py = Math.round(0.5 * this.faders.y.percentToCoord(pip)) * 2 - - if (parseInt(py) === py) py -= 0.5 - - if (pipTexts) { - this.ctx.textAlign = 'right' - let label = this.faders.y.rangeLabels[i] - this.ctx.fillText(label, margin / 2 + this.fontSize / 2, py) - pipsDrawn = true - } - - if (pip == 0 || pip == 100) continue - this.ctx.moveTo(margin - PXSCALE, py) - this.ctx.lineTo(this.width - margin + PXSCALE, py) - pipsDrawn = true - - - } - - this.ctx.globalAlpha = this.cssVars.alphaFillOn - this.ctx.stroke() - + if (this.getProp('pips')) this.drawPips() + else { + // this.clearRect = [x - pointSize - 2 * PXSCALE, y - pointSize - 2 * PXSCALE, (pointSize + PXSCALE) * 4, (pointSize + PXSCALE) * 4] } - if (!pipsDrawn) this.clearRect = [x - pointSize - 2 * PXSCALE, y - pointSize - 2 * PXSCALE, (pointSize + PXSCALE) * 4, (pointSize + PXSCALE) * 4] - - if (!ephemeral || this.active) { this.ctx.strokeStyle = this.cssVars.colorStroke this.ctx.globalAlpha = this.active ? 1 : 0.75 @@ -308,6 +253,20 @@ module.exports = class Xy extends Pad { this.ctx.beginPath() this.ctx.arc(x, y, pointSize, Math.PI * 2, false) this.ctx.stroke() + + var t = this.getProp('label') + if (t) { + this.ctx.fillStyle = this.cssVars.colorText + this.ctx.globalAlpha = 1 + this.ctx.textAlign = 'center' + this.ctx.fillText(t, x + 0.5 * PXSCALE, y + PXSCALE) + + if (!this.getProp('pips')) { + var length = this.fontSize * t.length + // this.clearRect.push([x - length / 2, y - this.fontSize / 2, length, this.fontSize + 2 * PXSCALE]) + } + + } } @@ -320,6 +279,9 @@ module.exports = class Xy extends Pad { switch (propName) { + case 'label': + this.batchDraw() + return case 'spring': if (this.getProp('spring') && !this.touched) this.setValue([this.faders.x.getSpringValue(),this.faders.y.getSpringValue()], {...options}) return diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index ba13d73d..edc88ea2 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -32,7 +32,7 @@ --point-size: 20rem; - canvas:not(:first-child) { + canvas { position: absolute; top: 0; left: 0; @@ -139,7 +139,7 @@ .html { pointer-events: auto; } - + inner { position: relative; flex: 1; From 431b76233125f1c797333f42fdf951bad135f4b5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Mar 2025 16:50:07 +0100 Subject: [PATCH 5323/5759] xy: restore optimized clear --- src/client/widgets/pads/xy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 5c2f36e0..289b2f68 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -243,7 +243,7 @@ module.exports = class Xy extends Pad { if (this.getProp('pips')) this.drawPips() else { - // this.clearRect = [x - pointSize - 2 * PXSCALE, y - pointSize - 2 * PXSCALE, (pointSize + PXSCALE) * 4, (pointSize + PXSCALE) * 4] + this.clearRect = [[x - pointSize - 2 * PXSCALE, y - pointSize - 2 * PXSCALE, (pointSize + 2 * PXSCALE) * 2, (pointSize + 2 * PXSCALE) * 2]] } if (!ephemeral || this.active) { @@ -263,7 +263,7 @@ module.exports = class Xy extends Pad { if (!this.getProp('pips')) { var length = this.fontSize * t.length - // this.clearRect.push([x - length / 2, y - this.fontSize / 2, length, this.fontSize + 2 * PXSCALE]) + this.clearRect.push([x - length / 2, y - this.fontSize / 2, length, this.fontSize + 2 * PXSCALE]) } } From 71fc6c32530468661e20d881d8422e6227a10c0c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Mar 2025 18:47:51 +0100 Subject: [PATCH 5324/5759] lint: unused var --- src/client/widgets/pads/xy.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 289b2f68..783d360c 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -223,7 +223,6 @@ module.exports = class Xy extends Pad { if (!this.visible) return var pointSize = this.cssVars.pointSize, - margin = this.padPadding, x = this.faders.x.percentToCoord(this.faders.x.percent), y = this.faders.y.percentToCoord(this.faders.y.percent), ephemeral = this.getProp('ephemeral') From 8c5eea6bd0f24798958dd6326b4fb3d379b34107 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 13 Mar 2025 07:47:56 +0100 Subject: [PATCH 5325/5759] panel: `tabsPosition` can now be `hidden` --- CHANGELOG.md | 1 + src/client/widgets/containers/panel.js | 2 +- src/scss/widgets/containers.scss | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3c87e97..13d6ed84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - sliders/pads: `doubleTap` can now be `"script"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` - xy: add `label` property - multixy: add `padsAttr` property for per-pad customization + - panel: `tabsPosition` can now be `hidden` ## 1.27.5 diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 73068517..703a6238 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -34,7 +34,7 @@ class Panel extends Container() { contain: {type: 'boolean', value: true, help:'If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel.'}, scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'}, innerPadding: {type : 'boolean', value: true, help: 'Set to `false` to make the `padding` property apply only between children and not at the container\'s inner boundaries.'}, - tabsPosition: {type: 'string', value: 'top', choices: ['top', 'bottom', 'left', 'right'], help: 'Defines the position of the navigation bar if the panel contains tabs'}, + tabsPosition: {type: 'string', value: 'top', choices: ['top', 'bottom', 'left', 'right', 'hidden'], help: 'Defines the position of the navigation bar if the panel contains tabs'}, }, value: { value: {type: 'integer|array', value: '', help: [ diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index c891e973..5e2f9c21 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -144,6 +144,10 @@ flex-direction: column-reverse; } + &.tabs-hidden > inner > .navigation { + display: none; + } + } } From fba35f1b84662205b69455f37e3f58b38b117ba1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 13 Mar 2025 08:04:33 +0100 Subject: [PATCH 5326/5759] pads: support percents in `pointSize --- CHANGELOG.md | 1 + src/client/widgets/pads/multixy.js | 4 ++-- src/client/widgets/pads/pad.js | 3 ++- src/client/widgets/pads/xy.js | 5 ++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13d6ed84..28bd1d0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - xy: add `label` property - multixy: add `padsAttr` property for per-pad customization - panel: `tabsPosition` can now be `hidden` + - pads: support percents in `pointSize` ## 1.27.5 diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 7baed047..37e8409d 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -22,7 +22,7 @@ class MultiXy extends Pad { var defaults = super.defaults().extend({ style: { _separator_xy_style: 'Xy style', - pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, + pointSize: {type: 'integer', value: 20, help: 'Defines the points\' default size (may be in %)'}, ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the points will be drawn only while touched.'}, pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, }, @@ -273,7 +273,7 @@ class MultiXy extends Pad { updateHandlesPosition() { for (var i=0;i -1 ? this.width / 100 : PXSCALE) } @@ -96,7 +97,7 @@ class Pad extends Canvas { } Pad.cssVariables = Pad.prototype.constructor.cssVariables.concat( - {js: 'pointSize', css: '--point-size', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, + {js: 'pointSize', css: '--point-size'}, ) Pad.dynamicProps = Pad.prototype.constructor.dynamicProps.filter(n => n !== 'decimals').concat([ diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 783d360c..76225f9b 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -18,7 +18,7 @@ module.exports = class Xy extends Pad { var defaults = super.defaults().extend({ style: { _separator_xy_style: 'Xy style', - pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, + pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size (may be in %)'}, ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the point will be drawn only while touched.'}, pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, label: {type: 'string', value: '', help: 'Text displayed in the handle'} @@ -222,14 +222,13 @@ module.exports = class Xy extends Pad { if (!this.visible) return - var pointSize = this.cssVars.pointSize, + var pointSize = this.pointSize, x = this.faders.x.percentToCoord(this.faders.x.percent), y = this.faders.y.percentToCoord(this.faders.y.percent), ephemeral = this.getProp('ephemeral') this.clear() - if (!ephemeral || this.active) { this.ctx.fillStyle = this.cssVars.colorFill this.ctx.globalAlpha = this.cssVars.alphaFillOn From e84c1d0435e2e3449f2f4f889d34b8c18a9faf66 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 13 Mar 2025 11:49:11 +0100 Subject: [PATCH 5327/5759] vm: move widget-aware context logic to base vm --- src/client/widgets/scripts/script-vm.js | 14 -------------- src/client/widgets/vm.js | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 8ba596a3..c8a00837 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -16,7 +16,6 @@ class ScriptVm extends Vm { super() this.valueOptions = [] - this.widget = [] } @@ -33,19 +32,6 @@ class ScriptVm extends Vm { } - setWidget(widget) { - - if (!widget) this.widget.pop() - else this.widget.push(widget) - - } - - getWidget() { - - return this.widget[this.widget.length - 1] - - } - resolveId(id) { var widget = this.getWidget() diff --git a/src/client/widgets/vm.js b/src/client/widgets/vm.js index 40b25be7..0c32f403 100644 --- a/src/client/widgets/vm.js +++ b/src/client/widgets/vm.js @@ -6,6 +6,8 @@ class Vm { constructor() { + this.widget = [] + if (!globals) { var sessionManager globals = { @@ -58,6 +60,19 @@ class Vm { } + setWidget(widget) { + + if (!widget) this.widget.pop() + else this.widget.push(widget) + + } + + getWidget() { + + return this.widget[this.widget.length - 1] + + } + registerGlobals() { this.sandbox.contentWindow.console = console From 8655a2866cfe82cdbc810214e0031444e2de1925 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 13 Mar 2025 11:51:49 +0100 Subject: [PATCH 5328/5759] advanced syntax/script: print widget id in console.log messages --- src/client/widgets/common/widget.js | 20 ++++++++++++++++++-- src/client/widgets/vm.js | 8 +++++++- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 4b97f478..0f044eee 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -836,7 +836,15 @@ class Widget extends EventEmitter { if (!this.parsers[code]) this.parsers[code] = vm.compile(code, defaultScope) - let r = this.parsers[code](jsScope, this.parsersLocalScope) + let r + vm.setWidget(this) + try { + r = this.parsers[code](jsScope, this.parsersLocalScope) + } catch (err) { + vm.setWidget() + throw err + } + vm.setWidget() if (r === undefined) r = '' @@ -852,7 +860,15 @@ class Widget extends EventEmitter { if (!this.parsers[code]) this.parsers[code] = vm.compile('return ' + code.trim(), defaultScope) - let r = this.parsers[code](jsScope, this.parsersLocalScope) + let r + vm.setWidget(this) + try { + r = this.parsers[code](jsScope, this.parsersLocalScope) + } catch (err) { + vm.setWidget() + throw err + } + vm.setWidget() if (r === undefined) r = '' diff --git a/src/client/widgets/vm.js b/src/client/widgets/vm.js index 0c32f403..76948391 100644 --- a/src/client/widgets/vm.js +++ b/src/client/widgets/vm.js @@ -75,7 +75,13 @@ class Vm { registerGlobals() { - this.sandbox.contentWindow.console = console + this.sandbox.contentWindow.console = { + ...console, + log: (msg)=>{ + this.getWidget().log(msg) + } + } + this.sandbox.contentWindow.setTimeout = this.sandbox.contentWindow.setInterval = ()=>{ throw 'setTimeout and setInterval can\'t be used in the JS sandbox' From 1c984a57e0af3185601a78294729d6bdd5417974 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 13 Mar 2025 20:13:33 +0100 Subject: [PATCH 5329/5759] editor: disable f2 shortcut if selected widget has no label property --- src/client/editor/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index a24db473..0ff1d34a 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -455,6 +455,7 @@ class Editor { break case 'f2': if (!this.selectedWidgets.length) return + if (this.selectedWidgets[0].props.top === undefined) return if (!this.inspector.expandedCategories.includes('style')) { var header = DOM.get(this.inspector.container, '.category-header[data-name="style"]')[0] if (header) { From 89b8daa35a36806dc1caffdb927552a7c73949fb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:00:46 +0100 Subject: [PATCH 5330/5759] editor: proper tab navigation in inspector + keyboard category fold/unfold with enter/space when focused editor: add mod + f to focus tree search code editor: fix nasty bug when focusing field using tab key editor: f2 focuses "html" property when "label" is not present --- package-lock.json | 7 +++--- package.json | 2 +- src/client/editor/index.js | 23 ++++++++++++++------ src/client/ui/ui-code-editor.js | 33 ++++++++++++++++++++++++++++- src/client/ui/ui-inspector-field.js | 8 +++---- src/client/ui/ui-inspector.js | 9 +++++--- src/scss/ui/inspector.scss | 4 ++++ 7 files changed, 67 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index d279a90b..fbc07eeb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.18.0", "@electron/remote": "2.0.8", - "ace-builds": "1.24.1", + "ace-builds": "1.39.0", "ansi-html": "0.0.9", "babelify": "10.0.0", "balanced-match": "2.0.0", @@ -3272,8 +3272,9 @@ "license": "ISC" }, "node_modules/ace-builds": { - "version": "1.24.1", - "license": "BSD-3-Clause" + "version": "1.39.0", + "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.39.0.tgz", + "integrity": "sha512-MqoZojv4gpc5QyTMor/dS6kmruDV9db9LVZbCiT4qYz6WsDiv4qyG5f7ZPc+wjUl6oLMqgCAsBjo1whdSVyMlQ==" }, "node_modules/acorn": { "version": "7.4.1", diff --git a/package.json b/package.json index 63dc5246..02d048cb 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.18.0", "@electron/remote": "2.0.8", - "ace-builds": "1.24.1", + "ace-builds": "1.39.0", "ansi-html": "0.0.9", "babelify": "10.0.0", "balanced-match": "2.0.0", diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 0ff1d34a..07962e2c 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -211,7 +211,8 @@ class Editor { 'end', 't', 'f2', - 'h' + 'h', + 'mod + f' ] for (let c of combos) { @@ -455,7 +456,7 @@ class Editor { break case 'f2': if (!this.selectedWidgets.length) return - if (this.selectedWidgets[0].props.top === undefined) return + if (this.selectedWidgets[0].props.label === undefined && this.selectedWidgets[0].props.html === undefined) return if (!this.inspector.expandedCategories.includes('style')) { var header = DOM.get(this.inspector.container, '.category-header[data-name="style"]')[0] if (header) { @@ -463,16 +464,24 @@ class Editor { this.inspector.expandedCategories.push('style') } } - var input = DOM.get(this.inspector.container, 'textarea[name="label"]')[0] + var labelProp = this.selectedWidgets[0].props.label === undefined ? 'html' : 'label' + var input = DOM.get(this.inspector.container, `textarea[name="${labelProp}"]`)[0] if (input) { - input.focus() - input.setSelectionRange(0, input.value.length) - input.scrollIntoView({block: 'center'}) + if (input._ace_input) { + input._ace_input.focus() + } else { + input.focus() + input.setSelectionRange(0, input.value.length) + input.scrollIntoView({block: 'center'}) + } } break case 'h': document.body.classList.add('editor-hide-selection') break + case 'mod + f': + this.widgetTree.filter.focus() + break } @@ -483,7 +492,7 @@ class Editor { if ( this.inspector.helpModalOpened || - e && e.target && e.target.tagName.match(/INPUT|TEXTAREA|SELECT/) + (e && e.target && e.target.tagName.match(/INPUT|TEXTAREA|SELECT/)) ) return if (e) e.preventDefault() diff --git a/src/client/ui/ui-code-editor.js b/src/client/ui/ui-code-editor.js index 040ed4a6..101cc675 100644 --- a/src/client/ui/ui-code-editor.js +++ b/src/client/ui/ui-code-editor.js @@ -14,6 +14,15 @@ var UiModal = require('./ui-modal'), ace.config.set('basePath', '/client/workers/') +function setCommandEnabled(editor, name, enabled) { + var command = editor.commands.byName[name] + if (!command.bindKeyOriginal) + command.bindKeyOriginal = command.bindKey + command.bindKey = enabled ? command.bindKeyOriginal : null + editor.commands.addCommand(command) +} + + class CodeEditor { constructor(parent, name, language, syntaxChecker) { @@ -119,25 +128,47 @@ class CodeEditor { editor.fullscreen = false input.style.display = 'none' input._ace_input = editor.textarea + input.tabIndex = -1 + editor.setValue(input.value) editor.textarea.osc_input = input + editor.textarea.tabIndex = 0 editor.selection.setRange({start:0,end:0}) if (!this.widget || widget.hash !== this.widget.hash) { // preserve active line if widget is the same editor.gotoLine(0) } + editor.removeAllListeners('focus') this.editor.on('focus', (e)=>{ this.parent.focusedInput = this.input this.editor.setHighlightActiveLine(true) this.editor.setHighlightGutterLine(true) + this.editor.removeAllListeners('blur') this.editor.removeAllListeners('change') + this.editor.removeAllListeners('changeSelection') this.editor.on('change', (e)=>{ this.input.value = this.editor.getValue() - // this.parent.focusedInput = this.input this.editor.dirty = true }) + + var pos = this.editor.getCursorPosition() + if (pos.row === undefined || pos.column === undefined) this.editor.gotoLine(0) + + this.typing = false + setCommandEnabled(this.editor, "indent", false) + setCommandEnabled(this.editor, "outdent", false) + + this.editor.on('changeSelection', ()=>{ + if (this.typing) return + let pos = this.editor.getCursorPosition() + if (pos.row || pos.column) { + setCommandEnabled(this.editor, "indent", true) + setCommandEnabled(this.editor, "outdent", true) + } + this.typing = true + }) this.editor.on('blur', (e)=>{ this.editor.setHighlightActiveLine(false) this.editor.setHighlightGutterLine(false) diff --git a/src/client/ui/ui-inspector-field.js b/src/client/ui/ui-inspector-field.js index 70c92b1d..94b2c741 100644 --- a/src/client/ui/ui-inspector-field.js +++ b/src/client/ui/ui-inspector-field.js @@ -30,14 +30,14 @@ class UiInspectorField extends UiWidget { if (this.widget.props.type == 'tab' || this.widget.props.type == 'root') { this.container.appendChild(html` - + `) return } this.createInput() - var select = html`` for (let cname in categories) { @@ -64,7 +64,7 @@ class UiInspectorField extends UiWidget { JSON.stringify(this.value, null, ' ').replace(/\n\s\s\s\s/g, ' ').replace(/\n\s\s(\}|\])/g, ' $1') : this.value - let input = html`` + let input = html`` if (this.name === 'id' && this.widget.props.type === 'root') input.disabled = true @@ -80,7 +80,7 @@ class UiInspectorField extends UiWidget { if (this.default.choices) { let wrapper = html``, - select = wrapper.appendChild(html``) for (let choice of this.default.choices) { select.appendChild(html``) } diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 8c40a5b6..62f193a2 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -185,7 +185,6 @@ class UiInspector extends UiWidget { var widget = widgets[0], lock = widgets.some(w=>w.getProp('lock')), props = defaults[widget.props.type], - tabIndex = 1000, codeEditorFields = [] this.widget = widget @@ -202,7 +201,7 @@ class UiInspector extends UiWidget { if (widgets.length > 1 && categoryName === 'class_specific') categoryLabel = 'shared properties' category.appendChild(html` -
            ${categoryLabel}${categoryName === 'widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
            +
            ${categoryLabel}${categoryName === 'widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
            `) let notEmpty @@ -235,7 +234,6 @@ class UiInspector extends UiWidget { name: propName, value: widget.props[propName], default: def, - tabIndex: tabIndex++ }).container if (first) field.classList.add('first-child') @@ -346,6 +344,11 @@ class UiInspector extends UiWidget { } + } else if ((event.key == 'Enter' || event.key == ' ') && event.target.classList.contains('category-header')) { + + event.preventDefault() + DOM.dispatchEvent(event.target, 'fast-click', {}) + } } diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 090cd660..3392dc79 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -464,6 +464,10 @@ osc-inspector-category { top:1rem; } + &:focus, &:active { + text-decoration: underline + } + } .separator { From 00b2dbed4d4fc251d917ab45b32c77bc548c67e5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:08:04 +0100 Subject: [PATCH 5331/5759] log: recent changes --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28bd1d0e..178bf142 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - ui: global zoom (CmdOrCtrl + scroll / + / - / 0) issues and conflits with native browser zoom; - ui: limit ctrl + scroll zoom speed - broken cli when `ELECTRON_RUN_AS_NODE` is set + - inspector: input bug when a code editor was focused using the tab key - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget @@ -18,6 +19,16 @@ - panel: `tabsPosition` can now be `hidden` - pads: support percents in `pointSize` +- scripting + - `console.log` now always print the id of the widget that called it + +- editor + - inspector: tab key navigation now works, property categories can be fold/unfold with enter/space when focused + - inspector: `F2` now focuses the `html` property in the inpector if `label` is not present + - tree: add `mod + f` to focus the search input + + + ## 1.27.5 - bug fixes From f8e4a3eb1e3fc829984ff57ec76a32c9d6f3afcc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:08:36 +0100 Subject: [PATCH 5332/5759] misc: remaining useless line --- src/client/ui/ui-inspector-field.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/ui/ui-inspector-field.js b/src/client/ui/ui-inspector-field.js index 94b2c741..aaeb5027 100644 --- a/src/client/ui/ui-inspector-field.js +++ b/src/client/ui/ui-inspector-field.js @@ -15,7 +15,6 @@ class UiInspectorField extends UiWidget { this.widget = options.widget this.value = options.value this.default = options.default - this.tabIndex = options.tabIndex this.container = html`` this.label = this.container.appendChild(html``) From 03eaab432a254c0e143696867ec3679588c842bb Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:09:06 +0100 Subject: [PATCH 5333/5759] client console: rm poor heuristic error message detection --- src/client/ui/ui-console.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index 708c3aa6..aad0e5b2 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -161,8 +161,6 @@ class UiConsole extends UiSidePanel { node.textContent = message } - if (type !== 'error' && node.textContent.match(/error/i)) node.classList.add('error') - node.scrollIntoView() if (++this.length > this.maxLength) this.purge() From 343a18541cc3d4e2e454bb7c52e3a3c5667aadc5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:22:48 +0100 Subject: [PATCH 5334/5759] tree: add "r" shortcut for "show widget in session" --- resources/docs/docs/user-interface/editor.md | 6 +++++- src/client/editor/context-menu.js | 16 +++------------- src/client/editor/index.js | 9 ++++++++- src/client/ui/ui-tree.js | 16 ++++++++++++++++ 4 files changed, 32 insertions(+), 15 deletions(-) diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index 4963ebc8..baa67e3c 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -101,7 +101,9 @@ Multiple widgets can be edited at once. | ++down++ | Select current widget's next sibling | | ++left++ | Select current widget's parent | | ++right++ | Select current widget's first child | - | ++t++ | Show selected widget in the project tree | + | ++t++ | Show selected widget(s) in the project tree | + | ++r++ | Show selected widget(s) in the session | + | ++ctrl+f++ | Focus search input in project tree | | ++"Home"++ | Send selected widget to back | | ++"Page Up"++ | Send selected widget farther | | ++"Page Down"++ | Bring selected widget closer | @@ -142,6 +144,8 @@ Multiple widgets can be edited at once. | ++left++ | Select current widget's parent | | ++right++ | Select current widget's first child | | ++t++ | Show selected widget in the project tree | + | ++r++ | Show selected widget(s) in the session | + | ++cmd+f++ | Focus search input in project tree | | ++"Home"++ | Send selected widget to back | | ++"Page Up"++ | Send selected widget farther | | ++"Page Down"++ | Bring selected widget closer | diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 71a21b32..7b3d3aa8 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -105,20 +105,10 @@ var handleClick = function(event) { label: icon('eye') + ' ' + locales('editor_show_in_session'), action: ()=>{ for (let w of editor.selectedWidgets) { - var parent = w - while (parent !== widgetManager) { - if (parent.getProp('type') === 'tab') parent.parent.setValue(parent.parent.children.indexOf(parent), {sync: true, send: true}) - else if (parent.getProp('type') === 'modal') parent.setValue(1, {sync: true, send: true}) - parent = parent.parent - } - w.container.classList.add('editor-blink') - w.container.scrollIntoView({block: 'center'}) - setTimeout(()=>{ - w.container.classList.remove('editor-blink') - }, 800) + editor.widgetTree.showWidgetInSession(w) } - - } + }, + shortcut: 'r' }) } diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 07962e2c..e8eeb1c0 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -210,6 +210,7 @@ class Editor { 'home', 'end', 't', + 'r', 'f2', 'h', 'mod + f' @@ -452,7 +453,13 @@ class Editor { if (!this.selectedWidgets.length) return this.widgetTree.showWidget(editor.selectedWidgets[0]) this.widgetTree.blinkSelected() - + break + case 'r': + if (!this.selectedWidgets.length) return + for (let w of editor.selectedWidgets) { + this.widgetTree.showWidgetInSession(w) + } + this.widgetTree.showWidget(editor.selectedWidgets[0]) break case 'f2': if (!this.selectedWidgets.length) return diff --git a/src/client/ui/ui-tree.js b/src/client/ui/ui-tree.js index b5e1e18b..501b5285 100644 --- a/src/client/ui/ui-tree.js +++ b/src/client/ui/ui-tree.js @@ -240,6 +240,22 @@ class UiTree extends UiWidget { } + showWidgetInSession(widget) { + + var parent = widget + while (parent !== widgetManager) { + if (parent.getProp('type') === 'tab') parent.parent.setValue(parent.parent.children.indexOf(parent), {sync: true, send: true}) + else if (parent.getProp('type') === 'modal') parent.setValue(1, {sync: true, send: true}) + parent = parent.parent + } + widget.container.classList.add('editor-blink') + widget.container.scrollIntoView({block: 'center'}) + setTimeout(()=>{ + widget.container.classList.remove('editor-blink') + }, 800) + + } + select() { // hint selection in folded containers From df3962ff609df7bba2ca9406f6ad5f68a96aa484 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:26:01 +0100 Subject: [PATCH 5335/5759] editor: prevent misc error --- src/client/editor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index e8eeb1c0..0b08db36 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -499,7 +499,7 @@ class Editor { if ( this.inspector.helpModalOpened || - (e && e.target && e.target.tagName.match(/INPUT|TEXTAREA|SELECT/)) + (e && e.target && e.target.tagName && e.target.tagName.match(/INPUT|TEXTAREA|SELECT/)) ) return if (e) e.preventDefault() From a4f7439c5dede1fe8997e722c2993f322d74d79b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:32:34 +0100 Subject: [PATCH 5336/5759] tree: show sidepanel when focusing search input --- src/client/editor/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 0b08db36..56290938 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -487,6 +487,7 @@ class Editor { document.body.classList.add('editor-hide-selection') break case 'mod + f': + if (this.widgetTree.parent.minimized) this.widgetTree.parent.restore() this.widgetTree.filter.focus() break From 57f169e365e69c52e4a9e56cf740f72d398951c2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 03:53:21 +0100 Subject: [PATCH 5337/5759] inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs --- CHANGELOG.md | 1 + src/client/editor/context-menu.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 178bf142..af20c15f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - ui: limit ctrl + scroll zoom speed - broken cli when `ELECTRON_RUN_AS_NODE` is set - inspector: input bug when a code editor was focused using the tab key + - inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 7b3d3aa8..6da2600c 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -30,6 +30,10 @@ var handleClick = function(event) { if (!targetWidget) return + while (targetWidget._not_editable && targetWidget.parent) { + targetWidget = targetWidget.parent + } + // if the widget is not already selected if (!targetWidget.container.classList.contains('editing') || event.detail.ctrlKey || event.detail.shiftKey) { // add a flag to the original event to prevent draginit From 8e6a3a9f0326df3ab0b30d9fcf6626c2fce62e7c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 04:20:09 +0100 Subject: [PATCH 5338/5759] ui: console style tweaks --- src/scss/ui/console.scss | 46 +++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/src/scss/ui/console.scss b/src/scss/ui/console.scss index 849bffa9..1918d9ed 100644 --- a/src/scss/ui/console.scss +++ b/src/scss/ui/console.scss @@ -56,49 +56,53 @@ $padding: 8rem; osc-console { height: 100%; - padding: $padding; + padding: $padding 0; overflow-y: auto; - border-bottom: 1rem solid var(--color-background); + border-bottom: 1rem solid rgba(255,255,255,0.1); user-select: text; } osc-console-message { + user-select: text; cursor: text; display: block; white-space: pre-line; position: relative; - padding-left: 10rem; + padding-left: $padding + 18rem; + padding-right: $padding; + padding-bottom: 6rem; + border-bottom: 1rem dotted rgba(255,255,255,0.1); &:before { font-family: FontAwesome; - width: 6rem; + width: 12rem; display: inline-block; text-align: center; position: absolute; - left: 0; + left: $padding; + top:1rem; } - &.log:before, &.error:before { - content: ""; - border-left: 2rem solid; - top: 0; - bottom: 0; - left: 2rem; - opacity: 0.75; + &.log:before { + content: "\f105\f105" } &.error { color: var(--color-error); + &:before { + content: "x" + } } &.input { &:before { - content: "\f105"; + content: "\f105\f105"; } } &.output { &:before { - content: "\f104" + content: "\f104\f104" } &.undefined { + // color: var(--color-text) opacity: 0.5; } @@ -108,6 +112,7 @@ osc-console-message { } } + margin-bottom: 4rem; &:last-child { @@ -117,7 +122,8 @@ osc-console-message { .edit-widget { cursor: pointer; display: inline-block; - padding: 2rem; + position: relative; + // padding: 2rem; border-radius: 2rem; &.editing { background: var(--color-ui-foreground); @@ -141,22 +147,22 @@ osc-console-input { padding-left: 10rem; &:before { - content: "\f105"; + content: "\f105\f105"; font-family: FontAwesome; - width: 6rem; + width: 16rem; display: inline-block; text-align: center; position: absolute; left: 0; - line-height: $field-height - 8rem; + line-height: $field-height - 6rem; padding: 4rem 6rem; color: var(--color-accent); } textarea { font-family: $font-mono; - line-height: $field-height - 8rem; - padding: 4rem 6rem; + line-height: $field-height - 6rem; + padding: 4rem 16rem; flex: 1; overflow-x: auto; overflow-y: hidden; From 2a9ce79ecfac88988b1768294cf4c365e4ed64b7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 04:22:00 +0100 Subject: [PATCH 5339/5759] lint: quotes and spaces --- src/client/ui/ui-code-editor.js | 8 ++++---- src/client/ui/ui-inspector.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/ui/ui-code-editor.js b/src/client/ui/ui-code-editor.js index 101cc675..4c8dcabd 100644 --- a/src/client/ui/ui-code-editor.js +++ b/src/client/ui/ui-code-editor.js @@ -157,15 +157,15 @@ class CodeEditor { if (pos.row === undefined || pos.column === undefined) this.editor.gotoLine(0) this.typing = false - setCommandEnabled(this.editor, "indent", false) - setCommandEnabled(this.editor, "outdent", false) + setCommandEnabled(this.editor, 'indent', false) + setCommandEnabled(this.editor, 'outdent', false) this.editor.on('changeSelection', ()=>{ if (this.typing) return let pos = this.editor.getCursorPosition() if (pos.row || pos.column) { - setCommandEnabled(this.editor, "indent", true) - setCommandEnabled(this.editor, "outdent", true) + setCommandEnabled(this.editor, 'indent', true) + setCommandEnabled(this.editor, 'outdent', true) } this.typing = true }) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 62f193a2..092564ef 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -344,7 +344,7 @@ class UiInspector extends UiWidget { } - } else if ((event.key == 'Enter' || event.key == ' ') && event.target.classList.contains('category-header')) { + } else if ((event.key == 'Enter' || event.key == ' ') && event.target.classList.contains('category-header')) { event.preventDefault() DOM.dispatchEvent(event.target, 'fast-click', {}) From 58acf3e0a7a2eaf115ab8647eaefd7ebabe00546 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 04:27:54 +0100 Subject: [PATCH 5340/5759] editor: change r shortcut to y --- resources/docs/docs/user-interface/editor.md | 4 ++-- src/client/editor/context-menu.js | 2 +- src/client/editor/index.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index baa67e3c..bfa62544 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -102,7 +102,7 @@ Multiple widgets can be edited at once. | ++left++ | Select current widget's parent | | ++right++ | Select current widget's first child | | ++t++ | Show selected widget(s) in the project tree | - | ++r++ | Show selected widget(s) in the session | + | ++y++ | Show selected widget(s) in the session | | ++ctrl+f++ | Focus search input in project tree | | ++"Home"++ | Send selected widget to back | | ++"Page Up"++ | Send selected widget farther | @@ -144,7 +144,7 @@ Multiple widgets can be edited at once. | ++left++ | Select current widget's parent | | ++right++ | Select current widget's first child | | ++t++ | Show selected widget in the project tree | - | ++r++ | Show selected widget(s) in the session | + | ++y++ | Show selected widget(s) in the session | | ++cmd+f++ | Focus search input in project tree | | ++"Home"++ | Send selected widget to back | | ++"Page Up"++ | Send selected widget farther | diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 6da2600c..a7f052e3 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -112,7 +112,7 @@ var handleClick = function(event) { editor.widgetTree.showWidgetInSession(w) } }, - shortcut: 'r' + shortcut: 'y' }) } diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 56290938..410417a4 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -210,7 +210,7 @@ class Editor { 'home', 'end', 't', - 'r', + 'y', 'f2', 'h', 'mod + f' @@ -454,7 +454,7 @@ class Editor { this.widgetTree.showWidget(editor.selectedWidgets[0]) this.widgetTree.blinkSelected() break - case 'r': + case 'y': if (!this.selectedWidgets.length) return for (let w of editor.selectedWidgets) { this.widgetTree.showWidgetInSession(w) From 1002e5a011aa8dea6fea75da70cd03317a4a80ce Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 04:33:22 +0100 Subject: [PATCH 5341/5759] ui: console msg line color --- src/scss/ui/console.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/ui/console.scss b/src/scss/ui/console.scss index 1918d9ed..0eed6b39 100644 --- a/src/scss/ui/console.scss +++ b/src/scss/ui/console.scss @@ -58,7 +58,7 @@ osc-console { height: 100%; padding: $padding 0; overflow-y: auto; - border-bottom: 1rem solid rgba(255,255,255,0.1); + border-bottom: 1rem dotted rgba(255,255,255,0.2); user-select: text; } @@ -104,6 +104,7 @@ osc-console-message { &.undefined { // color: var(--color-text) opacity: 0.5; + border-bottom: 1rem dotted rgba(255,255,255,0.20); } &.value { From 6310a6171ed7a91a111740383643e0d2116df38c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Mar 2025 17:18:28 +0100 Subject: [PATCH 5342/5759] multixy: restore rm'ed draw call --- src/client/widgets/pads/multixy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 37e8409d..365214d2 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -255,6 +255,7 @@ class MultiXy extends Pad { super.cacheCanvasStyle(style) for (var k in this.pads) { this.pads[k].cacheCanvasStyle() + this.pads[k].batchDraw() } this.batchDraw() From 911c318cc14be1aba29e8fb707977b602e2b138f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 17 Mar 2025 18:22:48 +0100 Subject: [PATCH 5343/5759] multixy/range: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent --- CHANGELOG.md | 1 + src/client/widgets/mixins/touch_state.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af20c15f..4633b487 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - broken cli when `ELECTRON_RUN_AS_NODE` is set - inspector: input bug when a code editor was focused using the tab key - inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs + - multixy/range: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget diff --git a/src/client/widgets/mixins/touch_state.js b/src/client/widgets/mixins/touch_state.js index e23b13ff..f16a70fc 100644 --- a/src/client/widgets/mixins/touch_state.js +++ b/src/client/widgets/mixins/touch_state.js @@ -14,13 +14,14 @@ module.exports = (self, options)=>{ self.on('dragend', (e)=>{ if (self.touched == 1) { - self.touched = 0 if (self.setValueTouchedQueue !== undefined) { self.setValue(...self.setValueTouchedQueue) self.setValueTouchedQueue = undefined } + self.touched = 0 + self.trigger('touch', {stopPropagation: true, touch: 0}) } else if (self.touched > 1){ From d4297dd4abf538ea9033150111aea64c7088a71a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 17 Mar 2025 18:27:24 +0100 Subject: [PATCH 5344/5759] multixy: methodize handle hit test --- src/client/widgets/pads/multixy.js | 41 +++++++++++++++++------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 365214d2..3747ec9a 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -119,26 +119,10 @@ class MultiXy extends Pad { if (!this.touchMap[e.pointerId]) { - var ndiff, diff = -1 - - for (var i in this.pads) { - - if (Object.values(this.touchMap).indexOf(i) != -1) continue - if (!this.pads[i].getProp('visible')) continue - - ndiff = Math.abs(e.offsetX - this.padsCoords[i][0]) + Math.abs(e.offsetY - (this.padsCoords[i][1] + this.height)) - - if (diff == -1 || ndiff < diff) { - id = i - diff = ndiff - } - - - } + id = this.getPadIdFromCoords(e.offsetX, e.offsetY) this.touchMap[e.pointerId] = id - } if (!id) return @@ -235,6 +219,29 @@ class MultiXy extends Pad { } + getPadIdFromCoords(x, y) { + + var ndiff, diff = -1, + id + + for (var i in this.pads) { + + if (Object.values(this.touchMap).indexOf(i) != -1) continue + if (!this.pads[i].getProp('visible')) continue + + ndiff = Math.abs(x - this.padsCoords[i][0]) + Math.abs(y - (this.padsCoords[i][1] + this.height)) + + if (diff == -1 || ndiff < diff) { + id = i + diff = ndiff + } + + } + + return id + + } + extraResizeHandle(event){ super.extraResizeHandle(event) From 5c631c0a6f5758581b950e016f9bf61d787a85f4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 17 Mar 2025 18:27:55 +0100 Subject: [PATCH 5345/5759] console: px fix --- src/scss/ui/console.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scss/ui/console.scss b/src/scss/ui/console.scss index 0eed6b39..f91b2491 100644 --- a/src/scss/ui/console.scss +++ b/src/scss/ui/console.scss @@ -80,7 +80,6 @@ osc-console-message { text-align: center; position: absolute; left: $padding; - top:1rem; } &.log:before { content: "\f105\f105" From 7f943aa89c4cee462f489eef0f2864636921c24c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 18 Mar 2025 08:40:18 +0100 Subject: [PATCH 5346/5759] docs: noop --- resources/docs/docs/widgets/scripting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 5c9fea44..f806cc2c 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -105,7 +105,7 @@ The following variables are available in this context: ### `onPreload` -This script is specific to the root widget, it's called before any other widget is created and can be used to create global variables / functions accessible in other scripts. +This script is specific to the root widget, it's called before any other widget is created and can be used to create global variables / functions accessible in other scripts. ## Available variables From b73f1b205705137ef42cc97ed535c2ceec7f280d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 18 Mar 2025 16:52:34 +0100 Subject: [PATCH 5347/5759] package: next is 1.28.0 --- CHANGELOG.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4633b487..addd1362 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 1.28.0 + - bug fixes - ui: global zoom (CmdOrCtrl + scroll / + / - / 0) issues and conflits with native browser zoom; - ui: limit ctrl + scroll zoom speed diff --git a/package.json b/package.json index 02d048cb..a690eadd 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.27.6-dev", + "version": "1.28.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 926550bac7d21d57049c500573b5d1fdd155f8cc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 18 Mar 2025 16:52:52 +0100 Subject: [PATCH 5348/5759] docs: update --- .../docs/docs/widgets/properties-reference.md | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 4c9b6011..fa195d3d 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -220,7 +220,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            directory#
            | `string` | "auto" | Default browsing directory | - |
            extension#
            | `string` | "*" | Only display files with this extension | + |
            extension#
            | `string`|
            `array` | "*" | Only display files with this extension. Multiple extensions can be specified with an array of strings (`["jpg", "jpeg"]`) | |
            allowDir#
            | `boolean` | false | Allow selecting a folder (by pressing "open" when no file is selected) | ## Containers @@ -238,7 +238,7 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | + |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right`, `hidden` | === "panel" @@ -450,7 +450,7 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | + |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right`, `hidden` | |
            hideMenu#
            | `boolean` | false | Set to `true` to hide the main menu button. | === "root" @@ -493,7 +493,7 @@ |
            contain#
            | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
            scroll#
            | `boolean` | true | Set to `false` to disable scrollbars | |
            innerPadding#
            | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right` | + |
            tabsPosition#
            | `string` | "top" | Defines the position of the navigation bar if the panel contains tabs

            Choices: `top`, `bottom`, `left`, `right`, `hidden` | |
            label#
            | `string`|
            `boolean` | "auto" | Set to `false` to hide completely
            - Insert icons using the prefix ^ followed by the icon's name : `^play`, `^pause`, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free)
            - Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` | === "tab" @@ -612,12 +612,10 @@ | property | type |default | description | | --- | --- | --- | --- | - |
            rangeX#
            | `object` | \{
             "min": 20,
             "max": 22000
            }
            | Defines the min and max values for the x axis (in Hz, logarithmic scale) | + |
            rangeX#
            | `object` | \{
             "min": 20,
             "max": 22000
            }
            | Defines the min and max values for the x axis (in Hz, logarithmic scale)

            The sampling frequency used to compute the response curve will be 2 * rangeX.max | |
            rangeY#
            | `object` | \{
             "min": -6,
             "max": 6
            }
            | Defines the min and max values for the y axis (in dB) | - |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | - |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | |
            origin#
            | `number`|
            `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | - |
            filters#
            | `array` | "" | Each item must be an object with the following properties
            - `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")
            - `freq`: number (filter's resonant frequency, default: 1000)
            - `q`: number (Q factor, default: 1)
            - `gain`: number (default: 0)
            - `on`: boolean (default: true)

            See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode | + |
            filters#
            | `array` | "" | Each item must be an object with the following properties
            - `type`: string ("highpass", "highshelf", "lowpass", "lowshelf", "peak", "bandpass" or "notch", default: "peak")
            - `freq`: number (filter's resonant frequency, default: 1000)
            - `q`: number (Q factor, default: 1)
            - `gain`: number (default: 0)
            - `on`: boolean (default: true)
            - `poles`: if `type` is "highpass" or "lowpass", indicates the number of poles for the filter (if omitted or 0, a biquad filter with Q factor is used). Set to 1 for 6dB/otaves roll-off, 2 for 12dB/octaves, etc.

            See https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode | |
            pips#
            | `boolean` | true | Set to false to hide the scale | === "value" @@ -706,9 +704,10 @@ | property | type |default | description | | --- | --- | --- | --- | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | - |
            pointSize#
            | `integer` | 20 | Defines the points' size | + |
            pointSize#
            | `integer` | 20 | Defines the points' size (may be in %) | |
            ephemeral#
            | `boolean` | false | When set to `true`, the point will be drawn only while touched. | |
            pips#
            | `boolean` | true | Set to `false` to hide the scale | + |
            label#
            | `string` | "" | Text displayed in the handle | === "xy" @@ -720,8 +719,8 @@ |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | - |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only unless `Shift` is held.

            When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.

            Choices: ``, `x`, `y` | - |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the fader reset to its default value when receiving a double tap.

            Can also be an osc address, which case the widget will just send an osc message: `/ ` | + |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only unless `Shift` is held.

            When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

            Choices: ``, `x`, `y`, `auto` | + |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | === "scripting" @@ -758,7 +757,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | - |
            pointSize#
            | `integer` | 20 | Defines the points' size | + |
            pointSize#
            | `integer` | 20 | Defines the points' default size (may be in %) | |
            ephemeral#
            | `boolean` | false | When set to `true`, the points will be drawn only while touched. | |
            pips#
            | `boolean` | true | Set to `false` to hide the scale | @@ -767,14 +766,15 @@ | property | type |default | description | | --- | --- | --- | --- | |
            points#
            | `integer`|
            `array` | 2 | Defines the number of points on the pad

            Can be an array of strings that will be used as labels for the points (ex: `['A', 'B']`) | + |
            pointsAttr#
            | `object` | [] | Defines per-point properties that are otherwise inherited from the multixy. Must be an array of objects (one per point) that may contain the following keys:
            - visible (visibility and interactability)
            - colorFill (background color)
            - colorStroke (outline color)
            - colorText (label color)
            - color (shorthand for colorFill and colorStroke)
            - alphaFillOn (background opacity)
            - pointSize
            - label | |
            snap#
            | `boolean` | false | By default, the points are dragged from their initial position.

            If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its default value when released | |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis | |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | - |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only.

            When left to the default value, holding `Shift` while dragging will lock the pad according the first movement.

            Choices: ``, `x`, `y` | - |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the fader reset to its default value when receiving a double tap.

            Can also be an osc address, which case the widget will just send an osc message: `/ ` | + |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only.

            When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

            Choices: ``, `x`, `y`, `auto` | + |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | === "scripting" @@ -835,7 +835,7 @@ |
            snap#
            | `boolean` | false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position | |
            touchZone#
            | `string` | "all" | Restrict interaction to a part of the widget:
            - `all`: touching the widget anywhere will start an interaction
            - `knob`: touching the knob will start an interaction
            - `gauge`: touching anywhere in the knob's moving range will start an interaction

            This setting is ignored in containers with `traversing` set to `true`

            Choices: `all`, `knob`, `gauge` | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | - |
            doubleTap#
            | `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

            Can also be an osc address, in which case the widget will just send an osc message (`/ `) | + |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
            logScale#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
            sensitivity#
            | `number` | 1 | Defines the fader's sensitivity when `snap` is `false` | @@ -869,7 +869,7 @@ | --- | --- | --- | --- | |
            mode#
            | `string` | "vertical" | - `vertical`: relative move in vertical motion
            - `circular`: relative move in circular motion
            - `snap`: snap to touch position
            - `snap-alt`: alternative snap mode that allow jumping from `range.min` to `range.max`. `sensitivity` is ignored with this mode.

            Choices: `vertical`, `circular`, `snap`, `snap-alt` | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | - |
            doubleTap#
            | `boolean` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can also be an osc address, in which case the widget will just send an osc message (`/ `) | + |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
            logScale#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
            sensitivity#
            | `number` | 1 | Defines the knob's sensitivity when `mode` is not `snap` | @@ -936,7 +936,7 @@ |
            snap#
            | `boolean` | false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position | |
            touchZone#
            | `string` | "all" | Restrict interaction to a part of the widget:
            - `all`: touching the widget anywhere will start an interaction
            - `knob`: touching the knob will start an interaction
            - `gauge`: touching anywhere in the knob's moving range will start an interaction

            This setting is ignored in containers with `traversing` set to `true`

            Choices: `all`, `knob`, `gauge` | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | - |
            doubleTap#
            | `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

            Can also be an osc address, in which case the widget will just send an osc message (`/ `) | + |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
            logScale#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
            sensitivity#
            | `number` | 1 | Defines the fader's sensitivity when `snap` is `false` | From be7d47241458f57e20a46dca9eb32eae49d2b8e6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:05:49 +0100 Subject: [PATCH 5349/5759] eq: use 1p1z highpass --- CHANGELOG.md | 5 +++++ src/client/widgets/graphs/eq.js | 14 ++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index addd1362..3f3e1a82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.28.1 + +- bug fixes + - eq: `highpass` filter not working as expected with `poles` set + ## 1.28.0 - bug fixes diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index c7234ab5..94f2f2aa 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -173,10 +173,16 @@ function biquadResponse(options, frequencyHz, filterResponse) { break case 'highpass-1p': - b1 = -Math.exp(-2.0 * Math.PI * (0.5 - frequency / Fs)) - a0 = 1.0 + b1 - b1 = -b1 - a1 = a2 = b2 = 0 + // b1 = -Math.exp(-2.0 * Math.PI * (0.5 - frequency / Fs)) + // a0 = 1.0 + b1 + // b1 = -b1 + // a1 = a2 = b2 = 0 + // using highpass 1p1z instead + norm = 1 / (K + 1); + a0 = norm; + a1 = -norm; + b1 = (K - 1) * norm; + a2 = b2 = 0; break case 'bandpass': From 315f1de6c95b3f87fe28c350adabd884c479da59 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:15:26 +0100 Subject: [PATCH 5350/5759] fader: apply touchZone to doubleTap & (partially) mousewheel --- CHANGELOG.md | 2 ++ src/client/widgets/sliders/fader.js | 1 + src/client/widgets/sliders/slider.js | 17 +++++++++++++---- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f3e1a82..ae648da5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - bug fixes - eq: `highpass` filter not working as expected with `poles` set + - fader: `touchZone` not applied to `doubleTap` events + - fader: `touchZone` not affecting mousewheel interactions ## 1.28.0 diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 3d837937..561f2ed2 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -125,6 +125,7 @@ class Fader extends Slider { snap = this.getProp('snap') if (zone == 'all') return true + if (e.type == 'wheel' && zone == 'knob') zone = 'gauge' if (design == 'compact' && zone == 'gauge') return true var x = e.offsetX, diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 289372a2..7f3f3a08 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -57,14 +57,16 @@ class Slider extends Canvas { if (typeof this.getProp('doubleTap') === 'string' && this.getProp('doubleTap')[0] === '/') { - doubleTap(this, ()=>{ + doubleTap(this, (e)=>{ + if (!this.shouldDrag(e)) return this.sendValue({v:null, address: this.getProp('doubleTap')}) }, {element: this.widget}) } if (this.getProp('doubleTap') == 'script') { - doubleTap(this, ()=>{ + doubleTap(this, (e)=>{ + if (!this.shouldDrag(e)) return this.scripts.onTouch.run({ event: {type: 'doubleTap'}, value: this.value @@ -74,7 +76,8 @@ class Slider extends Canvas { } else { - doubleTap(this, ()=>{ + doubleTap(this, (e)=>{ + if (!this.shouldDrag(e)) return this.setValue(this.getSpringValue(),{sync:true, send:true, fromLocal:true, doubleTap:true}) }, {element: this.widget}) @@ -97,6 +100,12 @@ class Slider extends Canvas { } + shouldDrag(e) { + + return true + + } + mousewheelHandleProxy() { this.mousewheelHandle(...arguments) @@ -123,7 +132,7 @@ class Slider extends Canvas { mousewheelHandle(e) { - if (e.deltaX || this.getProp('spring')) return + if (e.deltaX || this.getProp('spring') || !this.shouldDrag(e)) return e.preventDefault() e.stopPropagation() From 8a5790f2f56274a10578c973df7d34fdbd80038c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:27:50 +0100 Subject: [PATCH 5351/5759] fader: fix touch state regression --- src/client/widgets/mixins/touch_state.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/widgets/mixins/touch_state.js b/src/client/widgets/mixins/touch_state.js index f16a70fc..499afeae 100644 --- a/src/client/widgets/mixins/touch_state.js +++ b/src/client/widgets/mixins/touch_state.js @@ -6,6 +6,10 @@ module.exports = (self, options)=>{ self.setValueTouchedQueue = undefined self.on('draginit',(e)=>{ + if (self.shouldDrag && !self.shouldDrag(e)) { + e.cancelDragEvent = true + return + } self.touched += 1 if (self.touched == 1) { self.trigger('touch', {stopPropagation: true, touch: 1}) From b5db1fc276f004710a2b9c5a6de518d9b8c7cff0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:47:12 +0100 Subject: [PATCH 5352/5759] log: missing fix --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae648da5..3f6af479 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - eq: `highpass` filter not working as expected with `poles` set - fader: `touchZone` not applied to `doubleTap` events - fader: `touchZone` not affecting mousewheel interactions + - fader: regression causing issues with `onTouch` scripts ## 1.28.0 From cd4a8fc3a1d99c333df575b6070d6bbe1cef65a3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:47:22 +0100 Subject: [PATCH 5353/5759] lint: semi colons --- src/client/widgets/graphs/eq.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 94f2f2aa..727e772a 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -178,11 +178,11 @@ function biquadResponse(options, frequencyHz, filterResponse) { // b1 = -b1 // a1 = a2 = b2 = 0 // using highpass 1p1z instead - norm = 1 / (K + 1); - a0 = norm; - a1 = -norm; - b1 = (K - 1) * norm; - a2 = b2 = 0; + norm = 1 / (K + 1) + a0 = norm + a1 = -norm + b1 = (K - 1) * norm + a2 = b2 = 0 break case 'bandpass': From 9343258464faed8c71f950acc4835ab4d2ae83d5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:47:32 +0100 Subject: [PATCH 5354/5759] package: v1.28.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a690eadd..8303d99e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.28.0", + "version": "1.28.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 1cc3dac24c93966a3ce4d8c8e987e444d3125861 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:47:52 +0100 Subject: [PATCH 5355/5759] fader: take user scripts into account when filtering feedback while touched --- src/client/widgets/sliders/slider.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 7f3f3a08..00182e12 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -226,7 +226,12 @@ class Slider extends Canvas { setValue(v,options={}) { if (typeof v != 'number') return - if (this.touched && !options.dragged && !options.doubleTap) return this.setValueTouchedQueue = [v, options] + if ( + this.touched && + !options.dragged && + !options.doubleTap && + options.fromScript !== this.hash + ) return this.setValueTouchedQueue = [v, options] var value = clip(v,[this.rangeValsMin,this.rangeValsMax]) From 0de59ae70e66bab895dd66f90f3c0aeb0d799895 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 09:55:13 +0100 Subject: [PATCH 5356/5759] eq: pointsAttr not updating dynamically --- CHANGELOG.md | 1 + src/client/widgets/pads/multixy.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f6af479..0472dc07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - eq: `highpass` filter not working as expected with `poles` set + - eq: pointsAttr not updating dynamically - fader: `touchZone` not applied to `doubleTap` events - fader: `touchZone` not affecting mousewheel interactions - fader: regression causing issues with `onTouch` scripts diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 3747ec9a..7cc2fe99 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -404,6 +404,7 @@ class MultiXy extends Pad { case 'spring': case 'pointSize': case 'axisLock': + case 'pointsAttr': this.updatePadsAttr() return } From 662fcf1322ddb86740940cd50979ccb9c78a41d4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 10:00:04 +0100 Subject: [PATCH 5357/5759] Revert "eq: pointsAttr not updating dynamically" (was already ok) This reverts commit 0de59ae70e66bab895dd66f90f3c0aeb0d799895. --- CHANGELOG.md | 1 - src/client/widgets/pads/multixy.js | 1 - 2 files changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0472dc07..3f6af479 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,6 @@ - bug fixes - eq: `highpass` filter not working as expected with `poles` set - - eq: pointsAttr not updating dynamically - fader: `touchZone` not applied to `doubleTap` events - fader: `touchZone` not affecting mousewheel interactions - fader: regression causing issues with `onTouch` scripts diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 7cc2fe99..3747ec9a 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -404,7 +404,6 @@ class MultiXy extends Pad { case 'spring': case 'pointSize': case 'axisLock': - case 'pointsAttr': this.updatePadsAttr() return } From 2802b3955a0a3da606994fc421af78342c713a59 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 10:13:10 +0100 Subject: [PATCH 5358/5759] eq: use 1p1z lowpass --- src/client/widgets/graphs/eq.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 727e772a..6a67dd06 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -166,10 +166,15 @@ function biquadResponse(options, frequencyHz, filterResponse) { break case 'lowpass-1p': - b1 = Math.exp(-2.0 * Math.PI * (frequency / Fs)) - a0 = 1.0 - b1 - b1 = -b1 - a1 = a2 = b2 = 0 + // b1 = Math.exp(-2.0 * Math.PI * (frequency / Fs)) + // a0 = 1.0 - b1 + // b1 = -b1 + // a1 = a2 = b2 = 0 + // using lowpass 1p1z instead + norm = 1 / (1 / K + 1) + a0 = a1 = norm + b1 = (1 - 1 / K) * norm + a2 = b2 = 0 break case 'highpass-1p': From 29bcc5fe666d44d7d0e2e305caede70ad6b04790 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 11:21:48 +0100 Subject: [PATCH 5359/5759] Revert "multixy/range: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent" This reverts commit 911c318cc14be1aba29e8fb707977b602e2b138f. --- CHANGELOG.md | 1 - src/client/widgets/mixins/touch_state.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f6af479..261d4324 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,6 @@ - broken cli when `ELECTRON_RUN_AS_NODE` is set - inspector: input bug when a code editor was focused using the tab key - inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs - - multixy/range: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget diff --git a/src/client/widgets/mixins/touch_state.js b/src/client/widgets/mixins/touch_state.js index 499afeae..e2a83b98 100644 --- a/src/client/widgets/mixins/touch_state.js +++ b/src/client/widgets/mixins/touch_state.js @@ -18,14 +18,13 @@ module.exports = (self, options)=>{ self.on('dragend', (e)=>{ if (self.touched == 1) { + self.touched = 0 if (self.setValueTouchedQueue !== undefined) { self.setValue(...self.setValueTouchedQueue) self.setValueTouchedQueue = undefined } - self.touched = 0 - self.trigger('touch', {stopPropagation: true, touch: 0}) } else if (self.touched > 1){ From 9e82075990bc95ea62b440aee2fc1c6c23197019 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 11:24:00 +0100 Subject: [PATCH 5360/5759] log: regression fix --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 261d4324..603fcc82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.28.2 + +- bug fixes + - regression in feedback handling (unfixes multixy/range simultaneous spring issue temporarily) + ## 1.28.1 - bug fixes @@ -16,6 +21,7 @@ - broken cli when `ELECTRON_RUN_AS_NODE` is set - inspector: input bug when a code editor was focused using the tab key - inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs + - multixy/range: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget From 6dfa97343dc7220795ea5d3f3ca761720008a814 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 11:24:18 +0100 Subject: [PATCH 5361/5759] package: v1.28.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8303d99e..3c208417 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.28.1", + "version": "1.28.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 89128542629c90d94b31a2a5c305121925aab869 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 13:34:32 +0100 Subject: [PATCH 5362/5759] event/drag: prevent error when multi-touching single-touch widget --- src/client/events/drag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index 4e976251..7adef6dc 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -10,7 +10,7 @@ function pointerDownHandler(event) { if (!event.target._drag_multitouch) { for (var i in targets) { - if (targets[i] == event.target) return + if (targets[i] == event.target) return event } } From c0a331ece66afc6fdc1993e9889670759415fb50 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 13:35:36 +0100 Subject: [PATCH 5363/5759] touchstate: misc cleanup --- src/client/widgets/mixins/touch_state.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/widgets/mixins/touch_state.js b/src/client/widgets/mixins/touch_state.js index e2a83b98..8b2cdbae 100644 --- a/src/client/widgets/mixins/touch_state.js +++ b/src/client/widgets/mixins/touch_state.js @@ -6,6 +6,8 @@ module.exports = (self, options)=>{ self.setValueTouchedQueue = undefined self.on('draginit',(e)=>{ + self.setValueTouchedQueue = undefined + if (self.shouldDrag && !self.shouldDrag(e)) { e.cancelDragEvent = true return @@ -34,6 +36,7 @@ module.exports = (self, options)=>{ self.onRemove = ()=>{ if (self.touched > 0) { + self.setValueTouchedQueue = undefined self.trigger('touch', {stopPropagation: true, touch: 0}) } self.__proto__.onRemove.call(self) From 973654b2d7501d79a6ed3bf7235cde35e9d9d1f2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 13:35:52 +0100 Subject: [PATCH 5364/5759] multixy: fix touch state vs feedback filtering order (dragend event handler sorting) --- src/client/widgets/pads/multixy.js | 34 +++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 3747ec9a..3c1037b1 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -111,6 +111,23 @@ class MultiXy extends Pad { this.padsCoords = [] this.touchMap = {} + this.on('dragend',(e)=>{ + + var i = this.touchMap[e.pointerId] + + if (!i) return + + e.stopPropagation = true + + this.pads[i].touched = 0 + this.pads[i].trigger('dragend', e) + + this.trigger('touch', {stopPropagation: true, touch: [parseInt(this.touchMap[e.pointerId]), 0]}) + + delete this.touchMap[e.pointerId] + + }, {element: this.widget, multitouch: true}) + touchstate(this, {element: this.widget, multitouch: true}) this.on('draginit',(e)=>{ @@ -148,23 +165,6 @@ class MultiXy extends Pad { }, {element: this.widget, multitouch: true}) - this.on('dragend',(e)=>{ - - var i = this.touchMap[e.pointerId] - - if (!i) return - - e.stopPropagation = true - - this.pads[i].touched = 0 - this.pads[i].trigger('dragend', e) - - this.trigger('touch', {stopPropagation: true, touch: [parseInt(this.touchMap[e.pointerId]), 0]}) - - delete this.touchMap[e.pointerId] - - }, {element: this.widget, multitouch: true}) - this.on('value-changed',(e)=>{ if (e.widget == this) return e.stopPropagation = true From 8d763866044dbd2688433bdd169088085c1797b8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 13:46:55 +0100 Subject: [PATCH 5365/5759] log: update --- CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 603fcc82..07c56084 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,14 @@ # Changelog +## 1.28.3 + +- bug fixes + - multixy: correclty handle incoming feedback values and simultaneous touch releases + ## 1.28.2 - bug fixes - - regression in feedback handling (unfixes multixy/range simultaneous spring issue temporarily) + - regression in feedback handling (unfixes multixy simultaneous spring issue temporarily) ## 1.28.1 @@ -21,7 +26,7 @@ - broken cli when `ELECTRON_RUN_AS_NODE` is set - inspector: input bug when a code editor was focused using the tab key - inspector: prevent editing non-editable widgets (e.g matrix items) when clicking on their ids in error logs - - multixy/range: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent + - multixy: simultaneous touch releases not working correctly when `spring` is set and feedback values are received shortly after being sent - widgets - fader: add `touchZone` property to allow restricting interaction to a part of the widget From aede97cf24cec670463a3244b4f991b5b244432b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 13:47:09 +0100 Subject: [PATCH 5366/5759] package: 1.28.3 all right --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3c208417..83878c2b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.28.2", + "version": "1.28.3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 790d83433daa6b377ddc7f31e48684785cd07397 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 17:50:19 +0100 Subject: [PATCH 5367/5759] misc: prevent sidepanels from catching events on 1px-wide zone at the left/right of the workspace --- src/scss/ui/workspaces.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index 926d4608..7db8b4c0 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -254,6 +254,10 @@ osc-panel-container { } } + &.disabled { + pointer-events: none; + } + &.disabled .toggle-button { display: none; } From 7d0d368a787ade403d77164f28e7b773c2b96604 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 17:52:27 +0100 Subject: [PATCH 5368/5759] script: let console.log take multiple args and format objects correctly --- src/client/widgets/vm.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/vm.js b/src/client/widgets/vm.js index 76948391..3befa004 100644 --- a/src/client/widgets/vm.js +++ b/src/client/widgets/vm.js @@ -77,8 +77,9 @@ class Vm { this.sandbox.contentWindow.console = { ...console, - log: (msg)=>{ - this.getWidget().log(msg) + log: (...msg)=>{ + msg = msg.map(m => typeof m == 'object' ? JSON.stringify(m) : m) + this.getWidget().log(msg.join(' ')) } } From fae6614d4ef51c4956e80164cbf40db9bacb5074 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Mar 2025 22:57:46 +0100 Subject: [PATCH 5369/5759] multixy: set npoints to minimum 1 to avoid errors --- CHANGELOG.md | 5 +++++ src/client/widgets/pads/multixy.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07c56084..ddffd97c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.28.4 + +- bug fixes + - multixy: error when `points` is `0` (or empty array) + ## 1.28.3 - bug fixes diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 3c1037b1..b7e7c07d 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -74,7 +74,7 @@ class MultiXy extends Pad { super(options) - this.npoints = Array.isArray(this.getProp('points')) ? this.getProp('points').length : this.getProp('points') || 0 + this.npoints = Math.max(Array.isArray(this.getProp('points')) ? this.getProp('points').length : this.getProp('points') || 1, 1) this.preventChildrenTouchState = true this.pads = [] From be90e0293560435324610fa4c7ce1eba874dc406 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 20 Mar 2025 09:14:13 +0100 Subject: [PATCH 5370/5759] multixy: better npoints safe check --- src/client/widgets/pads/multixy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index b7e7c07d..b2c19be5 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -74,7 +74,9 @@ class MultiXy extends Pad { super(options) - this.npoints = Math.max(Array.isArray(this.getProp('points')) ? this.getProp('points').length : this.getProp('points') || 1, 1) + this.npoints = Array.isArray(this.getProp('points')) ? this.getProp('points').length : parseInt(this.getProp('points')) + + if (isNaN(this.npoints) || this.points < 1) this.npoints = 1 this.preventChildrenTouchState = true this.pads = [] From 5b8047889bb14f8f27ab315b3d52c53262db9b28 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 20 Mar 2025 12:11:36 +0100 Subject: [PATCH 5371/5759] events: a few more errors to suppress --- src/client/events/drag.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index 7adef6dc..e0bcced1 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -6,7 +6,7 @@ var targets = {}, function pointerDownHandler(event) { - if (event.capturedByEditor || event.touchPunch) return + if (event.capturedByEditor || event.touchPunch) return event if (!event.target._drag_multitouch) { for (var i in targets) { @@ -18,7 +18,7 @@ function pointerDownHandler(event) { var target = closestDragContainer(event.target) - if (!target) return + if (!target) return event if (event.traversingStack) { From e001d3be10c22d2491d85049aed7313e661af443 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 09:20:22 +0100 Subject: [PATCH 5372/5759] package: v1.28.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 83878c2b..d655f30e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.28.3", + "version": "1.28.4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 4d30880d0f74b544a2b25090de0780c0524d01e3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 09:23:44 +0100 Subject: [PATCH 5373/5759] /!\ events: groundwork for containers onTouch scripts: Drag events are now reverse-bubbling (from parents to child) to allow containers to monitor/control interaction inside them --- resources/docs/docs/widgets/canvas.md | 1 + resources/docs/docs/widgets/scripting.md | 10 ++++++- src/client/events/drag.js | 37 ++++++++++++++++++++++-- src/client/widgets/containers/panel.js | 33 +++++++++++++++++++++ src/client/widgets/containers/root.js | 3 +- src/client/widgets/pads/multixy.js | 4 --- 6 files changed, 79 insertions(+), 9 deletions(-) diff --git a/resources/docs/docs/widgets/canvas.md b/resources/docs/docs/widgets/canvas.md index 80695f42..5ae9bb0d 100644 --- a/resources/docs/docs/widgets/canvas.md +++ b/resources/docs/docs/widgets/canvas.md @@ -42,6 +42,7 @@ This script has access to the same variables and functions as the `script` prope - `targetTagName`: tag name of the html element under the pointer - `offsetX`, `offsetY`: touch coordinates in pixels, relative to the html element under the pointer - `movementX`, `movementY`: movement of the pointer in pixels since the last event + - `pageX`, `pageY`: touch coordinates in pixels, relative to the page - `pointerId`: unique identifier used to differentiate fingers in multitouch situation - `altKey`, `ctrlKey`, `shiftKey`: keyboard modifier states - `force`: amount of pressure applied to the touch surface between `0` and `1` (see [Touch.force](https://developer.mozilla.org/en-US/docs/Web/API/Touch/force)). Equals `0` if the API is not supported or if no pressure information is found. diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index f806cc2c..1e7aecb3 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -78,7 +78,15 @@ This script has access to the same variables and functions as the `script` prope - `type`: `"start"` or `"stop"` - `handle`: `undefined` if the event concerns the widget, `integer` if it concerns one of it's handles (`multixy` and `range` widgets only) -Note: the [canvas](../canvas/) widgets exposes more informations in its `onTouch` script. +[Canvas](../canvas/) and containers expose more informations in their `onTouch` script. + +??? infos "Containers onTouch" + + Containers (root, panel, etc) can monitor touch events happening inside them, it works like with [Canvas](../canvas/#ontouch), with a few differences: + + - setting `event.preventDefault` to `true` will prevent the event from reaching widgets in the container ('start' and 'move' events only) + - setting `event.allowScroll` to `true` will allow touch scrolling where it would normally be prevented ('start' event only) + - `width` and `height` are undefined ### `onDraw` diff --git a/src/client/events/drag.js b/src/client/events/drag.js index e0bcced1..f21ce235 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -15,6 +15,7 @@ function pointerDownHandler(event) { } event = normalizeDragEvent(event) + event.stopPropagation = true var target = closestDragContainer(event.target) @@ -113,6 +114,7 @@ function pointerMoveHandler(event) { function pointerUpHandler(event) { event = normalizeDragEvent(event, previousPointers[event.pointerId]) + event.stopPropagation = true triggerWidgetEvent(targets[event.pointerId], 'dragend', event) @@ -157,6 +159,7 @@ function pointerUpFilter(event) { function mouseDownCapture(event) { if (event.pointerType === 'touch') return + event.stopPropagation() // event.pointerId = 'mouse' pointerDownHandler(event) } @@ -213,6 +216,9 @@ domObserver.deactivate = ()=>{ function touchDownCapture(event) { var preventDefault = true + + event.stopPropagation() + for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue var touchEvent = event.changedTouches[i] @@ -225,7 +231,8 @@ function touchDownCapture(event) { touchEvent = pointerDownHandler(touchEvent) - if (touchEvent.cancelDragEvent) preventDefault = false + // allow scroll if drag is cancelled or widget is a container + if (touchEvent.cancelDragEvent || touchEvent.allowScroll) preventDefault = false } if (preventDefault) event.preventDefault() } @@ -261,6 +268,20 @@ function touchUpCapture(event) { } + +function ancestorDragContainers(target) { + var containers = [], + container = target + while (container !== null) { + if (container._drag_widget) { + containers.splice(0, 0, container._drag_widget) + if (container._drag_widget.root) break + } + container = container.parentNode + } + return containers +} + function closestDragContainer(target) { var container = target while (container !== null) { @@ -276,8 +297,18 @@ function closestDragContainer(target) { // Callback trigger function triggerWidgetEvent(target, name, event) { - var container = closestDragContainer(target) - if (container) container._drag_widget.trigger(name, event) + + // trigger drag events from parent to child + var widgets = ancestorDragContainers(target), + widget + + for (widget of widgets) { + widget.trigger(name, event) + if (event.preventDefault) break + } + + // if child is a container, let it scroll + if (widget && widget.scroll) event.allowScroll = true } // init diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 703a6238..f0a00b9b 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -45,6 +45,9 @@ class Panel extends Container() { children: { widgets: {type: 'array', value: [], help: 'Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously.'}, tabs: {type: 'array', value: [], help: 'Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously'}, + }, + scripting: { + onTouch: {type: 'script', value: '', editor:'javascript', help: ['Script executed when the session is touched and released, and when the pointer moves when the widget is touched. See documentation.',]}, } }) @@ -267,6 +270,12 @@ class Panel extends Container() { if (this.getProp('traversing')) this.setTraversing() + if (this.getProp('onTouch')) { + this.on('draginit',(e)=>this.onTouch(e, 'start'), {element: this.container, multitouch: true}) + this.on('drag',(e)=>this.onTouch(e, 'move'), {element: this.container, multitouch: true}) + this.on('dragend',(e)=>this.onTouch(e, 'stop'), {element: this.container, multitouch: true}) + } + } createNavigation() { @@ -348,6 +357,30 @@ class Panel extends Container() { } + onTouch(e, name) { + + var event = {...e} + delete event.firstTarget + + event.targetName = event.target.getAttribute('name') + event.targetTagName = event.target.tagName + + var w = widgetManager.getWidgetByElement(event.target) + if (w) event.target = w === this ? 'this' : w.getProp('id') + else event.target = null + + event.type = name + + this.scripts.onTouch.run({ + value: this.value, + event: event + }, {sync: true, send: true}) + + if (name != 'stop' && event.preventDefault) e.preventDefault = true + if (event.allowScroll) e.allowScroll = true + + } + onPropChanged(propName, options, oldPropValue) { if (super.onPropChanged(...arguments)) return true diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 16aa480b..3e131a28 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -47,6 +47,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro super(options) this.widget.classList.add('root') + this.root = true this.checkMenuVisibility() @@ -61,7 +62,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro if (READ_ONLY) return mainMenu = mainMenu || require('../../ui/main-menu') - + if (this.getProp('hideMenu')) { mainMenu.container.style.display = 'none' } else { diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index b2c19be5..eaad5713 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -119,8 +119,6 @@ class MultiXy extends Pad { if (!i) return - e.stopPropagation = true - this.pads[i].touched = 0 this.pads[i].trigger('dragend', e) @@ -146,8 +144,6 @@ class MultiXy extends Pad { if (!id) return - e.stopPropagation = true - this.trigger('touch', {stopPropagation: true, touch: [parseInt(id), 1]}) this.pads[id].trigger('draginit', e) From a7370204922f8b3cc56514bda3debbdc0c22efea Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 09:47:12 +0100 Subject: [PATCH 5374/5759] drag: change tranversering gesture reference container to let traversing containers onTouch see move events (unless captured by a nested traversing container) --- src/client/events/drag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index f21ce235..45d860d9 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -385,7 +385,7 @@ module.exports = { if (event.ctrlKey) return if (!event.traversingStack) event.traversingStack = {firstType: '', stack: []} event.traversingStack.stack.push({ - container: element, + container: element.parentNode, mode: traversing, type: traversingType }) From 69a8d4b576c5a34d43c90acd7afafa53dd7a39af Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 14:46:17 +0100 Subject: [PATCH 5375/5759] drag: let containers see all move events during traversing gestures --- resources/docs/docs/widgets/scripting.md | 6 ++++ src/client/events/drag.js | 38 +++++++++++++++++++----- src/client/widgets/common/container.js | 2 ++ 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 1e7aecb3..d769f3d3 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -88,6 +88,12 @@ This script has access to the same variables and functions as the `script` prope - setting `event.allowScroll` to `true` will allow touch scrolling where it would normally be prevented ('start' event only) - `width` and `height` are undefined + Containers with `traversing` enabled change how touch events are emitted: + + - a new 'stop' event is emitted whenever the gestures exits a touchable widget + - a new 'start' event is emitted whenever the gestures enters a touchable widget + + ### `onDraw` See [canvas](../canvas/). diff --git a/src/client/events/drag.js b/src/client/events/drag.js index 45d860d9..a60b0e5e 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -26,13 +26,16 @@ function pointerDownHandler(event) { var widget = target._drag_widget, local = event.traversingStack.stack[event.traversingStack.stack.length - 1] - if (widget.getProp) event.traversingStack.firstType = widget.getProp('type') + if (widget.getProp) { + // if first touched widget is a container, wait until another widget is touched while moving + event.traversingStack.firstType = widget.isContainer ? '?' : widget.getProp('type') + } if (local.mode === TRAVERSING_SAMEWIDGET) { if (local.type === '') { local.type = event.traversingStack.firstType } - event.traversing = local.type === event.traversingStack.firstType + event.traversing = local.type === event.traversingStack.firstType || event.traversingStack.firstType === '?' } else { event.traversing = true } @@ -68,7 +71,10 @@ function pointerMoveHandler(event) { if (target) target = closestDragContainer(target) - var local = null + var local = null, + containersOnly = false, + backupTarget = target + if (target && event.traversingStack) { for (var i = event.traversingStack.stack.length - 1; i > -1; i--) { if (event.traversingStack.stack[i].container.contains(target)) { @@ -78,8 +84,9 @@ function pointerMoveHandler(event) { } if (!local) { target = null - } else if (local.mode === TRAVERSING_SAMEWIDGET && local.type) { + } else if (local.mode === TRAVERSING_SAMEWIDGET) { var widget = target._drag_widget + if (local.type === '?' && widget.getProp && !widget.isContainer) local.type = widget.getProp('type') if (widget.getProp && local.type !== widget.getProp('type')) target = null } } @@ -91,13 +98,27 @@ function pointerMoveHandler(event) { resetEventOffset(event, target) } - if (previousTarget !== target) { + if (previousTarget !== target && !containersOnly) { triggerWidgetEvent(previousTarget, 'dragend', event) } - if (target && event.traversing) { - triggerWidgetEvent(target, previousTarget !== target ? 'draginit' : 'drag', event) + if (target) { + + if (previousTarget === target) { + + triggerWidgetEvent(target, 'drag', event) + + } else { + triggerWidgetEvent(target, 'draginit', event) + + } + + } else { + + // notify container of move events if no draggable widget is under the pointer + triggerWidgetEvent(backupTarget, 'drag', event, true) + } targets[event.pointerId] = target @@ -296,13 +317,14 @@ function closestDragContainer(target) { // Callback trigger -function triggerWidgetEvent(target, name, event) { +function triggerWidgetEvent(target, name, event, containersOnly) { // trigger drag events from parent to child var widgets = ancestorDragContainers(target), widget for (widget of widgets) { + if (containersOnly && !widget.isContainer) continue widget.trigger(name, event) if (event.preventDefault) break } diff --git a/src/client/widgets/common/container.js b/src/client/widgets/common/container.js index 22bc36f3..6eec5906 100644 --- a/src/client/widgets/common/container.js +++ b/src/client/widgets/common/container.js @@ -6,6 +6,8 @@ var Container = (Class=Widget)=> class extends Class { super(options) + this.isContainer = true + this.on('widget-created', (e)=>{ if (e.widget.parent === this) { From de39b2fbed2a8bbe51d708aec84738dc309bc350 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 14:49:53 +0100 Subject: [PATCH 5376/5759] inspector: hide ace mobile menu --- src/scss/ui/inspector.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 3392dc79..d05c2063 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -274,6 +274,9 @@ osc-inspector-field .ace_editor { .ace_print-margin { display: none; } + .ace_mobile-menu { + display: none; + } .ace_cursor { color: var(--color-accent); From 0b3590278ced3a5ca776901e8f89cc4f6b6f1016 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 15:32:33 +0100 Subject: [PATCH 5377/5759] drag: handle 2-fingers / ctrlKey inertia at widget level and allow changing event inertia in containers onTouch --- src/client/events/drag.js | 9 ++------- src/client/widgets/containers/panel.js | 2 ++ src/client/widgets/pads/multixy.js | 2 +- src/client/widgets/sliders/encoder.js | 5 +++-- src/client/widgets/sliders/fader.js | 6 +++--- src/client/widgets/sliders/knob.js | 6 ++++-- src/client/widgets/sliders/range.js | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index a60b0e5e..fa1a5a20 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -262,15 +262,10 @@ function touchMoveCapture(event) { for (var i in event.changedTouches) { if (isNaN(i) || !event.changedTouches[i]) continue var touchEvent = event.changedTouches[i] - - var fingers = 0 + touchEvent.fingers = 0 for (var j in event.touches) { if (event.touches[j].target && event.touches[j].target.isSameNode(touchEvent.target)) { - fingers += 1 - if (fingers == 2) { - touchEvent.inertia = 10 - break - } + touchEvent.fingers += 1 } } diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index f0a00b9b..0b53a43d 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -376,6 +376,8 @@ class Panel extends Container() { event: event }, {sync: true, send: true}) + e.inertia = event.inertia + if (name != 'stop' && event.preventDefault) e.preventDefault = true if (event.allowScroll) e.allowScroll = true diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index eaad5713..6665ae69 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -157,7 +157,7 @@ class MultiXy extends Pad { if (!i) return - e.inertia = 1 // cancel mutlifinger inertia + e.fingers = 1 // cancel mutlifinger inertia this.pads[i].trigger('drag', e) diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index f63c13a7..4d95c953 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -112,10 +112,11 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range dragHandle(e) { // knob.js without clipping + extra case for snap + var inertia = e.fingers > 1 || e.ctrlKey ? 10 : e.inertia if ((this.getProp('mode') === 'vertical' && !e.traversing)) { // vertical - this.setPercent(this.percent + (-100 * e.movementY / this.height) * this.getProp('sensitivity') / e.inertia) + this.setPercent(this.percent + (-100 * e.movementY / this.height) * this.getProp('sensitivity') / inertia) } else { // snap or circular @@ -124,7 +125,7 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range var diff = this.angleToPercent(this.coordsToAngle(offsetX, offsetY), true) - this.angleToPercent(this.coordsToAngle(this.lastOffsetX, this.lastOffsetY), true) if (Math.abs(diff) < 50 && diff !== 0) { - diff = diff * this.getProp('sensitivity') / e.inertia + diff = diff * this.getProp('sensitivity') / inertia this.setPercent(this.percent + diff) } diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 561f2ed2..16860286 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -108,10 +108,10 @@ class Fader extends Slider { var padding = this.gaugePadding if (this.getProp('design') === 'compact') padding += this.cssVars.knobSize / 2 - + var inertia = e.fingers > 1 || e.ctrlKey ? 10 : e.inertia this.percent = this.getProp('horizontal')? - this.percent + ( e.movementX / (this.width - padding * 2)) * 100 / e.inertia * this.getProp('sensitivity'): - this.percent + (-e.movementY / (this.height - padding * 2)) * 100 / e.inertia * this.getProp('sensitivity') + this.percent + ( e.movementX / (this.width - padding * 2)) * 100 / inertia * this.getProp('sensitivity'): + this.percent + (-e.movementY / (this.height - padding * 2)) * 100 / inertia * this.getProp('sensitivity') this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true}) diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 1a89901e..4afd621a 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -102,9 +102,11 @@ class Knob extends Slider { dragHandle(e) { + var inertia = e.fingers > 1 || e.ctrlKey ? 10 : e.inertia + if ((this.getProp('mode') === 'vertical' && !e.traversing)) { // vertical - this.percent = -100 * (e.movementY / e.inertia * this.getProp('sensitivity')) / this.minDimension + this.percent + this.percent = -100 * (e.movementY / inertia * this.getProp('sensitivity')) / this.minDimension + this.percent } else { // snap or circular @@ -115,7 +117,7 @@ class Knob extends Slider { this.percent = this.angleToPercent(this.coordsToAngle(offsetX, offsetY)) } else { var diff = this.angleToPercent(this.coordsToAngle(offsetX, offsetY), true) - this.angleToPercent(this.coordsToAngle(this.lastOffsetX, this.lastOffsetY), true) - if (Math.abs(diff) < 50 && diff !== 0) this.percent += (diff * 360 / this.maxAngle) * this.getProp('sensitivity') / e.inertia + if (Math.abs(diff) < 50 && diff !== 0) this.percent += (diff * 360 / this.maxAngle) * this.getProp('sensitivity') / inertia } this.lastOffsetX = offsetX diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index e0493062..d89ae3e3 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -162,7 +162,7 @@ class Range extends Fader { if (!i) return - e.inertia = 1 // cancel multifinger inertia + e.fingers = 1 // cancel multifinger inertia if (e.shiftKey) { this.faders[0].trigger('drag', e) From 69fbefdb735d096f11a700005e04597043ac6729 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 15:38:58 +0100 Subject: [PATCH 5378/5759] drag: safe user custom inertia and docs --- resources/docs/docs/widgets/scripting.md | 1 + src/client/widgets/containers/panel.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index d769f3d3..4d1e9dbf 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -86,6 +86,7 @@ This script has access to the same variables and functions as the `script` prope - setting `event.preventDefault` to `true` will prevent the event from reaching widgets in the container ('start' and 'move' events only) - setting `event.allowScroll` to `true` will allow touch scrolling where it would normally be prevented ('start' event only) + - setting `event.inertia` will affect 'move' events (works like widget `sensitivity` in reverse (1 = normal, 10 = slow move)) - `width` and `height` are undefined Containers with `traversing` enabled change how touch events are emitted: diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 0b53a43d..8d57d7e9 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -376,7 +376,7 @@ class Panel extends Container() { event: event }, {sync: true, send: true}) - e.inertia = event.inertia + e.inertia = parseFloat(event.inertia) || 1 if (name != 'stop' && event.preventDefault) e.preventDefault = true if (event.allowScroll) e.allowScroll = true From 38d6dbbd3dd62281bee3d33b55892e469f23a455 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 15:41:05 +0100 Subject: [PATCH 5379/5759] log: latest changes --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddffd97c..9ada0f25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.29.0 + +- widgets + - add `onTouch` to all container widgets + - allow starting a traversing gesture outside a touchable widget + ## 1.28.4 - bug fixes From e645a98a5e50b38e9be8bd861fc596f6349c906b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 18:51:37 +0100 Subject: [PATCH 5380/5759] package: cut a beta release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d655f30e..f08a8da0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.28.4", + "version": "1.29.0-beta1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 240835319444eb0cd2f89afbf1b6aba789790a04 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 21 Mar 2025 18:54:11 +0100 Subject: [PATCH 5381/5759] docs: update --- .../docs/docs/widgets/properties-reference.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index fa195d3d..e9d99e42 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -253,6 +253,12 @@ | --- | --- | --- | --- | |
            value#
            | `integer`|
            `array` | "" | If the panel contains tabs, its value defines which tab is selected selected (by index, starting with 0).

            If the panel contains widgets and `scroll` is `true`, its value is an array that contains the scrolling state between 0 and 1 for the x and y axis. | + === "scripting" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            onTouch#
            | `script` | "" | Script executed when the session is touched and released, and when the pointer moves when the widget is touched. See documentation. | + === "children" | property | type |default | description | @@ -303,6 +309,12 @@ | --- | --- | --- | --- | | | `integer` | "" | Defines the modal's state:`0` for closed, `1` for opened | + === "scripting" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `script` | "" | Script executed when the session is touched and released, and when the pointer moves when the widget is touched. See documentation. | + === "children" | property | type |default | description | @@ -362,6 +374,12 @@ | --- | --- | --- | --- | |
            value#
            | `integer`|
            `array` | "" | If the panel contains tabs, its value defines which tab is selected selected (by index, starting with 0).

            If the panel contains widgets and `scroll` is `true`, its value is an array that contains the scrolling state between 0 and 1 for the x and y axis. | + === "scripting" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            onTouch#
            | `script` | "" | Script executed when the session is touched and released, and when the pointer moves when the widget is touched. See documentation. | + === "children" | property | type |default | description | @@ -470,6 +488,7 @@ | property | type |default | description | | --- | --- | --- | --- | + |
            onTouch#
            | `script` | "" | Script executed when the session is touched and released, and when the pointer moves when the widget is touched. See documentation. | |
            onPreload#
            | `script` | "" | Script executed before any other widget is created. See documentation. | === "children" @@ -509,6 +528,12 @@ | --- | --- | --- | --- | |
            value#
            | `integer`|
            `array` | "" | If the panel contains tabs, its value defines which tab is selected selected (by index, starting with 0).

            If the panel contains widgets and `scroll` is `true`, its value is an array that contains the scrolling state between 0 and 1 for the x and y axis. | + === "scripting" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            onTouch#
            | `script` | "" | Script executed when the session is touched and released, and when the pointer moves when the widget is touched. See documentation. | + === "children" | property | type |default | description | From bbfe558353a3e2cb55d0e87738da6d81057757c5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Mar 2025 15:01:20 +0100 Subject: [PATCH 5382/5759] multixy: typo in npoints fix --- CHANGELOG.md | 5 +++++ src/client/widgets/pads/multixy.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ada0f25..e3050a9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ - add `onTouch` to all container widgets - allow starting a traversing gesture outside a touchable widget +## 1.28.5 + +- bug fixes + - multixy: error when `points` is `0` (or empty array) (again) + ## 1.28.4 - bug fixes diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 6665ae69..011ea99e 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -76,7 +76,7 @@ class MultiXy extends Pad { this.npoints = Array.isArray(this.getProp('points')) ? this.getProp('points').length : parseInt(this.getProp('points')) - if (isNaN(this.npoints) || this.points < 1) this.npoints = 1 + if (isNaN(this.npoints) || this.npoints < 1) this.npoints = 1 this.preventChildrenTouchState = true this.pads = [] From 636b58c39a25b8b2a49cd4abdc6006f298f67dec Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 22 Mar 2025 15:05:26 +0100 Subject: [PATCH 5383/5759] package: bump beta --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f08a8da0..5951d730 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.0-beta1", + "version": "1.29.0-beta2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 58febaeb9f3b79c62be835343b4eb2b243b29dcc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 23 Mar 2025 01:15:27 +0100 Subject: [PATCH 5384/5759] panel: avoid error in onTouch if event has no target --- src/client/widgets/containers/panel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 8d57d7e9..61a85211 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -362,8 +362,8 @@ class Panel extends Container() { var event = {...e} delete event.firstTarget - event.targetName = event.target.getAttribute('name') - event.targetTagName = event.target.tagName + event.targetName = event.target ? event.target.getAttribute('name') : '' + event.targetTagName = event.target ? event.target.tagName : '' var w = widgetManager.getWidgetByElement(event.target) if (w) event.target = w === this ? 'this' : w.getProp('id') From 9f006ad42ef1595e22d7fb8f209093431522119a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 23 Mar 2025 01:18:23 +0100 Subject: [PATCH 5385/5759] canvas: consistent onTouch method with Panel --- src/client/widgets/pads/canvas.js | 60 +++++++++++++++---------------- 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index 9ef4dec0..f350116e 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -93,38 +93,9 @@ class CanvasWidget extends Canvas { } }) - var touchCb = (e, type)=>{ - - var event = {...e} - delete event.firstTarget - event.targetName = event.target.getAttribute('name') - event.targetTagName = event.target.tagName - var w = widgetManager.getWidgetByElement(event.target) - if (w) event.target = w === this ? 'this' : w.getProp('id') - else event.target = null - event.type = type - - this.scripts.onTouch.run({ - value: this.value, - width: this.width, - height: this.height, - event: event, - }, {sync: true, send: true}) - - this.batchDraw() - } - - this.on('draginit',(e)=>{ - touchCb(e, 'start') - }, {element: this.container, multitouch: true}) - - this.on('drag',(e)=>{ - touchCb(e, 'move') - }, {element: this.container, multitouch: true}) - - this.on('dragend',(e)=>{ - touchCb(e, 'stop') - }, {element: this.container, multitouch: true}) + this.on('draginit',(e)=>this.onTouch(e, 'start'), {element: this.container, multitouch: true}) + this.on('drag',(e)=>this.onTouch(e, 'move'), {element: this.container, multitouch: true}) + this.on('dragend',(e)=>this.onTouch(e, 'stop'), {element: this.container, multitouch: true}) } @@ -138,6 +109,31 @@ class CanvasWidget extends Canvas { } + onTouch(e, name) { + + var event = {...e} + delete event.firstTarget + + event.targetName = event.target ? event.target.getAttribute('name') : '' + event.targetTagName = event.target ? event.target.tagName : '' + + var w = widgetManager.getWidgetByElement(event.target) + if (w) event.target = w === this ? 'this' : w.getProp('id') + else event.target = null + + event.type = name + + this.scripts.onTouch.run({ + value: this.value, + width: this.width, + height: this.height, + event: event, + }, {sync: true, send: true}) + + this.batchDraw() + + } + setValue(v, options={}) { if (Array.isArray(v)) { From 5c662ed7ae2e3bc9be124f645ddaf3e57ae4fa1a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 23 Mar 2025 12:12:30 +0100 Subject: [PATCH 5386/5759] fader: dynamic knobSize --- CHANGELOG.md | 1 + src/client/widgets/common/canvas.js | 1 + src/client/widgets/sliders/slider.js | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3050a9f..ffc0c195 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - widgets - add `onTouch` to all container widgets - allow starting a traversing gesture outside a touchable widget + - fader: make `knobSize` dynamic ## 1.28.5 diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index cc3a1995..869abc61 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -198,6 +198,7 @@ class Canvas extends Widget { case 'alphaFillOn': case 'colorBg': case 'pointSize': + case 'knobSize': fastdom.measure(()=>{ this.cacheCanvasStyle() fastdom.mutate(()=>{ diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 00182e12..d8a8d46b 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -291,6 +291,7 @@ class Slider extends Canvas { if (this.getProp('spring') && !this.touched) this.setValue(this.getSpringValue(), {...options}) return case 'colorKnob': + case 'knobSize': this.setCssVariables() return @@ -312,7 +313,8 @@ Slider.dynamicProps = Slider.prototype.constructor.dynamicProps 'spring', 'sensitivity', 'default', - 'colorKnob' + 'colorKnob', + 'knobSize' ]) module.exports = Slider From 720799633b56e29261b05ed573a0e268a7a7b54a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 23 Mar 2025 12:18:12 +0100 Subject: [PATCH 5387/5759] lint: indent fix --- src/client/widgets/pads/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index f350116e..1b330cae 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -132,7 +132,7 @@ class CanvasWidget extends Canvas { this.batchDraw() - } + } setValue(v, options={}) { From c26c5aaed201f11724009139d5343e8032849bcf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 25 Mar 2025 09:07:48 +0100 Subject: [PATCH 5388/5759] widget base class: deeper defaults extend to allow simpler overrides --- src/client/widgets/common/widget.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 0f044eee..fdd1e219 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -162,9 +162,12 @@ class Widget extends EventEmitter { if (obj[i] === null) delete this[i] else { if (this[i] === undefined) this[i] = {} - Object.assign(this[i], obj[i]) for (let j in obj[i]) { if (obj[i][j] === null) delete this[i][j] + else { + if (!this[i][j]) this[i][j] = {} + Object.assign(this[i][j], obj[i][j]) + } } } } From b5e4add8559aa25f92d9f6d53a60d7c8656b8ac3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 25 Mar 2025 09:09:22 +0100 Subject: [PATCH 5389/5759] eq/plot/visualizer/text/led: unhide interaction property (defaults to false) to allow custom container touch handling --- src/client/widgets/graphs/eq.js | 2 +- src/client/widgets/graphs/plot.js | 4 ++-- src/client/widgets/graphs/visualizer.js | 4 ++-- src/client/widgets/indicators/led.js | 7 +++---- src/client/widgets/indicators/text.js | 7 +++---- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 6a67dd06..29098b5f 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -14,7 +14,7 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo return super.defaults().extend({ widget: { - interaction: null + interaction: {value: false} }, class_specific: { filters: {type: 'array', value: '', help: [ diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 98587bde..07a7a010 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -3,7 +3,7 @@ var {mapToScale} = require('../utils'), html = require('nanohtml'), StaticProperties = require('../mixins/static_properties') -module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, interaction: false}) { +module.exports = class Plot extends StaticProperties(Canvas, {bypass: true}) { static description() { @@ -15,7 +15,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte return super.defaults().extend({ widget: { - interaction: null + interaction: {value: false} }, style: { _separator_plot_style: 'Plot style', diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index 8cb2eece..92d495b0 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -4,7 +4,7 @@ var {clip} = require('../utils'), canvasQueue = require('../common/queue') -class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dots: false, smooth: false, interaction: false}) { +class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dots: false, smooth: false}) { static description() { @@ -16,7 +16,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot return super.defaults().extend({ widget: { - interaction: null + interaction: {value: false} }, style: { bars: null, diff --git a/src/client/widgets/indicators/led.js b/src/client/widgets/indicators/led.js index 422347de..4014e86f 100644 --- a/src/client/widgets/indicators/led.js +++ b/src/client/widgets/indicators/led.js @@ -1,9 +1,8 @@ var {mapToScale} = require('../utils'), Widget = require('../common/widget'), - html = require('nanohtml'), - StaticProperties = require('../mixins/static_properties') + html = require('nanohtml') -module.exports = class Led extends StaticProperties(Widget, {interaction: false}) { +module.exports = class Led extends Widget { static description() { @@ -15,7 +14,7 @@ module.exports = class Led extends StaticProperties(Widget, {interaction: false} return super.defaults().extend({ widget: { - interaction: null + interaction: {value: false} }, class_specific: { mode: {type: 'string', value: 'intensity', choices: ['intensity', 'color'], help: 'Defines how value is interpreted (see `value`)'}, diff --git a/src/client/widgets/indicators/text.js b/src/client/widgets/indicators/text.js index 61df9d6a..1647a5c6 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -1,9 +1,8 @@ var {iconify} = require('../../ui/utils'), Widget = require('../common/widget'), - html = require('nanohtml'), - StaticProperties = require('../mixins/static_properties') + html = require('nanohtml') -module.exports = class Text extends StaticProperties(Widget, {interaction: false}) { +module.exports = class Text extends Widget { static description() { @@ -15,7 +14,7 @@ module.exports = class Text extends StaticProperties(Widget, {interaction: false return super.defaults().extend({ widget: { - interaction: null + interaction: {value: false} }, style: { _separator_text_style: 'Text style', From 1595370be050a7dc6f100f4624088160f695f9c8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 26 Mar 2025 13:23:27 +0100 Subject: [PATCH 5390/5759] docs update --- .../docs/docs/widgets/properties-reference.md | 36 +++++++++++++++++-- resources/docs/docs/widgets/scripting.md | 4 +-- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index e9d99e42..156d4cb1 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -590,6 +590,12 @@ ??? api "
            plot#
            " XY coordinates plot. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            interaction#
            | `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -624,6 +630,12 @@ ??? api "
            eq#
            " Draws logarithmic frequency response from an array of filter objects. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            interaction#
            | `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -658,6 +670,12 @@ ??? api "
            visualizer#
            " Display its value over time. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            interaction#
            | `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -694,6 +712,12 @@ ??? api "
            led#
            " Intensity display. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            interaction#
            | `boolean` | false | Set to `false` to disable pointer interactions. | + === "led" | property | type |default | description | @@ -712,6 +736,12 @@ ??? api "
            text#
            " Display text. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            interaction#
            | `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -846,7 +876,7 @@ | --- | --- | --- | --- | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | |
            design#
            | `string` | "default" | Design style

            Choices: `default`, `round`, `compact` | - |
            knobSize#
            | `number` | "auto" | Fader knob size | + |
            knobSize#
            | `number` | "auto" | Fader knob size | |
            colorKnob#
            | `string` | "auto" | Fader knob color | |
            horizontal#
            | `boolean` | false | Set to `true` to display the fader horizontally | |
            pips#
            | `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) | @@ -922,7 +952,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            mode#
            | `string` | "circular" | - `circular`: relative move in circular motion
            - `snap`: snap to touch position and move in vertical motion
            - `vertical`: relative move in vertical motion

            Choices: `circular`, `snap`, `vertical` | - |
            doubleTap#
            | `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

            Can also be an osc address, in which case the widget will just send an osc message (`/ `) | + |
            doubleTap#
            | `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

            Can also be an osc address, in which case the widget will just send an osc message (`/ `)

            Choices: `false`, `true`, `script` | |
            range#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the breakpoints of the fader's scale:
            - keys can be percentages and/or `min` / `max`
            - values can be `number` or `object` if a custom label is needed

            Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
            logScale#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
            sensitivity#
            | `number` | 1 | When set between 0 and 1, reduces the encoder's verbosity | @@ -947,7 +977,7 @@ | --- | --- | --- | --- | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | |
            design#
            | `string` | "default" | Design style

            Choices: `default`, `round`, `compact` | - |
            knobSize#
            | `number` | "auto" | Fader knob size | + |
            knobSize#
            | `number` | "auto" | Fader knob size | |
            colorKnob#
            | `string` | "auto" | Fader knob color | |
            horizontal#
            | `boolean` | false | Set to `true` to display the fader horizontally | |
            pips#
            | `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) | diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 4d1e9dbf..a585f8e8 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -91,8 +91,8 @@ This script has access to the same variables and functions as the `script` prope Containers with `traversing` enabled change how touch events are emitted: - - a new 'stop' event is emitted whenever the gestures exits a touchable widget - - a new 'start' event is emitted whenever the gestures enters a touchable widget + - a new 'stop' event is emitted whenever the pointer exits a touchable widget while pressed. + - a new 'start' event is emitted whenever the pointer enters a touchable widget while pressed. ### `onDraw` From bdf3ad19584e2e7f421a09a0e16e93e12700ffbe Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 2 Apr 2025 10:19:35 +0200 Subject: [PATCH 5391/5759] misc: on win32 display full error when failing to list disks --- src/server/callbacks.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 8b9b0c67..34bff3a4 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -516,7 +516,9 @@ module.exports = { if (error) { - ipc.send('notify', {class: 'error', message: 'Failed to list available drives.'}, clientId) + ipc.send('notify', {class: 'error', message: 'Failed to list available drives (see server console).'}, clientId) + console.error('(ERROR) Failed to list available drives.') + console.error(error.stack) } else { From 6fa3f9862ea537ed43fb8c7280362ca0a0357da0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 2 Apr 2025 10:27:15 +0200 Subject: [PATCH 5392/5759] panel: expose useful event.firstTarget --- resources/docs/docs/widgets/scripting.md | 3 +++ src/client/widgets/containers/panel.js | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index a585f8e8..1d26fab0 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -82,8 +82,11 @@ This script has access to the same variables and functions as the `script` prope ??? infos "Containers onTouch" + *Currently only available in v1.29.0-beta* + Containers (root, panel, etc) can monitor touch events happening inside them, it works like with [Canvas](../canvas/#ontouch), with a few differences: + - `event.firstTarget` will return the id of the first touched widget - setting `event.preventDefault` to `true` will prevent the event from reaching widgets in the container ('start' and 'move' events only) - setting `event.allowScroll` to `true` will allow touch scrolling where it would normally be prevented ('start' event only) - setting `event.inertia` will affect 'move' events (works like widget `sensitivity` in reverse (1 = normal, 10 = slow move)) diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 61a85211..f4e51441 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -359,16 +359,20 @@ class Panel extends Container() { onTouch(e, name) { - var event = {...e} - delete event.firstTarget + var event = {...e}, + w event.targetName = event.target ? event.target.getAttribute('name') : '' event.targetTagName = event.target ? event.target.tagName : '' - var w = widgetManager.getWidgetByElement(event.target) + w = widgetManager.getWidgetByElement(event.target) if (w) event.target = w === this ? 'this' : w.getProp('id') else event.target = null + w = widgetManager.getWidgetByElement(event.firstTarget) + if (w) event.firstTarget = w === this ? 'this' : w.getProp('id') + else event.firstTarget = null + event.type = name this.scripts.onTouch.run({ From afc7d677e5f587c3135f1f1954ca48cc59953f4f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 3 Apr 2025 15:20:19 +0200 Subject: [PATCH 5393/5759] win: attempt to use powershell to lst drives --- src/server/callbacks.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 34bff3a4..c8a3ac95 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -512,7 +512,8 @@ module.exports = { // Drive list hack on windows if (data.path.length === 2 && data.path[1] === '..' && (data.path[0].match(/^[A-Z]:\\$/) || data.path[0] === '\\')) { - child_process.exec('wmic logicaldisk get name', (error, stdout) => { + // child_process.exec('wmic logicaldisk get name', (error, stdout) => { + child_process.exec('(get-wmiobject win32_volume | ? { $_.DriveType -eq 3 } | % { get-psdrive $_.DriveLetter[0] }).Root', {shell: 'powershell.exe'}, (error, stdout) => { if (error) { @@ -524,7 +525,7 @@ module.exports = { ipc.send('listDir', { path: '\\', - files: stdout.split('\r\r\n') + files: stdout.split(' ') .filter(value => /[A-Za-z]:/.test(value)) .map(value => {return {name: value.trim(), folder: true}}) }, clientId) From 36c89648b8711475e35f13a908f0824f4c7fac04 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 3 Apr 2025 15:39:33 +0200 Subject: [PATCH 5394/5759] win: fix drive listing --- CHANGELOG.md | 3 +++ src/server/callbacks.js | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffc0c195..a6399e1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.29.0 +- bug fixes + - file browser: drive listing failing on recent windows + - widgets - add `onTouch` to all container widgets - allow starting a traversing gesture outside a touchable widget diff --git a/src/server/callbacks.js b/src/server/callbacks.js index c8a3ac95..2234877d 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -512,8 +512,7 @@ module.exports = { // Drive list hack on windows if (data.path.length === 2 && data.path[1] === '..' && (data.path[0].match(/^[A-Z]:\\$/) || data.path[0] === '\\')) { - // child_process.exec('wmic logicaldisk get name', (error, stdout) => { - child_process.exec('(get-wmiobject win32_volume | ? { $_.DriveType -eq 3 } | % { get-psdrive $_.DriveLetter[0] }).Root', {shell: 'powershell.exe'}, (error, stdout) => { + child_process.exec('(get-wmiobject win32_volume | ? { $_.DriveType -eq 3 } | % { get-psdrive $_.DriveLetter[0] }).Root -join " "', {shell: 'powershell.exe'}, (error, stdout) => { if (error) { From c65d4ed648d3ec0993b241560add4dcad5908040 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 3 Apr 2025 15:40:06 +0200 Subject: [PATCH 5395/5759] package: beta3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5951d730..27df2ff8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.0-beta2", + "version": "1.29.0-beta3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 98e5670011495cae2dac5f6787d30d505311702a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Apr 2025 10:32:34 +0200 Subject: [PATCH 5396/5759] root: `hideMenu` not working when `--read-only` is set --- CHANGELOG.md | 1 + src/client/widgets/containers/root.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6399e1d..fb2ee1fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - file browser: drive listing failing on recent windows + - root: `hideMenu` not working when `--read-only` is set - widgets - add `onTouch` to all container widgets diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 3e131a28..6cf72481 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -59,8 +59,6 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro checkMenuVisibility() { - if (READ_ONLY) return - mainMenu = mainMenu || require('../../ui/main-menu') if (this.getProp('hideMenu')) { From dc9f1435e32a988080dccca4d2497cfe06fb611d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Apr 2025 10:48:46 +0200 Subject: [PATCH 5397/5759] misc: combining `--read-only` and `--fullscreen` now disables `F11` on built-in client --- CHANGELOG.md | 1 + src/client/globals.js | 1 + src/client/ui/main-menu.js | 1 + src/server/server.js | 1 + 4 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb2ee1fe..db481d78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - file browser: drive listing failing on recent windows - root: `hideMenu` not working when `--read-only` is set + - combining `--read-only` and `--fullscreen` now disables `F11` on built-in client - widgets - add `onTouch` to all container widgets diff --git a/src/client/globals.js b/src/client/globals.js index fe12c67d..4503ceee 100644 --- a/src/client/globals.js +++ b/src/client/globals.js @@ -14,6 +14,7 @@ window.PACKAGE = require('../../package.json') window.LOADING = null window.READ_ONLY = window.READ_ONLY || false +window.KIOSK = window.KIOSK || false window.GRIDWIDTH_CSS = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--grid-width')) window.GRIDWIDTH = GRIDWIDTH_CSS diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js index 0d72b001..4f7c906b 100644 --- a/src/client/ui/main-menu.js +++ b/src/client/ui/main-menu.js @@ -210,6 +210,7 @@ var menuEntries = [ }, { label: locales('fullscreen'), + disabled: KIOSK && navigator.userAgent.match(/OpenStageControl/), // built-in electron client only class: ()=>{return 'toggle ' + (fullscreen.isFullscreen ? 'on' : 'off')}, action: ()=>{ if (fullscreen.isEnabled) fullscreen.toggle() diff --git a/src/server/server.js b/src/server/server.js index c1c01279..604a825b 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -104,6 +104,7 @@ function httpRoute(req, res) { window.IP=${JSON.stringify(ip)} window.ENV=${JSON.stringify(clientOptions)} window.READ_ONLY=${JSON.stringify(settings.read('read-only'))} + window.KIOSK=${settings.read('read-only') && settings.read('fullscreen') ? 'true' : 'false'} window.AUTH=\`${(req.headers.authorization || '').replace('Basic ', '').replace('/', '_')}\` `)) .pipe(res) From 4487b6bc4f8f9cf292cca9226f01580027d6ade8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Apr 2025 11:08:42 +0200 Subject: [PATCH 5398/5759] ranger: missing call for pips drawing --- CHANGELOG.md | 1 + src/client/widgets/sliders/range.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index db481d78..a3187378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - file browser: drive listing failing on recent windows - root: `hideMenu` not working when `--read-only` is set - combining `--read-only` and `--fullscreen` now disables `F11` on built-in client + - regression breaking `pips` for range widget - widgets - add `onTouch` to all container widgets diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index d89ae3e3..19c65d58 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -384,6 +384,11 @@ class Range extends Fader { } + if (this.shouldDrawPips) { + this.drawPips() + this.shouldDrawPips = false + } + if (this.getProp('pips')) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) From bc52244c0b42c93b94cde0e4866ae3f55078b1e3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Apr 2025 11:10:06 +0200 Subject: [PATCH 5399/5759] package: v1.29.0 --- package.json | 2 +- resources/docs/docs/widgets/scripting.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 27df2ff8..5d47ac92 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.0-beta3", + "version": "1.29.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 1d26fab0..6860ec0f 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -82,8 +82,6 @@ This script has access to the same variables and functions as the `script` prope ??? infos "Containers onTouch" - *Currently only available in v1.29.0-beta* - Containers (root, panel, etc) can monitor touch events happening inside them, it works like with [Canvas](../canvas/#ontouch), with a few differences: - `event.firstTarget` will return the id of the first touched widget From 4c9eecd0afa907276bf1bbd8ec450c2f995b7632 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 17 Apr 2025 09:07:59 +0200 Subject: [PATCH 5400/5759] scripting: `setFocus` not working on iOS --- CHANGELOG.md | 6 ++++++ src/client/widgets/scripts/script-vm.js | 4 +--- src/scss/reset.scss | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3187378..04d235b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog + +## 1.29.1 + +- bug fixes + - scripting: `setFocus` not working on iOS + ## 1.29.0 - bug fixes diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index c8a00837..a3b791e0 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -445,9 +445,7 @@ class ScriptVm extends Vm { var widgets = this.resolveId(id) if (widgets.length) { - setTimeout(()=>{ - if (widgets[0].focus) widgets[0].focus() - }) + if (widgets[0].focus) widgets[0].focus() } } diff --git a/src/scss/reset.scss b/src/scss/reset.scss index d4d9a88a..58543393 100644 --- a/src/scss/reset.scss +++ b/src/scss/reset.scss @@ -20,4 +20,7 @@ select, input, textarea { -webkit-appearance:none; -moz-appearance:none; appearance:none; + -webkit-user-select: auto; + -moz-user-select: auto; + user-select: auto; } From 5abaf7fbb31cc840b61edd2ee6ba6c260572aa5f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 20 Apr 2025 10:34:20 +0200 Subject: [PATCH 5401/5759] fader/range: really check if pips are ready to be drawn before drawing them --- CHANGELOG.md | 1 + src/client/widgets/sliders/fader.js | 2 +- src/client/widgets/sliders/range.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04d235b1..b7c7c52d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - scripting: `setFocus` not working on iOS + - fader/range: drawing error with `pips` enabled ## 1.29.0 diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 16860286..9798dceb 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -390,7 +390,7 @@ class Fader extends Slider { this.shouldDrawPips = false } - if (this.getProp('pips') && !compact) { + if (this.pips) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) if (!compact) this.clearRect = [this.clearRect, [m + knobWidth / 2, 0, 12 * PXSCALE + this.pipsTextSize, height]] diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index 19c65d58..7c76d0a9 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -389,7 +389,7 @@ class Range extends Fader { this.shouldDrawPips = false } - if (this.getProp('pips')) { + if (this.pips) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) if (!compact) this.clearRect = [this.clearRect, [m + knobWidth / 2, 0, 12 * PXSCALE + this.pipsTextSize, height]] From c124c3826fdd47dd8677ecaeb0b92a8a5adab6b2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 20 Apr 2025 10:35:04 +0200 Subject: [PATCH 5402/5759] fader/range: reuse pips offscreen canvas instead of creating a new one --- src/client/widgets/sliders/fader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 9798dceb..1bb983dd 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -401,7 +401,7 @@ class Fader extends Slider { drawPips() { - this.pips = this.canvas.cloneNode() + this.pips = this.pips || this.canvas.cloneNode() this.pips.width = this.getProp('horizontal') ? this.height : this.width this.pips.height = !this.getProp('horizontal') ? this.height : this.width this.pipsTextSize = this.fontSize From 950f862f2c9bd0a8c575c19e984fa1cc6d8fb7b5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 20 Apr 2025 11:24:11 +0200 Subject: [PATCH 5403/5759] package: bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5d47ac92..165b469f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.0", + "version": "1.29.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From ccba528cbf5eba470e4ff86af3964d4e7dbc5b2f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 20 Apr 2025 11:24:18 +0200 Subject: [PATCH 5404/5759] package: update package-lock --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index fbc07eeb..f0a6aed4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-stage-control", - "version": "1.27.4", + "version": "1.29.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-stage-control", - "version": "1.27.4", + "version": "1.29.1", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { From c092951052ef91c8773e32f94f2283546b2dbb84 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 20 Apr 2025 15:23:48 +0200 Subject: [PATCH 5405/5759] canvas: more safe check before drawing --- src/client/widgets/common/canvas.js | 5 ++++- src/client/widgets/sliders/fader.js | 2 +- src/client/widgets/sliders/range.js | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 869abc61..614283d8 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -101,7 +101,10 @@ class Canvas extends Widget { this.hasSize = true this.setVisibility() } - this.draw() + + if (this.width > 0 && this.height > 0 && this.visible) { + this.draw() + } }) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 1bb983dd..38d1aa34 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -390,7 +390,7 @@ class Fader extends Slider { this.shouldDrawPips = false } - if (this.pips) { + if (this.pips && this.pips.width && this.pips.height) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) if (!compact) this.clearRect = [this.clearRect, [m + knobWidth / 2, 0, 12 * PXSCALE + this.pipsTextSize, height]] diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index 7c76d0a9..722a437c 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -389,7 +389,7 @@ class Range extends Fader { this.shouldDrawPips = false } - if (this.pips) { + if (this.pips && this.pips.width && this.pips.height) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) if (!compact) this.clearRect = [this.clearRect, [m + knobWidth / 2, 0, 12 * PXSCALE + this.pipsTextSize, height]] From c037064f5722d384ef34f44fcf1b658f1ae37920 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 20 Apr 2025 15:24:35 +0200 Subject: [PATCH 5406/5759] package: v1.29.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 165b469f..cbd7d32a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.1", + "version": "1.29.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 4fdcfd7f05fffe5297f4ff89598cf263f6bd63c8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 20 Apr 2025 15:25:02 +0200 Subject: [PATCH 5407/5759] log: update --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7c7c52d..ca291536 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog -## 1.29.1 +## 1.29.1 / 1.29.2 - bug fixes - scripting: `setFocus` not working on iOS From 6a055c620bcf010150e18a849556be4df0c9d35e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 5 May 2025 14:41:24 +0200 Subject: [PATCH 5408/5759] frame: add allow property --- CHANGELOG.md | 4 ++++ src/client/widgets/frames/frame.js | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca291536..fca94d3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.29.3 + +- widgets + - add `allow` property ## 1.29.1 / 1.29.2 diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 519d97e9..d3d2f654 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -14,6 +14,11 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { static defaults() { return super.defaults().extend({ + class_specific: { + allow: {type: 'string', value: '', help: [ + 'Content for the iframe element\'s allow attribute', + ]}, + }, value: { value: {type: 'string', value: '', help: [ 'External web page URL.', @@ -40,6 +45,9 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { if (!this.getProp('border')) this.container.classList.add('noborder') this.frame = DOM.get(this.widget, '.frame')[0] + + if (this.getProp('allow')) this.frame.setAttribute('allow', this.getProp('allow')) + this.errorText = html`${locales('iframe_unauthorized')}` this.errorTextMounted = false From 6c2e500135a058492667d03d12ffa75dbd0f7665 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 5 May 2025 14:41:41 +0200 Subject: [PATCH 5409/5759] log: mising widget type --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fca94d3e..e2a32ac2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 1.29.3 - widgets - - add `allow` property + - frame: add `allow` property ## 1.29.1 / 1.29.2 From c860bc1959fb7b41b6e0a6fdebd736abed041e06 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 7 May 2025 09:42:12 +0200 Subject: [PATCH 5410/5759] widget: ignore invalid properties (avoid recreating if matrix/clone child has an override for an invalid property) --- src/client/widgets/common/widget.js | 7 ++++++- src/client/widgets/index.js | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index fdd1e219..1cc8383f 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -939,7 +939,12 @@ class Widget extends EventEmitter { if (!this.isDynamicProp(propName)) { - if (widget && this.contains(widget)) { + if (this.constructor._defaults[propName] === undefined) { + + // ignore invalid properties + continue + + } else if (widget && this.contains(widget)) { this.errorProp(propName, '@{}', `a container can't use its child's properties to define non-dynamic properties.`) continue diff --git a/src/client/widgets/index.js b/src/client/widgets/index.js index 38d3bc28..b0e5ce0c 100644 --- a/src/client/widgets/index.js +++ b/src/client/widgets/index.js @@ -69,5 +69,6 @@ module.exports.categories = { var defaults = {} for (var k in module.exports.widgets) { defaults[k] = module.exports.widgets[k].defaults() + module.exports.widgets[k]._defaults = defaults } module.exports.defaults = defaults From b071189c65e0cce46db0918a3acafd960dd61fc0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 7 May 2025 11:21:40 +0200 Subject: [PATCH 5411/5759] matrix: make `quantity` a dynamic property to avoid losing widget state when it changes --- CHANGELOG.md | 1 + src/client/widgets/containers/matrix.js | 50 ++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a32ac2..f5b7ae1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - widgets - frame: add `allow` property + - matrix: make `quantity` a dynamic property to avoid losing widget state when it changes ## 1.29.1 / 1.29.2 diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index fd720879..9d158d01 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -1,7 +1,9 @@ var Panel = require('./panel'), parser = require('../../parser'), {deepCopy} = require('../../utils'), - Session = require('../../managers/session/session') + Session = require('../../managers/session/session'), + widgetManager = require('../../managers/widgets') + class Matrix extends Panel { @@ -125,6 +127,51 @@ class Matrix extends Panel { switch (propName) { + case 'quantity': + + if (oldPropValue > this.getProp('quantity')) { + + for (var i = oldPropValue - 1; i >= this.getProp('quantity'); i--) { + if (this.widget.contains(this.children[i].container)) { + this.widget.removeChild(this.children[i].container) + } + widgetManager.removeWidgets(this.children[i].getAllChildren().concat(this.children[i])) + } + + } else { + + this.cachedProps.props = this.resolveProp('props', undefined, true) + + for (var i = oldPropValue; i < this.getProp('quantity'); i++) { + + var props = deepCopy(this.getProp('props')[i]) + var data = this.defaultProps(i) + + if (typeof props === 'object' && props !== null) { + Object.assign(data, props) + } + + data = JSON.parse(JSON.stringify(data).replace(/(JS|#|OSC|@|VAR)_\{/g, '$1{')) + + Session.converters['1.13.2'].widget(data) + + var widget = parser.parse({ + data: data, + parentNode: this.widget, + parent: this + }) + + widget._index = i + widget.container.classList.add('not-editable') + widget._not_editable = true + + } + + } + + + return + case 'props': for (let i = this.children.length - 1; i >= 0; i--) { @@ -224,6 +271,7 @@ Matrix.parsersContexts.props = { } Matrix.dynamicProps = Matrix.prototype.constructor.dynamicProps.concat( + 'quantity', 'props' ) From f49fb43ec3a67433fdfc021fe048a771dd595f71 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 7 May 2025 11:26:58 +0200 Subject: [PATCH 5412/5759] lint: var -> let --- src/client/widgets/containers/matrix.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 9d158d01..d4f83a5b 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -131,7 +131,7 @@ class Matrix extends Panel { if (oldPropValue > this.getProp('quantity')) { - for (var i = oldPropValue - 1; i >= this.getProp('quantity'); i--) { + for (let i = oldPropValue - 1; i >= this.getProp('quantity'); i--) { if (this.widget.contains(this.children[i].container)) { this.widget.removeChild(this.children[i].container) } @@ -142,7 +142,7 @@ class Matrix extends Panel { this.cachedProps.props = this.resolveProp('props', undefined, true) - for (var i = oldPropValue; i < this.getProp('quantity'); i++) { + for (let i = oldPropValue; i < this.getProp('quantity'); i++) { var props = deepCopy(this.getProp('props')[i]) var data = this.defaultProps(i) From 460d8718c9176aa27df7139301a36ab293f2a323 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 May 2025 09:21:40 +0200 Subject: [PATCH 5413/5759] docs: remote control detail --- resources/docs/docs/remote-control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index de66127b..a25fb9db 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -1,6 +1,6 @@ # Remote control -When osc messages are received, the default behavior is to update the value of all widgets that match the address and preArgs. Additionally, Open Stage Control responds to some general osc commands. +When osc messages are received, the default behavior is to update the value of all widgets that match the address and preArgs. Additionally, Open Stage Control clients respond to some general osc commands. !!! note "Multi-client setup" These commands are interpreted by each client connected to the server so there might be more than one reply. Using a custom module is the only way to send a message to a single client. From 870d3e34457d482e1983bca0e38a76c5f9e74f18 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 May 2025 09:44:16 +0200 Subject: [PATCH 5414/5759] patchbay: missing preArgs implementation --- CHANGELOG.md | 1 + src/client/widgets/containers/patchbay.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5b7ae1d..9a2dd648 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - widgets - frame: add `allow` property - matrix: make `quantity` a dynamic property to avoid losing widget state when it changes + - patchbay: missing `preArgs` implementation ## 1.29.1 / 1.29.2 diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index e01dc307..22f789f1 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -167,11 +167,12 @@ class PatchBay extends Container(Canvas) { let w = parser.parse({ data: { type: 'patchbaynode', + comments: this.inputs[k], // TODO: using comment prop to smuggle input identifier, ok but could be more elegant id: this.getProp('id') + '/' + this.inputs[k], address: '#{@{parent.address} == "auto" ? "/" + @{parent.id} : @{parent.address}}', target: '@{parent.target}', ignoreDefaults: '@{parent.ignoreDefaults}', - preArgs: this.inputs[k], + preArgs: '#{@{parent.preArgs} == "" ? @{this.comments} : Array.isArray(@{parent.preArgs}) ? @{parent.preArgs}.concat(@{this.comments}) : [@{parent.preArgs}, @{this.comments}]}', bypass: '@{parent.bypass}', label: k }, From 45b8794bf612270a139e6294e8563ed128d07f68 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 May 2025 10:04:16 +0200 Subject: [PATCH 5415/5759] docs: update --- resources/docs/docs/widgets/properties-reference.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 156d4cb1..7f997a2c 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -365,7 +365,7 @@ |
            variables#
            | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | |
            traversing#
            | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` to limit affected widgets by the type of the first touched widget

            Choices: `false`, `true`, `smart` | |
            widgetType#
            | `string` | "button" | Defines the type of the widgets in the matrix | - |
            quantity#
            | `number` | 4 | Defines the number of widgets in the matrix | + |
            quantity#
            | `number` | 4 | Defines the number of widgets in the matrix | |
            props#
            | `object` | \{
             "label": "#{$}"
            }
            | Defines a set of property to override the widgets' defaults.

            JS{} and #{} blocks in this field are resolved with an extra variable representing each widget's index: `$` (e.g. `#{$}`)

            Advanced syntax blocks (@{}, OSC{}, JS{}, VAR{} and #{}) are resolved at the matrix' scope (ie @{this.variables} returns the matrix' variables property)

            Advanced syntax blocks can be passed to children without being resolved at the matrix' scope by adding an underscore before the opening bracket.

            Note: unless overridden, children inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | === "value" @@ -545,6 +545,12 @@ ??? api "
            frame#
            " Embed a web page in a frame. Note: some websites do not allow this. + === "frame" + + | property | type |default | description | + | --- | --- | --- | --- | + |
            allow#
            | `string` | "" | Content for the iframe element's allow attribute | + === "value" | property | type |default | description | From f5ee7f5df1b6eb25532652a216828e1a3f3d37c0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 May 2025 10:04:28 +0200 Subject: [PATCH 5416/5759] package: 1.29.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cbd7d32a..137236ce 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.2", + "version": "1.29.3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 32c3bf2abd755e5a422d06eabfdcb0248f10b3dc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 16 May 2025 11:23:41 +0200 Subject: [PATCH 5417/5759] widget: regression breaking widget recreation routine (all properties seen as invalid because of wrong default property cache) --- src/client/widgets/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/index.js b/src/client/widgets/index.js index b0e5ce0c..288eb2c3 100644 --- a/src/client/widgets/index.js +++ b/src/client/widgets/index.js @@ -69,6 +69,6 @@ module.exports.categories = { var defaults = {} for (var k in module.exports.widgets) { defaults[k] = module.exports.widgets[k].defaults() - module.exports.widgets[k]._defaults = defaults + module.exports.widgets[k]._defaults = defaults[k]._props() } module.exports.defaults = defaults From 296ba343c4daad5c9ce3936677c71218698e3927 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 16 May 2025 11:26:59 +0200 Subject: [PATCH 5418/5759] package: hot patched 1.29.4 on the way --- CHANGELOG.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a2dd648..65cba26a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.29.4 + +- bug fixes + - regression (1.29.3) breaking some widget recreation routines + ## 1.29.3 - widgets diff --git a/package.json b/package.json index 137236ce..c4972a38 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.3", + "version": "1.29.4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From e7ffec8c031a61adba4357054bc65c6a668ffb68 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 16 May 2025 16:00:05 +0200 Subject: [PATCH 5419/5759] keyboard: regression (1.27.5) breaking `velocity` property --- CHANGELOG.md | 8 +++++++- src/client/widgets/basics/button.js | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65cba26a..0eb2eea7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ # Changelog +## 1.29.5 + +- bug fixes + - keyboard: regression (1.27.5) breaking `velocity` property + + ## 1.29.4 - bug fixes - - regression (1.29.3) breaking some widget recreation routines + - regression (1.29.3) breaking some widget recreation routines ## 1.29.3 diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 6f116cae..b14aeefc 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -99,7 +99,7 @@ class Button extends Widget { this.parsersLocalScope.touchCoords = [e.offsetX / this.buttonSize[0], 1 - e.offsetY / this.buttonSize[1]] } - this.setValue(this.getProp('on'), {sync: true, send: true, local:true}) + this.setValue(this.getProp('on'), {sync: true, send: true, local:true, y: e.offsetY}) if (tap) this.container.classList.add('active') @@ -117,7 +117,7 @@ class Button extends Widget { this.parsersLocalScope.touchCoords = [e.offsetX / this.buttonSize[0], 1 - e.offsetY / this.buttonSize[1]] } - this.setValue(this.getProp('on'), {sync: true, send: true, local:true}) + this.setValue(this.getProp('on'), {sync: true, send: true, local:true, y: e.offsetY}) if (tap) this.container.classList.add('active') From e5d5d0aa0634222470ba188b206de9fb3ad24e1b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 19 May 2025 15:28:13 +0200 Subject: [PATCH 5420/5759] code editor: fix available globals for onResize --- src/client/ui/ui-code-editor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/ui/ui-code-editor.js b/src/client/ui/ui-code-editor.js index 4c8dcabd..83dc0f5f 100644 --- a/src/client/ui/ui-code-editor.js +++ b/src/client/ui/ui-code-editor.js @@ -207,7 +207,11 @@ class CodeEditor { globals = this.widget.getProp('type') === 'canvas' ? {value: true, height: true, width: true, event: true} : {value: true, event: true, handle: true} + } else if (this.name === 'onResize') { + globals = {value: true, height: true, width: true, cssVars: true} } + + globals.locals = true globals.console = true globals.JS = true From 54b7bf7a630058a3b47785a474d1bc9f82ad6d32 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 19 May 2025 17:19:53 +0200 Subject: [PATCH 5421/5759] code editor: correctly detect tab-focus to reset scroll / cursor position --- CHANGELOG.md | 1 + src/client/ui/ui-code-editor.js | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eb2eea7..e9dcca1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - keyboard: regression (1.27.5) breaking `velocity` property + - editor: retain scroll position in code editors ## 1.29.4 diff --git a/src/client/ui/ui-code-editor.js b/src/client/ui/ui-code-editor.js index 83dc0f5f..087d09ae 100644 --- a/src/client/ui/ui-code-editor.js +++ b/src/client/ui/ui-code-editor.js @@ -153,8 +153,12 @@ class CodeEditor { this.editor.dirty = true }) - var pos = this.editor.getCursorPosition() - if (pos.row === undefined || pos.column === undefined) this.editor.gotoLine(0) + setTimeout(()=>{ + var pos = this.editor.getCursorPosition() + if (pos.row === undefined || pos.column === undefined) { + this.editor.gotoLine(0) + } + }) this.typing = false setCommandEnabled(this.editor, 'indent', false) From 84cba42d866131b45af6dd76eeb949a870f05cc8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 24 May 2025 13:22:29 +0200 Subject: [PATCH 5422/5759] cli: regression (1.28) preventing from setting options from a terminal on windows --- CHANGELOG.md | 1 + src/server/settings.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9dcca1e..becc280f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - keyboard: regression (1.27.5) breaking `velocity` property - editor: retain scroll position in code editors + - cli: regression (1.28) preventing from setting options from a terminal on windows ## 1.29.4 diff --git a/src/server/settings.js b/src/server/settings.js index 89c7c87a..2039d1a3 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -13,7 +13,7 @@ var path = require('path'), // rmeove all args before the first actual cli arg while (argv.length) { - if (argv[0][0] != '-' || argv[0][0] == '--') { + if (argv[0][0] != '-' || argv[0] == '--') { argv.splice(0, 1) } else if (argv[0][0] == '-' ) { break From aa666f0738022ad99302a7fce025a85d69b4395b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 24 May 2025 13:23:00 +0200 Subject: [PATCH 5423/5759] package: v1.29.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c4972a38..fa6a7cf4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.4", + "version": "1.29.5", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From faba19e94cad715dac92ee27f5d9f2a96eea51d1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 7 Jun 2025 13:56:20 +0200 Subject: [PATCH 5424/5759] matrix: sanitise quantity property (avoid error when NaN or < 0) --- CHANGELOG.md | 5 +++++ src/client/widgets/containers/matrix.js | 15 ++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index becc280f..d0543d23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.29.6 + +- bug fixes + - matrix: prevent error when `quantity` is invalid + ## 1.29.5 - bug fixes diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index d4f83a5b..48d35d55 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -66,7 +66,9 @@ class Matrix extends Panel { if (parser.widgets[this.getProp('widgetType')]) { - for (let i = 0; i < this.getProp('quantity'); i++) { + var quantity = Math.max(parseInt(this.getProp('quantity')) || 0, 0) + + for (let i = 0; i < quantity; i++) { var props = deepCopy(this.getProp('props')[i]) var data = this.defaultProps(i) @@ -129,9 +131,12 @@ class Matrix extends Panel { case 'quantity': - if (oldPropValue > this.getProp('quantity')) { + var quantity = Math.max(parseInt(this.getProp('quantity')) || 0, 0) + oldPropValue = Math.max(parseInt(oldPropValue) || 0, 0) - for (let i = oldPropValue - 1; i >= this.getProp('quantity'); i--) { + if (oldPropValue > quantity) { + + for (let i = oldPropValue - 1; i >= quantity; i--) { if (this.widget.contains(this.children[i].container)) { this.widget.removeChild(this.children[i].container) } @@ -142,7 +147,7 @@ class Matrix extends Panel { this.cachedProps.props = this.resolveProp('props', undefined, true) - for (let i = oldPropValue; i < this.getProp('quantity'); i++) { + for (let i = oldPropValue; i < quantity; i++) { var props = deepCopy(this.getProp('props')[i]) var data = this.defaultProps(i) @@ -227,7 +232,7 @@ class Matrix extends Panel { propValue = propValue !== undefined ? propValue : this.props[propName] var data = [], - quantity = this.resolveProp('quantity', undefined, false, false, false) + quantity = Math.max(parseInt(this.resolveProp('quantity', undefined, false, false, false)) || 0, 0) if (typeof propValue === 'object' && propValue !== null && !Array.isArray(propValue)) { for (let i = 0; i < quantity; i++) { From 69c52921c44c1981c658823e34d1f7a81fc10f30 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 12 Jun 2025 12:41:09 +0200 Subject: [PATCH 5425/5759] pads: send value when setting spring to true, but only if there's a value change --- CHANGELOG.md | 1 + src/client/widgets/pads/multixy.js | 2 +- src/client/widgets/pads/xy.js | 6 +++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0543d23..da34696a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - matrix: prevent error when `quantity` is invalid + - multixy/xy: send value when setting `spring` to `true` (only if current value is different than spring value) ## 1.29.5 diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 011ea99e..185c7cfc 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -402,7 +402,7 @@ class MultiXy extends Pad { case 'spring': case 'pointSize': case 'axisLock': - this.updatePadsAttr() + this.updatePadsAttr(options) return } diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 76225f9b..f5b17b51 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -281,7 +281,11 @@ module.exports = class Xy extends Pad { this.batchDraw() return case 'spring': - if (this.getProp('spring') && !this.touched) this.setValue([this.faders.x.getSpringValue(),this.faders.y.getSpringValue()], {...options}) + if (this.getProp('spring') && !this.touched) { + var x = this.faders.x.getSpringValue(), + y = this.faders.y.getSpringValue() + if (x !== this.value[0] || y !== this.value[1]) this.setValue([x, y], {...options}) + } return } From dedb82bb864d83b1089b3ed2480be4d78d858ac6 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 23 Jun 2025 13:54:27 +0200 Subject: [PATCH 5426/5759] multixy/xy: add `stepsX` and `stepsY` properties --- CHANGELOG.md | 3 +++ src/client/widgets/pads/multixy.js | 8 ++++++-- src/client/widgets/pads/xy.js | 12 ++++++++---- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da34696a..5b072ee7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - matrix: prevent error when `quantity` is invalid - multixy/xy: send value when setting `spring` to `true` (only if current value is different than spring value) +- widgets + - multixy/xy: add `stepsX` and `stepsY` properties + ## 1.29.5 - bug fixes diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 185c7cfc..30e5457d 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -47,10 +47,12 @@ class MultiXy extends Pad { 'If set to `true`, touching anywhere on the widget\'s surface will make them snap to the touching coordinates', ]}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, - rangeX: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the x axis'}, - rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, + rangeX: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the x axis (see fader)'}, + rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis (see fader)'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, + stepsX: {type: 'number|array|string', value: false, help: 'Defines `steps` for the x axis (see fader)'}, + stepsY: {type: 'number|array|string', value: false, help: 'Defines `steps` for the x axis (see fader)'}, axisLock: {type: 'string', value: '', choices: ['', 'x', 'y', 'auto'], help: [ 'Restrict movements to one of the axes only.', 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' @@ -93,6 +95,8 @@ class MultiXy extends Pad { decimals:this.getProp('decimals'), logScaleX:this.getProp('logScaleX'), logScaleY:this.getProp('logScaleY'), + stepsX:this.getProp('stepsX'), + stepsY:this.getProp('stepsY'), axisLock:this.getProp('axisLock'), pointSize: 'auto', pips: false, diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index f5b17b51..3826c892 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -29,10 +29,12 @@ module.exports = class Xy extends Pad { 'If set to `true`, touching anywhere on the widget\'s surface will make them snap to the touching coordinates', ]}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, - rangeX: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the x axis'}, - rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, + rangeX: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the x axis (see fader)'}, + rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis (see fader)'}, logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, + stepsX: {type: 'number|array|string', value: false, help: 'Defines `steps` for the x axis (see fader)'}, + stepsY: {type: 'number|array|string', value: false, help: 'Defines `steps` for the x axis (see fader)'}, axisLock: {type: 'string', value: '', choices: ['', 'x', 'y', 'auto'], help: [ 'Restrict movements to one of the axes only unless `Shift` is held.', 'When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.' @@ -70,6 +72,7 @@ module.exports = class Xy extends Pad { decimals:this.getProp('decimals'), logScale:this.getProp('logScaleX'), sensitivity: this.getProp('sensitivity'), + steps: this.getProp('stepsX'), }, parent: this}), y: new Fader({props:{ ...faderDefaults, @@ -82,6 +85,7 @@ module.exports = class Xy extends Pad { decimals:this.getProp('decimals'), logScale:this.getProp('logScaleY'), sensitivity: this.getProp('sensitivity'), + steps: this.getProp('stepsY'), }, parent: this}), } @@ -223,8 +227,8 @@ module.exports = class Xy extends Pad { if (!this.visible) return var pointSize = this.pointSize, - x = this.faders.x.percentToCoord(this.faders.x.percent), - y = this.faders.y.percentToCoord(this.faders.y.percent), + x = this.faders.x.percentToCoord(this.faders.x.valueToPercent(this.faders.x.value)), + y = this.faders.y.percentToCoord(this.faders.y.valueToPercent(this.faders.y.value)), ephemeral = this.getProp('ephemeral') this.clear() From 802e1780b12dbf6fb2499ea00d8cadd2e6e82b1a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 26 Jun 2025 15:30:13 +0200 Subject: [PATCH 5427/5759] docs: canvas: ctx.clear() is not a thing --- src/client/widgets/pads/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index 1b330cae..ce0d96c6 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -20,7 +20,7 @@ class CanvasWidget extends Canvas { 'When calling `set()` from a script, submitted value should be an array only if `valueLength` is greater than 1.' ]}, autoClear: {type: 'boolean', value: true, help: [ - 'If set to `false`, the canvas context won\'t be cleared automatically and `ctx.clear()` will need to be called in `onDraw`.' + 'If set to `false`, the canvas context won\'t be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`.' ]}, continuous: {type: 'boolean|number', value: false, help: [ 'If set to `true`, `onDraw` will be called at each frame, otherwise it will be called only when the widget is touched and when it receives a value.', From 379031379e9087158632de222fb74800e5669de9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 27 Jun 2025 09:55:19 +0200 Subject: [PATCH 5428/5759] docs: update --- README.md | 2 +- resources/docs/docs/credits.md | 2 +- .../docs/docs/widgets/properties-reference.md | 14 +++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 280b04ee..cecaf628 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,5 @@ Open Stage Control ---- -Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2022. +Copyleft © Jean-Emmanuel Doucet 2014-2025. This program is a free software released under the [GNU/GPL3](ttps://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license. diff --git a/resources/docs/docs/credits.md b/resources/docs/docs/credits.md index bbdeb473..73425ad7 100644 --- a/resources/docs/docs/credits.md +++ b/resources/docs/docs/credits.md @@ -1,6 +1,6 @@ ## License -Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2022. +Copyleft © Jean-Emmanuel Doucet 2014-2025. This program is a free software released under the [GNU/GPL3](https://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license. ## Dependencies diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 7f997a2c..9898b64f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -776,10 +776,12 @@ | --- | --- | --- | --- | |
            snap#
            | `boolean` | false | By default, the points are dragged from their initial position.

            If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis | - |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | + |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis (see fader) | + |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis (see fader) | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
            stepsX#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | + |
            stepsY#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only unless `Shift` is held.

            When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

            Choices: ``, `x`, `y`, `auto` | |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -830,10 +832,12 @@ |
            pointsAttr#
            | `object` | [] | Defines per-point properties that are otherwise inherited from the multixy. Must be an array of objects (one per point) that may contain the following keys:
            - visible (visibility and interactability)
            - colorFill (background color)
            - colorStroke (outline color)
            - colorText (label color)
            - color (shorthand for colorFill and colorStroke)
            - alphaFillOn (background opacity)
            - pointSize
            - label | |
            snap#
            | `boolean` | false | By default, the points are dragged from their initial position.

            If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis | - |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | + |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis (see fader) | + |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis (see fader) | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
            stepsX#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | + |
            stepsY#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only.

            When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

            Choices: ``, `x`, `y`, `auto` | |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -859,7 +863,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            valueLength#
            | `number` | 1 | Defines the number of values accepted by the widget (minimum 1). Incoming messages that don't comply will be ignored

            When calling `set()` from a script, submitted value should be an array only if `valueLength` is greater than 1. | - |
            autoClear#
            | `boolean` | true | If set to `false`, the canvas context won't be cleared automatically and `ctx.clear()` will need to be called in `onDraw`. | + |
            autoClear#
            | `boolean` | true | If set to `false`, the canvas context won't be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`. | |
            continuous#
            | `boolean`|
            `number` | false | If set to `true`, `onDraw` will be called at each frame, otherwise it will be called only when the widget is touched and when it receives a value.

            Can be a number between 1 and 60 to specify the framerate (default: 30 fps). | === "scripting" From 5e06f5cf947201c22865a1dece5b0949debf0daa Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 27 Jun 2025 09:55:32 +0200 Subject: [PATCH 5429/5759] package: 1.29.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fa6a7cf4..b819dbcb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.5", + "version": "1.29.6", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 0666d4677e599bdae084c402ae0170659171528d Mon Sep 17 00:00:00 2001 From: wicast Date: Tue, 8 Jul 2025 11:00:47 +0800 Subject: [PATCH 5430/5759] feat: add tray icon --- src/server/index.js | 10 +++++++ src/server/tray.js | 69 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 src/server/tray.js diff --git a/src/server/index.js b/src/server/index.js index ed1ef705..50e47f7b 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -5,6 +5,7 @@ var dev = process.argv[0].includes('node_modules'), docsServer, app = null, launcher = null, + tray = null, clientWindows = [], serverProcess = null, node = false @@ -221,6 +222,15 @@ function startLauncher() { process.stderr.write = stderrWrite if (process.log) process.log = processLog }) + + tray = require('./tray')({ + window: launcher, + openClient: openClient, + app: app, + startServer: startServerProcess, + stopServer: stopServerProcess + }) + }) let processLog = process.log, diff --git a/src/server/tray.js b/src/server/tray.js new file mode 100644 index 00000000..cca4275c --- /dev/null +++ b/src/server/tray.js @@ -0,0 +1,69 @@ +var { Menu, Tray, ipcMain } = require('electron') + +var tray = null, + contextMenu = null, + hideInTray = false, + isServerRunning = false + +module.exports = function (options = {}) { + + ipcMain.on('start', function (e, options) { + isServerRunning = true + resetMenu(isServerRunning) + }) + + ipcMain.on('stop', function (e, options) { + isServerRunning = false + resetMenu(isServerRunning) + }) + + tray = new Tray(__dirname + '/../assets/logo.png') + contextMenu = Menu.buildFromTemplate([ + { + label: 'Open/Hide', click: () => { + if (hideInTray) { + options.window.show() + hideInTray = false + } else { + options.window.hide() + hideInTray = true + } + } + }, + { + label: 'Start/Stop', + click: () => { + console.log(isServerRunning) + if (isServerRunning) { + ipcMain.emit('stop'); + } else { + ipcMain.emit('start'); + } + } + }, + { + label: 'New Window', click: () => { + if (isServerRunning) { + options.openClient() + } + }, + enabled: isServerRunning + }, + { type: 'separator' }, + { label: 'Quit', click: () => { void options.app.quit(); } }, + ]); + tray.setContextMenu(contextMenu) + tray.setToolTip('Open Stage Control') + + return tray + +} + +function resetMenu(isServerRunning) { + contextMenu.items.forEach(item => { + if (item.label === 'New Window') { + item.enabled = isServerRunning + } + }) + tray.setContextMenu(contextMenu) +} \ No newline at end of file From a89f24d2f138c661520688727449f73aa51df9fe Mon Sep 17 00:00:00 2001 From: wicast Date: Tue, 8 Jul 2025 11:53:37 +0800 Subject: [PATCH 5431/5759] fix: macos tray icon size --- resources/images/logo_16x16.png | Bin 0 -> 931 bytes scripts/copy-assets.js | 4 ++++ src/server/tray.js | 7 +++++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 resources/images/logo_16x16.png diff --git a/resources/images/logo_16x16.png b/resources/images/logo_16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..d6670a2ac34cfa2d5830bb546baad96b4dd95e9e GIT binary patch literal 931 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!Lb6AYF9SoB8UsT^3j@P1pisjL z28L1t28LG&3=CE?7#PG0=IjczVPIg?3GfMVRaDhhR0AR%MHMXtC3Sfvbp>S&AgQRT zqoAw_6bEt@R5XFgAf%F-E=UUysc3<;fTXmbNJUG}*3TiK(Ys`xo~^&Sp^aDZ+?2(S z6Xx6u@7|xXk&#nhy)dK=QZLsi$@z%fKYSsi4u zsLzLm>#t$pLB z0MG8Ij4hS^nwe8vxLF-jS;KC9`(N)OJ|q9VP4PTSW`+YBVirc|6zVX~JXMprcH!&Z zuUzrxDhiW}SKrJsy?xs{wDDQx;>&kUeJHJ8;Bot1NvRH#5JNMC9x#cD!C{XNHG{0 z7@6uCnClu?gculG8CY5wT51~@SQ!|kU2U&N(U6;;l9^VCTZ4Fq{b8U64Y&;@nYpRO zC5gEOXnITxt&EHzmYmEfJr2|(3DOgspH@mmtT}V`<;yx PP!WTttDnm{r-UW|_M$kQ literal 0 HcmV?d00001 diff --git a/scripts/copy-assets.js b/scripts/copy-assets.js index 73ad3e70..65c2df23 100644 --- a/scripts/copy-assets.js +++ b/scripts/copy-assets.js @@ -14,6 +14,10 @@ var cpr = require('cpr'), ['../node_modules/ace-builds/src-min/worker-javascript.js', '../app/client/workers/worker-javascript.js'], ] +if (process.platform === 'darwin') { + files.push(['../resources/images/logo_16x16.png', '../app/assets/logo_16x16.png']) +} + for (var i in files) { cpr(...files[i].map(f => path.resolve(__dirname + '/' + f)), { overwrite: true diff --git a/src/server/tray.js b/src/server/tray.js index cca4275c..79e63542 100644 --- a/src/server/tray.js +++ b/src/server/tray.js @@ -17,7 +17,11 @@ module.exports = function (options = {}) { resetMenu(isServerRunning) }) - tray = new Tray(__dirname + '/../assets/logo.png') + var icon = __dirname + '/../assets/logo.png' + if (process.platform === 'darwin') { + var icon = __dirname + '/../assets/logo_16x16.png' + } + tray = new Tray(icon) contextMenu = Menu.buildFromTemplate([ { label: 'Open/Hide', click: () => { @@ -33,7 +37,6 @@ module.exports = function (options = {}) { { label: 'Start/Stop', click: () => { - console.log(isServerRunning) if (isServerRunning) { ipcMain.emit('stop'); } else { From 2532ab67643bf4f5af76a8cc0b2b2e36429ab74f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Jul 2025 09:43:48 +0200 Subject: [PATCH 5432/5759] build: use sass instead of node-sass to fix mac builds --- package.json | 2 +- scripts/build-css.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b819dbcb..d60c7d7d 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,6 @@ "nanomorph": "5.4.3", "node-forge": "1.3.1", "node-mouse": "0.0.2", - "node-sass": "9.0.0", "nodemon": "2.0.16", "nosleep.js": "0.12.0", "open": "8.4.0", @@ -67,6 +66,7 @@ "qrcode": "1.5.1", "replacestream": "4.0.3", "sanitize-html": "1.27.5", + "sass": "1.89.2", "scope-css": "1.2.1", "screenfull": "5.2.0", "semver": "7.3.7", diff --git a/scripts/build-css.js b/scripts/build-css.js index 0e697159..c828cdb5 100644 --- a/scripts/build-css.js +++ b/scripts/build-css.js @@ -1,4 +1,4 @@ -var sass = require('node-sass'), +var sass = require('sass'), path = require('path'), fs = require('fs') @@ -10,7 +10,8 @@ fs.readdirSync(indir + '/themes/').forEach(file => { if (file.includes('.scss') && file !== 'default.scss') { let result = sass.renderSync({ file: indir + '/themes/' + file, - outputStyle: 'compressed' + outputStyle: 'compressed', + silenceDeprecations: ['mixed-decls', 'slash-div', 'import', 'legacy-js-api'] }) fs.writeFileSync(outdir + '/themes/' + file.split('/').pop().replace('scss', 'css'), result.css) @@ -22,7 +23,8 @@ var result = sass.renderSync({ file: indir + '/index.scss', outFile: outdir + '/open-stage-control.css', outputStyle: 'compressed', - sourceMap: true + sourceMap: true, + silenceDeprecations: ['mixed-decls', 'slash-div', 'import', 'legacy-js-api'] }) fs.writeFileSync(outdir + '/open-stage-control.css', result.css) From 3b887d7a152463b09de43c1d1b12d428f87d9978 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Jul 2025 09:44:50 +0200 Subject: [PATCH 5433/5759] package-lock: update --- package-lock.json | 399 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 388 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index f0a6aed4..4a480a40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-stage-control", - "version": "1.29.1", + "version": "1.29.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-stage-control", - "version": "1.29.1", + "version": "1.29.6", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { @@ -57,6 +57,7 @@ "qrcode": "1.5.1", "replacestream": "4.0.3", "sanitize-html": "1.27.5", + "sass": "^1.89.2", "scope-css": "1.2.1", "screenfull": "5.2.0", "semver": "7.3.7", @@ -3011,6 +3012,300 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@parcel/watcher": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", + "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.5.1", + "@parcel/watcher-darwin-arm64": "2.5.1", + "@parcel/watcher-darwin-x64": "2.5.1", + "@parcel/watcher-freebsd-x64": "2.5.1", + "@parcel/watcher-linux-arm-glibc": "2.5.1", + "@parcel/watcher-linux-arm-musl": "2.5.1", + "@parcel/watcher-linux-arm64-glibc": "2.5.1", + "@parcel/watcher-linux-arm64-musl": "2.5.1", + "@parcel/watcher-linux-x64-glibc": "2.5.1", + "@parcel/watcher-linux-x64-musl": "2.5.1", + "@parcel/watcher-win32-arm64": "2.5.1", + "@parcel/watcher-win32-ia32": "2.5.1", + "@parcel/watcher-win32-x64": "2.5.1" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", + "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", + "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", + "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", + "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", + "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", + "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", + "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", + "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", + "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", + "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", + "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-ia32": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", + "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", + "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher/node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/@serialport/binding-abstract": { "version": "9.2.4", "license": "MIT", @@ -3907,10 +4202,11 @@ "license": "MIT" }, "node_modules/braces": { - "version": "3.0.2", - "license": "MIT", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -6168,8 +6464,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "license": "MIT", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -6964,6 +7261,11 @@ "version": "1.0.1", "license": "ISC" }, + "node_modules/immutable": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.3.tgz", + "integrity": "sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg==" + }, "node_modules/import-fresh": { "version": "3.3.0", "license": "MIT", @@ -7202,7 +7504,8 @@ }, "node_modules/is-number": { "version": "7.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "engines": { "node": ">=0.12.0" } @@ -7867,6 +8170,19 @@ "source-map": "^0.5.6" } }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "optional": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/miller-rabin": { "version": "4.0.1", "license": "MIT", @@ -8259,6 +8575,12 @@ "node": ">=10" } }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "optional": true + }, "node_modules/node-forge": { "version": "1.3.1", "license": "(BSD-3-Clause OR GPL-2.0)", @@ -9219,8 +9541,9 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.2.3", - "license": "MIT", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "engines": { "node": ">=8.6" }, @@ -9919,6 +10242,25 @@ "postcss": "^7.0.27" } }, + "node_modules/sass": { + "version": "1.89.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.89.2.tgz", + "integrity": "sha512-xCmtksBKd/jdJ9Bt9p7nPKiuqrlBMBuuGkQlkhZjjQk3Ty48lv93k5Dq6OPkKt4XwxDJ7tvlfrTa1MPA9bf+QA==", + "dependencies": { + "chokidar": "^4.0.0", + "immutable": "^5.0.2", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, "node_modules/sass-graph": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-4.0.1.tgz", @@ -9936,6 +10278,32 @@ "node": ">=12" } }, + "node_modules/sass/node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/sass/node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/scope-css": { "version": "1.2.1", "license": "MIT", @@ -10261,6 +10629,14 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/source-map-support": { "version": "0.5.21", "license": "MIT", @@ -10782,7 +11158,8 @@ }, "node_modules/to-regex-range": { "version": "5.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dependencies": { "is-number": "^7.0.0" }, From b23c062e07f04a3e7ea0d0af0cd0309429356d48 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 27 Jun 2025 09:55:19 +0200 Subject: [PATCH 5434/5759] docs: update --- README.md | 2 +- resources/docs/docs/credits.md | 2 +- .../docs/docs/widgets/properties-reference.md | 14 +++++++++----- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 280b04ee..cecaf628 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,5 @@ Open Stage Control ---- -Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2022. +Copyleft © Jean-Emmanuel Doucet 2014-2025. This program is a free software released under the [GNU/GPL3](ttps://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license. diff --git a/resources/docs/docs/credits.md b/resources/docs/docs/credits.md index bbdeb473..73425ad7 100644 --- a/resources/docs/docs/credits.md +++ b/resources/docs/docs/credits.md @@ -1,6 +1,6 @@ ## License -Copyleft © Jean-Emmanuel Doucet @ [AMMD](http://ammd.net) 2014-2022. +Copyleft © Jean-Emmanuel Doucet 2014-2025. This program is a free software released under the [GNU/GPL3](https://github.com/jean-emmanuel/open-stage-control/blob/master/LICENSE) license. ## Dependencies diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 7f997a2c..9898b64f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -776,10 +776,12 @@ | --- | --- | --- | --- | |
            snap#
            | `boolean` | false | By default, the points are dragged from their initial position.

            If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis | - |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | + |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis (see fader) | + |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis (see fader) | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
            stepsX#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | + |
            stepsY#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only unless `Shift` is held.

            When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

            Choices: ``, `x`, `y`, `auto` | |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -830,10 +832,12 @@ |
            pointsAttr#
            | `object` | [] | Defines per-point properties that are otherwise inherited from the multixy. Must be an array of objects (one per point) that may contain the following keys:
            - visible (visibility and interactability)
            - colorFill (background color)
            - colorStroke (outline color)
            - colorText (label color)
            - color (shorthand for colorFill and colorStroke)
            - alphaFillOn (background opacity)
            - pointSize
            - label | |
            snap#
            | `boolean` | false | By default, the points are dragged from their initial position.

            If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates | |
            spring#
            | `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis | - |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis | + |
            rangeX#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the x axis (see fader) | + |
            rangeY#
            | `object` | \{
             "min": 0,
             "max": 1
            }
            | Defines the min and max values for the y axis (see fader) | |
            logScaleX#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. | |
            logScaleY#
            | `boolean`|
            `number` | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. | + |
            stepsX#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | + |
            stepsY#
            | `number`|
            `array`|
            `string` | false | Defines `steps` for the x axis (see fader) | |
            axisLock#
            | `string` | "" | Restrict movements to one of the axes only.

            When left empty, holding `Shift` while dragging will lock the pad according the first movement. `auto` will do the opposite.

            Choices: ``, `x`, `y`, `auto` | |
            doubleTap#
            | `boolean`|
            `string` | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.

            Can be an osc address, in which case the widget will just send an osc message with no value (but `preArgs` included).

            If set to "script", `onTouch` will be called with `event.type` set to `doubleTap`.

            Choices: `false`, `true`, `script` | |
            sensitivity#
            | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | @@ -859,7 +863,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
            valueLength#
            | `number` | 1 | Defines the number of values accepted by the widget (minimum 1). Incoming messages that don't comply will be ignored

            When calling `set()` from a script, submitted value should be an array only if `valueLength` is greater than 1. | - |
            autoClear#
            | `boolean` | true | If set to `false`, the canvas context won't be cleared automatically and `ctx.clear()` will need to be called in `onDraw`. | + |
            autoClear#
            | `boolean` | true | If set to `false`, the canvas context won't be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`. | |
            continuous#
            | `boolean`|
            `number` | false | If set to `true`, `onDraw` will be called at each frame, otherwise it will be called only when the widget is touched and when it receives a value.

            Can be a number between 1 and 60 to specify the framerate (default: 30 fps). | === "scripting" From 55618fe5c37e1b75c93ede40e749381ace161045 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 27 Jun 2025 09:55:32 +0200 Subject: [PATCH 5435/5759] package: 1.29.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fa6a7cf4..b819dbcb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.5", + "version": "1.29.6", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From bde7039d257abef965ceb74720b52c90026dacd1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Jul 2025 09:43:48 +0200 Subject: [PATCH 5436/5759] build: use sass instead of node-sass to fix mac builds --- package.json | 2 +- scripts/build-css.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b819dbcb..d60c7d7d 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,6 @@ "nanomorph": "5.4.3", "node-forge": "1.3.1", "node-mouse": "0.0.2", - "node-sass": "9.0.0", "nodemon": "2.0.16", "nosleep.js": "0.12.0", "open": "8.4.0", @@ -67,6 +66,7 @@ "qrcode": "1.5.1", "replacestream": "4.0.3", "sanitize-html": "1.27.5", + "sass": "1.89.2", "scope-css": "1.2.1", "screenfull": "5.2.0", "semver": "7.3.7", diff --git a/scripts/build-css.js b/scripts/build-css.js index 0e697159..c828cdb5 100644 --- a/scripts/build-css.js +++ b/scripts/build-css.js @@ -1,4 +1,4 @@ -var sass = require('node-sass'), +var sass = require('sass'), path = require('path'), fs = require('fs') @@ -10,7 +10,8 @@ fs.readdirSync(indir + '/themes/').forEach(file => { if (file.includes('.scss') && file !== 'default.scss') { let result = sass.renderSync({ file: indir + '/themes/' + file, - outputStyle: 'compressed' + outputStyle: 'compressed', + silenceDeprecations: ['mixed-decls', 'slash-div', 'import', 'legacy-js-api'] }) fs.writeFileSync(outdir + '/themes/' + file.split('/').pop().replace('scss', 'css'), result.css) @@ -22,7 +23,8 @@ var result = sass.renderSync({ file: indir + '/index.scss', outFile: outdir + '/open-stage-control.css', outputStyle: 'compressed', - sourceMap: true + sourceMap: true, + silenceDeprecations: ['mixed-decls', 'slash-div', 'import', 'legacy-js-api'] }) fs.writeFileSync(outdir + '/open-stage-control.css', result.css) From aa2d5029bec0960d8eae3387ad777cd319528ea5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Jul 2025 09:44:50 +0200 Subject: [PATCH 5437/5759] package-lock: update --- package-lock.json | 399 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 388 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index f0a6aed4..4a480a40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-stage-control", - "version": "1.29.1", + "version": "1.29.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-stage-control", - "version": "1.29.1", + "version": "1.29.6", "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { @@ -57,6 +57,7 @@ "qrcode": "1.5.1", "replacestream": "4.0.3", "sanitize-html": "1.27.5", + "sass": "^1.89.2", "scope-css": "1.2.1", "screenfull": "5.2.0", "semver": "7.3.7", @@ -3011,6 +3012,300 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@parcel/watcher": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", + "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", + "hasInstallScript": true, + "optional": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.5.1", + "@parcel/watcher-darwin-arm64": "2.5.1", + "@parcel/watcher-darwin-x64": "2.5.1", + "@parcel/watcher-freebsd-x64": "2.5.1", + "@parcel/watcher-linux-arm-glibc": "2.5.1", + "@parcel/watcher-linux-arm-musl": "2.5.1", + "@parcel/watcher-linux-arm64-glibc": "2.5.1", + "@parcel/watcher-linux-arm64-musl": "2.5.1", + "@parcel/watcher-linux-x64-glibc": "2.5.1", + "@parcel/watcher-linux-x64-musl": "2.5.1", + "@parcel/watcher-win32-arm64": "2.5.1", + "@parcel/watcher-win32-ia32": "2.5.1", + "@parcel/watcher-win32-x64": "2.5.1" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz", + "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz", + "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz", + "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz", + "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz", + "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz", + "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz", + "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz", + "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz", + "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz", + "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz", + "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-ia32": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz", + "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz", + "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher/node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/@serialport/binding-abstract": { "version": "9.2.4", "license": "MIT", @@ -3907,10 +4202,11 @@ "license": "MIT" }, "node_modules/braces": { - "version": "3.0.2", - "license": "MIT", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -6168,8 +6464,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "license": "MIT", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -6964,6 +7261,11 @@ "version": "1.0.1", "license": "ISC" }, + "node_modules/immutable": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.3.tgz", + "integrity": "sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg==" + }, "node_modules/import-fresh": { "version": "3.3.0", "license": "MIT", @@ -7202,7 +7504,8 @@ }, "node_modules/is-number": { "version": "7.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "engines": { "node": ">=0.12.0" } @@ -7867,6 +8170,19 @@ "source-map": "^0.5.6" } }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "optional": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/miller-rabin": { "version": "4.0.1", "license": "MIT", @@ -8259,6 +8575,12 @@ "node": ">=10" } }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "optional": true + }, "node_modules/node-forge": { "version": "1.3.1", "license": "(BSD-3-Clause OR GPL-2.0)", @@ -9219,8 +9541,9 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.2.3", - "license": "MIT", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "engines": { "node": ">=8.6" }, @@ -9919,6 +10242,25 @@ "postcss": "^7.0.27" } }, + "node_modules/sass": { + "version": "1.89.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.89.2.tgz", + "integrity": "sha512-xCmtksBKd/jdJ9Bt9p7nPKiuqrlBMBuuGkQlkhZjjQk3Ty48lv93k5Dq6OPkKt4XwxDJ7tvlfrTa1MPA9bf+QA==", + "dependencies": { + "chokidar": "^4.0.0", + "immutable": "^5.0.2", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, "node_modules/sass-graph": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-4.0.1.tgz", @@ -9936,6 +10278,32 @@ "node": ">=12" } }, + "node_modules/sass/node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/sass/node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/scope-css": { "version": "1.2.1", "license": "MIT", @@ -10261,6 +10629,14 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/source-map-support": { "version": "0.5.21", "license": "MIT", @@ -10782,7 +11158,8 @@ }, "node_modules/to-regex-range": { "version": "5.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dependencies": { "is-number": "^7.0.0" }, From a5d5586dc367f9d8be3b193b392c414c74a43297 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Jul 2025 16:58:02 +0200 Subject: [PATCH 5438/5759] tray: code lint, retina icon for mac, keep alive launcher and tray when closing if there's a client window --- .../images/{logo_16x16.png => logo_tray.png} | Bin resources/images/logo_tray@x2.png | Bin 0 -> 1688 bytes scripts/copy-assets.js | 2 + src/server/index.js | 24 +++- src/server/tray.js | 111 ++++++++++-------- 5 files changed, 85 insertions(+), 52 deletions(-) rename resources/images/{logo_16x16.png => logo_tray.png} (100%) create mode 100644 resources/images/logo_tray@x2.png diff --git a/resources/images/logo_16x16.png b/resources/images/logo_tray.png similarity index 100% rename from resources/images/logo_16x16.png rename to resources/images/logo_tray.png diff --git a/resources/images/logo_tray@x2.png b/resources/images/logo_tray@x2.png new file mode 100644 index 0000000000000000000000000000000000000000..c3c4f0c64225c3409ebabefe20c365e491489eca GIT binary patch literal 1688 zcmV;J250$+P)b%78FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H11|>;E zK~z|Ut(RSF99I>`fA`Mr&U(Ec_S!D79mny3x z@-VwoyLRGDn*YgzkvoZbzs-q1diqs}RHiP-K8BD9#EY z2Bj(-Pp8vHCHsnv2qY5Sn;l{AQ-W`xsI7=C%%k{CQ7az2df~$KT@mQ*?e$%`Hunth z3{bW9OF>o5rvND2m_;dPy>0Rc@nUOJ{m+MnhKdyvXh|mHev`L=U1gc(53;Fy7mc6Z zMQ!^I0@ZPZlmIBl!CabW{?Zv{&YfUp_yl%w)gKtJ4f)k8S4I{#B+${(l~9^|7w9Z| zx@G5=*w+6v!PtH4Ik5)j;yjmzjxhfIZ&9{g7N@1dp0Tmi*ewZ^JU0?;=tV=D4I5;q1}cn#Yu+>!B}PrdAUe)i~orcND0IS%>E6aboE$6p=wKCxt=PdY;Nl_i_D zyLHDlmYF>H$BK=w3cGR`Ir;)qr;d5+#^QA-RZ2Y^_vBL1CvoWZD3!7{bLl_WRz`YJQxeiGY|a z3%%@wmG%1`LaZy5Kn@_kFyjdW(fWICUi$p*gHkxQm4@wx8LWsfg+lM0q0QiGp zT0j5gdqzNy)I%x9jGObGTq#b-s(=~*G62)3-@{yThnCJqzJ*T@ePZK6N1T9;qi(x7iE3Z53FY8l`A?1I<8d zbHkoBBN;$z>-JhrcRrvrlnTv9v?+nVYDEK4Zey{{yjNZ|UjQu-a*x`IifS!q$xWwG zcIir>xTuQ$of8vhZg`|WK9+ZOCOaL;yJZppdL&M$e#@$f_jYiKCd-*AmUDAn(Lr%h zL+nYX&yBB&+Ikn0QY8KW?DiCe#9tjn56AI`Vn{9Eb~VqaftAl<+?>Z+%6M|=Yh2aK?tPg)_2FYKJs)mmXzYa<*}|`DD~F59d5(R>DI2U zMrmpL5b8-Fep}^_kO6gAS>j+h+i!&p36zmcCId?a`h--wK<)t5N@)zr`H@0000settings.options[x].launcher !== false).length / 2), node:true, color:'#151a24', id: 'launcher'}) require('@electron/remote/main').enable(launcher.webContents) - launcher.on('close', ()=>{ - process.stdout.write = stdoutWrite - process.stderr.write = stderrWrite - if (process.log) process.log = processLog - }) tray = require('./tray')({ window: launcher, @@ -231,6 +226,25 @@ function startLauncher() { stopServer: stopServerProcess }) + launcher.on('will-close', ()=>{ + if (clientWindows.length) { + launcher.hide() + e.preventDefault() + } + }) + + launcher.on('close', (e)=>{ + if (clientWindows.length) { + launcher.hide() + e.preventDefault() + return + } + process.stdout.write = stdoutWrite + process.stderr.write = stderrWrite + if (process.log) process.log = processLog + tray.destroy() + }) + }) let processLog = process.log, diff --git a/src/server/tray.js b/src/server/tray.js index 79e63542..bb49d4a6 100644 --- a/src/server/tray.js +++ b/src/server/tray.js @@ -1,72 +1,89 @@ -var { Menu, Tray, ipcMain } = require('electron') - -var tray = null, +var {Menu, Tray, ipcMain} = require('electron'), + settings = require('./settings'), + tray = null, contextMenu = null, - hideInTray = false, isServerRunning = false -module.exports = function (options = {}) { - - ipcMain.on('start', function (e, options) { - isServerRunning = true - resetMenu(isServerRunning) - }) - - ipcMain.on('stop', function (e, options) { - isServerRunning = false - resetMenu(isServerRunning) - }) +module.exports = function(options = {}) { var icon = __dirname + '/../assets/logo.png' if (process.platform === 'darwin') { - var icon = __dirname + '/../assets/logo_16x16.png' + icon = __dirname + '/../assets/logo_tray.png' } + tray = new Tray(icon) contextMenu = Menu.buildFromTemplate([ { - label: 'Open/Hide', click: () => { - if (hideInTray) { - options.window.show() - hideInTray = false - } else { - options.window.hide() - hideInTray = true - } + label: 'Show launcher', + id: 'show', + click: ()=>{ + options.window.show() } }, { - label: 'Start/Stop', - click: () => { - if (isServerRunning) { - ipcMain.emit('stop'); - } else { - ipcMain.emit('start'); - } + label: 'Hide launcher', + id: 'hide', + click: ()=>{ + options.window.hide() } }, { - label: 'New Window', click: () => { + label: 'Start server', + id: 'start', + click: ()=>{ + ipcMain.emit('start') + } + }, + { + label: 'Stop server', + id: 'stop', + click: ()=>{ + ipcMain.emit('stop') + } + }, + { + label: 'New client window', + id: 'new', + click: ()=> { if (isServerRunning) { options.openClient() } - }, - enabled: isServerRunning + } }, - { type: 'separator' }, - { label: 'Quit', click: () => { void options.app.quit(); } }, - ]); + { + type: 'separator' + }, + { + label: 'Quit', + role: 'Quit' + }, + ]) + tray.setContextMenu(contextMenu) - tray.setToolTip('Open Stage Control') + tray.setToolTip(settings.infos.productName) + + function updateMenu(){ + contextMenu.getMenuItemById('start').visible = !isServerRunning + contextMenu.getMenuItemById('stop').visible = isServerRunning + contextMenu.getMenuItemById('show').visible = !options.window.isVisible() + contextMenu.getMenuItemById('hide').visible = options.window.isVisible() + contextMenu.getMenuItemById('new').visible = isServerRunning + tray.setContextMenu(contextMenu) + } + + ipcMain.on('start', function(e, options) { + isServerRunning = true + updateMenu() + }) + + ipcMain.on('stop', function(e, options) { + isServerRunning = false + updateMenu() + }) + + options.window.on('show', updateMenu) + options.window.on('hide', updateMenu) return tray } - -function resetMenu(isServerRunning) { - contextMenu.items.forEach(item => { - if (item.label === 'New Window') { - item.enabled = isServerRunning - } - }) - tray.setContextMenu(contextMenu) -} \ No newline at end of file From 687564cb6fd6a96368a4afdb443845bc622ae95e Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 15 Jul 2025 11:47:43 +0200 Subject: [PATCH 5439/5759] switch: fix border radius inheritance --- src/scss/widgets/basics.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 6624b9ae..388a85db 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -164,6 +164,23 @@ } } + &.layout-vertical value:first-child { + border-top-left-radius: var(--border-radius); + border-top-right-radius: var(--border-radius) + } + &.layout-vertical value:last-child { + border-bottom-left-radius: var(--border-radius); + border-bottom-right-radius: var(--border-radius) + } + &.layout-horizontal value:first-child { + border-bottom-left-radius: var(--border-radius); + border-top-left-radius: var(--border-radius) + } + &.layout-horizontal value:last-child { + border-bottom-right-radius: var(--border-radius); + border-top-right-radius: var(--border-radius) + } + &.wrap value { white-space: pre-wrap; word-break: break-all; From 01e447ac60d69b76bea544301ca416505bed1365 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 15 Jul 2025 12:36:14 +0200 Subject: [PATCH 5440/5759] menu: make popup menu inherit border radius --- src/client/widgets/basics/menu.js | 1 + src/scss/widgets/basics.scss | 42 ++++++++++++++++++++++++------- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index c35f5024..8ba4a543 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -263,6 +263,7 @@ class Menu extends MenuBase { this.container.classList.toggle('circular', layout === 'circular') this.container.classList.toggle('grid', layout === 'grid') this.container.classList.toggle('vertical', layout === 'vertical') + this.container.classList.toggle('horizontal', layout === 'horizontal') if (layout === 'grid') { var template = this.getProp('gridTemplate') || Math.round(this.values.length / 2) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 388a85db..b872b927 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -165,20 +165,20 @@ } &.layout-vertical value:first-child { - border-top-left-radius: var(--border-radius); - border-top-right-radius: var(--border-radius) + border-top-left-radius: inherit; + border-top-right-radius: inherit; } &.layout-vertical value:last-child { - border-bottom-left-radius: var(--border-radius); - border-bottom-right-radius: var(--border-radius) + border-bottom-left-radius: inherit; + border-bottom-right-radius: inherit; } &.layout-horizontal value:first-child { - border-bottom-left-radius: var(--border-radius); - border-top-left-radius: var(--border-radius) + border-bottom-left-radius: inherit; + border-top-left-radius: inherit; } &.layout-horizontal value:last-child { - border-bottom-right-radius: var(--border-radius); - border-top-right-radius: var(--border-radius) + border-bottom-right-radius: inherit; + border-top-right-radius: inherit; } &.wrap value { @@ -412,7 +412,7 @@ width:var(--size-box-w); height:var(--size-box-h); - + border-radius: inherit; display: flex; flex-direction: row; @@ -460,14 +460,38 @@ display: grid; grid-template-columns: repeat(var(--grid-columns), 1fr); + .item { + border-radius: inherit; + } } &.vertical menu { flex-direction: column; + .item:first-child { + border-top-left-radius: inherit; + border-top-right-radius: inherit; + } + .item:last-child { + border-bottom-left-radius: inherit; + border-bottom-right-radius: inherit; + } + } + &.horizontal menu { + + .item:first-child { + border-bottom-left-radius: inherit; + border-top-left-radius: inherit; + } + .item:last-child { + border-bottom-right-radius: inherit; + border-top-right-radius: inherit; + } + + } } From 1ade3d4392097197608722fd4f7e24311ea8d8b9 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Jul 2025 14:04:45 +0200 Subject: [PATCH 5441/5759] fader: make compact design honor borderRadius --- src/client/widgets/common/widget.js | 2 +- src/client/widgets/sliders/fader.js | 79 ++++++++++++++++++++++------- 2 files changed, 62 insertions(+), 19 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 1cc8383f..d2543f7e 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -1368,7 +1368,7 @@ Widget.cssVariables = [ {js: 'colorText', css: '--color-text'}, {js: 'padding', css: '--widget-padding', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, {js: 'lineWidth', css: '--line-width', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, - {js: 'borderRadius', css: '--border-radius', toCss: x=>parseFloat(x) == x ? x + 'rem' : x}, + {js: 'borderRadius', css: '--border-radius', toCss: x=>parseFloat(x) == x ? x + 'rem' : x, toJs: x=>parseFloat(x)}, {js: 'alphaFillOn', css: '--alpha-fill-on', toCss: x=>parseFloat(x), toJs: x=>parseFloat(x)}, {js: 'alphaFillOff', css: '--alpha-fill-off', toCss: x=>parseFloat(x), toJs: x=>parseFloat(x)}, {js: 'alphaStroke', css: '--alpha-stroke', toCss: x=>parseFloat(x), toJs: x=>parseFloat(x)}, diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 38d1aa34..96171ff1 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -298,24 +298,6 @@ class Fader extends Slider { if (compact) { - // stroke - if (this.cssVars.lineWidth) { - - this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.strokeStyle = this.cssVars.colorStroke - - this.ctx.beginPath() - this.ctx.moveTo(0, 0) - this.ctx.lineTo(width, 0) - this.ctx.lineTo(width, height) - this.ctx.lineTo(0, height) - this.ctx.closePath() - this.ctx.lineWidth = 2 * this.cssVars.lineWidth - this.ctx.stroke() - - } - - // flat knob this.ctx.globalAlpha = 1 @@ -326,6 +308,67 @@ class Fader extends Slider { this.ctx.rect(this.gaugePadding, d, width - this.gaugePadding * 2, knobHeight) this.ctx.fill() + + // stroke + if (this.cssVars.lineWidth) { + + this.ctx.globalAlpha = this.cssVars.alphaStroke + this.ctx.strokeStyle = this.cssVars.colorStroke + + let x, y, w, h, + rad = PXSCALE * this.cssVars.borderRadius + + if (rad > 0) { + // bordeRadius: clip gauge & knob + x = this.gaugePadding + y = this.gaugePadding + w = width - this.gaugePadding * 2 + h = height - this.gaugePadding * 2 + this.ctx.beginPath() + this.ctx.moveTo(x + rad, y) + this.ctx.arcTo(x + w, y, x + w, y + h, rad) + this.ctx.arcTo(x + w, y + h, x, y + h, rad) + this.ctx.arcTo(x, y + h, x, y, rad) + this.ctx.arcTo(x, y, x + w, y, rad) + this.ctx.closePath() + + var tmpOp = this.ctx.globalCompositeOperation + this.ctx.globalCompositeOperation = 'destination-in' + this.ctx.globalAlpha = 1 + this.ctx.fill() + this.ctx.globalCompositeOperation = tmpOp + this.ctx.globalAlpha = this.cssVars.alphaStroke + } + + + // draw stroke + x = 0.5 * this.cssVars.lineWidth + y = 0.5 * this.cssVars.lineWidth + w = width - this.cssVars.lineWidth + h = height - this.cssVars.lineWidth + + this.ctx.beginPath() + if (rad > 0) { + this.ctx.moveTo(x + rad, y) + this.ctx.arcTo(x + w, y, x + w, y + h, rad) + this.ctx.arcTo(x + w, y + h, x, y + h, rad) + this.ctx.arcTo(x, y + h, x, y, rad) + this.ctx.arcTo(x, y, x + w, y, rad) + } else { + this.ctx.moveTo(x, y) + this.ctx.lineTo(x + w, y) + this.ctx.lineTo(x + w, y + h) + this.ctx.lineTo(x, y + h) + } + + this.ctx.closePath() + this.ctx.lineWidth = this.cssVars.lineWidth + this.ctx.stroke() + + } + + + this.clearRect = [0, 0, width, height] From 63cfcb1b1d81a5cf509f5617199cb106e714cffd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Jul 2025 14:20:50 +0200 Subject: [PATCH 5442/5759] fader: compact radius tweaks --- src/client/widgets/sliders/fader.js | 50 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 96171ff1..aae63baa 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -308,6 +308,30 @@ class Fader extends Slider { this.ctx.rect(this.gaugePadding, d, width - this.gaugePadding * 2, knobHeight) this.ctx.fill() + let x, y, w, h, + rad = PXSCALE * this.cssVars.borderRadius + + // border radius: clip gauge & knob + if (rad > 0) { + x = this.gaugePadding + y = this.gaugePadding + w = width - this.gaugePadding * 2 + h = height - this.gaugePadding * 2 + this.ctx.beginPath() + this.ctx.moveTo(x + rad, y) + this.ctx.arcTo(x + w, y, x + w, y + h, rad) + this.ctx.arcTo(x + w, y + h, x, y + h, rad) + this.ctx.arcTo(x, y + h, x, y, rad) + this.ctx.arcTo(x, y, x + w, y, rad) + this.ctx.closePath() + + var tmpOp = this.ctx.globalCompositeOperation + this.ctx.globalCompositeOperation = 'destination-in' + this.ctx.fillStyle = '#ffffff' + this.ctx.globalAlpha = 1 + this.ctx.fill() + this.ctx.globalCompositeOperation = tmpOp + } // stroke if (this.cssVars.lineWidth) { @@ -315,32 +339,6 @@ class Fader extends Slider { this.ctx.globalAlpha = this.cssVars.alphaStroke this.ctx.strokeStyle = this.cssVars.colorStroke - let x, y, w, h, - rad = PXSCALE * this.cssVars.borderRadius - - if (rad > 0) { - // bordeRadius: clip gauge & knob - x = this.gaugePadding - y = this.gaugePadding - w = width - this.gaugePadding * 2 - h = height - this.gaugePadding * 2 - this.ctx.beginPath() - this.ctx.moveTo(x + rad, y) - this.ctx.arcTo(x + w, y, x + w, y + h, rad) - this.ctx.arcTo(x + w, y + h, x, y + h, rad) - this.ctx.arcTo(x, y + h, x, y, rad) - this.ctx.arcTo(x, y, x + w, y, rad) - this.ctx.closePath() - - var tmpOp = this.ctx.globalCompositeOperation - this.ctx.globalCompositeOperation = 'destination-in' - this.ctx.globalAlpha = 1 - this.ctx.fill() - this.ctx.globalCompositeOperation = tmpOp - this.ctx.globalAlpha = this.cssVars.alphaStroke - } - - // draw stroke x = 0.5 * this.cssVars.lineWidth y = 0.5 * this.cssVars.lineWidth From bf1e4ec2e75af40f425e8878976ac6d15500e226 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Jul 2025 14:23:20 +0200 Subject: [PATCH 5443/5759] fader: limit radius --- src/client/widgets/sliders/fader.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index aae63baa..c8658ab5 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -313,6 +313,7 @@ class Fader extends Slider { // border radius: clip gauge & knob if (rad > 0) { + rad = Math.min(Math.min(height, width) / 2, rad) x = this.gaugePadding y = this.gaugePadding w = width - this.gaugePadding * 2 From 9176e0caa2afd45012b6b1fe3e086965e1cabfcc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Jul 2025 14:30:17 +0200 Subject: [PATCH 5444/5759] log: border radius update --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b072ee7..108df21c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - matrix: prevent error when `quantity` is invalid - multixy/xy: send value when setting `spring` to `true` (only if current value is different than spring value) + - switch/menu/fader: more consistent rendering when `borderRadius` is set - widgets - multixy/xy: add `stepsX` and `stepsY` properties From f29be8cc75bb73881d4e8f7ff15a2a260dbc9c7a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Jul 2025 16:03:24 +0200 Subject: [PATCH 5445/5759] docs: update --- resources/docs/docs/widgets/properties-reference.md | 2 ++ src/client/widgets/sliders/fader.js | 1 + 2 files changed, 3 insertions(+) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 9898b64f..9abc2a70 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -884,6 +884,7 @@ | property | type |default | description | | --- | --- | --- | --- | + |
            borderRadius#
            | `number` | "auto" | Border radius expressed as a number (same for all corners, applies only for compact design). | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | |
            design#
            | `string` | "default" | Design style

            Choices: `default`, `round`, `compact` | |
            knobSize#
            | `number` | "auto" | Fader knob size | @@ -985,6 +986,7 @@ | property | type |default | description | | --- | --- | --- | --- | + |
            borderRadius#
            | `number` | "auto" | Border radius expressed as a number (same for all corners, applies only for compact design). | |
            css#
            | `string` | "" | CSS rules. See documentation.

            Some style-related properties can be set or read from css using css variables:
            - `--color-background`: `colorBg`
            - `--color-widget`: `colorWidget`
            - `--color-fill`: `colorFill`
            - `--color-stroke`: `colorStroke`
            - `--color-text`: `colorText`
            - `--widget-padding`: `padding`
            - `--line-width`: `lineWidth`
            - `--border-radius`: `borderRadius`
            - `--alpha-fill-on`: `alphaFillOn`
            - `--alpha-fill-off`: `alphaFillOff`
            - `--alpha-stroke`: `alphaStroke`
            - `--alpha-pips`: `alphaPips`
            - `--alpha-pips-text`: `alphaPipsText`

            Canvas-based widget have their computed width and height available as css variables (read-only):
            - `--widget-width`
            - `--widget-height` | |
            design#
            | `string` | "default" | Design style

            Choices: `default`, `round`, `compact` | |
            knobSize#
            | `number` | "auto" | Fader knob size | diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index c8658ab5..ed2cc4af 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -62,6 +62,7 @@ class Fader extends Slider { }) defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched and released. See documentation.',]} + defaults.style.borderRadius= {type: 'number', value: 'auto', help: 'Border radius expressed as a number (same for all corners, applies only for compact design).'} return defaults From 14f8a0bf29e98d5a55fb823c061320b6bf5cbfb5 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Jul 2025 20:02:30 +0200 Subject: [PATCH 5446/5759] midi: allow arm64/darwin midi --- src/server/midi.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/server/midi.js b/src/server/midi.js index de2ffd22..8146f7c4 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -13,9 +13,14 @@ var pythonOptions = { } var midiBinaries = { - linux: 'osc-midi-linux', - darwin: 'osc-midi-osx', - win32: 'osc-midi-windows.exe' + x64: { + linux: 'osc-midi-linux', + darwin: 'osc-midi-osx', + win32: 'osc-midi-windows.exe' + }, + arm64:{ + darwin: 'osc-midi-osx', + } } var expectMidiBinaries = false, @@ -25,8 +30,8 @@ try { } catch(e) {} var pythonPathOverride -if (process.arch === 'x64' && midiBinaries[process.platform]) { - var p = path.resolve(__dirname, midiBinaries[process.platform]) +if (midiBinaries[process.arch] && midiBinaries[process.arch][process.platform]) { + var p = path.resolve(__dirname,midiBinaries[process.arch][process.platform]) if (fs.existsSync(p)) { pythonPathOverride = p } else if (expectMidiBinaries) { From f119189fe1d989dd8f3f30767066206c30a48bf0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 16 Jul 2025 23:44:09 +0200 Subject: [PATCH 5447/5759] package: silicon bins ! --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e77bad3..2f7c3412 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ before_deploy: - export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json) - npm run build-docs - npm run package -- --all + - PLATFORM=darwin;ARCH=arm64; npm run package - npm run package-node - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-linux-x64/resources/app/server/ - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-linux && chmod +x osc-midi-linux && echo "true" > osc-midi.json @@ -35,8 +36,8 @@ before_deploy: - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-windows.exe && chmod +x osc-midi-windows.exe && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-x64/open-stage-control.app/Contents/Resources/app/server - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json - # - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-arm64/open-stage-control.app/Contents/Resources/app/server - # - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json + - cd $TRAVIS_BUILD_DIR/dist/open-stage-control-darwin-arm64/open-stage-control.app/Contents/Resources/app/server + - wget https://github.com/jean-emmanuel/open-stage-control-midi/releases/latest/download/osc-midi-osx && chmod +x osc-midi-osx && echo "true" > osc-midi.json - cd $TRAVIS_BUILD_DIR - mkdir dist/packages - npm run deb64 @@ -48,7 +49,7 @@ before_deploy: - mv open-stage-control-linux-x64/*.rpm packages/ - mv open-stage-control-linux-x64 open-stage-control_${VERSION}_linux-x64 - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-x64.zip open-stage-control-darwin-x64/open-stage-control.app - # - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-arm64.zip open-stage-control-darwin-arm64/open-stage-control.app + - zip -q -r --symlinks packages/open-stage-control_${VERSION}_osx-arm64.zip open-stage-control-darwin-arm64/open-stage-control.app - zip -q -r packages/open-stage-control_${VERSION}_node.zip open-stage-control_${VERSION}_node - zip -q -r packages/open-stage-control_${VERSION}_win32-x64.zip open-stage-control_${VERSION}_win32-x64 - zip -q -r packages/open-stage-control_${VERSION}_linux-x64.zip open-stage-control_${VERSION}_linux-x64 From 374ef680284d5868a3b6307fb8e86a17acc79a6d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 17 Jul 2025 10:18:26 +0200 Subject: [PATCH 5448/5759] log: silicon builds --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 108df21c..11d9f676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ - widgets - multixy/xy: add `stepsX` and `stepsY` properties +- misc + - native silicon buids (osx-arm64) + ## 1.29.5 - bug fixes From 015736486c22d1edf6c11e02912ca2be0a076ba1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Jul 2025 19:02:41 +0200 Subject: [PATCH 5449/5759] tray: only quit if server is stopped; hide in tray when starting minimzed --- src/launcher/toolbar.js | 2 +- src/server/electron-window.js | 7 +------ src/server/index.js | 27 ++++++++++++++++++++------- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/src/launcher/toolbar.js b/src/launcher/toolbar.js index ee623b60..fa3208d4 100644 --- a/src/launcher/toolbar.js +++ b/src/launcher/toolbar.js @@ -116,7 +116,7 @@ menu.append(new MenuItem({type: 'submenu' , label: 'Launcher', submenu: [ } }), new MenuItem({ - label: 'Start minimized', + label: 'Start hidden (in tray)', type: 'checkbox', checked: settings.remote.read('startMinimized'), click: (e)=>{ diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 77786bc0..b0231faa 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -61,13 +61,8 @@ module.exports = function(options={}) { window.setBounds(geometry) window.once('ready-to-show', ()=>{ - window.show() if (options.id === 'launcher' && settings.read('startMinimized')) { - if (process.platform === 'darwin') { - window.hide() - } else { - window.minimize() - } + window.hide() } }) diff --git a/src/server/index.js b/src/server/index.js index 7c74cca6..c222b065 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -177,20 +177,27 @@ function stopServerProcess() { if (settings.read('no-gui')) { if (serverProcess) serverProcess.kill('SIGINT') + serverProcess = null return } - var toClose = [...clientWindows].filter(w=>w && !w.isDestroyed()), + var toClose = clientWindows.filter(w=>w && !w.isDestroyed()), closed = 0 - if (toClose.length === 0) serverProcess.kill('SIGINT') + if (toClose.length === 0) { + serverProcess.kill('SIGINT') + serverProcess = null + } for (var w of toClose) { w.on('closed', ()=>{ closed++ if (closed === toClose.length) { clientWindows = [] - if (serverProcess) serverProcess.kill('SIGINT') + if (serverProcess) { + serverProcess.kill('SIGINT') + serverProcess = null + } } }) w.close() @@ -227,14 +234,14 @@ function startLauncher() { }) launcher.on('will-close', ()=>{ - if (clientWindows.length) { + if (clientWindows.some(w=>w && !w.isDestroyed())) { launcher.hide() e.preventDefault() } }) launcher.on('close', (e)=>{ - if (clientWindows.length) { + if (clientWindows.some(w=>w && !w.isDestroyed()) && serverProcess) { launcher.hide() e.preventDefault() return @@ -345,13 +352,19 @@ if (settings.read('docs')) { app.on('ready', ()=>{ process.on('SIGINT', function() { - if (serverProcess) serverProcess.kill('SIGINT') + if (serverProcess) { + serverProcess.kill('SIGINT') + serverProcess = null + } process.exit(0) }) }) app.on('before-quit',()=>{ - if (serverProcess) serverProcess.kill('SIGINT') + if (serverProcess) { + serverProcess.kill('SIGINT') + serverProcess = null + } }) From 65ebe938de99f5aae31c4507cbc91a4d81319bc8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Jul 2025 19:11:03 +0200 Subject: [PATCH 5450/5759] docs: tray icon menu --- resources/docs/docs/user-interface/launcher.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/user-interface/launcher.md b/resources/docs/docs/user-interface/launcher.md index 13640d63..c3e356de 100644 --- a/resources/docs/docs/user-interface/launcher.md +++ b/resources/docs/docs/user-interface/launcher.md @@ -12,8 +12,10 @@ - Clear: clear console - Autoscroll: enable/disable console autoscroll - Check for update at startup: enable/disable this feature -- Autostart: start the server automatically when launcher is started -- Always on top: pin the launcher window above other the windows +- Launcher + - Autostart: start the server automatically when launcher is started + - Start hidden: starts the launcher hidden in tray + - Always on top: pin the launcher window above other the windows The "play/stop" icon can be used to start and stop the server without opening the menu. @@ -25,6 +27,10 @@ Each server option is displayed here. When clicking on an option's label, a shor The console displays various information, runtime errors and server debug messages. +## Tray icon + +The launcher comes with a system tray icon that keeps the launcher alive when closed if there is at least one client window opened or if the server is running. Its context menu can be used to toggle the launcher's visibility and access some of the launcher's menu actions. + ## Keyboard shortcuts === "Linux" From 89b82d3c9b869432149bc486219897971c1318bf Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Jul 2025 19:12:49 +0200 Subject: [PATCH 5451/5759] log: tray menu should have wait for 1.30 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11d9f676..fc6ca7b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.29.7 + +- launcher + - add tray icon and menu (landed in 1.29.6 accidentally) + + ## 1.29.6 - bug fixes From 5cf59ea97ce80abfe64c361b2396f64764946651 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Jul 2025 19:24:50 +0200 Subject: [PATCH 5452/5759] tray: make it optional and disabled by default --- src/launcher/toolbar.js | 26 +++++++++++++++++--------- src/server/electron-window.js | 6 +++++- src/server/index.js | 35 ++++++++++++++++++++--------------- 3 files changed, 42 insertions(+), 25 deletions(-) diff --git a/src/launcher/toolbar.js b/src/launcher/toolbar.js index fa3208d4..15a2fcd4 100644 --- a/src/launcher/toolbar.js +++ b/src/launcher/toolbar.js @@ -115,14 +115,6 @@ menu.append(new MenuItem({type: 'submenu' , label: 'Launcher', submenu: [ remote.getCurrentWindow().setAlwaysOnTop(e.checked) } }), - new MenuItem({ - label: 'Start hidden (in tray)', - type: 'checkbox', - checked: settings.remote.read('startMinimized'), - click: (e)=>{ - settings.remote.write('startMinimized', e.checked) - } - }), new MenuItem({ label: 'Always on top', type: 'checkbox', @@ -131,7 +123,23 @@ menu.append(new MenuItem({type: 'submenu' , label: 'Launcher', submenu: [ settings.remote.write('alwaysOnTop', e.checked) remote.getCurrentWindow().setAlwaysOnTop(e.checked) } - }) + }), + new MenuItem({ + label: 'Use tray icon', + type: 'checkbox', + checked: settings.remote.read('useTray'), + click: (e)=>{ + settings.remote.write('useTray', e.checked) + } + }), + new MenuItem({ + label: 'Start minimized', + type: 'checkbox', + checked: settings.remote.read('startMinimized'), + click: (e)=>{ + settings.remote.write('startMinimized', e.checked) + } + }), ]})) menu.append(new MenuItem({ type: 'separator' diff --git a/src/server/electron-window.js b/src/server/electron-window.js index b0231faa..3808dedb 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -62,7 +62,11 @@ module.exports = function(options={}) { window.once('ready-to-show', ()=>{ if (options.id === 'launcher' && settings.read('startMinimized')) { - window.hide() + if (settings.read('useTray') || process.platform === 'darwin') { + window.hide() + } else { + window.minimize() + } } }) diff --git a/src/server/index.js b/src/server/index.js index c222b065..cb530568 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -225,23 +225,28 @@ function startLauncher() { launcher = require('./electron-window')({address:address, shortcuts:dev, width:680, height:(40 + 200 + 20 + 24 * Object.keys(settings.options).filter(x=>settings.options[x].launcher !== false).length / 2), node:true, color:'#151a24', id: 'launcher'}) require('@electron/remote/main').enable(launcher.webContents) - tray = require('./tray')({ - window: launcher, - openClient: openClient, - app: app, - startServer: startServerProcess, - stopServer: stopServerProcess - }) + if (settings.read('useTray')) { + + tray = require('./tray')({ + window: launcher, + openClient: openClient, + app: app, + startServer: startServerProcess, + stopServer: stopServerProcess + }) + + launcher.on('will-close', ()=>{ + if (clientWindows.some(w=>w && !w.isDestroyed())) { + launcher.hide() + e.preventDefault() + } + }) + + } - launcher.on('will-close', ()=>{ - if (clientWindows.some(w=>w && !w.isDestroyed())) { - launcher.hide() - e.preventDefault() - } - }) launcher.on('close', (e)=>{ - if (clientWindows.some(w=>w && !w.isDestroyed()) && serverProcess) { + if (tray && clientWindows.some(w=>w && !w.isDestroyed()) && serverProcess) { launcher.hide() e.preventDefault() return @@ -249,7 +254,7 @@ function startLauncher() { process.stdout.write = stdoutWrite process.stderr.write = stderrWrite if (process.log) process.log = processLog - tray.destroy() + if (tray) tray.destroy() }) }) From 28c0877dc9d75cb0617403b7e7853d17eb0aedf1 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Jul 2025 19:34:30 +0200 Subject: [PATCH 5453/5759] launcher: add hide action if using tray --- src/launcher/toolbar.js | 10 ++++++++++ src/server/electron-window.js | 3 +++ src/server/index.js | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/src/launcher/toolbar.js b/src/launcher/toolbar.js index 15a2fcd4..22a8de25 100644 --- a/src/launcher/toolbar.js +++ b/src/launcher/toolbar.js @@ -157,6 +157,16 @@ menu.append(new MenuItem({ openDocs() } })) + +if (settings.remote.read('useTray')) { + menu.append(new MenuItem({ + label: 'Hide', + click: ()=>{ + ipcRenderer.send('hide') + } + })) +} + menu.append(new MenuItem({ role: 'Quit' })) diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 3808dedb..18a7caad 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -65,8 +65,11 @@ module.exports = function(options={}) { if (settings.read('useTray') || process.platform === 'darwin') { window.hide() } else { + window.show() window.minimize() } + } else { + window.show() } }) diff --git a/src/server/index.js b/src/server/index.js index cb530568..f15ec7c6 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -303,6 +303,13 @@ function startLauncher() { showQRCode() }) + + + ipcMain.on('hide',function(e, options){ + + launcher.hide() + + }) } From 0de9f239c8d7c6a874c72ac606398b773f565220 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 22 Jul 2025 19:58:29 +0200 Subject: [PATCH 5454/5759] docs: tray things --- CHANGELOG.md | 2 +- resources/docs/docs/user-interface/launcher.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc6ca7b8..de8395e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 1.29.7 - launcher - - add tray icon and menu (landed in 1.29.6 accidentally) + - add tray icon and menu (landed in 1.29.6 accidentally), disabled by default (can be enabled from the launcher's menu) ## 1.29.6 diff --git a/resources/docs/docs/user-interface/launcher.md b/resources/docs/docs/user-interface/launcher.md index c3e356de..304aa33b 100644 --- a/resources/docs/docs/user-interface/launcher.md +++ b/resources/docs/docs/user-interface/launcher.md @@ -14,12 +14,13 @@ - Check for update at startup: enable/disable this feature - Launcher - Autostart: start the server automatically when launcher is started - - Start hidden: starts the launcher hidden in tray - Always on top: pin the launcher window above other the windows + - Use tray: enable tray icon and menu + - Start minimized: starts the launcher minimized (or hidden in tray) The "play/stop" icon can be used to start and stop the server without opening the menu. -## 2. Configuration form +## 2. Configuration form Each server option is displayed here. When clicking on an option's label, a short help will be printed in the console. When an option is not correctly set, its label will turn to orange and an error message will be printed in the console. @@ -29,7 +30,7 @@ The console displays various information, runtime errors and server debug messag ## Tray icon -The launcher comes with a system tray icon that keeps the launcher alive when closed if there is at least one client window opened or if the server is running. Its context menu can be used to toggle the launcher's visibility and access some of the launcher's menu actions. +If `Use tray` is set, the launcher comes with a system tray icon that keeps the launcher alive when closed if there is at least one client window opened or if the server is running. Its context menu can be used to toggle the launcher's visibility and access some of the launcher's menu actions. ## Keyboard shortcuts From 83fd78e322881102de82dbabe2ff9a078631a1e3 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 23 Jul 2025 08:17:09 +0200 Subject: [PATCH 5455/5759] tray: fix (?) quit menu action --- src/server/tray.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/tray.js b/src/server/tray.js index bb49d4a6..1d150eb9 100644 --- a/src/server/tray.js +++ b/src/server/tray.js @@ -55,7 +55,9 @@ module.exports = function(options = {}) { }, { label: 'Quit', - role: 'Quit' + click: ()=>{ + options.app.quit() + } }, ]) From 84bf487169777c812e34bd2bb7f4dffae38f8f8c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 23 Jul 2025 08:33:30 +0200 Subject: [PATCH 5456/5759] package: 1.29.7 & doc update --- package.json | 2 +- .../docs/docs/getting-started/introduction.md | 19 +++++++++++---- .../getting-started/running-from-sources.md | 23 +++++++++++++++---- 3 files changed, 34 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index d60c7d7d..7e352089 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.6", + "version": "1.29.7", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index b1a9171d..9c82bfd4 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -25,7 +25,7 @@ iOS devices must be of version `10.3` or higher. ## Installation -??? example "Linux 64bit" +=== "Linux 64bit" **Ubuntu / Debian** @@ -41,19 +41,28 @@ iOS devices must be of version `10.3` or higher. - Extract it in the location of your choice - The file inside it named `open-stage-control` is the app's main executable -??? example "Mac 64bit" +=== "Mac 64bit" - - [Download](/download) `open-stage-control-VERSION-osx.zip` + - [Download](/download) `open-stage-control-VERSION-osx-x64.zip` - Extract it in the location of your choice - Drag `open-stage-control.app` in your `Application` folder -??? example "Windows 64bit" + +=== "Mac Silicon (arm)" + + - [Download](/download) `open-stage-control-VERSION-osx-arm.zip` + - Extract it in the location of your choice + - Drag `open-stage-control.app` in your `Application` folder + + See [https://disable-gatekeeper.github.io/](https://disable-gatekeeper.github.io/) to workaround the "damaged and can't be opened" error. + +=== "Windows 64bit" - [Download](/download) `open-stage-control-VERSION-win32-x64.zip` - Extract it in the location of your choice - The file inside it named `open-stage-control.exe` is the app's main executable -??? example "Other systems" +=== "Other systems" - Install [Node.js](https://nodejs.org/en/download/package-manager/) - Download `open-stage-control-VERSION-node.zip` diff --git a/resources/docs/docs/getting-started/running-from-sources.md b/resources/docs/docs/getting-started/running-from-sources.md index aab53eba..20951cc3 100644 --- a/resources/docs/docs/getting-started/running-from-sources.md +++ b/resources/docs/docs/getting-started/running-from-sources.md @@ -87,8 +87,23 @@ This will build the app in `dist/open-stage-control-PLATFORM-ARCH`. Building the app for windows from a linux system requires wine to be installed. -## Debian/Ubuntu installer +## Debian / Ubuntu and RPM installers -``` -npm run deb64 -``` +=== "Debian / Ubuntu" + + ``` + npm run deb64 + ``` + +=== "RPM" + + ``` + npm run rpm + ``` + + +## Build script on Mac Silicon + +This user-contributed script can be used to build open stage control on recent Macs: + +https://github.com/rewgs/osc-as From f38bcb9ea05f9de684852ede94a56f4c7726928b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 5 Aug 2025 15:31:12 +0200 Subject: [PATCH 5457/5759] client: add title client option --- CHANGELOG.md | 5 +++++ package.json | 2 +- resources/docs/docs/client-options.md | 1 + src/client/globals.js | 2 +- src/client/ipc/callbacks.js | 2 ++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de8395e9..6872f2e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.29.8 + +- client + - add `title` client option + ## 1.29.7 - launcher diff --git a/package.json b/package.json index 7e352089..53e3d61f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.7", + "version": "1.29.8", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/resources/docs/docs/client-options.md b/resources/docs/docs/client-options.md index 41b046ae..d653890f 100644 --- a/resources/docs/docs/client-options.md +++ b/resources/docs/docs/client-options.md @@ -18,6 +18,7 @@ Client options can be set either with the server's `--client-options` option, or | altTraversing | 1 / 0 | 0 | set to 1 to enable an alternative traversing behavior for toggle buttons (traversing gestures on toggle buttons will change their values in only one way depending on the first touched button's state) | | virtualKeyboard | 1 / 0 | 0 | (desktop only) set to 1 to enable the virtual keyboard by default | | notifications | 1 / 0 | 1 | set to 0 to hide notifications by default | +| title | string | '' | replace window title | Example: diff --git a/src/client/globals.js b/src/client/globals.js index 4503ceee..c5213fc4 100644 --- a/src/client/globals.js +++ b/src/client/globals.js @@ -43,4 +43,4 @@ window.JSON.parseFlex = require('json5').parse window.DOM = require('./dom') -window.TITLE = PACKAGE.productName + ' v' + PACKAGE.version +window.TITLE = ENV.title || (PACKAGE.productName + ' v' + PACKAGE.version) diff --git a/src/client/ipc/callbacks.js b/src/client/ipc/callbacks.js index b6dff81f..e8134030 100644 --- a/src/client/ipc/callbacks.js +++ b/src/client/ipc/callbacks.js @@ -155,6 +155,8 @@ module.exports = { setTitle: function(data) { + if (ENV.title) return + document.title = TITLE + (data ? ' (' + data + ')' : '') }, From 5b9bcd63ce58c568e9deb8b46d0877eca13a9a74 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 11 Aug 2025 13:52:31 +0200 Subject: [PATCH 5458/5759] firefox: `onTouch` error when the cursor goes outside the page --- CHANGELOG.md | 3 +++ src/client/widgets/containers/panel.js | 3 ++- src/client/widgets/pads/canvas.js | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6872f2e1..f634f95c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.29.8 +- bug fixes + - firefox: `onTouch` error when the cursor goes outside the page + - client - add `title` client option diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index f4e51441..fdb8e93d 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -362,7 +362,8 @@ class Panel extends Container() { var event = {...e}, w - event.targetName = event.target ? event.target.getAttribute('name') : '' + // NOTE: in firefox target.getAttribute is undefined when the cursor is outside the page + event.targetName = event.target && event.target.getAttribute ? event.target.getAttribute('name') : '' event.targetTagName = event.target ? event.target.tagName : '' w = widgetManager.getWidgetByElement(event.target) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index ce0d96c6..123c913c 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -114,7 +114,8 @@ class CanvasWidget extends Canvas { var event = {...e} delete event.firstTarget - event.targetName = event.target ? event.target.getAttribute('name') : '' + // NOTE: in firefox target.getAttribute is undefined when the cursor is outside the page + event.targetName = event.target && event.target.getAttribute ? event.target.getAttribute('name') : '' event.targetTagName = event.target ? event.target.tagName : '' var w = widgetManager.getWidgetByElement(event.target) From 7d38418a66083aa2afc69615ed71f330798d8019 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 12 Aug 2025 09:20:26 +0200 Subject: [PATCH 5459/5759] dropdown: fix label init, make it dynamic prop, refresh it when values are parsed --- CHANGELOG.md | 1 + src/client/widgets/basics/dropdown.js | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f634f95c..483f28bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - firefox: `onTouch` error when the cursor goes outside the page + - dropdown: label not initialized until a value is set - client - add `title` client option diff --git a/src/client/widgets/basics/dropdown.js b/src/client/widgets/basics/dropdown.js index bb1a2769..36a99e66 100644 --- a/src/client/widgets/basics/dropdown.js +++ b/src/client/widgets/basics/dropdown.js @@ -83,6 +83,8 @@ class Dropdown extends MenuBase { `) } + this.setValue(this.value) + } setValue(v,options={}) { @@ -120,7 +122,9 @@ class Dropdown extends MenuBase { this.parseValues() this.setValue(this.value) return - + case 'label': + this.setLabel() + return } return ret @@ -130,7 +134,8 @@ class Dropdown extends MenuBase { } Dropdown.dynamicProps = Dropdown.prototype.constructor.dynamicProps.concat( - 'values' + 'values', + 'label' ) From c450c6133cc272a9871fc783926de9c0e6062d46 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 12 Aug 2025 14:31:18 +0200 Subject: [PATCH 5460/5759] editor: fix colorpicker dragend handler (dragend doesn't bubble up anymore, it needs to be caught for all 3 subwidgets) --- CHANGELOG.md | 1 + src/client/ui/ui-colorpicker.js | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 483f28bd..a109bdf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - firefox: `onTouch` error when the cursor goes outside the page - dropdown: label not initialized until a value is set + - editor: regression (1.29.0) preventing color changes made with the color to be undoable unless validaed with the enter key - client - add `title` client option diff --git a/src/client/ui/ui-colorpicker.js b/src/client/ui/ui-colorpicker.js index 43e3cbbd..7e4c851b 100644 --- a/src/client/ui/ui-colorpicker.js +++ b/src/client/ui/ui-colorpicker.js @@ -37,10 +37,13 @@ class ColorPicker extends UiWidget { this.trigger('change', {preventHistory: true}) }) - this.rgb.on('dragend', (e)=>{ + var dragEndCb = (e)=>{ this.value = chroma(this.rgb.value).hex() this.trigger('change') - }) + } + this.rgb.pad.on('dragend', dragEndCb) + this.rgb.hue.on('dragend', dragEndCb) + this.rgb.alpha.on('dragend', dragEndCb) this.opened = 0 From 3b792d24312ed8420bb4878da35b475110348c28 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 13 Aug 2025 22:21:43 +0200 Subject: [PATCH 5461/5759] rgb: fix long standing (presumably) issue with touchstate, affecting editor' colorpicker as well --- CHANGELOG.md | 2 ++ src/client/widgets/pads/rgb.js | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a109bdf2..4fb0837c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - firefox: `onTouch` error when the cursor goes outside the page - dropdown: label not initialized until a value is set - editor: regression (1.29.0) preventing color changes made with the color to be undoable unless validaed with the enter key + - editor: color picker interaction issue in near #000000 + - rgb: incoming values were not queued when during user interaction - client - add `title` client option diff --git a/src/client/widgets/pads/rgb.js b/src/client/widgets/pads/rgb.js index 9576814a..6e5d1369 100644 --- a/src/client/widgets/pads/rgb.js +++ b/src/client/widgets/pads/rgb.js @@ -110,9 +110,6 @@ module.exports = class Rgb extends Widget { initValue[3] = this.getProp('rangeAlpha').min } - - touchstate(this, {element: this.widget, multitouch: true, ignoreCustomBindings: true}) - if (this.getProp('spring')) { this.on('dragend', (e)=>{ @@ -124,6 +121,7 @@ module.exports = class Rgb extends Widget { } + touchstate(this, {element: this.widget, multitouch: true, ignoreCustomBindings: false}) this.hsb = {h:0,s:0,b:0} From d70df6fb6db52f50eee2ef8b00306c9316bb2752 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Aug 2025 09:02:43 +0200 Subject: [PATCH 5462/5759] docs: update --- resources/docs/docs/widgets/properties-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 9abc2a70..3fb510b9 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -135,7 +135,7 @@ | property | type |default | description | | --- | --- | --- | --- | - | | `string`|
            `boolean` | "auto" | Displayed text (defaults to current value). Keywords `%key` and `%value` will be replaced by the widget's selected key/value. | + | | `string`|
            `boolean` | "auto" | Displayed text (defaults to current value). Keywords `%key` and `%value` will be replaced by the widget's selected key/value. | | | `boolean` | "true" | Set to `false` to hide the dropdown icon | | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

            Choices: `center`, `left`, `right` | From 7fd668bdf93756ef97b5e00ee2d3d8aecb3470fd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Aug 2025 09:08:00 +0200 Subject: [PATCH 5463/5759] travis: focal fails now --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2f7c3412..c7985b53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ anHsudo: required language: node_js -dist: focal +dist: jammy node_js: - "16" before_install: From f2189e29ce065cb86dc3bbdb9fd53e621d458dbd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 14 Aug 2025 14:13:33 +0200 Subject: [PATCH 5464/5759] firefox: better fix for out of page events --- src/client/events/utils.js | 2 +- src/client/widgets/containers/panel.js | 3 +-- src/client/widgets/pads/canvas.js | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/client/events/utils.js b/src/client/events/utils.js index e1260bed..f824ebf0 100644 --- a/src/client/events/utils.js +++ b/src/client/events/utils.js @@ -10,7 +10,7 @@ module.exports = { return { - target: e.target, + target: e.target === document ? null : e.target, // firefox passes document when outside the page firstTarget: null, offsetX: e.offsetX, offsetY: e.offsetY, diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index fdb8e93d..f4e51441 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -362,8 +362,7 @@ class Panel extends Container() { var event = {...e}, w - // NOTE: in firefox target.getAttribute is undefined when the cursor is outside the page - event.targetName = event.target && event.target.getAttribute ? event.target.getAttribute('name') : '' + event.targetName = event.target ? event.target.getAttribute('name') : '' event.targetTagName = event.target ? event.target.tagName : '' w = widgetManager.getWidgetByElement(event.target) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index 123c913c..ce0d96c6 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -114,8 +114,7 @@ class CanvasWidget extends Canvas { var event = {...e} delete event.firstTarget - // NOTE: in firefox target.getAttribute is undefined when the cursor is outside the page - event.targetName = event.target && event.target.getAttribute ? event.target.getAttribute('name') : '' + event.targetName = event.target ? event.target.getAttribute('name') : '' event.targetTagName = event.target ? event.target.tagName : '' var w = widgetManager.getWidgetByElement(event.target) From 4cde746a74156dfe570999bb474cce886148d471 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Aug 2025 22:47:13 +0200 Subject: [PATCH 5465/5759] server: fix resolving absolute file urls containing the remote-root path --- CHANGELOG.md | 6 ++++++ src/server/server.js | 12 ++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fb0837c..70c2cc19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.29.9 + +- bug fixes + - server: fix resolving absolute file urls containing the remote-root path + + ## 1.29.8 - bug fixes diff --git a/src/server/server.js b/src/server/server.js index 604a825b..692f7b33 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -43,9 +43,11 @@ if (settings.read('client-options')) { } } -var resolveDirs = theme.files.map(x=>path.dirname(x)) +var resolveDirs = theme.files.map(x=>path.dirname(x)), + remoteRoot = settings.read('remote-root') + resolveDirs = resolveDirs.filter((x, index)=>{return resolveDirs.indexOf(x) === index}) -resolveDirs.push(settings.read('remote-root') || '') // remote-root / absolute +resolveDirs.push(remoteRoot || '') // remote-root / absolute function resolvePath(url, clientId) { @@ -60,6 +62,12 @@ function resolvePath(url, clientId) { for (var i = sessionPath ? -1 : 0; i < resolveDirs.length; i++) { var p = i === -1 ? sessionPath : resolveDirs[i] + + if (i == resolveDirs.length - 1 && remoteRoot) { + // strip out remote-root path from request url when resolving against it + url = url.replace(settings.read('remote-root'), '') + } + p = path.resolve(path.join(p, url)) if (fs.existsSync(p)) return p From 93ba5d739711aaf2b697cec10b3e4564bccbe394 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 9 Sep 2025 15:04:05 +0200 Subject: [PATCH 5466/5759] canvas: add webgl2 context type as an option --- package.json | 2 +- src/client/widgets/common/canvas.js | 2 +- src/client/widgets/pads/canvas.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 53e3d61f..ada8292c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-stage-control", "productName": "Open Stage Control", "description": "Libre and modular OSC / MIDI controller", - "version": "1.29.8", + "version": "1.29.9-dev", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 614283d8..2f63a62e 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -30,7 +30,7 @@ class Canvas extends Widget { this.canvas = DOM.get(this.container, 'canvas')[0] - this.ctx = this.canvas.getContext('2d',{ + this.ctx = this.canvas.getContext(this.getProp('contextType') || '2d',{ desynchronized: !ELECTRON_NOGPU && ENV.desynccanvas ? true : false, alpha: true }) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index ce0d96c6..ff6ee96d 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -15,6 +15,7 @@ class CanvasWidget extends Canvas { var defaults = super.defaults().extend({ class_specific: { + contextType: {type: 'string', value: '2d', choices: ['2d', 'webgl2'], help: 'Context type for the canvas'}, valueLength: {type: 'number', value: 1, help:[ 'Defines the number of values accepted by the widget (minimum 1). Incoming messages that don\'t comply will be ignored', 'When calling `set()` from a script, submitted value should be an array only if `valueLength` is greater than 1.' From 291b1a07521bccca68a83aab440a07a2a8efb985 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 9 Sep 2025 17:02:28 +0200 Subject: [PATCH 5467/5759] canvas: autoClear is only for 2d mode --- src/client/widgets/pads/canvas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index ff6ee96d..c9c668d6 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -21,7 +21,7 @@ class CanvasWidget extends Canvas { 'When calling `set()` from a script, submitted value should be an array only if `valueLength` is greater than 1.' ]}, autoClear: {type: 'boolean', value: true, help: [ - 'If set to `false`, the canvas context won\'t be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`.' + 'If set to `false`, the canvas context won\'t be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`. Ignored if `contextType` is different from `2d`.' ]}, continuous: {type: 'boolean|number', value: false, help: [ 'If set to `true`, `onDraw` will be called at each frame, otherwise it will be called only when the widget is touched and when it receives a value.', @@ -156,7 +156,7 @@ class CanvasWidget extends Canvas { if (!this.getProp('onDraw')) return - if (this.getProp('autoClear')) { + if (this.getProp('autoClear') && this.getProp('contextType') === '2d') { this.clear() this.ctx.beginPath() } From 5b38c79318ef7d9dc54d06dae1edb58ad497dc37 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 9 Sep 2025 17:02:28 +0200 Subject: [PATCH 5468/5759] canvas: autoClear is only for 2d mode --- src/client/widgets/pads/canvas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index ff6ee96d..c9c668d6 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -21,7 +21,7 @@ class CanvasWidget extends Canvas { 'When calling `set()` from a script, submitted value should be an array only if `valueLength` is greater than 1.' ]}, autoClear: {type: 'boolean', value: true, help: [ - 'If set to `false`, the canvas context won\'t be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`.' + 'If set to `false`, the canvas context won\'t be cleared automatically and `ctx.clearRect()` will need to be called in `onDraw`. Ignored if `contextType` is different from `2d`.' ]}, continuous: {type: 'boolean|number', value: false, help: [ 'If set to `true`, `onDraw` will be called at each frame, otherwise it will be called only when the widget is touched and when it receives a value.', @@ -156,7 +156,7 @@ class CanvasWidget extends Canvas { if (!this.getProp('onDraw')) return - if (this.getProp('autoClear')) { + if (this.getProp('autoClear') && this.getProp('contextType') === '2d') { this.clear() this.ctx.beginPath() } From bdfade96a7c264185953727dca35ca7aeb89a783 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 10 Sep 2025 01:45:54 +0200 Subject: [PATCH 5469/5759] build: migrate build system to rollup & rm app/ from repository --- .babelrc | 13 --- .gitignore | 16 +--- app/assets/themes/.gitignore | 2 - app/client/.gitignore | 2 - app/docs/.htaccess | 1 - app/launcher/.gitignore | 2 - app/server/.keep | 0 package.json | 33 ++++---- scripts/build-client.js | 98 --------------------- scripts/build-css.js | 2 + scripts/build-launcher.js | 16 ---- scripts/build-server.js | 27 ------ scripts/build.js | 49 ----------- scripts/client.plugin-watch.js | 40 +++++++++ scripts/client.rollup.config.js | 99 ++++++++++++++++++++++ scripts/copy-assets.js | 65 -------------- scripts/launcher.rollup.config.js | 47 ++++++++++ scripts/license-header.txt | 7 ++ scripts/package-node.js | 6 +- scripts/server.rollup.config.js | 58 +++++++++++++ {app => src/app}/index.js | 0 src/client/ui/context-menu.js | 2 +- src/client/ui/notifications.js | 2 +- src/client/ui/ui-code-editor.js | 10 +-- src/client/ui/ui-colorpicker.js | 2 +- src/client/ui/ui-console.js | 12 +-- src/client/ui/ui-dragresize.js | 2 +- src/client/ui/ui-filebrowser.js | 2 +- src/client/ui/ui-fileupload.js | 2 +- src/client/ui/ui-inspector-field.js | 2 +- src/client/ui/ui-inspector.js | 2 +- src/client/ui/ui-keyboard.js | 2 +- src/client/ui/ui-modal.js | 2 +- src/client/ui/ui-selectarea.js | 2 +- src/client/ui/ui-tree.js | 2 +- src/client/widgets/basics/button.js | 2 +- src/client/widgets/basics/dropdown.js | 2 +- src/client/widgets/basics/file.js | 2 +- src/client/widgets/basics/input.js | 2 +- src/client/widgets/basics/menu.js | 2 +- src/client/widgets/basics/switch.js | 2 +- src/client/widgets/basics/textarea.js | 2 +- src/client/widgets/common/canvas.js | 2 +- src/client/widgets/common/widget.js | 2 +- src/client/widgets/containers/clone.js | 2 +- src/client/widgets/containers/fragment.js | 2 +- src/client/widgets/containers/modal.js | 2 +- src/client/widgets/containers/panel.js | 2 +- src/client/widgets/containers/patchbay.js | 2 +- src/client/widgets/frames/frame.js | 2 +- src/client/widgets/frames/html.js | 2 +- src/client/widgets/frames/image.js | 2 +- src/client/widgets/frames/svg.js | 2 +- src/client/widgets/graphs/plot.js | 2 +- src/client/widgets/indicators/led.js | 2 +- src/client/widgets/indicators/text.js | 2 +- src/client/widgets/pads/canvas.js | 2 +- src/client/widgets/pads/pad.js | 2 +- src/client/widgets/pads/rgb.js | 2 +- src/client/widgets/scripts/gyro-archive.js | 2 +- src/client/widgets/sliders/range.js | 2 +- src/client/widgets/sliders/slider.js | 2 +- src/launcher/main.js | 2 +- src/launcher/settings.js | 2 +- src/launcher/terminal.js | 2 +- 65 files changed, 327 insertions(+), 362 deletions(-) delete mode 100644 .babelrc delete mode 100644 app/assets/themes/.gitignore delete mode 100644 app/client/.gitignore delete mode 100644 app/docs/.htaccess delete mode 100644 app/launcher/.gitignore delete mode 100644 app/server/.keep delete mode 100644 scripts/build-client.js delete mode 100644 scripts/build-launcher.js delete mode 100644 scripts/build-server.js delete mode 100644 scripts/build.js create mode 100644 scripts/client.plugin-watch.js create mode 100644 scripts/client.rollup.config.js delete mode 100644 scripts/copy-assets.js create mode 100644 scripts/launcher.rollup.config.js create mode 100644 scripts/license-header.txt create mode 100644 scripts/server.rollup.config.js rename {app => src/app}/index.js (100%) diff --git a/.babelrc b/.babelrc deleted file mode 100644 index c591efcc..00000000 --- a/.babelrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "presets": [ - ["@babel/env", { - "targets": { - "ios": "10.3", - "chrome": "60" - }, - "useBuiltIns": "usage", - "corejs": 3 - }] - ], - "plugins": ["@babel/plugin-proposal-object-rest-spread"] -} diff --git a/.gitignore b/.gitignore index a619f6df..40ce7479 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,4 @@ -node_modules -dist -app/LICENSE -app/assets/fonts/* -app/assets/*.css* -app/assets/*.png -app/client/*.js* -app/launcher/*.js* -app/server/* -app/docs/* -!app/docs/.htaccess -!app/server/.keep -app/package.json +node_modules/ +dist/ +/app/ *.pyc diff --git a/app/assets/themes/.gitignore b/app/assets/themes/.gitignore deleted file mode 100644 index d6b7ef32..00000000 --- a/app/assets/themes/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/app/client/.gitignore b/app/client/.gitignore deleted file mode 100644 index d6b7ef32..00000000 --- a/app/client/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/app/docs/.htaccess b/app/docs/.htaccess deleted file mode 100644 index de377bfe..00000000 --- a/app/docs/.htaccess +++ /dev/null @@ -1 +0,0 @@ -ErrorDocument 404 /404.html diff --git a/app/launcher/.gitignore b/app/launcher/.gitignore deleted file mode 100644 index d6b7ef32..00000000 --- a/app/launcher/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/app/server/.keep b/app/server/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/package.json b/package.json index ada8292c..76033892 100644 --- a/package.json +++ b/package.json @@ -21,17 +21,18 @@ "license": "GPL-3.0", "dependencies": { "@babel/core": "7.18.0", - "@babel/eslint-parser": "7.17.0", - "@babel/plugin-proposal-object-rest-spread": "7.18.0", - "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.18.0", "@electron/remote": "2.0.8", + "@rollup/plugin-babel": "^6.0.4", + "@rollup/plugin-commonjs": "^28.0.6", + "@rollup/plugin-json": "^6.1.0", + "@rollup/plugin-node-resolve": "^16.0.1", + "@rollup/plugin-terser": "^0.4.4", "ace-builds": "1.39.0", "ansi-html": "0.0.9", "babelify": "10.0.0", "balanced-match": "2.0.0", "bonjour": "github:jean-emmanuel/bonjour", - "browserify": "17.0.0", "chokidar": "3.5.3", "chroma-js": "2.4.2", "core-js": "3.22.5", @@ -65,6 +66,10 @@ "python-shell": "3.0.1", "qrcode": "1.5.1", "replacestream": "4.0.3", + "rollup": "4.50.1", + "rollup-plugin-copy": "3.5.0", + "rollup-plugin-license": "^3.6.0", + "rollup-plugin-node-externals": "^8.1.1", "sanitize-html": "1.27.5", "sass": "1.89.2", "scope-css": "1.2.1", @@ -74,9 +79,6 @@ "sortablejs": "1.15.0", "source-map-support": "0.5.21", "stacktrace-js": "2.0.2", - "through": "2.3.8", - "uglifyify": "5.0.2", - "webworkify": "1.5.0", "ws": "8.6.0", "yargs": "17.5.1" }, @@ -88,21 +90,20 @@ "scripts": { "postinstall": "echo '\\033[36m=> Dependencies installed successfully. Run \"npm run build\" to build the assets.\\033[0m\n'", "start": "electron app/", - "build": "npm run build-css && npm run build-js && node scripts/copy-assets.js && echo '\\033[36m=> JS and CSS assets built successfully. Run \"npm run package\" to build an executable or \"npm start\" to run the app.\\033[0m\n'", + "build": "npm run build-css && npm run build-js && echo '\\033[36m=> JS and CSS assets built successfully. Run \"npm run package\" to build an executable or \"npm start\" to run the app.\\033[0m\n'", "package": "node scripts/package.js", "package-node": "node scripts/package-node.js", "deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png", "rpm64": "electron-installer-redhat --src dist/open-stage-control-linux-x64/ --arch x86_64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png", "build-css": "node scripts/build-css.js", - "build-js": "npm run build-launcher-js && npm run build-client-js && npm run build-server-js", - "build-client-js": "node scripts/build-client.js", - "build-launcher-js": "node scripts/build-launcher.js", - "build-server-js": "node scripts/build-server.js", - "watch-client": "npm run build-client-js -- --watch", - "watch-browser": "npm run build-client-js -- --watch", "watch-css": "nodemon --watch src/scss -e scss -x \"npm run build-css -- --reload\"", - "watch-server": "nodemon --watch src/server/ -e js -x \"npm run build-server-js\"", - "watch-launcher": "nodemon --watch src/launcher/ -e js -x \"npm run build-launcher-js\"", + "build-js": "npm run build-launcher-js && npm run build-client-js && npm run build-server-js", + "build-client-js": "rollup -c scripts/client.rollup.config.js", + "watch-client": "npm run build-client-js -- --watch", + "build-server-js": "rollup -c scripts/server.rollup.config.js", + "watch-server": "npm run build-server-js -- --watch", + "build-launcher-js": "rollup -c scripts/launcher.rollup.config.js", + "watch-launcher": "npm run build-launcherr-js -- --watch", "build-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && python3 -m mkdocs build", "test": "eslint src && npm run build && node tests/test.js" }, diff --git a/scripts/build-client.js b/scripts/build-client.js deleted file mode 100644 index f6e4b64b..00000000 --- a/scripts/build-client.js +++ /dev/null @@ -1,98 +0,0 @@ -var build = require('./build'), - path = require('path'), - babelify = require('babelify'), - nanohtml = require('nanohtml'), - watch = process.argv.includes('--watch'), - through = require('through'), - minimatch = require('minimatch') - - -var ignores = ['**/*.min.js', '**/jquery.ui.js', 'gyronorm.complete.min.js'], - transformWrapper = function(transform){ - return function(file, opts){ - if (ignores.some(pattern => minimatch(file, pattern))) { - return through() - } else { - return transform(file, opts) - } - } - } - -var transforms = [ - [transformWrapper(nanohtml)], - [transformWrapper(babelify)] -] - -console.warn('\033[36m=> Building compressed client scripts...\033[0m') -transforms.push([transformWrapper(require('uglifyify')), {global: true, safari10: true}]) - -var bundle = build({ - input: '../src/client/index.js', - output: '../app/client/open-stage-control-client.js', - options: { - debug: true, - insertGlobals: false, - noParse: ['**/*.min.js', '**/jquery.ui.js'], - cache: {}, - packageCache: {}, - }, - plugins: watch ? [require('watchify')] : [], - transforms: transforms, - ignore: [ - 'postcss' // only needed by sanitize-html if