From 72699af7a42f6fe0c2a4ceefd3c736aecbd77a65 Mon Sep 17 00:00:00 2001 From: Amir Arad Date: Mon, 4 Dec 2017 23:07:13 +0200 Subject: [PATCH 0001/2575] 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 0002/2575] 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 0003/2575] 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 0004/2575] 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 0005/2575] 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 z1I7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T47mXXW!!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~0Tx5dT2;-4lEPJvvNz@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b*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 565b54d8b065c1d1633ad35dbb6012c498dff352 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 9 Dec 2017 15:51:29 +0100 Subject: [PATCH 0006/2575] 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 0007/2575] 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 0008/2575] 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 0009/2575] 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 0010/2575] 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 0011/2575] 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 0012/2575] 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 0013/2575] 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 0014/2575] 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 0015/2575] 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 0016/2575] 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 0017/2575] 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 0018/2575] 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 0019/2575] 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 0020/2575] 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 0021/2575] 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 0022/2575] 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 0023/2575] 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 0024/2575] 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 0025/2575] 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 0026/2575] 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 0027/2575] 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 0028/2575] 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 0029/2575] 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 0030/2575] 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 0031/2575] 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 0032/2575] 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 0033/2575] 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 0034/2575] 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 0035/2575] 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 0036/2575] 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 0037/2575] 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 0038/2575] 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 0039/2575] 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 0040/2575] 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 0041/2575] 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 0042/2575] 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 0043/2575] 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 0044/2575] 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 0045/2575] 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 0046/2575] 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 0047/2575] 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 0048/2575] 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 0049/2575] 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 0050/2575] 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 0051/2575] 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 0052/2575] 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 0053/2575] 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 0054/2575] =?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 0055/2575] 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 0056/2575] 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 0057/2575] 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 0058/2575] 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 0059/2575] 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 0060/2575] 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 0061/2575] 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 0062/2575] 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 0063/2575] 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 0064/2575] 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 0065/2575] 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 0066/2575] 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 0067/2575] 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 0068/2575] 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 0069/2575] 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 0070/2575] 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 0071/2575] 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 0072/2575] 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 0073/2575] 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 0074/2575] 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 0075/2575] 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 0076/2575] 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 0077/2575] 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 0078/2575] 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 0079/2575] 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 0080/2575] 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 0081/2575] 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 0082/2575] 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 0083/2575] 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 0084/2575] 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 0085/2575] 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 0086/2575] 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 0087/2575] 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 0088/2575] 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 0089/2575] 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 0090/2575] 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 0091/2575] 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 0092/2575] 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 0093/2575] 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 0094/2575] 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 0095/2575] 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 0096/2575] 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 0097/2575] 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 0098/2575] 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 0099/2575] 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 0100/2575] 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 0101/2575] 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 0102/2575] 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 0103/2575] 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 0104/2575] 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 0105/2575] 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 0106/2575] 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 0107/2575] 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 0108/2575] 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 0109/2575] 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 0110/2575] 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 0111/2575] 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 0112/2575] 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 0113/2575] 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 0114/2575] 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 0115/2575] 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 0116/2575] 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 0117/2575] 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 0118/2575] 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 0119/2575] 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 0120/2575] 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 0121/2575] 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 0122/2575] 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 0123/2575] 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 0124/2575] 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 0125/2575] 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 0126/2575] 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 0127/2575] 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 0128/2575] 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 0129/2575] 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 0130/2575] 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 0131/2575] 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 0132/2575] 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 0133/2575] 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 0134/2575] 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 0135/2575] 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 0136/2575] 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 0137/2575] 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 0138/2575] 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 0139/2575] 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 0140/2575] 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 0141/2575] :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(` @@ -345,7 +345,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
        svg#
        |||| -|
        svg#
        | `string` | "" | Svg xml definition:
        - will be wrapped in a `< svg />` element
        - `` commands support a special percent notation (`%x` and `%y`) | +|
        svg#
        | `string` | "" | Svg xml definition:
        - will be wrapped in a `< svg />` element
        - `` commands support a special percent notation (`%x` and `%y`) | @@ -358,7 +358,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
        html#
        |||| -|
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | +|
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | @@ -371,12 +371,12 @@ | property | type |default | description | | --- | --- | --- | --- | |
        image#
        |||| -|
        size#
        | `string` | "cover" | CSS background-size | -|
        position#
        | `string` | "center" | CSS background-position | -|
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | -|
        cache#
        | `boolean` | true | 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 | +|
        size#
        | `string` | "cover" | CSS background-size | +|
        position#
        | `string` | "center" | CSS background-position | +|
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | +|
        cache#
        | `boolean` | true | 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#
        |||| -|
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` | +|
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` | @@ -391,16 +391,16 @@ | property | type |default | description | | --- | --- | --- | --- | |
        plot#
        |||| -|
        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 (base 10). Set to a `number` to define the logarithm's base. | -|
        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. | -|
        dots#
        | `boolean` | true | | -|
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | +|
        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 (base 10). Set to a `number` to define the logarithm's base. | +|
        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. | +|
        dots#
        | `boolean` | true | | +|
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | +|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | |
        value#
        |||| -|
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | +|
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | @@ -413,11 +413,11 @@ | property | type |default | description | | --- | --- | --- | --- | |
        eq#
        |||| -|
        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 | -|
        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) | -|
        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 | +|
        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) | +|
        origin#
        | `number`|
        `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | @@ -430,11 +430,11 @@ | property | type |default | description | | --- | --- | --- | --- | |
        visualizer#
        |||| -|
        duration#
        | `number` | 1 | Defines visualization duration in seconds | -|
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | -|
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | -|
        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. | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | +|
        duration#
        | `number` | 1 | Defines visualization duration in seconds | +|
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | +|
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | +|
        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. | +|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | @@ -449,13 +449,13 @@ | property | type |default | description | | --- | --- | --- | --- | |
        led#
        |||| -|
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`) | -|
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | -|
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | -|
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | -|
        borderRadius#
        | `string` | "" | Css border-radius property. | +|
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`)

        Possible values: intensity, color | +|
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | +|
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | +|
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | +|
        borderRadius#
        | `string` | "" | Css border-radius property. | |
        value#
        |||| -|
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color | +|
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color | @@ -468,9 +468,9 @@ | property | type |default | description | | --- | --- | --- | --- | |
        text#
        |||| -|
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | -|
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically.

        This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | -|
        align#
        | `string` | "center" | Css text-align property. | +|
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | +|
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically.

        This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | +|
        align#
        | `string` | "center" | Css text-align property.

        Possible values: center, left, right | @@ -485,18 +485,18 @@ | property | type |default | description | | --- | --- | --- | --- | |
        xy#
        |||| -|
        pointSize#
        | `integer` | 20 | Defines the points' size | -|
        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 | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | -|
        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. | -|
        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` | +|
        pointSize#
        | `integer` | 20 | Defines the points' size | +|
        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 | +|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | +|
        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. | +|
        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` | |
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) | +|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) | @@ -509,11 +509,11 @@ | property | type |default | description | | --- | --- | --- | --- | |
        rgb#
        |||| -|
        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 | -|
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | -|
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | -|
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. | +|
        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 | +|
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | +|
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | +|
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. | @@ -526,19 +526,19 @@ | property | type |default | description | | --- | --- | --- | --- | |
        multi xy#
        |||| -|
        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']`) | +|
        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']`) | |
        xy#
        |||| -|
        pointSize#
        | `integer` | 20 | Defines the points' size | -|
        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 | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | -|
        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. | -|
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | +|
        pointSize#
        | `integer` | 20 | Defines the points' size | +|
        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 | +|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | +|
        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. | +|
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | |
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | +|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | @@ -553,21 +553,21 @@ | property | type |default | description | | --- | --- | --- | --- | |
        fader#
        |||| -|
        design#
        | `string` | "default" | Design style | -|
        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` | false | Set to `true` to display a dashed gauge | -|
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | -|
        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 | -|
        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}}`) | -|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | -|
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | +|
        design#
        | `string` | "default" | Design style

        Possible values: default, round, compact | +|
        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` | false | Set to `true` to display a dashed gauge | +|
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | +|
        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 | +|
        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}}`) | +|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | +|
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | |
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | +|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | @@ -580,19 +580,19 @@ | property | type |default | description | | --- | --- | --- | --- | |
        knob#
        |||| -|
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion | -|
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | -|
        pips#
        | `boolean` | false | Set to `true` to show the scale's breakpoints | -|
        dashed#
        | `boolean` | false | Set to `true` to display a dashed gauge | -|
        angle#
        | `number` | 270 | Defines the angle's width of the knob, in degrees | -|
        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 (`/ `) | -|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | -|
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | +|
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Possible values: vertical, circular, snap | +|
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | +|
        pips#
        | `boolean` | false | Set to `true` to show the scale's breakpoints | +|
        dashed#
        | `boolean` | false | Set to `true` to display a dashed gauge | +|
        angle#
        | `number` | 270 | Defines the angle's width of the knob, in degrees | +|
        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 (`/ `) | +|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | +|
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | |
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | +|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | @@ -605,14 +605,14 @@ | property | type |default | description | | --- | --- | --- | --- | |
        encoder#
        |||| -|
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | -|
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | -|
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | -|
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | -|
        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 | -|
        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 (`/ `) | +|
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | +|
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | +|
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | +|
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | +|
        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

        Possible values: 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 (`/ `) | |
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | +|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | @@ -625,21 +625,21 @@ | property | type |default | description | | --- | --- | --- | --- | |
        fader#
        |||| -|
        design#
        | `string` | "default" | Design style | -|
        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` | false | Set to `true` to display a dashed gauge | -|
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | -|
        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 | -|
        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}}`) | -|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | -|
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | +|
        design#
        | `string` | "default" | Design style

        Possible values: default, round, compact | +|
        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` | false | Set to `true` to display a dashed gauge | +|
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | +|
        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 | +|
        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}}`) | +|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | +|
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | |
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | +|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | @@ -654,11 +654,11 @@ | property | type |default | description | | --- | --- | --- | --- | |
        script#
        |||| -|
        event#
        | `string` | "value" | Define which events trigger the script's execution. | +|
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Possible values: value, keyboard | |
        event: keyboard#
        |||| -|
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | -|
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | -|
        keyType#
        | `string` | "keyDown" | Determines which key event trigger the script's execution | +|
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | +|
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | +|
        keyType#
        | `string` | "keyDown" | Determines which key event trigger the script's execution

        Possible values: keydown, keyup, both | diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 45d85848..5961a49e 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -5,22 +5,28 @@ The `script` property allows widgets to run javascript code when their value upd - no `JS{{}}` wrapper, just the code - `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their value before the script's compilation +## Event-dependent variables + +**Event: value** + +- `id` (`string`): id of the widget that's reponsible for the value update +- `value`: widget's value + +**Event: keyboard** + +- `type` (`string`): `keydown` or `keyup` +- `key` (`string`): key name, +- `code` (`number`): key code +- `ctrl` (`boolean)`: `true` if ctrl key is pressed +- `shift` (`boolean`): `true` if shift key is pressed +- `alt` (`boolean`): `true` if alt key is pressed +- `meta` (`boolean`): `true` if meta key is pressed + + ## Available variables ---- -#### `value` - -Widget's value - ----- - -#### `id`: `string` - -Id of the widget that's reponsible for the value update - ----- - #### `get`: `function(id)` Returns the value of the first widget whose id is `"id"`. @@ -81,7 +87,7 @@ Reference: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage These work like their native equivalent, with an extra (optional) `id` argument. - `id` (optional): unique identifier. If a timeout with the same id is already running, it is cleared before the new one is created. If omitted, defaults to `undefined`. One can use `Math.random()` or `Date.now()` to force new id at each execution, though this might cause performance issues. `id`s are scoped to the widget's context: two timeouts with the same `id` in two different widgets can run concurrently -- `callback`: function to executed +- `callback`: function to be executed - `delay`: delay before execution is ms Reference: diff --git a/resources/docs/index.md b/resources/docs/index.md index 4066f781..559d1c14 100644 --- a/resources/docs/index.md +++ b/resources/docs/index.md @@ -1,7 +1,7 @@ # Open Stage Control ## Libre and modular OSC / MIDI controller - +*Soon, a nice screenshot* +--- +template: home.html +title: Open Stage Control +--- diff --git a/resources/images/ardour-osc.png b/resources/images/ardour-osc.png deleted file mode 100644 index 08643ca233c61fe9c176ff7d141972d9e7529afa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 59239 zcmYhj1yoys5-l3s9g4dIm*VbLym)aa1&SBf;I5?wic5<-6qi8I;_i?D#oe7x@4fH6 zpS6;+a&lHyCNs15%5<|@t^E|kkEtKA(J+o@fgPC?H&&``B7z~z^Y_et zzs>f-<^voRTybQFtu538qDKZj}E}J(-#&qR2GJP<$LM+s_-9vm39x31}L(jtPe#a-}HiC|LYWFS776CQmwkFeDe)jaF zOixqS)0&L{{|FcD6 zv-ph3EUX94V3c30Per{VWq(LH+Z+(~ei-_ClW$T1J;B%TPCG$1K)8tRUz=$kfw3sF8Zmcjnw(w zSMIqxB`n&=>?JbvPF*AxAj*f~UOBG*M6a$mOO0d_f3?mstRw>v%fQO&6^Zg1Wn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wz%00ZEUL=SfMQrn9z$dgN7SD;j4%mKABx zh|cJ#;I*#nOplruG|_Ur`5~zInW!qUN$&sI*L|{0YOM+wcde!|-jT7fDPy6M|_2X|<{`Y^G zAFuWMWWIlK#l718`nC2)-TmSBemN}MV9q_S2RI6I;QjUH*{`RVYlm0cTQBl{D?uP&y^R=~!tn2RweE7xtwe`?Ui>W;k+e#J!`#CTEw4SbdJGcMKA#Lj|b!WNG z&X1l}appmSj$t%V?a?Gd{__@l!QB~S;IcXGi{;CJE4NgCoeKfhljVz?9@d%0chv8A zz3b{}QH~$Bc8kw&viynKUbRzY<b;l~Fiw7OQ zw(jG3`8o5(Pj{t>N7{cJ>7Tg%gZS;+878xS{PqDRKHz!H`nAiIe_aBfhixqjT3B}S z$J<6W&r6@I#a@5>b++pLV}IfM50YK`^xgZf=Z8K0V`)|VFDWT)eaf4+y83%Q^=-4Q z+7IeWOUcMwx%n)t_QUP-ZMJEzoo8?Ty6|l0{QSSO7F|94SiZ*S$$#7bt3dsol7cr+ zBt=D^WxqZ=`?0)7$zu2Qd%iYSKd;vpCG#K%uCAK32OJnUh$=Up0a7xf+aQ|%fp|^{Q7S53OeSv+AX^3 tz_f)++2>=7^m^@qZl^jR1YZF6x4zv+vgWzan#G`2hNr8a%Q~loCIIU!hG75z diff --git a/resources/images/logo.png b/resources/images/logo.png index 3eca5a0a5f4d8fd61d7d49ebe270266fde3acd0a..83ea9edce07f0afb5f1b5c15185877bf6c706491 100644 GIT binary patch literal 15395 zcmX9_1ymeOw_MzUYk(lZf;)sDOK^wa4#5`hfiu9F z>7Lo?zPE1OsxT!5Npw_VR1gS+E-fXd37-(3=H&X_!4%}`>dFGKwQ@B6{=<~T&cQtO zRDc)+q5w&YeN}Z!J4ts>(^X5k>)cygDlNS`6qI(I)}lCuQ59ZH@D>xtvq!RjkDs=% z^TAxgTW=ucTi-WHr%8Jf?DtxDF!*?4p}oX4F$&XGar&iqr%Oj`SFcl$ed_eQB+t|G z!;bZdkcq)MwTU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nJyy{@Vubpl&b8KOT=PZ`oNz^huAId(ppoEp~t@Wa^p#F1W0=(PJ?eDQelBpHK5UYdmXv@Y(s}Kf<0E@`ji^q%CEimLWJnJ~hn2fIN|ok^ ztsAR%$9hI>!fZ&szJy~`qdc?mr7@;cCZ4Fc+TI*=9C&_I)tvSX&79AS{%_gJ)3u%1J>l&P zn9-X`ywPY3#x@&?W&<9vEW&xt1lV4nN1DzCJRunWY!B4Rk-#$icy@DpS}*>#(ukBq zD;nxXgT2AuZnaof9s5OwsliWwsi>iRzg#~` z=l`U8``}GB_3KYiSUMU!++RNgc74vr*bwYRBwPs(4&FsHC>2}jbVPcehi9~6LiOdx z(NNAl9{eJPcNnfyxfh#9WO_$mjlstL#u0oE&0#N1yr!to<9VZ8q@X0Sp*C zg>36)u?CqUg%A5)&j>tAcdtrHEtGv#Tc6{EM`AQOxL*Sc>Lm5Y9#LiZk%xdn#xmj* z^NG1f^P!%o8AkA_>1Mks*%_WUsA1!DB*R^$Ifj_dBv1B|f~TFLYKz zng`Fw0vD>#Yx#-@p&4$2gfwcSUO5|9`qIF-m-+MaCop=RkeR-2c_%Vq?SM~}K%~Xx KKbDK?fBip9(jfr= diff --git a/resources/images/logo.svg b/resources/images/logo.svg index 8b5e69d7..c096bb58 100644 --- a/resources/images/logo.svg +++ b/resources/images/logo.svg @@ -14,8 +14,11 @@ width="191.29887" height="191.29887" viewBox="0 0 191.29887 191.29887" - sodipodi:docname="logo_badge.svg" - inkscape:version="0.92.4 (5da689c313, 2019-01-14)"> + sodipodi:docname="logo.svg" + inkscape:version="0.92.4 (5da689c313, 2019-01-14)" + inkscape:export-filename="/home/bordun/Dev/open-stage-control/resources/images/logo.png" + inkscape:export-xdpi="128.46913" + inkscape:export-ydpi="128.46913"> image/svg+xml - + @@ -39,23 +42,24 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1003" + inkscape:window-width="1024" + inkscape:window-height="726" id="namedview871" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" - inkscape:zoom="2.1653976" - inkscape:cx="88.174993" - inkscape:cy="70.732017" + inkscape:zoom="1.28" + inkscape:cx="82.527021" + inkscape:cy="41.971225" inkscape:window-x="0" - inkscape:window-y="24" - inkscape:window-maximized="1" + inkscape:window-y="42" + inkscape:window-maximized="0" inkscape:current-layer="layer2" showguides="true" - inkscape:pagecheckerboard="true" /> + inkscape:pagecheckerboard="true" + units="in" /> @@ -80,7 +84,7 @@ style="display:inline;opacity:1;fill:none;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" id="circle935" /> @@ -89,6 +93,6 @@ cy="103.94808" cx="103.94808" id="circle1241-3" - style="display:inline;opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.27885389;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="display:inline;opacity:1;fill:#52a8ff;fill-opacity:1;stroke:none;stroke-width:5.27885389;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> diff --git a/resources/images/logo_discourse.png b/resources/images/logo_discourse.png index e188dbc55d7d107abd7d1ecbce323ae52c96da3d..4aa86f412afabc36eb9445a6662bc19bc2d19d88 100644 GIT binary patch literal 43113 zcmeFYhgXwb(>_WFRk~6X0w|#L8tLs(K?J0C2wg(2p?6dyQl$xzrqX-wEl7z#0Ht>V z2$2pVO%Tq_yUuss=R1GGZ~a)Xvbb0F&g_}lGuK=*d8@6dLUn`r1_1#9mFhDkT>=7f zYXSlgB^e3uq|$Jm5qKd&JXX~w1AcBvti9|A{QUfc9NnA|w$>hYLhfGn8M|`K1O#^pRFxj-`)6)11T?`6QmYR9CNv0D zZxg;mQgU$Qatudve0HE+)7Fh zh(Qd>|GfF)sZoSJ36%8@0ke!Fuz8*5IQe~N>G0w3HnJv>2AvUf(+$kk3yZnZ?u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;sH${pnH(LJsd*(3v^1f+_Mv8{dXN$hMz4H)o3cxIX|47j@6eoR#Lw((T+9vandVVe8p9Z@O-SWV{T43$JR=EhyC?-}gvW+`g|cYXzbZ|B^px$EHU1H!-w>gCptVgx7c^V|_Af97UdnP=?Z!gD*- zPQD8aV=`m9rmCV4-xm_2-PsW<=`iHiNSFzr~sSPkN_ZjgRjzP+t5-X!Xur zOg>5~k7^FCZik(9AkAe{F>&&en;eWiKN~K#Oj;f~%ZVdm58s|iQ>)-7F0}Cg&&N>7 z6frPYw0FCI-s4mKHe-&)u9JW3;=aF}4+>3SOg(S2;*Seah_1F0n!zeD@9*~a>`wc- x_RY^c5b{9QIQTDcvp-ZJST$XV@J;{ucP-t&!AL*w3-E{(22WQ%mvv4FO#nZV4{HDb diff --git a/resources/images/logo_discourse.svg b/resources/images/logo_discourse.svg index 3cca9401..7aecd2c9 100644 --- a/resources/images/logo_discourse.svg +++ b/resources/images/logo_discourse.svg @@ -15,7 +15,10 @@ height="191.29887" viewBox="0 0 1581.0888 191.29887" sodipodi:docname="logo_discourse.svg" - inkscape:version="0.92.4 (5da689c313, 2019-01-14)"> + inkscape:version="0.92.4 (5da689c313, 2019-01-14)" + inkscape:export-filename="/home/bordun/Dev/open-stage-control/resources/images/logo_discourse.png" + inkscape:export-xdpi="128.47" + inkscape:export-ydpi="128.47"> image/svg+xml - + @@ -39,20 +42,20 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1003" + inkscape:window-width="1024" + inkscape:window-height="726" id="namedview871" showgrid="false" fit-margin-top="0" fit-margin-left="40" fit-margin-right="60" fit-margin-bottom="0" - inkscape:zoom="0.19139592" - inkscape:cx="-764.3065" - inkscape:cy="515.66315" + inkscape:zoom="1.5311674" + inkscape:cx="-11.45973" + inkscape:cy="74.852097" inkscape:window-x="0" - inkscape:window-y="24" - inkscape:window-maximized="1" + inkscape:window-y="42" + inkscape:window-maximized="0" inkscape:current-layer="layer2" showguides="true" inkscape:pagecheckerboard="true" /> @@ -62,13 +65,26 @@ inkscape:label="Layer 2" style="display:inline" transform="translate(31.742424,-8.257576)"> - + + + + + - - Open Stage Control + diff --git a/resources/images/logo_nobadge.png b/resources/images/logo_nobadge.png index 89235c8257b99e90ac6ad340b4d1b0abd75cac96..c79f232aae83eaad353a95d54485c9dfff0cf0be 100644 GIT binary patch literal 9839 zcmbtagkqq008h66=XC300sFK1;D~UUX0vIt&tZrcWFf} zEab}%>sRA!~T6xFxSJYkbhEo$m)4$I$L{qnY&p5US3`twodl$mgX*2 z9L{bw87HDt06+&Q%1CK>XCANmWEu^6{ybkVTNdM;c`x;hj;!I+xYLn0e)Aa-TP+%I zz9BBgr(?5M=M2xAx$9nwM$-1Vnh*_ti^h+m6`+g#@rh5GMtwVwVe0ABvEwoI!oc++j(W5>)1=Kf zZPjR>z5fP+OQV!(RC)dMu-$O57k(S^Rb53!NF`CQjH_?97J_C1dLZ8PiS?PsQdJsg zkIQ#B=d<2WX9Bd%PUyuFz^51i@|$4wNsZJ@sL5X+(p_wBQJlLUSQ5XOMr&qOSiCLs zfOl^UGty17CJkkLIFoN8H;tLXOS0h4mzd7DVDT)lE-&)kx<+Cg6HbyKJf=hsx4{dP zM1p7+LYH?-!amO(&}p9Tt~ZXC@9K`Q+LmaYN~0(!9#V@KKVt$eWqlw|i?TFf7K!08 z)8c0O&2D)PN{~EX5**2o)|~TYK1_B4AoVr;)JFGFv_T7Rh1^xFV`|yOWT?^=JqfU` zRaErphGN%Fn+){Uwj|LN73&6T#X4k;S~hZ4r8GGdw4s<+IIDGAs9lW`rwYljD?IxW z9LOK$90rdG2mx&@6e<5MRA^O6ibu7anJkgR1H715R)kGyR3T{wL^weVDNTpBI;|)O zuFbVIa#BPdjv#x^EBjfMVzLkrml8XpKY4NwS!x=T!*kEP!0%Tzx|``zq*j9(@I?KP z=$<+xLrpvp%5n831hew2Xfpp!=-8+nseJ}5reD}~yQjg*Sb>3y&sP{os|}%T4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d(nBdg5&{k7i-0jLP_*%Ne<_KOJ7nT45#>U2* zQM2#0olQ)}thJP^1#UY0=Bc{%s#_RvcX#(9qRuo6a49J%O`_MY&o;j@YR_j0+w|Ql zJ;SYFSq{}Rm}5RZn``v7#@{t+XG>F;m`r1^k^hfHc$s6XVfbM%EiLVwb;)N$V`)b{ z^p8Iqx!pb8V_5=+knDb$4+?i{uCK3Og?eM+7}Z1TWXm&Vn=_m<_m#D*0Lu!yZ)rW< z-ELGbC8Q-C@zy7awy+y*fr%H6kB&N^GO!$p>`CH}eX<#UuOxB^WEo;_Z~qM?yS`kBc(cO30)yr96-iBJHU1+ou}jR$vjcEA}kCqBn(Hh>y_VHdU%dd?xhzF`Ol zfYZ~{Ip_f3a;&g$#!DH!rqOLbjZ>D^-pBfcG<&ylj^QP zz#?&0IWq^BU-LkYd&5gyTwG6N`{4t!j+`DuFRGkVQjv`|JkYX)x#QeK}P5anEAK6fWGr?>3BD*KINwgXzj4thyw6>3?L$^r(g_ewLrf zMF9rD=$B2Yr#E2OPbh_7tkHWS5jOj)hUsce@Rj{q?yYktB9O#?uj5AKVDs45(WB)V zGnp%vJz6b3!Jdc@gv~ka^$)BcL+4O?Jb`)lizmF($IGN8`d>?@qJmB}(803>_(uQm z2A5W5aDMkz_C0ysJ}XH&hs%qRM0Ors)-~^@d+F%Tx?kds*_LYUV4H ztosK3*ubTA&{pn%GvGu9D@CiCS>4*gRgelUW%W*3s1ioi7zl1B8n&B_>6A8t*L#a> zeb-GsCf|-O3e{ieH1{!GU@HN7aW=&+qDJMfP$u>I;7u5|M=pucqFk4te({!~7!|CG zG9vK45uH(?HQZ?7-6DnTw#9NPgAr$H)}J_{3??JI=#x1M@mVtRzhgeT=jSxL+RUfj V1wYjO2OUoWcQy1eWokCz{|C@MBy0cx diff --git a/resources/images/logo_nobadge.svg b/resources/images/logo_nobadge.svg index 75035d74..062942d2 100644 --- a/resources/images/logo_nobadge.svg +++ b/resources/images/logo_nobadge.svg @@ -16,9 +16,9 @@ viewBox="0 0 191.29887 191.29887" sodipodi:docname="logo_nobadge.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)" - inkscape:export-filename="/home/bordun/Dev/open-stage-control/resources/images/logo_nobadge.png" - inkscape:export-xdpi="64.230003" - inkscape:export-ydpi="64.230003"> + inkscape:export-filename="/home/bordun/Dev/open-stage-control/resources/images/logo.png" + inkscape:export-xdpi="128.46913" + inkscape:export-ydpi="128.46913"> + inkscape:pagecheckerboard="true" + units="in" /> + inkscape:connector-curvature="0" /> + transform="translate(8.257576,8.257576)" /> + style="display:inline;opacity:1;fill:#52a8ff;fill-opacity:1;stroke:none;stroke-width:5.27885389;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 9cbeac83..98bdbd5e 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -2,20 +2,22 @@ site_name: Open Stage Control repo_name: open-stage-control repo_url: https://github.com/jean-emmanuel/open-stage-control edit_uri: tree/master/resources/docs/ -copyright: "Open Stage Control is an AMMD software licensed under the GNU/GPLv3 License" +copyright: "Copyleft © Jean-Emmanuel Doucet @ AMMD (GNU/GPLv3)" site_description: "Libre and modular OSC / MIDI controller" theme: name: 'material' - custom_dir: 'theme' + custom_dir: 'overrides' features: - tabs - instant palette: - primary: 'Black' + primary: 'Indigo' accent: 'Indigo' logo: 'img/logo.png' favicon: 'img/logo_nobadge.png?6' + include_search_page: false + search_index_only: true extra_css: - 'extra/styles.css' @@ -80,3 +82,4 @@ markdown_extensions: - pymdownx.tasklist: custom_checkbox: true - pymdownx.tilde + - pymdownx.keys diff --git a/resources/overrides/home.html b/resources/overrides/home.html new file mode 100644 index 00000000..7f7a70a3 --- /dev/null +++ b/resources/overrides/home.html @@ -0,0 +1,191 @@ + + +{% extends "main.html" %} + + +{% block tabs %} + {{ super() }} + + + + + +

        +
        +
        + + + + + +
        +

        Open Stage Control

        +

        {{ config.site_description }}

        + + Download + + + Get started + +
        +
        +
        +
        +{% endblock %} + + +{% block content %}{% endblock %} + + +{% block footer %}{% endblock %} diff --git a/resources/theme/main.html b/resources/overrides/main.html similarity index 100% rename from resources/theme/main.html rename to resources/overrides/main.html From ff05b0f74c355b9516b4883b0a798066278a4d9e Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 15:58:03 +0200 Subject: [PATCH 2065/2575] docs: getting there --- .../docs/docs/getting-started/introduction.md | 38 +- .../getting-started/server-configuration.md | 156 +-- resources/docs/docs/user-interface/client.md | 28 +- resources/docs/docs/user-interface/editor.md | 68 +- .../docs/docs/user-interface/launcher.md | 21 +- .../docs/docs/widgets/properties-reference.md | 1058 ++++++++--------- resources/docs/download.md | 4 +- resources/docs/extra/styles.css | 20 +- resources/docs/img/ardour-osc.png | 1 - resources/mkdocs.yml | 4 + resources/overrides/home.html | 6 +- scripts/build-widgets-reference.js | 73 +- src/client/widgets/common/widget.js | 3 +- src/client/widgets/containers/modal.js | 2 + src/client/widgets/containers/panel.js | 2 + src/client/widgets/containers/root.js | 2 + src/client/widgets/containers/tab.js | 2 + 17 files changed, 729 insertions(+), 759 deletions(-) delete mode 120000 resources/docs/img/ardour-osc.png diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index 3c549329..620600e2 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -26,30 +26,30 @@ The **client** requires Chromium/Chrome `60` or later to work (Linux, MacOS, Win ## Installation -### Linux +??? example "Linux" -**Ubuntu / Debian** + **Ubuntu / Debian** -- [Download](/download) `open-stage-control-VERSION-ARCH.deb` -- Install it by running this as root in a terminal: -```bash -dpkg -i path/to/open-stage-control-VERSION-ARCH.deb -``` + - [Download](/download) `open-stage-control-VERSION-ARCH.deb` + - Install it by running this as root in a terminal: + ```bash + dpkg -i path/to/open-stage-control-VERSION-ARCH.deb + ``` -**Other linux distributions** + **Other linux distributions** -- [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip` -- Extract it in the location of your choice -- The file inside it named `open-stage-control` is the app's main executable + - [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip` + - Extract it in the location of your choice + - The file inside it named `open-stage-control` is the app's main executable -### Mac +??? example "Mac" -- [Download](/download) `open-stage-control-VERSION-osx.zip` -- Extract it in the location of your choice -- Drag `open-stage-control.app` in your `Application` folder + - [Download](/download) `open-stage-control-VERSION-osx.zip` + - Extract it in the location of your choice + - Drag `open-stage-control.app` in your `Application` folder -### Windows +??? example "Windows" -- [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip` -- Extract it in the location of your choice -- The file inside it named `open-stage-control.exe` is the app's main executable + - [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip` + - Extract it in the location of your choice + - The file inside it named `open-stage-control.exe` is the app's main executable diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index 60e34c30..daee9375 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -1,180 +1,148 @@ -The **server** can be configured with many options, either from a terminal or with the help of the **launcher**. The available options are described here. +The **server** can be configured with many options, either from a terminal or with the help of the **launcher**. -## Options +!!! abstract "Options" -#### `send` + === "send" -Defines the default osc/midi targets. These will be added to the widget's individual targets. Must be formatted as follows: + Defines the default osc/midi targets. These will be added to the widget's individual targets. Must be formatted as follows: -- `ip_address:port` -- `host_name:port` -- `midi:device_name` + - `ip_address:port` + - `host_name:port` + - `midi:device_name` ----- + === "load" -#### `load` + Path to a session file. All clients connecting the server will load it. -Path to a session file. All clients connecting the server will load it. + === "state" ----- + Path to a state file. All clients connecting the server will load it. -#### `state` -Path to a state file. All clients connecting the server will load it. + === "custom-module" + Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context. ----- -#### `custom-module` + === "port" -Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context. + HTTP port for the server (default: `8080`). ----- -#### `port` + === "osc-port" -HTTP port for the server (default: `8080`). + OSC (udp) input port (default: `port`). ----- -#### `osc-port` + === "tcp-port" -OSC (udp) input port (default: `port`). + OSC (tcp) input port/ ----- -#### `tcp-port` + === "tcp-targets" -OSC (tcp) input port/ + TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Must be formatted as: ----- + - `ip_address:port` + - `host_name:port` -#### `tcp-targets` -TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Must be formatted as: + === "midi" -- `ip_address:port` -- `host_name:port` + [MIDI configuration](../midi/midi-configuration). ----- -#### `midi` + === "debug" -[MIDI configuration](../midi/midi-configuration). + Print sent and receiced messages in the console. This may impact performances and should not be enabled in production. ----- -#### `debug` -Print sent and receiced messages in the console. This may impact performances and should not be enabled in production. + === "no-gui" + Disable built-in client window. ----- -#### `no-gui` + === "fullscreen" -Disable built-in client window. + Start the built-in client window in fullscreen. ----- -#### `fullscreen` + === "theme" -Start the built-in client window in fullscreen. + Theme names or paths. See [Themes](../customization/themes). ----- -#### `theme` + === "client-options" -Theme names or paths. See [Themes](../customization/themes). + Default [client options](../client-options). ----- -#### `client-options` + === "disable-vsync" -Default [client options](../client-options). + Disable built-in client window's vertical synchronization. ----- -#### `disable-vsync` + === "force-gpu" -Disable built-in client window's vertical synchronization. + Disable built-in client window's gpu blacklist (may improve rendering performance in some cases). ----- -#### `force-gpu` + === "read-only" -Disable built-in client window's gpu blacklist (may improve rendering performance in some cases). + Disable session editing, and file saving. ----- -#### `read-only` + === "remote-saving" -Disable session editing, and file saving. + Disable file saving for hosts that don't match the regular expresion. ----- + Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`. -#### `remote-saving` -Disable file saving for hosts that don't match the regular expresion. + === "remote-root" -Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`. + Set file browsing root folder. ----- -#### `remote-root` + === "instance-name" -Set file browsing root folder. + Used to differenciate multiple instances in a zeroconf network. ----- -#### `instance-name` +!!! abstract "Command-line options" -Used to differenciate multiple instances in a zeroconf network. + The following options can only be set from a terminal. ----- + === "disable-gpu" + Disable hardware acceleration for the launcher window and the built-in client window. -## Other options -The following options can only be set from a terminal: + === "inspect" ----- + Enable node inspector. -#### `disable-gpu` -Disable hardware acceleration for the launcher window and the built-in client window. + === "cache-dir" ----- + Override default cache directory (contains browser cache and localStorage data). -#### `inspect` -Enable node inspector. + === "config-file" ----- + Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`. -#### `cache-dir` -Override default cache directory (contains browser cache and localStorage data). + === "help" ----- + Show help. -#### `config-file` -Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`. + === "version" ----- + Show version number. -#### `help` - -Show help. - ----- - -#### `version` - -Show version number. - ----- ## Running in a terminal diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index b679653a..0981b67d 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -45,14 +45,22 @@ Modals are virtual popup windows that may contain various content: file browser, ## Keyboard shortcuts -
        -| Shortcut | Description | -|---|---| -| ++"mod"+e++ | enable/disable editor | -| ++"mod"+s++ | save session | -| ++"mod"+shift+s++ | save session as... | -| ++"mod"+o++ | open a session file | -| ++"mod"+w++ | close client | +=== "Linux / Windows" -!!! info "" - `mod` refers to the `ctrl` key except on MacOs (`command`) + | Shortcut | Description | + |---|---| + | ++ctrl+e++ | enable/disable editor | + | ++ctrl+s++ | save session | + | ++ctrl+shift+s++ | save session as... | + | ++ctrl+o++ | open a session file | + | ++ctrl+w++ | close client | + +=== "Mac" + + | Shortcut | Description | + |---|---| + | ++cmd+e++ | enable/disable editor | + | ++cmd+s++ | save session | + | ++cmd+shift+s++ | save session as... | + | ++cmd+o++ | open a session file | + | ++cmd+w++ | close client | diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index 613244e4..ee56067a 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -34,7 +34,7 @@ Selected widget's properties are displayed and can be modified in the inspector. - Property fields are all multiline (press `shift + enter` for new line). - Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, doubles quotes around object keys are not mandatory. -- Clicking on a property name spawns a help modal window +- Clicking on a property name spawns a help modal window ## Project tree @@ -62,26 +62,48 @@ Multiple widgets can be edited at once. The following shortcuts are available only when the editor is enabled: -| Shortcut | Description | -|---|---| -| `click` | Widget selection. | -| `mod + click` | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.| -| `shift + click + drag`* | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If `mod` is pressed too, current selection is kept and will be merged with the new one if possible. | -| `mod + z` | Undo | -| `mod + y / mod + shift + z` | Redo | -| `delete` (`backspace` on Mac) | Delete selected widgets | -| `mod + c` | Copy selected widgets | -| `mod + x` | Cut selected widgets | -| `mod + v` | Paste clipboard in selected widget | -| `mod + shift + v` | Paste and increment id | -| `up, down, left, right` | Move selected widgets (1 grid unit, hold `shift` for 5 grid units) | -| `alt + [up, down, left, right]` | Resize selected widgets (1 grid unit, hold `shift` for 5 grid units) | -| `mod + a` | Select current widget's siblings and itself | -| `mod + shift + a` | Cancel current widget selection | -| `mod + up` | Select current widget's parent | -| `mod + down` | Select current widget's first child | -| `mod + right` | Select current widget's next sibling | -| `mod + left` | Select current widget's previous sibling | +=== "Linux / Windows" -!!! info "" - `mod` refers to the `ctrl` key except on MacOs (`command`) + | Shortcut | Description | + |---|---| + | ++"Click"++ | Widget selection. | + | ++ctrl+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.| + | ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If ++ctrl++ is pressed too, current selection is kept and will be merged with the new one if possible. | + | ++ctrl+z++ | Undo | + | ++ctrl+y++
        ++ctrl+shift+z++ | Redo | + | ++delete++ | Delete selected widgets | + | ++ctrl+c++ | Copy selected widgets | + | ++ctrl+x++ | Cut selected widgets | + | ++ctrl+v++ | Paste clipboard in selected widget | + | ++ctrl+shift+v++ | Paste and increment id | + | ++up++
        ++down++
        ++left++
        ++right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) | + | ++alt+up++
        ++alt+down++
        ++alt+left++
        ++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) | + | ++ctrl+a++ | Select current widget's siblings and itself | + | ++ctrl+shift+a++ | Cancel current widget selection | + | ++ctrl+up++ | Select current widget's parent | + | ++ctrl+down++ | Select current widget's first child | + | ++ctrl+right++ | Select current widget's next sibling | + | ++ctrl+left++ | Select current widget's previous sibling | + +=== "Mac" + + | Shortcut | Description | + |---|---| + | ++"Click"++ | Widget selection. | + | ++cmd+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.| + | ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If ++cmd++ is pressed too, current selection is kept and will be merged with the new one if possible. | + | ++cmd+z++ | Undo | + | ++cmd+y++
        ++cmd+shift+z++ | Redo | + | ++backspace++ | Delete selected widgets | + | ++cmd+c++ | Copy selected widgets | + | ++cmd+x++ | Cut selected widgets | + | ++cmd+v++ | Paste clipboard in selected widget | + | ++cmd+shift+v++ | Paste and increment id | + | ++up++
        ++down++
        ++left++
        ++right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) | + | ++alt+up++
        ++alt+down++
        ++alt+left++
        ++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) | + | ++cmd+a++ | Select current widget's siblings and itself | + | ++cmd+shift+a++ | Cancel current widget selection | + | ++cmd+up++ | Select current widget's parent | + | ++cmd+down++ | Select current widget's first child | + | ++cmd+right++ | Select current widget's next sibling | + | ++cmd+left++ | Select current widget's previous sibling | diff --git a/resources/docs/docs/user-interface/launcher.md b/resources/docs/docs/user-interface/launcher.md index 514dcf74..ef7806c8 100644 --- a/resources/docs/docs/user-interface/launcher.md +++ b/resources/docs/docs/user-interface/launcher.md @@ -26,16 +26,15 @@ The console diplays various informations, runtime errors and server debug messag ## Keyboard shortcuts -
        -| Shortcut | Description | -|---|---| -| `mod + w` | close window | +=== "Linux / Windows" - + | Shortcut | Description | + |---|---| + | ++ctrl+w++ | close window | -!!! info "" - `mod` refers to the `ctrl` key except on MacOs (`command`) +=== "Mac" + + | Shortcut | Description | + |---|---| + | ++cmd+w++ | close window | + | ++cmd+q++ | quit app | diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 05b3b160..e1feb876 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -2,703 +2,679 @@ ## Common -
        +??? api "
        Generic properties#
        " + Properties shared by all widgets - -
        Properties shared by all widgets
        + -| property | type |default | description | -| --- | --- | --- | --- | -|
        widget#
        |||| -|
        type#
        | `string` | "auto" | | -|
        id#
        | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. | -|
        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) | -|
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | -|
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | -|
        geometry#
        |||| -|
        left#
        | `number`|
        `string` | "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 absolutely positioned | -|
        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 absolutely positioned | -|
        width#
        | `number`|
        `percentage` | "auto" | | -|
        height#
        | `number`|
        `percentage` | "auto" | | -|
        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#
        |||| -|
        colorText#
        | `string` | "auto" | Text color. Set to "auto" to inherit from parent widget. | -|
        colorWidget#
        | `string` | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. | -|
        colorStroke#
        | `string` | "auto" | Stroke color. Set to "auto" to use `colorWidget`. | -|
        colorFill#
        | `string` | "auto" | Fill color. Set to "auto" to use `colorWidget`. | -|
        alphaStroke#
        | `number` | "auto" | Stroke color opacity. | -|
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | -|
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | -|
        padding#
        | `number` | "auto" | Inner spacing. | -|
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | -|
        value#
        |||| -|
        value#
        | `*` | "" | Define the widget's value depending on other widget's values / properties using the advanced property syntax | -|
        default#
        | `*` | "" | If set, the widget will be initialized with this value when the session is loaded. | -|
        linkId#
        | `string`|
        `array` | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.

        When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)

        When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) | -|
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | -|
        osc#
        |||| -|
        address#
        | `string` | "auto" | OSC address for sending messages, it must start with a / | -|
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | -|
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | -|
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | -|
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - The special item `"self"` can be used to refer to the emitting client directly.
        - If no target is set, messages can still be sent if the server has default targets
        - The server's default targets can be bypassed by setting one of the items to `null` | -|
        ignoreDefaults#
        | `boolean` | false | Set to `true` to ignore the server's default targets | -|
        bypass#
        | `boolean` | false | Set to `true` to prevent the widget from sending any osc message |
        + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        type#
        | `string` | "auto" | | + |
        id#
        | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. | + |
        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) | + |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | + |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | + + + === "geometry" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        left#
        | `number`|
        `string` | "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 absolutely positioned | + |
        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 absolutely positioned | + |
        width#
        | `number`|
        `percentage` | "auto" | | + |
        height#
        | `number`|
        `percentage` | "auto" | | + |
        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" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorText#
        | `string` | "auto" | Text color. Set to "auto" to inherit from parent widget. | + |
        colorWidget#
        | `string` | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. | + |
        colorStroke#
        | `string` | "auto" | Stroke color. Set to "auto" to use `colorWidget`. | + |
        colorFill#
        | `string` | "auto" | Fill color. Set to "auto" to use `colorWidget`. | + |
        alphaStroke#
        | `number` | "auto" | Stroke color opacity. | + |
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | + |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | + |
        padding#
        | `number` | "auto" | Inner spacing. | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | + + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `*` | "" | Define the widget's value depending on other widget's values / properties using the advanced property syntax | + |
        default#
        | `*` | "" | If set, the widget will be initialized with this value when the session is loaded. | + |
        linkId#
        | `string`|
        `array` | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.

        When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)

        When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) | + |
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | + + + === "osc" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        address#
        | `string` | "auto" | OSC address for sending messages, it must start with a / | + |
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | + |
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | + |
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | + |
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - The special item `"self"` can be used to refer to the emitting client directly.
        - If no target is set, messages can still be sent if the server has default targets
        - The server's default targets can be bypassed by setting one of the items to `null` | + |
        ignoreDefaults#
        | `boolean` | false | Set to `true` to ignore the server's default targets | + |
        bypass#
        | `boolean` | false | Set to `true` to prevent the widget from sending any osc message | ## Basics +??? api "
        button#
        " + On / off button. -
        + === "style" - -
        On / off button.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | -| property | type |default | description | -| --- | --- | --- | --- | -|
        style#
        |||| -|
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | -|
        button#
        |||| -|
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | -|
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | -|
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | -|
        doubleTap#
        | `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | -|
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. |
        + === "button" + | property | type |default | description | + | --- | --- | --- | --- | + |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | + |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | + |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | + |
        doubleTap#
        | `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | + |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | +??? api "
        switch#
        " + Value selector button. + === "style" -
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | - -
        Value selector button.
        + === "switch" -| property | type |default | description | -| --- | --- | --- | --- | -|
        style#
        |||| -|
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | -|
        switch#
        |||| -|
        layout#
        | `string` | "vertical" | Choices: `vertical`, `horizontal`, `grid` | -|
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | -|
        values#
        | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | -|
        mode#
        | `string` | "tap" | Interraction mode:
        - `tap`: activates when the pointer is down but prevents further scrolling
        - `slide`: same as `tap` but allows sliding between values
        - `click`: activates upon click only and allows further scrolling

        Choices: `tap`, `slide`, `click` | -|
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. |
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        layout#
        | `string` | "vertical" | Choices: `vertical`, `horizontal`, `grid` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        values#
        | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | + |
        mode#
        | `string` | "tap" | Interraction mode:
        - `tap`: activates when the pointer is down but prevents further scrolling
        - `slide`: same as `tap` but allows sliding between values
        - `click`: activates upon click only and allows further scrolling

        Choices: `tap`, `slide`, `click` | + |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | +??? api "" + Native dropdown menu. + === "dropdown" + | property | type |default | description | + | --- | --- | --- | --- | + | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | -
        +??? api "" + Drag and drop menu with a circular or grid layout. - -
        Native dropdown menu.
        + === "menu" -| property | type |default | description | -| --- | --- | --- | --- | -| |||| -| | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | -| | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 |
        + | property | type |default | description | + | --- | --- | --- | --- | + | | `number`|
        `array` | 200 | - If `layout` is `circular`: diameter (in px)
        - Else: square size or `[width, height]` array | + | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `string` | "circular" | Defines whether the menu's layout should be rendered in a circle or in a box

        Choices: `circular`, `horizontal`, `vertical`, `grid` | + | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + | | `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 | + | | `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 | + | | `array` | "" | `Array` of `number` defining the weights of each value in `values`

        Ignored when `mode` is `grid` | +??? api "
        input#
        " + Text input. + === "input" + | property | type |default | description | + | --- | --- | --- | --- | + |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + |
        unit#
        | `string` | "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) | + |
        asYouType#
        | `boolean` | false | Set to `true` to make the input send its value at each keystroke | -
        - - -
        Drag and drop menu with a circular or grid layout.
        - -| property | type |default | description | -| --- | --- | --- | --- | -| |||| -| | `number`|
        `array` | 200 | - If `layout` is `circular`: diameter (in px)
        - Else: square size or `[width, height]` array | -| | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | -| | `string` | "circular" | Defines whether the menu's layout should be rendered in a circle or in a box

        Choices: `circular`, `horizontal`, `vertical`, `grid` | -| | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | -| | `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 | -| | `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 | -| | `array` | "" | `Array` of `number` defining the weights of each value in `values`

        Ignored when `mode` is `grid` |
        - - - - -
        - - -
        Text input.
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        input#
        |||| -|
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | -|
        unit#
        | `string` | "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) | -|
        asYouType#
        | `boolean` | false | Set to `true` to make the input send its value at each keystroke |
        - - - - -
        - - -
        File/Folder selector (server-side).
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        input#
        |||| -|
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | -|
        directory#
        | `string` | "auto" | Default browsing directory | -|
        extension#
        | `string` | "*" | Only display files with this extension | -|
        hidePath#
        | `boolean` | false | Set to `true` to only display the filename (the whole path will still be used as value) | -|
        allowDir#
        | `boolean` | false | Allow selecting a folder (by pressing "open" when no file is selected) |
        - +??? api "
        file#
        " + File/Folder selector (server-side). + === "input" + | property | type |default | description | + | --- | --- | --- | --- | + |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + |
        directory#
        | `string` | "auto" | Default browsing directory | + |
        extension#
        | `string` | "*" | Only display files with this extension | + |
        hidePath#
        | `boolean` | false | Set to `true` to only display the filename (the whole path will still be used as value) | + |
        allowDir#
        | `boolean` | false | Allow selecting a folder (by pressing "open" when no file is selected) | ## Containers +??? api "
        panel#
        " + Widgets or Tabs container. -
        + === "panel" - -
        Widgets or Tabs container.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | + |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | + |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | -| property | type |default | description | -| --- | --- | --- | --- | -|
        panel#
        |||| -|
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | -|
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | -|
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | -|
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | -|
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | -|
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | -|
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | -|
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | -|
        value#
        |||| -|
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | -|
        osc#
        |||| -|
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | -|
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
        + === "value" + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | + === "children" + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | -
        +??? api "" + A toggle button that opens a popup panel. Cannot contain tabs directly. - -
        A toggle button that opens a popup panel. Cannot contain tabs directly.
        + === "modal" -| property | type |default | description | -| --- | --- | --- | --- | -| |||| -| | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | -| | `string` | "" | Alternative label for the modal popup | -| | `number`|
        `percentage` | "80%" | Modal popup's size | -| | `number`|
        `percentage` | "80%" | Modal popup's size | -| | `number`|
        `percentage` | "auto" | Modal popup's position | -| | `number`|
        `percentage` | "auto" | Modal popup's position | -| | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | -| | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | -| | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | -| | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | -| | `boolean` | true | Set to `false` to disable scrollbars | -| | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | -| |||| -| | `integer` | "" | Defines the modal's state:`0` for closed, `1` for opened | -| |||| -| | `array` | [] | Each element of the array must be a widget object |
        + | property | type |default | description | + | --- | --- | --- | --- | + | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | + | | `string` | "" | Alternative label for the modal popup | + | | `number`|
        `percentage` | "80%" | Modal popup's size | + | | `number`|
        `percentage` | "80%" | Modal popup's size | + | | `number`|
        `percentage` | "auto" | Modal popup's position | + | | `number`|
        `percentage` | "auto" | Modal popup's position | + | | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + | | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + | | `boolean` | true | Set to `false` to disable scrollbars | + | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + === "value" + | property | type |default | description | + | --- | --- | --- | --- | + | | `integer` | "" | Defines the modal's state:`0` for closed, `1` for opened | + === "children" -
        + | property | type |default | description | + | --- | --- | --- | --- | + | | `array` | [] | Each element of the array must be a widget object | - -
        Widget replication with overridable properties.
        +??? api "
        clone#
        " + Widget replication with overridable properties. -| property | type |default | description | -| --- | --- | --- | --- | -|
        clone#
        |||| -|
        widgetId#
        | `string` | "" | `id` of the widget to clone | -|
        overrides#
        |||| -|
        props#
        | `object` | \{} | Cloned widget's properties to override |
        + === "clone" + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgetId#
        | `string` | "" | `id` of the widget to clone | + === "overrides" + | property | type |default | description | + | --- | --- | --- | --- | + |
        props#
        | `object` | \{} | Cloned widget's properties to override | -
        +??? api "
        matrix#
        " + Generic matrix for creating rows/columns of widgets. - -
        Generic matrix for creating rows/columns of widgets.
        + === "matrix" -| property | type |default | description | -| --- | --- | --- | --- | -|
        matrix#
        |||| -|
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | -|
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | -|
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | -|
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | -|
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | -|
        start#
        | `integer` | 0 | First widget's index | -|
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | -|
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) |
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | + |
        start#
        | `integer` | 0 | First widget's index | + |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | + |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | +??? api "
        keyboard#
        " + Piano keyboard. + === "style" + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | Available CSS variables:
        - `--color-white:color;` (white keys color)
        - `--color-black:color;` (black keys color) | -
        + === "matrix" - -
        Piano keyboard.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        keys#
        | `number` | 25 | Defines the number keys | + |
        start#
        | `number` | 48 | MIDI note number to start with (default is C4)

        Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` | + |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | + |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        toggles#
        | `boolean` | false | Set to `true` to make keys bahave like toggle buttons | -| property | type |default | description | -| --- | --- | --- | --- | -|
        style#
        |||| -|
        css#
        | `string` | "" | Available CSS variables:
        - `--color-white:color;` (white keys color)
        - `--color-black:color;` (black keys color) | -|
        matrix#
        |||| -|
        keys#
        | `number` | 25 | Defines the number keys | -|
        start#
        | `number` | 48 | MIDI note number to start with (default is C4)

        Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` | -|
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | -|
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | -|
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | -|
        toggles#
        | `boolean` | false | Set to `true` to make keys bahave like toggle buttons |
        +??? api "
        patchbay#
        " + Connect inputs to outputs. + === "style" + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:

        `.nodes { width: 25% }` | + === "patchbay" -
        + | 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. 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`). | - -
        Connect inputs to outputs.
        +??? api "
        root#
        " + Main (unique) container -| property | type |default | description | -| --- | --- | --- | --- | -|
        style#
        |||| -|
        css#
        | `string` | "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:

        `.nodes { width: 25% }` | -|
        patchbay#
        |||| -|
        inputs#
        | `array`|
        `object` | [
         "input_1",
         "input_2"
        ]
        | - `Array` of input names : `['input_1', 'input_2']`
        - `Object` of `"label_1": "input_1"` 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



        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`). |
        + === "panel" + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | + |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | + |
        variables#
        | `*` | "" | Defines one or more arbitrary variables that can be inherited by children widgets | + === "value" + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | -
        + === "children" - -
        Main (unique) container
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | -| property | type |default | description | -| --- | --- | --- | --- | -|
        panel#
        |||| -|
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | -|
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | -|
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | -|
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | -|
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | -|
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | -|
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | -|
        variables#
        | `*` | "" | Defines one or more arbitrary variables that can be inherited by children widgets | -|
        value#
        |||| -|
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | -|
        osc#
        |||| -|
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | -|
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
        +??? api "
        tab#
        " + Tabbed panel widget + === "tab" + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | + |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | + |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + === "value" -
        - - -
        Tabbed panel widget
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        tab#
        |||| -|
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | -|
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | -|
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | -|
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | -|
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | -|
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | -|
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | -|
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | -|
        value#
        |||| -|
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | -|
        osc#
        |||| -|
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | -|
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
        - + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | + === "children" + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | ## Frames +??? api "
        frame#
        " + Embed a page in a frame (local network only). -
        + === "widget" - -
        Embed a page in a frame (local network only).
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        label#
        | `string`|
        `boolean` | "auto" | Set to `false` to hide completely

        Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc

        If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected | -| property | type |default | description | -| --- | --- | --- | --- | -|
        widget#
        |||| -|
        label#
        | `string`|
        `boolean` | "auto" | Set to `false` to hide completely

        Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc

        If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected | -|
        value#
        |||| -|
        value#
        | `string` | "" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) |
        + === "value" + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `string` | "" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) | +??? api "
        svg#
        " + Svg parser. + === "svg" -
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        svg#
        | `string` | "" | Svg xml definition:
        - will be wrapped in a `< svg />` element
        - `` commands support a special percent notation (`%x` and `%y`) | - -
        Svg parser.
        +??? api "
        html#
        " + Simple HTML parser. -| property | type |default | description | -| --- | --- | --- | --- | -|
        svg#
        |||| -|
        svg#
        | `string` | "" | Svg xml definition:
        - will be wrapped in a `< svg />` element
        - `` commands support a special percent notation (`%x` and `%y`) |
        + === "html" + | property | type |default | description | + | --- | --- | --- | --- | + |
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | +??? api "
        image#
        " + Load a image (url or base64-encoded). + === "image" -
        - - -
        Simple HTML parser.
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        html#
        |||| -|
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height |
        - - - - -
        - - -
        Load a image (url or base64-encoded).
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        image#
        |||| -|
        size#
        | `string` | "cover" | CSS background-size | -|
        position#
        | `string` | "center" | CSS background-position | -|
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | -|
        cache#
        | `boolean` | true | 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#
        |||| -|
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` |
        - + | property | type |default | description | + | --- | --- | --- | --- | + |
        size#
        | `string` | "cover" | CSS background-size | + |
        position#
        | `string` | "center" | CSS background-position | + |
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | + |
        cache#
        | `boolean` | true | 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" + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` | ## Graphs +??? api "
        plot#
        " + XY coordinates plot. -
        + === "plot" - -
        XY coordinates plot.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 (base 10). Set to a `number` to define the logarithm's base. | + |
        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. | + |
        dots#
        | `boolean` | true | | + |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | -| property | type |default | description | -| --- | --- | --- | --- | -|
        plot#
        |||| -|
        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 (base 10). Set to a `number` to define the logarithm's base. | -|
        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. | -|
        dots#
        | `boolean` | true | | -|
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | -|
        value#
        |||| -|
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates |
        + === "value" + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | +??? api "
        eq#
        " + Draws logarithmic frequency response from an array of filter objects. + === "eq" -
        - - -
        Draws logarithmic frequency response from an array of filter objects.
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        eq#
        |||| -|
        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 | -|
        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) | -|
        origin#
        | `number`|
        `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it |
        - - - - -
        - - -
        Display its value over time.
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        visualizer#
        |||| -|
        duration#
        | `number` | 1 | Defines visualization duration in seconds | -|
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | -|
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | -|
        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. | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale |
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 | + |
        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) | + |
        origin#
        | `number`|
        `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | +??? api "
        visualizer#
        " + Display its value over time. + === "visualizer" + | property | type |default | description | + | --- | --- | --- | --- | + |
        duration#
        | `number` | 1 | Defines visualization duration in seconds | + |
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | + |
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | + |
        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. | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | ## Indicators +??? api "
        led#
        " + Intensity display. -
        + === "led" - -
        Intensity display.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`)

        Choices: `intensity`, `color` | + |
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | + |
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | + |
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | + |
        borderRadius#
        | `string` | "" | Css border-radius property. | -| property | type |default | description | -| --- | --- | --- | --- | -|
        led#
        |||| -|
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`)

        Choices: `intensity`, `color` | -|
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | -|
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | -|
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | -|
        borderRadius#
        | `string` | "" | Css border-radius property. | -|
        value#
        |||| -|
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color |
        + === "value" + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color | +??? api "
        text#
        " + Display text. + === "text" -
        - - -
        Display text.
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        text#
        |||| -|
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | -|
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically.

        This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | -|
        align#
        | `string` | "center" | Css text-align property.

        Choices: `center`, `left`, `right` |
        - - - + | property | type |default | description | + | --- | --- | --- | --- | + |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | + |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically.

        This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | + |
        align#
        | `string` | "center" | Css text-align property.

        Choices: `center`, `left`, `right` | ## Pads +??? api "
        xy#
        " + Two-dimensional slider. -
        + === "xy" - -
        Two-dimensional slider.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        pointSize#
        | `integer` | 20 | Defines the points' size | + |
        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 | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + |
        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. | + |
        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` | -| property | type |default | description | -| --- | --- | --- | --- | -|
        xy#
        |||| -|
        pointSize#
        | `integer` | 20 | Defines the points' size | -|
        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 | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | -|
        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. | -|
        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` | -|
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) |
        + === "osc" + | property | type |default | description | + | --- | --- | --- | --- | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) | +??? api "
        rgb#
        " + Color picker with optional alpha slider. + === "rgb" -
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 | + |
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | + |
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | + |
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. | - -
        Color picker with optional alpha slider.
        +??? api "
        multixy#
        " + Multi-point XY pad. -| property | type |default | description | -| --- | --- | --- | --- | -|
        rgb#
        |||| -|
        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 | -|
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | -|
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | -|
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. |
        + === "multi xy" + | 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']`) | + === "xy" + | property | type |default | description | + | --- | --- | --- | --- | + |
        pointSize#
        | `integer` | 20 | Defines the points' size | + |
        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 | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + |
        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. | + |
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | -
        - - -
        Multi-point XY pad.
        - -| property | type |default | description | -| --- | --- | --- | --- | -|
        multi xy#
        |||| -|
        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']`) | -|
        xy#
        |||| -|
        pointSize#
        | `integer` | 20 | Defines the points' size | -|
        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 | -|
        pips#
        | `boolean` | true | Set to `false` to hide the scale | -|
        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. | -|
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | -|
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
        - - + === "osc" + | property | type |default | description | + | --- | --- | --- | --- | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ## Sliders +??? api "
        fader#
        " + Vertical / horizontal slider. -
        + === "style" - -
        Vertical / horizontal slider.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | -| property | type |default | description | -| --- | --- | --- | --- | -|
        style#
        |||| -|
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | -|
        fader#
        |||| -|
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | -|
        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` | false | Set to `true` to display a dashed gauge | -|
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | -|
        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 | -|
        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}}`) | -|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | -|
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | -|
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
        + === "fader" + | property | type |default | description | + | --- | --- | --- | --- | + |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        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` | false | Set to `true` to display a dashed gauge | + |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | + |
        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 | + |
        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}}`) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | + === "osc" + | property | type |default | description | + | --- | --- | --- | --- | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | -
        +??? api "
        knob#
        " + Rotative knob slider. - -
        Rotative knob slider.
        + === "style" -| property | type |default | description | -| --- | --- | --- | --- | -|
        style#
        |||| -|
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | -|
        knob#
        |||| -|
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Choices: `vertical`, `circular`, `snap` | -|
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | -|
        pips#
        | `boolean` | false | Set to `true` to show the scale's breakpoints | -|
        dashed#
        | `boolean` | false | Set to `true` to display a dashed gauge | -|
        angle#
        | `number` | 270 | Defines the angle's width of the knob, in degrees | -|
        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 (`/ `) | -|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | -|
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | -|
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + === "knob" + | property | type |default | description | + | --- | --- | --- | --- | + |
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Choices: `vertical`, `circular`, `snap` | + |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | + |
        pips#
        | `boolean` | false | Set to `true` to show the scale's breakpoints | + |
        dashed#
        | `boolean` | false | Set to `true` to display a dashed gauge | + |
        angle#
        | `number` | 270 | Defines the angle's width of the knob, in degrees | + |
        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 (`/ `) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | + === "osc" -
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | - -
        A knob that sends a relative direction infomation instead of an absolute value.
        +??? api "
        encoder#
        " + A knob that sends a relative direction infomation instead of an absolute value. -| property | type |default | description | -| --- | --- | --- | --- | -|
        encoder#
        |||| -|
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | -|
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | -|
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | -|
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | -|
        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 (`/ `) | -|
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
        + === "encoder" + | property | type |default | description | + | --- | --- | --- | --- | + |
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | + |
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | + |
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | + |
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | + |
        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 (`/ `) | + === "osc" + | property | type |default | description | + | --- | --- | --- | --- | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | -
        +??? api "
        range#
        " + A fader with two heads for setting a range. - -
        A fader with two heads for setting a range.
        + === "style" -| property | type |default | description | -| --- | --- | --- | --- | -|
        style#
        |||| -|
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | -|
        fader#
        |||| -|
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | -|
        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` | false | Set to `true` to display a dashed gauge | -|
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | -|
        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 | -|
        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}}`) | -|
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | -|
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | -|
        osc#
        |||| -|
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + === "fader" + | property | type |default | description | + | --- | --- | --- | --- | + |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        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` | false | Set to `true` to display a dashed gauge | + |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | + |
        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 | + |
        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}}`) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | + === "osc" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ## Scripts +??? api "
        script#
        " + Evaluates a script each time it receives a value. -
        + === "script" - -
        Evaluates a script each time it receives a value.
        + | property | type |default | description | + | --- | --- | --- | --- | + |
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Choices: `value`, `keyboard` | + |
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | -| property | type |default | description | -| --- | --- | --- | --- | -|
        script#
        |||| -|
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Choices: `value`, `keyboard` | -|
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | -|
        event: keyboard#
        |||| -|
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | -|
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | -|
        keyType#
        | `string` | "keyDown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` |
        - - - - - + === "event: keyboard" + | property | type |default | description | + | --- | --- | --- | --- | + |
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | + |
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | + |
        keyType#
        | `string` | "keyDown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | diff --git a/resources/docs/download.md b/resources/docs/download.md index 863a1b14..db9c40b3 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -4,9 +4,9 @@
        Loading assets...
        -## Changelog +??? abstract "Changelog" +
        Loading changelog...
        -
        Loading changelog...
        -`) - -console.log(doc.join('').replace(/^ +/gm,'')) +console.log(doc.join('')) process.exit(0) // avoid setTimeout errors in required modules diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 1e1252c1..177d1cc1 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -148,7 +148,8 @@ class Widget extends EventEmitter { for (var m in push) { if (!alterDefaults[m]) alterDefaults[m] = [] - Object.assign(alterDefaults[m], push[m]) + if (typeof push[m] === 'string') alterDefaults[m] = push[m] + else Object.assign(alterDefaults[m], push[m]) } alterDefaults._props = function() { diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index aff54a5a..6f0318b8 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -35,6 +35,8 @@ class Modal extends Panel { }, [], { + _children: 'children', + widgets: {type: 'array', value: [], help: 'Each element of the array must be a widget object'}, value: {type: 'integer', value: '', help: [ 'Defines the modal\'s state:`0` for closed, `1` for opened' diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index e094eff2..f017ba41 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -30,6 +30,8 @@ class Panel extends Container() { }, [], { + _children: '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'}, diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 23d0b47e..afdaa39f 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -32,6 +32,8 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', ], { + _children: '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'}, diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index ea2b8f2d..e37a93b0 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -31,6 +31,8 @@ module.exports = class Tab extends Panel { 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn' ], { + _children: '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'}, From 8e67a5bb051f48289759340e687fdce8612f4bed Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 16:16:49 +0200 Subject: [PATCH 2066/2575] docs: update discourse logo && script --- resources/docs/extra/scripts.js | 17 +++++++++++++++++ resources/images/logo_discourse.png | Bin 43113 -> 40531 bytes 2 files changed, 17 insertions(+) create mode 100644 resources/docs/extra/scripts.js diff --git a/resources/docs/extra/scripts.js b/resources/docs/extra/scripts.js new file mode 100644 index 00000000..6c4e469d --- /dev/null +++ b/resources/docs/extra/scripts.js @@ -0,0 +1,17 @@ +document.addEventListener('DOMContentLoaded', ()=>{ + + if (window.location.hash) { + // 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() + if (item) { + item.scrollIntoView() + document.documentElement.scrollTop -= 70 + } + }) + } + + +}) diff --git a/resources/images/logo_discourse.png b/resources/images/logo_discourse.png index 4aa86f412afabc36eb9445a6662bc19bc2d19d88..db8096b2bf7df1f9f34e530a7f0239a02c9f43ff 100644 GIT binary patch literal 40531 zcmeFYbyQT}_cuOtgCmWE3?(TYL#gCQDcv9_-8oVc3M0*+bSR7>4bnYGOUckZlG30^ z$8&jqzTdT;_viWl_t)>PH86A6z31%n+WYLY&uj1V_KCI{1t}9L2n3>lsVnP(K*Vyu z_iJK8;4i(Bz98@q-}@0vpBT7;h@T^X-y|ODCf*z$kEN&+xD5q3n6ze`^;TACJ^W@2&Vi{AD*>6?_Zx~P}6g;mm%ZGsf-&Q z8me9ni6+p;Cqt;i9zA-X935^^P9b2FA8PqGzyO~>fS8zs1co9}r~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514c7b9262174abc8ccf84b615a Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 16:24:53 +0200 Subject: [PATCH 2067/2575] docs: restore dynamic prop hint --- .../docs/docs/widgets/advanced-syntaxes.md | 2 +- .../docs/docs/widgets/properties-reference.md | 492 +++++++++--------- resources/docs/extra/styles.css | 4 + resources/overrides/main.html | 2 + scripts/build-widgets-reference.js | 8 +- 5 files changed, 257 insertions(+), 251 deletions(-) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 5ed14237..4957a5eb 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -20,7 +20,7 @@ A widget can fetch its own properties or its direct parent's by using the keywor Some properties, when changed, trigger a complete widget recreation that ends any ongoing user interaction. Also, updating these properties continuously (e.g. when linked to a slider's dynamic value) can be very cpu expensive. -Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a . +Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a . #### Circular references cases diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index e1feb876..973d3369 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -12,60 +12,60 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        type#
        | `string` | "auto" | | - |
        id#
        | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. | - |
        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) | - |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | - |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | + |
        type#
        | `string` | "auto" | | + |
        id#
        | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. | + |
        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) | + |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | + |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | === "geometry" | property | type |default | description | | --- | --- | --- | --- | - |
        left#
        | `number`|
        `string` | "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 absolutely positioned | - |
        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 absolutely positioned | - |
        width#
        | `number`|
        `percentage` | "auto" | | - |
        height#
        | `number`|
        `percentage` | "auto" | | - |
        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. | + |
        left#
        | `number`|
        `string` | "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 absolutely positioned | + |
        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 absolutely positioned | + |
        width#
        | `number`|
        `percentage` | "auto" | | + |
        height#
        | `number`|
        `percentage` | "auto" | | + |
        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" | property | type |default | description | | --- | --- | --- | --- | - |
        colorText#
        | `string` | "auto" | Text color. Set to "auto" to inherit from parent widget. | - |
        colorWidget#
        | `string` | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. | - |
        colorStroke#
        | `string` | "auto" | Stroke color. Set to "auto" to use `colorWidget`. | - |
        colorFill#
        | `string` | "auto" | Fill color. Set to "auto" to use `colorWidget`. | - |
        alphaStroke#
        | `number` | "auto" | Stroke color opacity. | - |
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | - |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | - |
        padding#
        | `number` | "auto" | Inner spacing. | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | + |
        colorText#
        | `string` | "auto" | Text color. Set to "auto" to inherit from parent widget. | + |
        colorWidget#
        | `string` | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. | + |
        colorStroke#
        | `string` | "auto" | Stroke color. Set to "auto" to use `colorWidget`. | + |
        colorFill#
        | `string` | "auto" | Fill color. Set to "auto" to use `colorWidget`. | + |
        alphaStroke#
        | `number` | "auto" | Stroke color opacity. | + |
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | + |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | + |
        padding#
        | `number` | "auto" | Inner spacing. | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `*` | "" | Define the widget's value depending on other widget's values / properties using the advanced property syntax | - |
        default#
        | `*` | "" | If set, the widget will be initialized with this value when the session is loaded. | - |
        linkId#
        | `string`|
        `array` | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.

        When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)

        When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) | - |
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | + |
        value#
        | `*` | "" | Define the widget's value depending on other widget's values / properties using the advanced property syntax | + |
        default#
        | `*` | "" | If set, the widget will be initialized with this value when the session is loaded. | + |
        linkId#
        | `string`|
        `array` | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.

        When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)

        When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) | + |
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | === "osc" | property | type |default | description | | --- | --- | --- | --- | - |
        address#
        | `string` | "auto" | OSC address for sending messages, it must start with a / | - |
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | - |
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | - |
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | - |
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - The special item `"self"` can be used to refer to the emitting client directly.
        - If no target is set, messages can still be sent if the server has default targets
        - The server's default targets can be bypassed by setting one of the items to `null` | - |
        ignoreDefaults#
        | `boolean` | false | Set to `true` to ignore the server's default targets | - |
        bypass#
        | `boolean` | false | Set to `true` to prevent the widget from sending any osc message | + |
        address#
        | `string` | "auto" | OSC address for sending messages, it must start with a / | + |
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | + |
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | + |
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | + |
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - The special item `"self"` can be used to refer to the emitting client directly.
        - If no target is set, messages can still be sent if the server has default targets
        - The server's default targets can be bypassed by setting one of the items to `null` | + |
        ignoreDefaults#
        | `boolean` | false | Set to `true` to ignore the server's default targets | + |
        bypass#
        | `boolean` | false | Set to `true` to prevent the widget from sending any osc message | ## Basics ??? api "
        button#
        " @@ -75,17 +75,17 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | === "button" | property | type |default | description | | --- | --- | --- | --- | - |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | - |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | - |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | - |
        doubleTap#
        | `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | - |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | + |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | + |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | + |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | + |
        doubleTap#
        | `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | + |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | ??? api "
        switch#
        " Value selector button. @@ -94,17 +94,17 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | === "switch" | property | type |default | description | | --- | --- | --- | --- | - |
        layout#
        | `string` | "vertical" | Choices: `vertical`, `horizontal`, `grid` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        values#
        | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | - |
        mode#
        | `string` | "tap" | Interraction mode:
        - `tap`: activates when the pointer is down but prevents further scrolling
        - `slide`: same as `tap` but allows sliding between values
        - `click`: activates upon click only and allows further scrolling

        Choices: `tap`, `slide`, `click` | - |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | + |
        layout#
        | `string` | "vertical" | Choices: `vertical`, `horizontal`, `grid` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        values#
        | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | + |
        mode#
        | `string` | "tap" | Interraction mode:
        - `tap`: activates when the pointer is down but prevents further scrolling
        - `slide`: same as `tap` but allows sliding between values
        - `click`: activates upon click only and allows further scrolling

        Choices: `tap`, `slide`, `click` | + |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | ??? api "" Native dropdown menu. @@ -113,8 +113,8 @@ | property | type |default | description | | --- | --- | --- | --- | - | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - | | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | + | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | ??? api "" Drag and drop menu with a circular or grid layout. @@ -123,14 +123,14 @@ | property | type |default | description | | --- | --- | --- | --- | - | | `number`|
        `array` | 200 | - If `layout` is `circular`: diameter (in px)
        - Else: square size or `[width, height]` array | - | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - | | `string` | "circular" | Defines whether the menu's layout should be rendered in a circle or in a box

        Choices: `circular`, `horizontal`, `vertical`, `grid` | - | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - | | `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 | - | | `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 | - | | `array` | "" | `Array` of `number` defining the weights of each value in `values`

        Ignored when `mode` is `grid` | + | | `number`|
        `array` | 200 | - If `layout` is `circular`: diameter (in px)
        - Else: square size or `[width, height]` array | + | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `string` | "circular" | Defines whether the menu's layout should be rendered in a circle or in a box

        Choices: `circular`, `horizontal`, `vertical`, `grid` | + | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + | | `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 | + | | `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 | + | | `array` | "" | `Array` of `number` defining the weights of each value in `values`

        Ignored when `mode` is `grid` | ??? api "
        input#
        " Text input. @@ -139,9 +139,9 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - |
        unit#
        | `string` | "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) | - |
        asYouType#
        | `boolean` | false | Set to `true` to make the input send its value at each keystroke | + |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + |
        unit#
        | `string` | "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) | + |
        asYouType#
        | `boolean` | false | Set to `true` to make the input send its value at each keystroke | ??? api "
        file#
        " File/Folder selector (server-side). @@ -150,11 +150,11 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - |
        directory#
        | `string` | "auto" | Default browsing directory | - |
        extension#
        | `string` | "*" | Only display files with this extension | - |
        hidePath#
        | `boolean` | false | Set to `true` to only display the filename (the whole path will still be used as value) | - |
        allowDir#
        | `boolean` | false | Allow selecting a folder (by pressing "open" when no file is selected) | + |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + |
        directory#
        | `string` | "auto" | Default browsing directory | + |
        extension#
        | `string` | "*" | Only display files with this extension | + |
        hidePath#
        | `boolean` | false | Set to `true` to only display the filename (the whole path will still be used as value) | + |
        allowDir#
        | `boolean` | false | Allow selecting a folder (by pressing "open" when no file is selected) | ## Containers ??? api "
        panel#
        " @@ -164,27 +164,27 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | - |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | - |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | - |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | + |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | + |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | + |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | === "children" | property | type |default | description | | --- | --- | --- | --- | - |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | - |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | ??? api "" A toggle button that opens a popup panel. Cannot contain tabs directly. @@ -193,30 +193,30 @@ | property | type |default | description | | --- | --- | --- | --- | - | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | - | | `string` | "" | Alternative label for the modal popup | - | | `number`|
        `percentage` | "80%" | Modal popup's size | - | | `number`|
        `percentage` | "80%" | Modal popup's size | - | | `number`|
        `percentage` | "auto" | Modal popup's position | - | | `number`|
        `percentage` | "auto" | Modal popup's position | - | | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | - | | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | - | | `boolean` | true | Set to `false` to disable scrollbars | - | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | + | | `string` | "" | Alternative label for the modal popup | + | | `number`|
        `percentage` | "80%" | Modal popup's size | + | | `number`|
        `percentage` | "80%" | Modal popup's size | + | | `number`|
        `percentage` | "auto" | Modal popup's position | + | | `number`|
        `percentage` | "auto" | Modal popup's position | + | | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + | | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + | | `boolean` | true | Set to `false` to disable scrollbars | + | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | === "value" | property | type |default | description | | --- | --- | --- | --- | - | | `integer` | "" | Defines the modal's state:`0` for closed, `1` for opened | + | | `integer` | "" | Defines the modal's state:`0` for closed, `1` for opened | === "children" | property | type |default | description | | --- | --- | --- | --- | - | | `array` | [] | Each element of the array must be a widget object | + | | `array` | [] | Each element of the array must be a widget object | ??? api "
        clone#
        " Widget replication with overridable properties. @@ -225,13 +225,13 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        widgetId#
        | `string` | "" | `id` of the widget to clone | + |
        widgetId#
        | `string` | "" | `id` of the widget to clone | === "overrides" | property | type |default | description | | --- | --- | --- | --- | - |
        props#
        | `object` | \{} | Cloned widget's properties to override | + |
        props#
        | `object` | \{} | Cloned widget's properties to override | ??? api "
        matrix#
        " Generic matrix for creating rows/columns of widgets. @@ -240,14 +240,14 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | - |
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | - |
        start#
        | `integer` | 0 | First widget's index | - |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | - |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | + |
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | + |
        start#
        | `integer` | 0 | First widget's index | + |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | + |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | ??? api "
        keyboard#
        " Piano keyboard. @@ -256,18 +256,18 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | Available CSS variables:
        - `--color-white:color;` (white keys color)
        - `--color-black:color;` (black keys color) | + |
        css#
        | `string` | "" | Available CSS variables:
        - `--color-white:color;` (white keys color)
        - `--color-black:color;` (black keys color) | === "matrix" | property | type |default | description | | --- | --- | --- | --- | - |
        keys#
        | `number` | 25 | Defines the number keys | - |
        start#
        | `number` | 48 | MIDI note number to start with (default is C4)

        Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` | - |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | - |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | - |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | - |
        toggles#
        | `boolean` | false | Set to `true` to make keys bahave like toggle buttons | + |
        keys#
        | `number` | 25 | Defines the number keys | + |
        start#
        | `number` | 48 | MIDI note number to start with (default is C4)

        Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` | + |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | + |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        toggles#
        | `boolean` | false | Set to `true` to make keys bahave like toggle buttons | ??? api "
        patchbay#
        " Connect inputs to outputs. @@ -276,14 +276,14 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:

        `.nodes { width: 25% }` | + |
        css#
        | `string` | "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:

        `.nodes { width: 25% }` | === "patchbay" | 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. 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`). | + |
        inputs#
        | `array`|
        `object` | [
         "input_1",
         "input_2"
        ]
        | - `Array` of input names : `['input_1', 'input_2']`
        - `Object` of `"label_1": "input_1"` 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



        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`). | ??? api "
        root#
        " Main (unique) container @@ -292,27 +292,27 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | - |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | - |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | - |
        variables#
        | `*` | "" | Defines one or more arbitrary variables that can be inherited by children widgets | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | + |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | + |
        variables#
        | `*` | "" | Defines one or more arbitrary variables that can be inherited by children widgets | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | + |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | === "children" | property | type |default | description | | --- | --- | --- | --- | - |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | - |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | ??? api "
        tab#
        " Tabbed panel widget @@ -321,27 +321,27 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | - |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | - |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | - |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | + |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | + |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | + |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | === "children" | property | type |default | description | | --- | --- | --- | --- | - |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | - |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | ## Frames ??? api "
        frame#
        " @@ -351,13 +351,13 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        label#
        | `string`|
        `boolean` | "auto" | Set to `false` to hide completely

        Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc

        If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected | + |
        label#
        | `string`|
        `boolean` | "auto" | Set to `false` to hide completely

        Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc

        If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `string` | "" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) | + |
        value#
        | `string` | "" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) | ??? api "
        svg#
        " Svg parser. @@ -366,7 +366,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        svg#
        | `string` | "" | Svg xml definition:
        - will be wrapped in a `< svg />` element
        - `` commands support a special percent notation (`%x` and `%y`) | + |
        svg#
        | `string` | "" | Svg xml definition:
        - will be wrapped in a `< svg />` element
        - `` commands support a special percent notation (`%x` and `%y`) | ??? api "
        html#
        " Simple HTML parser. @@ -375,7 +375,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | + |
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | ??? api "
        image#
        " Load a image (url or base64-encoded). @@ -384,16 +384,16 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        size#
        | `string` | "cover" | CSS background-size | - |
        position#
        | `string` | "center" | CSS background-position | - |
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | - |
        cache#
        | `boolean` | true | 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 | + |
        size#
        | `string` | "cover" | CSS background-size | + |
        position#
        | `string` | "center" | CSS background-position | + |
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | + |
        cache#
        | `boolean` | true | 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" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` | + |
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` | ## Graphs ??? api "
        plot#
        " @@ -403,20 +403,20 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        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 (base 10). Set to a `number` to define the logarithm's base. | - |
        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. | - |
        dots#
        | `boolean` | true | | - |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + |
        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 (base 10). Set to a `number` to define the logarithm's base. | + |
        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. | + |
        dots#
        | `boolean` | true | | + |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | + |
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | ??? api "
        eq#
        " Draws logarithmic frequency response from an array of filter objects. @@ -425,11 +425,11 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        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 | - |
        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) | - |
        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 | + |
        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) | + |
        origin#
        | `number`|
        `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | ??? api "
        visualizer#
        " Display its value over time. @@ -438,11 +438,11 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        duration#
        | `number` | 1 | Defines visualization duration in seconds | - |
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | - |
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | - |
        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. | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + |
        duration#
        | `number` | 1 | Defines visualization duration in seconds | + |
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | + |
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | + |
        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. | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | ## Indicators ??? api "
        led#
        " @@ -452,17 +452,17 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`)

        Choices: `intensity`, `color` | - |
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | - |
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | - |
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | - |
        borderRadius#
        | `string` | "" | Css border-radius property. | + |
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`)

        Choices: `intensity`, `color` | + |
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | + |
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | + |
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | + |
        borderRadius#
        | `string` | "" | Css border-radius property. | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color | + |
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color | ??? api "
        text#
        " Display text. @@ -471,9 +471,9 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | - |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically.

        This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | - |
        align#
        | `string` | "center" | Css text-align property.

        Choices: `center`, `left`, `right` | + |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | + |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically.

        This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | + |
        align#
        | `string` | "center" | Css text-align property.

        Choices: `center`, `left`, `right` | ## Pads ??? api "
        xy#
        " @@ -483,22 +483,22 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        pointSize#
        | `integer` | 20 | Defines the points' size | - |
        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 | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | - |
        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. | - |
        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` | + |
        pointSize#
        | `integer` | 20 | Defines the points' size | + |
        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 | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + |
        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. | + |
        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` | === "osc" | property | type |default | description | | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) | ??? api "
        rgb#
        " Color picker with optional alpha slider. @@ -507,11 +507,11 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        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 | - |
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | - |
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | - |
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. | + |
        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 | + |
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | + |
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | + |
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. | ??? api "
        multixy#
        " Multi-point XY pad. @@ -520,27 +520,27 @@ | 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']`) | + |
        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']`) | === "xy" | property | type |default | description | | --- | --- | --- | --- | - |
        pointSize#
        | `integer` | 20 | Defines the points' size | - |
        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 | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | - |
        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. | - |
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | + |
        pointSize#
        | `integer` | 20 | Defines the points' size | + |
        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 | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + |
        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. | + |
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | === "osc" | property | type |default | description | | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ## Sliders ??? api "
        fader#
        " @@ -550,31 +550,31 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | === "fader" | property | type |default | description | | --- | --- | --- | --- | - |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | - |
        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` | false | Set to `true` to display a dashed gauge | - |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | - |
        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 | - |
        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}}`) | - |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | - |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | + |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        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` | false | Set to `true` to display a dashed gauge | + |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | + |
        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 | + |
        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}}`) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | === "osc" | property | type |default | description | | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ??? api "
        knob#
        " Rotative knob slider. @@ -583,29 +583,29 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | === "knob" | property | type |default | description | | --- | --- | --- | --- | - |
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Choices: `vertical`, `circular`, `snap` | - |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | - |
        pips#
        | `boolean` | false | Set to `true` to show the scale's breakpoints | - |
        dashed#
        | `boolean` | false | Set to `true` to display a dashed gauge | - |
        angle#
        | `number` | 270 | Defines the angle's width of the knob, in degrees | - |
        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 (`/ `) | - |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | - |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | + |
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Choices: `vertical`, `circular`, `snap` | + |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | + |
        pips#
        | `boolean` | false | Set to `true` to show the scale's breakpoints | + |
        dashed#
        | `boolean` | false | Set to `true` to display a dashed gauge | + |
        angle#
        | `number` | 270 | Defines the angle's width of the knob, in degrees | + |
        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 (`/ `) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | === "osc" | property | type |default | description | | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ??? api "
        encoder#
        " A knob that sends a relative direction infomation instead of an absolute value. @@ -614,18 +614,18 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | - |
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | - |
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | - |
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | - |
        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 (`/ `) | + |
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | + |
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | + |
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | + |
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | + |
        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 (`/ `) | === "osc" | property | type |default | description | | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ??? api "
        range#
        " A fader with two heads for setting a range. @@ -634,31 +634,31 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | === "fader" | property | type |default | description | | --- | --- | --- | --- | - |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | - |
        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` | false | Set to `true` to display a dashed gauge | - |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | - |
        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 | - |
        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}}`) | - |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | - |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | + |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        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` | false | Set to `true` to display a dashed gauge | + |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | + |
        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 | + |
        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}}`) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | === "osc" | property | type |default | description | | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | + |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ## Scripts ??? api "
        script#
        " @@ -668,13 +668,13 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Choices: `value`, `keyboard` | - |
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | + |
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Choices: `value`, `keyboard` | + |
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | === "event: keyboard" | property | type |default | description | | --- | --- | --- | --- | - |
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | - |
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | - |
        keyType#
        | `string` | "keyDown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | + |
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | + |
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | + |
        keyType#
        | `string` | "keyDown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | diff --git a/resources/docs/extra/styles.css b/resources/docs/extra/styles.css index a41c1298..4ee3e76a 100644 --- a/resources/docs/extra/styles.css +++ b/resources/docs/extra/styles.css @@ -91,3 +91,7 @@ details.api summary { details.api summary:before { display: none!important; } + +i[title="dynamic"] { + color: var(--osc-accent-color); +} diff --git a/resources/overrides/main.html b/resources/overrides/main.html index 301e20bc..52168ac5 100644 --- a/resources/overrides/main.html +++ b/resources/overrides/main.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% block fonts %} + + {% endblock %} diff --git a/scripts/build-widgets-reference.js b/scripts/build-widgets-reference.js index d67afd3b..ac7c42fd 100644 --- a/scripts/build-widgets-reference.js +++ b/scripts/build-widgets-reference.js @@ -35,7 +35,7 @@ for (var propName in base) { if (propName === '_props' || propName[0] === '_') continue var help = Array.isArray(prop.help) ? prop.help.join('

        ').replace(/-/g, '-') : prop.help || '', - dynamic = baseClass.dynamicProps.includes(propName) + dynamic = baseClass.dynamicProps.includes(propName) ? '' : '' if (prop.choices) { if (help) help += '

        ' @@ -43,7 +43,7 @@ for (var propName in base) { } doc.push(` - |
        ${propName}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` + |
        ${propName}${dynamic}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` ) } @@ -94,7 +94,7 @@ for (var k in widgets.categories) { if (propName === '_props' || propName[0] === '_' || JSON.stringify(prop) == JSON.stringify(base[propName])) continue var help = Array.isArray(prop.help) ? prop.help.join('

        ').replace(/-/g, '-') : prop.help || '', - dynamic = widgets.widgets[type].dynamicProps.includes(propName) + dynamic = widgets.widgets[type].dynamicProps.includes(propName) ? '' : '' if (prop.choices) { if (help) help += '

        ' @@ -102,7 +102,7 @@ for (var k in widgets.categories) { } doc.push(` - |
        ${propName}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` + |
        ${propName}${dynamic}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` ) separator = false } From 87432db5fbcc677b74b3195781ca7914acad44c6 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 16:33:41 +0200 Subject: [PATCH 2068/2575] docs: update screenshots --- resources/docs/img/screenshots/client.png | Bin 16736 -> 20938 bytes resources/docs/img/screenshots/launcher.png | Bin 41328 -> 44797 bytes resources/docs/img/screenshots/modal.png | Bin 18968 -> 20064 bytes 3 files changed, 0 insertions(+), 0 deletions(-) diff --git a/resources/docs/img/screenshots/client.png b/resources/docs/img/screenshots/client.png index 810e0836fdcb1066f520492ffbcab49f028bfaac..163d574e094b919c4d86fc817010543ee4a97e82 100644 GIT binary patch literal 20938 zcmeIacT|&0*EbwRK}0}AdQ+-O6X{(A1*C)YDoF3WhJYx&2na}*-a&dVO7GG;k=_Y4 zlqBT6g6DqT^PGEq-{0T2*2!9d$>f?nGkbRX&E62Kq#%WVoANdY1j3h*mQ(?Ouns_= z>lL@KfgW|{@Yf&^F1P1fO=p#NZV&7o?MyAKO&&OV*qb~saknr9f!t?`zgjsmvJ!kk zSA=L?SHz9Ox0 zoYCbUi94!w&Sp}YlqJ4^dMM6px!oM4e&SNNypWp~={KoPo0fI@Sd3Y)W!_3kU8($M z-u>k_eyV9OZ`gzRv_TdFXsp9S+|$P%Qp76mJ2##$M4S$LqHq7A>ZWtsW4!>2(?YI^ z!@GixZ_0WYwhz=0zC5Qz;w{C08g-I7KwbM?Z4hyEwqxT0b4e>PyQb`+`NfTHL$|Zq z2INt%Pt38ZT06OIsXOi_{;&&q>~9r7N?&A6=J@?r8^N}v*;i|>E|OTjPKwcSjhIeS zGa->xr%yDzRqykEu7>r!&{H_5i?=VHEjcmGE3)=W=X$F3I~J71=bx6Ji3L8_@Pq=x~!!=Mv%4reEaUZ?o$ndDO7DPIg|H{dcC_s7;9yX z#*JL~S5S~ccQ5?>Pu@8P&g;8D?P`|acBa%anbLXQ zs-Q0JiJDb$F`QKAC6;VVPI2{wXJko*l3B^%nZi&IL%2xq=k&}7zKeEm(^Qk*F)g#C z`3xorW;wZH?TY3PI*&Sf3)!^lw=4_otZi~r+@{N2Cg)ut<#5B3_-#T>Ji>{kjxmZ{ z#fc4<0y@=?3@oem*v4Eq&5c$gX6J?tl~>Ea;YpfIMCQwx_Ys{BA%YIf=};hKyDY{1f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yoVYAdtzX$*L zXtQu)_|D~M=iCZXV&H7*WLiU?Xng+jlR}kXCSs!R-CwY$NVPnz56S@zs}HoVb{4m- zmK1+Z>#{3z89%@0lU*XGgl0mha4}yUBf04ZFT~`8@XArDzYXdLuGs`o>lp;ZIzQ zW;3R`(n?~HzW1nAi_U_P8F~4?yT~|U4D}F&3C#P|YG&FuMqX&M=j{5`!Ush{#ZDRN zELu-}zhC?Rn}E^@`^O3S-=D$lzkL5SB^VdrL1mz?DZwN6rQX++Qi~<6_ci5LS+?IT g;2$kpRjouuwOQUce{#DQFp`knKb%hEP6k~2H*uf+asU7T diff --git a/resources/docs/img/screenshots/modal.png b/resources/docs/img/screenshots/modal.png index 2ed0f38e8aa85d809288265e95ca95a80e018e21..21dfec5255d5d141f2b388026155ee6db985324a 100644 GIT binary patch literal 20064 zcmeIa2UJsA*Df4I;T%P=pn!m=Ac%C44naXhx`K*y6#?l&=q-2@u+XGR7ZD=T1f+zL zpfn*sgwR`%7JBFb((VeL_dCAld%t%7@sIJ3|K5yY#wKg;owethYtH9+=8P|H=xH3- zcVZs|0y&_0{fYqu!n6#5>@N9@8GLd_F#H+>^4k~RTX)?J?t7hj?B-%)=V*P(-RH6O zDQj;#8wkXEAV0w&dh-0iXY`Vn#=Czz^ob|!aLLmu%GN`2S7udZmG4;m94EKcAuZuJ zPjWi_B#Do9CAlJ2yE}V!OIu84#_SfHUOLC)U)kP^{~ZdgN#7oRZc!kzOp5Y*BSCdm zN2sFFOD6nbSZV=O|2_1m3Y*2zYo`72CVb)VEf;A~X)gv)5}&(QI=Wm3X9&_u7bdqF z+=yc`FNUikd2>dy;<%1o^<p^Y1VH-77 zY3z}+M{kbQRKxZT8b8e$TTgOh4@{hM;|UvY(`q;l;&^+UO067!{S{0ScZo2c5cJ*$&bEzDJX zBzFE#Qr}CC_Sde78|^PgTYLp;ujZvn30^t0bmGCm6aI&VPmeb3yTpq*E68=~kXwB4 z>*xo!T(4f|>X}MCQcx6qwW0Edpf+D|PL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zU;Sg%(bUQwSrmu=AzzZ1(O52 zSb*O+ieC?-boHlY|Fdfc1Nf;aQOoU@Z}P#H4~DAuMKELXcj`N`8rKbC&-;EoSV3FT zN!}kRqhMG45ALBG+Bsp6Aw|u}gP|&a&xkg11+&!h|Bdzk8|(jVV_mk^X;e?V52Mv^ v$eySB9rDyYg6@RWFT7F(l%Q}UWJ`#*fs89ZKE+4bMM}5TZsp&6`0T#{6B6RS From 0660fa5739121f79161c0f7b86699530653c8f7f Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 16:37:17 +0200 Subject: [PATCH 2069/2575] docs: link error --- resources/docs/docs/getting-started/server-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index daee9375..e18d2663 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -49,7 +49,7 @@ The **server** can be configured with many options, either from a terminal or wi === "midi" - [MIDI configuration](../midi/midi-configuration). + [MIDI configuration](../midi/midi-configuration.md). === "debug" From c20c78208775d901a226b748902a01075f8a772e Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 16:51:25 +0200 Subject: [PATCH 2070/2575] docs: link fixes --- resources/docs/docs/getting-started/server-configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index e18d2663..8e18d52e 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -70,12 +70,12 @@ The **server** can be configured with many options, either from a terminal or wi === "theme" - Theme names or paths. See [Themes](../customization/themes). + Theme names or paths. See [Themes](../customization/themes.md). === "client-options" - Default [client options](../client-options). + Default [client options](../client-options.md). === "disable-vsync" From 3d4a999afb75183acb9bd1983ea1b901536f0209 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 18:39:01 +0200 Subject: [PATCH 2071/2575] docs: 404 page and misc things --- resources/.gitignore | 1 + .../docs/docs/getting-started/introduction.md | 9 ++---- resources/docs/download.md | 5 ++- resources/overrides/404.html | 31 +++++++++++++++++++ resources/site/.htaccess | 1 + 5 files changed, 40 insertions(+), 7 deletions(-) create mode 100644 resources/overrides/404.html create mode 100644 resources/site/.htaccess diff --git a/resources/.gitignore b/resources/.gitignore index 913aeb2b..b86de750 100644 --- a/resources/.gitignore +++ b/resources/.gitignore @@ -1 +1,2 @@ site/* +!site/.htaccess diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index 620600e2..6c9dc442 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -1,11 +1,8 @@ -!!! question "Looking for v0 documentation ?" - Head over v0.openstagecontrol.ammd.net - -!!! warning "Incomplete documentation" - The documentation is currently being updated. - Welcome to Open Stage Control documentation. Along these pages you'll learn how to setup OSC on your system and everything you need to start building your own control interface. +!!! info "Still using v0 ?" + The documentation for this version is available [here](https://v0.openstagecontrol.ammd.net). + ## Overview Open Stage Control consists in 3 modules: the server, the launcher and the client. diff --git a/resources/docs/download.md b/resources/docs/download.md index db9c40b3..d7060f15 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,5 +1,8 @@ # Download latest release +!!! info "Open Stage Control v1 is currently in alpha" + [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/latest) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! + Open Stage Control
        Loading assets...
        @@ -59,7 +62,7 @@ html { .md-sidebar--secondary { display: none; } -@media screen and (min-width: 76.1875em) { +@media screen and (min-width: 76.25em) { .md-sidebar--primary { display: none; } diff --git a/resources/overrides/404.html b/resources/overrides/404.html new file mode 100644 index 00000000..158df66d --- /dev/null +++ b/resources/overrides/404.html @@ -0,0 +1,31 @@ +{% extends "main.html" %} + +{% block content %} + +

        Woops, nothing here !

        + +

        (404 error)

        + + + + +{% endblock %} diff --git a/resources/site/.htaccess b/resources/site/.htaccess new file mode 100644 index 00000000..de377bfe --- /dev/null +++ b/resources/site/.htaccess @@ -0,0 +1 @@ +ErrorDocument 404 /404.html From 72e2e08847126aa7b63ffbaa7ee521dad6dc2d3d Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 8 Apr 2020 23:28:53 +0200 Subject: [PATCH 2072/2575] docs: fix alpha link --- resources/docs/download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index d7060f15..6f6de86a 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,7 +1,7 @@ # Download latest release !!! info "Open Stage Control v1 is currently in alpha" - [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/latest) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! + [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/tag/v1.0.0-alpha3) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! Open Stage Control From 283d9a3869d6980bc759d3ae305210518cccc872 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 9 Apr 2020 20:04:42 +0200 Subject: [PATCH 2073/2575] docs: phrasing boom --- resources/docs/download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index 6f6de86a..623f7481 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,4 +1,4 @@ -# Download latest release +# Download the latest release !!! info "Open Stage Control v1 is currently in alpha" [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/tag/v1.0.0-alpha3) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! From 8a9156c337e68bfb8efbb60f1e6540f500826848 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 15:46:59 +0200 Subject: [PATCH 2074/2575] launcher: ensure .config extension on saved file --- src/launcher/settings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/launcher/settings.js b/src/launcher/settings.js index 8aa3ba19..83cac9f8 100644 --- a/src/launcher/settings.js +++ b/src/launcher/settings.js @@ -54,6 +54,7 @@ class Settings { }).then((file)=>{ if (file.canceled || !file.filePath) return this.configPath = file.filePath + if (this.configPath.split('.').pop() !== 'config') this.configPath += '.config' this.save() }) From 9d19afb26d8947748f877ce2728b815f5fe64b30 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 15:50:59 +0200 Subject: [PATCH 2075/2575] launcher/windows: prevent args containing colons from breaking config --- src/server/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/index.js b/src/server/index.js index 6efbfeed..3632a6b4 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -142,6 +142,7 @@ if (settings.cli) { ipcMain.on('start',function(e, options){ var args = ['--no-gui'] + if (process.platform === 'win32') args.unshift('--') for (var k in settings.read('options')) { args.push('--' + k) var val = settings.read(k) From ccfb738e1a28859ed07a7e59eed03ffd2c576d13 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 18:21:48 +0200 Subject: [PATCH 2076/2575] package: alpha4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a100d086..114358de 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.0.0-alpha3", + "version": "1.0.0-alpha4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 4ae62cfcb5b6e55c7685217f27ee929e6269bd07 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 18:25:00 +0200 Subject: [PATCH 2077/2575] docs: update alpha link --- resources/docs/download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index 623f7481..51926aae 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,7 +1,7 @@ # Download the latest release !!! info "Open Stage Control v1 is currently in alpha" - [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/tag/v1.0.0-alpha3) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! + [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/tag/v1.0.0-alpha4) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! Open Stage Control From f0b45e1e7838641e9678cc874a2845eea7ffa4a8 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 23:50:50 +0200 Subject: [PATCH 2078/2575] server: better argv handling and hopefully fix for #612 --- src/server/settings.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/server/settings.js b/src/server/settings.js index 7a5c0a1d..460b7a5f 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -10,16 +10,17 @@ var appAddresses = Object.values(ifaces) .filter(i=>i.family === 'IPv4') .map(i=>'http://' + i.address + ':') + // This prevents argv parsing to be breaked when the app is packaged (executed without 'electron' prefix) -if (process.argv[1] && process.argv[1].indexOf('-') == 0) process.argv.unshift('') +var firstArgIndex = path.basename(process.argv[0]).match(/electron|node/) ? 2 : 1 // 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[2] == '--') process.argv.splice(2, 1) +if (process.argv[firstArgIndex] === '--') process.argv.splice(firstArgIndex, 1) -var argv = yargs +var argv = yargs(process.argv.slice(firstArgIndex)) .parserConfiguration({'boolean-negation': false}) .help('help').usage('\nUsage:\n $0 [options]').alias('h', 'help') .options(options) From d353efc649951c43dee54c95eab93f04773f98ec Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 23:51:26 +0200 Subject: [PATCH 2079/2575] package: alpha5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 114358de..97efae56 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.0.0-alpha4", + "version": "1.0.0-alpha5", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 2836ae533deb769be4969a63665fc613bee358a6 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 23:52:06 +0200 Subject: [PATCH 2080/2575] docs: rm alpha link --- resources/docs/download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index 51926aae..46fffd62 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,7 +1,7 @@ # Download the latest release !!! info "Open Stage Control v1 is currently in alpha" - [Give it a try](https://github.com/jean-emmanuel/open-stage-control/releases/tag/v1.0.0-alpha4) and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! + Give it a try and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! Open Stage Control From 836cd1a1eda96b40975a94a92c3b1b5302f40483 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 12 Apr 2020 10:32:42 +0200 Subject: [PATCH 2081/2575] docs: options descrptions --- .../docs/getting-started/server-configuration.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index 8e18d52e..c3f5f402 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -4,7 +4,7 @@ The **server** can be configured with many options, either from a terminal or wi === "send" - Defines the default osc/midi targets. These will be added to the widget's individual targets. Must be formatted as follows: + Defines the default osc/midi targets. These will be added to the widget's individual targets. Targets must be separated by a space and formatted as follows: - `ip_address:port` - `host_name:port` @@ -31,17 +31,17 @@ The **server** can be configured with many options, either from a terminal or wi === "osc-port" - OSC (udp) input port (default: `port`). + OSC (UDP) input port (default: `port`). === "tcp-port" - OSC (tcp) input port/ + OSC (TCP) input port. === "tcp-targets" - TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Must be formatted as: + TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Targets must be separated by a space and formatted as follows: - `ip_address:port` - `host_name:port` @@ -49,7 +49,7 @@ The **server** can be configured with many options, either from a terminal or wi === "midi" - [MIDI configuration](../midi/midi-configuration.md). + MIDI options separated by spaces, MIDI support must be enabled, see [MIDI configuration](../midi/midi-configuration.md). === "debug" @@ -75,7 +75,7 @@ The **server** can be configured with many options, either from a terminal or wi === "client-options" - Default [client options](../client-options.md). + Default [client options](../client-options.md), separated by spaces. === "disable-vsync" @@ -107,7 +107,7 @@ The **server** can be configured with many options, either from a terminal or wi === "instance-name" - Used to differenciate multiple instances in a zeroconf network. + Server's name on zeroconf/bonjour network. Incremented automatically if not available. !!! abstract "Command-line options" From 1567dde5d3d987e99518f675322ca4464f28e39c Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 16 Apr 2020 18:44:31 +0200 Subject: [PATCH 2082/2575] visualizer: ensure canvas loop is running when starting its own loop --- src/client/widgets/common/queue.js | 12 ++++++++---- src/client/widgets/graphs/visualizer.js | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/client/widgets/common/queue.js b/src/client/widgets/common/queue.js index 21911f58..9b0ba092 100644 --- a/src/client/widgets/common/queue.js +++ b/src/client/widgets/common/queue.js @@ -19,11 +19,15 @@ class CanvasQueue extends EventEmitter{ this.queue[widget.hash] = widget this.flushed = 0 + if (!this.running) this.startLoop() - if (!this.running) { - this.running = true - requestAnimationFrame(this.bindedLoop) - } + } + + startLoop() { + + this.running = true + this.flushed = 0 + requestAnimationFrame(this.bindedLoop) } diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index 5e555739..3fcd592b 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -53,6 +53,7 @@ module.exports = class Visualizer extends StaticProperties(Plot, {rangeX: {min: if (!this.looping) { this.lastUpdate = Date.now() canvasQueue.on('frame', this.bindedLoop) + if (!canvasQueue.running) canvasQueue.startLoop() this.looping = true this.ticks = 0 } From fd407132a8eb286961a5ead3faf482ddc8793dd3 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 16 Apr 2020 18:57:09 +0200 Subject: [PATCH 2083/2575] editor: fix inspector update after lasso selection --- src/client/editor/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 6b545bad..e8134c96 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -161,7 +161,6 @@ class Editor { for (var i in elements) { this.select(elements[i], {multi:true, fromLasso:true}) } - this.select(this.selectedWidgets) }) @@ -426,9 +425,9 @@ class Editor { } - if (!options.fromLasso) this.unselect() + this.unselect() - if (this.selectedWidgets.length > 0 && !options.fromLasso) { + if (this.selectedWidgets.length > 0) { this.inspector.inspect(this.selectedWidgets) this.createSelectionBlock() From 0e78625ae9b6d36d29aa7abc453574280eb83290 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 11:39:10 +0200 Subject: [PATCH 2084/2575] sliders: always update percent value when dragging between boundaries --- src/client/widgets/sliders/slider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 13dd022e..04f5a2f3 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -202,7 +202,7 @@ class Slider extends Canvas { } - if (!options.dragged) this.percent = this.valueToPercent(this.value) + if (!options.dragged || (this.percent <= 100 && this.percent > 0)) this.percent = this.valueToPercent(this.value) this.batchDraw() From 5559299e32abf0f17896d1ded20e3bf2b0109a19 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 11:56:06 +0200 Subject: [PATCH 2085/2575] script: add support for "self" id in set(), fix builtIn script check in send() --- 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 79f490c4..6543b1ab 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -52,6 +52,12 @@ class ScriptVm extends Vm { if (id === options.id) options.sync = false // loop stop + if (id === "self") { + var widget = this.getWidget() + if (widget.builtIn) widget = widget.parent + return widget.setValue(value, options) + } + var widgets = widgetManager.getWidgetById(id) for (var i = widgets.length - 1; i >= 0; i--) { @@ -82,7 +88,7 @@ class ScriptVm extends Vm { if (target) overrides.target = Array.isArray(target) ? target : [target] var widget = this.getWidget() - if (widget.buildIn) widget = widget.parent + if (widget.builtIn) widget = widget.parent widget.sendValue(overrides) } From 193f30449922a4f5e1d57549de68713471deba74 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 11:57:04 +0200 Subject: [PATCH 2086/2575] plots: small optimization: avoid avoid computing next point when y doesn't change --- src/client/widgets/graphs/plot.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 2e69c818..524a2303 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -116,14 +116,20 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte var points = [], padding = this.cssVars.padding + PXSCALE, decimals = this.getProp('smooth') ? 1 : 0, - x, y, i + length = this.value.length, + x, y, i, previousValue - for (i in this.value) { + 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)) } else { + + if (i < length - 2 && this.value[i] === previousValue && this.value[i+1] === previousValue) { + continue + } + let 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) if (x !== nx || y !== ny) { @@ -132,6 +138,9 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte x = nx y = ny } + + previousValue = this.value[i] + } } From 2d7cd0d460f1e65a680f7490c5202d7d79e9963f Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 12:16:43 +0200 Subject: [PATCH 2087/2575] docs: scripting: "self" id --- resources/docs/docs/widgets/scripting.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 0f5ec909..a70532cc 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -32,14 +32,17 @@ Besides the variables available in the [javascript property syntax ](./advanced- ---- #### `get`: `function(id)` +- `id`: widget `id` as a string. -Returns the value of the first widget whose id is `"id"`. +Returns the value of the first matching widget. ---- #### `set`: `function(id, value)` +- `id`: widget `id` as a string. Can be `"self"` to target the host widget directly. +- `value`: new value for the widget. -Sets the value of the first widget whose id is `"id"`. +Sets the value of the first matching widget. If the event that triggered the script's execution was initiated by a user interaction, this will make the widget send its value as well. ---- From d5bbbf3477412e4adfeffbcb66d7190f6de38997 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 12:16:56 +0200 Subject: [PATCH 2088/2575] plots: move var declare --- src/client/widgets/graphs/plot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 524a2303..3f1d3dec 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -117,7 +117,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte padding = this.cssVars.padding + PXSCALE, decimals = this.getProp('smooth') ? 1 : 0, length = this.value.length, - x, y, i, previousValue + x, y, i, previousValue, nx, ny for (i = 0; i < length; i++) { @@ -130,8 +130,9 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte continue } - let 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], 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) + if (x !== nx || y !== ny) { points.push(nx) points.push(ny) From b51ed2a7dbdc404ca2423bb6a5a0ae45c93abd59 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 12:29:00 +0200 Subject: [PATCH 2089/2575] lint: quotes --- 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 6543b1ab..b39d5e03 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -52,7 +52,7 @@ class ScriptVm extends Vm { if (id === options.id) options.sync = false // loop stop - if (id === "self") { + if (id === 'self') { var widget = this.getWidget() if (widget.builtIn) widget = widget.parent return widget.setValue(value, options) From cf16e600eea6ff923430afbb44eca98f823c4189 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 14:12:51 +0200 Subject: [PATCH 2090/2575] script: generic id support for "this" (instead of "self") and "parent" --- resources/docs/docs/widgets/scripting.md | 9 +++++--- src/client/widgets/scripts/script-vm.js | 29 +++++++++++++++--------- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index a70532cc..dd88fb99 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -39,7 +39,7 @@ Returns the value of the first matching widget. ---- #### `set`: `function(id, value)` -- `id`: widget `id` as a string. Can be `"self"` to target the host widget directly. +- `id`: widget `id` as a string. Can be `"self"` to target the host widget, or `"parent"` to target the parent widget. - `value`: new value for the widget. Sets the value of the first matching widget. @@ -57,8 +57,10 @@ If the event that triggered the script's execution was not initiated by a user i ---- #### `getProp`: `function(id, name)` +- `id`: widget `id` as a string. Can be `"self"` to target the host widget, or `"parent"` to target the parent widget. +- `name`: property name. -Returns the property called `"name"` of the first widget whose id is `"id"`. +Returns the property called `"name"` of the first matching widget. ---- @@ -70,8 +72,9 @@ Returns the property called `"name"` of the first widget whose id is `"id"`. ---- #### `stateGet`: `function(id)` +- `id`: widget `id` as a string, or array of `id` strings. Can be `"self"` to target the host widget, or `"parent"` to target the parent widget. -Returns a state object (`id:value`) for the widget that match `id` and all its children. +Returns a state object (`id:value`) for matching widget and all their children. ---- diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index b39d5e03..357cd4d8 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -42,6 +42,17 @@ class ScriptVm extends Vm { } + resolveId(id) { + + var widget = this.getWidget() + if (widget.builtIn) widget = widget.parent + + if (id === 'this') return [widget] + else if (id === 'parent' && widget.parent !== widgetManager) return [widget.parent] + else return widgetManager.getWidgetById(id) + + } + registerGlobals() { super.registerGlobals() @@ -50,15 +61,10 @@ class ScriptVm extends Vm { var options = this.getValueOptions() - if (id === options.id) options.sync = false // loop stop + // if (id === options.id) options.sync = false // loop stop + // if (this.getWidget() === options.widget) options.sync = false // loop stop - if (id === 'self') { - var widget = this.getWidget() - if (widget.builtIn) widget = widget.parent - return widget.setValue(value, options) - } - - var widgets = widgetManager.getWidgetById(id) + var widgets = this.resolveId(id) for (var i = widgets.length - 1; i >= 0; i--) { @@ -89,13 +95,14 @@ class ScriptVm extends Vm { var widget = this.getWidget() if (widget.builtIn) widget = widget.parent + widget.sendValue(overrides) } this.sandbox.contentWindow.get = (id)=>{ - var widgets = widgetManager.getWidgetById(id) + var widgets = this.resolveId(id) for (var i = widgets.length - 1; i >= 0; i--) { @@ -112,7 +119,7 @@ class ScriptVm extends Vm { this.sandbox.contentWindow.getProp = (id, prop)=>{ - var widgets = widgetManager.getWidgetById(id) + var widgets = this.resolveId(id) for (var i = widgets.length - 1; i >= 0; i--) { @@ -148,7 +155,7 @@ class ScriptVm extends Vm { filter = Array.isArray(filter) ? filter : [filter] - var containers = this.filter.map(x=>widgetManager.getWidgetById(x)).reduce((a,b)=>a.concat(b), []) + var containers = this.filter.map(x=>this.resolveId(id)).reduce((a,b)=>a.concat(b), []) if (!containers.length) return filter = (widget)=>{ From 6dbc261dd62d8d6986c395d54746e62808e046cf Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 14:16:29 +0200 Subject: [PATCH 2091/2575] script: set: pass fromScript flag --- src/client/widgets/scripts/script-vm.js | 1 + src/client/widgets/sliders/slider.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 357cd4d8..11a978c5 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -60,6 +60,7 @@ class ScriptVm extends Vm { this.sandbox.contentWindow.set = (id, value)=>{ var options = this.getValueOptions() + options.fromScript = true // if (id === options.id) options.sync = false // loop stop // if (this.getWidget() === options.widget) options.sync = false // loop stop diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 04f5a2f3..e7d83791 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -202,7 +202,7 @@ class Slider extends Canvas { } - if (!options.dragged || (this.percent <= 100 && this.percent > 0)) this.percent = this.valueToPercent(this.value) + if (!options.dragged || options.fromScript) this.percent = this.valueToPercent(this.value) this.batchDraw() From 1a4cf06a8390ed1985ae50a3d5523977ab391f66 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 18:18:44 +0200 Subject: [PATCH 2092/2575] osc receiver: use json5 syntax to ease ux --- src/client/widgets/common/osc-receiver.js | 29 +++++++++++++++-------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/client/widgets/common/osc-receiver.js b/src/client/widgets/common/osc-receiver.js index ab4e7201..4c600f3e 100644 --- a/src/client/widgets/common/osc-receiver.js +++ b/src/client/widgets/common/osc-receiver.js @@ -1,4 +1,5 @@ -var osc = require('../../osc') +var osc = require('../../osc'), + {isJSON} = require('../../utils') module.exports = class OscReceiver { @@ -6,9 +7,13 @@ module.exports = class OscReceiver { var {address, value, parent, propName, usePreArgs} = options - try { - this.value = JSON.parse(value) - } catch (err) { + if (typeof value === 'string' && isJSON(value)) { + try { + this.value = JSON.parseFlex(value) + } catch (err) { + this.value = value + } + } else { this.value = value } @@ -55,12 +60,16 @@ module.exports = class OscReceiver { for (var i in preArgs) { if (preArgs[i] !== args[i]) return } - var val = args.slice(preArgs.length) - if (val.length < 2) val = val[0] - try { - this.value = JSON.parse(val) - } catch (err) { - this.value = val + var value = args.slice(preArgs.length) + if (value.length < 2) value = value[0] + if (typeof value === 'string' && isJSON(value)) { + try { + this.value = JSON.parseFlex(value) + } catch (err) { + this.value = value + } + } else { + this.value = value } this.parent.updateProps(this.propNames, this.parent) } From c2f96466a21d627b54e7a884b5267d936d934f7b Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 18:19:33 +0200 Subject: [PATCH 2093/2575] package: missing alpha6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 97efae56..6e6a3b17 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.0.0-alpha5", + "version": "1.0.0-alpha6", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 0625ef8978298ebe0029a8f56d52a1d948d3a5c8 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 18:33:38 +0200 Subject: [PATCH 2094/2575] osc receiver: allow widget recreation when updating a non-dynamic prop (ignore circular dependence protection) --- src/client/widgets/common/osc-receiver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/common/osc-receiver.js b/src/client/widgets/common/osc-receiver.js index 4c600f3e..fba6bf21 100644 --- a/src/client/widgets/common/osc-receiver.js +++ b/src/client/widgets/common/osc-receiver.js @@ -71,7 +71,7 @@ module.exports = class OscReceiver { } else { this.value = value } - this.parent.updateProps(this.propNames, this.parent) + this.parent.updateProps(this.propNames) } } From 87cb90bb4568b3f9067851d0a9aac622651684c7 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 17 Apr 2020 18:41:59 +0200 Subject: [PATCH 2095/2575] widgets: implement ignoreDefaults property and remove support for null/self tokens in target --- CHANGELOG.md | 2 ++ src/client/widgets/common/widget.js | 6 +++--- src/server/callbacks.js | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c064f37..1a0e7f86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,8 @@ - widget changes + - all: removed support for `null` and `"self"` targets + - all: added `ignoreDefaults` property (allows ignoring the server's default targets) - all: `precision` property to `decimals`, don't set osc integer typetag when 0 - all: added `typeTags` property - all: multiple style properties to control visibility, colors, alphas and padding diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 177d1cc1..54d16051 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -124,9 +124,7 @@ class Widget extends EventEmitter { 'This defines the targets of the widget\'s OSC messages', '- A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`', '- If midi is enabled, targets can be `midi:device_name`', - '- The special item `"self"` can be used to refer to the emitting client directly.', '- If no target is set, messages can still be sent if the server has default targets', - '- The server\'s default targets can be bypassed by setting one of the items to `null`' ]}, ignoreDefaults: {type: 'boolean', value: false, help: 'Set to `true` to ignore the server\'s default targets'}, bypass: {type: 'boolean', value: false, help: 'Set to `true` to prevent the widget from sending any osc message'} @@ -286,9 +284,11 @@ class Widget extends EventEmitter { var data = { h: this.hash, - v: this.getValue(true) + v: this.getValue(true), } + if (this.getProp('ignoreDefaults')) data.i = 1 + if (overrides) { for (var k in overrides) { data[k] = overrides[k] diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 6fc58823..084f467c 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -319,7 +319,7 @@ module.exports = { var targets = [] - if (data.target.indexOf(null) === -1 && settings.read('send') && !shortdata.target) Array.prototype.push.apply(targets, settings.read('send')) + if (shortdata.i && settings.read('send') && !shortdata.target) Array.prototype.push.apply(targets, settings.read('send')) if (data.target) Array.prototype.push.apply(targets, data.target) data.args = data.preArgs ? data.preArgs.concat(value) : [value] From 1217768e2f6bd59afe588454dabea5dc4a796603 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 18 Apr 2020 12:13:46 +0200 Subject: [PATCH 2096/2575] docs: osc receivers array/object default value --- resources/docs/docs/widgets/advanced-syntaxes.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 4957a5eb..7b36f4c7 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -43,13 +43,20 @@ The inheritance syntax supports 1-level nesting : `@{fader_@{toggle_1}}` This syntax allows listening on an osc address to define a property. - `address`: osc address to listen to; if the leading slash (`/`) is omitted, the address will be prefixed with the widget's `address` property -- `default` (optional): default value returned before any message is received +- `default` (optional): default value returned before any message is received. Must be a primitive value, not an object or an array. - `usePreArgs` (optional): by default, osc listeners inherit the widget's `preArgs` and (these must be matched for the osc messages to be processed). Set to `false` bypass them. +Options can contain `@{}` blocks. -#### Dynamic address - -The `address` can contain `@{}` blocks +??? example "Array/Object default value" + ```js + JS{{ + return OSC{address} || { + "key a": 1, + "key b", 2 + } + }} + ``` ## Javascript: `JS{{ }}` From 492a5838c841b0078628a5fb0a27b28f0820b64a Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 18 Apr 2020 12:14:03 +0200 Subject: [PATCH 2097/2575] osc receiver: store receivers against all args to avoid conflicts --- src/client/widgets/common/widget.js | 32 +++++++++++++++-------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 54d16051..06bb2e28 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -587,31 +587,33 @@ class Widget extends EventEmitter { }) - propValue = propValue.replace(/OSC\{([^}]+)\}/g, (m)=>{ - let [address, value, usePreArgs] = m.substr(4, m.length - 5).split(',').map(x=>x.trim()), - resolvedAddress = address.replace(/VAR_[0-9]+/g, (m)=>{ - return typeof variables[m] === 'string' ? variables[m] : JSON.stringify(variables[m]) - }) + propValue = propValue.replace(/OSC\{([^}]+)\}/g, (m, args)=>{ - if (!this.oscReceivers[address]) { - this.oscReceivers[address] = new OscReceiver({ - address: resolvedAddress, + let [address, value, usePreArgs] = args.split(',') + .map(x=>x.trim()) + .map(x=>x.replace(/VAR_[0-9]+/g, (m)=>{ + return typeof variables[m] === 'string' ? variables[m] : JSON.stringify(variables[m]) + })) + + if (!this.oscReceivers[args]) { + this.oscReceivers[args] = new OscReceiver({ + address: address, value: value, parent: this, propName: propName, usePreArgs: usePreArgs === 'false' ? false : true }) - if (oscReceiverState[address]) { - this.oscReceivers[address].value = oscReceiverState[address] - delete oscReceiverState[address] + if (oscReceiverState[args]) { + this.oscReceivers[args].value = oscReceiverState[args] + delete oscReceiverState[args] } } else { - this.oscReceivers[address].setAddress(resolvedAddress) - this.oscReceivers[address].addProp(propName) - this.oscReceivers[address].usePreArgs = usePreArgs === 'false' ? false : true + this.oscReceivers[args].setAddress(address) + this.oscReceivers[args].addProp(propName) + this.oscReceivers[args].usePreArgs = usePreArgs === 'false' ? false : true } - var r = this.oscReceivers[address].value + var r = this.oscReceivers[args].value var varname = 'VAR_' + varnumber varnumber-- From a41e7d75f387bfed1d08750235225ff07f25ed54 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 18 Apr 2020 12:21:13 +0200 Subject: [PATCH 2098/2575] docs: update prop ref --- 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 973d3369..afd3d932 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -63,7 +63,7 @@ |
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | |
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | |
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | - |
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - The special item `"self"` can be used to refer to the emitting client directly.
        - If no target is set, messages can still be sent if the server has default targets
        - The server's default targets can be bypassed by setting one of the items to `null` | + |
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - If no target is set, messages can still be sent if the server has default targets | |
        ignoreDefaults#
        | `boolean` | false | Set to `true` to ignore the server's default targets | |
        bypass#
        | `boolean` | false | Set to `true` to prevent the widget from sending any osc message | ## Basics From 2d00aa6fc757d9e405f9d9445d2e4fe411f0ffdc Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 18 Apr 2020 12:21:55 +0200 Subject: [PATCH 2099/2575] package: alpha 7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6e6a3b17..fd19b943 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.0.0-alpha6", + "version": "1.0.0-alpha7", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 44f55be3b89e819177316af86efe70664c6acb3a Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 18 Apr 2020 17:35:02 +0200 Subject: [PATCH 2100/2575] osc: fix inverted ingoreDefaults behavior --- src/server/callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 084f467c..0c5e9f43 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -319,7 +319,7 @@ module.exports = { var targets = [] - if (shortdata.i && settings.read('send') && !shortdata.target) Array.prototype.push.apply(targets, settings.read('send')) + if (!shortdata.i && settings.read('send') && !shortdata.target) Array.prototype.push.apply(targets, settings.read('send')) if (data.target) Array.prototype.push.apply(targets, data.target) data.args = data.preArgs ? data.preArgs.concat(value) : [value] From c9a275d3c3c2d833819bcd9d5305fae09a94c6fa Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 18 Apr 2020 17:46:24 +0200 Subject: [PATCH 2101/2575] visualizer: add framerate --- CHANGELOG.md | 1 + resources/docs/docs/widgets/properties-reference.md | 1 + src/client/widgets/graphs/visualizer.js | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a0e7f86..416afa55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ - switch: added `click` mode - plot/eq: removed `smooth` - plots/sliders/pads: reversed `logScale` behavior to match standard implementations; can be either `false` (disabled), `true` (logarithmic scale) or `number` (manual log scale, negative for exponential scale) + - visualizer: added `framerate` property - menu: always centered menu - modal: modals can't overflow their parents' (modal, tab, panel) boundaries - input: removed `vertical` diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index afd3d932..878759a9 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -439,6 +439,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
        duration#
        | `number` | 1 | Defines visualization duration in seconds | + |
        framerate#
        | `number` | 30 | Defines visualization framerate | |
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | |
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | |
        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. | diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index 3fcd592b..5c8a8b51 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -20,6 +20,7 @@ module.exports = class Visualizer extends StaticProperties(Plot, {rangeX: {min: _visualizer:'visualizer', duration: {type: 'number', value: 1, help: 'Defines visualization duration in seconds'}, + framerate: {type: 'number', value: 30, help: 'Defines visualization framerate'}, rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, @@ -33,7 +34,7 @@ module.exports = class Visualizer extends StaticProperties(Plot, {rangeX: {min: super(options) - this.fps = CANVAS_FRAMERATE + this.fps = clip(this.getProp('framerate'), [1, CANVAS_FRAMERATE]) this.length = Math.round(clip(this.fps * this.getProp('duration'), [8, 4096])) this.value = new Array(this.length).fill(this.rangeY.min) this.cancel = false From d2abe4f2e1083ffc3d07fb04d6bd3297c964ed29 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 18 Apr 2020 17:46:42 +0200 Subject: [PATCH 2102/2575] package: alpha 8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fd19b943..5e10fd42 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.0.0-alpha7", + "version": "1.0.0-alpha8", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 0f8f55165e3045a0418dea85fce5e9f4d6067dd7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 10:44:01 +0200 Subject: [PATCH 2103/2575] icons: add support for transform suffixes --- CHANGELOG.md | 1 + src/client/ui/utils.js | 3 ++- src/client/widgets/common/widget.js | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a0e7f86..9e23681d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -126,3 +126,4 @@ - more detached DOM for lighter nested canvas widgets (ie multixy) - unified (kind of) dom html structure for widgets, known css tricks will require adjustments. - cache and config files are now stored in a folder named `open-stage-control` (located in the system's default location for config file). The `.open-stage-control` is no longer used. + - added support for icons rotate/flip transform suffixes (example: `^cog.spin`, `^play.rotate-horizontal`) diff --git a/src/client/ui/utils.js b/src/client/ui/utils.js index 65fdecca..c7fd584f 100644 --- a/src/client/ui/utils.js +++ b/src/client/ui/utils.js @@ -3,7 +3,8 @@ module.exports = { icon: function(i) { - return `` + var iclass = i.split('.').join(' fa-') + return `` }, iconify:function(string){ return String(string).replace(/\^[^\s]{2,}/g,(x)=>{return module.exports.icon(x.substring(1))}) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 06bb2e28..c7951a0d 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -54,7 +54,8 @@ class Widget extends EventEmitter { id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, label: {type: 'string|boolean', value: 'auto', help: [ '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)' + '- 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`', ]}, visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, From a0532e042123ee36f35cfdb74f396c8415ebdad7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 17:47:42 +0200 Subject: [PATCH 2104/2575] ui: avoid full layout trashing triggered by sidepanels --- src/scss/ui/workspaces.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index d665c8c0..18148bd0 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -248,7 +248,8 @@ osc-panel-inner { z-index: 3; min-width: 0; position: relative; - + contain: strict; + } // @keyframes test{ From c049aebc34530c0505b4da91ddad3ce51931c2d2 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 20:31:24 +0200 Subject: [PATCH 2105/2575] inspector: hide _children category --- src/client/ui/ui-inspector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index aded86f1..ade9995c 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -118,7 +118,7 @@ class UiInspector extends UiWidget { for (let propName in props) { - if (propName === 'tabs' || propName === 'widgets') continue + if (propName === 'children' || propName === 'tabs' || propName === 'widgets') continue let field, shared = true From f497b466c83af85641b02caaae4bb822948ea071 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 20:31:46 +0200 Subject: [PATCH 2106/2575] modal: revert modal containment except in modals/tabs --- CHANGELOG.md | 2 +- src/client/widgets/containers/modal.js | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3faa392..9c9eff69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,7 +59,7 @@ - plots/sliders/pads: reversed `logScale` behavior to match standard implementations; can be either `false` (disabled), `true` (logarithmic scale) or `number` (manual log scale, negative for exponential scale) - visualizer: added `framerate` property - menu: always centered menu - - modal: modals can't overflow their parents' (modal, tab, panel) boundaries + - modal: modals can't overflow parent modal/tab boundaries - input: removed `vertical` - pads, range: when `touchAddress` is set, one message per touched point is sent, in addition to the former touch state message - eq: removed `logScaleX` property, always draw logarithmic frequency response diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 6f0318b8..cbfb5592 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -144,10 +144,11 @@ class Modal extends Panel { this.popup.classList.toggle('show', this.value) this.container.classList.toggle('on', this.value) - // this.setVisibility() this.bindEscKey(this.value) + if (this.init) this.fixParents() + if (this.value) { resize.check(this.widget, true) } @@ -157,6 +158,25 @@ class Modal extends Panel { if (options.sync) this.changed(options) + } + + fixParents() { + + var parent = this.parent, + scrollFixed = false + + while (parent && parent.props && !parent.getProp('type').match(/modal|tab|root/)) { + + // stacking + parent.container.style.zIndex = this.value ? 'initial' : '' + parent.container.style.contain = this.value ? 'style size' : '' + + parent = parent.parent + } + + this.container.style.contain = this.value ? 'style size' : '' + + } bindEscKey(set) { From 493fbe1d281806420e67b1be34e489cb0a3cf1a9 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 20:33:59 +0200 Subject: [PATCH 2107/2575] panel: disable forced widget stretching in vertical/horiontal panels --- src/scss/widgets/containers.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 4b09bb9d..4deaa225 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -54,7 +54,7 @@ position: relative!important; height: auto!important; min-height: auto!important; - min-width: auto!important; + //min-width: auto!important; max-height: 100%; max-width: 100%; } @@ -71,7 +71,7 @@ left:auto!important; position: relative!important; width: auto!important; - min-height: auto!important; + //min-height: auto!important; min-width: auto!important; max-height: 100%; max-width: 100%; From b9901ab8c587d058dc4d5e5c637edd699cd63a04 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 20:36:24 +0200 Subject: [PATCH 2108/2575] canvas: no desynchronized canvas by default --- src/client/widgets/common/canvas.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 7b37e57e..16eaee95 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -12,10 +12,8 @@ class Canvas extends Widget { this.canvas = DOM.get(this.container, 'canvas')[0] this.ctx = this.canvas.getContext('2d',{ - desynchronized: ELECTRON_NOGPU ? false : true, - lowLatency: true, - alpha: true, - preserveDrawingBuffer: true // avoid flickering + desynchronized: !ELECTRON_NOGPU && ENV.desyncCanvas ? true : false, + alpha: true }) this.height = undefined From 948d81271cd4c33a6bb7d4dde6ae99f5f4015170 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 20:39:15 +0200 Subject: [PATCH 2109/2575] lint: misc fixes --- src/client/ui/utils.js | 2 +- src/client/widgets/containers/modal.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/ui/utils.js b/src/client/ui/utils.js index c7fd584f..86c41985 100644 --- a/src/client/ui/utils.js +++ b/src/client/ui/utils.js @@ -3,7 +3,7 @@ module.exports = { icon: function(i) { - var iclass = i.split('.').join(' fa-') + var iclass = i.split('.').join(' fa-') return `` }, iconify:function(string){ diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index cbfb5592..ecfa70e2 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -162,8 +162,7 @@ class Modal extends Panel { fixParents() { - var parent = this.parent, - scrollFixed = false + var parent = this.parent while (parent && parent.props && !parent.getProp('type').match(/modal|tab|root/)) { From 5423426c8f523f7092ab5fa6ba390bbc1d8baeb2 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 23:32:35 +0200 Subject: [PATCH 2110/2575] docs: desyncCanvas client option --- resources/docs/docs/client-options.md | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/docs/docs/client-options.md b/resources/docs/docs/client-options.md index 8c5bca6b..878c1934 100644 --- a/resources/docs/docs/client-options.md +++ b/resources/docs/docs/client-options.md @@ -8,6 +8,7 @@ Client options can be set either with the server's `--client-options` option, or | doubletab | number | 375 | sets the double tap/click time threshold in milliseconds | | 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) | | id | string | *random_id* | client's unique id (use with caution: two clients should never have the same id) | From 15e8a2afc03297b8a5ac4e293a1af753044cc01d Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Apr 2020 23:33:19 +0200 Subject: [PATCH 2111/2575] package: alpha 9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e10fd42..97776f86 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.0.0-alpha8", + "version": "1.0.0-alpha9", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 6636f4a7e2124dd4c24f04e3c15b402d898b6ebf Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 20 Apr 2020 08:33:59 +0200 Subject: [PATCH 2112/2575] editor: don't use reserved event name for uidragresize resize --- src/client/editor/index.js | 2 +- src/client/ui/ui-dragresize.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index e8134c96..6bbb68b1 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -84,7 +84,7 @@ class Editor { dY = top - e.initTop this.moveWidget(dX, dY) }) - this.widgetDragResize.on('resize', (e)=>{ + this.widgetDragResize.on('drag-resize', (e)=>{ var width = Math.round(e.width / GRIDWIDTH) * GRIDWIDTH, height = Math.round(e.height / GRIDWIDTH) * GRIDWIDTH var dX = width - e.initWidth, diff --git a/src/client/ui/ui-dragresize.js b/src/client/ui/ui-dragresize.js index 98a252fe..6f9bacba 100644 --- a/src/client/ui/ui-dragresize.js +++ b/src/client/ui/ui-dragresize.js @@ -89,7 +89,7 @@ class UiDragResize extends UiWidget { this.container.classList.remove('dragging') this.left = Math.max(0, this.left) this.top = Math.max(0, this.top) - this.trigger(this.dragging.indexOf('left') > -1 ? 'move' : 'resize', this) + this.trigger(this.dragging.indexOf('left') > -1 ? 'move' : 'drag-resize', this) this.dragging = null }, {element: this.container}) From 707303252b33f6bc35985699ba5e4ebf4b4fc7ce Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 20 Apr 2020 12:01:45 +0200 Subject: [PATCH 2113/2575] ui: use absolute positionning when possible to optimize browse layout calculation (flexbox performs much worse) --- src/scss/index.scss | 9 +++++++-- src/scss/ui/workspaces.scss | 22 +++++++++++++++++----- src/scss/widgets/containers.scss | 14 ++++++++++++++ 3 files changed, 38 insertions(+), 7 deletions(-) diff --git a/src/scss/index.scss b/src/scss/index.scss index 20879b32..313de9d0 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -29,8 +29,13 @@ input { } html, body { - height:100%; - position:relative; + + position: absolute; + top:0; + left:0; + right:0; + bottom:0; + overflow:hidden; overscroll-behavior: none; background-color: var(--color-background); diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index 18148bd0..f00003a1 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -5,9 +5,13 @@ osc-workspace { --color-fill: var(--color-widget); --color-stroke: var(--color-widget); - position: static; - width: 100%; - height: 100%; + // optimize layout recalc + position: absolute; + top:0; + left:0; + right:0; + bottom:0; + display: flex; flex-direction: row; overflow: hidden; @@ -249,7 +253,7 @@ osc-panel-inner { min-width: 0; position: relative; contain: strict; - + } // @keyframes test{ @@ -321,9 +325,17 @@ osc-panel-content { } &.hidden { display: none; + + #osc-container { + // optimize layout recalc + position: absolute; + top:0; + left:0; + right:0; + bottom:0; + } } } #osc-container { - background: var(--color-background) + background: var(--color-background); } diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 4deaa225..17c1c780 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -193,8 +193,22 @@ width: 100%; height: 100%; + // optimize layout recalc + position: absolute; + top:0; + left:0; + right:0; + bottom:0; + > inner { margin: calc(var(--widget-spacing) / 2); + + // optimize layout recalc + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; } } From 678fcdd56bbcba5f84034306a25bec53eda1e683 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 21 Apr 2020 11:39:49 +0200 Subject: [PATCH 2114/2575] modal: fix visibility check --- src/client/widgets/containers/modal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index ecfa70e2..ace8d395 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -123,7 +123,7 @@ class Modal extends Panel { isVisible() { - return this.value && super.isVisible() + return this.init && this.value && super.isVisible() } @@ -149,6 +149,7 @@ class Modal extends Panel { if (this.init) this.fixParents() + this.setVisibility() if (this.value) { resize.check(this.widget, true) } From c8d69240fb140f8e7653a4d9e4e04df8e9e2e08a Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 21 Apr 2020 12:35:48 +0200 Subject: [PATCH 2115/2575] Revert "panel: disable forced widget stretching in vertical/horiontal panels" This reverts commit 493fbe1d281806420e67b1be34e489cb0a3cf1a9. --- src/scss/widgets/containers.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 17c1c780..1492124a 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -54,7 +54,7 @@ position: relative!important; height: auto!important; min-height: auto!important; - //min-width: auto!important; + min-width: auto!important; max-height: 100%; max-width: 100%; } @@ -71,7 +71,7 @@ left:auto!important; position: relative!important; width: auto!important; - //min-height: auto!important; + min-height: auto!important; min-width: auto!important; max-height: 100%; max-width: 100%; From e84c139034842150991ca409479992f6e746abd8 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 21 Apr 2020 20:44:15 +0200 Subject: [PATCH 2116/2575] widgets: safe setvisibility() --- 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 c7951a0d..e58c4437 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -1019,7 +1019,7 @@ class Widget extends EventEmitter { this.container.style.display = this.getProp('visible') ? '' : 'none' for (var c of this.children) { - c.setVisibility() + if (c) c.setVisibility() } } From c6ffadeee781c4656261ca604acea701647bf4c0 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 22 Apr 2020 13:51:47 +0200 Subject: [PATCH 2117/2575] clone: reset "not-editable" after /EDIT modifications --- src/client/widgets/containers/clone.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 7c1ee6a2..76d692b3 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -95,6 +95,14 @@ class Clone extends Container() { }, {context: this}) + this.on('widget-created', (e)=>{ + + if (e.widget !== this) { + e.widget.container.classList.add('not-editable') + } + + }) + } getCloneTarget() { From 28dd19c4f76c61165a9403502b82d03d1e87e274 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 22 Apr 2020 15:30:47 +0200 Subject: [PATCH 2118/2575] panels: reorganize props, add innerPadding property to allow removing panel's inner padding while keeping children spacing scss: better --widget-spacing def --- src/client/widgets/containers/matrix.js | 17 +++++++++----- src/client/widgets/containers/modal.js | 8 +++++-- src/client/widgets/containers/panel.js | 18 ++++++++++---- src/client/widgets/containers/root.js | 16 +++++++++---- src/client/widgets/containers/tab.js | 18 ++++++++++---- src/scss/widgets/basics.scss | 2 +- src/scss/widgets/containers.scss | 31 ++++++++++++++++++------- src/scss/widgets/pads.scss | 6 ++--- 8 files changed, 81 insertions(+), 35 deletions(-) diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 68fabd81..85fcb76d 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -17,20 +17,25 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { return Widget.defaults({ - _matrix: 'matrix', + _matrix: 'matrix: widgets', widgetType: {type: 'string', value: 'button', help: 'Defines the type of the widgets in the matrix'}, - colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, - layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, quantity: {type: 'number', value: 4, help: 'Defines the number of widgets in the matrix'}, start: {type: 'integer', value: 0, help: 'First widget\'s index'}, - traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, props: {type: 'object', value: {}, help: [ 'Defines a set of property to override the widgets\' defaults.', 'Formulas in this field are resolved with an extra variable representing each widget\'s index: `$`', 'Note: by default, the widgets inherit from the matrix\' `id` and osc properties (`id` and `address` are appended with `/$`)' - ]} + ]}, + + _matrixLayout: 'matrix: layout', + + colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, + layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, + gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, + traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, + + }, [], {}) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index ace8d395..20f27429 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -18,20 +18,24 @@ class Modal extends Panel { return Widget.defaults({ - _modal:'modal', + _modal: 'modal', doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the modal require a double tap to open instead of a single tap'}, + variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + + _modalWidgets: 'modal: popup', + popupLabel: {type: 'string', value: '', help: 'Alternative label for the modal popup'}, popupWidth: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, popupHeight: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, popupLeft: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, popupTop: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, + colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help: 'Defines how children are laid out.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'}, - variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, }, [], { diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index f017ba41..fa2dd34f 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -17,16 +17,23 @@ class Panel extends Container() { return super.defaults({ - _panel:'panel', + _panel: 'panel', colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, + variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, + + _panel_widgets: 'panel: widget container', + layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'}, - variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + 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.'}, + + _panel_tabs: 'panel: tab container', + + verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, }, [], { @@ -36,7 +43,7 @@ class Panel extends Container() { tabs: {type: 'array', value: [], help: 'Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously'}, value: {type: 'integer', value: '', help: [ - 'Defines currently widgeted tab in the widget', + 'Defines currently selected tab in the widget', 'A tab can be opened only by setting its parent\'s value' ]}, @@ -52,6 +59,7 @@ class Panel extends Container() { this.childrenType = '' + 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 afdaa39f..14ad43a1 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -14,17 +14,23 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro return Widget.defaults({ - - _panel:'panel', + _panel: 'panel', colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, + variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, + + _panel_widgets: 'panel: widget container', + layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'}, - variables: {type: '*', value: '', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + 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.'}, + + _panel_tabs: 'panel: tab container', + + verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, }, [ 'visible', 'label', diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index e37a93b0..33e0bb3a 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -14,17 +14,25 @@ module.exports = class Tab extends Panel { return Widget.defaults({ - _tab:'tab', - // detached: {type: 'boolean', value: true, help: 'Set to `false` if the tab contains `frame` widgets that should not be reloaded when the tab opens'}, + _panel: 'panel', + colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, + variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, + // detached: {type: 'boolean', value: true, help: 'Set to `false` if the tab contains `frame` widgets that should not be reloaded when the tab opens'}, + + _panel_widgets: 'panel: widget container', + layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'}, - variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + 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.'}, + + _panel_tabs: 'panel: tab container', + + verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, }, [ '_geometry', 'left', 'top', 'width', 'height', 'expand', diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 4f8086c8..bb7022af 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -21,7 +21,7 @@ left:0; right:0; bottom:0; - margin: calc(var(--widget-spacing) / 2); + margin: var(--widget-spacing); flex: 1; display: flex; flex-direction: column; diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 1492124a..92615454 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -24,21 +24,34 @@ > inner { - --widget-spacing: var(--widget-padding); flex: 1; position: relative; overflow: auto; - margin: calc(var(--widget-spacing) / 2) calc(1rem + var(--widget-spacing) / 2) calc(1rem + var(--widget-spacing) / 2); } + + &.no-scroll > inner { overflow: hidden; } &.contains-widgets { + > inner { + --widget-spacing: calc(var(--widget-padding) / 2); + margin: var(--widget-spacing) + calc(1rem + var(--widget-spacing)) + calc(1rem + var(--widget-spacing)); + } + + &.no-inner-padding > inner { + margin: calc(-1rem + var(--widget-spacing) * -1) + calc(var(--widget-spacing) * -1) + calc(var(--widget-spacing) * -1); + } + > inner > .widget { - padding: calc(var(--widget-spacing) / 2); + padding: var(--widget-spacing); } &.layout-default > inner { @@ -156,7 +169,7 @@ @include pseudo-stroke($z: 1); &:before { - margin: calc(var(--widget-spacing) / 2); + margin: var(--widget-spacing); } > label { @@ -201,7 +214,7 @@ bottom:0; > inner { - margin: calc(var(--widget-spacing) / 2); + margin: var(--widget-spacing); // optimize layout recalc position: absolute; @@ -384,7 +397,7 @@ left:0; right:0; bottom:0; - margin: calc(var(--widget-spacing) / 2); + margin: var(--widget-spacing); flex: 1; display: flex; flex-direction: column; @@ -426,7 +439,7 @@ background: none!important; color: var(--color-stroke); opacity: var(--alpha-stroke); - margin: calc(var(--widget-spacing) / 2); + margin: var(--widget-spacing); } } @@ -470,7 +483,9 @@ } > inner { - margin: calc(var(--widget-spacing) / 2) calc(var(--widget-spacing) / 2) calc(var(--widget-spacing) / 2); + margin: var(--widget-spacing) + var(--widget-spacing) + var(--widget-spacing); } } } diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index 3cf16803..c0889812 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -52,7 +52,7 @@ --widget-spacing: var(--widget-padding); - padding: calc(var(--widget-spacing) / 2 + 1rem); + padding: calc(var(--widget-spacing) + 1rem); grid-template: "a a b" auto / 1fr; @@ -68,8 +68,8 @@ .widget { height: auto; width: auto; - margin: calc(var(--widget-spacing) / 2); - --widget-padding: 2rem;//calc(var(--widget-spacing) / 2); + margin: var(--widget-spacing); + --widget-padding: 2rem; } .pad { From 24f33a2e0335a86fb5400050fcbef44823a4f56a Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 22 Apr 2020 15:51:07 +0200 Subject: [PATCH 2119/2575] modal: missing innerPadding prop --- src/client/widgets/containers/matrix.js | 3 +-- src/client/widgets/containers/modal.js | 1 + src/scss/widgets/containers.scss | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 85fcb76d..af570b77 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -34,8 +34,7 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, - - + 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.'}, }, [], {}) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 20f27429..5cc17f4e 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -36,6 +36,7 @@ class Modal extends Panel { gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, 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.'}, }, [], { diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 92615454..e88af8b2 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -470,13 +470,19 @@ > inner { display: none; } + + &.no-inner-padding > .popup > .popup-wrapper > .popup-content > inner { + margin: calc(var(--widget-spacing) * -1); + } + + > .popup { padding:0; > .popup-wrapper { width: var(--width, 100%); height: var(--height, 100%); - .popup-content { + > .popup-content { // contain:unset; // == no restrain &:before { content: none; From 2fa237e3a89ae1956177cf48d8e56511a0aad31b Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 22 Apr 2020 15:56:31 +0200 Subject: [PATCH 2120/2575] widget: resolve prop avoid error --- 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 e58c4437..acce46a1 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -535,7 +535,7 @@ class Widget extends EventEmitter { // ignore clone wrapper in @parent stack (https://github.com/jean-emmanuel/open-stage-control/issues/379) - if (widgets[0] === this.parent && this.parent.getProp('type') === 'clone') widgets = [this.parent.parent] + if (widgets[0] === this.parent && this.parent !== widgetManager && this.parent.getProp('type') === 'clone') widgets = [this.parent.parent] if (storeLinks) { From c989bc40eedfd1c423888013f51544bf13b24d96 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 22 Apr 2020 16:22:05 +0200 Subject: [PATCH 2121/2575] remote control: /EDIT: add support for option flags docs: update --- resources/docs/docs/remote-control.md | 21 ++--- .../docs/docs/widgets/properties-reference.md | 79 +++++++++++++++---- src/client/remote-control.js | 12 ++- 3 files changed, 78 insertions(+), 34 deletions(-) diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index d5c93062..214468a8 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -5,35 +5,28 @@ All widgets that send osc messages respond to the same messages. Additionnaly, O ---- -#### `/EDIT id options` +#### `/EDIT id properties options` Apply a set of options to an existing widget by replacing the old ones with the new ones. - `id`: `string`, widget's `id` -- `options`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge +- `properties`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge - example: `{"label":"New Label", "color":"red"}` +- `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. -!!! info "" - Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea +!!! danger "Warning" + Editing widgets is cpu expensive; for small and recurrent changes, consider using [osc listeners](./widgets/advanced-syntaxes.md) instead. ---- -#### `/EDIT/MERGE id options` +#### `/EDIT/MERGE id properties options` Apply a set of options to an existing widget by merging them to the widget's options. - -- `id`: `string`, widget's `id` -- `options`: `string`, [JSON5](https://github.com/json5/json5) stringified object defining the new properties to merge - - example: `{"label":"New Label", "color":"red"}` - -!!! info "" - Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea - - ---- #### `/EDIT/UNDO` diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 878759a9..cf654c13 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -14,7 +14,7 @@ | --- | --- | --- | --- | |
        type#
        | `string` | "auto" | | |
        id#
        | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. | - |
        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) | + |
        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` | |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | @@ -165,19 +165,30 @@ | property | type |default | description | | --- | --- | --- | --- | |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        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` or `auto` to limit affected widgets by the type of the first touched widget | + + === "panel: widget container" + + | property | type |default | description | + | --- | --- | --- | --- | |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | - |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + |
        innerPadding#
        | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | + + === "panel: tab container" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | === "value" | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | + |
        value#
        | `integer` | "" | Defines currently selected tab in the widget

        A tab can be opened only by setting its parent's value | === "children" @@ -194,6 +205,12 @@ | property | type |default | description | | --- | --- | --- | --- | | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | + | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + + === "modal: popup" + + | property | type |default | description | + | --- | --- | --- | --- | | | `string` | "" | Alternative label for the modal popup | | | `number`|
        `percentage` | "80%" | Modal popup's size | | | `number`|
        `percentage` | "80%" | Modal popup's size | @@ -204,7 +221,7 @@ | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | | | `boolean` | true | Set to `false` to disable scrollbars | - | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + | | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | === "value" @@ -236,18 +253,24 @@ ??? api "
        matrix#
        " Generic matrix for creating rows/columns of widgets. - === "matrix" + === "matrix: widgets" | property | type |default | description | | --- | --- | --- | --- | |
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | + |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | + |
        start#
        | `integer` | 0 | First widget's index | + |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | + + === "matrix: layout" + + | property | type |default | description | + | --- | --- | --- | --- | |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | |
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | - |
        start#
        | `integer` | 0 | First widget's index | |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | - |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | + |
        innerPadding#
        | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | ??? api "
        keyboard#
        " Piano keyboard. @@ -293,13 +316,24 @@ | property | type |default | description | | --- | --- | --- | --- | |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        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` or `auto` to limit affected widgets by the type of the first touched widget | + + === "panel: widget container" + + | property | type |default | description | + | --- | --- | --- | --- | |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | - |
        variables#
        | `*` | "" | Defines one or more arbitrary variables that can be inherited by children widgets | + |
        innerPadding#
        | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | + + === "panel: tab container" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | === "value" @@ -317,18 +351,29 @@ ??? api "
        tab#
        " Tabbed panel widget - === "tab" + === "panel" | property | type |default | description | | --- | --- | --- | --- | |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        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` or `auto` to limit affected widgets by the type of the first touched widget | + + === "panel: widget container" + + | property | type |default | description | + | --- | --- | --- | --- | |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - |
        traversing#
        | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | |
        scroll#
        | `boolean` | true | Set to `false` to disable scrollbars | - |
        variables#
        | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + |
        innerPadding#
        | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | + + === "panel: tab container" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | === "value" diff --git a/src/client/remote-control.js b/src/client/remote-control.js index c791f991..58b555ad 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -4,14 +4,15 @@ var {updateWidget} = require('./editor/data-workers'), stateManager = require('./managers/state'), deepExtend = require('deep-extend'), notifications = require('./ui/notifications') - + var callbacks = { '/EDIT': function(args) { if (READ_ONLY) return - var [id, json] = args, + var [id, json, opts] = args, newdata = typeof json == 'string' ? JSON.parseFlex(json) : json, + options = typeof opts == 'string' ? JSON.parseFlex(opts) : {}, widgets = widgetManager.getWidgetById(id) if (!widgets.length) return @@ -33,13 +34,16 @@ var callbacks = { editor.pushHistory() + if (options.noWarning) editor.unsavedSession = false + }, '/EDIT/MERGE': function(args) { if (READ_ONLY) return - var [id, json] = args, + var [id, json, opts] = args, newdata = typeof json == 'string' ? JSON.parseFlex(json) : json, + options = typeof opts == 'string' ? JSON.parseFlex(opts) : {}, widgets = widgetManager.getWidgetById(id) if (!widgets.length) return @@ -59,6 +63,8 @@ var callbacks = { editor.pushHistory() + if (options.noWarning) editor.unsavedSession = false + }, '/EDIT/UNDO': function(args) { From 0ed4ad351306696d4044ed20ad74e4dad0e78849 Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Wed, 22 Apr 2020 22:39:00 +0200 Subject: [PATCH 2122/2575] fix typo --- 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 214468a8..de3c752e 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -1,6 +1,6 @@ # Remote control -All widgets that send osc messages respond to the same messages. Additionnaly, Open Stage Control responds to some general osc commands. +All widgets that send osc messages respond to the same messages. Additionally, Open Stage Control responds to some general osc commands. ---- From e208ead603d13633fd061fc3111cd9d7879e1615 Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Thu, 23 Apr 2020 00:50:27 +0200 Subject: [PATCH 2123/2575] fix typo --- resources/docs/docs/custom-module/managing-big-modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/custom-module/managing-big-modules.md b/resources/docs/docs/custom-module/managing-big-modules.md index b9097065..6815784d 100644 --- a/resources/docs/docs/custom-module/managing-big-modules.md +++ b/resources/docs/docs/custom-module/managing-big-modules.md @@ -8,7 +8,7 @@ The common pattern for this is using the [browserify](http://browserify.org/) li module.exports = 42 ``` -**2**. retreive it in your main module file (`main.js`): +**2**. retrieve it in your main module file (`main.js`): ```javascript var num = require('./number.js') From 82cbe878e53db44d61d13de60ee10e8f38bb0c2f Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 15:20:21 +0200 Subject: [PATCH 2124/2575] widgets: remove built-in label except for button, modal & tabs widgets: colorBg property for all; opaque background for all --- src/client/widgets/basics/button.js | 41 +++++++++++++++- src/client/widgets/common/canvas.js | 2 +- src/client/widgets/common/widget.js | 63 +++++++++++++------------ src/client/widgets/containers/matrix.js | 1 - src/client/widgets/containers/modal.js | 27 ++++++++++- src/client/widgets/containers/panel.js | 5 +- src/client/widgets/containers/root.js | 1 - src/client/widgets/containers/tab.js | 28 +++++++++-- src/client/widgets/indicators/text.js | 2 +- src/client/widgets/sliders/fader.js | 2 +- src/client/widgets/sliders/knob.js | 2 +- src/client/widgets/sliders/range.js | 2 +- src/scss/widgets.scss | 26 ++-------- src/scss/widgets/basics.scss | 40 ++++++++-------- src/scss/widgets/containers.scss | 50 ++++---------------- src/scss/widgets/indicators.scss | 16 +++++-- src/scss/widgets/sliders.scss | 4 -- 17 files changed, 171 insertions(+), 141 deletions(-) diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index ca21a4a6..73824d64 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -1,7 +1,8 @@ var Widget = require('../common/widget'), doubletab = require('../mixins/double_tap'), html = require('nanohtml'), - {deepEqual, isJSON} = require('../../utils') + {deepEqual, isJSON} = require('../../utils'), + {iconify} = require('../../ui/utils') class Button extends Widget { @@ -18,6 +19,11 @@ class Button extends Widget { _button: 'button', + label: {type: 'string|boolean', value: 'auto', help: [ + '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`', + ]}, on: {type: '*', value: 1, help: [ 'Set to `null` to send send no argument in the osc message', ]}, @@ -125,6 +131,9 @@ class Button extends Widget { this.value = this.getProp('off') + this.label = html`` + this.updateLabel() + } @@ -166,6 +175,36 @@ class Button extends Widget { + } + + updateLabel() { + + if (this.getProp('label') === false) { + + if (this.widget.contains(this.label)) this.widget.removeChild(this.label) + + } else { + this.label.innerHTML = this.getProp('label') == 'auto'? + this.getProp('id'): + iconify(String(this.getProp('label')).replace(/{ this.cacheCanvasStyle() this.batchDraw() diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index acce46a1..c34b2254 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -52,11 +52,11 @@ class Widget extends EventEmitter { type: {type: 'string', value: 'auto', help: ''}, id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, - label: {type: 'string|boolean', value: 'auto', help: [ - '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`', - ]}, + // label: {type: 'string|boolean', value: 'auto', help: [ + // '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`', + // ]}, visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, @@ -77,6 +77,7 @@ class Widget extends EventEmitter { _style:'style', + colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, colorText: {type: 'string', value: 'auto', help: 'Text color. Set to "auto" to inherit from parent widget.'}, colorWidget: {type: 'string', value: 'auto', help: 'Widget\'s default accent color. Set to "auto" to inherit from parent widget.'}, colorStroke: {type: 'string', value: 'auto', help: 'Stroke color. Set to "auto" to use `colorWidget`.'}, @@ -213,8 +214,8 @@ class Widget extends EventEmitter { this.container = html`
        ` - this.label = html`` - if (this.getProp('label') !== false) this.container.appendChild(this.label) + // this.label = html`` + // if (this.getProp('label') !== false) this.container.appendChild(this.label) if (this.widget) this.container.appendChild(this.widget) this.container._widget_instance = this @@ -796,12 +797,12 @@ class Widget extends EventEmitter { this.container.classList.toggle('no-interaction', !this.getProp('interaction')) return - case 'label': - this.setContainerStyles(['label']) - if (oldPropValue === false || this.getProp('label') === false) { - resize.check(this.container) - } - return + // case 'label': + // this.setContainerStyles(['label']) + // if (oldPropValue === false || this.getProp('label') === false) { + // resize.check(this.container) + // } + // return case 'css': { this.setContainerStyles(['css']) @@ -883,23 +884,23 @@ class Widget extends EventEmitter { } - if (styles.includes('label')) { - - // label - if (this.getProp('label') === false) { - this.container.classList.add('no-label') - this.label.innerHTML = '' - } else { - this.container.classList.remove('no-label') - var label = this.getProp('label') == 'auto'? - this.getProp('id'): - iconify(String(this.getProp('label')).replace(/parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, {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)}, diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index af570b77..2023b394 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -30,7 +30,6 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { _matrixLayout: 'matrix: layout', - colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 5cc17f4e..032c5c3c 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -20,6 +20,11 @@ class Modal extends Panel { _modal: 'modal', + label: {type: 'string|boolean', value: 'auto', help: [ + '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`', + ]}, doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the modal require a double tap to open instead of a single tap'}, variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, @@ -31,7 +36,6 @@ class Modal extends Panel { popupLeft: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, popupTop: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, - colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help: 'Defines how children are laid out.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, @@ -120,6 +124,8 @@ class Modal extends Panel { this.popupContent.classList.add('layout-' + this.getProp('layout')) this.popupContent.style.setProperty('--widget-padding', this.getProp('padding') != 'auto' ? parseFloat(this.getProp('padding')) + 'rem' : '') + this.label = html`` + this.updateLabel() this.childrenType = 'widget' @@ -200,6 +206,22 @@ class Modal extends Panel { super.onRemove() } + updateLabel() { + + if (this.getProp('label') === false) { + + if (this.container.contains(this.label)) this.container.removeChild(this.label) + + } else { + this.label.innerHTML = this.getProp('label') == 'auto'? + this.getProp('id'): + iconify(String(this.getProp('label')).replace(/ ` - label.innerHTML = widget.label.innerHTML + label.innerHTML = widget.label this.navigation.appendChild(label) }) @@ -245,7 +244,7 @@ class Panel extends Container() { case 'alphaStroke': case 'alphaFillOff': case 'alphaFillOn': - case 'colorPanel': + case 'colorBg': case 'padding': for (var w of this.children) { if (w) w.onPropChanged(propName) diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 14ad43a1..76b14bc7 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -16,7 +16,6 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro _panel: 'panel', - colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index 33e0bb3a..63493de1 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -1,6 +1,8 @@ var Panel = require('./panel'), Widget = require('../common/widget'), - resize = require('../../events/resize') + resize = require('../../events/resize'), + {iconify} = require('../../ui/utils'), + html = require('nanohtml') module.exports = class Tab extends Panel { @@ -17,7 +19,11 @@ module.exports = class Tab extends Panel { _panel: 'panel', - colorPanel: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, + label: {type: 'string|boolean', value: 'auto', help: [ + '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`', + ]}, variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, // detached: {type: 'boolean', value: true, help: 'Set to `false` if the tab contains `frame` widgets that should not be reloaded when the tab opens'}, @@ -61,6 +67,21 @@ module.exports = class Tab extends Panel { this.detached = false + this.label = '' + this.updateLabel() + + } + + updateLabel() { + + if (this.getProp('label') === false) { + this.label = '' + } else { + this.label = this.getProp('label') == 'auto'? + this.getProp('id'): + iconify(String(this.getProp('label')).replace(/`}) - this.text = this.widget.appendChild(html`
        `) + this.text = this.widget.appendChild(html``) if (this.getProp('vertical')) this.text.classList.add('vertical') if (this.getProp('align') === 'left') this.text.classList.add('left') diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 4a7e1457..0f953a1a 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -259,7 +259,7 @@ module.exports = class Fader extends Slider { if (this.cssVars.alphaStroke) { this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorPanel + this.ctx.fillStyle = this.cssVars.colorBg this.ctx.beginPath() this.ctx.rect(m - 6 * PXSCALE, d - 10 * PXSCALE, 12 * PXSCALE, 20 * PXSCALE) diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 64a75f8a..a1afde40 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -272,7 +272,7 @@ module.exports = class Knob extends Slider { // // // // center - // this.ctx.fillStyle = this.cssVars.colorPanel + // this.ctx.fillStyle = this.cssVars.colorBg // this.ctx.strokeStyle = this.cssVars.colorStroke // this.ctx.lineWidth = 1 * PXSCALE // diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index 262c2857..e123d1e2 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -303,7 +303,7 @@ class Range extends Fader { if (this.cssVars.alphaStroke) { this.ctx.globalAlpha = 1 - this.ctx.fillStyle = this.cssVars.colorPanel + this.ctx.fillStyle = this.cssVars.colorBg this.ctx.beginPath() this.ctx.rect(m - 6 * PXSCALE, _d - 10 * PXSCALE, 12 * PXSCALE, 20 * PXSCALE) diff --git a/src/scss/widgets.scss b/src/scss/widgets.scss index 56060e58..1e884667 100644 --- a/src/scss/widgets.scss +++ b/src/scss/widgets.scss @@ -12,7 +12,6 @@ width: 100rem; height: 100rem; - background-clip: content-box; contain: strict; @supports not (contain: strict) { @@ -39,34 +38,15 @@ color: var(--color-text); + background-color: var(--color-background); + background-clip: content-box; + &.absolute-position { position: absolute; z-index: 10; } - &.no-label { - > label { - display:none; - } - } - - label { - text-overflow:ellipsis; - overflow:hidden; - text-align:center; - height:30rem; - max-height:30rem; - padding:0 6rem; - width: 100%; - flex-shrink: 0; - display: flex; - justify-content: center; - white-space: pre; - align-items: center; - order: -1; - } - canvas { flex: 1; height: auto; diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index bb7022af..98662cc3 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -1,10 +1,13 @@ -.button-container, +.button-container { + width: 90rem; + height: 60rem; +} .menu-container, .dropdown-container, .input-container, .file-container { width: 90rem; - height: 60rem; + height: 30rem; } .button-container { @@ -22,37 +25,32 @@ right:0; bottom:0; margin: var(--widget-spacing); - flex: 1; - display: flex; - flex-direction: column; - z-index: -1; + padding: var(--widget-padding); - @include pseudo-stroke(); - @include pseudo-fill(); + + @include pseudo-stroke($z: -1); + @include pseudo-fill($z: -1); } - > label { - - flex: 1; - max-height: initial; - text-align: center; - pointer-events:none; + label { display: flex; justify-content: center; align-items: center; - color: var(--color-text); - - + white-space: pre; + line-height: 100%; + overflow: hidden; + text-align: center; + word-wrap: break-word; + height: 100%; + width: 100%; + border: 2rem solid transparent; } &.on, &.active { --alpha-fill:var(--alpha-fill-on); - - label { - color: var(--color-text-on) - } + color: var(--color-text-on); } diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index e88af8b2..997b89f5 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -39,15 +39,11 @@ > inner { --widget-spacing: calc(var(--widget-padding) / 2); - margin: var(--widget-spacing) - calc(1rem + var(--widget-spacing)) - calc(1rem + var(--widget-spacing)); + margin: var(--widget-spacing); } &.no-inner-padding > inner { - margin: calc(-1rem + var(--widget-spacing) * -1) - calc(var(--widget-spacing) * -1) - calc(var(--widget-spacing) * -1); + margin: calc(var(--widget-spacing) * -1); } > inner > .widget { @@ -155,10 +151,6 @@ display:none } - > label { - display: none; - } - } .panel-container { @@ -172,21 +164,6 @@ margin: var(--widget-spacing); } - > label { - - position: relative; - // background-color: var(--color-background); - @include pseudo-stroke($z: 10); - &:before { - border-width: 0 0 1rem 0; - margin: 0 1rem; - } - } - - &.contains-widgets.no-label > inner { - border-top: 1rem solid var(--color-background); - } - &.contains-tabs > inner > .navigation { margin: 0 1rem; &.vertical { @@ -352,11 +329,6 @@ content: none } - - > label { - display: none; - } - > .clone { --widget-spacing: 0; @@ -410,7 +382,12 @@ > label { - flex: 1; + position: absolute; + top:0; + left:0; + right:0; + bottom:0; + max-height: initial; text-align: center; pointer-events:none; @@ -489,9 +466,7 @@ } > inner { - margin: var(--widget-spacing) - var(--widget-spacing) - var(--widget-spacing); + margin: var(--widget-spacing); } } } @@ -532,13 +507,6 @@ justify-content: center; - - label { - flex: 1; - pointer-events: none; - display: flex; - } - } .patchbay-container { diff --git a/src/scss/widgets/indicators.scss b/src/scss/widgets/indicators.scss index 57710ede..5da1a234 100644 --- a/src/scss/widgets/indicators.scss +++ b/src/scss/widgets/indicators.scss @@ -34,7 +34,11 @@ width: 90rem; height: 60rem; - --alpha-fill-on: 75; + + --alpha-stroke: 0; + --alpha-fill-off: 0.1; + --alpha-fill-on: 1; + --widget-padding: -1; inner { @include pseudo-stroke(); @@ -47,11 +51,11 @@ } - div { - color: var(--color-fill); + label { + opacity: var(--alpha-fill-on); - flex: 1; - height: auto; + width: 100%; + height: 100%; display: flex; justify-content: center; align-items: center; @@ -60,6 +64,8 @@ overflow: hidden; text-align: center; word-wrap: break-word; + border: 2rem solid transparent; + &.right { text-align: right; justify-content: flex-end; diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index 07e10d34..315e7043 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -3,10 +3,6 @@ .encoder-container, .range-container { - inner { - flex: 1; - } - canvas { image-rendering: pixelated; width: 100%; From 202efdcee46ba274c148a5a6097e0136c712d5e9 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 15:21:40 +0200 Subject: [PATCH 2125/2575] inspector: rm debug log --- src/client/ui/ui-inspector-field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/ui-inspector-field.js b/src/client/ui/ui-inspector-field.js index 4ada14fb..2d11d8f0 100644 --- a/src/client/ui/ui-inspector-field.js +++ b/src/client/ui/ui-inspector-field.js @@ -99,7 +99,7 @@ class UiInspectorField extends UiWidget { try { val = chroma(style.getPropertyValue(colorData.css).trim()).hex('rgb') - } catch(e) {console.log(e)} + } catch(e) {} let picker = html`` From 0e9edd59b14b6dff9a88fb5512fa33dc7cc17eab Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 16:22:37 +0200 Subject: [PATCH 2126/2575] context-menu: light themed --- src/scss/index.scss | 2 ++ src/scss/themes/default.scss | 4 ++-- src/scss/ui/contextmenu.scss | 8 +++++--- src/scss/widgets/basics.scss | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/scss/index.scss b/src/scss/index.scss index 313de9d0..cf37efef 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -63,6 +63,8 @@ body { font-weight: 500; // text-transform: uppercase; letter-spacing: 1rem; + text-rendering: optimizeSpeed; + } diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index 0109ecb2..adb1dd15 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -21,8 +21,8 @@ $text: white!default; --color-grid: rgba(0,0,0, 0.1); --color-notification: #{rgba(black, 0.8)}; - --color-context-menu: #{mix($base, white, 95)}; - --color-context-menu-text: #{transparentize($text, .2)}; + --color-context-menu: #fafafa; + --color-context-menu-text: #333; --alpha-scrollbar: 0.25; --alpha-scrollbar-on: 0.5; diff --git a/src/scss/ui/contextmenu.scss b/src/scss/ui/contextmenu.scss index 16ef1f1f..36c9cf44 100644 --- a/src/scss/ui/contextmenu.scss +++ b/src/scss/ui/contextmenu.scss @@ -3,7 +3,7 @@ $line-height: 30rem; .context-menu { --widget-padding: 0rem; - --alpha-fill: 0.75; + --alpha-fill: 1; position:fixed; z-index: 9999999; @@ -11,15 +11,17 @@ $line-height: 30rem; box-shadow: 0 0 0 0.5rem rgba(0, 0, 0, 0.15) inset; text-transform: none; color: var(--color-context-menu-text); + font-weight: 400; + font-size: 12rem; line-height: $line-height; - + // border-radius: 2rem; .context-menu { position: absolute; left:100%; top:0; opacity:0; pointer-events: none; - margin-left: -0.5rem; + margin-left: -1rem; &:before { content:""; position: absolute; diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 98662cc3..62ca12ba 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -503,7 +503,7 @@ &:focus::selection { background: var(--color-fill); - color: var(--color-background); + color: var(--color-text); } } From ab984c70e76c462c1d09add1c34c913547d33439 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 16:32:23 +0200 Subject: [PATCH 2127/2575] css: avoid using flex-direction: column whenever possible (perf hit) --- src/scss/index.scss | 4 ++-- src/scss/widgets.scss | 3 ++- src/scss/widgets/basics.scss | 4 ---- src/scss/widgets/containers.scss | 3 --- src/scss/widgets/pads.scss | 4 ++-- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/scss/index.scss b/src/scss/index.scss index cf37efef..53bcade7 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -15,7 +15,7 @@ input:focus::selection, textarea:focus::selection, { background:var(--color-widget); - color:var(--color-text); + color: var(--color-text); } input { cursor: text; @@ -29,7 +29,7 @@ input { } html, body { - + position: absolute; top:0; left:0; diff --git a/src/scss/widgets.scss b/src/scss/widgets.scss index 1e884667..2179da29 100644 --- a/src/scss/widgets.scss +++ b/src/scss/widgets.scss @@ -5,7 +5,8 @@ vertical-align:top; display: inline-flex; - flex-direction: column; + flex-direction: row; + align-items: stretch; max-width: 100%; max-height: 100%; diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 62ca12ba..315e757f 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -65,7 +65,6 @@ inner { position: relative; - flex: 1; display: flex; flex-direction: column; @@ -140,7 +139,6 @@ inner { - flex:1; display: flex; flex-direction: row; justify-content: center; @@ -382,7 +380,6 @@ inner { - flex:1; display: flex; flex-direction: row; justify-content: center; @@ -453,7 +450,6 @@ @include pseudo-fill(0.05); display: flex; - flex: 1; padding: var(--widget-padding); text-align: center; &.right { diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 997b89f5..9cfef6d6 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -24,8 +24,6 @@ > inner { - flex: 1; - position: relative; overflow: auto; } @@ -143,7 +141,6 @@ --alpha-fill-on: 0.75; width: 100%; - flex: 1; height: 100%; background-color: var(--color-background); diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index c0889812..513953e5 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -50,9 +50,9 @@ @include pseudo-stroke($z: 1); - --widget-spacing: var(--widget-padding); + --widget-spacing: calc(var(--widget-padding) / 2); - padding: calc(var(--widget-spacing) + 1rem); + padding: var(--widget-spacing); grid-template: "a a b" auto / 1fr; From cf47d33eb0a2b0ce64d4638b166e43ab569c375a Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 17:16:04 +0200 Subject: [PATCH 2128/2575] text: fix default value --- src/client/widgets/indicators/text.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/client/widgets/indicators/text.js b/src/client/widgets/indicators/text.js index 5bd4781f..e873d485 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -40,22 +40,14 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte if (this.getProp('wrap')) this.text.classList.add('wrap') - this.defaultValue = this.getProp('default') || ( this.getProp('label')===false ? - this.getProp('id'): - this.getProp('label')=='auto'? - this.getProp('id'): - this.getProp('label') ) - - this.value = this.defaultValue - - this.setValue(this.value) + this.setValue(this.getProp('default')) } setValue(v, options={}) { - this.value = v==null ? this.defaultValue : v + this.value = v === '' || v === null ? this.getProp('default') : v var s = String(this.value) if (s.indexOf('^') > -1) { From fa1696b28420ace690087e355fac8272083b46cd Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 18:36:32 +0200 Subject: [PATCH 2129/2575] widgets: various design & layout fixes --- src/client/widgets/containers/patchbay.js | 16 ++++++++++++++-- src/client/widgets/sliders/knob.js | 23 ++++++++++++----------- src/scss/widgets/containers.scss | 17 +++++++++++++++++ src/scss/widgets/indicators.scss | 4 ++-- 4 files changed, 45 insertions(+), 15 deletions(-) diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index cd7a29f2..841f54b1 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -1,14 +1,26 @@ var Widget = require('../common/widget'), Canvas = require('../common/canvas'), Container = require('../common/container'), + {iconify} = require('../../ui/utils'), parser = require('../../parser'), html = require('nanohtml') class PatchBayNode extends Widget { + + static defaults() { + + return super.defaults({ + label: {type: 'string', value: ''} + }) + + } + constructor(options) { - super({...options, html: null}) + super({...options, html: html``}) + + this.widget.innerHTML = iconify(this.getProp('label').replace(//g, '>').replace(/\n/g,'
        ')) this.value = [] @@ -126,12 +138,12 @@ class PatchBay extends Container(Canvas) { let w = parser.parse({ data: { type: 'patchbaynode', - label: k, id: this.getProp('id') + '/' + this.inputs[k], address: '@{parent.address}', target: '@{parent.target}', preArgs: this.inputs[k], bypass: '@{parent.bypass}', + label: k }, parentNode: DOM.get(this.widget, '.inputs')[0], diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index a1afde40..59f9c9ff 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -174,9 +174,10 @@ module.exports = class Knob extends Slider { max = this.percentToAngle(100), dashed = this.getProp('dashed'), pips = this.getProp('pips'), - minRadius = this.minDimension / 6, - maxRadius = this.minDimension / 2 - (pips ? this.fontSize * 2 : PXSCALE), - gaugeWidth = maxRadius - minRadius, + minRadius = this.minDimension / 6 - (pips ? this.fontSize * 0.75 : PXSCALE), + maxRadius = this.minDimension / 2 - (pips ? this.fontSize * 2 : PXSCALE) + + var gaugeWidth = maxRadius - minRadius, gaugeRadius = maxRadius - gaugeWidth / 2 this.clear() @@ -217,12 +218,12 @@ module.exports = class Knob extends Slider { this.ctx.globalAlpha = this.cssVars.alphaStroke this.ctx.strokeStyle = this.cssVars.colorStroke this.ctx.lineWidth = PXSCALE - - if (this.minDimension > 40) { - this.ctx.beginPath() - this.ctx.arc(this.width / 2, this.height / 2, minRadius, 0, 2 * Math.PI) - this.ctx.stroke() - } + // + // if (this.minDimension > 40) { + // this.ctx.beginPath() + // this.ctx.arc(this.width / 2, this.height / 2, minRadius, 0, 2 * Math.PI) + // this.ctx.stroke() + // } this.ctx.beginPath() @@ -312,7 +313,7 @@ module.exports = class Knob extends Slider { for (var pip of this.rangeKeys) { - let r1 = maxRadius, + let r1 = maxRadius + 2 * PXSCALE, r2 = r1 + 4 * PXSCALE, a = 2 * Math.PI - this.percentToAngle(pip) @@ -324,7 +325,7 @@ module.exports = class Knob extends Slider { } - var radius = maxRadius + (this.fontSize + 2 * PXSCALE) + var radius = maxRadius + (this.fontSize + 4 * PXSCALE) this.ctx.fillStyle = this.cssVars.colorText this.ctx.globalAlpha = this.cssVars.alphaPipsText for (var p in this.pipTexts) { diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 9cfef6d6..c43fe783 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -543,6 +543,21 @@ } } + label { + display: flex; + justify-content: center; + align-items: center; + white-space: pre; + line-height: 100%; + overflow: hidden; + text-align: center; + word-wrap: break-word; + height: 100%; + width: 100%; + border: 2rem solid transparent; + pointer-events: none; + } + } @@ -583,6 +598,7 @@ } &:after { background: var(--color-key-on); + z-index: 1; } } } @@ -609,6 +625,7 @@ inner { margin-left: 0!important; margin-right: 0!important; + margin-bottom: 0!important; background: var(--color-black-key); } } diff --git a/src/scss/widgets/indicators.scss b/src/scss/widgets/indicators.scss index 5da1a234..b45c15a6 100644 --- a/src/scss/widgets/indicators.scss +++ b/src/scss/widgets/indicators.scss @@ -1,7 +1,7 @@ .led-container { - width: 90rem; - height: 60rem; + width: 30rem; + height: 30rem; --color-led: var(--color-fill); --alpha-fill-off: 0; From 61630803e49d7ec2a02a108bd484e517c78cd44b Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 18:38:10 +0200 Subject: [PATCH 2130/2575] log: rm label prop --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c9eff69..8ebe4e2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ - widget changes + - all: removed `label` option except for buttons, tabs and modals (one should use `text` widgets if needed) - all: removed support for `null` and `"self"` targets - all: added `ignoreDefaults` property (allows ignoring the server's default targets) - all: `precision` property to `decimals`, don't set osc integer typetag when 0 From a3e49f1bcd00f605c67db8f30b60b61b2ce6f1d9 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 19:42:53 +0200 Subject: [PATCH 2131/2575] widgets: clean label removal and lint --- src/client/widgets/common/widget.js | 37 ++------------------------ src/client/widgets/containers/modal.js | 1 + src/client/widgets/containers/tab.js | 3 +-- 3 files changed, 4 insertions(+), 37 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index c34b2254..796da493 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -6,7 +6,6 @@ var EventEmitter = require('../../events/event-emitter'), Vm = require('../vm'), vm = new Vm(), scopeCss = require('scope-css'), - {iconify} = require('../../ui/utils'), resize = require('../../events/resize'), OscReceiver = require('./osc-receiver'), {deepCopy, deepEqual, isJSON} = require('../../utils'), @@ -52,11 +51,6 @@ class Widget extends EventEmitter { type: {type: 'string', value: 'auto', help: ''}, id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, - // label: {type: 'string|boolean', value: 'auto', help: [ - // '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`', - // ]}, visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, @@ -214,8 +208,7 @@ class Widget extends EventEmitter { this.container = html`
        ` - // this.label = html`` - // if (this.getProp('label') !== false) this.container.appendChild(this.label) + if (this.widget) this.container.appendChild(this.widget) this.container._widget_instance = this @@ -797,13 +790,6 @@ class Widget extends EventEmitter { this.container.classList.toggle('no-interaction', !this.getProp('interaction')) return - // case 'label': - // this.setContainerStyles(['label']) - // if (oldPropValue === false || this.getProp('label') === false) { - // resize.check(this.container) - // } - // return - case 'css': { this.setContainerStyles(['css']) var re = /width|height|display|margin|padding|flex/ @@ -854,7 +840,7 @@ class Widget extends EventEmitter { } - setContainerStyles(styles = ['geometry', 'label', 'css', 'visibility']) { + setContainerStyles(styles = ['geometry', 'css', 'visibility']) { if (styles.includes('geometry')) { @@ -884,24 +870,6 @@ class Widget extends EventEmitter { } - // if (styles.includes('label')) { - // - // // label - // if (this.getProp('label') === false) { - // this.container.classList.add('no-label') - // this.label.innerHTML = '' - // } else { - // this.container.classList.remove('no-label') - // var label = this.getProp('label') == 'auto'? - // this.getProp('id'): - // iconify(String(this.getProp('label')).replace(/ Date: Thu, 23 Apr 2020 19:56:30 +0200 Subject: [PATCH 2132/2575] fader: add support for dash/gap size in dashed prop --- CHANGELOG.md | 1 + src/client/widgets/sliders/fader.js | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ebe4e2a..a16c92a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ - fader: removed `meter` - fader: added `gradient` - fader: added `round` design style + - fader: support setting dash size and gap size in `dashed` property - switch: added `layout` (including grid) - switch: added `click` mode - plot/eq: removed `smooth` diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 0f953a1a..a9d2a581 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -18,7 +18,7 @@ module.exports = class Fader extends Slider { design: {type: 'string', value: 'default', choices: ['default', 'round', 'compact'], help: 'Design style'}, 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', value: false, help: 'Set to `true` to display a dashed gauge'}, + 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]`'}, gradient: {type: 'array|object', value: [], help: [ 'When set, the meter\'s gauge will be filled with a linear color gradient', '- each item must be a CSS color string.', @@ -64,6 +64,9 @@ module.exports = class Fader extends Slider { this.gaugeGradient = null + var dashed = this.getProp('dashed') + this.dashed = dashed ? Array.isArray(dashed) ? dashed.map(x=>parseFloat(x)) : [1, 1] : false + } draginitHandle(e) { @@ -176,7 +179,7 @@ module.exports = class Fader extends Slider { 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, - dashed = this.getProp('dashed'), + dashed = this.dashed, compact = this.getProp('design') === 'compact' this.clear() @@ -200,7 +203,7 @@ module.exports = class Fader extends Slider { } - if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + if (dashed) this.ctx.setLineDash([PXSCALE * dashed[0], PXSCALE * dashed[1]]) if (this.cssVars.alphaFillOff) { From 2d9e1b7ee9185e4f1b3fcd01ccf40a54055067a5 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 20:01:16 +0200 Subject: [PATCH 2133/2575] clone: rm color bg override --- src/scss/widgets/containers.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index c43fe783..61e96d84 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -334,7 +334,6 @@ > .widget { border:0!important; box-shadow: none!important; - background: transparent!important; position: relative!important; left:auto!important; bottom:auto!important; From 4a3c419f6946674980278599af3d45f098230aa1 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 20:06:24 +0200 Subject: [PATCH 2134/2575] clone: pass css prop update to children --- src/client/widgets/containers/clone.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 76d692b3..f7dbe407 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -291,6 +291,19 @@ class Clone extends Container() { this.bindTarget(this.getCloneTarget()) if (this.cloneTarget) this.createClone() return + case 'colorText': + case 'colorWidget': + case 'colorFill': + case 'colorStroke': + case 'alphaStroke': + case 'alphaFillOff': + case 'alphaFillOn': + case 'colorBg': + case 'padding': + for (var w of this.children) { + if (w) w.onPropChanged(propName) + } + return } From ada1eb7d5879a23fdec125527eb5fcc4dd798efb Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 23:09:28 +0200 Subject: [PATCH 2135/2575] launcher: fix layout --- app/launcher/index.html | 2 -- src/scss/ui/launcher.scss | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/launcher/index.html b/app/launcher/index.html index c2319910..60f6e86b 100644 --- a/app/launcher/index.html +++ b/app/launcher/index.html @@ -13,8 +13,6 @@ -
        -
        diff --git a/src/scss/ui/launcher.scss b/src/scss/ui/launcher.scss index 36a13b75..389addcc 100644 --- a/src/scss/ui/launcher.scss +++ b/src/scss/ui/launcher.scss @@ -49,6 +49,10 @@ $warning: rgb(209, 154, 47); --color-background: --color-ui-background; // scrollbar } + osc-panel-inner { + contain: layout style; + } + } osc-settings { From d0d7cce37e891f4f5e26fff20f4265f81ebd00e5 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 23:10:23 +0200 Subject: [PATCH 2136/2575] package: alpha 10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 97776f86..11aa4158 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.0.0-alpha9", + "version": "1.0.0-alpha10", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 751b70cad3e46a95b1a3d67ad9f0cf78884669eb Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 23:29:07 +0200 Subject: [PATCH 2137/2575] ui: context menu style tweaks --- src/scss/index.scss | 2 +- src/scss/themes/default.scss | 4 ++-- src/scss/ui/contextmenu.scss | 8 +++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/scss/index.scss b/src/scss/index.scss index 53bcade7..d7084ecf 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -57,7 +57,7 @@ body { white-space:nowrap; opacity:1; cursor: default; - font-family: $font, sans-serif; + font-family: $font; font-size:11rem; line-height:100%; font-weight: 500; diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index adb1dd15..ca94e733 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -1,5 +1,6 @@ $font: 'Roboto'; $font-mono: 'Roboto Mono'; +$font-menu: sans-serif; $base: rgb(25, 31, 42)!default; $accent: rgb(82, 168, 255)!default; @@ -14,7 +15,6 @@ $text: white!default; --color-text: #{transparentize($text, .4)}; - --color-background: #{$base}; --color-ui-background: #{mix($base, black, 85)}; @@ -22,7 +22,7 @@ $text: white!default; --color-notification: #{rgba(black, 0.8)}; --color-context-menu: #fafafa; - --color-context-menu-text: #333; + --color-context-menu-text: #444; --alpha-scrollbar: 0.25; --alpha-scrollbar-on: 0.5; diff --git a/src/scss/ui/contextmenu.scss b/src/scss/ui/contextmenu.scss index 36c9cf44..9c0c3c3e 100644 --- a/src/scss/ui/contextmenu.scss +++ b/src/scss/ui/contextmenu.scss @@ -11,10 +11,12 @@ $line-height: 30rem; box-shadow: 0 0 0 0.5rem rgba(0, 0, 0, 0.15) inset; text-transform: none; color: var(--color-context-menu-text); - font-weight: 400; - font-size: 12rem; + font-weight: 500; + font-size: 14rem; line-height: $line-height; - // border-radius: 2rem; + font-family: $font-menu; + letter-spacing: normal; + .context-menu { position: absolute; left:100%; From 701c4fa517c4ba68d7d85fae5cad55906f05b12b Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 23:35:34 +0200 Subject: [PATCH 2138/2575] inspector: hide _children frame: rm label --- src/client/ui/ui-inspector.js | 2 +- src/client/widgets/frames/frame.js | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index ade9995c..777fedbc 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -118,7 +118,7 @@ class UiInspector extends UiWidget { for (let propName in props) { - if (propName === 'children' || propName === 'tabs' || propName === 'widgets') continue + if (propName === '_children' || propName === 'tabs' || propName === 'widgets') continue let field, shared = true diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 1b4cc090..f6f0ad4b 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -18,11 +18,6 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { }, ['decimals', 'bypass'], { - label: {type: 'string|boolean', value: 'auto', help: [ - 'Set to `false` to hide completely', - 'Insert icons using the prefix ^ followed by the icon\'s name : ^play, ^pause, etc', - 'If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected' - ]}, value: {type: 'string', value: '', help: [ 'External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc)', ]} From bf630b262af1783b04ab91722f0b1203a70f5f23 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 13:24:59 +0200 Subject: [PATCH 2139/2575] context-menu: smaller text --- src/scss/ui/contextmenu.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/ui/contextmenu.scss b/src/scss/ui/contextmenu.scss index 9c0c3c3e..21054541 100644 --- a/src/scss/ui/contextmenu.scss +++ b/src/scss/ui/contextmenu.scss @@ -12,7 +12,7 @@ $line-height: 30rem; text-transform: none; color: var(--color-context-menu-text); font-weight: 500; - font-size: 14rem; + font-size: 13rem; line-height: $line-height; font-family: $font-menu; letter-spacing: normal; From 82bf25aa445194c648534bf57ad51783853cde28 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 13:26:46 +0200 Subject: [PATCH 2140/2575] firefox: compat tweaks --- src/scss/ui/inspector.scss | 8 +++++++- src/scss/ui/scrollbars.scss | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 83966b31..343ae02c 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -38,13 +38,19 @@ osc-inspector-field { background: var(--color-background); cursor: text; + user-select: initial; + --scrollbar-size: 6rem; + // Chromium scrollbar &::-webkit-scrollbar-thumb:horizontal { - // border-top: 4rem solid var(--color-background); cursor: normal; } + // Firefox scrollbar (hidden to preserve height) + scrollbar-width: none; + + } diff --git a/src/scss/ui/scrollbars.scss b/src/scss/ui/scrollbars.scss index 6622c2e3..ce14aa62 100644 --- a/src/scss/ui/scrollbars.scss +++ b/src/scss/ui/scrollbars.scss @@ -1,3 +1,5 @@ +// Chromium + ::-webkit-scrollbar { width: var(--scrollbar-size); height:var(--scrollbar-size); @@ -38,7 +40,9 @@ } +// Firefox + * { scrollbar-color: var(--color-scrollbar) var(--color-background); - scrollbar-width: thin; + scrollbar-width: normal; } From 03801c07892e9a31711357e0cd39f8224d0be594 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 14:10:09 +0200 Subject: [PATCH 2141/2575] ui: tweak edited widget border and make it compatible with firefox --- src/scss/ui/dragresize.scss | 11 +++++++++++ src/scss/ui/selectarea.scss | 14 +++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/scss/ui/dragresize.scss b/src/scss/ui/dragresize.scss index 3fe71958..ad8d57ca 100644 --- a/src/scss/ui/dragresize.scss +++ b/src/scss/ui/dragresize.scss @@ -9,6 +9,17 @@ top: var(--top); left: var(--left); + &:before { + content:""; + position: absolute; + top:0;left:0; + width: calc(var(--width) - 2rem); + height: calc(var(--height) - 2rem); + border: 1rem solid var(--color-accent); + opacity: 0.2; + pointer-events: none; + } + .helper { position: absolute; diff --git a/src/scss/ui/selectarea.scss b/src/scss/ui/selectarea.scss index 75c9b4c0..71f1d913 100644 --- a/src/scss/ui/selectarea.scss +++ b/src/scss/ui/selectarea.scss @@ -31,14 +31,14 @@ left:0; right:0; bottom:0; - border:1rem solid var(--color-accent); - --opa1: rgba(0,0,0, 1); - --opa2: rgba(0,0,0, 0.2); - --opa3: rgba(0,0,0, 0.8); - -webkit-mask: linear-gradient(to right, var(--opa1) 10rem, var(--opa1) 10rem, var(--opa2) 10rem, var(--opa2) calc(100% - 10rem), var(--opa1) calc(100% - 10rem), var(--opa1)), - linear-gradient(to bottom, var(--opa2) 10rem, var(--opa2) 10rem, var(--opa3) 10rem, var(--opa3) calc(100% - 10rem), var(--opa2) calc(100% - 10rem), var(--opa2)) ; - -webkit-mask-composite: xor; + border-style: solid; + + -webkit-border-image: linear-gradient(to right, var(--color-accent) 10rem, rgba(0, 0, 0, 0) 10rem, rgba(0, 0, 0, 0) calc(100% - 10rem), var(--color-accent) calc(100% - 10rem)) 1 / 1rem; + -webkit-mask-image: linear-gradient(to bottom, white 10rem, rgba(0, 0, 0, 0) 10rem, rgba(0, 0, 0, 0) calc(100% - 10rem), white calc(100% - 10rem)); + + border-image: linear-gradient(to right, var(--color-accent) 10rem, rgba(0, 0, 0, 0) 10rem, rgba(0, 0, 0, 0) calc(100% - 10rem), var(--color-accent) calc(100% - 10rem)) 1 / 1rem; + mask-image: linear-gradient(to bottom, white 10rem, rgba(0, 0, 0, 0) 10rem, rgba(0, 0, 0, 0) calc(100% - 10rem), white calc(100% - 10rem)); pointer-events: none; box-shadow: none!important; From e83b7ce99db9da3d97063adbd0b78188f51fb934 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 14:29:02 +0200 Subject: [PATCH 2142/2575] modal: firefox compact (ff doesn't support contain: style) --- src/client/widgets/containers/modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index a17597bc..7bcb101d 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -180,12 +180,12 @@ class Modal extends Panel { // stacking parent.container.style.zIndex = this.value ? 'initial' : '' - parent.container.style.contain = this.value ? 'style size' : '' + parent.container.style.contain = this.value ? 'size' : '' parent = parent.parent } - this.container.style.contain = this.value ? 'style size' : '' + this.container.style.contain = this.value ? 'size' : '' } From 94fd7f2011abc4ccf23fc5652666883680702bba Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 14:41:23 +0200 Subject: [PATCH 2143/2575] slider: use standard wheel event (& firefox compatible) --- src/client/ui/zoom.js | 2 +- src/client/widgets/sliders/slider.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/ui/zoom.js b/src/client/ui/zoom.js index 7bf18a4c..8ed8e9f0 100644 --- a/src/client/ui/zoom.js +++ b/src/client/ui/zoom.js @@ -2,7 +2,7 @@ var mod = (navigator.platform || '').match('Mac') ? 'metaKey' : 'ctrlKey' -document.addEventListener('mousewheel', function(event) { +document.addEventListener('wheel', function(event) { if (event.ctrlKey) event.preventDefault() if (event[mod]) { diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index e7d83791..6cbac1ae 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -64,7 +64,7 @@ class Slider extends Canvas { } - this.widget.addEventListener('mousewheel',this.mousewheelHandleProxy.bind(this)) + this.widget.addEventListener('wheel',this.mousewheelHandleProxy.bind(this)) touchstate(this, {element: this.widget, multitouch: options.multitouch}) @@ -104,13 +104,13 @@ class Slider extends Canvas { mousewheelHandle(e) { - if (e.wheelDeltaX) return + if (e.deltaX) return e.preventDefault() e.stopPropagation() - var direction = e.wheelDelta / Math.abs(e.wheelDelta), - increment = e.ctrlKey?0.25:1 + var direction = e.deltaY > 0 ? -1 : 1, + increment = e.ctrlKey ? 0.25 : 1 if (this.getProp('steps')) { var i = this.steps.indexOf(this.value) From 6ff9cfbd1cd52e39e5bad0294cf7438b156c9a4b Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 14:45:22 +0200 Subject: [PATCH 2144/2575] inspector: firefox: show textaread scrollbar when content is multiline --- src/scss/ui/inspector.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 343ae02c..5d3926c2 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -39,7 +39,7 @@ osc-inspector-field { cursor: text; user-select: initial; - + --scrollbar-size: 6rem; // Chromium scrollbar @@ -48,7 +48,10 @@ osc-inspector-field { } // Firefox scrollbar (hidden to preserve height) - scrollbar-width: none; + scrollbar-width: thin; + &[rows="1"] { + scrollbar-width: none; + } } From 273cb92c26e4ab31740971ea7ad13e0295bbfe41 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 14:51:42 +0200 Subject: [PATCH 2145/2575] docs: firefox support --- CHANGELOG.md | 1 + resources/docs/docs/getting-started/introduction.md | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a16c92a3..54ebdae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - compatibility - dropped support for iOS 9 + - firefox (75+) support - UI - overhaul design reworked diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index 6c9dc442..8cf22a1a 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -18,7 +18,12 @@ The **client** is the web application made available by the server when it start The **server** can run on all [platforms supported by Electron](https://www.electronjs.org/docs/tutorial/support#supported-platforms). Systems that can run [Node.js](https://nodejs.org/en/) may also be able to run it in headless mode (see [Running with Node](./running-with-node.md)). -The **client** requires Chromium/Chrome `60` or later to work (Linux, MacOS, Windows, Android, etc). iOS devices must be of version `10.3` or higher. +The **client** is compatible with the following browsers: + +- Firefox: version `75` +- Chromium / Chrome: version `60` + +iOS devices must be of version `10.3` or higher. ## Installation From 8c8111f9561c3ff5b47d3b7a778441ddfa75d4d6 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 14:52:26 +0200 Subject: [PATCH 2146/2575] docs: widgets ref update --- .../docs/docs/widgets/properties-reference.md | 32 +++++++------------ 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index cf654c13..75228ad9 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -14,7 +14,6 @@ | --- | --- | --- | --- | |
        type#
        | `string` | "auto" | | |
        id#
        | `string` | "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. | - |
        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` | |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | @@ -34,6 +33,7 @@ | property | type |default | description | | --- | --- | --- | --- | + |
        colorBg#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | |
        colorText#
        | `string` | "auto" | Text color. Set to "auto" to inherit from parent widget. | |
        colorWidget#
        | `string` | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. | |
        colorStroke#
        | `string` | "auto" | Stroke color. Set to "auto" to use `colorWidget`. | @@ -42,7 +42,7 @@ |
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | |
        padding#
        | `number` | "auto" | Inner spacing. | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | === "value" @@ -75,12 +75,13 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | === "button" | property | type |default | description | | --- | --- | --- | --- | + |
        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` | |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | @@ -94,7 +95,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | === "switch" @@ -164,7 +165,6 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | |
        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` or `auto` to limit affected widgets by the type of the first touched widget | @@ -204,6 +204,7 @@ | property | type |default | description | | --- | --- | --- | --- | + | | `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` | | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | @@ -216,7 +217,6 @@ | | `number`|
        `percentage` | "80%" | Modal popup's size | | | `number`|
        `percentage` | "auto" | Modal popup's position | | | `number`|
        `percentage` | "auto" | Modal popup's position | - | | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | | | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | @@ -266,7 +266,6 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | |
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | @@ -315,7 +314,6 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | |
        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` or `auto` to limit affected widgets by the type of the first touched widget | @@ -355,7 +353,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        colorPanel#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        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` | |
        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` or `auto` to limit affected widgets by the type of the first touched widget | @@ -392,12 +390,6 @@ ??? api "
        frame#
        " Embed a page in a frame (local network only). - === "widget" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        label#
        | `string`|
        `boolean` | "auto" | Set to `false` to hide completely

        Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc

        If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected | - === "value" | property | type |default | description | @@ -596,7 +588,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | === "fader" @@ -605,7 +597,7 @@ |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | |
        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` | false | Set to `true` to display a dashed gauge | + |
        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]` | |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | |
        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 | |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | @@ -629,7 +621,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | === "knob" @@ -680,7 +672,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--color-background`: `colorPanel`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | === "fader" @@ -689,7 +681,7 @@ |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | |
        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` | false | Set to `true` to display a dashed gauge | + |
        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]` | |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | |
        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 | |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | From 3919bad8bf1fd3b2d36901218dde71efca41dc97 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 14:56:15 +0200 Subject: [PATCH 2147/2575] package: alpha 11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 11aa4158..7c781568 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.0.0-alpha10", + "version": "1.0.0-alpha11", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From dde3a732f7e67200b71d70a28ca2863825199d12 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 24 Apr 2020 18:02:09 +0200 Subject: [PATCH 2148/2575] ui: context menu tweaks --- src/launcher/toolbar.js | 2 +- src/scss/ui/contextmenu.scss | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/launcher/toolbar.js b/src/launcher/toolbar.js index 7f07b45c..2c8ca12a 100644 --- a/src/launcher/toolbar.js +++ b/src/launcher/toolbar.js @@ -112,7 +112,7 @@ class Toolbar { start.visible = !serverStarted stop.visible = !!serverStarted newWindow.visible = !!serverStarted - menu.popup({window: remote.getCurrentWindow(), x: parseInt(PXSCALE), y: parseInt(40 * PXSCALE)}) + menu.popup({window: remote.getCurrentWindow(), x: parseInt(PXSCALE), y: parseInt(39 * PXSCALE)}) }) menu.on('menu-will-close', ()=>{ diff --git a/src/scss/ui/contextmenu.scss b/src/scss/ui/contextmenu.scss index 21054541..b4c4e3f4 100644 --- a/src/scss/ui/contextmenu.scss +++ b/src/scss/ui/contextmenu.scss @@ -16,11 +16,13 @@ $line-height: 30rem; line-height: $line-height; font-family: $font-menu; letter-spacing: normal; + padding-top: 3rem; + padding-bottom: 3rem; .context-menu { position: absolute; left:100%; - top:0; + top:-3rem; opacity:0; pointer-events: none; margin-left: -1rem; @@ -106,7 +108,7 @@ $line-height: 30rem; .separator{ margin: 2rem 1rem; height: 1rem; - background-color: var(--color-text); - opacity: 0.1; + background-color: var(--color-context-menu-text); + opacity: 0.15; } } From 567d4e7619ffe9413894cbd6b4300cd1d75ab879 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 00:13:22 +0200 Subject: [PATCH 2149/2575] package: move electron license to LICENSE.electron and put o-s-c gpl in LICENSE (#615) --- scripts/package.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/package.js b/scripts/package.js index e7690323..64d68a8a 100644 --- a/scripts/package.js +++ b/scripts/package.js @@ -1,7 +1,9 @@ const packager = require('electron-packager'), path = require('path'), appData = require('../app/package.json'), - safeFFMPEG = require('electron-packager-plugin-non-proprietary-codecs-ffmpeg').default + safeFFMPEG = require('electron-packager-plugin-non-proprietary-codecs-ffmpeg').default, + licensePath = path.resolve(__dirname + '/../LICENSE'), + fs = require('fs') var rpi = process.argv.includes('--old-rpi'), all = process.argv.includes('--all') @@ -19,7 +21,13 @@ packager({ ignore: /node_modules\/(serialport|uws)/, afterExtract: [safeFFMPEG], prune: false -}).then(()=>{ +}).then((appPaths)=>{ + + for (var appPath of appPaths) { + var electronLicensePath = path.join(appPath, 'LICENSE') + fs.copyFileSync(electronLicensePath, electronLicensePath + '.electron') + fs.copyFileSync(licensePath, electronLicensePath) + } console.warn('\x1b[36m%s\x1b[0m', '=> Build artifacts created in ' + path.resolve(__dirname + '/../dist')) From b15704ed68b02153f657bbe254d85cd821a5c1ab Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 13:15:39 +0200 Subject: [PATCH 2150/2575] options: make sure nonLauncher options are kept in store and not save in config files --- src/launcher/settings.js | 2 +- src/server/settings.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/launcher/settings.js b/src/launcher/settings.js index 83cac9f8..61a386b7 100644 --- a/src/launcher/settings.js +++ b/src/launcher/settings.js @@ -81,7 +81,7 @@ class Settings { write(tmp) { for (var i in this.options) { - if (this.options[i] === '') { + if (this.options[i] === '' || !this.names.includes(i)) { delete this.options[i] } } diff --git a/src/server/settings.js b/src/server/settings.js index 460b7a5f..99a67cbe 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -124,6 +124,9 @@ if (configPathExists) { } } else { for (let k in config) { + if (k === 'options') { + Object.assign(config.options, settings.options) + } settings[k] = config[k] } } From 55e0b3a324948794bc1b8b54d7081e9052dc6c98 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 13:35:55 +0200 Subject: [PATCH 2151/2575] options: use existsSync to check files --- src/server/options.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/options.js b/src/server/options.js index 34980ffd..11a58782 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -9,17 +9,17 @@ module.exports = { }, 'l': {alias: 'load', type: 'string', file: {name: 'OSC Session (.json)', extensions: ['json', 'js']}, describe: 'session file to load', check: (arg)=>{ - return fs.lstatSync(arg) ? true : 'Session file not found: ' + arg + return fs.existsSync(arg) ? true : 'Session file not found: ' + arg } }, 'state': {type: 'string', file: {name: 'OSC State (.state)', extensions: ['state']}, describe: 'state file to load', check: (arg)=>{ - return fs.lstatSync(arg) ? true : 'State file not found: ' + arg + return fs.existsSync(arg) ? true : 'State file not found: ' + arg } }, 'c': {alias: 'custom-module', type: 'array', file: {name: 'OSC Custom module (.js)', extensions: ['js']}, describe: 'custom module file to load (custom options can be passed after the filename)', check: (arg)=>{ - return fs.lstatSync(arg[0]) ? true : 'Custom module file not found: ' + arg + return fs.existsSync(arg[0]) ? true : 'Custom module file not found: ' + arg }, }, 'p': {alias: 'port', type: 'number', describe: 'http port of the server (default to 8080)', From bb751cb4cc6c724a864a4a0440270c6d74629f2c Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 13:36:34 +0200 Subject: [PATCH 2152/2575] server: add docs-server, --docs cli option & Docs action in launcher menu --- package.json | 1 + src/launcher/toolbar.js | 7 ++++ src/server/address.js | 9 ++++ src/server/docs-server.js | 88 +++++++++++++++++++++++++++++++++++++++ src/server/index.js | 20 ++++++++- src/server/options.js | 3 +- src/server/server.js | 3 +- src/server/settings.js | 14 ++----- 8 files changed, 129 insertions(+), 16 deletions(-) create mode 100644 src/server/address.js create mode 100644 src/server/docs-server.js diff --git a/package.json b/package.json index 7c781568..171eadae 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "node-sass": "4.13.1", "nodemon": "2.0.2", "nosleep.js": "0.9.0", + "open": "^7.0.3", "osc": "2.4.0", "python-shell": "1.0.8", "replacestream": "^4.0.3", diff --git a/src/launcher/toolbar.js b/src/launcher/toolbar.js index 2c8ca12a..2e7fd2d0 100644 --- a/src/launcher/toolbar.js +++ b/src/launcher/toolbar.js @@ -4,6 +4,7 @@ var {remote, ipcRenderer} = eval('require(\'electron\')'), terminal = require('./terminal'), settings = require('./settings'), midilist = remote.getGlobal('midilist'), + openDocs = remote.getGlobal('openDocs'), serverStarted = false, serverStart = ()=>{ if (serverStarted) return @@ -96,6 +97,12 @@ menu.append(new MenuItem({ // app.exit(0) // } // })) +menu.append(new MenuItem({ + label: 'Documentation', + click: ()=>{ + openDocs() + } +})) menu.append(new MenuItem({ role: 'Quit' })) diff --git a/src/server/address.js b/src/server/address.js new file mode 100644 index 00000000..c8580aad --- /dev/null +++ b/src/server/address.js @@ -0,0 +1,9 @@ +var ifaces = require('os').networkInterfaces(), + address = Object.values(ifaces) + .reduce((a,b)=>a.concat(b), []) + .filter(i=>i.family === 'IPv4') + .map(i=>'http://' + i.address + ':') + +module.exports = (port)=>{ + return address.map(x=>x + port) +} diff --git a/src/server/docs-server.js b/src/server/docs-server.js new file mode 100644 index 00000000..3ca235b6 --- /dev/null +++ b/src/server/docs-server.js @@ -0,0 +1,88 @@ +var EventEmitter = require('events').EventEmitter, + http = require('http'), + send = require('send'), + path = require('path'), + fs = require('fs'), + open = require('open'), + address = require('./address') + +class DocsServer extends EventEmitter { + + constructor() { + + super(...arguments) + + + this.baseUrl = path.resolve(__dirname + '/../../resources/site') + this.home = '/docs/getting-started/introduction/' + this.server = null + this.started = false + this.port = 0 + + this.available = true + if (!fs.existsSync(this.baseUrl)) { + console.error(`(ERROR, DOCS) Documentation assets not found in the app\'s directory.`) + this.available = false + } + + + + } + + start() { + + if (this.started || !this.available) return + + this.server = http.createServer(this.route.bind(this)) + this.server.on('error', (e)=>{ + console.error(`(ERROR, DOCS) ${e.message}`) + }) + this.server.listen(0).on('listening', ()=>{ + this.port = this.server.address().port + console.log('(INFO) Documentation server started, docs available at \n ' + address(this.port).join('\n ')) + this.emit('ready') + + }) + this.started = true + + } + + open() { + + if (!this.started || !this.port) { + this.start() + this.on('ready', ()=>{ + open(address(this.port)[0] + this.home) + console.log('(INFO) Opening documentation with default browser...') + }) + } else { + open(address(this.port)[0] + this.home) + console.log('(INFO) Opening documentation with default browser...') + } + + } + + route(req, res) { + + var url = req.url.replace(this.baseUrl, '').split('?')[0] + + if (url[url.length-1] === '/') url += 'index.html' + + var fpath = path.join(this.baseUrl, url) + + if (!fs.existsSync(fpath)) { + if (url.indexOf('index.html') !== -1) { + return send(req, path.join(this.baseUrl, '/404.html')).pipe(res) + } else { + res.writeHead(403) + res.end() + } + } else { + return send(req, fpath).pipe(res) + } + + } + +} + +module.exports = DocsServer diff --git a/src/server/index.js b/src/server/index.js index 3632a6b4..86f27f21 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -1,9 +1,23 @@ require('source-map-support').install({handleUncaughtExceptions: false}) var dev = process.argv[0].includes('node_modules'), - settings = require('./settings') + settings = require('./settings'), + docsServer, serverStarted + + +function openDocs() { + + if (!docsServer) { + var DocsServer = require('./docs-server') + docsServer = new DocsServer() + } + + docsServer.open() + +} + +if (settings.read('docs')) return openDocs() -var serverStarted function nodeMode() { @@ -106,7 +120,9 @@ if (settings.cli) { }) app.on('ready',function(){ + var doscServer global.settings = settings + global.openDocs = openDocs global.midilist = require('./midi').list global.serverProcess = null global.clientWindows = [] diff --git a/src/server/options.js b/src/server/options.js index 11a58782..d4e159e0 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -86,5 +86,6 @@ module.exports = { 'disable-gpu': {type: 'boolean', describe: 'disable hardware acceleration', launcher: false}, 'inspect': {type: 'boolean', describe: 'enable node/electron inspector', launcher: false}, 'cache-dir': {type: 'string', describe: 'override default cache directory', launcher: false}, - 'config-file': {type: 'string', describe: 'override default config file (defaults to cache-dir/config.json)', launcher: false} + 'config-file': {type: 'string', describe: 'override default config file (defaults to cache-dir/config.json)', launcher: false}, + 'docs': {type: 'boolean', describe: 'serve documentation website locally and open it with the system\'s default browser', launcher: false} } diff --git a/src/server/server.js b/src/server/server.js index 8277626c..c9fac068 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -10,7 +10,6 @@ var urlparser = require('url'), settings = require('./settings'), theme = require('./theme').init(), zeroconf = require('./zeroconf'), - appAddresses = settings.appAddresses(), osc = {}, clients = {}, httpCheckTimeout @@ -112,7 +111,7 @@ function httpCheck(ok){ clearTimeout(httpCheckTimeout) httpCheckTimeout = null if (ok) { - console.log('(INFO) Server started, app available at \n ' + appAddresses.join('\n ')) + console.log('(INFO) Server started, app available at \n ' + settings.appAddresses().join('\n ')) } else { console.error('(ERROR, HTTP) Could not setup http server, maybe try a different port ?') } diff --git a/src/server/settings.js b/src/server/settings.js index 99a67cbe..20124673 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -1,15 +1,9 @@ var path = require('path'), fs = require('fs'), - ifaces = require('os').networkInterfaces(), yargs = require('yargs'), infos = require('../package.json'), - options = require('./options') - -var appAddresses = Object.values(ifaces) - .reduce((a,b)=>a.concat(b), []) - .filter(i=>i.family === 'IPv4') - .map(i=>'http://' + i.address + ':') - + options = require('./options'), + address = require('./address') // This prevents argv parsing to be breaked when the app is packaged (executed without 'electron' prefix) var firstArgIndex = path.basename(process.argv[0]).match(/electron|node/) ? 2 : 1 @@ -162,7 +156,5 @@ module.exports = { cli: cli, configPath: baseDir, infos: infos, - appAddresses: ()=>{ - return appAddresses.map(x=>x + (settings.options.port || 8080)) - } + appAddresses: ()=>address(settings.options.port || 8080) } From b54baaeefc5260da893ba3ef4ef1b74d8b4ce093 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 16:02:06 +0200 Subject: [PATCH 2153/2575] docs: remove github stars counter and bypass xhr request, do some clean --- .gitignore | 2 ++ package.json | 2 +- resources/.gitignore | 2 -- resources/README.md | 6 +++--- .../getting-started/running-from-sources.md | 11 +++++++++++ .../getting-started/server-configuration.md | 4 ++++ resources/docs/extra/styles.css | 4 ++++ resources/docs/img/icon-bolt.svg | 1 - resources/images/icons-bolt.svg | 17 ----------------- resources/mkdocs.yml | 1 + resources/overrides/main.html | 4 ++++ resources/package.json | 14 -------------- resources/scripts/build-css.js | 12 ------------ resources/site/.htaccess | 1 - scripts/package.js | 2 +- src/server/docs-server.js | 14 ++++++++------ 16 files changed, 39 insertions(+), 58 deletions(-) delete mode 100644 resources/.gitignore delete mode 120000 resources/docs/img/icon-bolt.svg delete mode 100644 resources/images/icons-bolt.svg delete mode 100644 resources/package.json delete mode 100644 resources/scripts/build-css.js delete mode 100644 resources/site/.htaccess diff --git a/.gitignore b/.gitignore index ba2bfb2e..e21d4524 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ app/assets/*.png app/client/*.js* app/launcher/*.js* app/server/* +app/docs/* +!app/docs/.htaccess !app/server/.keep app/package.json package-lock.json diff --git a/package.json b/package.json index 171eadae..7f24aea0 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "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-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && npm run build", + "build-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && mkdocs build", "test": "eslint src && npm run build && node tests/test.js" }, "engines": { diff --git a/resources/.gitignore b/resources/.gitignore deleted file mode 100644 index b86de750..00000000 --- a/resources/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -site/* -!site/.htaccess diff --git a/resources/README.md b/resources/README.md index c7520065..ebcd94c9 100644 --- a/resources/README.md +++ b/resources/README.md @@ -1,9 +1,9 @@ # How to build the docs ```bash -$ sudo apt-get install python python-pip # python package manager -$ sudo pip install mkdocs # docs site builder -$ sudo pip install mkdocs-material # theme +# https://squidfunk.github.io/mkdocs-material/getting-started/ +$ python3 -m pip install mkdocs-material + $ mkdocs serve # make docs available on http://127.0.0.1:8000 # or diff --git a/resources/docs/docs/getting-started/running-from-sources.md b/resources/docs/docs/getting-started/running-from-sources.md index b02fb25d..8071bd0d 100644 --- a/resources/docs/docs/getting-started/running-from-sources.md +++ b/resources/docs/docs/getting-started/running-from-sources.md @@ -37,6 +37,17 @@ npm start [ -- options] !!! info "" A double hyphen (`--`) is used here to tell npm that the options are to be passed to the app. +## Build documentation + +In order to make the local documentation available through the server's `--docs` option and the launcher's `Documentation` menu action, an extra step is needed. + + +```bash +# install docs website theme +python3 -m pip install mkdocs-material +# build docs website +npm run build-docs +``` ## Package from sources diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index c3f5f402..dc12cb9b 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -138,6 +138,10 @@ The **server** can be configured with many options, either from a terminal or wi Show help. + === "docs" + + Serve documentation website locally and open it with the system\'s default browser + === "version" diff --git a/resources/docs/extra/styles.css b/resources/docs/extra/styles.css index 4ee3e76a..aa202eb7 100644 --- a/resources/docs/extra/styles.css +++ b/resources/docs/extra/styles.css @@ -16,6 +16,10 @@ html { padding-left: 0!important } +.md-source__facts { + display: none; +} + td:first-child { white-space: pre!important; vertical-align: top; diff --git a/resources/docs/img/icon-bolt.svg b/resources/docs/img/icon-bolt.svg deleted file mode 120000 index c275e354..00000000 --- a/resources/docs/img/icon-bolt.svg +++ /dev/null @@ -1 +0,0 @@ -../../images/icons-bolt.svg \ No newline at end of file diff --git a/resources/images/icons-bolt.svg b/resources/images/icons-bolt.svg deleted file mode 100644 index 68c34346..00000000 --- a/resources/images/icons-bolt.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index d6ead9ef..1c466b4b 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -4,6 +4,7 @@ repo_url: https://github.com/jean-emmanuel/open-stage-control edit_uri: tree/master/resources/docs/ copyright: "Copyleft © Jean-Emmanuel Doucet @ AMMD (GNU/GPLv3)" site_description: "Libre and modular OSC / MIDI controller" +site_dir: '../app/docs/' theme: name: 'material' diff --git a/resources/overrides/main.html b/resources/overrides/main.html index 52168ac5..ddd35433 100644 --- a/resources/overrides/main.html +++ b/resources/overrides/main.html @@ -5,4 +5,8 @@ + {% endblock %} diff --git a/resources/package.json b/resources/package.json deleted file mode 100644 index e91675e4..00000000 --- a/resources/package.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "open-stage-control-docs", - "version": "1.0.0", - "description": "```bash $ sudo apt-get install python python-pip # python package manager $ sudo pip install mkdocs # docs site builder $ sudo pip install mkdocs-material # theme", - "main": "index.js", - "directories": { - "doc": "docs" - }, - "scripts": { - "build": "mkdocs build" - }, - "author": "Jean-Emmanuel Doucet", - "license": "GPLv3" -} diff --git a/resources/scripts/build-css.js b/resources/scripts/build-css.js deleted file mode 100644 index 1abe0a5f..00000000 --- a/resources/scripts/build-css.js +++ /dev/null @@ -1,12 +0,0 @@ -var sass = require('node-sass'), - path = require('path'), - fs = require('fs') - -var result = sass.renderSync({ - file: path.resolve(__dirname + '/../src/scss/styles.scss'), - outFile: path.resolve(__dirname + '/../theme/styles.css'), - outputStyle: 'compressed', - sourceMap: false -}) - -fs.writeFileSync(path.resolve(__dirname + '/../theme/styles.css'), result.css) diff --git a/resources/site/.htaccess b/resources/site/.htaccess deleted file mode 100644 index de377bfe..00000000 --- a/resources/site/.htaccess +++ /dev/null @@ -1 +0,0 @@ -ErrorDocument 404 /404.html diff --git a/scripts/package.js b/scripts/package.js index 64d68a8a..6fceea4c 100644 --- a/scripts/package.js +++ b/scripts/package.js @@ -18,7 +18,7 @@ packager({ overwrite: true, out: path.resolve(__dirname + '/../dist'), icon: path.resolve(__dirname + '/../resources/images/logo'), - ignore: /node_modules\/(serialport|uws)/, + ignore: /(node_modules\/(serialport|uws)|docs\/fonts)/, afterExtract: [safeFFMPEG], prune: false }).then((appPaths)=>{ diff --git a/src/server/docs-server.js b/src/server/docs-server.js index 3ca235b6..66b75236 100644 --- a/src/server/docs-server.js +++ b/src/server/docs-server.js @@ -12,15 +12,14 @@ class DocsServer extends EventEmitter { super(...arguments) - - this.baseUrl = path.resolve(__dirname + '/../../resources/site') + this.baseUrl = path.resolve(__dirname + '/../docs') this.home = '/docs/getting-started/introduction/' this.server = null this.started = false this.port = 0 this.available = true - if (!fs.existsSync(this.baseUrl)) { + if (!fs.existsSync(path.join(this.baseUrl, 'index.html'))) { console.error(`(ERROR, DOCS) Documentation assets not found in the app\'s directory.`) this.available = false } @@ -68,9 +67,12 @@ class DocsServer extends EventEmitter { if (url[url.length-1] === '/') url += 'index.html' - var fpath = path.join(this.baseUrl, url) + if (url.indexOf('/fonts') === 0) url = '../assets' + url - if (!fs.existsSync(fpath)) { + url = path.join(this.baseUrl, url) + + + if (!fs.existsSync(url)) { if (url.indexOf('index.html') !== -1) { return send(req, path.join(this.baseUrl, '/404.html')).pipe(res) } else { @@ -78,7 +80,7 @@ class DocsServer extends EventEmitter { res.end() } } else { - return send(req, fpath).pipe(res) + return send(req, url).pipe(res) } } From ac106550a2a152a5378dd3e20f1ef31dc53db152 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 19:41:35 +0200 Subject: [PATCH 2154/2575] packge: alpha 12 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7f24aea0..4595cf64 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.0.0-alpha11", + "version": "1.0.0-alpha12", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 8c4f9a1de6f063d5838c37a6660039815f9c177a Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 19:45:37 +0200 Subject: [PATCH 2155/2575] package: build docs in ci --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cd090fc2..13be8264 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ node_js: before_install: - sudo dpkg --add-architecture i386 - sudo apt-get update -qq - - sudo apt-get install -qq wine fakeroot xvfb + - sudo apt-get install -qq wine fakeroot xvfb python3-pip + - python3 -m pip install mkdocs-material install: npm install before_deploy: deploy: @@ -20,6 +21,7 @@ deploy: tags: true before_deploy: - export VERSION=$(sed -nE 's/^\s*"version":\ "(.*?)",$/\1/p' package.json) + - npm run build-docs - npm run package -- --all - npm run package-node - npm run deb32 From e2da661c1515caec54c0a025c73b4a21c4542721 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 19:46:47 +0200 Subject: [PATCH 2156/2575] server: lint --- src/server/docs-server.js | 2 +- src/server/index.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/docs-server.js b/src/server/docs-server.js index 66b75236..002e3292 100644 --- a/src/server/docs-server.js +++ b/src/server/docs-server.js @@ -20,7 +20,7 @@ class DocsServer extends EventEmitter { this.available = true if (!fs.existsSync(path.join(this.baseUrl, 'index.html'))) { - console.error(`(ERROR, DOCS) Documentation assets not found in the app\'s directory.`) + console.error('(ERROR, DOCS) Documentation assets not found in the app\'s directory.') this.available = false } diff --git a/src/server/index.js b/src/server/index.js index 86f27f21..ee40ebdc 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -120,7 +120,6 @@ if (settings.cli) { }) app.on('ready',function(){ - var doscServer global.settings = settings global.openDocs = openDocs global.midilist = require('./midi').list From 2495fd3b04b1615752531d169ce5908b992cdc24 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 19:52:04 +0200 Subject: [PATCH 2157/2575] package: ci pip install --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 13be8264..7f80cbf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ before_install: - sudo dpkg --add-architecture i386 - sudo apt-get update -qq - sudo apt-get install -qq wine fakeroot xvfb python3-pip - - python3 -m pip install mkdocs-material + - sudo python3 -m pip install mkdocs-material install: npm install before_deploy: deploy: From 60ee1a95c28ccfa608b7e0c9a70f3c5f54c55931 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 19:58:16 +0200 Subject: [PATCH 2158/2575] package: ci fix ? --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7f80cbf1..f78979a1 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-pip + - sudo apt-get install -qq wine fakeroot xvfb python3.8 python3-pip - sudo python3 -m pip install mkdocs-material install: npm install before_deploy: From 6a4d204dada1deb701c5498089d0a354ae246f0c Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 20:03:41 +0200 Subject: [PATCH 2159/2575] package: update ci dist --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f78979a1..f427d8a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ anHsudo: required -dist: trusty +dist: bionic language: node_js node_js: - "9" From 4836b17871190c9551276aeaf258e2494716e0bf Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 20:08:30 +0200 Subject: [PATCH 2160/2575] package: here we go --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f427d8a8..9b1663f5 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.8 python3-pip + - sudo apt-get install -qq wine-stable fakeroot xvfb python3.8 python3-pip - sudo python3 -m pip install mkdocs-material install: npm install before_deploy: From 27330be98c93bd6370f4ed38f0f59111380eb115 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 20:11:58 +0200 Subject: [PATCH 2161/2575] package: mb ok --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9b1663f5..56582183 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-stable fakeroot xvfb python3.8 python3-pip + - sudo apt-get install -qq wine-stable fakeroot xvfb python3.8 python3-pip python3-setuptools - sudo python3 -m pip install mkdocs-material install: npm install before_deploy: From 77c564cd2ae907108057ac49783219f36e7b3333 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 25 Apr 2020 21:19:18 +0200 Subject: [PATCH 2162/2575] button: rm unneeded line-height declaration (#616) --- src/scss/widgets/basics.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 315e757f..ec10094c 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -38,7 +38,6 @@ justify-content: center; align-items: center; white-space: pre; - line-height: 100%; overflow: hidden; text-align: center; word-wrap: break-word; From 4fe55e77d5067c5e5634fbef1c9d44eaf4ad149b Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Apr 2020 10:01:47 +0200 Subject: [PATCH 2163/2575] session: ensure 1/ root is singleton 2/ root has widgetManager as parent --- src/client/managers/session/index.js | 3 ++- src/client/widgets/common/widget.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/managers/session/index.js b/src/client/managers/session/index.js index 7cf062d0..75f504a6 100644 --- a/src/client/managers/session/index.js +++ b/src/client/managers/session/index.js @@ -44,7 +44,8 @@ var SessionManager = class SessionManager { parser.reset() parser.parse({ data: this.session.getRoot(), - parentNode: DOM.get('#osc-container')[0] + parentNode: DOM.get('#osc-container')[0], + parent: widgetManager }) editor.clearHistory() DOM.get(document, '#osc-greeting-header')[0].classList.add('hidden') diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 796da493..0b060835 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -168,7 +168,7 @@ class Widget extends EventEmitter { this.widget = options.html this.props = options.props this.errors = {} - this.parent = options.root ? widgetManager : options.parent + this.parent = options.parent this.parentNode = options.parentNode this.hash = options.hash || nanoid('abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ', 10) this.children = [] @@ -182,7 +182,7 @@ class Widget extends EventEmitter { this.createPropsCache() - if (this.getProp('id') == 'root' && !options.root) { + if (this.getProp('id') == 'root' && this.parent !== widgetManager) { this.cachedProps.id = '_root' this.errors.id = 'There can only be one root' } From 558bbb985a0331388d16edc924ef2d5c175d35f4 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Apr 2020 10:07:26 +0200 Subject: [PATCH 2164/2575] root: more strict singleton fix --- 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 0b060835..fc1fff1b 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -183,10 +183,17 @@ class Widget extends EventEmitter { this.createPropsCache() if (this.getProp('id') == 'root' && this.parent !== widgetManager) { + this.props.id = '_root' this.cachedProps.id = '_root' - this.errors.id = 'There can only be one root' } + if (this.getProp('type') == 'root' && this.parent !== widgetManager) { + this.props.type = 'panel' + this.cachedProps.type = 'panel' + } + + + // cache decimals if (this.props.decimals !== undefined) { this.decimals = Math.min(20, Math.max(this.getProp('decimals'), 0)) From 67f37c94c6f7645ce850005b1bb136d3f5b1853a Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Apr 2020 10:58:16 +0200 Subject: [PATCH 2165/2575] editor: check selection sibling against 1st selected widget only --- src/client/editor/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 6bbb68b1..8153b295 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -402,9 +402,7 @@ class Editor { while (!sameLevel && widget.parent !== widgetManager) { let test = true - for (var w of this.selectedWidgets) { - if (w.parent !== widget.parent) test = false - } + if (this.selectedWidgets[0].parent !== widget.parent) test = false sameLevel = test if (!sameLevel) widget = widget.parent } From 0bc29ff8591ca0ef2bc224031702645924c057f0 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Apr 2020 10:58:45 +0200 Subject: [PATCH 2166/2575] editor: speed up lasso selection --- src/client/editor/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 8153b295..504d6b93 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -159,7 +159,7 @@ class Editor { elements = elements.map(e => widgetManager.getWidgetByElement(e, ':not(.not-editable)')).filter(e => e) for (var i in elements) { - this.select(elements[i], {multi:true, fromLasso:true}) + this.select(elements[i], {multi:true, fromLasso:true, lassoEnd: i == elements.length - 1}) } }) @@ -423,6 +423,8 @@ class Editor { } + if (options.fromLasso && !options.lassoEnd) return + this.unselect() if (this.selectedWidgets.length > 0) { From 6128b6d738d7944b6b4668b8b61d412fd09f48b8 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Apr 2020 20:09:22 +0200 Subject: [PATCH 2167/2575] drag: fix draginit target storing when traversing --- src/client/events/drag.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index a0d58c36..e6c50f17 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -16,10 +16,10 @@ function pointerDownHandler(event) { event = normalizeDragEvent(event) - targets[event.pointerId] = event.target - if (event.traversingStack) { + event.target = event.target.closest('.drag-event') + var widget = event.target.closest('.drag-event')._drag_widget, local = event.traversingStack.stack[event.traversingStack.stack.length - 1] @@ -33,6 +33,7 @@ function pointerDownHandler(event) { } + targets[event.pointerId] = event.target previousPointers[event.pointerId] = event triggerWidgetEvent(targets[event.pointerId], 'draginit', event) From 13fc7771e0043bd1a3a97eaf824c9e423b8cdb26 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Apr 2020 20:09:43 +0200 Subject: [PATCH 2168/2575] drag: fix touch traversing (#617) --- src/client/events/drag.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index e6c50f17..103b6564 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -162,16 +162,14 @@ function touchMultiWrapper(event) { } function touchDownCapture(event, multitouch) { - console.log('down') event.preventDefault() 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 + if (event.traversingStack) { + touchEvent.traversingStack = event.traversingStack } touchEvent.pointerId = touchEvent.identifier From 690483229d24590d3383c16af10999db7ad06e29 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 10:35:14 +0200 Subject: [PATCH 2169/2575] sliders: rendering issues on ios --- src/client/widgets/sliders/knob.js | 2 -- src/scss/widgets/sliders.scss | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 59f9c9ff..d80ca65c 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -161,8 +161,6 @@ module.exports = class Knob extends Slider { this.minDimension = Math.min(this.width, this.height) - this.widget.style.top = this.minDimension - (this.getProp('label') === false ? 0 : this.gaugeWidth / 4) + 'px' - } draw() { diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index 315e7043..ff761fa6 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -2,11 +2,10 @@ .knob-container, .encoder-container, .range-container { - canvas { image-rendering: pixelated; width: 100%; - height: 100%; + height: auto; } } From f13bffa1f24ad30809616a1e464817abac7c99d9 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 10:46:22 +0200 Subject: [PATCH 2170/2575] modal: cross browser modal breakout --- src/client/widgets/containers/modal.js | 10 ++++++++-- src/client/widgets/containers/panel.js | 2 ++ src/scss/widgets/containers.scss | 8 ++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 7bcb101d..14785512 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -180,12 +180,18 @@ class Modal extends Panel { // stacking parent.container.style.zIndex = this.value ? 'initial' : '' - parent.container.style.contain = this.value ? 'size' : '' + + parent.modalBreakout += (this.value ? 1 : -1) + if (parent.modalBreakout > 0) parent.container.classList.add('modal-breakout') + else if (parent.modalBreakout === 0) parent.container.classList.remove('modal-breakout') parent = parent.parent } - this.container.style.contain = this.value ? 'size' : '' + + this.modalBreakout += (this.value ? 1 : -1) + if (this.modalBreakout > 0) this.container.classList.add('modal-breakout') + else if (this.modalBreakout === 0) this.container.classList.remove('modal-breakout') } diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index a6a73095..a320b7ec 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -62,6 +62,8 @@ class Panel extends Container() { this.container.classList.toggle('no-scroll', !this.getProp('scroll')) this.container.classList.add('layout-' + this.getProp('layout')) + this.modalBreakout = 0 + var layout = this.getProp('layout') if (layout === 'grid') { diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 61e96d84..03550723 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -484,6 +484,14 @@ } +.modal-breakout { + contain: size!important; + @supports not (contain: strict) { + transform: none!important; // cancel new stacking context + } +} + + .matrix-container { From 0daf84a3270392f384760eb47cd4700a9974806d Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 14:17:39 +0200 Subject: [PATCH 2171/2575] modal: breakout clean --- src/client/widgets/containers/modal.js | 3 --- src/scss/widgets/containers.scss | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 14785512..76128a7e 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -178,9 +178,6 @@ class Modal extends Panel { while (parent && parent.props && !parent.getProp('type').match(/modal|tab|root/)) { - // stacking - parent.container.style.zIndex = this.value ? 'initial' : '' - parent.modalBreakout += (this.value ? 1 : -1) if (parent.modalBreakout > 0) parent.container.classList.add('modal-breakout') else if (parent.modalBreakout === 0) parent.container.classList.remove('modal-breakout') diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 03550723..92a62dea 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -485,6 +485,7 @@ } .modal-breakout { + z-index: initial!important; contain: size!important; @supports not (contain: strict) { transform: none!important; // cancel new stacking context From 3e3f1c6796788ca2ac62dc9f1f7b14c43eca2221 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 14:21:55 +0200 Subject: [PATCH 2172/2575] cli: fix --custom-module check for path including spaces (#619) --- src/server/options.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/server/options.js b/src/server/options.js index d4e159e0..fa6b99ec 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -19,7 +19,19 @@ module.exports = { }, 'c': {alias: 'custom-module', type: 'array', file: {name: 'OSC Custom module (.js)', extensions: ['js']}, describe: 'custom module file to load (custom options can be passed after the filename)', check: (arg)=>{ - return fs.existsSync(arg[0]) ? true : 'Custom module file not found: ' + arg + + var customModule = arg.slice() + + // consolidate path containing whitespaces + if (!customModule[0].includes('.js')) { + var index = customModule.findIndex(x => typeof x === 'string' && x.includes('.js')) + if (index !== undefined) { + var _path = customModule.slice(0, index + 1).join(' ') + customModule.splice(0, index + 1, _path) + } + } + + return fs.existsSync(customModule[0]) ? true : 'Custom module file not found: ' + customModule[0] }, }, 'p': {alias: 'port', type: 'number', describe: 'http port of the server (default to 8080)', From c21da8a2755ad3f154e3f11052794736265d35a0 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 15:33:04 +0200 Subject: [PATCH 2173/2575] package: alpha 13 & rm old dep --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 4595cf64..a517972a 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.0.0-alpha12", + "version": "1.0.0-alpha13", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" @@ -41,7 +41,6 @@ "exorcist": "1.0.1", "file-saver": "2.0.2", "gyronorm": "2.0.6", - "jquery": "3.4.1", "json5": "2.1.2", "jsondiffpatch": "0.4.1", "keyboardjs": "github:jean-emmanuel/KeyboardJS", From dd63994bf092daf6bb9d81d6a672771d6da12054 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 16:06:23 +0200 Subject: [PATCH 2174/2575] ui: disable session save/export if session is null --- src/client/ui/ui-toolbar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index 86aeaebe..6863ede9 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -42,13 +42,13 @@ var menuEntries = [ label: locales('file_save'), action: sessionManager.save.bind(sessionManager), shortcut: 'mod + s', - class: ()=>{return READ_ONLY ? 'disabled' :''} + class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} }, { label: locales('file_save_as'), action: sessionManager.saveAs.bind(sessionManager), shortcut: 'mod + shift + s', - class: ()=>{return READ_ONLY ? 'disabled' :''} + class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} }, { separator: true @@ -61,7 +61,7 @@ var menuEntries = [ { label: locales('file_export'), action: sessionManager.export.bind(sessionManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} + class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} }, ] From 4c6529cd8bca6f6bf52d50a8a45c737f27249a95 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 18:30:05 +0200 Subject: [PATCH 2175/2575] ios: disble overscroll fix on iOS 13, it's not needed and breaks scrolling (#618) --- src/client/ui/ios.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/client/ui/ios.js b/src/client/ui/ios.js index 94adc14e..fdfe7dbc 100644 --- a/src/client/ui/ios.js +++ b/src/client/ui/ios.js @@ -1,8 +1,11 @@ // Prevent iOS Pull-To-Refresh -var iOS +var iOS13 = navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1, + iOS = navigator.platform.match(/iPhone|iPod|iPad/) || iOS13 -if (navigator.platform.match(/iPhone|iPod|iPad/) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) { +if (iOS && !iOS13) { + // prevent overscroll + // breaks scrolling on iOS13 (besides it doesn't seem to be needed) var supportsPassiveOption = false try { From c6bd2ade0995bf8d14f042e9794eff7cf586e568 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 28 Apr 2020 20:22:43 +0200 Subject: [PATCH 2176/2575] panel: missing 1px of innerPadding --- src/scss/widgets/containers.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 92a62dea..cc400e2e 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -37,7 +37,7 @@ > inner { --widget-spacing: calc(var(--widget-padding) / 2); - margin: var(--widget-spacing); + margin: calc(var(--widget-spacing) + 1rem); } &.no-inner-padding > inner { @@ -197,6 +197,17 @@ right: 0; bottom: 0; } + + &.contains-widgets { + + > inner { + margin: calc(var(--widget-spacing)); + } + + &.no-inner-padding > inner { + margin: calc(var(--widget-spacing) * -1); + } + } } From 29d1f2a3ffa48b698a4aa10820b789fcd412b7f4 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 29 Apr 2020 23:30:12 +0200 Subject: [PATCH 2177/2575] containers: inner padding tweaks --- src/scss/widgets/containers.scss | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index cc400e2e..14d362f4 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -37,7 +37,7 @@ > inner { --widget-spacing: calc(var(--widget-padding) / 2); - margin: calc(var(--widget-spacing) + 1rem); + margin: var(--widget-spacing); } &.no-inner-padding > inner { @@ -168,6 +168,17 @@ } } + &.contains-widgets { + + > inner { + margin: calc(var(--widget-spacing) + 1rem); + } + + &.no-inner-padding > inner { + margin: calc(var(--widget-spacing) * -1); + } + } + } @@ -198,16 +209,6 @@ bottom: 0; } - &.contains-widgets { - - > inner { - margin: calc(var(--widget-spacing)); - } - - &.no-inner-padding > inner { - margin: calc(var(--widget-spacing) * -1); - } - } } From f0e016d15cba7daa279ce52fe03412f86c51f398 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 29 Apr 2020 23:30:24 +0200 Subject: [PATCH 2178/2575] modal: remove extra inner padding --- src/scss/widgets/containers.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 14d362f4..6f71afb0 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -469,6 +469,7 @@ height: var(--height, 100%); > .popup-content { // contain:unset; // == no restrain + padding: 0; &:before { content: none; } From fdfafe18fd06ad763782dd80543b01830f90e8d7 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 29 Apr 2020 23:51:21 +0200 Subject: [PATCH 2179/2575] modal: remove icon hint (can be added manually in label), fix displayed default padding in inspector --- src/scss/widgets/containers.scss | 60 ++++++++++---------------------- 1 file changed, 18 insertions(+), 42 deletions(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 6f71afb0..d9e7d682 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -366,12 +366,15 @@ .modal-container { + --widget-padding: 4rem; + --color-text-on: var(--color-background); > .toggle { --alpha-fill-off: 0; --alpha-fill-on: .75; --widget-padding: -1rem; + position: absolute; top:0; left:0; @@ -389,47 +392,27 @@ } > label { - - position: absolute; - top:0; - left:0; - right:0; - bottom:0; - - max-height: initial; - text-align: center; - pointer-events:none; display: flex; justify-content: center; align-items: center; - z-index: 1; - color: var(--color-text); - - - &:after { - content:"\f0da"; - font-family: FontAwesome; - transform: rotateZ(-45deg); - font-size: 20rem; - display: block; - width:8rem; - height:6rem; - right:2rem; - top:1rem; - line-height: 10rem; - text-align: center; - float:right; - position: absolute; - box-shadow: none; - background: none!important; - color: var(--color-stroke); - opacity: var(--alpha-stroke); - margin: var(--widget-spacing); - } - + white-space: pre; + overflow: hidden; + text-align: center; + word-wrap: break-word; + height: 100%; + width: 100%; + border: 2rem solid transparent; } &.on { + + > .toggle { + --alpha-fill:var(--alpha-fill-on); + } + > label { + color: var(--color-text-on); + } + contain: size; @supports not (contain: strict) { transform: none; // cancel new stacking context @@ -437,13 +420,6 @@ z-index: 9999999999999!important; overflow: visible; - > .toggle { - --alpha-fill:var(--alpha-fill-on); - } - > label, > label:after { - color: var(--color-background); - opacity: 1; - } } From 0cb6c27c4612cdcfe79fa903fd84881b00a49f89 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 30 Apr 2020 09:49:07 +0200 Subject: [PATCH 2180/2575] modal: allow disabling popupLabel and set default value to auto --- src/client/editor/index.js | 2 +- src/client/widgets/containers/modal.js | 7 +++++-- src/scss/widgets/containers.scss | 5 +++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 504d6b93..39b7dd81 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -33,7 +33,7 @@ class Editor { if (propName === 'address' && value === '') { // special case w.props[propName] = '/' + w.props.id - } else if (propName === 'label' && value === true) { + } else if ((propName === 'label' || propName === 'popupLabel') && value === true) { w.props[propName] = 'auto' } else { w.props[propName] = value !== '' ? value : deepCopy(defaults[w.props.type][propName].value) diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 76128a7e..58fa51ed 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -30,7 +30,7 @@ class Modal extends Panel { _modalWidgets: 'modal: popup', - popupLabel: {type: 'string', value: '', help: 'Alternative label for the modal popup'}, + popupLabel: {type: 'string|boolean', value: 'auto', help: 'Alternative label for the modal popup'}, popupWidth: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, popupHeight: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, popupLeft: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, @@ -229,8 +229,11 @@ class Modal extends Panel { if (!this.popup) return - var label = this.getProp('popupLabel') ? iconify(this.getProp('popupLabel')) : this.label.innerHTML + var label = this.getProp('popupLabel') !== 'auto' ? iconify(this.getProp('popupLabel')) : this.label.innerHTML + DOM.get(this.popup, '.popup-title .popup-label')[0].innerHTML = label + this.popup.classList.toggle('no-label', this.getProp('popupLabel') === false) + this.labelChange = false } diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index d9e7d682..ffeb1dba 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -443,6 +443,7 @@ > .popup-wrapper { width: var(--width, 100%); height: var(--height, 100%); + > .popup-content { // contain:unset; // == no restrain padding: 0; @@ -456,6 +457,10 @@ } } + &.no-label > .popup-wrapper > .popup-title { + display: none; + } + &.x-positionned { justify-content: flex-start; > .popup-wrapper { From 3dfab04eab312e7d4d42a723cc9f7ae3cfce9e73 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 30 Apr 2020 09:50:56 +0200 Subject: [PATCH 2181/2575] package: alpha14 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a517972a..4b0da5f8 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.0.0-alpha13", + "version": "1.0.0-alpha14", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 52d84d117da7a288307635bd72f341c94d53e518 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 1 May 2020 11:36:38 +0200 Subject: [PATCH 2182/2575] package: fix ios10 build --- scripts/build-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-client.js b/scripts/build-client.js index f615e427..ee41004a 100644 --- a/scripts/build-client.js +++ b/scripts/build-client.js @@ -24,7 +24,7 @@ var transforms = [ ] console.warn('\033[36m=> Building compressed client scripts...\033[0m') -transforms.push([transformWrapper(require('uglifyify')), {global: true}]) +transforms.push([transformWrapper(require('uglifyify')), {global: true, safari10: true}]) var bundle = build({ input: '../src/client/index.js', From 2a7f354c14cce563d1fc3c1fe55929be4829af73 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 1 May 2020 13:25:56 +0200 Subject: [PATCH 2183/2575] visualizer: add 'freeze' prop --- CHANGELOG.md | 1 + src/client/widgets/graphs/visualizer.js | 44 +++++++++++++++++++++---- 2 files changed, 38 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54ebdae4..284b78de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,7 @@ - plot/eq: removed `smooth` - plots/sliders/pads: reversed `logScale` behavior to match standard implementations; can be either `false` (disabled), `true` (logarithmic scale) or `number` (manual log scale, negative for exponential scale) - visualizer: added `framerate` property + - visualizer: added `freeze` property - menu: always centered menu - modal: modals can't overflow parent modal/tab boundaries - input: removed `vertical` diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index 5c8a8b51..ee70fb93 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -5,7 +5,7 @@ var {clip} = require('../utils'), canvasQueue = require('../common/queue') -module.exports = 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, interaction: false}) { static description() { @@ -25,6 +25,7 @@ module.exports = class Visualizer extends StaticProperties(Plot, {rangeX: {min: origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, + freeze: {type: 'boolean', value: false, help: 'Set to `true` to freeze current view and ignore incoming values'} }, ['interaction', 'decimals', 'typeTags', 'bypass'], {}) @@ -51,7 +52,7 @@ module.exports = class Visualizer extends StaticProperties(Plot, {rangeX: {min: startLoop() { this.clock = Date.now() - if (!this.looping) { + if (!this.looping && !this.getProp('freeze')) { this.lastUpdate = Date.now() canvasQueue.on('frame', this.bindedLoop) if (!canvasQueue.running) canvasQueue.startLoop() @@ -60,13 +61,23 @@ module.exports = class Visualizer extends StaticProperties(Plot, {rangeX: {min: } } + stopLoop() { + + if (this.looping) { + + canvasQueue.off('frame', this.bindedLoop) + this.looping = false + + } + + } + loop() { var t = Date.now() if (t - this.clock >= this.watchDuration) { - canvasQueue.off('frame', this.bindedLoop) - this.looping = false + this.stopLoop() } this.ticks += (t - this.lastUpdate) / (1000 / this.fps) @@ -119,14 +130,33 @@ module.exports = class Visualizer extends StaticProperties(Plot, {rangeX: {min: } + onPropChanged(propName, options, oldPropValue) { + + if (super.onPropChanged(...arguments)) return + + switch (propName) { + + case 'freeze': + if (this.getProp('freeze')) this.stopLoop() + else this.startLoop() + return + + } + + } + onRemove() { - if (this.looping) { - canvasQueue.off('frame', this.bindedLoop) - } + this.stopLoop() super.onRemove() } } + +Visualizer.dynamicProps = Visualizer.prototype.constructor.dynamicProps.concat( + 'freeze' +) + +module.exports = Visualizer From 49ef38402fa761541301ad1015cdb0ca8d32d470 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 1 May 2020 16:20:11 +0200 Subject: [PATCH 2184/2575] package: alpha 15 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4b0da5f8..76f8637e 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.0.0-alpha14", + "version": "1.0.0-alpha15", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From a590154edfa584f81f40645d83d94325d43d2ae0 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 4 May 2020 23:47:31 +0200 Subject: [PATCH 2185/2575] session: clear session name when creating a new session (#622) --- src/client/managers/session/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/managers/session/index.js b/src/client/managers/session/index.js index 75f504a6..dd390315 100644 --- a/src/client/managers/session/index.js +++ b/src/client/managers/session/index.js @@ -176,7 +176,8 @@ var SessionManager = class SessionManager { if (editor.unsavedSession && !confirm(locales('session_unsaved'))) return - this.load(null, function(){ + this.load(null, ()=>{ + ipc.send('sessionSetPath', {path: ''}) editor.enable() editor.select(widgetManager.getWidgetById('root')) }) From e94b4bf9f6adfcfa8daac870ab285d6fc65378b1 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 12:05:46 +0200 Subject: [PATCH 2186/2575] server: add --authentication option --- package.json | 1 + src/server/auth.js | 23 +++++++++++++++++++++++ src/server/electron-window.js | 6 ++++++ src/server/ipc/server.js | 14 +++++++++++++- src/server/options.js | 7 ++++++- src/server/server.js | 11 ++++++++--- 6 files changed, 57 insertions(+), 5 deletions(-) create mode 100644 src/server/auth.js diff --git a/package.json b/package.json index 76f8637e..764c4217 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "exorcist": "1.0.1", "file-saver": "2.0.2", "gyronorm": "2.0.6", + "http-auth": "^4.1.2", "json5": "2.1.2", "jsondiffpatch": "0.4.1", "keyboardjs": "github:jean-emmanuel/KeyboardJS", diff --git a/src/server/auth.js b/src/server/auth.js new file mode 100644 index 00000000..a017edb5 --- /dev/null +++ b/src/server/auth.js @@ -0,0 +1,23 @@ +var settings = require('./settings'), + auth = null + +if (settings.read('authentication')) { + + var [name, pwd] = settings.read('authentication').split(':'), + httpAuth = require("http-auth") + + + auth = httpAuth.basic( + { + realm: "Open Stage Control" + }, + (username, password, callback) => { + // Custom authentication method. + callback(username === name && password === pwd); + } + ) + +} + + +module.exports = auth diff --git a/src/server/electron-window.js b/src/server/electron-window.js index beb0782c..ff4ee3fe 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -57,6 +57,12 @@ module.exports = function(options={}) { } }) + window.webContents.on('login', function(event, request, authInfo, callback) { + event.preventDefault() + var [name, pwd] = settings.read('authentication').split(':') + callback(name, pwd) + }) + // window.webContents.on('will-navigate', (event)=>event.preventDefault()) window.webContents.on('new-window', (event, url)=>{ event.preventDefault() diff --git a/src/server/ipc/server.js b/src/server/ipc/server.js index 7edfb988..53c8619e 100644 --- a/src/server/ipc/server.js +++ b/src/server/ipc/server.js @@ -1,6 +1,7 @@ var EventEmitter = require('events').EventEmitter, WebSocketServer = require('ws').Server, - Client = require('./client') + Client = require('./client'), + settings = require('../settings') class Ipc extends EventEmitter { @@ -15,6 +16,17 @@ class Ipc extends EventEmitter { this.server.on('connection', (socket, req)=>{ + 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) { + 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/options.js b/src/server/options.js index fa6b99ec..269ca26c 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -21,7 +21,7 @@ module.exports = { check: (arg)=>{ var customModule = arg.slice() - + // consolidate path containing whitespaces if (!customModule[0].includes('.js')) { var index = customModule.findIndex(x => typeof x === 'string' && x.includes('.js')) @@ -92,6 +92,11 @@ module.exports = { } }, 'remote-root': {type: 'string', describe: 'set remote file browsing root folder', file: {folder: true}}, + 'authentication': {type: 'string', describe: 'restrict access to "user:password"', + check: (a, argv)=>{ + return a.match(/[^:]*:[^:]+/) ? true : 'Auth must be a user:password pair.' + } + }, 'instance-name': {type: 'string', describe: 'used to differenciate multiple instances in a zeroconf network'}, // cli only diff --git a/src/server/server.js b/src/server/server.js index c9fac068..ba4b38ef 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -4,10 +4,11 @@ var urlparser = require('url'), send = require('send'), http = require('http'), replaceStream = require('replacestream'), - server = http.createServer(httpRoute), + settings = require('./settings'), + auth = require('./auth'), + server = http.createServer(auth ? auth.check(httpRoute) : httpRoute), Ipc = require('./ipc/server'), ipc = new Ipc(server), - settings = require('./settings'), theme = require('./theme').init(), zeroconf = require('./zeroconf'), osc = {}, @@ -24,6 +25,10 @@ if (settings.read('client-options')) { } } + + + + function httpRoute(req, res) { res.sendFile = (path)=>{ @@ -104,7 +109,7 @@ server.on('error', (e)=>{ server.listen(settings.read('port') || 8080) -http.get(settings.appAddresses()[0] + '/osc-ping', ()=>{}).on('error', ()=>{httpCheck(false)}) +http.get(settings.appAddresses()[0] + '/osc-ping', {auth: settings.read('authentication')},()=>{}).on('error', ()=>{httpCheck(false)}) httpCheckTimeout = setTimeout(()=>{httpCheck(false)}, 5000) function httpCheck(ok){ if (!httpCheckTimeout) return From 4d7ed54186a4ba60978e55daf90ad5632fb6a2bb Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 12:11:11 +0200 Subject: [PATCH 2187/2575] server: lint --- src/server/auth.js | 21 ++++++++++----------- src/server/ipc/server.js | 4 ++-- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/server/auth.js b/src/server/auth.js index a017edb5..56d6efc1 100644 --- a/src/server/auth.js +++ b/src/server/auth.js @@ -4,18 +4,17 @@ var settings = require('./settings'), if (settings.read('authentication')) { var [name, pwd] = settings.read('authentication').split(':'), - httpAuth = require("http-auth") + httpAuth = require('http-auth') - - auth = httpAuth.basic( - { - realm: "Open Stage Control" - }, - (username, password, callback) => { - // Custom authentication method. - callback(username === name && password === pwd); - } - ) + auth = httpAuth.basic( + { + realm: 'Open Stage Control' + }, + (username, password, callback) => { + // Custom authentication method. + callback(username === name && password === pwd) + } + ) } diff --git a/src/server/ipc/server.js b/src/server/ipc/server.js index 53c8619e..9be982df 100644 --- a/src/server/ipc/server.js +++ b/src/server/ipc/server.js @@ -17,8 +17,8 @@ class Ipc extends EventEmitter { this.server.on('connection', (socket, req)=>{ if (settings.read('authentication')) { - if (!req.headers.authorization) return; - if (req.headers.authorization.search('Basic ') !== 0) return; + 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) { console.log(`(WARNING) Client connexion refused for ${req.connection.remoteAddress} (authentication failed)`) From 7a4076f8a6bfb4f1cd42b9eeb886d9837a9d536e Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 12:21:18 +0200 Subject: [PATCH 2188/2575] log/doc: --authentication --- CHANGELOG.md | 1 + resources/docs/docs/getting-started/server-configuration.md | 3 +++ src/server/options.js | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 284b78de..ee59d2dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -122,6 +122,7 @@ - removed `--blank`, `--gui-only`, `--examples` - hide `--disable-gpu` (cli-only) - added cli-only `--cache-dir` and `--config-file` + - added `--authentication` option - misc diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index dc12cb9b..a10ad006 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -104,6 +104,9 @@ The **server** can be configured with many options, either from a terminal or wi Set file browsing root folder. + === "authentication" + + Restrict access to `user:password` (remote clients will be prompted for these credentials). === "instance-name" diff --git a/src/server/options.js b/src/server/options.js index 269ca26c..cc7ba3ae 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -92,7 +92,7 @@ module.exports = { } }, 'remote-root': {type: 'string', describe: 'set remote file browsing root folder', file: {folder: true}}, - 'authentication': {type: 'string', describe: 'restrict access to "user:password"', + 'authentication': {type: 'string', describe: 'restrict access to "user:password" (remote clients will be prompted for these credentials)', check: (a, argv)=>{ return a.match(/[^:]*:[^:]+/) ? true : 'Auth must be a user:password pair.' } From 420cd8c51b06c8a70f1c3b055e272340d5ef4517 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 14:50:17 +0200 Subject: [PATCH 2189/2575] server: add --use-ssl option --- package.json | 1 + src/server/address.js | 6 ++--- src/server/docs-server.js | 6 ++--- src/server/electron-window.js | 9 +++++++ src/server/options.js | 1 + src/server/server.js | 32 ++++++++++++++++------ src/server/settings.js | 4 +-- src/server/ssl.js | 51 +++++++++++++++++++++++++++++++++++ 8 files changed, 94 insertions(+), 16 deletions(-) create mode 100644 src/server/ssl.js diff --git a/package.json b/package.json index 764c4217..ce549879 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "nanohtml": "1.9.1", "nanoid": "2.1.11", "nanomorph": "5.4.0", + "node-forge": "^0.9.1", "node-sass": "4.13.1", "nodemon": "2.0.2", "nosleep.js": "0.9.0", diff --git a/src/server/address.js b/src/server/address.js index c8580aad..b7969f38 100644 --- a/src/server/address.js +++ b/src/server/address.js @@ -2,8 +2,8 @@ var ifaces = require('os').networkInterfaces(), address = Object.values(ifaces) .reduce((a,b)=>a.concat(b), []) .filter(i=>i.family === 'IPv4') - .map(i=>'http://' + i.address + ':') + .map(i=>i.address + ':') -module.exports = (port)=>{ - return address.map(x=>x + port) +module.exports = (proto, port)=>{ + return address.map(x=>proto + x + port) } diff --git a/src/server/docs-server.js b/src/server/docs-server.js index 002e3292..a8fd215f 100644 --- a/src/server/docs-server.js +++ b/src/server/docs-server.js @@ -38,7 +38,7 @@ class DocsServer extends EventEmitter { }) this.server.listen(0).on('listening', ()=>{ this.port = this.server.address().port - console.log('(INFO) Documentation server started, docs available at \n ' + address(this.port).join('\n ')) + console.log('(INFO) Documentation server started, docs available at \n ' + address('http://', this.port).join('\n ')) this.emit('ready') }) @@ -51,11 +51,11 @@ class DocsServer extends EventEmitter { if (!this.started || !this.port) { this.start() this.on('ready', ()=>{ - open(address(this.port)[0] + this.home) + open(address('http://', this.port)[0] + this.home) console.log('(INFO) Opening documentation with default browser...') }) } else { - open(address(this.port)[0] + this.home) + open(address('http://', this.port)[0] + this.home) console.log('(INFO) Opening documentation with default browser...') } diff --git a/src/server/electron-window.js b/src/server/electron-window.js index ff4ee3fe..1de8564c 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -57,6 +57,15 @@ module.exports = function(options={}) { } }) + + window.webContents.on('certificate-error', function(event, url, error, certificate, callback) { + if (error === 'net::ERR_CERT_AUTHORITY_INVALID') { + // self signed certificate is ok + event.preventDefault() + callback(true) + } + }) + window.webContents.on('login', function(event, request, authInfo, callback) { event.preventDefault() var [name, pwd] = settings.read('authentication').split(':') diff --git a/src/server/options.js b/src/server/options.js index cc7ba3ae..c538f5e9 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -98,6 +98,7 @@ module.exports = { } }, 'instance-name': {type: 'string', describe: 'used to differenciate multiple instances in a zeroconf network'}, + 'use-ssl': {type: 'boolean', describe: 'set to true to use HTTPS protocol instead of HTTP (a self-signed certificate will be created)'}, // cli only 'disable-gpu': {type: 'boolean', describe: 'disable hardware acceleration', launcher: false}, diff --git a/src/server/server.js b/src/server/server.js index ba4b38ef..628bc468 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -1,12 +1,24 @@ +var settings = require('./settings'), + http = require('http') + +function createServer(route) { + if (settings.read('use-ssl')) { + http = require('https') + require('./ssl') + return http.createServer(settings.read('ssl-certificate'), route) + + } else { + return http.createServer(route) + } +} + var urlparser = require('url'), path = require('path'), fs = require('fs'), send = require('send'), - http = require('http'), replaceStream = require('replacestream'), - settings = require('./settings'), auth = require('./auth'), - server = http.createServer(auth ? auth.check(httpRoute) : httpRoute), + server = createServer(auth ? auth.check(httpRoute) : httpRoute), Ipc = require('./ipc/server'), ipc = new Ipc(server), theme = require('./theme').init(), @@ -26,9 +38,6 @@ if (settings.read('client-options')) { } - - - function httpRoute(req, res) { res.sendFile = (path)=>{ @@ -109,15 +118,22 @@ server.on('error', (e)=>{ server.listen(settings.read('port') || 8080) -http.get(settings.appAddresses()[0] + '/osc-ping', {auth: settings.read('authentication')},()=>{}).on('error', ()=>{httpCheck(false)}) +http.get(settings.appAddresses()[0] + '/osc-ping', { + auth: settings.read('authentication'), + rejectUnauthorized: false +},()=>{}).on('error', ()=>{httpCheck(false)}) + httpCheckTimeout = setTimeout(()=>{httpCheck(false)}, 5000) -function httpCheck(ok){ +function httpCheck(ok, error){ if (!httpCheckTimeout) return clearTimeout(httpCheckTimeout) httpCheckTimeout = null if (ok) { console.log('(INFO) Server started, app available at \n ' + settings.appAddresses().join('\n ')) } else { + if (error) { + console.error('(ERROR, HTTP) Server setup error: ' + error.message) + } console.error('(ERROR, HTTP) Could not setup http server, maybe try a different port ?') } } diff --git a/src/server/settings.js b/src/server/settings.js index 20124673..b158bf1b 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -1,7 +1,7 @@ var path = require('path'), fs = require('fs'), yargs = require('yargs'), - infos = require('../package.json'), + infos = require('../../package.json'), options = require('./options'), address = require('./address') @@ -156,5 +156,5 @@ module.exports = { cli: cli, configPath: baseDir, infos: infos, - appAddresses: ()=>address(settings.options.port || 8080) + appAddresses: ()=>address(settings.options.ssl ? 'https://' : 'http://', settings.options.port || 8080) } diff --git a/src/server/ssl.js b/src/server/ssl.js new file mode 100644 index 00000000..6623d5fb --- /dev/null +++ b/src/server/ssl.js @@ -0,0 +1,51 @@ +var settings = require('./settings'), + forge = require('node-forge'), + pki = forge.pki, + certificate = settings.read('ssl-certificate') + +forge.options.usePureJavaScript = true + +function createCertificate() { + + console.log('(INFO) Creating self signed ssl certificate...') + + var keys = pki.rsa.generateKeyPair(2048), + cert = pki.createCertificate() + + cert.publicKey = keys.publicKey + cert.validity.notBefore = new Date() + cert.validity.notAfter.setFullYear(cert.validity.notBefore.getFullYear() + 1) + + var attrs = [ + {name:'commonName',value: settings.infos.name}, + {name:'subjectAltName',value:[]} + ] + + cert.setSubject(attrs) + cert.setIssuer(attrs) + cert.sign(keys.privateKey) + + settings.write('ssl-certificate', { + key: pki.privateKeyToPem(keys.privateKey), + cert: pki.certificateToPem(cert) + }) + +} + +if (!certificate) { + + createCertificate() + +} else { + + var cert = pki.certificateFromPem(certificate.cert) + + if (new Date() > new Date(cert.validity.notAfter)) { + console.log('(INFO) Self-signed ssl certificate has expired') + createCertificate() + } else { + console.log('(INFO) Using self-signed ssl certificate in cache') + } + + +} From 20714fe58eea53155051a53b2956fa892bce2872 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 14:50:34 +0200 Subject: [PATCH 2190/2575] log: --use-ssl --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee59d2dc..65f870df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -123,6 +123,7 @@ - hide `--disable-gpu` (cli-only) - added cli-only `--cache-dir` and `--config-file` - added `--authentication` option + - added `--use-ssl` option - misc From 54c0b7fb29181b79ce4897c82e719936b4f56859 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 15:01:49 +0200 Subject: [PATCH 2191/2575] https: fix --- 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 b158bf1b..3335da82 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -156,5 +156,5 @@ module.exports = { cli: cli, configPath: baseDir, infos: infos, - appAddresses: ()=>address(settings.options.ssl ? 'https://' : 'http://', settings.options.port || 8080) + appAddresses: ()=>address(settings.options['use-ssl'] ? 'https://' : 'http://', settings.options.port || 8080) } From 6a25a4d9f0ecd56120f81b74133c01fd04041770 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 18:43:19 +0200 Subject: [PATCH 2192/2575] package: alpha 16 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ce549879..d01b4bd9 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.0.0-alpha15", + "version": "1.0.0-alpha16", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" @@ -51,7 +51,7 @@ "nanohtml": "1.9.1", "nanoid": "2.1.11", "nanomorph": "5.4.0", - "node-forge": "^0.9.1", + "node-forge": "0.9.1", "node-sass": "4.13.1", "nodemon": "2.0.2", "nosleep.js": "0.9.0", From 3137ebc7daeaefeecf8fe21e6affac904c70351c Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 22:41:23 +0200 Subject: [PATCH 2193/2575] docs: update --- resources/docs/docs/getting-started/server-configuration.md | 5 +++++ resources/docs/docs/widgets/properties-reference.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index a10ad006..209994f7 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -112,6 +112,11 @@ The **server** can be configured with many options, either from a terminal or wi Server's name on zeroconf/bonjour network. Incremented automatically if not available. + === "use-ssl" + + Use HTTPS protocol instead of HTTP (a self-signed certificate will be created) + + !!! abstract "Command-line options" diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 75228ad9..cf5d27d4 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -212,7 +212,7 @@ | property | type |default | description | | --- | --- | --- | --- | - | | `string` | "" | Alternative label for the modal popup | + | | `string`|
        `boolean` | "auto" | Alternative label for the modal popup | | | `number`|
        `percentage` | "80%" | Modal popup's size | | | `number`|
        `percentage` | "80%" | Modal popup's size | | | `number`|
        `percentage` | "auto" | Modal popup's position | @@ -481,6 +481,7 @@ |
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | |
        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. | |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + |
        freeze#
        | `boolean` | false | Set to `true` to freeze current view and ignore incoming values | ## Indicators ??? api "
        led#
        " From 77a6f2835c2abba098de2fe06651c9ec96c437a9 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 5 May 2020 22:46:32 +0200 Subject: [PATCH 2194/2575] docs: missing htaccess in git --- app/docs/.htaccess | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/docs/.htaccess diff --git a/app/docs/.htaccess b/app/docs/.htaccess new file mode 100644 index 00000000..de377bfe --- /dev/null +++ b/app/docs/.htaccess @@ -0,0 +1 @@ +ErrorDocument 404 /404.html From 1f3e01cf0e7c3443bf16fc75b610fdc61e8b0e4a Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 8 May 2020 09:50:01 +0200 Subject: [PATCH 2195/2575] docs: virtual midi ports work on mac --- resources/docs/docs/midi/midi-configuration.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 3fd526b2..173baee4 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -20,9 +20,12 @@ When running the app, the `-m / --midi` switch must be set; it accepts the follo - `pc_offset`: send program changes with a `-1` offset to match some software/hardware implementations - `path=/path/to/python`: indicates where to find python or python3 binary in case open stage control doesn't (`Error: spawn python3 ENOENT`) -*Linux only:* +*Linux / Mac only:* - `device_name:virtual`: creates a virtual midi device with one input port and one output port + +*Linux only:* + - `jack`: use JACK MIDI instead of ALSA. `rtmidi` must be compiled with `--jack-midi` flag for this to work. From c5e9cb9ce9a45d31bb798ba100c095323bee9377 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 8 May 2020 11:06:51 +0200 Subject: [PATCH 2196/2575] midi: add device creation debug logs osc/midi: add DEBUG prefix to debug logs --- src/python/list.py | 4 ++-- src/python/midi.py | 15 ++++++++++++--- src/server/options.js | 2 +- src/server/osc/index.js | 4 ++-- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/python/list.py b/src/python/list.py index 2ac4ef57..627d44bf 100644 --- a/src/python/list.py +++ b/src/python/list.py @@ -4,13 +4,13 @@ def list(): message = [] - message.append('(MIDI) Inputs') + message.append('(INFO, MIDI) Inputs') message.append(' -1: Void (bypass)') for i in range(in_dev.get_port_count()): message.append(' %i: %s' % (i, in_dev.get_port_name(i))) - message.append('(MIDI) Outputs') + message.append('(INFO, MIDI) Outputs') message.append(' -1: Void (bypass)') for i in range(out_dev.get_port_count()): diff --git a/src/python/midi.py b/src/python/midi.py index 5d5eae46..4261627b 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -20,11 +20,17 @@ for arg in argv: inputs[name] = rtmidi.MidiIn(API, name if not JACK else name + '_in') outputs[name] = rtmidi.MidiOut(API, name if not JACK else name + '_out') + if debug: + ipc_send('log','(DEBUG, MIDI) device "%s" created' % name) + + if ports == 'virtual': try: inputs[name].open_virtual_port('midi_in') outputs[name].open_virtual_port('midi_out') + if debug: + ipc_send('log','(DEBUG, MIDI) virtual ports opened for device "%s"' % name) except: ipc_send('error', 'can\'t open virtual port "%s"' % name) @@ -44,6 +50,8 @@ for arg in argv: try: inputs[name].open_port(in_port, 'midi_in') + if debug: + ipc_send('log','(DEBUG, MIDI) device "%s" connected to input port %s (%s)' % (name, in_port, in_dev.get_port_name(in_port))) except: ipc_send('error', 'can\'t connect input to port %i: %s' % (in_port, in_dev.get_port_name(in_port))) @@ -51,6 +59,8 @@ for arg in argv: try: outputs[name].open_port(out_port, 'midi_out') + if debug: + ipc_send('log','(DEBUG, MIDI) device "%s" connected to output port %s (%s)' % (name, out_port, out_dev.get_port_name(out_port))) except: ipc_send('error', 'can\'t connect to output port %i: %s' % (out_port, out_dev.get_port_name(out_port))) @@ -99,7 +109,7 @@ def create_callback(name): ipc_send('osc', osc) if debug: - ipc_send('log','(MIDI) in: %s From: midi:%s' % (midi_str(message), name)) + ipc_send('log','(DEBUG, MIDI) in: %s From: midi:%s' % (midi_str(message), name)) def callback_error_wrapper(event, data): @@ -197,8 +207,7 @@ def send_midi(name, event, *args): outputs[name].send_message(m) if debug: - - ipc_send('log','(MIDI) out: %s To: midi:%s' % (midi_str(m), name)) + ipc_send('log','(DEBUG, MIDI) out: %s To: midi:%s' % (midi_str(m), name)) while True: diff --git a/src/server/options.js b/src/server/options.js index c538f5e9..3b1bb085 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -63,7 +63,7 @@ module.exports = { }, 'm': {alias: 'midi', type: 'array', describe: 'midi router settings', check: (o)=>{ - var err = o.filter(item=>!item.match(/^(list|jack|sysex|pc_offset|path=(.*)|[^:]+:(virtual|(-1|[0-9]+),(-1|[0-9]+)))$/)) + var err = o.filter(item=>!item.match(/^(list|debug|jack|sysex|pc_offset|path=(.*)|[^:]+:(virtual|(-1|[0-9]+),(-1|[0-9]+)))$/)) return err.length ? `Invalid option${err.length > 1 ? 's' : ''}: ${err.join(', ')}` : true } }, diff --git a/src/server/osc/index.js b/src/server/osc/index.js index a4266b5c..cd36d31d 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -189,7 +189,7 @@ class OscServer { } - if (debug) console.log('(OSC) Out: ',{address:data.address, args: data.args}, 'To: ' + data.host + ':' + data.port) + if (debug) console.log('(DEBUG, OSC) Out: ',{address:data.address, args: data.args}, 'To: ' + data.host + ':' + data.port) } @@ -208,7 +208,7 @@ class OscServer { ipc.send('receiveOsc', data, clientId) - if (debug) console.log('(OSC) In: ', {address:data.address, args: data.args}, 'From: ' + data.host + ':' + data.port) + if (debug) console.log('(DEBUG, OSC) In: ', {address:data.address, args: data.args}, 'From: ' + data.host + ':' + data.port) } From 7417fa48109be7434ea593bbe228032d01e7d0ff Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 8 May 2020 11:20:00 +0200 Subject: [PATCH 2197/2575] midi: print midi in debug log before osc in debug log --- src/python/midi.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/python/midi.py b/src/python/midi.py index 4261627b..7b4dc320 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -106,11 +106,12 @@ def create_callback(name): osc['args'].append({'type': 'i', 'value': data}) - ipc_send('osc', osc) - if debug: ipc_send('log','(DEBUG, MIDI) in: %s From: midi:%s' % (midi_str(message), name)) + ipc_send('osc', osc) + + def callback_error_wrapper(event, data): From 4318b955cc79af917d5767340509e3242b169041 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 9 May 2020 17:05:52 +0200 Subject: [PATCH 2198/2575] widgets: missing property descriptions --- src/client/widgets/common/widget.js | 6 +++--- src/client/widgets/graphs/plot.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index fc1fff1b..2ca41ed9 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -49,7 +49,7 @@ class Widget extends EventEmitter { _widget:'widget', - type: {type: 'string', value: 'auto', help: ''}, + type: {type: 'string', value: 'auto', help: 'Widget type'}, id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, @@ -64,8 +64,8 @@ class Widget extends EventEmitter { '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 absolutely positioned' ]}, - width: {type: 'number|percentage', value: 'auto', help: ''}, - height: {type: 'number|percentage', value: 'auto', help: ''}, + 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.'}, _style:'style', diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 3f1d3dec..82b66250 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -23,7 +23,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm\'s base.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it.'}, - dots: {type: 'boolean', value: true, help: ''}, + dots: {type: 'boolean', value: true, help: 'Draw dots on the line'}, bars: {type: 'boolean', value: false, help: 'Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing)'}, pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, From 4701850924d43d5769bb9862bb5c540135c45d3d Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 9 May 2020 17:57:55 +0200 Subject: [PATCH 2199/2575] modal/menu: layout breakout from everythinh except tab/root --- CHANGELOG.md | 2 +- src/client/widgets/basics/menu.js | 29 ++++++++++++++++++++++++++ src/client/widgets/containers/modal.js | 2 +- src/scss/widgets/basics.scss | 10 ++++++--- src/scss/widgets/containers.scss | 3 +++ 5 files changed, 41 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65f870df..4d749698 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,7 +63,7 @@ - visualizer: added `framerate` property - visualizer: added `freeze` property - menu: always centered menu - - modal: modals can't overflow parent modal/tab boundaries + - modal: modals can't overflow parent tab boundaries - input: removed `vertical` - pads, range: when `touchAddress` is set, one message per touched point is sent, in addition to the former touch state message - eq: removed `logScaleX` property, always draw logarithmic frequency response diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index 101f21cd..e5e4e8f6 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -137,6 +137,8 @@ class Menu extends MenuBase { if (this.opened) return this.opened = true + this.fixParents() + this.container.classList.add('on') this.widget.appendChild(this.menu) @@ -147,6 +149,7 @@ class Menu extends MenuBase { if (!this.opened) return this.opened = false + this.fixParents() DOM.each(this.menu, '.active', (el)=>{el.classList.remove('active')}) this.container.classList.remove('on') this.widget.removeChild(this.menu) @@ -249,6 +252,29 @@ class Menu extends MenuBase { } + fixParents() { + + var parent = this.parent, + scrollX = 0, + scrollY = 0 + + while (parent && parent.props && !parent.getProp('type').match(/tab|root/)) { + + parent.modalBreakout += (this.opened ? 1 : -1) + if (parent.modalBreakout > 0) parent.container.classList.add('modal-breakout') + else if (parent.modalBreakout === 0) parent.container.classList.remove('modal-breakout') + + scrollX += parent.widget.scrollLeft + scrollY += parent.widget.scrollTop + + parent = parent.parent + } + + this.container.style.setProperty('--parent-scroll-x', scrollX + 'px') + this.container.style.setProperty('--parent-scroll-y', scrollY + 'px') + + } + setValue(v,options={}) { var i = this.getIndex(v) @@ -299,6 +325,9 @@ class Menu extends MenuBase { if (this.getProp('toggle')) { document.removeEventListener('fast-click', this.toggleCloseHandler) } + if (this.opened) { + this.close() + } super.onRemove() } diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 58fa51ed..61db324e 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -176,7 +176,7 @@ class Modal extends Panel { var parent = this.parent - while (parent && parent.props && !parent.getProp('type').match(/modal|tab|root/)) { + while (parent && parent.props && !parent.getProp('type').match(/tab|root/)) { parent.modalBreakout += (this.value ? 1 : -1) if (parent.modalBreakout > 0) parent.container.classList.add('modal-breakout') diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index ec10094c..69ae2b12 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -127,12 +127,16 @@ --size: 300rem; --grid-columns: 2; + + --parent-scroll-x: 0; + --parent-scroll-y: 0; + overflow: hidden; &.on { z-index: 9999999999999!important; - contain: layout; + contain: size; overflow: visible; } @@ -219,8 +223,8 @@ border-radius: 100%; width:var(--size); height:var(--size); - margin-left: calc(- var(--size) / 2); - margin-top: calc(- var(--size) / 2); + margin-left: calc(-1 * var(--parent-scroll-x)); + margin-top: calc(-1 * var(--parent-scroll-y)); &:after { content:""; diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index ffeb1dba..0c897076 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -435,6 +435,9 @@ &.no-inner-padding > .popup > .popup-wrapper > .popup-content > inner { margin: calc(var(--widget-spacing) * -1); } + &.modal-breakout > .popup > .popup-wrapper > .popup-content { + @extend .modal-breakout; + } > .popup { From 8f388e974ecf8460a9dcdee59bfab6ae347ab1ae Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 9 May 2020 18:12:53 +0200 Subject: [PATCH 2200/2575] menu: menu alignment options --- src/client/widgets/basics/menu.js | 14 ++++++++++---- src/scss/widgets/basics.scss | 30 +++++++++++++++++++++--------- 2 files changed, 31 insertions(+), 13 deletions(-) diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index e5e4e8f6..1014c4fe 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -22,7 +22,8 @@ class Menu extends MenuBase { '- If `layout` is `circular`: diameter (in px)', '- Else: square size or `[width, height]` array', ]}, - align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, + alignV: {type: 'string', value: 'center', choices: ['center', 'top', 'bottom'], help: 'Set to `top` or `bottom` to change menu alignment (otherwise center)'}, + alignH: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change menu alignment (otherwise center)'}, layout: {type: 'string', value: 'circular', choices: ['circular', 'horizontal', 'vertical', 'grid'], help: [ 'Defines whether the menu\'s layout should be rendered in a circle or in a box' ]}, @@ -36,7 +37,8 @@ class Menu extends MenuBase { weights: {type: 'array', value: '', help: [ '`Array` of `number` defining the weights of each value in `values`', 'Ignored when `mode` is `grid`' - ]} + ]}, + textAlign: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, }) @@ -52,8 +54,9 @@ class Menu extends MenuBase { `}) - if (this.getProp('align') === 'left') this.widget.classList.add('left') - if (this.getProp('align') === 'right') this.widget.classList.add('right') + this.widget.classList.add('text-align-' + this.getProp('textAlign')) + this.widget.classList.add('menu-align-h-' + this.getProp('alignH')) + this.widget.classList.add('menu-align-v-' + this.getProp('alignV')) this.menu = html`` this.text = DOM.get(this.widget, '.text')[0] @@ -270,6 +273,9 @@ class Menu extends MenuBase { parent = parent.parent } + scrollX += parent.widget.scrollLeft + scrollY += parent.widget.scrollTop + this.container.style.setProperty('--parent-scroll-x', scrollX + 'px') this.container.style.setProperty('--parent-scroll-y', scrollY + 'px') diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 69ae2b12..ee9dd12e 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -149,16 +149,32 @@ position: relative; @include pseudo-stroke(); - &.right .text { + &.text-align-right .text { justify-content: flex-end; } - &.left .text{ + &.text-align-left .text{ justify-content: flex-start; } + + + &.menu-align-h-right { + justify-content: flex-end; + } + &.menu-align-h-left{ + justify-content: flex-start; + } + &.menu-align-v-top { + align-items: flex-start; + } + &.menu-align-v-bottom{ + align-items: flex-end; + } + } .text { flex: 1; + height: 100%; text-align: center; display: flex; justify-content: center; @@ -190,10 +206,11 @@ menu { // animation: menu-widget-fade .1s forwards; - position: fixed; z-index: 999999999; + margin-left: calc(-1 * var(--parent-scroll-x)); + margin-top: calc(-1 * var(--parent-scroll-y)); overflow: hidden; @@ -223,8 +240,7 @@ border-radius: 100%; width:var(--size); height:var(--size); - margin-left: calc(-1 * var(--parent-scroll-x)); - margin-top: calc(-1 * var(--parent-scroll-y)); + &:after { content:""; @@ -298,10 +314,6 @@ width:var(--size-box-w); height:var(--size-box-h); - margin-left: calc(var(--x) - var(--size-box-w) / 2); - margin-top: calc(var(--y) - var(--size-box-h) / 2); - // top:var(--size-box-h); - // margin-top: 0; display: flex; From 957c1412ff333bba981eb56e7d4c9ee6cb49ee3c Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 9 May 2020 18:22:51 +0200 Subject: [PATCH 2201/2575] menu: align prop clean --- src/client/widgets/basics/menu.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index 1014c4fe..219089ce 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -22,8 +22,9 @@ class Menu extends MenuBase { '- If `layout` is `circular`: diameter (in px)', '- Else: square size or `[width, height]` array', ]}, - alignV: {type: 'string', value: 'center', choices: ['center', 'top', 'bottom'], help: 'Set to `top` or `bottom` to change menu alignment (otherwise center)'}, - alignH: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change menu alignment (otherwise center)'}, + textAlign: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, + menuAlignV: {type: 'string', value: 'center', choices: ['center', 'top', 'bottom'], help: 'Set to `top` or `bottom` to change menu alignment (otherwise center)'}, + menuAlignH: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change menu alignment (otherwise center)'}, layout: {type: 'string', value: 'circular', choices: ['circular', 'horizontal', 'vertical', 'grid'], help: [ 'Defines whether the menu\'s layout should be rendered in a circle or in a box' ]}, @@ -38,7 +39,6 @@ class Menu extends MenuBase { '`Array` of `number` defining the weights of each value in `values`', 'Ignored when `mode` is `grid`' ]}, - textAlign: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, }) @@ -55,8 +55,8 @@ class Menu extends MenuBase { `}) this.widget.classList.add('text-align-' + this.getProp('textAlign')) - this.widget.classList.add('menu-align-h-' + this.getProp('alignH')) - this.widget.classList.add('menu-align-v-' + this.getProp('alignV')) + this.widget.classList.add('menu-align-h-' + this.getProp('menuAlignH')) + this.widget.classList.add('menu-align-v-' + this.getProp('menuAlignV')) this.menu = html`` this.text = DOM.get(this.widget, '.text')[0] From 6a0ca8526ee1b936b9597d95f51140cd0e2caed8 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 9 May 2020 18:23:47 +0200 Subject: [PATCH 2202/2575] package: alpha 17 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d01b4bd9..3b892466 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.0.0-alpha16", + "version": "1.0.0-alpha17", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 345bba95e0e75ecd48bb2d1c0c6419bfad40541a Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 9 May 2020 18:39:04 +0200 Subject: [PATCH 2203/2575] docs: update and fixes --- .../docs/docs/widgets/properties-reference.md | 14 ++++++++------ resources/docs/docs/widgets/scripting.md | 6 +++--- src/client/widgets/common/widget.js | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index cf5d27d4..e9569eb3 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -12,7 +12,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        type#
        | `string` | "auto" | | + |
        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. | |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | @@ -24,8 +24,8 @@ | --- | --- | --- | --- | |
        left#
        | `number`|
        `string` | "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 absolutely positioned | |
        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 absolutely positioned | - |
        width#
        | `number`|
        `percentage` | "auto" | | - |
        height#
        | `number`|
        `percentage` | "auto" | | + |
        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. | @@ -52,7 +52,7 @@ |
        value#
        | `*` | "" | Define the widget's value depending on other widget's values / properties using the advanced property syntax | |
        default#
        | `*` | "" | If set, the widget will be initialized with this value when the session is loaded. | |
        linkId#
        | `string`|
        `array` | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.

        When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)

        When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) | - |
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | + |
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | === "osc" @@ -125,7 +125,9 @@ | property | type |default | description | | --- | --- | --- | --- | | | `number`|
        `array` | 200 | - If `layout` is `circular`: diameter (in px)
        - Else: square size or `[width, height]` array | - | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `string` | "center" | Set to `top` or `bottom` to change menu alignment (otherwise center)

        Choices: `center`, `top`, `bottom` | + | | `string` | "center" | Set to `left` or `right` to change menu alignment (otherwise center)

        Choices: `center`, `left`, `right` | | | `string` | "circular" | Defines whether the menu's layout should be rendered in a circle or in a box

        Choices: `circular`, `horizontal`, `vertical`, `grid` | | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | | | `boolean` | false | Set to `true` to make the menu stay opened after mouse/touch release | @@ -445,7 +447,7 @@ |
        logScaleX#
        | `boolean`|
        `number` | false | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. | |
        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. | - |
        dots#
        | `boolean` | true | | + |
        dots#
        | `boolean` | true | Draw dots on the line | |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index dd88fb99..53899106 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -39,7 +39,7 @@ Returns the value of the first matching widget. ---- #### `set`: `function(id, value)` -- `id`: widget `id` as a string. Can be `"self"` to target the host widget, or `"parent"` to target the parent widget. +- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `value`: new value for the widget. Sets the value of the first matching widget. @@ -57,7 +57,7 @@ If the event that triggered the script's execution was not initiated by a user i ---- #### `getProp`: `function(id, name)` -- `id`: widget `id` as a string. Can be `"self"` to target the host widget, or `"parent"` to target the parent widget. +- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `name`: property name. Returns the property called `"name"` of the first matching widget. @@ -72,7 +72,7 @@ Returns the property called `"name"` of the first matching widget. ---- #### `stateGet`: `function(id)` -- `id`: widget `id` as a string, or array of `id` strings. Can be `"self"` to target the host widget, or `"parent"` to target the parent widget. +- `id`: widget `id` as a string, or array of `id` strings. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. Returns a state object (`id:value`) for matching widget and all their children. diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 2ca41ed9..8c47ca2d 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -99,7 +99,7 @@ class Widget extends EventEmitter { 'When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)', 'When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending)' ]}, - script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s value updates. See documentation.'}, + script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s value updates. See documentation.'}, _osc: 'osc', From 0b57f030bb3e100a25134a8648661b671d453b16 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 10 May 2020 09:42:12 +0200 Subject: [PATCH 2204/2575] cli: prevent loading gui settings when running with node --- src/server/index.js | 1 - src/server/settings.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/index.js b/src/server/index.js index ee40ebdc..37bfa278 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -24,7 +24,6 @@ function nodeMode() { console.warn('(INFO) Running with node') if (!settings.read('no-gui')) { - settings.cli = true settings.write('no-gui', true, true) console.warn('(INFO) Headless mode (--no-gui) enabled automatically') } diff --git a/src/server/settings.js b/src/server/settings.js index 3335da82..598f7ba6 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -68,6 +68,9 @@ var cli = false for (let i in argv) { if (!cliOnly.includes(i)) cli = true } +if (process.title === 'node' || process.title === 'node.exe') { + cli = true +} var settings = { From 75e9906d8fc0c6e4b4641264174d5421dcd95a7b Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 10 May 2020 23:06:40 +0200 Subject: [PATCH 2205/2575] script: fix link in prop description --- src/client/widgets/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 69dea213..7cf234ea 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -36,7 +36,7 @@ class Script extends Widget { '_style', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'css' ], { - script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See documentation.'}, + script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See documentation.'}, }) } From 4946737b95ed8e5eddb1c3065cfd592e4a3bfb86 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 13:38:56 +0200 Subject: [PATCH 2206/2575] iframes: add allow-forms flag; disable all pointer events when editor is enabled --- src/client/widgets/frames/frame.js | 2 +- src/scss/widgets/frames.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index f6f0ad4b..927ace17 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -30,7 +30,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { super({...options, html: html` - + ` }) diff --git a/src/scss/widgets/frames.scss b/src/scss/widgets/frames.scss index 2ebf2857..b5a8be1e 100644 --- a/src/scss/widgets/frames.scss +++ b/src/scss/widgets/frames.scss @@ -29,3 +29,7 @@ pointer-events: none; } } + +.editor-enabled .frame-container iframe { + pointer-events: none; +} From 224ff20f10081a978b58b71d607c6739efe99cff Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 13:41:29 +0200 Subject: [PATCH 2207/2575] input: prevent focus when selecting --- src/scss/widgets/basics.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index ee9dd12e..66fc87bb 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -521,6 +521,12 @@ } +.editor-enabled .input-container:not(.editing) canvas { + // prevent input focus when selecting + pointer-events: none; +} + + .file-container { --alpha-fill: 0.75; From 66fb04692984996e3e0d95cc076ad11bcfd8f481 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 16:04:55 +0200 Subject: [PATCH 2208/2575] button/tab: missing dynamic flag for label prop --- src/client/widgets/basics/button.js | 3 ++- src/client/widgets/containers/tab.js | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 73824d64..73567e42 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -223,7 +223,8 @@ Button.cssVariables = Button.prototype.constructor.cssVariables.concat( Button.dynamicProps = Button.prototype.constructor.dynamicProps.concat( 'on', 'off', - 'norelease' + 'norelease', + 'label' ) module.exports = Button diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index f4e1aaf0..f6b75470 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -3,7 +3,7 @@ var Panel = require('./panel'), resize = require('../../events/resize'), {iconify} = require('../../ui/utils') -module.exports = class Tab extends Panel { +class Tab extends Panel { static description() { @@ -130,3 +130,9 @@ module.exports = class Tab extends Panel { } } + +Tab.dynamicProps = Tab.prototype.constructor.dynamicProps.concat( + 'label' +) + +module.exports = Tab From db12c286f0227d96d2301bab13b5b23c2a595bd4 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 16:05:11 +0200 Subject: [PATCH 2209/2575] script: better globals init --- src/client/widgets/vm.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/vm.js b/src/client/widgets/vm.js index e77847b5..be1903ae 100644 --- a/src/client/widgets/vm.js +++ b/src/client/widgets/vm.js @@ -2,19 +2,19 @@ var loopProtect = require('loop-protect'), {deepCopy} = require('../utils'), globals -setTimeout(()=>{ - globals = { - screen: {width: screen.width, height: screen.height}, - env: deepCopy(ENV), - url: document.location.host, - platform: navigator.platform - } -}) - class Vm { constructor() { + if (!globals) { + globals = { + screen: {width: screen.width, height: screen.height}, + env: deepCopy(ENV), + url: document.location.host, + platform: navigator.platform + } + } + this.sandbox = document.createElement('iframe') this.sandbox.style.display = 'none' this.sandbox.sandbox = 'allow-same-origin' From 0fbfbe5deddd008f7aa47daa4f67d5e982f1cc82 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 16:46:27 +0200 Subject: [PATCH 2210/2575] frame: allow non local urls --- CHANGELOG.md | 1 + src/client/widgets/frames/frame.js | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d749698..36be0293 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,6 +74,7 @@ - dropdown: close menu when receiving a value - dropdown: removed empty 1st option - switch: removed `showValues` (inconsistent with menu/dropdown, feature covered by `values` property) + - frame: allow loading non local urls - widget removals - `push`, `toggle`: merged into `button` diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 927ace17..a60f5062 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -1,6 +1,5 @@ var Widget = require('../common/widget'), html = require('nanohtml'), - {urlParser} = require('../utils'), locales = require('../../locales'), StaticProperties = require('../mixins/static_properties') @@ -47,9 +46,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { this.value = v - var parser = urlParser(this.value) - - if (this.value && parser.isLocal()) { + if (this.value) { this.frame.setAttribute('src', this.value) this.widget.classList.remove('error') if (this.errorTextMounted) { From aa628399a78d5ba6b33b19481843be7b9a46afcd Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 16:47:14 +0200 Subject: [PATCH 2211/2575] package: alpha 18 --- package.json | 2 +- src/client/widgets/frames/frame.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3b892466..2849a8c8 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.0.0-alpha17", + "version": "1.0.0-alpha18", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index a60f5062..38681c1b 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -18,7 +18,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { }, ['decimals', 'bypass'], { value: {type: 'string', value: '', help: [ - 'External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc)', + 'External web page URL.', ]} }) From cf6ac7a2536757d4ffc81a5dd7f6fea5547a480a Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 16:55:42 +0200 Subject: [PATCH 2212/2575] package: fix shim --- scripts/client-shim.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/client-shim.js b/scripts/client-shim.js index 99a12013..ff175878 100644 --- a/scripts/client-shim.js +++ b/scripts/client-shim.js @@ -53,6 +53,7 @@ document = { } window = { + screen: {width: 800, height: 600}, addEventListener: ()=>{}, location: {}, document: document, From 212d7dc5c07b2662a178bcfbf7c98e0d800dd384 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 19:05:50 +0200 Subject: [PATCH 2213/2575] docs: update --- resources/docs/docs/widgets/properties-reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index e9569eb3..6e65237b 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -81,7 +81,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        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` | + |
        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` | |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | @@ -355,7 +355,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        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` | + |
        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` | |
        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` or `auto` to limit affected widgets by the type of the first touched widget | @@ -396,7 +396,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        value#
        | `string` | "" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) | + |
        value#
        | `string` | "" | External web page URL. | ??? api "
        svg#
        " Svg parser. @@ -710,7 +710,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Choices: `value`, `keyboard` | - |
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | + |
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | === "event: keyboard" From c048ede064f4e44f664af06c9bd9ce15473a5257 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 19:05:55 +0200 Subject: [PATCH 2214/2575] script: send(): use widget's target when omitted --- src/client/widgets/scripts/script-vm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 11a978c5..19f0d79e 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -84,6 +84,7 @@ class ScriptVm extends Vm { if (target && target[0] === '/') { args.unshift(address) address = target + target = null } var overrides = { From fad234301f1c94020fb9bb2a6f5ce1fe057ce367 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 19:50:23 +0200 Subject: [PATCH 2215/2575] osc receiver: allow receiving object args such as osc color args (#623) --- src/client/widgets/common/osc-receiver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/common/osc-receiver.js b/src/client/widgets/common/osc-receiver.js index fba6bf21..a21b97a6 100644 --- a/src/client/widgets/common/osc-receiver.js +++ b/src/client/widgets/common/osc-receiver.js @@ -53,7 +53,7 @@ module.exports = class OscReceiver { callback(args) { - if (typeof args !== 'object') args = [args] + if (!Array.isArray(args)) args = [args] var preArgs = this.usePreArgs ? (this.parent.getProp('preArgs') || []) : [] if (!Array.isArray(preArgs) && preArgs !== '') preArgs = [preArgs] if (args.length >= preArgs.length) { From c2b6b5997ec16c643d7480059ace24fb899521de Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 14:21:23 +0200 Subject: [PATCH 2216/2575] ui: rework default theme using "nord" color scheme --- src/launcher/toolbar.js | 2 +- src/scss/colors/nord.scss | 235 +++++++++++++++++++++++++++++++ src/scss/themes/default.scss | 35 +++-- src/scss/ui/contextmenu.scss | 2 + src/scss/ui/inspector.scss | 15 +- src/scss/ui/launcher.scss | 9 +- src/scss/ui/tree.scss | 2 +- src/scss/ui/workspaces.scss | 25 +++- src/scss/widgets/containers.scss | 24 +++- 9 files changed, 309 insertions(+), 40 deletions(-) create mode 100644 src/scss/colors/nord.scss diff --git a/src/launcher/toolbar.js b/src/launcher/toolbar.js index 2e7fd2d0..a319d5ae 100644 --- a/src/launcher/toolbar.js +++ b/src/launcher/toolbar.js @@ -119,7 +119,7 @@ class Toolbar { start.visible = !serverStarted stop.visible = !!serverStarted newWindow.visible = !!serverStarted - menu.popup({window: remote.getCurrentWindow(), x: parseInt(PXSCALE), y: parseInt(39 * PXSCALE)}) + menu.popup({window: remote.getCurrentWindow(), x: parseInt(PXSCALE), y: parseInt(40 * PXSCALE)}) }) menu.on('menu-will-close', ()=>{ diff --git a/src/scss/colors/nord.scss b/src/scss/colors/nord.scss new file mode 100644 index 00000000..488b8fa4 --- /dev/null +++ b/src/scss/colors/nord.scss @@ -0,0 +1,235 @@ +// Copyright (c) 2016-present Arctic Ice Studio +// Copyright (c) 2016-present Sven Greb + +// Project: Nord +// Version: 0.2.0 +// Repository: https://github.com/arcticicestudio/nord +// License: MIT +// References: +// http://sass-lang.com +// http://sassdoc.com + +//// +/// An arctic, north-bluish color palette. +/// Created for the clean- and minimal flat design pattern to achieve a optimal focus and readability for code syntax +/// highlighting and UI. +/// It consists of a total of sixteen, carefully selected, dimmed pastel colors for a eye-comfortable, but yet colorful +/// ambiance. +/// +/// @author Arctic Ice Studio +//// + +/// Base component color of "Polar Night". +/// +/// Used for texts, backgrounds, carets and structuring characters like curly- and square brackets. +/// +/// @access public +/// @example scss - SCSS +/// /* For dark ambiance themes */ +/// .background { +/// background-color: $nord0; +/// } +/// /* For light ambiance themes */ +/// .text { +/// color: $nord0; +/// } +/// @group polarnight +/// @since 0.1.0 +$nord0: #2e3440; + +/// Lighter shade color of the base component color. +/// +/// Used as a lighter background color for UI elements like status bars. +/// +/// @access public +/// @group polarnight +/// @see $nord0 +/// @since 0.1.0 +$nord1: #3b4252; + +/// Lighter shade color of the base component color. +/// +/// Used as line highlighting in the editor. +/// In the UI scope it may be used as selection- and highlight color. +/// +/// @access public +/// @example scss - SCSS +/// /* Code Syntax Highlighting scope */ +/// .editor { +/// &.line { +/// background-color: $nord2; +/// } +/// } +/// +/// /* UI scope */ +/// button { +/// &:selected { +/// background-color: $nord2; +/// } +/// } +/// @group polarnight +/// @see $nord0 +/// @since 0.1.0 +$nord2: #434c5e; + +/// Lighter shade color of the base component color. +/// +/// Used for comments, invisibles, indent- and wrap guide marker. +/// In the UI scope used as pseudoclass color for disabled elements. +/// +/// @access public +/// @example scss - SCSS +/// /* Code Syntax Highlighting scope */ +/// .editor { +/// &.indent-guide, +/// &.wrap-guide { +/// &.marker { +/// color: $nord3; +/// } +/// } +/// } +/// .comment, +/// .invisible { +/// color: $nord3; +/// } +/// +/// /* UI scope */ +/// button { +/// &:disabled { +/// background-color: $nord3; +/// } +/// } +/// @group polarnight +/// @see $nord0 +/// @since 0.1.0 +$nord3: #4c566a; + +/// Base component color of "Snow Storm". +/// +/// Main color for text, variables, constants and attributes. +/// In the UI scope used as semi-light background depending on the theme shading design. +/// +/// @access public +/// @example scss - SCSS +/// /* For light ambiance themes */ +/// .background { +/// background-color: $nord4; +/// } +/// /* For dark ambiance themes */ +/// .text { +/// color: $nord4; +/// } +/// @group snowstorm +/// @since 0.1.0 +$nord4: #d8dee9; + +/// Lighter shade color of the base component color. +/// +/// Used as a lighter background color for UI elements like status bars. +/// Used as semi-light background depending on the theme shading design. +/// +/// @access public +/// @group snowstorm +/// @see $nord4 +/// @since 0.1.0 +$nord5: #e5e9f0; + +/// Lighter shade color of the base component color. +/// +/// Used for punctuations, carets and structuring characters like curly- and square brackets. +/// In the UI scope used as background, selection- and highlight color depending on the theme shading design. +/// +/// @access public +/// @group snowstorm +/// @see $nord4 +/// @since 0.1.0 +$nord6: #eceff4; + +/// Bluish core color. +/// +/// Used for classes, types and documentation tags. +/// +/// @access public +/// @group frost +/// @since 0.1.0 +$nord7: #8fbcbb; + +/// Bluish core accent color. +/// +/// Represents the accent color of the color palette. +/// Main color for primary UI elements and methods/functions. +/// +/// Can be used for +/// - Markup quotes +/// - Markup link URLs +/// +/// @access public +/// @group frost +/// @since 0.1.0 +$nord8: #88c0d0; + +/// Bluish core color. +/// +/// Used for language-specific syntactic/reserved support characters and keywords, operators, tags, units and +/// punctuations like (semi)colons,commas and braces. +/// +/// @access public +/// @group frost +/// @since 0.1.0 +$nord9: #81a1c1; + +/// Bluish core color. +/// +/// Used for markup doctypes, import/include/require statements, pre-processor statements and at-rules (`@`). +/// +/// @access public +/// @group frost +/// @since 0.1.0 +$nord10: #5e81ac; + +/// Colorful component color. +/// +/// Used for errors, git/diff deletion and linter marker. +/// +/// @access public +/// @group aurora +/// @since 0.1.0 +$nord11: #bf616a; + +/// Colorful component color. +/// +/// Used for annotations. +/// +/// @access public +/// @group aurora +/// @since 0.1.0 +$nord12: #d08770; + +/// Colorful component color. +/// +/// Used for escape characters, regular expressions and markup entities. +/// In the UI scope used for warnings and git/diff renamings. +/// +/// @access public +/// @group aurora +/// @since 0.1.0 +$nord13: #ebcb8b; + +/// Colorful component color. +/// +/// Main color for strings and attribute values. +/// In the UI scope used for git/diff additions and success visualizations. +/// +/// @access public +/// @group aurora +/// @since 0.1.0 +$nord14: #a3be8c; + +/// Colorful component color. +/// +/// Used for numbers. +/// +/// @access public +/// @group aurora +/// @since 0.1.0 +$nord15: #b48ead; diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index ca94e733..b51c4d63 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -2,37 +2,34 @@ $font: 'Roboto'; $font-mono: 'Roboto Mono'; $font-menu: sans-serif; -$base: rgb(25, 31, 42)!default; -$accent: rgb(82, 168, 255)!default; -$text: white!default; +@import '../colors/nord'; :root { --nav-height: 40rem; --grid-width: 10; + --color-background: #{$nord0}; + --color-ui-background: #{$nord1}; - --color-text: #{transparentize($text, .4)}; + --color-text: #{$nord4}; + --color-text-solid: #{$nord6}; - --color-background: #{$base}; - --color-ui-background: #{mix($base, black, 85)}; + + --color-accent: #{$nord8}; + + --color-context-menu: #{$nord6}; + --color-context-menu-text: #{$nord1}; + + + --alpha-scrollbar: 0.25; + --alpha-scrollbar-on: 0.75; + --scrollbar-size: 12rem; --color-grid: rgba(0,0,0, 0.1); --color-notification: #{rgba(black, 0.8)}; - - --color-context-menu: #fafafa; - --color-context-menu-text: #444; - - --alpha-scrollbar: 0.25; - --alpha-scrollbar-on: 0.5; - --scrollbar-size: 12rem; - - --color-text-solid: #{$text}; - --color-text: #{transparentize($text, .4)}; - - - --color-accent: #{$accent}; --color-widget: var(--color-accent); + } diff --git a/src/scss/ui/contextmenu.scss b/src/scss/ui/contextmenu.scss index b4c4e3f4..ec87e798 100644 --- a/src/scss/ui/contextmenu.scss +++ b/src/scss/ui/contextmenu.scss @@ -18,8 +18,10 @@ $line-height: 30rem; letter-spacing: normal; padding-top: 3rem; padding-bottom: 3rem; + margin-top:1rem; .context-menu { + margin-top:0; position: absolute; left:100%; top:-3rem; diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 5d3926c2..3a781301 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -1,4 +1,4 @@ -$header-height: 22rem; +$header-height: 30rem; $field-height: 22rem; $padding: 8rem; @@ -73,7 +73,7 @@ osc-inspector-field { osc-inspector-category { --alpha-fill: 0.5; - margin-top: 2rem; + margin-top: 1rem; display: block; padding: 0 8rem; @@ -92,7 +92,7 @@ osc-inspector-category { @include pseudo-fill($z: -1); &:after { - left:-($padding - 2); + left:-($padding - 1); right:-($padding - 1); } @@ -141,6 +141,8 @@ osc-inspector-category { osc-inspector-checkbox { + --alpha-fill:0.5; + line-height: $field-height; height: $field-height; width: $field-height; @@ -151,6 +153,7 @@ osc-inspector-checkbox { align-items: center; justify-content: center; margin-left: 4rem; + border: 2rem solid var(--color-background); i { // color: transparent; @@ -158,6 +161,7 @@ osc-inspector-checkbox { margin-top: -1rem; margin-left: 1rem; pointer-events: none; + font-size: 10rem; } &.on { position: relative; @@ -237,11 +241,8 @@ osc-inspector-color { --color-fill: var(--color-picker-value); --alpha-fill: 1; - --widget-padding: 4rem; + --widget-padding: 1rem; @include pseudo-fill(); - &:after { - - } } diff --git a/src/scss/ui/launcher.scss b/src/scss/ui/launcher.scss index 389addcc..6ce924ed 100644 --- a/src/scss/ui/launcher.scss +++ b/src/scss/ui/launcher.scss @@ -43,10 +43,14 @@ $warning: rgb(209, 154, 47); padding: 0; } - background-color: var(--color-ui-background); + border-top: 2rem solid var(--color-ui-background); max-height: calc(100% - var(--nav-height)); + background-color: var(--color-background); + osc-panel-inner { + background-color: var(--color-background); + } - --color-background: --color-ui-background; // scrollbar + // --color-background: --color-ui-background; // scrollbar } osc-panel-inner { @@ -112,6 +116,7 @@ osc-settings-checkbox, osc-settings-reset, osc-settings-file { width: 18rem; height: 18rem; background: var(--color-ui-background); + border: 0; --widget-padding: -1rem; i { color: var(--color-text); diff --git a/src/scss/ui/tree.scss b/src/scss/ui/tree.scss index fbd3cecd..4b503992 100644 --- a/src/scss/ui/tree.scss +++ b/src/scss/ui/tree.scss @@ -4,7 +4,7 @@ --widget-padding: -1rem; $padding: 16rem; - $line-height: 22rem; + $line-height: 30rem; padding: 0 $padding; diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index f00003a1..e1fb6832 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -35,6 +35,7 @@ osc-panel-container { z-index: 2; min-width: 0; width: 0; + box-shadow: 0 0 0 1rem var(--color-background); &:after { // hover trap to display toggle-button when closed @@ -121,9 +122,13 @@ osc-panel-container { background: var(--color-ui-background); font-size: 14rem; z-index: 2; - transition: transform 0.2s ease-out 0.1s; + transition: transform 0.2s ease-out 0.1s, border-color 0.2s ease-out 0.1s; will-change: transform; + border-style: solid; + border-width: 1rem; + border-color: transparent; + &:after { font-family: FontAwesome; line-height: 50rem; @@ -139,6 +144,7 @@ osc-panel-container { border-bottom-right-radius: 25rem; right: -25rem; transform: translateX(-25rem); + border-left-width: 0; &:after { content:"\f104"; margin-left: -4rem; @@ -149,6 +155,7 @@ osc-panel-container { border-bottom-left-radius: 25rem; left: -25rem; transform: translateX(25rem); + border-right-width: 0; &:after { @@ -205,8 +212,9 @@ osc-panel-container { } &:hover .toggle-button, .toggle-button:hover { - transition: transform 0.2s ease-out 0s; + transition: transform 0.2s ease-out 0s, border-color 0.2s ease-out 0s; transform: translateX(0) translateY(0); + border-color: var(--color-background); &:after { transition: opacity 0.1s ease-in 0.1s; opacity: 1; @@ -290,11 +298,11 @@ osc-panel-header { &:before { content: ""; position: absolute; - left: 1rem; - right: 1rem; - bottom: 2rem; + left: 0rem; + right: 0rem; + bottom: 1rem; opacity: var(--alpha-fill); - height: 4rem; + height: 2rem; background: var(--color-fill); z-index: 101; } @@ -334,6 +342,11 @@ osc-panel-content { bottom:0; } } + + border-bottom:1rem solid var(--color-background); + &:before { + bottom: 0; + } } #osc-container { diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 0c897076..0df937f7 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -149,6 +149,16 @@ } } +.tab-container.editing { + z-index: initial!important; + &:after { + display:none; + } +} +.tablink.editing:after { + margin: 2rem 2rem 4rem; +} + .panel-container { @@ -211,6 +221,12 @@ } +.root-container.editing { + &:after { + display:none; + } +} + .navigation { @@ -220,7 +236,7 @@ height:calc(var(--nav-height) - 1rem); flex-shrink:0; display: flex; - padding-bottom: 1rem; + // padding-bottom: 1rem; position: relative; &:before { @@ -272,7 +288,7 @@ right: 0rem; bottom: 0rem; opacity: var(--alpha-fill-on); - height: 4rem; + height: 2rem; background: var(--color-fill); z-index: 101; } @@ -290,7 +306,7 @@ flex-direction: column; height: 100%; padding-bottom: 0; - padding-right: 1rem; + // padding-right: 1rem; div { height: 100%; @@ -307,7 +323,7 @@ right: 0rem; bottom: 0rem; opacity: var(--alpha-fill-on); - width: 4rem; + width: 2rem; height: auto; background: var(--color-fill); z-index: 101; From c73f633a47f6b002f07413cf8bf9acd6df95f915 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:04:34 +0200 Subject: [PATCH 2217/2575] ui: tweak theme --- src/scss/ui/inspector.scss | 43 ++++++++++++++++++------------------ src/scss/ui/tree.scss | 2 +- src/scss/widgets/basics.scss | 6 ++--- 3 files changed, 25 insertions(+), 26 deletions(-) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 3a781301..eb40b3cb 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -1,4 +1,4 @@ -$header-height: 30rem; +$header-height: 28rem; $field-height: 22rem; $padding: 8rem; @@ -87,7 +87,7 @@ osc-inspector-category { cursor: pointer; // color: var(--color-ui-background); height: $header-height; - line-height: $header-height + 1; + line-height: $header-height; // padding: 0 8rem; @include pseudo-fill($z: -1); @@ -99,19 +99,13 @@ osc-inspector-category { &:before { position: relative; font-family: FontAwesome; - content: "\f04b"; + content: "\f078"; width: $field-height; text-align: left; display: inline-block; transform-origin: 2rem 3rem; - font-size: 7rem; width: 8rem; - height: 8rem; - line-height: 6rem; margin-right: 8rem; - top: -2rem; - transform: rotate(90deg); - transition: top .1s, transform .1s; } } @@ -122,8 +116,7 @@ osc-inspector-category { margin-bottom: 0; .category-header:before { - transform: rotate(0deg); - top: 0; + content: "\f054"; } osc-inspector-field { display: none; @@ -141,7 +134,12 @@ osc-inspector-category { osc-inspector-checkbox { - --alpha-fill:0.5; + --widget-padding: 0; + --color-fill: var(--color-ui-background); + --alpha-fill-off: 1; + --alpha-fill-on: 0.5; + + border-radius: 2rem; line-height: $field-height; height: $field-height; @@ -152,21 +150,23 @@ osc-inspector-checkbox { display: flex; align-items: center; justify-content: center; - margin-left: 4rem; border: 2rem solid var(--color-background); - i { // color: transparent; - opacity: 0.25; + opacity: 0.5; margin-top: -1rem; margin-left: 1rem; pointer-events: none; font-size: 10rem; } + + position: relative; + @include pseudo-fill($z: -1); + z-index: 1; + &.on { position: relative; - z-index: 1; - @include pseudo-fill($z: -1); + --color-fill: var(--color-widget); i { opacity: 1; color: var(--color-text-solid); @@ -184,7 +184,6 @@ osc-inspector-select { height: $field-height; width: $field-height; background: var(--color-background); - margin-left: 4rem; select { background: var(--color-background); // width: 100%; @@ -208,7 +207,7 @@ osc-inspector-select { } } &:after{ - content:"\f0d7"; + content:"\f107"; font-family: FontAwesome; position: absolute; line-height: $field-height; @@ -235,13 +234,15 @@ osc-inspector-color { height: $field-height; width: $field-height; background: var(--color-background); - margin-left: 4rem; cursor: pointer; + border-radius: 2rem; + + --color-fill: var(--color-picker-value); --alpha-fill: 1; - --widget-padding: 1rem; + --widget-padding: 2rem; @include pseudo-fill(); } diff --git a/src/scss/ui/tree.scss b/src/scss/ui/tree.scss index 4b503992..29aaca88 100644 --- a/src/scss/ui/tree.scss +++ b/src/scss/ui/tree.scss @@ -4,7 +4,7 @@ --widget-padding: -1rem; $padding: 16rem; - $line-height: 30rem; + $line-height: 28rem; padding: 0 $padding; diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 66fc87bb..e6ea2b3f 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -197,8 +197,7 @@ opacity: var(--alpha-stroke); margin: 1rem 0; &:after { - content:"\f0d7"; - margin-top: -1rem; + content:"\f107"; } } @@ -432,8 +431,7 @@ border-left: 1rem solid var(--color-stroke); opacity: var(--alpha-stroke); &:after { - content:"\f0d7"; - margin-top: -1rem; + content:"\f107"; } } From d055b22dd58caa385698eb7532fb7ff74ab4c67c Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:15:49 +0200 Subject: [PATCH 2218/2575] ui error/warning/success nord colors & launcher theming --- src/scss/themes/default.scss | 4 ++++ src/scss/ui/launcher.scss | 34 +++++++++++++++------------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index b51c4d63..154f796c 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -18,6 +18,9 @@ $font-menu: sans-serif; --color-accent: #{$nord8}; + --color-error: #{$nord11}; + --color-warning: #{$nord13}; + --color-success: #{$nord14}; --color-context-menu: #{$nord6}; --color-context-menu-text: #{$nord1}; @@ -32,4 +35,5 @@ $font-menu: sans-serif; --color-widget: var(--color-accent); + } diff --git a/src/scss/ui/launcher.scss b/src/scss/ui/launcher.scss index 6ce924ed..794da085 100644 --- a/src/scss/ui/launcher.scss +++ b/src/scss/ui/launcher.scss @@ -1,6 +1,3 @@ -$error: rgb(249, 88, 37); -$warning: rgb(209, 154, 47); - #osc-launcher { osc-panel-header { @@ -22,11 +19,12 @@ $warning: rgb(209, 154, 47); flex-direction: column; osc-panel-container.main { - background-color: var(--color-background); + background-color: var(--color-ui-background); min-height: 0; min-height: 40rem; osc-panel-content { padding: 8rem; + background-color: var(--color-ui-background); } } osc-panel-content { @@ -69,7 +67,7 @@ osc-settings-field { display: flex; flex-direction: row; margin: 2rem; - line-height: 20rem; + line-height: 22rem; position: relative; label { width: 100rem; @@ -83,7 +81,7 @@ osc-settings-field { } input { appearance: none; - background: var(--color-ui-background); + background: var(--color-background); flex: 1; padding: 0 4rem; width: 100rem; @@ -95,8 +93,7 @@ osc-settings-field { } &.error label { - color: $error; - opacity: 0.75; + color: var(--color-error); } &.restart label:after { content: ""; @@ -105,7 +102,7 @@ osc-settings-field { left:4rem; right:-4rem; bottom:0; - background: $warning; + background: var(--color-warning); opacity: 0.25; border-radius: 4rem; } @@ -113,17 +110,15 @@ osc-settings-field { osc-settings-checkbox, osc-settings-reset, osc-settings-file { @extend osc-inspector-checkbox; - width: 18rem; - height: 18rem; - background: var(--color-ui-background); - border: 0; + // width: 18rem; + // height: 18rem; --widget-padding: -1rem; i { color: var(--color-text); - opacity: 0.5; + opacity: 0.75; } &:hover i { - opacity: .75; + opacity: 1; } &.on { --alpha-fill: 0.5; @@ -132,6 +127,9 @@ osc-settings-checkbox, osc-settings-reset, osc-settings-file { opacity: 1; } } + &:last-child { + border-left: 0; + } } #osc-terminal { @@ -157,13 +155,11 @@ osc-settings-checkbox, osc-settings-reset, osc-settings-file { } .warning { - color: $warning; - opacity: 0.75; + color: var(--color-warning); } .error { - color: $error; - opacity: 0.75; + color: var(--color-error); } .trace { From 6b566abeb3836e157d39ea50127811477f2ae695 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:28:50 +0200 Subject: [PATCH 2219/2575] ui: invert inspector field label alignment & tweak field buttons --- src/scss/ui/inspector.scss | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index eb40b3cb..4f71a803 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -1,5 +1,5 @@ $header-height: 28rem; -$field-height: 22rem; +$field-height: 24rem; $padding: 8rem; #osc-inspector { @@ -13,15 +13,17 @@ osc-inspector-field { display: flex; flex-direction: row; line-height: $field-height; - margin-top: 4rem; + margin-top: 2rem; position: relative; label { width: 90rem; - order: 35; + // order: 35; + text-align: right; text-transform: none; - padding-left: 8rem; + padding-right: 8rem; cursor: help; + // background: rgba(white, 0.1); } textarea, input { @@ -59,7 +61,7 @@ osc-inspector-field { .computed-value { position: absolute; - right: 94rem; + right: 4rem; text-align: right; pointer-events: none; opacity: 0.5; @@ -136,8 +138,7 @@ osc-inspector-checkbox { --widget-padding: 0; --color-fill: var(--color-ui-background); - --alpha-fill-off: 1; - --alpha-fill-on: 0.5; + --alpha-fill: 1; border-radius: 2rem; @@ -150,7 +151,7 @@ osc-inspector-checkbox { display: flex; align-items: center; justify-content: center; - border: 2rem solid var(--color-background); + border: 1rem solid var(--color-background); i { // color: transparent; opacity: 0.5; @@ -159,7 +160,6 @@ osc-inspector-checkbox { pointer-events: none; font-size: 10rem; } - position: relative; @include pseudo-fill($z: -1); z-index: 1; @@ -167,6 +167,8 @@ osc-inspector-checkbox { &.on { position: relative; --color-fill: var(--color-widget); + --alpha-fill: 0.5; + i { opacity: 1; color: var(--color-text-solid); @@ -184,6 +186,8 @@ osc-inspector-select { height: $field-height; width: $field-height; background: var(--color-background); + cursor: pointer; + select { background: var(--color-background); // width: 100%; @@ -242,7 +246,7 @@ osc-inspector-color { --color-fill: var(--color-picker-value); --alpha-fill: 1; - --widget-padding: 2rem; + --widget-padding: 1rem; @include pseudo-fill(); } From 3a407ffc4215be23b57850c1b83a92bc625d615a Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:35:01 +0200 Subject: [PATCH 2220/2575] ui: launcher/inspector padding consistency --- src/scss/ui/inspector.scss | 4 +++- src/scss/ui/launcher.scss | 6 ++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 4f71a803..068af1d9 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -16,6 +16,9 @@ osc-inspector-field { margin-top: 2rem; position: relative; + --widget-padding: -1rem; + + label { width: 90rem; // order: 35; @@ -165,7 +168,6 @@ osc-inspector-checkbox { z-index: 1; &.on { - position: relative; --color-fill: var(--color-widget); --alpha-fill: 0.5; diff --git a/src/scss/ui/launcher.scss b/src/scss/ui/launcher.scss index 794da085..1ca55cdb 100644 --- a/src/scss/ui/launcher.scss +++ b/src/scss/ui/launcher.scss @@ -66,7 +66,7 @@ osc-settings { osc-settings-field { display: flex; flex-direction: row; - margin: 2rem; + margin: 1rem; line-height: 22rem; position: relative; label { @@ -110,9 +110,7 @@ osc-settings-field { osc-settings-checkbox, osc-settings-reset, osc-settings-file { @extend osc-inspector-checkbox; - // width: 18rem; - // height: 18rem; - --widget-padding: -1rem; + i { color: var(--color-text); opacity: 0.75; From 88b7fb320b1a1508c79762f14b3fe0cee28a3220 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:39:12 +0200 Subject: [PATCH 2221/2575] ui: inspector select width/pos --- src/scss/ui/inspector.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 068af1d9..2e21f3f9 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -197,13 +197,14 @@ osc-inspector-select { padding: 4rem 6rem; position: absolute; - left:0; + right:2rem; + width: 127rem; opacity: 0; optgroup { - background: var(--color-background); + background: var(--color-ui-background); font-weight: bold; option { - background: var(--color-ui-background); + background: var(--color-background); color: var(--color-text); margin-left: -4rem; font-weight: normal; From a330960a645a9c84c35d4817464080a5ef3fb16a Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:52:36 +0200 Subject: [PATCH 2222/2575] ui: back to bars menu icon --- src/scss/ui/toolbar.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scss/ui/toolbar.scss b/src/scss/ui/toolbar.scss index a723d45c..b6f316e3 100644 --- a/src/scss/ui/toolbar.scss +++ b/src/scss/ui/toolbar.scss @@ -12,15 +12,15 @@ osc-toolbar { cursor: pointer; &:after { transition: text-shadow .1s, color .1s; - content:"\f142"; + content:"\f0c9"; + font-size:13rem; font-family: FontAwesome; - line-height: calc(var(--size) + 4rem); + line-height: calc(var(--size) + 6rem); } &.on { &:after { color: var(--color-widget); - text-shadow: 0 0 8rem; } } } From 831dec6a6773368e54c761fe2c4174736951e2dc Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:54:07 +0200 Subject: [PATCH 2223/2575] ui: main menu position --- src/client/ui/ui-toolbar.js | 2 +- src/scss/ui/contextmenu.scss | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index 6863ede9..c34d1928 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -204,7 +204,7 @@ class UiToolbar extends UiWidget { super(options) this.menu = new ContextMenu({ - position: [39, 1] + position: [40, 1] }) this.opened = false this.menu.bindShortcuts(menuEntries) diff --git a/src/scss/ui/contextmenu.scss b/src/scss/ui/contextmenu.scss index ec87e798..b4c4e3f4 100644 --- a/src/scss/ui/contextmenu.scss +++ b/src/scss/ui/contextmenu.scss @@ -18,10 +18,8 @@ $line-height: 30rem; letter-spacing: normal; padding-top: 3rem; padding-bottom: 3rem; - margin-top:1rem; .context-menu { - margin-top:0; position: absolute; left:100%; top:-3rem; From 0a2936b7de35bbc8d6a75551f8cdb0dbe3d51473 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 15:58:53 +0200 Subject: [PATCH 2224/2575] theme: orange theme adapt --- src/scss/themes/orange.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/scss/themes/orange.scss b/src/scss/themes/orange.scss index c2333323..ed992a66 100644 --- a/src/scss/themes/orange.scss +++ b/src/scss/themes/orange.scss @@ -1,4 +1,7 @@ -$base: #181818; -$accent: #d98533; - @import 'default'; + +:root { + --color-background: #404040; + --color-ui-background: #505050; + --color-accent: #d98533; +} From a89c4ae729edf963e8cfadb151bc7aa7222926e7 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 16:07:38 +0200 Subject: [PATCH 2225/2575] theme: add dark --- src/scss/themes/dark.scss | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/scss/themes/dark.scss diff --git a/src/scss/themes/dark.scss b/src/scss/themes/dark.scss new file mode 100644 index 00000000..c1ce32e4 --- /dev/null +++ b/src/scss/themes/dark.scss @@ -0,0 +1,7 @@ +@import 'default'; + +:root { + --color-background: #21252b; + --color-ui-background: #2c313a; + --color-accent: #6db5fd; +} From cd8b29c68994c0065f0ab6b9c293673929a769ef Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 17:08:35 +0200 Subject: [PATCH 2226/2575] settings: fix appAddress vs ssl when using launcher --- 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 598f7ba6..84673cd2 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -159,5 +159,5 @@ module.exports = { cli: cli, configPath: baseDir, infos: infos, - appAddresses: ()=>address(settings.options['use-ssl'] ? 'https://' : 'http://', settings.options.port || 8080) + appAddresses: ()=>address(module.exports.read('use-ssl') ? 'https://' : 'http://', settings.options.port || 8080) } From fd25bd2ba37ae18e7cb6e5a018bf535a8d27ecc1 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 13 May 2020 18:01:35 +0200 Subject: [PATCH 2227/2575] theme: dark by default; "nord" as option --- src/scss/themes/dark.scss | 7 ------- src/scss/themes/default.scss | 10 +++++----- src/scss/themes/nord.scss | 7 +++++++ 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 src/scss/themes/dark.scss create mode 100644 src/scss/themes/nord.scss diff --git a/src/scss/themes/dark.scss b/src/scss/themes/dark.scss deleted file mode 100644 index c1ce32e4..00000000 --- a/src/scss/themes/dark.scss +++ /dev/null @@ -1,7 +0,0 @@ -@import 'default'; - -:root { - --color-background: #21252b; - --color-ui-background: #2c313a; - --color-accent: #6db5fd; -} diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index 154f796c..37c3a96b 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -10,14 +10,16 @@ $font-menu: sans-serif; --nav-height: 40rem; --grid-width: 10; - --color-background: #{$nord0}; - --color-ui-background: #{$nord1}; + + --color-background: #21252b; + --color-ui-background: #2c313a; + --color-accent: #6db5fd; --color-text: #{$nord4}; --color-text-solid: #{$nord6}; - --color-accent: #{$nord8}; + --color-accent: #6db5fd; --color-error: #{$nord11}; --color-warning: #{$nord13}; --color-success: #{$nord14}; @@ -34,6 +36,4 @@ $font-menu: sans-serif; --color-notification: #{rgba(black, 0.8)}; --color-widget: var(--color-accent); - - } diff --git a/src/scss/themes/nord.scss b/src/scss/themes/nord.scss new file mode 100644 index 00000000..401f95db --- /dev/null +++ b/src/scss/themes/nord.scss @@ -0,0 +1,7 @@ +@import 'default'; + +:root { + --color-background: #{$nord0}; + --color-ui-background: #{$nord1}; + --color-accent: #{$nord8}; +} From 6fa9615c18a1d31186089c0e364b47790dfb4ae3 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 01:30:24 +0200 Subject: [PATCH 2228/2575] ui: cropped bar icon = px perfect dot icon --- src/scss/ui/inspector.scss | 10 +++++++--- src/scss/ui/toolbar.scss | 9 +++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 2e21f3f9..a75a6e7a 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -143,7 +143,6 @@ osc-inspector-checkbox { --color-fill: var(--color-ui-background); --alpha-fill: 1; - border-radius: 2rem; line-height: $field-height; height: $field-height; @@ -167,6 +166,10 @@ osc-inspector-checkbox { @include pseudo-fill($z: -1); z-index: 1; + &:after { + border-radius: 2rem; + } + &.on { --color-fill: var(--color-widget); --alpha-fill: 0.5; @@ -244,14 +247,15 @@ osc-inspector-color { cursor: pointer; - border-radius: 2rem; --color-fill: var(--color-picker-value); --alpha-fill: 1; --widget-padding: 1rem; @include pseudo-fill(); - + &:after { + border-radius: 2rem; + } } .color-picker-modal { diff --git a/src/scss/ui/toolbar.scss b/src/scss/ui/toolbar.scss index b6f316e3..deb3df59 100644 --- a/src/scss/ui/toolbar.scss +++ b/src/scss/ui/toolbar.scss @@ -11,8 +11,10 @@ osc-toolbar { z-index: 99999999; cursor: pointer; &:after { - transition: text-shadow .1s, color .1s; content:"\f0c9"; + width: 3rem; + display: inline-block; + overflow: hidden; font-size:13rem; font-family: FontAwesome; line-height: calc(var(--size) + 6rem); @@ -29,7 +31,10 @@ osc-toolbar#start { left: var(--size); &:after { - content: "\f04b" + font-size: 11rem; + content: "\f04b"; + width: auto; + margin-top:-1rem; } &.started:after { content: "\f04d"; From 490f14b6662cef00aed9fa60e0deaa1c03ce416c Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 01:37:05 +0200 Subject: [PATCH 2229/2575] inspector: fold all categories by default --- src/client/ui/ui-inspector.js | 14 +++++++------- src/scss/ui/inspector.scss | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 777fedbc..3057f78e 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -18,7 +18,7 @@ class UiInspector extends UiWidget { this.mounted = false - this.foldedCategories = [] + this.expandedCategories = ['widget'] this.widget = null @@ -26,12 +26,12 @@ class UiInspector extends UiWidget { if (e.target.classList.contains('category-header')) { var name = e.target.getAttribute('data-name'), - foldedIndex = this.foldedCategories.indexOf(name) - e.target.parentNode.classList.toggle('folded', foldedIndex < 0) - if (foldedIndex > -1) { - this.foldedCategories.splice(foldedIndex, 1) + expandedIndex = this.expandedCategories.indexOf(name) + e.target.parentNode.classList.toggle('expanded', expandedIndex < 0) + if (expandedIndex > -1) { + this.expandedCategories.splice(expandedIndex, 1) } else { - this.foldedCategories.push(name) + this.expandedCategories.push(name) } } @@ -135,7 +135,7 @@ class UiInspector extends UiWidget { if (category) content.appendChild(category) - category = html`` + category = html`` field = html`
        ${props[propName]}${propName === '_widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
        ` diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index a75a6e7a..81d353e0 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -115,7 +115,7 @@ osc-inspector-category { } - &.folded { + &:not(.expanded) { --alpha-fill: 0.10; margin-bottom: 0; From ae0d8968a99871f9e2d182d29108c4220f7ad7a0 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 10:08:23 +0200 Subject: [PATCH 2230/2575] ui: add --color-ui-button variable, adapt modal's theme, show prop name in color picker --- src/client/ui/ui-colorpicker.js | 2 ++ src/scss/themes/default.scss | 1 + src/scss/themes/nord.scss | 1 + src/scss/ui/button.scss | 4 +++- src/scss/ui/filebrowser.scss | 22 ++++++++--------- src/scss/ui/inspector.scss | 42 ++++++++++++++++++++------------- src/scss/ui/modal.scss | 4 ++-- 7 files changed, 46 insertions(+), 30 deletions(-) diff --git a/src/client/ui/ui-colorpicker.js b/src/client/ui/ui-colorpicker.js index a21a7b79..de24049e 100644 --- a/src/client/ui/ui-colorpicker.js +++ b/src/client/ui/ui-colorpicker.js @@ -58,11 +58,13 @@ class ColorPicker extends UiWidget { // }) this.opened = 0 + this.label = DOM.get(this.modal.container, '.title')[0] } open() { + this.label.innerHTML = this.name this.modal.open() resize.check(this.rgb.container) this.opened = 1 diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index 37c3a96b..2997ce9a 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -13,6 +13,7 @@ $font-menu: sans-serif; --color-background: #21252b; --color-ui-background: #2c313a; + --color-ui-button: #{$nord1}; --color-accent: #6db5fd; --color-text: #{$nord4}; diff --git a/src/scss/themes/nord.scss b/src/scss/themes/nord.scss index 401f95db..f9afb9f6 100644 --- a/src/scss/themes/nord.scss +++ b/src/scss/themes/nord.scss @@ -3,5 +3,6 @@ :root { --color-background: #{$nord0}; --color-ui-background: #{$nord1}; + --color-ui-button: #{$nord3}; --color-accent: #{$nord8}; } diff --git a/src/scss/ui/button.scss b/src/scss/ui/button.scss index 1b3e777e..5c975943 100644 --- a/src/scss/ui/button.scss +++ b/src/scss/ui/button.scss @@ -1,11 +1,13 @@ .btn { background: var(--color-background); display: block; - padding:15rem; + padding: 0 15rem; + border-radius: 2rem; position: relative; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; + text-align: center; cursor: pointer; &.disabled { pointer-events: none; diff --git a/src/scss/ui/filebrowser.scss b/src/scss/ui/filebrowser.scss index 1fa63422..3c0f312f 100644 --- a/src/scss/ui/filebrowser.scss +++ b/src/scss/ui/filebrowser.scss @@ -11,8 +11,7 @@ $padding: 8rem; flex-shrink: 0; line-height: 40rem; padding-left: $padding; - background: var(--color-background); - margin-bottom: 2rem; + background: var(--color-ui-button); } .file-list { @@ -20,6 +19,7 @@ $padding: 8rem; flex:1; background: var(--color-background); padding: 0 $padding; + margin: 1rem 0; } .file { position: relative; @@ -62,31 +62,31 @@ $padding: 8rem; display: flex; flex-direction: row; align-items: flex-end; - justify-content: flex-end; - height: 40rem; + justify-content: stretch; + height: 42rem + $padding * 2; + line-height: 38rem; flex-shrink: 0; - margin-top: $padding; - div { - margin-left: $padding; + border: $padding solid var(--color-ui-background); + padding: 1rem; + .btn, input { + margin: 1rem;; text-overflow: clip; min-width: 0; + background: var(--color-ui-button); } i { pointer-events: none; } .save-as { flex:1; - height: 40rem; - line-height: 40rem; border: 0; padding: 0 10rem; font-size: 120%; - top: -1rem; position: relative; background: var(--color-background); min-width: 0; &[disabled] { - display: none + visibility: hidden; } } } diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 81d353e0..9b292870 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -77,7 +77,6 @@ osc-inspector-field { osc-inspector-category { - --alpha-fill: 0.5; margin-top: 1rem; display: block; padding: 0 8rem; @@ -90,7 +89,6 @@ osc-inspector-category { position: relative; text-transform: none; cursor: pointer; - // color: var(--color-ui-background); height: $header-height; line-height: $header-height; // padding: 0 8rem; @@ -104,7 +102,7 @@ osc-inspector-category { &:before { position: relative; font-family: FontAwesome; - content: "\f078"; + content: "\f054"; width: $field-height; text-align: left; display: inline-block; @@ -115,16 +113,22 @@ osc-inspector-category { } - &:not(.expanded) { + osc-inspector-field { + display: none; + } + --alpha-fill: 1; + --color-fill: var(--color-ui-button); - --alpha-fill: 0.10; - margin-bottom: 0; + &.expanded { + // --alpha-fill: 1; + --alpha-fill: 0.5; + --color-fill: var(--color-widget); .category-header:before { - content: "\f054"; + content: "\f078"; } osc-inspector-field { - display: none; + display: flex; } } @@ -140,10 +144,9 @@ osc-inspector-category { osc-inspector-checkbox { --widget-padding: 0; - --color-fill: var(--color-ui-background); + --color-fill: var(--color-ui-button); --alpha-fill: 1; - line-height: $field-height; height: $field-height; width: $field-height; @@ -267,19 +270,26 @@ osc-inspector-color { .widget { background: var(--color-background); flex: 1; - width: 100%; + width: auto; + margin: 8rem; } .actions { - margin-top: 8rem; display: flex; flex-direction: row; + align-items: flex-end; + justify-content: stretch; + height: 42rem + $padding * 2; + line-height: 38rem; + flex-shrink: 0; + border: $padding solid var(--color-ui-background); + padding: 1rem; .btn { flex: 1; - text-align: center; - } - :first-child { - margin-right: 8rem; + margin: 1rem;; + text-overflow: clip; + min-width: 0; + background: var(--color-ui-button); } } diff --git a/src/scss/ui/modal.scss b/src/scss/ui/modal.scss index 7b89392d..be085193 100644 --- a/src/scss/ui/modal.scss +++ b/src/scss/ui/modal.scss @@ -76,7 +76,7 @@ $padding: 8rem; } } .popup-wrapper { - background: var(--color-ui-background); + background: var(--color-background); display: flex; flex-direction: column; align-items: stretch; @@ -92,7 +92,7 @@ $padding: 8rem; .popup-content { flex:1; width: auto; - padding: 2rem $padding $padding; + // padding: 2rem $padding $padding; min-height: 0; display: flex; } From 933c956e1772ac6684d614dfb3c782b3b549e59c Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 10:11:14 +0200 Subject: [PATCH 2231/2575] theme: orange --color-ui-button --- src/scss/themes/orange.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scss/themes/orange.scss b/src/scss/themes/orange.scss index ed992a66..bb52f76f 100644 --- a/src/scss/themes/orange.scss +++ b/src/scss/themes/orange.scss @@ -3,5 +3,6 @@ :root { --color-background: #404040; --color-ui-background: #505050; + --color-ui-button: #606060; --color-accent: #d98533; } From 56a6641c462e41f11315376cab6808050de0ad36 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 10:56:53 +0200 Subject: [PATCH 2232/2575] docs: update & credit nord & atom --- resources/docs/docs/credits.md | 2 ++ resources/docs/docs/customization/themes.md | 1 + 2 files changed, 3 insertions(+) diff --git a/resources/docs/docs/credits.md b/resources/docs/docs/credits.md index 2661279c..c77a94ff 100644 --- a/resources/docs/docs/credits.md +++ b/resources/docs/docs/credits.md @@ -9,6 +9,8 @@ Open Stage Control relies on several other free softwares: https://github.com/jean-emmanuel/open-stage-control/network/dependencies +The default theme is based on [Nord](https://www.nordtheme.com/), some UI components are inspired by the [Atom](https://atom.io/) text editor. + ## Contributors https://github.com/jean-emmanuel/open-stage-control/graphs/contributors diff --git a/resources/docs/docs/customization/themes.md b/resources/docs/docs/customization/themes.md index 01dc5840..de3c19ab 100644 --- a/resources/docs/docs/customization/themes.md +++ b/resources/docs/docs/customization/themes.md @@ -4,6 +4,7 @@ Themes can be loaded with the `--theme` option. Multiple themes can be combined. Available themes (full color scheme): +- `nord`: arctic color palette (https://www.nordtheme.com/) - `orange`: grey and orange theme ## Creating a custom theme From 5ef59b16aa553745b749d2b5a87b8ded50a81edb Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 11:06:52 +0200 Subject: [PATCH 2233/2575] launcher: wait for 'server started' to open default client --- src/server/index.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/server/index.js b/src/server/index.js index 37bfa278..a2c3440d 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -171,9 +171,13 @@ if (settings.cli) { launcher.webContents.send('server-started') if (!settings.read('no-gui')) { - global.serverProcess.stdout.once('data', (data) => { - global.clientWindows.push(openClient()) - }) + function cb(data) { + if (data.indexOf('Server started') > -1) { + global.clientWindows.push(openClient()) + global.serverProcess.stdout.off('data', cb) + } + } + global.serverProcess.stdout.on('data', cb) } global.serverProcess.stdout.on('data', (data) => { From 49fae0b677526579bb8634661fee034d0b153a0f Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 11:31:31 +0200 Subject: [PATCH 2234/2575] inspector: display transparent colors & ensure color picker is always visible --- src/client/ui/ui-inspector-field.js | 4 ++-- src/scss/ui/inspector.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/ui/ui-inspector-field.js b/src/client/ui/ui-inspector-field.js index 2d11d8f0..3530dbf8 100644 --- a/src/client/ui/ui-inspector-field.js +++ b/src/client/ui/ui-inspector-field.js @@ -95,10 +95,10 @@ class UiInspectorField extends UiWidget { let style = window.getComputedStyle(this.widget.container), colorData = this.widget.constructor.cssVariables.find(x=>x.js === this.name), - val = '#000' + val = 'transparent' try { - val = chroma(style.getPropertyValue(colorData.css).trim()).hex('rgb') + val = chroma(style.getPropertyValue(colorData.css).trim()).hex('rgba') } catch(e) {} let picker = html`` diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 9b292870..d64d8599 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -258,6 +258,7 @@ osc-inspector-color { @include pseudo-fill(); &:after { border-radius: 2rem; + border: 1rem solid var(--color-ui-button) } } From 2b7c74b468801fd558b8d0eaba3c15622de89667 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 11:39:23 +0200 Subject: [PATCH 2235/2575] lancher: ui tweak --- src/scss/ui/launcher.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scss/ui/launcher.scss b/src/scss/ui/launcher.scss index 1ca55cdb..f5361984 100644 --- a/src/scss/ui/launcher.scss +++ b/src/scss/ui/launcher.scss @@ -74,6 +74,8 @@ osc-settings-field { text-align: right; margin-right: 8rem; position: relative; + line-height: 24rem; + height: 22rem; cursor: help; span { opacity: 0.5; @@ -98,7 +100,7 @@ osc-settings-field { &.restart label:after { content: ""; position: absolute; - top:0; + top:1rem; left:4rem; right:-4rem; bottom:0; From ccab14d961b39b44fa718d5e08d95fba82d61c00 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 13:27:48 +0200 Subject: [PATCH 2236/2575] compat: add some conversion cases --- src/client/managers/session/session.js | 17 +++++++++++++++++ src/client/ui/ui-colorpicker.js | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index e26c0d78..87c6bc97 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -122,9 +122,26 @@ var converters = [ break + case 'tab': + case 'panel': + case 'root': + if (data.widgets && data.widgets.length) { + data.innerPadding = false + data.padding = 0 + data.alphaStroke = 0 + } + break + case 'strip': data.type = 'panel' data.layout = data.horizontal ? 'horizontal' : 'vertical' + data.alphaStroke = 0 + if (data.spacing) { + data.padding = data.spacing + } else { + data.innerPadding = false + data.padding = 0 + } break case 'matrix': diff --git a/src/client/ui/ui-colorpicker.js b/src/client/ui/ui-colorpicker.js index de24049e..886a2979 100644 --- a/src/client/ui/ui-colorpicker.js +++ b/src/client/ui/ui-colorpicker.js @@ -64,7 +64,7 @@ class ColorPicker extends UiWidget { open() { - this.label.innerHTML = this.name + this.label.innerHTML = this.name this.modal.open() resize.check(this.rgb.container) this.opened = 1 From dcb0717ecffbe03c19f36695448f568915886165 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 13:40:20 +0200 Subject: [PATCH 2237/2575] package: remove obsolete examples --- app/examples/ardour.json | 3787 --------------------- app/examples/demo.json | 959 ------ app/examples/keys.json | 168 - app/examples/svg.json | 88 - app/examples/sysex.json | 102 - resources/docs/docs/midi/midi-messages.md | 4 - 6 files changed, 5108 deletions(-) delete mode 100644 app/examples/ardour.json delete mode 100644 app/examples/demo.json delete mode 100644 app/examples/keys.json delete mode 100644 app/examples/svg.json delete mode 100644 app/examples/sysex.json diff --git a/app/examples/ardour.json b/app/examples/ardour.json deleted file mode 100644 index ae064466..00000000 --- a/app/examples/ardour.json +++ /dev/null @@ -1,3787 +0,0 @@ -{ - "type": "root", - "tabs": [ - { - "type": "tab", - "id": "settings_tab", - "linkId": "", - "label": "Settings", - "color": "auto", - "css": "", - "default": "", - "value": "", - "precision": 0, - "address": "/tab_1", - "preArgs": [], - "target": [], - "bypass": false, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "strip", - "widgets": [ - { - "type": "strip", - "id": "greeter", - "linkId": "", - "height": 40, - "label": false, - "color": "auto", - "css": "", - "scroll": true, - "border": true, - "spacing": 0, - "address": "/panel_1", - "preArgs": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "svg", - "id": "logo", - "linkId": "", - "label": false, - "css": "--color-track:transparent", - "svg": "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n", - "preArgs": [], - "address": "/svg_1", - "width": 50, - "default": "", - "value": "", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "text", - "id": "greeter_text", - "linkId": "", - "label": false, - "color": "auto", - "css": "flex:1", - "vertical": false, - "wrap": false, - "align": "", - "default": "", - "value": "Ardour Control", - "preArgs": [], - "address": "/text_4", - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "image", - "id": "osc_logo", - "linkId": "", - "width": 50, - "label": false, - "css": "", - "default": "", - "value": "/assets/favicon.png", - "address": "/fader_13", - "preArgs": [], - "size": "60%", - "position": "center", - "repeat": "no-repeat", - "border": true, - "cache": true, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "horizontal": true, - "stretch": false, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "strip_types_select", - "label": "strip types", - "height": 80, - "color": "auto", - "css": "", - "widgets": [ - { - "type": "toggle", - "id": "strip_type_1", - "linkId": "", - "label": "Audio", - "color": "auto", - "css": "", - "on": 1, - "off": 0, - "value": 1, - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_1", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_2", - "label": "Midi", - "color": "auto", - "css": "", - "on": 2, - "off": 0, - "value": 2, - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_2", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_3", - "label": "AudioBus", - "color": "auto", - "css": "", - "on": 4, - "off": 0, - "value": 4, - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_3", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_4", - "label": "MidiBus", - "color": "auto", - "css": "", - "on": 8, - "off": 0, - "value": 8, - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_4", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_5", - "label": "VCA", - "color": "auto", - "css": "", - "on": 16, - "off": 0, - "value": 16, - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_5", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_6", - "label": "Master", - "color": "auto", - "css": "", - "on": 32, - "off": 0, - "value": "", - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_6", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_7", - "label": "Monitor", - "color": "auto", - "css": "", - "on": 64, - "off": 0, - "value": "", - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_7", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_8", - "label": "Aux", - "color": "auto", - "css": "", - "on": 128, - "off": 0, - "value": 128, - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_8", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_9", - "label": "Selected", - "color": "auto", - "on": 256, - "off": 0, - "value": "", - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_9", - "linkId": "", - "css": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "strip_type_10", - "label": "Hidden", - "color": "auto", - "css": "", - "on": 512, - "off": 0, - "value": "", - "precision": 2, - "preArgs": [], - "target": [ - null - ], - "address": "/strip_type_10", - "linkId": "", - "led": false, - "doubleTap": false, - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "input", - "id": "trip_type_bitsum", - "linkId": "", - "label": "bits", - "color": "auto", - "css": ".label{height:25rem}", - "precision": 0, - "address": "/set_surface/strip_types", - "preArgs": [], - "target": [], - "unit": "", - "vertical": false, - "editable": false, - "value": "#{\n@{strip_type_1} + \n@{strip_type_2} + \n@{strip_type_3} + \n@{strip_type_4} + \n@{strip_type_5} + \n@{strip_type_6} + \n@{strip_type_7} + \n@{strip_type_8} + \n@{strip_type_9} + \n@{strip_type_10}\n}", - "align": "", - "default": "", - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "horizontal": true, - "stretch": true, - "spacing": 0, - "variables": {}, - "border": true, - "scroll": true, - "address": "/strip_types_select", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "widgets": [ - { - "type": "switch", - "id": "bank_size", - "linkId": "", - "label": "Bank size", - "height": 80, - "color": "auto", - "css": "", - "horizontal": true, - "address": "/set_surface/bank_size", - "default": 6, - "value": "", - "precision": 0, - "preArgs": [], - "target": [], - "bypass": false, - "showValues": false, - "values": [ - 6, - 8, - 10, - 12 - ], - "left": "auto", - "top": "auto", - "width": "auto", - "traversing": true - } - ], - "label": false, - "id": "bank_size_wrapper", - "linkId": "", - "height": 80, - "color": "auto", - "css": "", - "scroll": true, - "horizontal": false, - "stretch": false, - "border": true, - "spacing": 0, - "variables": "@{parent.variables}", - "preArgs": [], - "address": "/bank_size_wrapper", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "display_layout", - "linkId": "", - "height": 80, - "label": "Layout options", - "color": "auto", - "css": "", - "scroll": true, - "border": true, - "spacing": 0, - "address": "/panel_13", - "preArgs": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "display_session_name", - "linkId": "", - "label": "Session name", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_session_name", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_transport", - "linkId": "", - "label": "Transport", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_transport", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_monitor", - "linkId": "", - "label": "Monitor", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_monitor", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "horizontal": true, - "stretch": true, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "display_strip", - "linkId": "", - "height": 80, - "label": "Strip options", - "color": "auto", - "css": "", - "scroll": true, - "border": true, - "spacing": 0, - "address": "/panel_13", - "preArgs": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "display_trim", - "linkId": "", - "label": "Trim", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_trim", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_recbar", - "linkId": "", - "label": "Rec / Mic / Disk", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_recbar", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": 100, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_input", - "linkId": "", - "label": "Gain Input", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_pan", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_pan", - "linkId": "", - "label": "Pan", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_pan", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_expand", - "linkId": "", - "label": "SelÂČ", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_expand", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_compact_faders", - "linkId": "", - "label": "Compact", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": "", - "value": "", - "precision": 2, - "address": "/display_compact_faders", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "horizontal": true, - "stretch": true, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "display_selected", - "linkId": "", - "height": 80, - "label": "Select options", - "color": "auto", - "css": "", - "scroll": true, - "border": true, - "spacing": 0, - "address": "/panel_13", - "preArgs": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "display_polarity_sel", - "linkId": "", - "label": "Polarity", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_polarity_sel", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_trim_sel", - "linkId": "", - "label": "Trim", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_trim_sel", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_recbar_sel", - "linkId": "", - "label": "Rec / Mic / Disk", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_recbar_sel", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "display_pan_sel", - "linkId": "", - "label": "Pan", - "color": "auto", - "css": "", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": 1, - "value": "", - "precision": 2, - "address": "/display_pan_sel", - "preArgs": [], - "target": [ - null - ], - "bypass": false, - "width": "auto", - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "horizontal": true, - "stretch": true, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "panel", - "id": "spacer", - "linkId": "", - "height": "auto", - "label": false, - "color": "auto", - "css": "flex:1", - "scroll": true, - "border": true, - "default": "", - "value": "", - "precision": 0, - "address": "/panel_2", - "preArgs": [], - "target": [], - "bypass": false, - "variables": "@{parent.variables}", - "widgets": [], - "tabs": [], - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "push", - "id": "connect", - "label": "Connect", - "css": "", - "on": null, - "off": 0, - "precision": 0, - "target": [], - "color": "auto", - "preArgs": "#{\nf = 1 + 2 + 16 + 128 + 8192 + 16384;\n@{display_transport}==1?f=f+64:\"\";\n}\n\n[\n @{bank_size},\n @{trip_type_bitsum},\n #{f},\n 0,\n 0,\n 1\n]", - "norelease": true, - "address": "/set_surface", - "linkId": "", - "bypass": false, - "height": 70, - "left": "auto", - "top": "auto", - "width": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "panel", - "id": "hidden_utils", - "linkId": "", - "height": "auto", - "label": false, - "color": "auto", - "css": "display:none;", - "default": "", - "value": "", - "precision": 2, - "address": "/fader_13", - "preArgs": [], - "target": [], - "bypass": false, - "scroll": true, - "border": true, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "text", - "id": "loading", - "linkId": "", - "left": "auto", - "top": "auto", - "width": "auto", - "height": "auto", - "label": false, - "color": "transparent", - "css": "*{background:transparent}", - "default": "", - "value": "
        ", - "address": "/fader_14", - "preArgs": [], - "vertical": false, - "wrap": false, - "align": "" - } - ], - "tabs": [], - "left": "auto", - "top": "auto", - "width": "auto" - } - ], - "label": false, - "top": 0, - "left": "auto", - "id": "strip_2", - "linkId": "", - "width": "100%", - "height": "100%", - "color": "auto", - "css": "", - "scroll": true, - "horizontal": false, - "stretch": false, - "border": true, - "spacing": 0, - "variables": "@{parent.variables}", - "preArgs": [], - "address": "/strip_2", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "tabs": [] - } - ], - "tabs": [], - "scroll": true - }, - { - "label": "mixer", - "widgets": [ - { - "type": "strip", - "top": 0, - "left": 0, - "id": "mixer_main", - "label": false, - "width": "100%", - "height": "100%", - "scroll": true, - "color": "auto", - "css": "", - "spacing": 0, - "variables": {}, - "widgets": [ - { - "type": "text", - "id": "sess_name", - "label": false, - "height": 40, - "vertical": false, - "css": "#{\n@{display_session_name}==0?\"display:none\":\"\"\n}", - "preArgs": [], - "value": " ", - "address": "/session_name", - "color": "auto", - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "strip", - "id": "transport", - "label": false, - "height": 40, - "color": "auto", - "widgets": [ - { - "type": "fader", - "id": "shttl", - "label": false, - "alignRight": false, - "horizontal": true, - "compact": true, - "color": "auto", - "snap": false, - "spring": true, - "range": { - "min": -8, - "max": 8 - }, - "origin": 0, - "value": "", - "logScale": false, - "precision": 2, - "meter": false, - "address": "/set_transport_speed", - "preArgs": [], - "target": [], - "touchAddress": "", - "meterAddress": "", - "pips": false, - "input": false, - "dashed": false, - "doubleTap": false, - "unit": "", - "width": 114, - "css": "", - "linkId": "", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - }, - { - "type": "push", - "id": "zero", - "linkId": "", - "label": "^step-backward", - "css": "margin: 3rem 2rem", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "color": "auto", - "norelease": true, - "address": "/goto_start", - "width": 55, - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "push", - "id": "end", - "linkId": "", - "label": "^step-forward", - "css": "margin: 3rem 2rem", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "color": "auto", - "norelease": true, - "address": "/goto_end", - "width": 55, - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "push", - "id": "play", - "linkId": "", - "label": "^play", - "color": "lime", - "css": "margin: 3rem 2rem", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "norelease": true, - "address": "/transport_play", - "width": 55, - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "push", - "id": "transport_stop", - "linkId": "", - "label": "^stop", - "color": "red", - "css": "margin: 3rem 2rem", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "norelease": true, - "address": "/transport_stop", - "width": 55, - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "push", - "id": "masterrec", - "linkId": "", - "label": "^circle", - "color": "red", - "css": "margin: 3rem 2rem", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "norelease": true, - "address": "/rec_enable_toggle", - "width": 55, - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "text", - "id": "time", - "label": false, - "vertical": false, - "css": "font-size:120%; flex:4", - "preArgs": [], - "value": "00:00:00:00", - "address": "/position/smpte", - "width": 100, - "color": "auto", - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "variables": {}, - "border": false, - "css": "#{\n@{display_transport}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": false, - "spacing": 4, - "scroll": false, - "address": "/transport", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "widgets": [ - { - "type": "strip", - "id": "strip_scroll_panel", - "label": false, - "color": "auto", - "spacing": 0, - "variables": { - "n": 1 - }, - "widgets": [ - { - "type": "strip", - "id": "channel_strip", - "label": false, - "css": "", - "widgets": [ - { - "type": "text", - "id": "chan_@{parent.variables.n}", - "label": false, - "height": 40, - "css": "", - "preArgs": [ - "@{parent.variables.n}" - ], - "vertical": false, - "address": "/strip/name", - "value": "@{parent.variables.n}", - "color": "auto", - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "strip", - "id": "trim_@{parent.variables.n}", - "label": false, - "height": 60, - "color": "auto", - "css": "#{\n@{display_trim}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "strip", - "id": "trim_meta_@{parent.variables.n}", - "label": false, - "width": 50, - "color": "auto", - "horizontal": false, - "stretch": true, - "border": false, - "spacing": 0, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "text", - "id": "trim_label_@{parent.variables.n}", - "label": false, - "color": "auto", - "value": "Trim", - "preArgs": [], - "address": "/trim_label_@{parent.variables.n}", - "vertical": false, - "css": "", - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "height": "auto", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "input", - "id": "trim_input_@{parent.variables.n}", - "label": false, - "color": "auto", - "preArgs": [], - "linkId": "trim_knob_@{parent.variables.n}", - "unit": "", - "editable": true, - "precision": 1, - "target": [], - "value": "", - "address": "/trim_input_@{parent.variables.n}", - "css": "", - "vertical": false, - "align": "", - "default": "", - "bypass": false, - "height": "auto", - "left": "auto", - "top": "auto", - "width": "auto" - } - ], - "scroll": true, - "css": "", - "address": "/trim_meta_@{parent.variables.n}", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - }, - { - "type": "knob", - "id": "trim_knob_@{parent.variables.n}", - "linkId": "trim_knob_@{parent.variables.n}", - "label": false, - "unit": "", - "range": { - "min": -20, - "max": 20 - }, - "logScale": false, - "precision": 2, - "target": [], - "preArgs": [ - "@{parent.variables.n}" - ], - "snap": false, - "origin": 0, - "spring": false, - "value": "", - "address": "/strip/trimdB", - "touchAddress": "", - "pips": false, - "input": false, - "dashed": false, - "doubleTap": false, - "css": "", - "color": "auto", - "angle": 270, - "width": "auto", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "scroll": true, - "address": "/trim_@{parent.variables.n}", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "rec_buttons_@{parent.variables.n}", - "label": false, - "height": 40, - "color": "auto", - "css": "#{\n@{display_recbar}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "record_@{parent.variables.n}", - "linkId": "", - "label": "^circle", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "red", - "preArgs": [ - "@{parent.variables.n}" - ], - "value": "", - "address": "/strip/recenable", - "led": false, - "css": "", - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "mon_@{parent.variables.n}", - "linkId": "", - "label": "^microphone", - "precision": 0, - "target": [], - "color": "orange", - "preArgs": [ - "@{parent.variables.n}" - ], - "off": 0, - "on": 1, - "value": "", - "address": "/strip/monitor_input", - "led": false, - "css": "", - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "disk_@{parent.variables.n}", - "linkId": "", - "label": "^hdd", - "css": "", - "on": 1, - "off": 0, - "precision": 0, - "target": [], - "color": "orange", - "preArgs": [ - "@{parent.variables.n}" - ], - "value": "", - "address": "/strip/monitor_disk", - "led": false, - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "scroll": true, - "address": "/top_buttons_@{parent.variables.n}", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "fader_strip_@{parent.variables.n}", - "label": false, - "color": "auto", - "css": "flex:1;", - "spacing": 3, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "meter", - "id": "meter_@{parent.variables.n}", - "label": false, - "unit": "", - "alignRight": false, - "horizontal": false, - "pips": false, - "dashed": true, - "color": "auto", - "range": { - "min": { - "inf": -193 - }, - "6%": -60, - "12%": -50, - "20%": -40, - "30%": -30, - "42%": -20, - "60%": -10, - "80%": 0, - "max": 6 - }, - "logScale": false, - "origin": "auto", - "value": "", - "address": "/strip/meter", - "preArgs": [ - "@{parent.variables.n}" - ], - "css": "#{\n@{display_compact_faders} ? \n\"\" : \"margin: 20rem 0 20rem 20rem\"\n}", - "width": 10, - "linkId": "", - "default": "", - "left": "auto", - "top": "auto", - "height": "auto", - "gradient": [], - "compact": true, - "input": false - }, - { - "type": "fader", - "id": "fader_@{parent.variables.n}", - "linkId": "fader_@{parent.variables.n}", - "label": false, - "unit": "dB", - "horizontal": false, - "css": "flex:1", - "range": { - "min": { - "-∞": -193 - }, - "6%": -60, - "12%": -50, - "20%": -40, - "30%": -30, - "42%": -20, - "60%": -10, - "80%": 0, - "max": 6 - }, - "logScale": false, - "precision": 2, - "meter": false, - "target": [], - "color": "auto", - "preArgs": [ - "@{parent.variables.n}" - ], - "snap": false, - "compact": "#{@{display_compact_faders}}", - "alignRight": "#{@{display_compact_faders}}", - "origin": "auto", - "spring": false, - "value": "", - "address": "/strip/gain", - "touchAddress": "", - "meterAddress": "/strip/meter", - "pips": true, - "input": false, - "dashed": false, - "doubleTap": false, - "width": 80, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "height": "auto", - "border": false, - "horizontal": true, - "stretch": false, - "scroll": false, - "address": "/fader_strip_@{parent.variables.n}", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "input", - "id": "fader_input_@{parent.variables.n}", - "linkId": "fader_@{parent.variables.n}", - "label": false, - "unit": "dB", - "height": 30, - "color": "auto", - "css": "margin:3rem 3rem 0;\n#{\n@{display_input}==0?\"display:none\":\"\"\n}", - "editable": true, - "value": "", - "precision": 2, - "preArgs": [], - "target": [], - "address": "/fader_input_@{parent.variables.n}", - "vertical": false, - "align": "", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "fader", - "id": "pan_@{parent.variables.n}", - "linkId": "", - "label": false, - "unit": "", - "height": 30, - "horizontal": true, - "range": { - "min": 0, - "max": 1 - }, - "logScale": false, - "precision": 2, - "meter": false, - "target": [], - "preArgs": [ - "@{parent.variables.n}" - ], - "snap": false, - "compact": true, - "alignRight": false, - "origin": 0.5, - "spring": false, - "value": "", - "address": "/strip/pan_stereo_position", - "touchAddress": "", - "meterAddress": "", - "pips": false, - "input": false, - "dashed": false, - "doubleTap": true, - "color": "auto", - "css": "margin:3rem;\n#{\n@{display_pan}==0?\"display:none\":\"\"\n}", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "steps": "" - }, - { - "type": "strip", - "id": "mute_buttons_@{parent.variables.n}", - "label": false, - "height": 40, - "color": "auto", - "css": "", - "horizontal": true, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "mute_@{parent.variables.n}", - "linkId": "", - "label": "Mute", - "css": "", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "yellow", - "preArgs": [ - "@{parent.variables.n}" - ], - "value": "", - "address": "/strip/mute", - "led": false, - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "solo_@{parent.variables.n}", - "linkId": "", - "label": "Solo", - "css": "", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "lime", - "preArgs": [ - "@{parent.variables.n}" - ], - "value": "", - "address": "/strip/solo", - "led": false, - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "scroll": true, - "address": "/bottom_buttons_@{parent.variables.n}", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "sel_buttons_@{parent.variables.n}", - "label": false, - "height": 40, - "color": "auto", - "css": "", - "horizontal": true, - "stretch": true, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "push", - "id": "sel_@{parent.variables.n}", - "linkId": "", - "label": "#{\n@{display_expand}==0?\n\"Select\":\"Sel\"\n}", - "css": "", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "white", - "preArgs": [ - "@{parent.variables.n}" - ], - "norelease": false, - "address": "/strip/select", - "width": "auto", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "toggle", - "id": "expand_@{parent.variables.n}", - "linkId": "", - "label": "SelÂČ", - "css": "#{\n@{display_expand}==0?\"display:none\":\"\"\n}", - "on": 1, - "off": 0, - "precision": 0, - "target": [], - "color": "pink", - "preArgs": [ - "@{parent.variables.n}" - ], - "value": "", - "address": "/strip/expand", - "led": false, - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "scroll": true, - "address": "/bottom_buttons_@{parent.variables.n}", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "color": "auto", - "spacing": 0, - "border": false, - "horizontal": false, - "stretch": false, - "scroll": true, - "variables": { - "n": 1 - }, - "address": "/channel_strip", - "preArgs": [], - "linkId": "", - "width": 120, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - }, - { - "type": "clone", - "id": "clone_2", - "widgetId": "channel_strip", - "css": "", - "props": { - "variables": { - "n": 2 - }, - "id": "channel_strip_2" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_3", - "widgetId": "channel_strip", - "css": "", - "props": { - "variables": { - "n": 3 - }, - "id": "channel_strip_3" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_4", - "widgetId": "channel_strip", - "css": "", - "props": { - "variables": { - "n": 4 - }, - "id": "channel_strip_4" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_5", - "widgetId": "channel_strip", - "css": "", - "props": { - "variables": { - "n": 5 - }, - "id": "channel_strip_5" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_6", - "widgetId": "channel_strip", - "css": "", - "props": { - "variables": { - "n": 6 - }, - "id": "channel_strip_6" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_7", - "widgetId": "#{\n@{bank_size}>6?\n\"channel_strip\" : \"\"\n}", - "css": "#{\n@{bank_size}<8?\n\"display:none\" : \"\"\n}", - "props": { - "variables": { - "n": 7 - }, - "id": "channel_strip_7" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_8", - "widgetId": "#{\n@{bank_size}>6?\n\"channel_strip\" : \"\"\n}", - "css": "#{\n@{bank_size}<8?\n\"display:none\" : \"\"\n}", - "props": { - "variables": { - "n": 8 - }, - "id": "channel_strip_8" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_9", - "widgetId": "#{\n@{bank_size}>8?\n\"channel_strip\" : \"\"\n}", - "css": "#{\n@{bank_size}<10?\n\"display:none\" : \"\"\n}", - "props": { - "variables": { - "n": 9 - }, - "id": "channel_strip_9" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_10", - "widgetId": "#{\n@{bank_size}>8?\n\"channel_strip\" : \"\"\n}", - "css": "#{\n@{bank_size}<10?\n\"display:none\" : \"\"\n}", - "props": { - "variables": { - "n": 10 - }, - "id": "channel_strip_10" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_11", - "widgetId": "#{\n@{bank_size}>10?\n\"channel_strip\" : \"\"\n}", - "css": "#{\n@{bank_size}<12?\n\"display:none\" : \"\"\n}", - "props": { - "variables": { - "n": 11 - }, - "id": "channel_strip_11" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "clone_12", - "widgetId": "#{\n@{bank_size}>10?\n\"channel_strip\" : \"\"\n}", - "css": "#{\n@{bank_size}<12?\n\"display:none\" : \"\"\n}", - "props": { - "variables": { - "n": 12 - }, - "id": "channel_strip_12" - }, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - } - ], - "css": "flex:1;\nmargin-right:1px;", - "border": true, - "scroll": true, - "address": "/strip_scroll_panel", - "preArgs": [], - "linkId": "", - "width": "auto", - "horizontal": true, - "stretch": false, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "ch_master", - "label": false, - "css": "", - "widgets": [ - { - "type": "text", - "id": "master_label", - "label": false, - "height": 40, - "css": "", - "vertical": false, - "value": "Master", - "address": "/master_label", - "color": "auto", - "preArgs": [], - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "strip", - "id": "master_trim_strip", - "label": false, - "height": 60, - "color": "auto", - "css": "#{\n@{display_trim}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "strip", - "id": "trim_meta_@{parent.variables.n}", - "label": false, - "width": 50, - "color": "auto", - "horizontal": false, - "stretch": true, - "border": false, - "spacing": 0, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "text", - "id": "mastertrim_label", - "label": false, - "color": "auto", - "css": "line-height:12rem", - "value": "Trim", - "preArgs": [], - "address": "/mastertrim_label", - "vertical": false, - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "height": "auto", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "input", - "id": "mastertrim_input", - "label": false, - "color": "auto", - "preArgs": [], - "linkId": "mastertrim", - "unit": "", - "editable": true, - "precision": 1, - "target": [], - "value": "", - "address": "/mastertrim_input", - "css": "", - "vertical": false, - "align": "", - "default": "", - "bypass": false, - "height": "auto", - "left": "auto", - "top": "auto", - "width": "auto" - } - ], - "scroll": true, - "css": "", - "address": "/trim_meta_@{parent.variables.n}", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - }, - { - "type": "knob", - "id": "mastertrim", - "linkId": "mastertrim", - "label": false, - "unit": "", - "range": { - "min": -20, - "max": 20 - }, - "logScale": false, - "precision": 2, - "target": [], - "snap": false, - "origin": 0, - "spring": false, - "value": "", - "address": "/master/trimdB", - "touchAddress": "", - "pips": false, - "input": false, - "dashed": false, - "doubleTap": false, - "css": "", - "color": "auto", - "angle": 270, - "width": "auto", - "preArgs": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "scroll": true, - "address": "/master_trim_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "monitor_modal_strip", - "label": false, - "height": 40, - "color": "auto", - "css": "#{\n@{display_monitor}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": true, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "modal", - "id": "monitor_modal", - "label": "^headphones", - "width": "auto", - "color": "auto", - "css": "", - "doubleTap": false, - "popupWidth": "140rem", - "popupHeight": "80%", - "value": "", - "precision": 0, - "address": "/modal_1", - "preArgs": [], - "target": [ - null - ], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "strip", - "id": "monitor_strip", - "label": false, - "height": "100%", - "color": "auto", - "css": "", - "horizontal": false, - "stretch": false, - "border": true, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "fader", - "id": "monitor", - "linkId": "", - "label": false, - "color": "auto", - "compact": false, - "css": "flex:1", - "snap": false, - "range": { - "min": { - "inf": -200 - }, - "6%": -60, - "12%": -50, - "20%": -40, - "30%": -30, - "42%": -20, - "60%": -10, - "80%": 0, - "max": 10 - }, - "logScale": false, - "precision": 2, - "preArgs": [], - "target": [], - "origin": "auto", - "spring": false, - "value": "", - "address": "/monitor/gain", - "touchAddress": "", - "alignRight": false, - "horizontal": false, - "meter": false, - "meterAddress": "", - "unit": "", - "pips": true, - "input": true, - "dashed": false, - "doubleTap": false, - "height": "auto", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "steps": "" - }, - { - "type": "strip", - "id": "monitor_buttons", - "label": false, - "color": "auto", - "css": "font-size:10rem", - "horizontal": true, - "stretch": false, - "border": false, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "monmute", - "linkId": "", - "label": "M", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "yellow", - "value": "", - "address": "/monitor/mute", - "led": false, - "css": "", - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "mondim", - "linkId": "", - "label": "Dim", - "precision": 0, - "target": [], - "color": "orange", - "off": 0, - "on": 1, - "value": "", - "address": "/monitor/dim", - "led": false, - "css": "", - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "monmono", - "linkId": "", - "label": "Mono", - "css": "", - "on": 1, - "off": 0, - "precision": 0, - "target": [], - "color": "cyan", - "value": "", - "address": "/monitor/mono", - "led": false, - "preArgs": [], - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "height": 50, - "spacing": 4, - "scroll": true, - "address": "/monitor_buttons", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "width": "100%", - "left": "auto", - "top": "auto", - "spacing": 0, - "scroll": true, - "address": "/monitor_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "tabs": [] - } - ], - "popupLabel": "Monitor", - "linkId": "", - "popupLeft": "auto", - "popupTop": "auto", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "scroll": true - } - ], - "scroll": true, - "address": "/monitor_modal_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "master_fader_strip", - "label": false, - "color": "auto", - "css": "flex:1", - "spacing": 3, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "meter", - "id": "Master_meter", - "label": false, - "unit": "", - "alignRight": false, - "horizontal": false, - "pips": false, - "dashed": true, - "color": "auto", - "range": { - "min": { - "inf": -193 - }, - "6%": -60, - "12%": -50, - "20%": -40, - "30%": -30, - "42%": -20, - "60%": -10, - "80%": 0, - "max": 6 - }, - "logScale": false, - "origin": "auto", - "value": "", - "address": "/master/meter", - "preArgs": [], - "css": "#{\n@{display_compact_faders} ? \n\"\" : \"margin: 20rem 0 20rem 20rem\"\n}", - "width": 10, - "linkId": "", - "default": "", - "left": "auto", - "top": "auto", - "height": "auto", - "gradient": [], - "compact": true, - "input": false - }, - { - "type": "fader", - "id": "Master", - "linkId": "Master", - "label": false, - "unit": "dB", - "horizontal": false, - "css": "flex:1", - "range": { - "min": { - "inf": -193 - }, - "6%": -60, - "12%": -50, - "20%": -40, - "30%": -30, - "42%": -20, - "60%": -10, - "80%": 0, - "max": 6 - }, - "logScale": false, - "precision": 2, - "meter": false, - "target": [], - "color": "auto", - "snap": false, - "compact": "#{@{display_compact_faders}}", - "alignRight": "#{@{display_compact_faders}}", - "origin": "auto", - "spring": false, - "value": "", - "address": "/master/gain", - "touchAddress": "", - "pips": true, - "input": false, - "dashed": false, - "doubleTap": false, - "width": 80, - "preArgs": [], - "meterAddress": "", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "height": "auto", - "border": false, - "horizontal": true, - "stretch": false, - "scroll": false, - "address": "/master_fader_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "input", - "id": "master_input", - "linkId": "Master", - "label": false, - "unit": "dB", - "height": 30, - "color": "auto", - "css": "margin:3rem 3rem 0;\n#{\n@{display_input}==0?\"display:none\":\"\"\n}", - "editable": true, - "value": "", - "precision": 2, - "preArgs": [], - "target": [], - "address": "/master_input", - "vertical": false, - "align": "", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "fader", - "id": "master_pan", - "linkId": "", - "label": false, - "unit": "", - "height": 30, - "horizontal": true, - "range": { - "min": 0, - "max": 1 - }, - "logScale": false, - "precision": 2, - "meter": false, - "target": [], - "snap": false, - "compact": true, - "alignRight": false, - "origin": 0.5, - "spring": false, - "value": "", - "address": "/master/pan_stereo_position", - "touchAddress": "", - "meterAddress": "", - "pips": false, - "input": false, - "dashed": false, - "doubleTap": true, - "color": "auto", - "css": "margin:3rem;\n#{\n@{display_pan}==0?\"display:none\":\"\"\n}", - "preArgs": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "steps": "" - }, - { - "type": "strip", - "id": "master_mute_strip", - "label": false, - "height": 40, - "color": "auto", - "css": "", - "horizontal": true, - "stretch": true, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "mastermute", - "linkId": "", - "label": "Mute", - "css": "", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "yellow", - "value": "", - "address": "/master/mute", - "led": false, - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "push", - "id": "solocan", - "linkId": "", - "label": "Solo", - "color": "red", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "norelease": true, - "address": "/cancel_all_solos", - "css": ":host:not(.on) {\n opacity:0.75;\n}", - "width": 55, - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - } - ], - "scroll": true, - "address": "/master_mute_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "bank_strip", - "label": false, - "height": 40, - "color": "auto", - "css": "", - "horizontal": true, - "stretch": true, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "push", - "id": "bank_dn", - "linkId": "", - "label": "^angle-left", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "norelease": false, - "address": "/bank_down", - "css": ":host:not(.on) {opacity:0.75}", - "width": 50, - "color": "auto", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - }, - { - "type": "push", - "id": "bank_up", - "linkId": "", - "label": "^angle-right", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "norelease": false, - "address": "/bank_up", - "css": ":host:not(.on) {opacity:0.75}", - "width": 50, - "color": "auto", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "doubleTap": false, - "value": "" - } - ], - "scroll": true, - "address": "/monitor_modal_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "spacing": 0, - "border": false, - "horizontal": false, - "stretch": false, - "variables": "@{parent.variables}", - "scroll": false, - "color": "auto", - "address": "/ch_master", - "preArgs": [], - "linkId": "", - "width": 120, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - } - ], - "label": false, - "id": "strip_1", - "linkId": "", - "height": "auto", - "color": "auto", - "css": "flex:1", - "scroll": true, - "horizontal": true, - "stretch": false, - "border": true, - "spacing": 0, - "variables": "@{parent.variables}", - "preArgs": [], - "address": "/strip_1", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "address": "/mixer_main", - "preArgs": [], - "border": true, - "linkId": "", - "horizontal": false, - "stretch": false, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "tabs": [] - } - ], - "id": "mixer_tab", - "type": "tab", - "css": "", - "value": "", - "precision": 0, - "preArgs": [], - "target": [], - "variables": {}, - "tabs": [], - "color": "auto", - "address": "/mixer_tab", - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - }, - { - "type": "tab", - "id": "track_tab", - "label": "Track", - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "preArgs": [], - "target": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "strip", - "top": 0, - "left": 0, - "id": "mixer_main", - "label": false, - "width": "100%", - "height": "100%", - "scroll": true, - "color": "auto", - "css": "", - "spacing": 0, - "variables": {}, - "widgets": [ - { - "type": "clone", - "id": "sess_name_clone", - "height": 40, - "css": "#{\n@{display_session_name}==0?\"display:none\":\"\"\n}", - "widgetId": "sess_name", - "props": {}, - "left": "auto", - "top": "auto", - "width": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "clone", - "id": "transport_clone", - "height": 40, - "css": "#{\n@{display_transport}==0?\"display:none\":\"\"\n}", - "widgetId": "transport", - "props": {}, - "left": "auto", - "top": "auto", - "width": "auto", - "label": "", - "variables": "@{parent.variables}" - }, - { - "type": "strip", - "id": "track_panel", - "label": false, - "color": "auto", - "spacing": 0, - "variables": {}, - "widgets": [ - { - "type": "strip", - "id": "select_chn", - "label": false, - "css": "", - "widgets": [ - { - "type": "text", - "id": "select_name", - "label": false, - "height": 40, - "css": "", - "vertical": false, - "address": "/select/name", - "value": " sel", - "preArgs": [], - "color": "auto", - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "strip", - "id": "trim_select_strip", - "label": false, - "height": 60, - "color": "auto", - "css": "#{\n@{display_trim_sel}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "strip", - "id": "trim_meta_select", - "label": false, - "width": 50, - "color": "auto", - "horizontal": false, - "stretch": true, - "border": false, - "spacing": 0, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "text", - "id": "select_trim_label", - "label": false, - "color": "auto", - "css": "", - "value": "Trim", - "preArgs": [], - "address": "/select_trim_label", - "vertical": false, - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "height": "auto", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "input", - "id": "select_trim_input", - "label": false, - "color": "auto", - "css": "", - "preArgs": [], - "linkId": "select_trim_knob", - "unit": "", - "editable": true, - "precision": 1, - "target": [], - "address": "/select_trim_input", - "value": "", - "vertical": false, - "align": "", - "default": "", - "bypass": false, - "height": "auto", - "left": "auto", - "top": "auto", - "width": "auto" - } - ], - "scroll": true, - "css": "", - "address": "/trim_meta_select", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - }, - { - "type": "knob", - "id": "select_trim_knob", - "linkId": "select_trim_knob", - "label": false, - "unit": "", - "range": { - "min": -20, - "max": 20 - }, - "logScale": false, - "precision": 2, - "target": [], - "snap": false, - "origin": 0, - "spring": false, - "value": "", - "address": "/select/trimdB", - "touchAddress": "", - "pips": false, - "input": false, - "dashed": false, - "doubleTap": false, - "css": "", - "color": "auto", - "angle": 270, - "width": "auto", - "preArgs": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "scroll": true, - "address": "/trim_select_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "toggle", - "id": "polarity_select", - "linkId": "", - "height": 32, - "label": "∅", - "color": "auto", - "css": "margin:4rem;\nfont-weight:bold;\n#{\n@{display_polarity_sel}==0?\"display:none\":\"\"\n}", - "doubleTap": false, - "led": false, - "on": 1, - "off": 0, - "default": "", - "value": "", - "precision": 0, - "address": "/select/polarity", - "preArgs": [], - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "strip", - "id": "top_buttons_select", - "label": false, - "height": 40, - "color": "auto", - "css": "#{\n@{display_recbar_sel}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "record_select", - "linkId": "", - "label": "^circle", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "red", - "value": "", - "address": "/select/recenable", - "led": false, - "css": "", - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "mon_select", - "linkId": "", - "label": "^microphone", - "precision": 0, - "target": [], - "color": "orange", - "off": 0, - "on": 1, - "value": "", - "address": "/select/monitor_input", - "led": false, - "css": "", - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "disk_select", - "linkId": "", - "label": "^hdd", - "css": "", - "on": 1, - "off": 0, - "precision": 0, - "target": [], - "color": "orange", - "value": "", - "address": "/select/monitor_disk", - "led": false, - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "scroll": true, - "address": "/top_buttons_select", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "sends_receive_buttons_select", - "label": false, - "height": 40, - "color": "auto", - "css": "", - "horizontal": false, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "modal", - "id": "receives_panel", - "label": "Receives", - "color": "auto", - "css": "display:none", - "widgets": [], - "popupWidth": "75%", - "popupHeight": "75%", - "address": "/receives_panel", - "variables": {}, - "value": "", - "precision": 0, - "preArgs": [], - "target": [], - "doubleTap": false, - "height": "auto", - "popupLabel": "", - "linkId": "", - "popupLeft": "auto", - "popupTop": "auto", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "scroll": true - }, - { - "type": "modal", - "id": "sends_panel", - "label": "Sends", - "color": "auto", - "css": "", - "widgets": [], - "popupWidth": "75%", - "popupHeight": "75%", - "address": "/sends_panel", - "variables": {}, - "value": "", - "precision": 0, - "preArgs": [], - "target": [], - "doubleTap": false, - "height": "auto", - "popupLabel": "", - "linkId": "", - "popupLeft": "auto", - "popupTop": "auto", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "scroll": true - } - ], - "scroll": true, - "address": "/sends_receive_buttons_select", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "fader_select_strip", - "label": false, - "color": "auto", - "css": "flex:1", - "spacing": 3, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "meter", - "id": "meter_select", - "label": false, - "unit": "", - "alignRight": false, - "horizontal": false, - "pips": false, - "dashed": true, - "color": "auto", - "range": { - "min": { - "inf": -193 - }, - "6%": -60, - "12%": -50, - "20%": -40, - "30%": -30, - "42%": -20, - "60%": -10, - "80%": 0, - "max": 6 - }, - "logScale": false, - "origin": "auto", - "value": "", - "address": "/select/meter", - "css": "#{\n@{display_compact_faders} ? \n\"\" : \"margin: 20rem 0 20rem 20rem\"\n}", - "width": 10, - "preArgs": [], - "linkId": "", - "default": "", - "left": "auto", - "top": "auto", - "height": "auto", - "gradient": [], - "compact": true, - "input": false - }, - { - "type": "fader", - "id": "fader_select", - "linkId": "fader_select", - "label": false, - "unit": "dB", - "horizontal": false, - "css": "flex:1", - "range": { - "min": { - "inf": -193 - }, - "6%": -60, - "12%": -50, - "20%": -40, - "30%": -30, - "42%": -20, - "60%": -10, - "80%": 0, - "max": 6 - }, - "logScale": false, - "precision": 2, - "meter": false, - "target": [], - "color": "auto", - "snap": false, - "compact": "#{@{display_compact_faders}}", - "alignRight": "#{@{display_compact_faders}}", - "origin": "auto", - "spring": false, - "value": "", - "address": "/select/gain", - "touchAddress": "", - "pips": true, - "input": false, - "dashed": false, - "doubleTap": false, - "width": 80, - "meterAddress": "", - "preArgs": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "height": "auto", - "border": false, - "horizontal": true, - "stretch": false, - "scroll": false, - "address": "/fader_select_strip", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "input", - "id": "fader_input_select", - "linkId": "fader_select", - "label": false, - "unit": "dB", - "height": 30, - "color": "auto", - "css": "margin:3rem 3rem 0;\n#{\n@{display_input}==0?\"display:none\":\"\"\n}", - "editable": true, - "value": "", - "precision": 2, - "preArgs": [], - "target": [], - "address": "/fader_input_select", - "vertical": false, - "align": "", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "fader", - "id": "pan_select", - "linkId": "", - "label": false, - "unit": "", - "height": 30, - "horizontal": true, - "range": { - "min": 0, - "max": 1 - }, - "logScale": false, - "precision": 2, - "meter": false, - "target": [], - "snap": false, - "compact": true, - "alignRight": false, - "origin": 0.5, - "spring": false, - "value": "", - "address": "/select/pan_stereo_position", - "touchAddress": "", - "meterAddress": "", - "pips": false, - "input": false, - "dashed": false, - "doubleTap": true, - "color": "auto", - "css": "margin:3rem;\n#{\n@{display_pan_sel}==0?\"display:none\":\"\"\n}", - "preArgs": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "steps": "" - }, - { - "type": "strip", - "id": "bottom_buttons_select", - "label": false, - "height": 40, - "color": "auto", - "css": "", - "horizontal": true, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "mute_select", - "linkId": "", - "label": "Mute", - "css": "", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "yellow", - "value": "", - "address": "/select/mute", - "led": false, - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "solo_select", - "linkId": "", - "label": "Solo", - "css": "", - "on": 1, - "off": 0, - "precision": 2, - "target": [], - "color": "lime", - "value": "", - "address": "/select/solo", - "led": false, - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "scroll": true, - "address": "/bottom_buttons_select", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "bottom_buttons_select", - "label": false, - "height": 40, - "color": "auto", - "css": "#{\n@{display_expand}==0?\"display:none\":\"\"\n}", - "horizontal": true, - "stretch": true, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "expand_select", - "linkId": "", - "label": "SelÂČ", - "css": "", - "on": 1, - "off": 0, - "precision": 0, - "target": [], - "color": "pink", - "value": "", - "address": "/select/expand", - "led": false, - "width": "auto", - "preArgs": [], - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "scroll": true, - "address": "/bottom_buttons_select", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "color": "auto", - "spacing": 0, - "border": false, - "horizontal": false, - "stretch": false, - "variables": "@{parent.variables}", - "scroll": true, - "address": "/select_chn", - "preArgs": [], - "linkId": "", - "width": 120, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "plugins_panel_wrapper", - "label": false, - "scroll": true, - "color": "auto", - "css": "flex:1", - "spacing": 0, - "variables": {}, - "widgets": [ - { - "type": "text", - "label": false, - "height": 40, - "value": "Plugins", - "id": "text_1", - "color": "auto", - "css": "", - "vertical": false, - "preArgs": [], - "address": "/text_1", - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "strip", - "id": "plugins_panel", - "linkId": "", - "label": false, - "height": "auto", - "color": "auto", - "css": "flex:1;margin:0rem", - "scroll": true, - "horizontal": false, - "stretch": false, - "border": false, - "spacing": 4, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "push", - "height": 60, - "label": "^sync-alt", - "address": "/refresh_plugin_list", - "norelease": true, - "id": "push_6", - "linkId": "", - "color": "auto", - "css": "", - "on": 1, - "off": 0, - "precision": 2, - "preArgs": [], - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "doubleTap": false, - "value": "" - } - ], - "preArgs": [], - "address": "/plugins_panel", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "address": "/plugins_panel", - "preArgs": [], - "border": false, - "linkId": "", - "horizontal": false, - "stretch": false, - "width": "auto", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "tabs": [] - }, - { - "type": "clone", - "id": "master_clone", - "css": "", - "widgetId": "ch_master", - "props": {}, - "width": 120, - "left": "auto", - "top": "auto", - "height": "auto", - "label": "", - "variables": "@{parent.variables}" - } - ], - "css": "flex:1", - "height": "auto", - "border": true, - "scroll": true, - "address": "/strip_scroll_panel", - "preArgs": [], - "linkId": "", - "horizontal": true, - "stretch": false, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "address": "/mixer_main", - "preArgs": [], - "border": true, - "linkId": "", - "horizontal": false, - "stretch": false, - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "tabs": [] - } - ], - "tabs": [], - "address": "/track_tab", - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - } - ], - "value": "", - "precision": 0, - "address": "/root", - "preArgs": [], - "target": [ - null - ], - "variables": {}, - "color": "auto", - "css": "", - "id": "root", - "linkId": "", - "default": "", - "bypass": false, - "traversing": false, - "scroll": true, - "label": false -} \ No newline at end of file diff --git a/app/examples/demo.json b/app/examples/demo.json deleted file mode 100644 index 0f5e3a8b..00000000 --- a/app/examples/demo.json +++ /dev/null @@ -1,959 +0,0 @@ -{ - "type": "root", - "tabs": [ - { - "type": "tab", - "id": "tab_2", - "label": "Open Stage Control", - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/tab_2", - "preArgs": [], - "target": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "strip", - "top": 10, - "left": 10, - "id": "strip_4", - "label": "Strips", - "width": 100, - "height": 450, - "color": "auto", - "css": "", - "horizontal": false, - "stretch": false, - "spacing": 5, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "text", - "id": "text_1", - "label": false, - "height": 30, - "vertical": false, - "color": "auto", - "css": "", - "value": 1, - "preArgs": [], - "address": "/text_1", - "linkId": "", - "wrap": false, - "align": "", - "default": "", - "left": "auto", - "top": "auto", - "width": "auto" - }, - { - "type": "strip", - "id": "strip_5", - "label": false, - "height": 30, - "color": "auto", - "horizontal": true, - "stretch": true, - "spacing": 5, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "toggle_1", - "linkId": "", - "label": false, - "led": false, - "color": "auto", - "css": "", - "on": 1, - "off": 0, - "value": "", - "precision": 2, - "preArgs": [], - "target": [], - "width": "auto", - "address": "/toggle_1", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "linkId": "", - "label": false, - "led": false, - "color": "auto", - "css": "", - "on": 1, - "off": 0, - "value": "", - "precision": 2, - "preArgs": [], - "target": [], - "width": "auto", - "id": "toggle_2", - "address": "/toggle_2", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "toggle_3", - "label": false, - "led": false, - "color": "auto", - "css": "", - "on": 1, - "off": 0, - "value": "", - "precision": 2, - "address": "/toggle_3", - "preArgs": [], - "target": [], - "linkId": "", - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "css": "", - "border": true, - "scroll": true, - "address": "/strip_5", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "strip_6", - "label": false, - "height": 50, - "color": "auto", - "css": "margin-bottom:-10rem", - "horizontal": true, - "stretch": true, - "spacing": 0, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "knob", - "id": "knob_1", - "linkId": "", - "label": false, - "unit": "", - "width": "auto", - "color": "auto", - "pips": false, - "input": false, - "dashed": false, - "angle": 270, - "css": "", - "snap": false, - "spring": false, - "doubleTap": false, - "range": { - "min": 0, - "max": 1 - }, - "origin": "auto", - "value": "", - "logScale": false, - "precision": 2, - "touchAddress": "", - "preArgs": [], - "target": [], - "address": "/knob_1", - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - }, - { - "type": "knob", - "id": "knob_2", - "linkId": "", - "label": false, - "unit": "", - "width": "auto", - "color": "auto", - "pips": false, - "input": false, - "dashed": false, - "angle": 270, - "css": "", - "snap": false, - "spring": false, - "doubleTap": false, - "range": { - "min": 0, - "max": 1 - }, - "origin": "auto", - "value": "", - "logScale": false, - "precision": 2, - "address": "/knob_2", - "touchAddress": "", - "preArgs": [], - "target": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "border": false, - "scroll": true, - "address": "/strip_6", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "strip", - "id": "strip_1", - "label": false, - "color": "auto", - "css": "flex:1", - "horizontal": true, - "stretch": false, - "spacing": 0, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "meter", - "id": "meter_1", - "label": false, - "unit": "", - "alignRight": false, - "horizontal": false, - "pips": false, - "dashed": true, - "color": "auto", - "css": "margin: 20rem 0 20rem 10rem;", - "range": { - "min": 0, - "max": 1 - }, - "logScale": false, - "origin": "auto", - "value": "@{knob_1}", - "address": "/meter_1", - "preArgs": [], - "width": 10, - "linkId": "", - "gradient": [], - "default": "", - "left": "auto", - "top": "auto", - "height": "auto", - "compact": true, - "input": false - }, - { - "type": "meter", - "id": "meter_2", - "label": false, - "unit": "", - "alignRight": false, - "horizontal": false, - "pips": false, - "dashed": true, - "color": "auto", - "css": "margin: 20rem 0", - "range": { - "min": 0, - "max": 1 - }, - "logScale": false, - "origin": "auto", - "value": "@{knob_2}", - "address": "/meter_1", - "preArgs": [], - "width": 10, - "linkId": "", - "gradient": [], - "default": "", - "left": "auto", - "top": "auto", - "height": "auto", - "compact": true, - "input": false - }, - { - "type": "fader", - "id": "fader_1", - "linkId": "", - "label": false, - "unit": "", - "width": "auto", - "alignRight": false, - "horizontal": false, - "pips": true, - "input": false, - "compact": false, - "dashed": false, - "color": "auto", - "css": "", - "snap": false, - "spring": false, - "doubleTap": false, - "range": { - "min": 0, - "max": 1 - }, - "origin": "auto", - "value": "", - "logScale": false, - "precision": 2, - "meter": false, - "address": "/fader_1", - "touchAddress": "", - "meterAddress": "", - "preArgs": [], - "target": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto", - "steps": "" - } - ], - "height": "auto", - "border": false, - "scroll": true, - "address": "/strip_1", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - }, - { - "type": "fader", - "id": "fader_2", - "linkId": "", - "label": false, - "unit": "", - "height": 30, - "alignRight": false, - "horizontal": true, - "pips": false, - "input": false, - "compact": true, - "dashed": false, - "color": "auto", - "css": "", - "snap": false, - "spring": false, - "doubleTap": false, - "range": { - "min": 0, - "max": 1 - }, - "origin": 0.5, - "value": 0.5, - "logScale": false, - "precision": 2, - "meter": false, - "address": "/fader_2", - "touchAddress": "", - "meterAddress": "", - "preArgs": [], - "target": [], - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "steps": "" - }, - { - "type": "strip", - "id": "strip_3", - "label": false, - "height": 30, - "color": "auto", - "css": "", - "horizontal": true, - "stretch": false, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "toggle", - "id": "toggle_4", - "linkId": "", - "label": "M", - "led": false, - "color": "yellow", - "css": "", - "on": 1, - "off": 0, - "value": "", - "precision": 2, - "preArgs": [], - "target": [], - "width": "auto", - "address": "/toggle_4", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - }, - { - "type": "toggle", - "id": "toggle_5", - "linkId": "", - "label": "S", - "led": false, - "color": "lime", - "css": "", - "on": 1, - "off": 0, - "value": "", - "precision": 2, - "address": "/toggle_5", - "preArgs": [], - "target": [], - "width": "auto", - "doubleTap": false, - "default": "", - "bypass": false, - "left": "auto", - "top": "auto", - "height": "auto" - } - ], - "spacing": 0, - "border": true, - "scroll": true, - "address": "/strip_3", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "left": "auto", - "top": "auto", - "width": "auto", - "tabs": [] - } - ], - "border": true, - "scroll": true, - "address": "/strip_4", - "preArgs": [], - "linkId": "", - "default": "", - "value": "", - "precision": 0, - "target": [], - "bypass": false, - "tabs": [] - }, - { - "type": "panel", - "top": 10, - "left": 120, - "id": "panel_1", - "label": "Pads", - "width": 350, - "height": 350, - "scroll": true, - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/panel_1", - "preArgs": [], - "target": [], - "variables": "@{parent.variables}", - "widgets": [], - "tabs": [ - { - "type": "tab", - "id": "tab_3", - "label": "Xy", - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/tab_3", - "preArgs": [], - "target": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "xy", - "top": 0, - "left": 0, - "id": "xy_1", - "linkId": "", - "label": false, - "width": "100%", - "height": "100%", - "input": true, - "pips": true, - "color": "auto", - "css": "", - "snap": false, - "spring": false, - "doubleTap": false, - "rangeX": { - "min": 0, - "25%": 0.25, - "50%": 0.5, - "75%": 0.75, - "max": 1 - }, - "rangeY": { - "min": 0, - "25%": 0.25, - "50%": 0.5, - "75%": 0.75, - "max": 1 - }, - "logScaleX": false, - "logScaleY": false, - "value": [ - 0.5, - 0.5 - ], - "precision": 2, - "address": "/xy_1", - "touchAddress": "", - "preArgs": [], - "split": false, - "target": [], - "pointSize": 20, - "default": "", - "bypass": false - } - ], - "tabs": [], - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - }, - { - "type": "tab", - "id": "tab_5", - "label": "rgb", - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/tab_5", - "preArgs": [], - "target": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "rgb", - "id": "rgb_1", - "linkId": "", - "label": false, - "left": 0, - "top": 0, - "width": "100%", - "height": "100%", - "input": true, - "css": "", - "snap": false, - "spring": false, - "value": "", - "precision": 0, - "address": "/rgb_1", - "preArgs": [], - "split": false, - "target": [], - "range": { - "min": 0, - "max": 255 - }, - "default": "", - "bypass": false, - "alpha": false, - "pointSize": 10 - } - ], - "tabs": [], - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - }, - { - "type": "tab", - "id": "tab_4", - "label": "MultiXy", - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/tab_4", - "preArgs": [], - "target": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "multixy", - "id": "xy_2", - "label": false, - "width": "100%", - "height": "100%", - "pips": true, - "color": "auto", - "css": "", - "snap": false, - "spring": false, - "rangeX": { - "min": 0, - "25%": 0.25, - "50%": 0.5, - "75%": 0.75, - "max": 1 - }, - "rangeY": { - "min": 0, - "25%": 0.25, - "50%": 0.5, - "75%": 0.75, - "max": 1 - }, - "logScaleX": false, - "logScaleY": false, - "value": [ - 0.25, - 0.5, - 0.75, - 0.5 - ], - "precision": 2, - "address": "/xy_2", - "touchAddress": "", - "preArgs": [], - "split": false, - "target": [], - "linkId": "", - "left": "auto", - "top": "auto", - "points": 2, - "pointSize": 20, - "default": "", - "bypass": false - } - ], - "tabs": [], - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - } - ], - "border": true, - "linkId": "", - "default": "", - "bypass": false - }, - { - "type": "rgb", - "top": 10, - "left": 480, - "id": "color_picker", - "linkId": "", - "label": "Color", - "width": 130, - "height": 60, - "css": "/* Cool hack ::\nOnly display the hue slider.\nWe ensure the initial color \nby setting the default property \n*/\n.pad > :first-child{display:none;}\n.hue-wrapper{height:100%;}\n.hue-wrapper *{height:100%;}", - "precision": 0, - "value": "", - "address": "/dropdown_1", - "preArgs": [], - "target": [], - "default": [ - 86, - 168, - 255 - ], - "bypass": false, - "snap": false, - "spring": false, - "range": { - "min": 0, - "max": 255 - }, - "input": true, - "alpha": false, - "split": false, - "pointSize": 10 - }, - { - "type": "keyboard", - "top": 370, - "left": 120, - "id": "keyboard", - "keys": 36, - "start": 60, - "label": "auto", - "width": 350, - "height": 90, - "color": "auto", - "css": "", - "traversing": true, - "on": 1, - "off": 0, - "precision": 2, - "address": "/keyboard_1", - "preArgs": [], - "split": false, - "target": [], - "bypass": false, - "linkId": "" - }, - { - "type": "matrix", - "top": 80, - "left": 480, - "id": "multifader", - "label": "auto", - "width": 130, - "height": 380, - "color": "auto", - "css": "", - "value": "", - "precision": 2, - "address": "/multifader_1", - "preArgs": [], - "target": [], - "default": "", - "bypass": false, - "linkId": "", - "widgetType": "fader", - "matrix": [ - 1, - 12 - ], - "start": 0, - "spacing": 0, - "traversing": true, - "border": true, - "props": { - "compact": true, - "horizontal": true, - "label": false, - "pips": false, - "input": false - } - }, - { - "type": "matrix", - "top": 10, - "left": 620, - "id": "multipush", - "label": "auto", - "width": 130, - "height": 220, - "color": "auto", - "css": "", - "precision": 2, - "address": "/multipush", - "preArgs": [], - "target": [], - "bypass": false, - "linkId": "", - "default": "", - "value": "", - "widgetType": "push", - "matrix": [ - 2, - 4 - ], - "start": 0, - "spacing": 4, - "traversing": true, - "border": true, - "props": {} - }, - { - "type": "matrix", - "top": 240, - "left": 620, - "label": "auto", - "width": 130, - "height": 220, - "color": "auto", - "css": "", - "value": "", - "precision": 2, - "address": "/multitoggle", - "preArgs": [], - "target": [], - "id": "multitoggle", - "default": "", - "bypass": false, - "linkId": "", - "widgetType": "toggle", - "matrix": [ - 2, - 4 - ], - "start": 0, - "spacing": 4, - "traversing": true, - "border": true, - "props": {} - }, - { - "type": "plot", - "top": 470, - "left": 10, - "id": "plot_1", - "width": 240, - "height": 140, - "label": "Plot (multifader)", - "color": "auto", - "css": "", - "rangeX": { - "min": 0, - "max": 1 - }, - "rangeY": { - "min": 0, - "max": 1 - }, - "origin": "auto", - "logScaleX": false, - "logScaleY": false, - "pips": false, - "address": "/plot_1", - "preArgs": [], - "smooth": true, - "linkId": "", - "dots": true, - "bars": false, - "value": "@{multifader}", - "default": "" - }, - { - "type": "patchbay", - "top": 470, - "left": 480, - "id": "patchbay_1", - "linkId": "", - "width": 270, - "height": 140, - "label": "Patchbay", - "color": "auto", - "css": "", - "inputs": [ - "input_1", - "input_2" - ], - "outputs": [ - "output_1", - "output_2" - ], - "default": "", - "value": "", - "precision": 2, - "address": "/patchbay_1", - "preArgs": "", - "target": "", - "bypass": false - }, - { - "type": "visualizer", - "top": 470, - "left": 260, - "id": "visualizer_1", - "linkId": "", - "width": 210, - "height": 140, - "label": "Visualizer (fader)", - "color": "auto", - "css": "", - "origin": "auto", - "smooth": false, - "pips": false, - "default": "", - "value": "@{fader_1}", - "address": "/plot_2", - "preArgs": "", - "duration": 1, - "range": { - "min": 0, - "max": 1 - }, - "logScale": false - } - ], - "tabs": [], - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - } - ], - "color": "JS{{\nreturn 'rgb(' + @{color_picker}.join(',') + ')'\n}}", - "css": "", - "value": "", - "precision": 0, - "address": "/root", - "preArgs": [], - "target": [], - "variables": {}, - "id": "root", - "linkId": "", - "default": "", - "bypass": false, - "traversing": false, - "scroll": true, - "label": false -} \ No newline at end of file diff --git a/app/examples/keys.json b/app/examples/keys.json deleted file mode 100644 index 093d27b5..00000000 --- a/app/examples/keys.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "type": "root", - "tabs": [ - { - "type": "tab", - "id": "tab_1", - "label": "auto", - "color": "auto", - "css": "", - "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": "#{\nx = key == \"r\" ? 0.1 : -0.1;\n@{fader_1} + x\n}", - "repeat": true, - "keyup": "", - "linkId": ">> A", - "default": "", - "value": "", - "precision": 2, - "address": "/keys_1", - "preArgs": "", - "target": "", - "bypass": false - }, - { - "type": "fader", - "top": 0, - "left": 0, - "id": "fader_1", - "linkId": "<< A", - "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": [], - "default": "", - "bypass": false, - "steps": "" - }, - { - "type": "xy", - "top": 50, - "left": 170, - "id": "xy_1", - "linkId": "<< B", - "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": [], - "default": "", - "bypass": false - }, - { - "type": "keys", - "top": 270, - "left": 170, - "id": "keys_2", - "width": 210, - "height": "auto", - "label": "auto", - "color": "auto", - "css": "", - "binding": [ - "g", - "t" - ], - "keydown": "#{\nx = key == \"t\" ? 0.1 : -0.1;\n@{xy_1}[0] + x\n@{xy_1}[1] + x\n}", - "keyup": "", - "repeat": false, - "linkId": ">> B", - "default": "", - "value": "", - "precision": 2, - "address": "/keys_2", - "preArgs": "", - "target": "", - "bypass": false - } - ], - "tabs": [], - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - } - ], - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/root", - "preArgs": [], - "target": [], - "variables": {}, - "id": "root", - "linkId": "", - "default": "", - "bypass": false, - "traversing": false, - "scroll": true, - "label": false -} \ No newline at end of file diff --git a/app/examples/svg.json b/app/examples/svg.json deleted file mode 100644 index 23db1b0b..00000000 --- a/app/examples/svg.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "type": "root", - "tabs": [ - { - "type": "tab", - "id": "tab_1", - "linkId": "", - "label": "Rgb Levels", - "color": "auto", - "css": "", - "default": "", - "value": "", - "precision": 0, - "address": "/tab_1", - "preArgs": [], - "target": [], - "bypass": false, - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "svg", - "top": 150, - "left": 0, - "id": "rgb_svg", - "linkId": "", - "width": "100%", - "height": 190, - "label": "auto", - "css": "path {\n fill:none;\n stroke-width:3rem\n}", - "svg": "#{\n\n# build the data array\n# [ [r,g,b], [r,g,b], [r,g,b], etc ]\ndata = @{rgb_matrix};\n\n# extract channels and convert to relative y-axis coordinates\n# assuming the y-range is 0-255\n# 96 - val * 94 for padding and y-axis reversal\n# we add a small offset to make sure the 3 lines are always visible\n\nred = 96 - flatten(data[0:end,0]) / 255 * 94 + 2;\ngreen = 96 - flatten(data[0:end,1]) / 255 * 94;\nblue = 96 - flatten(data[0:end,2]) / 255 * 94 - 2;\n\n# build the x-axis relative coordinates array\n\nlength = size(red)[0]\nxaxis = (0:length) / (length-1) * 100;\n\n\n# convert coords to svg path string\nsvgCoords(color) = map(color, f(c,i)=print(\"L$0%x $1%y\", [xaxis[i], c]));\n\n# svg path first command must be \"M\", not \"L\" \nsvgString(color) = concat(\"M\", unpack(svgCoords(color))[1:end]);\n\n}\n\n\n\n\n", - "preArgs": [], - "address": "/rgb_svg", - "default": "", - "value": "" - }, - { - "type": "matrix", - "top": 0, - "left": 0, - "id": "rgb_matrix", - "width": "100.60%", - "height": 150, - "label": "auto", - "color": "auto", - "css": "", - "widgetType": "rgb", - "matrix": [ - 8, - 1 - ], - "start": 0, - "spacing": 0, - "traversing": false, - "props": { - "input": false, - "label": false - }, - "default": "", - "value": "", - "precision": 2, - "address": "/matrix_1", - "preArgs": [], - "target": [], - "bypass": false, - "linkId": "", - "border": true - } - ], - "tabs": [], - "scroll": true - } - ], - "id": "root", - "linkId": "", - "color": "auto", - "css": "", - "default": "", - "value": "", - "precision": 0, - "address": "/root", - "preArgs": [], - "target": [], - "bypass": false, - "variables": {}, - "traversing": false, - "scroll": true, - "label": false -} \ No newline at end of file diff --git a/app/examples/sysex.json b/app/examples/sysex.json deleted file mode 100644 index ee90c7cb..00000000 --- a/app/examples/sysex.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "type": "root", - "tabs": [ - { - "type": "tab", - "id": "tab_1", - "label": "Sysex Example", - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/tab_1", - "preArgs": [], - "target": [], - "variables": "@{parent.variables}", - "widgets": [ - { - "type": "push", - "top": 10, - "left": 20, - "id": "push_1", - "linkId": "", - "width": 200, - "height": "auto", - "label": "Send Device Inquiry", - "color": "auto", - "css": "", - "on": "f0 7e 7f 06 01 f7", - "norelease": true, - "precision": 0, - "address": "/sysex", - "target": [ - "midi:osc" - ], - "preArgs": [], - "off": 0, - "doubleTap": false, - "value": "", - "bypass": false - }, - { - "type": "text", - "top": 80, - "left": 20, - "id": "text_1", - "width": 200, - "height": 60, - "label": "Device Inquiry Response", - "color": "auto", - "css": "", - "vertical": false, - "preArgs": [], - "address": "/sysex", - "value": "", - "linkId": "", - "wrap": false, - "align": "", - "default": "" - }, - { - "type": "text", - "top": 150, - "left": 20, - "id": "text_2", - "width": 200, - "height": 240, - "label": "^info-circle", - "color": "auto", - "css": "", - "preArgs": [], - "address": "/text_2", - "vertical": false, - "value": "", - "linkId": "", - "wrap": false, - "align": "", - "default": "" - } - ], - "tabs": [], - "linkId": "", - "default": "", - "bypass": false, - "scroll": true - } - ], - "color": "auto", - "css": "", - "value": "", - "precision": 0, - "address": "/root", - "preArgs": [], - "target": [], - "variables": {}, - "id": "root", - "linkId": "", - "default": "", - "bypass": false, - "traversing": false, - "scroll": true, - "label": false -} \ No newline at end of file diff --git a/resources/docs/docs/midi/midi-messages.md b/resources/docs/docs/midi/midi-messages.md index 35a3008c..c6852caf 100644 --- a/resources/docs/docs/midi/midi-messages.md +++ b/resources/docs/docs/midi/midi-messages.md @@ -69,7 +69,3 @@ System exclusive message. - `msg`: hexadecimal sysex data string of the form `f0 ... f7`. You may include placeholders of the form `nn` which will be replaced by `v1, .., vN` respectively. - `v1, .., vN`: values encoded as hexadecimal data strings to include in `msg`. Most probably, you will need to sepcify a [custom module](/docs/custom-module/) in order to convert numeric widget values into the required hexadecimal format. In general, this conversion will be different for each manufacturer / device. - -For a very simple example, refer to session 'sysex.json' found in the application's sub folder 'resources/app/examples/'. Please remember to adjust the button's `target` to the `device_name` used in your MIDI setup. - ----- From dbd025a78717abde25614bf631b87aeb4c88bf17 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 14:10:35 +0200 Subject: [PATCH 2238/2575] update icons --- resources/images/logo.icns | Bin 36895 -> 27682 bytes resources/images/logo.ico | Bin 270398 -> 152119 bytes resources/images/logo.png | Bin 15395 -> 14470 bytes resources/images/logo.sh | 6 +- resources/images/logo.svg | 122 +++++++++++++++--------------- resources/images/logo_nobadge.png | Bin 9839 -> 9351 bytes resources/images/logo_nobadge.svg | 114 ++++++++++++++-------------- scripts/copy-assets.js | 2 +- 8 files changed, 123 insertions(+), 121 deletions(-) diff --git a/resources/images/logo.icns b/resources/images/logo.icns index df6d55211b009bc80723c381030be25375033aed..64e718c5bb2903e70081a37475db0a53f6b29797 100644 GIT binary patch literal 27682 zcmc(H2Y6HGx&JvwGCTk0-;w4vq#)@G=?q!2hArE8Fuctk!3Mk}2*XyAhNMk1YA~LX zH_I5303l3cz*tH`_Go}4B)utZZ$@vMHluBNZ%UFj0W96$cZ9)alh~l=F*^F*-}mnC z{l51ci6w6DJrq@HShC!1qbTM36keSa&GKvXv_by?MH>to^^Acv9H$tTGi=56=&{Er z#>g0U>KR?^=pz)R+oz{F!>d%co*p~)MKUF*r**n#DSGUfLwb6Q?kS4a-S!;d27LgR zx|j7`RJ(qaj@IL!cKtqToxWW61I{Qr5>qE-WM$`MWlTyZ%){oNZ z1#?2itb&D$mz9=Pct@3$E?c~?U{>Zhi=fx7*3-h+T@=H`7@GA%b$XL4D}UkA6<%N2 z3h&Tmi}JHvqCwZ9r$u%L)uJDw(+ROTg-gr5Ys-dty-N#o;{+YZPf)a8*GT5e6Y`gM zy_?F0dc8~LO;ijRg+CsL_G23`T_2rURO;PYHpE+6l5H{Qn)F+!X1!L)beDOzmubCa zo@_H_==6_Kjru5^aY9jO1+(+mFC46bbdnHNSx%? zYjvi~Mc(EzAO5u7JF>+Hbpw<%)ay0&xuxFvvU2YaN*B8q%$b&xnUS8E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`uR4tdxak$+V^$3Mt?fxt_STh&^F0xm*^*R8RC#43YYC?Xz)#yJ47BWnhd|8v_56$ASS z{{(Re%=(=A>3>HD@Q&EO*z4#%fcN#B6knLI{_rBi0_%!quHig_mIQSZV<=JL(Osn~ z*olqegH7vA1i579k7t@^@HC6qSxQISK1;v+QwwzWH0aDT(VGcBT3jx(Wj#ppm4RCf z^l3%~<~7N;B#1w&0?OGDCsd(C$LSxm+2gquWdNpQJjq#2m&Pyg3ZT_#al4Emqy@f>stPUIhBHr$5mIaL{+_0%J1SQ=zQWY-u>j+c zhafzYcVBXoa?_80W>;o<-aY2e^p~uzge6#VM+|YMG<=qdaBHCcchF+q!t;KHO5n37 zZbuhmjXMlw;lZuWRms$1M5h)vJ-T>UYK7Md;bj~3Ew;s!|{yuf0;E< zVx`csq@(x)sILYR+svTvHHMD_vqG{yCInQLC)NBdqt3#rj%{COg4Rg)zzbB+dB()d QxMPz(i?L;cl5QXW**=nA=>Px# diff --git a/resources/images/logo.ico b/resources/images/logo.ico index 12d3e507931ca2824a1a3f8b6273d22cbe0c328f..69fab291e4f24f5057af6c865e297b439b3942a3 100644 GIT binary patch literal 152119 zcmeFa2{@Kp_dk9==1iIAd7j5inTKRfND-0D86#3=qJ)sB%nelLDMH4GWGIOcB12`C zF+BgheNXRo{^xs6sdLWn`=0mBb*<~UpXc89zW2R8YpuQ3+H2ns1cl%t@DGKsAf(a= z;suTa1OMkc4;~5$2ftZb{?GTj@d%QyghG^*emSp#AcwnAh=|B9=Q$B1fEoi~Vfp1d z34(CTV<05p6ZUV9g&-Ze7|2C^z5PV^bodB@5NT?t8NjoU@NmF~*{Qp>2qM+1sitgn zrf)jM$2a9r3R-c(XU3yvKtSr`l|8yIl5S7yYHPnXRl>)JxG;*tcPpCs!`;BzXB}fw zdE$zU`xzPCXkYV1-V%6)!lLM;A`McZt{5!QbSd7WT|6it$RLuO!cUJeXb4W;tSHWSrM=)uvP_(Y_k%ULe_x1BCDB1I;n;INo6( zJPZ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qnXS;Zqb-!8sy{%AyXY24tQIE72 WAMg2LX>yn3bbE^W*t^>W^Zx^OS}0rq diff --git a/resources/images/logo.png b/resources/images/logo.png index 83ea9edce07f0afb5f1b5c15185877bf6c706491..d14a7074a13375c7412943c2e969645684aab96e 100644 GIT binary patch literal 14470 zcmZ8|Wl&sA6Ykl?-5r8ka0u@1u0euBaJL}4xH|+55`qMGcY-?sf@{z~(BN|S{qFsB zt9ENoZJnCwnV#u>y8G#94K;ZTR8mv`05B94WV8SP1bYMl$cV5XWA`!}*bj=U!g~(@ z!0Y?(3o5rM>4p7C;wfw3sqJFp>0|D04fy!@u-iF1cvzadTC=;j+vfZgAq4;`Kv70g z$2a%%i(i28g5NFVV56op z?Ae`IU-FL&! zAL)_5f0H0!DhG7HOdzve@({!VBncMe733LIrB%<+M#YHPxs^|qUm74F=`g^G$;->@ zgKEPs(s~@AI0s}$A;Ax3sugO!;zSIw0Wi{1o^fYG`3{kCva=B@F;!gIr2y`*bT6-B zK9g>8cztNnxMUp))XK{k-44`O0enctc(7-hpMgdfNAyaC0R~~4ragukhZsMoTuQ^7 z5j3p4R2Y6LLw`xsX{UZWQ0Jqts}m~Ni^2v{nK(9g>O17wk-j-FyRtFy8Bu6Q%!17r znbwcIlQt1T``jwv3^9>GTMAUzBQf-DcuZ~KxDS{BdxfPToeau(h~x+!SLwC!+4cYq z?9FmykeQ0Lb#dyF$S=wM$pT+WC@bvE-#>Nk(g2+5=XE&1|l6Mu~2ITK*R z$%`|Dq`;S;;I=6OtPU3TtQdHYjtmmO3hLP`R8GLciQ&*T`?7F>tVJUu8I&6*@aFjM z24#~_rivVLFDpD433K>e^dkB% z5}`XrKzU_?d~X;g>Lnam{3a!8IIbR2sv>N*$w_xF)$?8a-+!>-Am8V}A&`$ws4wJD zb1%*;C^i73zdSgF&G=I%Tz*DFVoLvOhemOqx)5wISx*REsQ9B#%KePVBxd8q3Rd=2 zW1KS?7sRo9k1Fw>cFOMF7PcZm2abK=KjR{uhn6Y7{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!^6a`*(NFjmCzGW3a68u4qs&UxqC<2g0Qp>7fy%d=}+-i zpMyd@+e0z0uaC)`w8Iz@oj}R7+Us8EadvRFp5#f*ldOTyv%;>+iolpqQ~R^{WFnto z9rbIt=<9fx!fH9#%+Y|RzmZ78RIPsWdp8ciIW4$?{Gv;C9Pm7O}GRxKCcJXNl; zQo`wHbIRrn(^oAf6|zbB2}!{9^Cg{N6YrE&kd=^N6|rpq@N+eslP2>5+v9Ds4y(`} zu8Yw^t$ut#x_i$LaKkly`rat!+Mks8mcLhPVC5W>EH7;h>Qpc`D{%g=wJVFEPbzJ{h`2GvbQ@=O0Df^K8 zRnq5c)3DCt0yFOe_o7Zu6TMPE+CQ3Lx;~bW%y*1%?L>Cz_=nDTB!1cw2{j-JwjWe7 zc;ZwD*Fpu(F(M`*f&2Y_q93^eJC1h~@n?S=JQ=>o8neTO!Oj0W59v1$K|!-~b3rv9 zoe<8|sgvUN9N%4revS*7Y#L=%?py^3JpITgJsDs)o(0 zqLY<{l!!O)PTSiBn>zh4{^#oq-@~EY4(eKDx|lbuokSO)&-a?ey4;A(xNTQJ(~fF_ zp-?Q+t?p1r9$1ue#|W)WX;IVUkeA15u%A$blb3g7r8IYV>>@qKuU)33%tBQ2R+h^ zN1C1(AqRz$Bq$H1DE6Pqfr0Qqpg!fk*e`{!rW6IX6!0`sT$C5tVa4<^1rf4e5&gqVtViPHkm)7z;zbK2 s$uCXB$JmHSNmmjUI9v2~2j7tDC+5!H - - + inkscape:export-filename="/home/bordun/Dev/open-stage-control/resources/images/logo.png" + inkscape:version="1.0 (4035a4fb49, 2020-05-01)" + sodipodi:docname="logo.svg" + viewBox="0 0 191.29887 191.29887" + height="191.29887" + width="191.29887" + id="svg869" + version="1.1"> + showguides="true" + inkscape:current-layer="layer2" + inkscape:window-maximized="0" + inkscape:window-y="42" + inkscape:window-x="0" + inkscape:cy="97.522982" + inkscape:cx="70.287017" + inkscape:zoom="1.7911951" + fit-margin-bottom="0" + fit-margin-right="0" + fit-margin-left="0" + fit-margin-top="0" + showgrid="false" + id="namedview871" + inkscape:window-height="726" + inkscape:window-width="1024" + inkscape:pageshadow="2" + inkscape:pageopacity="0" + guidetolerance="10" + gridtolerance="10" + objecttolerance="10" + borderopacity="1" + bordercolor="#666666" + pagecolor="#ffffff" /> + inkscape:label="Layer 2" + id="layer2" + inkscape:groupmode="layer"> + style="opacity:1;vector-effect:none;fill:#21252b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:14.84745789;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" /> + d="m 103.94727,25.355469 c -43.316966,0 -78.591801,35.274835 -78.591801,78.591801 0,43.31696 35.274835,78.59375 78.591801,78.59375 43.31696,0 78.59375,-35.27679 78.59375,-78.59375 0,-43.316966 -35.27679,-78.591801 -78.59375,-78.591801 z m 0,15 c 35.21036,0 63.59375,28.381436 63.59375,63.591801 0,35.21036 -28.38339,63.59375 -63.59375,63.59375 -35.210365,0 -63.591801,-28.38339 -63.591801,-63.59375 0,-35.210365 28.381436,-63.591801 63.591801,-63.591801 z" + style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.2658109;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#6db5fd;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:15;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> - + r="95.649437" + cy="103.90701" + cx="103.90701" /> + ry="70.92939" + rx="67.252884" + cy="109.30546" + cx="194.90521" + id="path877" + style="opacity:0.67928;fill:#6db5fd;fill-opacity:1;stroke:#6db5fd;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + diff --git a/resources/images/logo_nobadge.png b/resources/images/logo_nobadge.png index c79f232aae83eaad353a95d54485c9dfff0cf0be..cb1406ed82984e17afafc657d00e3f5c404c7daa 100644 GIT binary patch literal 9351 zcmb7K^;?urv|l=;Lz5sr=4U&(+QoV(D%RfIuKZjvt*ptSvv;3c0%5ryt8O z0|1Wz>PqtZJ{d&5nnl)sGxI~yb7r6p0)kR*==ecd+&)+m@7RN(3aJvr3 zzuD;aKDaS%mg($cb{z`MX?mbvQS6*o%dg%!oD<}L`-LFkp)?1HW8$yfl@llw7TU$F z$)k4#9Zuan2l9`v+KeF&8xC=aIYOxv{@=~UD>?{KsK3WSlO{niLj3t>h2k8#Cq-^b z$P@gHo9?NRATSdC|8G#Rv)lqujW7-VOYRUyiBLJSn1dWWMZuTMGGU_n@VZs9aKQ$h`zL4hih_^s`f? zKDa8`R7B1motP?IP}`dD%ZSy;a_zivZZwI3hj4aG z%nJrmU`Q7eps;tPNY?r=D33R_XCQD>F2I|JJykrSyRqdl1vgwfvhM)pU_H_Y(6ZjB z=`4UC z%2VFN_pfByZog)EVqY?3xmYox=n z`^dG<*UNd^GMAPHI^5nGJp8iuy;`Vqlqml(<|jK`0vGyDOtTz)-0^p{u|-dl8=Wlp zYnKEkOzLZ%Ko=uB1onj-$DbU&`}jkk|G(=C-Q_!eLK=+x2mSFxMX?4dI1M1R@m3t) z0eAm*`_1Ct^DPYv5pFbI?V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blS*gO^vFdBYYOga)up5#Gcq5xjtx>xRY@Tgp zI)6P>eVH2#yg2=Yki2O=6vn2RI6`)L%p{*JytgnZ3!gW##YU%lj!XWl&@KB{9S?s+ zEcXlklp?)I8{-_~FaiSc!{HC;Q>=j($Ih zeOh7ybU`tK(Lz3Oe4atoT)Bz1&Uiu^Wdut*DVg+5jBjd;dA*up4GC*T9 zJ9#nwwQ=M$2T!@$43nv~bi8@~NcLm-F7&yM7M>Um#68T|czc27dc#H&In|S2^>%_Y zuBgpbbizuxp|_POKTWB>R*d%W - - + inkscape:export-filename="/home/bordun/Dev/open-stage-control/resources/images/logo.png" + inkscape:version="1.0 (4035a4fb49, 2020-05-01)" + sodipodi:docname="logo_nobadge.svg" + viewBox="0 0 191.29887 191.29887" + height="191.29887" + width="191.29887" + id="svg869" + version="1.1"> + showguides="true" + inkscape:current-layer="layer2" + inkscape:window-maximized="0" + inkscape:window-y="42" + inkscape:window-x="0" + inkscape:cy="155.66033" + inkscape:cx="-97.935391" + inkscape:zoom="0.56314442" + fit-margin-bottom="0" + fit-margin-right="0" + fit-margin-left="0" + fit-margin-top="0" + showgrid="false" + id="namedview871" + inkscape:window-height="726" + inkscape:window-width="1024" + inkscape:pageshadow="2" + inkscape:pageopacity="0" + guidetolerance="10" + gridtolerance="10" + objecttolerance="10" + borderopacity="1" + bordercolor="#666666" + pagecolor="#ffffff" /> + inkscape:label="Layer 2" + id="layer2" + inkscape:groupmode="layer"> + d="m 103.94727,25.355469 c -43.316966,0 -78.591801,35.274835 -78.591801,78.591801 0,43.31696 35.274835,78.59375 78.591801,78.59375 43.31696,0 78.59375,-35.27679 78.59375,-78.59375 0,-43.316966 -35.27679,-78.591801 -78.59375,-78.591801 z m 0,15 c 35.21036,0 63.59375,28.381436 63.59375,63.591801 0,35.21036 -28.38339,63.59375 -63.59375,63.59375 -35.210365,0 -63.591801,-28.38339 -63.591801,-63.59375 0,-35.210365 28.381436,-63.591801 63.591801,-63.591801 z" + style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.2658109;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#6db5fd;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:15;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> - + r="95.649437" + cy="103.90701" + cx="103.90701" /> + ry="70.92939" + rx="67.252884" + cy="109.30546" + cx="194.90521" + id="path877" + style="opacity:0.67928;fill:#6db5fd;fill-opacity:1;stroke:#6db5fd;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + diff --git a/scripts/copy-assets.js b/scripts/copy-assets.js index a52fca83..2d598321 100644 --- a/scripts/copy-assets.js +++ b/scripts/copy-assets.js @@ -2,7 +2,7 @@ var cpr = require('cpr'), fs = require('fs'), path = require('path'), files = [ - ['../resources/images/logo-nobadge.png', '../app/assets/favicon.png'], + ['../resources/images/logo_nobadge.png', '../app/assets/favicon.png'], ['../resources/images/logo.png', '../app/assets/logo.png'], ['../LICENSE', '../app/LICENSE'], ['../src/python/', '../app/server/python/'], From 4ece56f315408b9f4695e891539eda316771ceca Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 14:11:34 +0200 Subject: [PATCH 2239/2575] ui: use logo_nobadge for osc inline icon --- src/scss/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/index.scss b/src/scss/index.scss index d7084ecf..f2d6d59c 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -93,7 +93,7 @@ body { .fa-osc:before { content:"\f111"; color: transparent; - background-image: url(../assets/logo.png); + background-image: url(../assets/favicon.png); background-size: contain; background-repeat: no-repeat; } From 850be537acd8b2be3019c53749ab225e7bf12d8a Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 14:13:40 +0200 Subject: [PATCH 2240/2575] server: lint --- src/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/index.js b/src/server/index.js index a2c3440d..34384766 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -171,7 +171,7 @@ if (settings.cli) { launcher.webContents.send('server-started') if (!settings.read('no-gui')) { - function cb(data) { + var cb = (data)=>{ if (data.indexOf('Server started') > -1) { global.clientWindows.push(openClient()) global.serverProcess.stdout.off('data', cb) From a4e43b0d12df741be52e9139ca0b2798e8e95e0a Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 14:13:48 +0200 Subject: [PATCH 2241/2575] package: beta1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2849a8c8..4429661a 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.0.0-alpha18", + "version": "1.0.0-beta1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 371b8c150768512d970860ab7c21ee20c07b1363 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 15:32:37 +0200 Subject: [PATCH 2242/2575] led: set max --opacity when mode == "color" (#624) --- src/client/widgets/indicators/led.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/indicators/led.js b/src/client/widgets/indicators/led.js index 8dd325e7..8bdd83a0 100644 --- a/src/client/widgets/indicators/led.js +++ b/src/client/widgets/indicators/led.js @@ -42,7 +42,7 @@ module.exports = class Led extends StaticProperties(Widget, {bypass: true, inter super({...options, html: html``}) - this.setValueIntensity(this.getProp('mode') === 'intensity' ? this.getProp('range').min : 1) + this.setValueIntensity(this.getProp('mode') === 'intensity' ? this.getProp('range').min : this.getProp('range').max) var bR = this.getProp('borderRadius') if (parseInt(bR) == bR) bR += 'rem' From a49dc408268757380995d828634911bd43ee3484 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 16:40:54 +0200 Subject: [PATCH 2243/2575] rgb: fix layout when alpha slider is present --- src/scss/widgets/pads.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index 513953e5..6522d176 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -62,7 +62,7 @@ &.contains-alpha > inner { grid-template: "a a b" auto - "c c c" 20rem / 1fr; + "c c c" calc(20rem + var(--widget-spacing) * 2) / 1fr; } .widget { @@ -115,7 +115,8 @@ .alpha { grid-area: c; - + height: auto!important; + width: auto!important; --alpha-stroke: 0; --alpha-fill-off: 0.1; --alpha-fill-on: 0.25; From 77db65a0cd2269bd3f7a703f302cb27a78cc5030 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 20:18:18 +0200 Subject: [PATCH 2244/2575] menu/modal: prevent modalBreakout flag from going negative and break (happens when editing parent while opened) --- src/client/widgets/basics/menu.js | 1 + src/client/widgets/containers/modal.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index 219089ce..c7d1b150 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -266,6 +266,7 @@ class Menu extends MenuBase { parent.modalBreakout += (this.opened ? 1 : -1) if (parent.modalBreakout > 0) parent.container.classList.add('modal-breakout') else if (parent.modalBreakout === 0) parent.container.classList.remove('modal-breakout') + else parent.modalBreakout = 0 scrollX += parent.widget.scrollLeft scrollY += parent.widget.scrollTop diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 61db324e..a64944d3 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -181,6 +181,7 @@ class Modal extends Panel { parent.modalBreakout += (this.value ? 1 : -1) if (parent.modalBreakout > 0) parent.container.classList.add('modal-breakout') else if (parent.modalBreakout === 0) parent.container.classList.remove('modal-breakout') + else parent.modalBreakout = 0 parent = parent.parent } @@ -189,6 +190,7 @@ class Modal extends Panel { this.modalBreakout += (this.value ? 1 : -1) if (this.modalBreakout > 0) this.container.classList.add('modal-breakout') else if (this.modalBreakout === 0) this.container.classList.remove('modal-breakout') + else this.modalBreakout = 0 } From af692c1cf5cdff6b55fc6ae29bf90f86639b9c64 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 20:21:10 +0200 Subject: [PATCH 2245/2575] misc: update discourse logo --- resources/images/logo_discourse.png | Bin 40531 -> 40054 bytes resources/images/logo_discourse.svg | 52 +++++++++++++--------------- 2 files changed, 24 insertions(+), 28 deletions(-) diff --git a/resources/images/logo_discourse.png b/resources/images/logo_discourse.png index db8096b2bf7df1f9f34e530a7f0239a02c9f43ff..74ed8c447594f961437c844261a3927781ecd8b5 100644 GIT binary patch literal 40054 zcmeFYWmuG9*ETw|G$Y+Iba$81BQ4z}AQIA@A~4bnN{7HG(jeU^B`t$=3MdXSghK9K_7rv95KU>s&dn^>oyU3FrtwAP_NBL*)qwbWaZW|Mng(@S9rM zkRSMi?V|)Wyaybi_nyLl*Z7_qW6M}ZgK&beqgIuPgq2&(ePFfea-IVj80sPX1-zZ^aO@QWNP4-XlKDup`5 zBQiFuc!FSkupSu;iZ;iGO zqa2w{=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rk9e>)d$A;& zB=)?b8_X`@$Txm?iSER`NfQx+uo;(DXYnCzBB61yV)yRH(7EG$n_td;_b@h=IVbz| zr@rmn{tey4)JR>6G3?3V%+)y7x|~|au!cu>vuLP#K+OC{|ULUw1yk*>G@*eSTq-E zm>s?QkRUV}NXwO&>o*<&Vo(uqJKT!|o^mpTKa*z&aLw%0I_}NX2ATqeT^3*VNxDSG z;CYpjH+Ift?OGBH>Q{O}-@>jh&ujQo{-%(K37|4t>FYIjtuKgSyPyV=PD@2t|`Oa z_x<@|OeH-b`tLU@8t9H6cO8u!NtEp2n+Oi=L10WJGJj8ek%7bZgIY-SJpc9{7GMzI%_k{M6%lXp;IPC<|Ocxz}>_ zJ`ktxc2I3B>wJzv_1S;;IB#Hmkwc@@9Y`^b%USz9a>aS1$W$~HPkeIPQeIj0I6tZH zJ|4cpS<}3n@h`lG`SO%JLd!y>u)vd)`A+=c7dbuVNuy6lF(q+#Zx{ zezoR2Mo(d-SN@g8c@ZF#Jaq%~qQ}?`U+E^3q$yJ->m1OEpYxV88|H_gobpEdg%gYH znH2|3(zK>JUtB0?7r7 SuEj6_F9Tg;oywbzQU3+-mpD-X diff --git a/resources/images/logo_discourse.svg b/resources/images/logo_discourse.svg index 7aecd2c9..7d30ac1d 100644 --- a/resources/images/logo_discourse.svg +++ b/resources/images/logo_discourse.svg @@ -29,7 +29,7 @@ image/svg+xml - + @@ -42,20 +42,20 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1024" - inkscape:window-height="726" + inkscape:window-width="1920" + inkscape:window-height="1003" id="namedview871" showgrid="false" fit-margin-top="0" fit-margin-left="40" fit-margin-right="60" fit-margin-bottom="0" - inkscape:zoom="1.5311674" - inkscape:cx="-11.45973" - inkscape:cy="74.852097" + inkscape:zoom="1.0826989" + inkscape:cx="300.02459" + inkscape:cy="-35.122122" inkscape:window-x="0" - inkscape:window-y="42" - inkscape:window-maximized="0" + inkscape:window-y="24" + inkscape:window-maximized="1" inkscape:current-layer="layer2" showguides="true" inkscape:pagecheckerboard="true" /> @@ -65,26 +65,6 @@ inkscape:label="Layer 2" style="display:inline" transform="translate(31.742424,-8.257576)"> - - - - - + + + From 012c400190fff10a5e7025f7366ddbfe37331531 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 20:28:00 +0200 Subject: [PATCH 2246/2575] docs: update logos --- resources/mkdocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 1c466b4b..7c21cac2 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -15,8 +15,8 @@ theme: palette: primary: 'Indigo' accent: 'Indigo' - logo: 'img/logo.png' - favicon: 'img/logo_nobadge.png?6' + logo: 'img/logo_nobadge.png' + favicon: 'img/logo_nobadge.png' include_search_page: false search_index_only: true From beadd7197049f226c26e2181f67d5cef3409580a Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 20:28:08 +0200 Subject: [PATCH 2247/2575] inspector: valign label/field --- src/scss/ui/inspector.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index d64d8599..5ea66c90 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -25,6 +25,8 @@ osc-inspector-field { text-align: right; text-transform: none; padding-right: 8rem; + line-height: $field-height + 1rem; + height: $field-height; cursor: help; // background: rgba(white, 0.1); } From 6946fbd0691bfeba9cb39c89cf796bf2bda1179f Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 20:28:25 +0200 Subject: [PATCH 2248/2575] launcher: even spacing between btns in fields --- src/scss/ui/launcher.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scss/ui/launcher.scss b/src/scss/ui/launcher.scss index f5361984..1a6ab0bd 100644 --- a/src/scss/ui/launcher.scss +++ b/src/scss/ui/launcher.scss @@ -128,6 +128,7 @@ osc-settings-checkbox, osc-settings-reset, osc-settings-file { } } &:last-child { + margin-left: -1rem; border-left: 0; } } From f88c33bb03259b65d2b4bc6eec53a2fbc040fc99 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 23:19:55 +0200 Subject: [PATCH 2249/2575] inspector: regroup class-specific props under the same category dropdown --- src/client/ui/ui-inspector.js | 15 ++++++++++----- 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/common/widget.js | 6 +++--- src/client/widgets/containers/clone.js | 4 ++-- src/client/widgets/containers/keyboard.js | 2 +- src/client/widgets/containers/matrix.js | 4 ++-- src/client/widgets/containers/modal.js | 4 ++-- src/client/widgets/containers/panel.js | 6 +++--- src/client/widgets/containers/patchbay.js | 2 +- src/client/widgets/containers/root.js | 8 ++++---- src/client/widgets/containers/tab.js | 8 ++++---- 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/eq.js | 2 +- src/client/widgets/graphs/plot.js | 2 +- src/client/widgets/graphs/visualizer.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/multixy.js | 4 ++-- src/client/widgets/pads/rgb.js | 2 +- src/client/widgets/pads/xy.js | 2 +- src/client/widgets/scripts/gyro-archive.js | 2 +- src/client/widgets/scripts/script.js | 4 ++-- src/client/widgets/sliders/encoder.js | 2 +- src/client/widgets/sliders/fader.js | 2 +- src/client/widgets/sliders/knob.js | 2 +- src/scss/ui/inspector.scss | 22 ++++++++++++++++++++-- 34 files changed, 77 insertions(+), 54 deletions(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 3057f78e..a18d23d2 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -18,7 +18,7 @@ class UiInspector extends UiWidget { this.mounted = false - this.expandedCategories = ['widget'] + this.expandedCategories = ['_widget'] this.widget = null @@ -118,7 +118,7 @@ class UiInspector extends UiWidget { for (let propName in props) { - if (propName === '_children' || propName === 'tabs' || propName === 'widgets') continue + if (propName === '_children' || propName === 'tabs' || propName === 'widgets' || propName === '_props') continue let field, shared = true @@ -131,13 +131,18 @@ class UiInspector extends UiWidget { if (!shared) continue - if (propName.indexOf('_') === 0 && propName !== '_props') { + + if (propName.indexOf('_separator') > -1) { + + field = html`

        ${props[propName]}
        ` + + } else if (propName.indexOf('_') === 0) { if (category) content.appendChild(category) - category = html`` + category = html`` - field = html`
        ${props[propName]}${propName === '_widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
        ` + field = html`
        ${props[propName]}${propName === '_widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
        ` } else if (widget.props[propName] === undefined) { diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 73567e42..77546625 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -17,7 +17,7 @@ class Button extends Widget { return super.defaults({ - _button: 'button', + _class_specific: 'button', label: {type: 'string|boolean', value: 'auto', help: [ 'Set to `false` to hide completely', diff --git a/src/client/widgets/basics/dropdown.js b/src/client/widgets/basics/dropdown.js index 33e3b2db..97f1f637 100644 --- a/src/client/widgets/basics/dropdown.js +++ b/src/client/widgets/basics/dropdown.js @@ -15,7 +15,7 @@ class Dropdown extends MenuBase { return super.defaults({ - _dropdown:'dropdown', + _class_specific: 'dropdown', align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, values: {type: 'array|object', value: {'Value 1':1,'Value 2':2}, help: [ diff --git a/src/client/widgets/basics/file.js b/src/client/widgets/basics/file.js index de6ba609..b195711f 100644 --- a/src/client/widgets/basics/file.js +++ b/src/client/widgets/basics/file.js @@ -14,7 +14,7 @@ module.exports = class File extends Widget { return super.defaults({ - _input:'input', + _class_specific: 'input', align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, directory: {type: 'string', value: 'auto', help: 'Default browsing directory'}, diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 85e8f738..16a9f45d 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -14,7 +14,7 @@ class Input extends Canvas { return super.defaults({ - _input:'input', + _class_specific: 'input', align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, unit: {type: 'string', value: '', help: 'Unit will be appended to the displayed widget\'s value (it doesn\'t affect osc messages)'}, diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index c7d1b150..46b5cdd6 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -16,7 +16,7 @@ class Menu extends MenuBase { return super.defaults({ - _menu:'menu', + _class_specific: 'menu', size: {type: 'number|array', value: 200, help: [ '- If `layout` is `circular`: diameter (in px)', diff --git a/src/client/widgets/basics/switch.js b/src/client/widgets/basics/switch.js index d7c994f6..2adf0153 100644 --- a/src/client/widgets/basics/switch.js +++ b/src/client/widgets/basics/switch.js @@ -15,7 +15,7 @@ class Switch extends MenuBase { return super.defaults({ - _switch:'switch', + _class_specific: 'switch', layout: {type: 'string', value: 'vertical', choices: ['vertical', 'horizontal', 'grid'], help:''}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 8c47ca2d..eb2b4f94 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -47,14 +47,14 @@ class Widget extends EventEmitter { var defaults = { - _widget:'widget', + _widget: 'widget', type: {type: 'string', value: 'auto', help: 'Widget type'}, id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, - _geometry:'geometry', + _geometry: 'geometry', left: {type: 'number|string', value: 'auto', help: [ '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).', @@ -68,7 +68,7 @@ class Widget extends EventEmitter { 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.'}, - _style:'style', + _style: 'style', colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index f7dbe407..27d58a66 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -20,11 +20,11 @@ class Clone extends Container() { return super.defaults({ - _clone:'clone', + _class_specific: 'clone', widgetId: {type: 'string', value: '', help: '`id` of the widget to clone'}, - _overrides:'overrides', + _separator: 'overrides', props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'}, diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index c0ec82a5..0c121446 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -15,7 +15,7 @@ module.exports = class Keyboard extends Panel { return Widget.defaults({ - _matrix: 'matrix', + _class_specific: 'matrix', keys: {type: 'number', value: 25, help: 'Defines the number keys'}, start: {type: 'number', value: 48, help: [ diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 2023b394..58230a19 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -17,7 +17,7 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { return Widget.defaults({ - _matrix: 'matrix: widgets', + _class_specific: 'matrix: widgets', 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'}, @@ -28,7 +28,7 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { 'Note: by default, the widgets inherit from the matrix\' `id` and osc properties (`id` and `address` are appended with `/$`)' ]}, - _matrixLayout: 'matrix: layout', + _separator: 'layout', layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index a64944d3..6baa40cb 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -18,7 +18,7 @@ class Modal extends Panel { return Widget.defaults({ - _modal: 'modal', + _class_specific: 'modal', label: {type: 'string|boolean', value: 'auto', help: [ 'Set to `false` to hide completely', @@ -28,7 +28,7 @@ class Modal extends Panel { doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the modal require a double tap to open instead of a single tap'}, variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, - _modalWidgets: 'modal: popup', + _separator: 'popup', popupLabel: {type: 'string|boolean', value: 'auto', help: 'Alternative label for the modal popup'}, popupWidth: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index a320b7ec..550c5ebe 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -17,12 +17,12 @@ class Panel extends Container() { return super.defaults({ - _panel: 'panel', + _class_specific: 'panel', variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, - _panel_widgets: 'panel: widget container', + _separator1: 'widget container', layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, @@ -30,7 +30,7 @@ class Panel extends Container() { 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.'}, - _panel_tabs: 'panel: tab container', + _separator2: 'tab container', verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index 841f54b1..12703ef6 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -73,7 +73,7 @@ class PatchBay extends Container(Canvas) { return super.defaults({ - _patchbay:'patchbay', + _class_specific: 'patchbay', inputs: {type: 'array|object', value: ['input_1', 'input_2'], help: [ '- `Array` of input names : `[\'input_1\', \'input_2\']`', diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 76b14bc7..bddc65ab 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -14,12 +14,12 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro return Widget.defaults({ - _panel: 'panel', + _class_specific: 'panel', variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, - _panel_widgets: 'panel: widget container', + _separator1: 'widget container', layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, @@ -27,7 +27,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro 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.'}, - _panel_tabs: 'panel: tab container', + _separator2: 'tab container', verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, @@ -37,7 +37,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', ], { - _children: 'children', + _children:'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'}, diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index f6b75470..9374ee97 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -16,7 +16,7 @@ class Tab extends Panel { return Widget.defaults({ - _panel: 'panel', + _class_specific: 'panel', label: {type: 'string|boolean', value: 'auto', help: [ 'Set to `false` to hide completely', @@ -27,7 +27,7 @@ class Tab extends Panel { traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, // detached: {type: 'boolean', value: true, help: 'Set to `false` if the tab contains `frame` widgets that should not be reloaded when the tab opens'}, - _panel_widgets: 'panel: widget container', + _separator1: 'widget container', layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, @@ -35,7 +35,7 @@ class Tab extends 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.'}, - _panel_tabs: 'panel: tab container', + _separator2: 'tab container', verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, @@ -44,7 +44,7 @@ class Tab extends Panel { 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn' ], { - _children: 'children', + _children:'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'}, diff --git a/src/client/widgets/frames/html.js b/src/client/widgets/frames/html.js index 26eeb060..650ef46a 100644 --- a/src/client/widgets/frames/html.js +++ b/src/client/widgets/frames/html.js @@ -25,7 +25,7 @@ class Html extends StaticProperties(Widget, {bypass: true}) { return super.defaults({ - _html:'html', + _class_specific: 'html', html: {type: 'string', value: '', help: [ 'Allowed HTML tags:', diff --git a/src/client/widgets/frames/image.js b/src/client/widgets/frames/image.js index 4374e17c..86a4fb1f 100644 --- a/src/client/widgets/frames/image.js +++ b/src/client/widgets/frames/image.js @@ -15,7 +15,7 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) { return super.defaults({ - _image:'image', + _class_specific: 'image', size: {type: 'string', value: 'cover', help: 'CSS background-size'}, position: {type: 'string', value: 'center', help: 'CSS background-position'}, diff --git a/src/client/widgets/frames/svg.js b/src/client/widgets/frames/svg.js index 70f6250f..fbe417c7 100644 --- a/src/client/widgets/frames/svg.js +++ b/src/client/widgets/frames/svg.js @@ -16,7 +16,7 @@ class Svg extends StaticProperties(Widget, {bypass: true}) { return super.defaults({ - _svg:'svg', + _class_specific: 'svg', svg: {type: 'string', value: '', help: [ 'Svg xml definition:', diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 9499af4c..6dfbc170 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -15,7 +15,7 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo return Widget.defaults({ - _eq:'eq', + _class_specific: 'eq', filters: {type: 'array', value: '', help: [ 'Each item must be an object with the following properties', diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 82b66250..d1edd1ac 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -16,7 +16,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte return super.defaults({ - _plot:'plot', + _class_specific: 'plot', 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'}, diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index ee70fb93..fd100213 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -17,7 +17,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot return Widget.defaults({ - _visualizer:'visualizer', + _class_specific: 'visualizer', duration: {type: 'number', value: 1, help: 'Defines visualization duration in seconds'}, framerate: {type: 'number', value: 30, help: 'Defines visualization framerate'}, diff --git a/src/client/widgets/indicators/led.js b/src/client/widgets/indicators/led.js index 8bdd83a0..41dffdba 100644 --- a/src/client/widgets/indicators/led.js +++ b/src/client/widgets/indicators/led.js @@ -15,7 +15,7 @@ module.exports = class Led extends StaticProperties(Widget, {bypass: true, inter return super.defaults({ - _led:'led', + _class_specific: 'led', mode: {type: 'string', value: 'intensity', choices: ['intensity', 'color'], help: 'Defines how value is interpreted (see `value`)'}, range: {type: 'object', value: {min:0, max:1}, help: 'Value range'}, diff --git a/src/client/widgets/indicators/text.js b/src/client/widgets/indicators/text.js index e873d485..174a8195 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -15,7 +15,7 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte return super.defaults({ - _text: 'text', + _class_specific: 'text', vertical: {type: 'boolean', value: false, help: 'Set to `true` to display the text vertically'}, wrap: {type: 'boolean', value: false, help: [ diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index 5337e835..6fc16004 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -13,7 +13,7 @@ class CanvasWidget extends Canvas { return super.defaults({ - _canvas:'canvas', + _class_specific: 'canvas', onCreate: {type: 'string', value: '', help: ' '}, diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 400f8551..218e84f1 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -19,7 +19,7 @@ module.exports = class MultiXy extends Pad { return super.defaults({ - _mutlixy: 'multi xy', + _class_specific: 'multi xy', points: {type: 'integer|array', value: 2, help: [ 'Defines the number of points on the pad', @@ -27,7 +27,7 @@ module.exports = class MultiXy extends Pad { ]}, - _xy: 'xy', + _separator: 'xy', pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, snap: {type: 'boolean', value: false, help: [ diff --git a/src/client/widgets/pads/rgb.js b/src/client/widgets/pads/rgb.js index e05f5505..025f20a2 100644 --- a/src/client/widgets/pads/rgb.js +++ b/src/client/widgets/pads/rgb.js @@ -20,7 +20,7 @@ module.exports = class Rgb extends Widget { return super.defaults({ - _rgb:'rgb', + _class_specific: 'rgb', snap: {type: 'boolean', value: false, help: [ 'By default, the points are dragged from their initial position.', diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 63b2c9f1..cfa03061 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -17,7 +17,7 @@ module.exports = class Xy extends Pad { return super.defaults({ - _xy:'xy', + _class_specific: 'xy', pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, snap: {type: 'boolean', value: false, help: [ diff --git a/src/client/widgets/scripts/gyro-archive.js b/src/client/widgets/scripts/gyro-archive.js index ebd83765..b3baa851 100644 --- a/src/client/widgets/scripts/gyro-archive.js +++ b/src/client/widgets/scripts/gyro-archive.js @@ -18,7 +18,7 @@ class Gyroscope extends Widget { return super.defaults({ - _gyroscope: 'gyroscope', + _class_specific: 'gyroscope', frequency: {type: 'number', value: 30, help: 'Value update frequency (updates per seconds)'}, normalize: {type: 'boolean', value: true, help: 'Normalize gravity related values'}, diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 7cf234ea..81de6192 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -16,12 +16,12 @@ class Script extends Widget { return super.defaults({ - _script: 'script', + _class_specific: 'script', event: {type: 'string', value: 'value', choices: ['value', 'keyboard'], help: 'Define which events trigger the script\'s execution.'}, script: {}, - _eventKey: 'event: keyboard', + _separator: 'event: keyboard', keyBinding: {type: 'string|array', value: '', help: 'Key combo `string` or `array` of strings (see
        KeyboardJS documentation)'}, keyRepeat: {type: 'boolean', value: true, help: 'Set to `false` to prevent keydown repeats when holding the key combo pressed'}, diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index 582c5d7f..563b8b41 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -15,7 +15,7 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range return Widget.defaults({ - _encoder: 'encoder', + _class_specific: 'encoder', ticks: {type: 'number', value: 360, help: 'defines the granularity / verbosity of the encoder (number of step for a 360° arc)'}, back: {type: '*', value: -1, help: 'Defines which value is sent when rotating the encoder anticlockwise'}, diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index a9d2a581..dddbf368 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -13,7 +13,7 @@ module.exports = class Fader extends Slider { return super.defaults({ - _fader:'fader', + _class_specific: 'fader', design: {type: 'string', value: 'default', choices: ['default', 'round', 'compact'], help: 'Design style'}, horizontal: {type: 'boolean', value: false, help: 'Set to `true` to display the fader horizontally'}, diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index d80ca65c..8cd7e1c7 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -13,7 +13,7 @@ module.exports = class Knob extends Slider { return super.defaults({ - _knob:'knob', + _class_specific: 'knob', mode: {type: 'string', value: 'vertical', choices: ['vertical', 'circular', 'snap'], help: [ '- `circular`: relative move in circular motion', diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 5ea66c90..ad49574f 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -89,7 +89,6 @@ osc-inspector-category { .category-header { position: relative; - text-transform: none; cursor: pointer; height: $header-height; line-height: $header-height; @@ -115,7 +114,23 @@ osc-inspector-category { } - osc-inspector-field { + .separator { + height: $header-height; + line-height: $header-height + 1; + margin: 8rem 0; + --alpha-fill: 0.75; + position: relative; + @include pseudo-fill($z: -1); + padding: 0 16rem; + opacity: 0.75; + --color-fill: var(--color-background); + &:after { + left:-($padding - 1); + right:-($padding - 1); + } + } + + osc-inspector-field, .separator { display: none; } --alpha-fill: 1; @@ -132,6 +147,9 @@ osc-inspector-category { osc-inspector-field { display: flex; } + .separator { + display: block + } } .category-header + osc-inspector-field { From d969f99ac5a78ac46b912fb8d7df522ab62b826f Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 23:25:28 +0200 Subject: [PATCH 2250/2575] widgets: some props cleanup --- src/client/widgets/containers/clone.js | 9 +++------ src/client/widgets/containers/keyboard.js | 4 ++-- src/client/widgets/containers/matrix.js | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 27d58a66..0d508c6f 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -23,16 +23,13 @@ class Clone extends Container() { _class_specific: 'clone', widgetId: {type: 'string', value: '', help: '`id` of the widget to clone'}, - - _separator: 'overrides', - props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'}, }, [ 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', - 'label', 'color', 'linkId', - '_value', 'default', 'value', - '_osc', 'decimals', 'address', 'preArgs', 'typeTags', 'target', 'bypass' + 'label', 'color', + '_value', 'default', 'value', 'script', 'linkId', + '_osc', 'decimals', 'address', 'preArgs', 'typeTags', 'target', 'ignoreDefaults', 'bypass' ]) } diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index 0c121446..32bfb0d8 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -15,7 +15,7 @@ module.exports = class Keyboard extends Panel { return Widget.defaults({ - _class_specific: 'matrix', + _class_specific: 'keyboard', keys: {type: 'number', value: 25, help: 'Defines the number keys'}, start: {type: 'number', value: 48, help: [ @@ -33,7 +33,7 @@ module.exports = class Keyboard extends Panel { ]}, toggles: {type: 'boolean', value: false, help: 'Set to `true` to make keys bahave like toggle buttons'} - }, ['_value', 'default', 'value', 'linkId'], { + }, [], { css: {type: 'string', value: '', help: [ 'Available CSS variables:', diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 58230a19..9b66641d 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -17,7 +17,7 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { return Widget.defaults({ - _class_specific: 'matrix: widgets', + _class_specific: 'matrix', 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'}, From 800a0bedc237e5e11ee4eeb8e7f7a6e4f55d21c7 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 23:28:14 +0200 Subject: [PATCH 2251/2575] docs: update reference --- .../docs/docs/widgets/properties-reference.md | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 6e65237b..c98666be 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -170,7 +170,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` or `auto` to limit affected widgets by the type of the first touched widget | - === "panel: widget container" + === "widget container" | property | type |default | description | | --- | --- | --- | --- | @@ -180,7 +180,7 @@ |
        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. | - === "panel: tab container" + === "tab container" | property | type |default | description | | --- | --- | --- | --- | @@ -210,7 +210,7 @@ | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | - === "modal: popup" + === "popup" | property | type |default | description | | --- | --- | --- | --- | @@ -245,17 +245,12 @@ | property | type |default | description | | --- | --- | --- | --- | |
        widgetId#
        | `string` | "" | `id` of the widget to clone | - - === "overrides" - - | property | type |default | description | - | --- | --- | --- | --- | |
        props#
        | `object` | \{} | Cloned widget's properties to override | ??? api "
        matrix#
        " Generic matrix for creating rows/columns of widgets. - === "matrix: widgets" + === "matrix" | property | type |default | description | | --- | --- | --- | --- | @@ -264,7 +259,7 @@ |
        start#
        | `integer` | 0 | First widget's index | |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | - === "matrix: layout" + === "layout" | property | type |default | description | | --- | --- | --- | --- | @@ -282,7 +277,7 @@ | --- | --- | --- | --- | |
        css#
        | `string` | "" | Available CSS variables:
        - `--color-white:color;` (white keys color)
        - `--color-black:color;` (black keys color) | - === "matrix" + === "keyboard" | property | type |default | description | | --- | --- | --- | --- | @@ -319,7 +314,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` or `auto` to limit affected widgets by the type of the first touched widget | - === "panel: widget container" + === "widget container" | property | type |default | description | | --- | --- | --- | --- | @@ -329,7 +324,7 @@ |
        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. | - === "panel: tab container" + === "tab container" | property | type |default | description | | --- | --- | --- | --- | @@ -359,7 +354,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` or `auto` to limit affected widgets by the type of the first touched widget | - === "panel: widget container" + === "widget container" | property | type |default | description | | --- | --- | --- | --- | @@ -369,7 +364,7 @@ |
        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. | - === "panel: tab container" + === "tab container" | property | type |default | description | | --- | --- | --- | --- | From fd041e212a4a0ff5e0eef087538cf85080d6b25e Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 08:34:35 +0200 Subject: [PATCH 2252/2575] script: rm colorBg --- src/client/widgets/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 81de6192..810872f2 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -33,7 +33,7 @@ class Script extends Widget { 'visible', 'label', 'interaction', '_geometry', 'left', 'top', 'width', 'height', 'expand', - '_style', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'css' + '_style', 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'css' ], { script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See documentation.'}, From 699638c652e4cc9a681c03347611008183513b52 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 08:39:37 +0200 Subject: [PATCH 2253/2575] package: beta 2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4429661a..a00073a7 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.0.0-beta1", + "version": "1.0.0-beta2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 96dcb501773819d30be688744f85ab898c6710c4 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 10:16:25 +0200 Subject: [PATCH 2254/2575] editor: avoid error when ctrl clicking while selecting is empty --- 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 39b7dd81..d8802e5d 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -402,7 +402,7 @@ class Editor { while (!sameLevel && widget.parent !== widgetManager) { let test = true - if (this.selectedWidgets[0].parent !== widget.parent) test = false + if (this.selectedWidgets.length && this.selectedWidgets[0].parent !== widget.parent) test = false sameLevel = test if (!sameLevel) widget = widget.parent } From d85d8fb7f01592db3547d4cad149164ffc81866a Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 13:10:44 +0200 Subject: [PATCH 2255/2575] package: move html assets to src/ --- app/client/.gitignore | 2 ++ app/launcher/.gitignore | 2 ++ app/client/index.html => src/html/client.html | 0 app/launcher/index.html => src/html/launcher.html | 0 src/server/server.js | 2 ++ 5 files changed, 6 insertions(+) create mode 100644 app/client/.gitignore create mode 100644 app/launcher/.gitignore rename app/client/index.html => src/html/client.html (100%) rename app/launcher/index.html => src/html/launcher.html (100%) diff --git a/app/client/.gitignore b/app/client/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/app/client/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/app/launcher/.gitignore b/app/launcher/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/app/launcher/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/app/client/index.html b/src/html/client.html similarity index 100% rename from app/client/index.html rename to src/html/client.html diff --git a/app/launcher/index.html b/src/html/launcher.html similarity index 100% rename from app/launcher/index.html rename to src/html/launcher.html diff --git a/src/server/server.js b/src/server/server.js index 628bc468..d3276a9a 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -23,6 +23,7 @@ var urlparser = require('url'), ipc = new Ipc(server), theme = require('./theme').init(), zeroconf = require('./zeroconf'), + prod = !process.argv[0].includes('node_modules'), osc = {}, clients = {}, httpCheckTimeout @@ -77,6 +78,7 @@ function httpRoute(req, res) { } else if (/^\/(assets|client)\//.test(url)){ + if (prod) res.setHeader("Cache-Control", "public, max-age=2592000"); res.sendFile(path.resolve(__dirname + '/..' + url)) } else { From 81db9a62272a102f4f26827ea1360a7a3f11ae2a Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 13:25:40 +0200 Subject: [PATCH 2256/2575] package: update font awesome --- resources/fonts/fa-solid.css | 2 +- resources/fonts/fontawesome.min.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/fonts/fa-solid.css b/resources/fonts/fa-solid.css index 28d2889f..fdd5fe71 100644 --- a/resources/fonts/fa-solid.css +++ b/resources/fonts/fa-solid.css @@ -6,7 +6,7 @@ font-family: FontAwesome; font-style: normal; font-weight: 900; - src: url("./fa-solid-900.woff") format("woff")} + src: url("./fa-solid-900.woff2") format("woff2")} .fa, .fas { diff --git a/resources/fonts/fontawesome.min.css b/resources/fonts/fontawesome.min.css index 13a472a0..06a13c55 100644 --- a/resources/fonts/fontawesome.min.css +++ b/resources/fonts/fontawesome.min.css @@ -1,5 +1,5 @@ /*! - * Font Awesome Free 5.8.1 by @fontawesome - https://fontawesome.com + * Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (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{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.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-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adobe:before{content:"\f778"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.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-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.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-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.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-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.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-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.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-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.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-battle-net:before{content:"\f835"}.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-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.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-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.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-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.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-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.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-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.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-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.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-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.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-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.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-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.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-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.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-d-and-d-beyond:before{content:"\f6ca"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.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-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.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-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.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-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.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-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.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-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.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-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guitar:before{content:"\f7a6"}.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-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.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-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-handshake:before{content:"\f2b5"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-wizard:before{content:"\f6e8"}.fa-haykal:before{content:"\f666"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.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-house-damage:before{content:"\f6f1"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-igloo:before{content:"\f7ae"}.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-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.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-lock-open:before{content:"\f3c1"}.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-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.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-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.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-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.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-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.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:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.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-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.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-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.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-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.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-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.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-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.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-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.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-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.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-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.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-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.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-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.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-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.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-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.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-think-peaks:before{content:"\f731"}.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-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.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-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.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-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.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-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.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-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.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-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.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-wind:before{content:"\f72e"}.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-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wolf-pack-battalion:before{content:"\f514"}.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-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.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-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.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 +.fa,.fab,.fad,.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:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{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-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,: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:2.5em}.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-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adobe:before{content:"\f778"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.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-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.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-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.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-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.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-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.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-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.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-battle-net:before{content:"\f835"}.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-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.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-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.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-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\f95b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.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-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.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-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.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-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.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-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.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-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.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-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.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-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.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-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\f952"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.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-alt:before{content:"\f424"}.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-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\f905"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.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-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\f907"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.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-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.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-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.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-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.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-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guitar:before{content:"\f7a6"}.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-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\f95c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.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-sparkles:before{content:"\f95d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\f95e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\f95f"}.fa-handshake-slash:before{content:"\f960"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\f961"}.fa-head-side-cough-slash:before{content:"\f962"}.fa-head-side-mask:before{content:"\f963"}.fa-head-side-virus:before{content:"\f964"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.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-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\f965"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\f913"}.fa-igloo:before{content:"\f7ae"}.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-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\f955"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\f966"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.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-lock-open:before{content:"\f3c1"}.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-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\f967"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.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-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.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-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.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-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\f91a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\f956"}.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:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.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-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.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-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\f968"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\f91e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\f969"}.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-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\f96a"}.fa-pump-soap:before{content:"\f96b"}.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-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.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-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.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-shield-virus:before{content:"\f96c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\f957"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.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-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\f96e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.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-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\f96f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\f970"}.fa-store-slash:before{content:"\f971"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.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-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.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-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.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-think-peaks:before{content:"\f731"}.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-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\f972"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\f941"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.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-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.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-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\f949"}.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-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.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-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\f974"}.fa-virus-slash:before{content:"\f975"}.fa-viruses:before{content:"\f976"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.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-wind:before{content:"\f72e"}.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-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wolf-pack-battalion:before{content:"\f514"}.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-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.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-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.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 From b8f389f5aaff3634ad46821afe4b94626aa970f9 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 13:25:53 +0200 Subject: [PATCH 2257/2575] client: let browser use cache for assets (reset cache when version changes) --- scripts/copy-assets.js | 7 +++++++ src/html/client.html | 16 ++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/scripts/copy-assets.js b/scripts/copy-assets.js index 2d598321..00d3d958 100644 --- a/scripts/copy-assets.js +++ b/scripts/copy-assets.js @@ -7,6 +7,7 @@ var cpr = require('cpr'), ['../LICENSE', '../app/LICENSE'], ['../src/python/', '../app/server/python/'], ['../resources/fonts/', '../app/assets/fonts/'], + ['../src/html/launcher.html', '../app/launcher/index.html'], ] for (var i in files) { @@ -46,3 +47,9 @@ appJson.optionalDependencies = { } fs.writeFileSync(path.resolve(__dirname + '/../app/package.json'), JSON.stringify(appJson, null, ' ')) + +var clientHtml = fs.readFileSync(path.resolve(__dirname + '/../src/html/client.html')) + .toString() + .replace(/\$\{version\}/g, appJson.version) + +fs.writeFileSync(path.resolve(__dirname + '/../app/client/index.html'), clientHtml) diff --git a/src/html/client.html b/src/html/client.html index 088dfcbb..5d1f18f0 100644 --- a/src/html/client.html +++ b/src/html/client.html @@ -6,14 +6,14 @@ - - - - - - - - + + + + + + + + From 7289466c4a20637019b65d235557f97f68d05deb Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 13:26:51 +0200 Subject: [PATCH 2258/2575] package: rm old font awesome --- resources/fonts/fa-solid-900.woff | Bin 96256 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 resources/fonts/fa-solid-900.woff diff --git a/resources/fonts/fa-solid-900.woff b/resources/fonts/fa-solid-900.woff deleted file mode 100644 index 86d9b32bae2f1ae22d9d7f0ff927e6427edce1a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96256 zcmZTuV~{31vwg<4ZQDDxc5K_WZQHiFV`Im*ZQH*4et&OQoh0X^yQ|WFx+;mAoR}B@ z2mk;8xdQ-j|7PG-X&}jtynn0zXJTT?GXESI|7~FZ18&4Z#J#wPsMtSE`X9&tAE-h8 z$SE-}|I@7hak+oc7Y;hgHnK6W|EF~U0N{cE01UFgy`+$tfzv+?@}JB92FRZu0En5j zhv`2G2>=pZ004VQsBnuKnVT3G1At^U|M{`~13Rj=R+0HX5db8M`i~R-11YF5*rmCR zv->}d6#xKf2LRx!e?b6GTH6`@^HaD50H6Z?Y4xB?Op7)K?)Cs6E$4r61pmc@!T~OA z4Qx#QY03WzfB*o1kqI}mFWTEVIRk)nivJx~0|212!GnuGb2h z1mMmA&-*Xm)v}d+>JS>lEkyw4SZ?Eq%Ao%|YQ4*%YM&ukmpzs|B56n|SARNWc!j$K z)x0B2iU1;Ipgw3YxWr#Nf00@wWG5nWV@h&h>NG^;Yr?dK&Kb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7sjXnQ+`asA~V3#3ei z@k-tT{yl2wpl7krk-`w3+Yb{D4tc&(Ogt@mAR%$@n36HT2tz80Q(O2-MOQJ7EL z@K*TgI%iGW?X$_Z6V}K~dFI;Uf!Ri?0_#MCfa0~LD2FO+83%C})~aVQmJ#{#f z*m`3wM3t?(cdf@u&Khg7xWBQc?L2Xb<8Lq4cPwl#>4xB-fQzbYKjGEzZZ6XBLj1+e z7Jb0A9-`f2iUx}4^Iw(B`=u_xk+_Mcz~-i#l}>So1!j-4-Nx!blFz%_{B?1m{nnh( zK#l$JV#EhqT!DYWOX588c}vtd$)~%2LlDB6}oS; zK7Twg`*+1%7Cc2}@ynsj-rkrS?Aai)mHk+ADQVq|Hze%DK^&kkXvLU6Z>KRlDeI&) zB0H~oDA-~fy`vqe>Cahyoc0WiiQHA`^&N@prKn?E(cd+3YK4xO`IU9fSj(4#R{CKjxwc zXVi`eH<_%NuvNgnN>o1lp@~Mu~ UjU5}<(#t{U{{g^FwM_s30F^vzIsgCw From 2bcd0e7008b92724b5add2cb1934e3d349feb25f Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 13:27:57 +0200 Subject: [PATCH 2259/2575] package: missing new font file --- resources/fonts/fa-solid-900.woff2 | Bin 0 -> 79444 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 resources/fonts/fa-solid-900.woff2 diff --git a/resources/fonts/fa-solid-900.woff2 b/resources/fonts/fa-solid-900.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..978a681a10ff0478581436eaca5c5695c97445d4 GIT binary patch literal 79444 zcmV(^K-Ir@Pew8T0RR910X9?s4FCWD0~d4v0X6smO9Bi400000000000000000000 z0000#Mn+Uk92y=5U;vp`5eN#3=2VEnD*-kFBm9D+l3hTgh~iLA3L) zRED{20FY%BfBdgI*|-DH9dNI3D>Pg&wq*@_91!3a&i?=Z|9@Mu2;1D9TxN57ZxBUL zB99SEwYF6hGaE87deYA9QleN?)uhCTY?_*M<+EyvGH)K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qy`< za-1zL*ZLhV`=nK_I9RIn1p|DvJ{L(6)0=u#a-oAZnL`^p z0A=67%)TnxfDTb|#JHMEcBF)+5_?U;sNWDXbMqH-9Jsh=$GMe477H^gm?$GLS-d6P zXRKvW|AKAN`_E8EgULOT>#CYM_;u~Akr4DKD6(3WPp|6ak)ke$Dd${|Y*TWgTe^h- z^^==2tvAnk6dC02pfNPP!LF&6yF~^ArJ1TS+=l3RUvflwyl&%#CkTa~gcyC1AzRo|^2-ValSD)&&-=s+$=*S(D?>)%nO%0p7a6YHTKoLX){y>6A+Ht< z6t6w*A^`%v!Bw=3Sb7q*89tl1szcx>M#XS~$;n{(fKveubbI$|$QodfvgdQfXn?YR;GTW=TK*0093BVBfFK literal 0 HcmV?d00001 From 7a695343dea1658ab3dc17ad998f6b3e6db01884 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 14:35:21 +0200 Subject: [PATCH 2260/2575] slider: fix pips initial font weight --- package.json | 2 +- src/client/widgets/sliders/fader.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a00073a7..e65b1787 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.0.0-beta2", + "version": "1.0.0-beta3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index dddbf368..522a357d 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -335,7 +335,7 @@ module.exports = class Fader extends Slider { preserveDrawingBuffer: true }) - ctx.font = this.ctx.font + ctx.font = this.fontWeight + ' ' + this.fontSize + 'px ' + this.fontFamily ctx.textBaseline = this.ctx.textBaseline ctx.textAlign = this.ctx.textAlign From 00d0c0149d554f212248939a6f0edd96d5c27bed Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 15 May 2020 20:56:58 +0200 Subject: [PATCH 2261/2575] server: lint --- src/server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/server.js b/src/server/server.js index d3276a9a..206be574 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -78,7 +78,7 @@ function httpRoute(req, res) { } else if (/^\/(assets|client)\//.test(url)){ - if (prod) res.setHeader("Cache-Control", "public, max-age=2592000"); + if (prod) res.setHeader('Cache-Control', 'public, max-age=2592000') res.sendFile(path.resolve(__dirname + '/..' + url)) } else { From 71db898ef4bf2c8484a37676c8a0d84d6b21b854 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 16:37:02 +0200 Subject: [PATCH 2262/2575] widgets: adjust button default css variables --- src/scss/widgets/basics.scss | 66 +++++++++++++++++++------------- src/scss/widgets/containers.scss | 6 +-- src/scss/widgets/indicators.scss | 2 +- 3 files changed, 43 insertions(+), 31 deletions(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index e6ea2b3f..a2273967 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -12,7 +12,7 @@ .button-container { - --alpha-fill-off: 0; + --alpha-fill-off: .15; --alpha-fill-on: .75; --widget-padding: -1rem; --color-text-on: var(--color-background); @@ -57,17 +57,24 @@ .switch-container { + --alpha-fill-off: .15; --alpha-fill-on: 0.75; --alpha-fill: var(--alpha-fill-off); --color-text-on: var(--color-background); - inner { + @include pseudo-stroke(); + &:before { + margin: var(--widget-spacing); + } + padding:20rem; + inner { position: relative; display: flex; flex-direction: column; + --widget-spacing: calc(var(--widget-padding) / 2); + margin: calc(var(--widget-spacing)); - @include pseudo-stroke(); } @@ -96,6 +103,9 @@ text-overflow: clip; overflow: hidden; @include pseudo-fill($z: -1); + &:after { + margin: calc(var(--widget-spacing) - 1rem); + } &.on { --alpha-fill: var(--alpha-fill-on); @@ -118,8 +128,11 @@ .menu-container { - --alpha-fill: 0.75; + --alpha-fill-off: .15; + --alpha-fill-on: .75; + --alpha-fill-hover: calc(var(--alpha-fill-on) / 2); --widget-padding: 1rem; + --text-padding: calc(var(--widget-padding) + 8rem); border-radius: 0!important; // border radius breaks it somehow z-index: initial!important; @@ -148,6 +161,7 @@ align-items: center; position: relative; @include pseudo-stroke(); + @include pseudo-fill($z: -1); &.text-align-right .text { justify-content: flex-end; @@ -179,8 +193,7 @@ display: flex; justify-content: center; align-items: center; - padding-left: var(--widget-padding); - padding-right: var(--widget-padding); + padding-left: var(--text-padding); } .icon { order: 1; @@ -191,11 +204,10 @@ width: 30rem; height: calc(100% - 2rem); font-family: FontAwesome; - color: var(--color-stroke); font-size: 120%; - border-left: 1rem solid var(--color-stroke); - opacity: var(--alpha-stroke); margin: 1rem 0; + margin-right: var(--widget-padding); + z-index: 1; &:after { content:"\f107"; } @@ -290,10 +302,10 @@ } &.on div:before { - opacity: var(--alpha-fill)!important; + opacity: var(--alpha-fill-on)!important; } &.active div:before, &:hover div:before { - opacity: calc(var(--alpha-fill) / 2); + opacity: var(--alpha-fill-hover); } @@ -341,13 +353,13 @@ &.on { color: var(--color-background); div:after { - opacity: var(--alpha-fill)!important; + opacity: var(--alpha-fill-on)!important; } } &.active, &:hover { div:after, div:after { - opacity: calc(var(--alpha-fill) / 2); + opacity: var(--alpha-fill-hover); } } @@ -374,8 +386,10 @@ .dropdown-container { - --alpha-fill: 0.75; + --alpha-fill-off: .15; + --alpha-fill-on: .75; --widget-padding: 1rem; + --text-padding: calc(var(--widget-padding) + 8rem); border-radius: 0!important; // border radius breaks it somehow z-index: initial!important; @@ -400,6 +414,7 @@ align-items: stretch; position: relative; @include pseudo-stroke(); + @include pseudo-fill($z: -1); &.right .text { justify-content: flex-end; @@ -415,8 +430,7 @@ display: flex; justify-content: center; align-items: center; - padding-left: var(--widget-padding); - padding-right: var(--widget-padding); + padding-left: var(--text-padding); } .icon { order: 1; @@ -426,10 +440,8 @@ align-items: center; width: 30rem; font-family: FontAwesome; - color: var(--color-stroke); font-size: 120%; - border-left: 1rem solid var(--color-stroke); - opacity: var(--alpha-stroke); + margin-right: var(--widget-padding); &:after { content:"\f107"; } @@ -456,6 +468,7 @@ .input-container { --alpha-fill-off: 0.05; + --text-padding: calc(var(--widget-padding) + 8rem); inner { position: relative; @@ -472,8 +485,7 @@ text-align: left; } - padding-left: calc(var(--widget-padding) * 2); - padding-right: calc(var(--widget-padding) * 2); + padding: 0 var(--text-padding); } @@ -527,8 +539,10 @@ .file-container { - --alpha-fill: 0.75; + --alpha-fill-off: .15; + --alpha-fill-on: .75; --widget-padding: 1rem; + --text-padding: calc(var(--widget-padding) + 8rem); inner { flex:1; @@ -538,6 +552,7 @@ align-items: stretch; position: relative; @include pseudo-stroke(); + @include pseudo-fill($z: -1); &.right .text { justify-content: flex-end; @@ -553,8 +568,7 @@ display: flex; justify-content: center; align-items: center; - padding-left: var(--widget-padding); - padding-right: var(--widget-padding); + padding-left: var(--text-padding); min-width: 0; overflow: hidden; } @@ -566,10 +580,8 @@ align-items: center; width: 30rem; font-family: FontAwesome; - color: var(--color-stroke); font-size: 120%; - border-left: 1rem solid var(--color-stroke); - opacity: var(--alpha-stroke); + margin-right: var(--widget-padding); &:after { content:"\f07c"; } diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 0df937f7..e7faaf08 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -346,7 +346,7 @@ &.empty { @include pseudo-stroke(); &:before { - content:"clone" + margin: var(--widget-spacing); } } @@ -384,11 +384,11 @@ --widget-padding: 4rem; --color-text-on: var(--color-background); + --alpha-fill-off: 0.15; + --alpha-fill-on: .75; > .toggle { - --alpha-fill-off: 0; - --alpha-fill-on: .75; --widget-padding: -1rem; position: absolute; diff --git a/src/scss/widgets/indicators.scss b/src/scss/widgets/indicators.scss index b45c15a6..d08093e7 100644 --- a/src/scss/widgets/indicators.scss +++ b/src/scss/widgets/indicators.scss @@ -38,7 +38,7 @@ --alpha-stroke: 0; --alpha-fill-off: 0.1; --alpha-fill-on: 1; - --widget-padding: -1; + --widget-padding: -1rem; inner { @include pseudo-stroke(); From f7a3a8efe3cd04ed9376492652adb804e7675005 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 16:46:22 +0200 Subject: [PATCH 2263/2575] switch: small css fix --- src/scss/widgets/basics.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index a2273967..bdc0945a 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -73,7 +73,7 @@ display: flex; flex-direction: column; --widget-spacing: calc(var(--widget-padding) / 2); - margin: calc(var(--widget-spacing)); + margin: calc(var(--widget-spacing) + 1rem); } From 8a9433846fbf88bdcb347bb51d27ecc3c30f6ad9 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 16:54:44 +0200 Subject: [PATCH 2264/2575] ui: rm border radius, make file browser more flat --- src/scss/ui/button.scss | 1 - src/scss/ui/filebrowser.scss | 10 ++++++---- src/scss/ui/inspector.scss | 5 ----- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/scss/ui/button.scss b/src/scss/ui/button.scss index 5c975943..409076c7 100644 --- a/src/scss/ui/button.scss +++ b/src/scss/ui/button.scss @@ -2,7 +2,6 @@ background: var(--color-background); display: block; padding: 0 15rem; - border-radius: 2rem; position: relative; white-space: nowrap; text-overflow: ellipsis; diff --git a/src/scss/ui/filebrowser.scss b/src/scss/ui/filebrowser.scss index 3c0f312f..2818d40c 100644 --- a/src/scss/ui/filebrowser.scss +++ b/src/scss/ui/filebrowser.scss @@ -10,7 +10,7 @@ $padding: 8rem; height: 40rem; flex-shrink: 0; line-height: 40rem; - padding-left: $padding; + padding-left: $padding + 2rem; background: var(--color-ui-button); } @@ -66,10 +66,12 @@ $padding: 8rem; height: 42rem + $padding * 2; line-height: 38rem; flex-shrink: 0; - border: $padding solid var(--color-ui-background); - padding: 1rem; + // border: $padding solid var(--color-ui-background); + padding: $padding; + background: var(--color-ui-background); .btn, input { - margin: 1rem;; + margin: 1rem; + margin-left: $padding; text-overflow: clip; min-width: 0; background: var(--color-ui-button); diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index ad49574f..1c8acf02 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -189,10 +189,6 @@ osc-inspector-checkbox { @include pseudo-fill($z: -1); z-index: 1; - &:after { - border-radius: 2rem; - } - &.on { --color-fill: var(--color-widget); --alpha-fill: 0.5; @@ -277,7 +273,6 @@ osc-inspector-color { --widget-padding: 1rem; @include pseudo-fill(); &:after { - border-radius: 2rem; border: 1rem solid var(--color-ui-button) } } From dcfb6af1a9cc7a0a4e93a79290adf59cc9953e27 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 16:58:44 +0200 Subject: [PATCH 2265/2575] switch: style fix when padding==0 --- src/client/widgets/basics/switch.js | 8 ++++++++ src/scss/widgets/basics.scss | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/basics/switch.js b/src/client/widgets/basics/switch.js index 2adf0153..adef332d 100644 --- a/src/client/widgets/basics/switch.js +++ b/src/client/widgets/basics/switch.js @@ -116,6 +116,14 @@ class Switch extends MenuBase { } } + + setCssVariables() { + + super.setCssVariables() + + this.container.classList.toggle('padding-0', this.getProp('padding') === -1) + + } } Switch.cssVariables = Switch.prototype.constructor.cssVariables.concat( diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index bdc0945a..6b18399e 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -66,7 +66,6 @@ &:before { margin: var(--widget-spacing); } - padding:20rem; inner { position: relative; @@ -78,6 +77,12 @@ } + &.padding-0 inner { + // style fix for padding == 0 + margin: 0; + + } + &.layout-horizontal inner { flex-direction: row; From 5c7a55a40440cd9615a2068df1c1df3e45e64a66 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 17:03:09 +0200 Subject: [PATCH 2266/2575] misc: correct css comment --- src/scss/widgets/basics.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 6b18399e..b4862413 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -78,7 +78,7 @@ } &.padding-0 inner { - // style fix for padding == 0 + // style fix for padding == -1 margin: 0; } From 39b1180d9cb4cef1e23d7404e8c90f24d0db2fc7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 17:11:16 +0200 Subject: [PATCH 2267/2575] script: fix stateGet --- 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 19f0d79e..575783b0 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -157,7 +157,7 @@ class ScriptVm extends Vm { filter = Array.isArray(filter) ? filter : [filter] - var containers = this.filter.map(x=>this.resolveId(id)).reduce((a,b)=>a.concat(b), []) + var containers = filter.map(x=>this.resolveId(x)).reduce((a,b)=>a.concat(b), []) if (!containers.length) return filter = (widget)=>{ From 9aeee0515f83dd884e71b8e26320bb58a81441e6 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 17:22:06 +0200 Subject: [PATCH 2268/2575] editor: make dragresize rectangle resize with viewport --- src/client/ui/ui-dragresize.js | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/client/ui/ui-dragresize.js b/src/client/ui/ui-dragresize.js index 6f9bacba..4df72d5c 100644 --- a/src/client/ui/ui-dragresize.js +++ b/src/client/ui/ui-dragresize.js @@ -32,6 +32,7 @@ class UiDragResize extends UiWidget { this.width = 0 this.height = 0 + this.widgets = [] this.mounted = false this.handles = DOM.get(this.container, '.handle') @@ -94,6 +95,10 @@ class UiDragResize extends UiWidget { }, {element: this.container}) + window.addEventListener('resize', ()=>{ + if (this.mounted) this.updateRectangle() + }) + // this.handles[0]._ignore_css_transforms = true } @@ -104,6 +109,7 @@ class UiDragResize extends UiWidget { this.container.parentNode.removeChild(this.container) this.mounted = false + this.widgets = [] } @@ -112,11 +118,22 @@ class UiDragResize extends UiWidget { this.clear() - widgets = widgets.slice().filter(w=>w.getProp('visible') && !(w instanceof Tab) && !(w instanceof Root)) + this.widgets = widgets.slice().filter(w=>w.getProp('visible') && !(w instanceof Tab) && !(w instanceof Root)) - if (!widgets.length) return + if (!this.widgets.length) return - var widget = widgets[0] + this.updateRectangle() + + this.widgets[0].parentNode.appendChild(this.container) + this.mounted = true + + + } + + updateRectangle() { + + var widgets = this.widgets, + widget = widgets[0] var handlesVisibility = [ widget.parent.getProp('layout') === 'default', // nw @@ -145,9 +162,6 @@ class UiDragResize extends UiWidget { this.updateCss() - parent.appendChild(this.container) - this.mounted = true - } updateCss(grid) { From 6758fc44cd461ede312168006270f6fd417e577b Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 19:19:31 +0200 Subject: [PATCH 2269/2575] editor: fix children dnd sorting in modals --- 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 d8802e5d..78026644 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -52,7 +52,7 @@ class Editor { this.widgetTree.on('sorted', (event)=>{ var {widget, oldIndex, newIndex} = event, - propName = widget.props.tabs.length ? 'tabs' : 'widgets' + propName = widget.props.tabs && widget.props.tabs.length ? 'tabs' : 'widgets' if (widget.props[propName].length < 2) return From 5d4ca0882fd64c6b514abda3a5ecdc551afafb91 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 19:46:29 +0200 Subject: [PATCH 2270/2575] text: icon valign & vertical mode orientation --- src/scss/widgets/indicators.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/scss/widgets/indicators.scss b/src/scss/widgets/indicators.scss index d08093e7..5c440faa 100644 --- a/src/scss/widgets/indicators.scss +++ b/src/scss/widgets/indicators.scss @@ -83,6 +83,13 @@ text-overflow: ellipsis; -webkit-writing-mode:vertical-rl; writing-mode:vertical-rl; + i { + transform: rotate(180deg); + writing-mode: initial; + } + } + i { + margin-top: -1rem; } } } From 5a79e8a17505c32cdaa0ed6e24d24f927a11af06 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 19:53:04 +0200 Subject: [PATCH 2271/2575] dropdown: allow border radius --- src/scss/widgets/basics.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index b4862413..8bb6f1c7 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -139,7 +139,6 @@ --widget-padding: 1rem; --text-padding: calc(var(--widget-padding) + 8rem); - border-radius: 0!important; // border radius breaks it somehow z-index: initial!important; // contain: style size; @@ -396,7 +395,6 @@ --widget-padding: 1rem; --text-padding: calc(var(--widget-padding) + 8rem); - border-radius: 0!important; // border radius breaks it somehow z-index: initial!important; // contain: style size; From be88d446b97fb5b697199d2c7f77f1a6b253c92c Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 16 May 2020 19:55:12 +0200 Subject: [PATCH 2272/2575] text: correct inner padding --- src/scss/widgets/indicators.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/widgets/indicators.scss b/src/scss/widgets/indicators.scss index 5c440faa..4a931382 100644 --- a/src/scss/widgets/indicators.scss +++ b/src/scss/widgets/indicators.scss @@ -39,6 +39,7 @@ --alpha-fill-off: 0.1; --alpha-fill-on: 1; --widget-padding: -1rem; + --text-padding: calc(var(--widget-padding) + 8rem); inner { @include pseudo-stroke(); @@ -64,7 +65,7 @@ overflow: hidden; text-align: center; word-wrap: break-word; - border: 2rem solid transparent; + padding: 0 var(--text-padding); &.right { text-align: right; From f13e5012643d7f79c3b636be2fc746205b9047da Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 17 May 2020 18:56:01 +0200 Subject: [PATCH 2273/2575] editor: bypass kb shortcuts when help modal is opened (to allow text copy) --- src/client/editor/index.js | 2 +- src/client/ui/ui-inspector.js | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 78026644..aa431dd9 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -169,7 +169,7 @@ class Editor { handleKeyboard(combo, e){ - if (e.target && (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA' || e.target.tagName === 'SELECT')) return + if (this.inspector.helpModalOpened || e.target && (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA' || e.target.tagName === 'SELECT')) return e.preventDefault() diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index a18d23d2..3f572b93 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -85,6 +85,8 @@ class UiInspector extends UiWidget { this.lock = false this.clearTimeout = null + this.helpModalOpened = false + } clear() { @@ -269,7 +271,7 @@ class UiInspector extends UiWidget { computedValue = JSON.stringify(computedValue, null, ' ') } - new UiModal({closable: true, title: html`${name}`, html: true, content: html` + var modal = new UiModal({closable: true, title: html`${name}`, html: true, content: html`

        @@ -291,6 +293,12 @@ class UiInspector extends UiWidget {
        `}) + + this.helpModalOpened = true + modal.on('close', ()=>{ + this.helpModalOpened = false + }) + } } From 409262cfda4aebdd9d18f3f38048acf64be00721 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 17 May 2020 19:20:21 +0200 Subject: [PATCH 2274/2575] ui: uncomment kb shortcuts for toggling grid/tree/inspector --- src/client/ui/ui-toolbar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index c34d1928..8a8cdc79 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -142,14 +142,14 @@ var menuEntries = [ label: locales('editor_grid'), class: ()=>{return 'toggle ' + (editor.grid ? 'on' : 'off')}, action: editor.toggleGrid.bind(editor), - // shortcut: 'mod + g' + shortcut: 'mod + g' }, { label: locales('editor_tree'), class: ()=>{return 'toggle ' + (leftUiSidePanel.minimized ? 'off' : 'on')}, action: ()=>{return leftUiSidePanel.minimized ? leftUiSidePanel.restore() : leftUiSidePanel.minimize()}, - // shortcut: 'mod + t' + shortcut: 'mod + t' }, @@ -157,7 +157,7 @@ var menuEntries = [ label: locales('editor_inspector'), class: ()=>{return 'toggle ' + (rightUiSidePanel.minimized ? 'off' : 'on')}, action: ()=>{return rightUiSidePanel.minimized ? rightUiSidePanel.restore() : rightUiSidePanel.minimize()}, - // shortcut: 'mod + i' + shortcut: 'mod + i' } ] }, From 00b146e59292ca5bbf5f0c7ecd44ed1a64cf4bd3 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 17 May 2020 19:23:27 +0200 Subject: [PATCH 2275/2575] docs: ctrl+g/t/i --- resources/docs/docs/user-interface/editor.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index ee56067a..db728199 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -60,12 +60,13 @@ Multiple widgets can be edited at once. ## Keyboard shortcuts -The following shortcuts are available only when the editor is enabled: - === "Linux / Windows" | Shortcut | Description | |---|---| + | ++ctrl+g++ | Toggle grid. | + | ++ctrl+t++ | Toggle session tree. | + | ++ctrl+i++ | Toggle inspector. | | ++"Click"++ | Widget selection. | | ++ctrl+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.| | ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If ++ctrl++ is pressed too, current selection is kept and will be merged with the new one if possible. | @@ -89,6 +90,9 @@ The following shortcuts are available only when the editor is enabled: | Shortcut | Description | |---|---| + | ++cmd+g++ | Toggle grid. | + | ++cmd+t++ | Toggle session tree. | + | ++cmd+i++ | Toggle inspector. | | ++"Click"++ | Widget selection. | | ++cmd+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.| | ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If ++cmd++ is pressed too, current selection is kept and will be merged with the new one if possible. | From eb2a9a638e4862761954c1864e46286d546e6b86 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 17 May 2020 19:33:22 +0200 Subject: [PATCH 2276/2575] package: beta4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e65b1787..bf1d7a7c 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.0.0-beta3", + "version": "1.0.0-beta4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 72bdb223b826c6ee5d26c4d08a5c6dbe2bbc9879 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 17 May 2020 19:39:34 +0200 Subject: [PATCH 2277/2575] lint --- src/client/ui/ui-dragresize.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/ui/ui-dragresize.js b/src/client/ui/ui-dragresize.js index 4df72d5c..1d745f03 100644 --- a/src/client/ui/ui-dragresize.js +++ b/src/client/ui/ui-dragresize.js @@ -146,8 +146,7 @@ class UiDragResize extends UiWidget { this.handles[i].style.display = handlesVisibility[i] ? '' : 'none' } - var parent = widget.parentNode, - lefts = widgets.map(w => w.container.offsetLeft), + var lefts = widgets.map(w => w.container.offsetLeft), tops = widgets.map(w => w.container.offsetTop), rights = widgets.map(w => w.container.offsetLeft + w.container.offsetWidth), bottoms = widgets.map(w => w.container.offsetTop + w.container.offsetHeight) From 7272b08dc858836332677b7c5cb8c85058018d0d Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 17 May 2020 23:07:08 +0200 Subject: [PATCH 2278/2575] script: fix casing in keyType default value --- src/client/widgets/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 810872f2..c0f8e0fe 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -25,7 +25,7 @@ class Script extends Widget { keyBinding: {type: 'string|array', value: '', help: 'Key combo `string` or `array` of strings (see
        KeyboardJS documentation)'}, keyRepeat: {type: 'boolean', value: true, help: 'Set to `false` to prevent keydown repeats when holding the key combo pressed'}, - keyType: {type: 'string', value: 'keyDown', choices: ['keydown', 'keyup', 'both'], help: 'Determines which key event trigger the script\'s execution'}, + keyType: {type: 'string', value: 'keydown', choices: ['keydown', 'keyup', 'both'], help: 'Determines which key event trigger the script\'s execution'}, From b05220b478777e02b3c775cade9f3120a1e6c25e Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 19 May 2020 21:00:03 +0200 Subject: [PATCH 2279/2575] widgets: let prop inheritance trigger recreation upon non-dynamic prop update from self --- 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 eb2b4f94..5c9befbf 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -721,7 +721,7 @@ class Widget extends EventEmitter { if (!this.isDynamicProp(propName)) { - if ((!widget || !this.contains(widget)) && widget !== this && !(widget === this && updatedProps.length === 1 && updatedProps[0] === 'value')) { + if ((!widget || !this.contains(widget)) && !(widget === this && updatedProps.length === 1 && updatedProps[0] === 'value')) { reCreate = true break } From 4654c7ae82db09cf4a0e6df470990d3277281018 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 09:51:44 +0200 Subject: [PATCH 2280/2575] inspector: put prop value in placeholder when == default and == auto --- src/client/ui/ui-inspector-field.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client/ui/ui-inspector-field.js b/src/client/ui/ui-inspector-field.js index 3530dbf8..e7cd7f40 100644 --- a/src/client/ui/ui-inspector-field.js +++ b/src/client/ui/ui-inspector-field.js @@ -65,8 +65,13 @@ class UiInspectorField extends UiWidget { JSON.stringify(this.value, null, ' ').replace(/\n\s\s\s\s/g, ' ').replace(/\n\s\s(\}|\])/g, ' $1') : this.value - var input = html`` + var input = html`` + if (this.default.value === 'auto' && stringValue === 'auto') { + input.placeholder = stringValue + } else { + input.textContent = stringValue + } this.container.appendChild(input) From e0d8c970d9da8ff0e5d68f582725849e6dd2e5d5 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 10:03:37 +0200 Subject: [PATCH 2281/2575] site: link to beta in download --- resources/docs/download.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index 46fffd62..56717213 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,7 +1,7 @@ # Download the latest release -!!! info "Open Stage Control v1 is currently in alpha" - Give it a try and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-alpha/472) ! +!!! info "Open Stage Control v1 is currently in beta" + Give it a try and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-beta/543/3) ! Open Stage Control From 6e9b1eb1e20f000186d086e9a7f81b9037843664 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 10:04:07 +0200 Subject: [PATCH 2282/2575] docs: updae --- 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 c98666be..bef02052 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -713,4 +713,4 @@ | --- | --- | --- | --- | |
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | |
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | - |
        keyType#
        | `string` | "keyDown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | + |
        keyType#
        | `string` | "keydown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | From c291d3e9a2bf14582e18aa8c7890b4211d53d5f9 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 10:04:39 +0200 Subject: [PATCH 2283/2575] docs: fix beta link --- resources/docs/download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/download.md b/resources/docs/download.md index 56717213..530ca875 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,7 +1,7 @@ # Download the latest release !!! info "Open Stage Control v1 is currently in beta" - Give it a try and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-beta/543/3) ! + Give it a try and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-beta/543) ! Open Stage Control From fde6b7c90de477c372a28d3df4eb40439560dfe7 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 13:39:24 +0200 Subject: [PATCH 2284/2575] docs: fix typo in remote-control /SET --- 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 de3c752e..6a598334 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -115,7 +115,7 @@ Same as `/GET` but uses the widget's address instead of `/GET` to reply. ---- -#### `/SET target id value` +#### `/SET 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. From 4295483fad6c4118a5e1e0128617b540bbb80c5f Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 17:55:22 +0200 Subject: [PATCH 2285/2575] widgets: set default address to "auto" and use id automatically --- src/client/editor/index.js | 5 +---- src/client/managers/widgets.js | 2 +- src/client/parser.js | 4 ---- src/client/widgets/common/osc-receiver.js | 4 +++- src/client/widgets/common/widget.js | 7 +++++-- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index aa431dd9..90da49b8 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -30,10 +30,7 @@ class Editor { newWidgets = [] for (var w of this.selectedWidgets) { - if (propName === 'address' && value === '') { - // special case - w.props[propName] = '/' + w.props.id - } else if ((propName === 'label' || propName === 'popupLabel') && value === true) { + if ((propName === 'label' || propName === 'popupLabel') && value === true) { w.props[propName] = 'auto' } else { w.props[propName] = value !== '' ? value : deepCopy(defaults[w.props.type][propName].value) diff --git a/src/client/managers/widgets.js b/src/client/managers/widgets.js index 0472dc3a..c8b2422b 100644 --- a/src/client/managers/widgets.js +++ b/src/client/managers/widgets.js @@ -143,7 +143,7 @@ class WidgetManager extends EventEmitter { preArgs: widget.getProp('preArgs'), target: widget.getProp('target'), typeTags: widget.getProp('typeTags'), - address: widget.getProp('address'), + address: widget.getProp('address') === 'auto' ? '/' + widget.getProp('id') : widget.getProp('address'), } }) diff --git a/src/client/parser.js b/src/client/parser.js index e4a63533..28702e57 100644 --- a/src/client/parser.js +++ b/src/client/parser.js @@ -67,10 +67,6 @@ var Parser = class Parser { props.id = id } - // Generate default address (also handled in editor/edit-field) - props.address = props.address === 'auto' ? '/' + props.id : props.address - - // Remove props that don't apply for (let j in props) { if (defaults[j] === undefined || j[0] === '_') delete props[j] diff --git a/src/client/widgets/common/osc-receiver.js b/src/client/widgets/common/osc-receiver.js index a21b97a6..3f3ed4b2 100644 --- a/src/client/widgets/common/osc-receiver.js +++ b/src/client/widgets/common/osc-receiver.js @@ -35,7 +35,9 @@ module.exports = class OscReceiver { if (address) this.address = address if (this.address[0] !== '/') { - this.prefix = this.parent.getProp('address') || this.parent.resolveProp('address', undefined, false, this) + var parentAddress = this.parent.getProp('address') || this.parent.resolveProp('address', undefined, false, this) + if (parentAddress === 'auto') parentAddress = '/' + this.parent.getProp('id') + this.prefix = parentAddress if (this.prefix[this.prefix.length - 1] !== '/') this.prefix += '/' } diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 5c9befbf..c5977b2e 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -103,7 +103,10 @@ class Widget extends EventEmitter { _osc: 'osc', - address: {type: 'string', value: 'auto', help: 'OSC address for sending messages, it must start with a /'}, + address: {type: 'string', value: 'auto', help: [ + 'OSC address for sending / receiving messages, it must start with a slash (`/`)', + 'By default ("auto"), the widget\'s id is used: `/widget_id`', + ]}, preArgs: {type: '*|array', value: '', help: [ 'A value or array of values that will be prepended to the OSC messages.', ]}, @@ -837,7 +840,7 @@ class Widget extends EventEmitter { var data = {}, oldData = { preArgs: propName == 'preArgs' ? oldPropValue : this.getProp('preArgs'), - address: propName == 'address' ? oldPropValue : this.getProp('address') + address: propName == 'address' ? oldPropValue : (this.getProp('address') === 'auto' ? '/' + this.getProp('id') : this.getProp('address')) } data[propName] = this.getProp(propName) widgetManager.registerWidget(this, data, oldData) From 28fa4172ffbe5027d3cc318ab2e69759117cd62e Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 18:32:31 +0200 Subject: [PATCH 2286/2575] 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 bef02052..20b787cc 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -59,7 +59,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        address#
        | `string` | "auto" | OSC address for sending messages, it must start with a / | + |
        address#
        | `string` | "auto" | OSC address for sending / receiving messages, it must start with a slash (`/`)

        By default ("auto"), the widget's id is used: `/widget_id` | |
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | |
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | |
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | From ef85302500f2546dea0a6c7fe0546af0ee9b7909 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 20 May 2020 18:32:46 +0200 Subject: [PATCH 2287/2575] package: beta 5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bf1d7a7c..4ca4a9b5 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.0.0-beta4", + "version": "1.0.0-beta5", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From a1fc5a6dbe97d5f79cbb6257de5f90d712014f50 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 21 May 2020 21:38:00 +0200 Subject: [PATCH 2288/2575] docs: add some custom-module examples --- resources/docs/docs/custom-module/examples.md | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 resources/docs/docs/custom-module/examples.md diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md new file mode 100644 index 00000000..2a83ca05 --- /dev/null +++ b/resources/docs/docs/custom-module/examples.md @@ -0,0 +1,108 @@ +## Basic address routing + +```js +module.exports = { + + oscInFilter:function(data){ + + var {address, args, host, port} = data + + if (address === '/some_address') { + address = '/fader_1' + } + + return {address, args, host, port} + + }, + + oscOutFilter:function(data){ + + var {address, args, host, port, clientId} = data + + if (address === '/fader_1') { + address = '/some_address' + } + + return {address, args, host, port} + } + +} +``` + +## Arguments split / merge + +```js + +var xyValue = [0, 0] + +module.exports = { + + oscInFilter:function(data){ + + var {address, args, host, port} = data + + // split + if (address === '/some_xy_address') { + var arg1 = args[0].value, + arg2 = args[1].value + + receive('/fader_1', arg1) + receive('/fader_2', arg2) + + return // bypass original message + } + + return {address, args, host, port} + + }, + + oscOutFilter:function(data){ + + var {address, args, host, port, clientId} = data + + // merge + if (address === '/fader_1') { + + xyValue[0] = args[0].value + send(host, port, '/some_xy_address', ...xyValue) + return // bypass original message + + } else if (address === '/fader_2') { + + xyValue[1] = args[1].value + send(host, port, '/some_xy_address', ...xyValue) + return // bypass original message + + } + + return {address, args, host, port} + } + +} +``` + +## Reply + +```js + +var xyValue = [0, 0] + +module.exports = { + + oscInFilter:function(data){ + + var {address, args, host, port} = data + + if (address === '/knock_knock') { + + send(host, port, '/who_is_there') + + return // bypass original message + } + + return {address, args, host, port} + + }, + +} +``` From a0f95c558b3ce6a0bda621fd1e925764147c7301 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 21 May 2020 21:40:12 +0200 Subject: [PATCH 2289/2575] docs: add md --- resources/mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 7c21cac2..10b03382 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -50,6 +50,7 @@ nav: - Custom module: - docs/custom-module/custom-module.md - docs/custom-module/managing-big-modules.md + - docs/custom-module/examples.md - Customization: - docs/customization/themes.md - docs/customization/css-tips.md From 45600424a708fdcf220d9ee11f192143d1831eff Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 21 May 2020 21:40:25 +0200 Subject: [PATCH 2290/2575] docs: clean --- resources/docs/docs/custom-module/examples.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index 2a83ca05..ccca6191 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -85,8 +85,6 @@ module.exports = { ```js -var xyValue = [0, 0] - module.exports = { oscInFilter:function(data){ From f3f182c1025aeae256bbf3a16f6f7b4ccdad12c6 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 21 May 2020 22:37:41 +0200 Subject: [PATCH 2291/2575] docs: globals/locals mutations are not watched --- resources/docs/docs/widgets/advanced-syntaxes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 7b36f4c7..db52829f 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -81,6 +81,9 @@ In this context, `@{} / OSC{}` are also seen as variables (named `VAR_XXX`), not Parsing errors can be read in the DevTool console (F12). +!!! warning + Modifying values in `locals` or `globals` **does not** trigger anything if they are used somewhere else. + ## Javascript: `#{ }` This is a shorthand for the `JS{{}}` syntax, the only difference being that `` is automatically prepended with a `return` statement. From 4af5c8b1b6b62fff7e061581b0795e8e3e23d114 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 22 May 2020 15:29:59 +0200 Subject: [PATCH 2292/2575] script: make builtin script use parent locals --- src/client/widgets/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index c0f8e0fe..62e74285 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -105,7 +105,7 @@ class Script extends Widget { this.scriptLock = true try { - this.script(context, this.parsersLocalScope) + this.script(context, this.builtIn ? this.parent.parsersLocalScope : this.parsersLocalScope) } catch(e) { console.log(e) } From 4b9b8677a0231419717bd635877d72815110003a Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 22 May 2020 15:33:36 +0200 Subject: [PATCH 2293/2575] script: add updateProp() to force prop check on a widget --- resources/docs/docs/widgets/scripting.md | 8 ++++++++ src/client/widgets/scripts/script-vm.js | 17 ++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 53899106..d4f82c6b 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -64,6 +64,14 @@ Returns the property called `"name"` of the first matching widget. ---- +#### `updateProp`: `function(id, name)` +- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. +- `name`: property name. + +Forcers a widget to check if one of its properties has changed and update itself if needed. + +---- + #### `httpGet`: `function(url, callback)` - `url`: url of the resource to fetch (local url only) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 575783b0..b2f0e9e4 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -132,6 +132,21 @@ class ScriptVm extends Vm { } + this.sandbox.contentWindow.updateProp = (id, prop)=>{ + + var widgets = this.resolveId(id), + widget = this.getWidget() + + if (widget.builtIn) widget = widget.parent + + for (var i = widgets.length - 1; i >= 0; i--) { + + widgets[i].updateProps(Array.isArray(prop) ? prop : [prop], widget) + + } + + } + this.sandbox.contentWindow.httpGet = (url, callback)=>{ var parser = urlParser(url), @@ -263,7 +278,7 @@ class ScriptVm extends Vm { } - for (var imports of ['set', 'get', 'getProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage', + for (var imports of ['set', 'get', 'getProp', 'updateProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage', 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout']) { this.sanitize(this.sandbox.contentWindow[imports]) } From f8e8df63c17eb5ec21ec9a5d4c813eb6ac591c5d Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 22 May 2020 16:35:27 +0200 Subject: [PATCH 2294/2575] plot: small dots, false by default --- src/client/widgets/graphs/plot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index d1edd1ac..8cc8325e 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -23,7 +23,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm\'s base.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it.'}, - dots: {type: 'boolean', value: true, help: 'Draw dots on the line'}, + dots: {type: 'boolean', value: false, help: 'Draw dots on the line'}, bars: {type: 'boolean', value: false, help: 'Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing)'}, pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, @@ -186,7 +186,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte this.ctx.lineWidth = 2 * PXSCALE for (var i = 0; i < points.length; i += 2) { this.ctx.beginPath() - this.ctx.arc(points[i], points[i + 1], 3 * PXSCALE, 0, 2*Math.PI) + this.ctx.arc(points[i], points[i + 1], 2 * PXSCALE, 0, 2*Math.PI) this.ctx.fill() this.ctx.stroke() } From ad67f8833d7948c39f2a115b7b9e57c278f65972 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 22 May 2020 16:35:39 +0200 Subject: [PATCH 2295/2575] ui: padding in simple message modals --- src/scss/ui/modal.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/ui/modal.scss b/src/scss/ui/modal.scss index be085193..b16a8adc 100644 --- a/src/scss/ui/modal.scss +++ b/src/scss/ui/modal.scss @@ -101,8 +101,9 @@ $padding: 8rem; white-space: normal; line-height: 150%; background: var(--color-background); - padding-top:8rem; + padding: $padding; overflow-x: auto; } + } } From 60c6dac12629dbaffb03fbba9845f6debd489752 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 22 May 2020 18:52:45 +0200 Subject: [PATCH 2296/2575] docs: css update --- resources/docs/docs/customization/css-tips.md | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/resources/docs/docs/customization/css-tips.md b/resources/docs/docs/customization/css-tips.md index 3a2db74c..58fc3018 100644 --- a/resources/docs/docs/customization/css-tips.md +++ b/resources/docs/docs/customization/css-tips.md @@ -1,5 +1,11 @@ # CSS Tips +## Browser inspector + + +Hit `F12` to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets + + ## Inline syntax For simple use cases, the `css` property can be written as a HTML inline styles (without any CSS selector). CSS rules will apply to the widget element. @@ -84,19 +90,3 @@ Media queries can also be used: [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) declared in the [default theme](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/scss/themes/default.scss) can be overriden. Widgets also rely on CSS variables for the style properties (colors, padding, etc). These are documented in the widgets' `css` property description. - -## Other tips - -#### Use the inspector - -Hit `F12` to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets. - -#### Panel's background-color - -This works for panel, strip and tabs: - -```css -> .panel { - background-color: red; -} -``` From 3c82da0557139f47d2eb2824a0b8cef4c31679c8 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 22 May 2020 19:08:41 +0200 Subject: [PATCH 2297/2575] filebrowser: input margin fix --- src/scss/ui/filebrowser.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/ui/filebrowser.scss b/src/scss/ui/filebrowser.scss index 2818d40c..b04a1f42 100644 --- a/src/scss/ui/filebrowser.scss +++ b/src/scss/ui/filebrowser.scss @@ -69,7 +69,7 @@ $padding: 8rem; // border: $padding solid var(--color-ui-background); padding: $padding; background: var(--color-ui-background); - .btn, input { + .btn { margin: 1rem; margin-left: $padding; text-overflow: clip; @@ -82,6 +82,7 @@ $padding: 8rem; .save-as { flex:1; border: 0; + margin: 1rem; padding: 0 10rem; font-size: 120%; position: relative; From 574489b14cadbb267731d06811e8a6dae3b4f1e3 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 23 May 2020 12:20:52 +0200 Subject: [PATCH 2298/2575] osc: defered loading of remote-control is no longer needed -> avoid error when receiving osc too early --- src/client/osc.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/client/osc.js b/src/client/osc.js index 49e924ad..a88db8e8 100644 --- a/src/client/osc.js +++ b/src/client/osc.js @@ -10,13 +10,9 @@ var Osc = class Osc extends EventEmitter { super() this.syncOnly = false - this.remoteControl = {} + this.remoteControl = require('./remote-control') this.serverTargets = [] - setTimeout(()=>{ - osc.remoteControl = require('./remote-control') - }) - } send(data) { From 4e0efbb749dde40e5a0493f5e0a4e3f63b89df71 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 23 May 2020 15:45:29 +0200 Subject: [PATCH 2299/2575] Revert "osc: defered loading of remote-control is no longer needed -> avoid error when receiving osc too early" This reverts commit 574489b14cadbb267731d06811e8a6dae3b4f1e3. --- src/client/osc.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/osc.js b/src/client/osc.js index a88db8e8..49e924ad 100644 --- a/src/client/osc.js +++ b/src/client/osc.js @@ -10,9 +10,13 @@ var Osc = class Osc extends EventEmitter { super() this.syncOnly = false - this.remoteControl = require('./remote-control') + this.remoteControl = {} this.serverTargets = [] + setTimeout(()=>{ + osc.remoteControl = require('./remote-control') + }) + } send(data) { From 7ea1b9e9b40d9ddb76723c373c5c26704ebafe5a Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 28 May 2020 17:23:10 +0200 Subject: [PATCH 2300/2575] widgets: fix error in address==auto case --- src/client/managers/widgets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/managers/widgets.js b/src/client/managers/widgets.js index c8b2422b..77be5ad2 100644 --- a/src/client/managers/widgets.js +++ b/src/client/managers/widgets.js @@ -84,7 +84,7 @@ class WidgetManager extends EventEmitter { createAddressRef(widget, preArgs, address) { preArgs = widget ? widget.getProp('preArgs') : preArgs - address = widget ? widget.getProp('address') : address + address = widget ? widget.getProp('address') === 'auto' ? '/' + widget.getProp('id') : widget.getProp('address') : address if (!Array.isArray(preArgs) && preArgs !== '') preArgs = [preArgs] if (preArgs === '') preArgs = [] @@ -152,7 +152,7 @@ class WidgetManager extends EventEmitter { newAddress = this.createAddressRef(widget), hash = widget.hash - if (address && this.addressRoute[address].indexOf(hash) != -1) this.addressRoute[address].splice(this.addressRoute[address].indexOf(hash), 1) + if (address && address !== 'auto' && this.addressRoute[address].indexOf(hash) != -1) this.addressRoute[address].splice(this.addressRoute[address].indexOf(hash), 1) if (!this.addressRoute[newAddress]) this.addressRoute[newAddress] = [] this.addressRoute[newAddress].push(hash) From b037cb463fd180b53a1a80c1a69911efaf443453 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 3 Jun 2020 11:29:14 +0200 Subject: [PATCH 2301/2575] input: fix v-align --- src/scss/widgets/basics.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 8bb6f1c7..74a150f2 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -477,7 +477,8 @@ position: relative; @include pseudo-stroke(); @include pseudo-fill(0.05); - + justify-content: center; + align-items: center; display: flex; padding: var(--widget-padding); text-align: center; @@ -514,7 +515,6 @@ -webkit-appearance:none; appearance: none; text-align:inherit; - line-height: 50rem; vertical-align: top; letter-spacing: 1rem; -webkit-user-select: text; From eea37f9c241cb7c2cffd9c5d7ba4f5fcfc821577 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 3 Jun 2020 16:52:23 +0200 Subject: [PATCH 2302/2575] packge: beta 6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ca4a9b5..2ba30d1b 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.0.0-beta5", + "version": "1.0.0-beta6", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 984882e9f6f3db34788300536e2925197ab8b809 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 6 Jun 2020 16:44:04 +0200 Subject: [PATCH 2303/2575] server: clean ip storing --- src/server/ipc/client.js | 2 +- src/server/osc/tcp.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/ipc/client.js b/src/server/ipc/client.js index e0f0b728..481103cf 100644 --- a/src/server/ipc/client.js +++ b/src/server/ipc/client.js @@ -12,7 +12,7 @@ class Socket extends EventEmitter { this.id = id - this.address = address.indexOf('::ffff:') === 0 ? address.replace('::ffff:', '') : address + this.address = address.replace('::ffff:', '') this.socket = null diff --git a/src/server/osc/tcp.js b/src/server/osc/tcp.js index d9178d48..e9207ab7 100644 --- a/src/server/osc/tcp.js +++ b/src/server/osc/tcp.js @@ -91,7 +91,7 @@ class OscTCPServer extends EventEmitter { this.addClient(new OscTCPClient({ metadata: true, socket: socket, - address: socket.remoteAddress.indexOf('::ffff:') === 0 ? socket.remoteAddress.replace('::ffff:', '') : socket.remoteAddress, + address: socket.remoteAddress.replace('::ffff:', ''), port: socket.remotePort })) From cf56e27c870814977d59a1757e169ee53386803f Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 6 Jun 2020 16:44:18 +0200 Subject: [PATCH 2304/2575] scripting: add globals.ip variable --- resources/docs/docs/widgets/advanced-syntaxes.md | 3 ++- src/client/globals.js | 1 + src/client/widgets/vm.js | 1 + src/server/server.js | 3 +++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index db52829f..8a628d51 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -72,8 +72,9 @@ This syntax allows writing formulas in pure javascript. The code will be compile - `console`: javascript console - `locals`: object for storing/reading arbitrary values. Changing its properties *does not* trigger any synchronisation even if the value is used somewhere else. - `globals`: same as `locals` but shared between all widgets, contains a few useful variables: - - `screen`: `{width, height}` + - `screen`: client screen dimensions (`{width, height}`) - `env`: client options (ie: url query options), + - `ip`: client's ip address, - `url`: server url, - `platform`: operating system as seen by the client diff --git a/src/client/globals.js b/src/client/globals.js index ac27cbd5..e23cf22c 100644 --- a/src/client/globals.js +++ b/src/client/globals.js @@ -1,3 +1,4 @@ +window.IP = window.IP || '' window.ENV = window.ENV || {} location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi, (s,k,v)=>{ ENV[k]=v diff --git a/src/client/widgets/vm.js b/src/client/widgets/vm.js index be1903ae..08416986 100644 --- a/src/client/widgets/vm.js +++ b/src/client/widgets/vm.js @@ -10,6 +10,7 @@ class Vm { globals = { screen: {width: screen.width, height: screen.height}, env: deepCopy(ENV), + ip: IP, url: document.location.host, platform: navigator.platform } diff --git a/src/server/server.js b/src/server/server.js index 206be574..ad07b157 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -51,9 +51,12 @@ function httpRoute(req, res) { if (url === '/' || url.indexOf('/?') === 0) { + var ip = req.connection.remoteAddress.replace('::ffff:', '') + fs.createReadStream(path.resolve(__dirname + '/../client/index.html')) .pipe(replaceStream('', ` `)) From 56b4443f588247c6b101d250142ada392244aea6 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 8 Jun 2020 18:24:46 +0200 Subject: [PATCH 2305/2575] package: use fixed upstream keyboardjs --- package.json | 2 +- src/client/editor/index.js | 2 +- src/client/ui/context-menu.js | 2 +- src/client/ui/ui-filebrowser.js | 2 +- src/client/widgets/scripts/script.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2ba30d1b..cc28dd01 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "http-auth": "^4.1.2", "json5": "2.1.2", "jsondiffpatch": "0.4.1", - "keyboardjs": "github:jean-emmanuel/KeyboardJS", + "keyboardjs": "2.6.3", "licensify": "3.1.3", "loop-protect": "github:jean-emmanuel/loop-protect#v1.0.1", "minimatch": "3.0.4", diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 90da49b8..c7312191 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -1,5 +1,5 @@ var {updateWidget, incrementWidget} = require('./data-workers'), - keyboardJS = require('keyboardjs'), + keyboardJS = require('keyboardjs/dist/keyboard.min.js'), {diff, diffToWidget} = require('./diff'), widgetManager = require('../managers/widgets'), {deepCopy} = require('../utils'), diff --git a/src/client/ui/context-menu.js b/src/client/ui/context-menu.js index 86b24fa2..13b4dd78 100644 --- a/src/client/ui/context-menu.js +++ b/src/client/ui/context-menu.js @@ -1,6 +1,6 @@ var html = require('nanohtml'), raw = require('nanohtml/raw'), - keyboardJS = require('keyboardjs'), + keyboardJS = require('keyboardjs/dist/keyboard.min.js'), UiWidget = require('./ui-widget'), mod = (navigator.platform || '').match('Mac') ? 'cmd' : 'ctrl', MENU_CONTAINER diff --git a/src/client/ui/ui-filebrowser.js b/src/client/ui/ui-filebrowser.js index 41208821..e448e957 100644 --- a/src/client/ui/ui-filebrowser.js +++ b/src/client/ui/ui-filebrowser.js @@ -5,7 +5,7 @@ var locales = require('../locales'), doubleClick = require('../events/double-click'), {icon} = require('./utils'), UiModal = require('./ui-modal'), - keyboardJS = require('keyboardjs') + keyboardJS = require('keyboardjs/dist/keyboard.min.js') module.exports = function UiFilebrowser(options, callback) { diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 62e74285..8b478cb4 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -1,5 +1,5 @@ var Widget = require('../common/widget'), - keyboardJS = require('keyboardjs'), + keyboardJS = require('keyboardjs/dist/keyboard.min.js'), ScriptVm = require('./script-vm'), scriptVm = new ScriptVm() From e3293971c170f9dfde6e1ea8f14c839c04631edc Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 12 Jun 2020 15:20:23 +0200 Subject: [PATCH 2306/2575] widgets: fix widget register update from address 'auto' to something elese --- src/client/managers/widgets.js | 2 +- src/client/widgets/common/widget.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/client/managers/widgets.js b/src/client/managers/widgets.js index 77be5ad2..b42d9684 100644 --- a/src/client/managers/widgets.js +++ b/src/client/managers/widgets.js @@ -152,7 +152,7 @@ class WidgetManager extends EventEmitter { newAddress = this.createAddressRef(widget), hash = widget.hash - if (address && address !== 'auto' && this.addressRoute[address].indexOf(hash) != -1) this.addressRoute[address].splice(this.addressRoute[address].indexOf(hash), 1) + if (address && this.addressRoute[address].indexOf(hash) != -1) this.addressRoute[address].splice(this.addressRoute[address].indexOf(hash), 1) if (!this.addressRoute[newAddress]) this.addressRoute[newAddress] = [] this.addressRoute[newAddress].push(hash) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index c5977b2e..ab7fad19 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -840,9 +840,13 @@ class Widget extends EventEmitter { var data = {}, oldData = { preArgs: propName == 'preArgs' ? oldPropValue : this.getProp('preArgs'), - address: propName == 'address' ? oldPropValue : (this.getProp('address') === 'auto' ? '/' + this.getProp('id') : this.getProp('address')) + address: propName == 'address' ? oldPropValue : this.getProp('address') } data[propName] = this.getProp(propName) + + if (data.address === 'auto') data.address = '/' + this.getProp('id') + if (oldData.address === 'auto') oldData.address = '/' + this.getProp('id') + widgetManager.registerWidget(this, data, oldData) return From 39e401d950dd308c85210d249f87570f61a563bf Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 12 Jun 2020 15:25:55 +0200 Subject: [PATCH 2307/2575] package: beta7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cc28dd01..a4434324 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.0.0-beta6", + "version": "1.0.0-beta7", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 7eb73fefbd16a3d48544e61792641b4a6a364af2 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 12 Jun 2020 16:10:17 +0200 Subject: [PATCH 2308/2575] scripts: missing global --- scripts/client-shim.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/client-shim.js b/scripts/client-shim.js index ff175878..a7ca46e2 100644 --- a/scripts/client-shim.js +++ b/scripts/client-shim.js @@ -81,3 +81,4 @@ ELECTRON_NOGPU = false CANVAS_FRAMERATE = 1 LANG = 'en' ENV = {id: ''} +IP = '' From ce5fa36cd6f5703e04b14272dce476710eca41fd Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 18 Jun 2020 13:33:08 +0200 Subject: [PATCH 2309/2575] slider: fix logScale == -1 --- src/client/widgets/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/utils.js b/src/client/widgets/utils.js index 9017c4a0..d0e5f916 100644 --- a/src/client/widgets/utils.js +++ b/src/client/widgets/utils.js @@ -32,7 +32,7 @@ module.exports = { var logScale = revertlog ? Math.abs(rangeIn[1] - rangeIn[0]) : Math.abs(rangeOut[1] - rangeOut[0]) - if (log !== true) logScale = Math.abs(log) + if (log !== true && log !== -1) logScale = Math.abs(log) else if (logScale >= 100) logScale /= 10 else logScale = Math.max(logScale, 10) From e99cdaa677f6d3a68889c77e6cdb504052d21701 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 18 Jun 2020 13:37:50 +0200 Subject: [PATCH 2310/2575] script: add unfocus function (built-in client only) --- resources/docs/docs/widgets/scripting.md | 6 ++++++ src/client/widgets/scripts/script-vm.js | 8 +++++++- src/server/electron-window.js | 6 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index d4f82c6b..47bcf805 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -125,3 +125,9 @@ Reference: - https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval ---- + +#### `unfocus`: `function()` + +*Built-in client only*: tells the operating system to give the focus to the window that was focused before. + +---- diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index b2f0e9e4..70697a63 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -278,8 +278,14 @@ class ScriptVm extends Vm { } + this.sandbox.contentWindow.unfocus = ()=>{ + + console.debug('ELECTRON.BLUR()') + + } + for (var imports of ['set', 'get', 'getProp', 'updateProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage', - 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout']) { + 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout', 'unfocus']) { this.sanitize(this.sandbox.contentWindow[imports]) } diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 1de8564c..65c790b6 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -79,6 +79,12 @@ module.exports = function(options={}) { }) + window.webContents.on('console-message', (event, level, message)=>{ + + if (level === 0 && message === 'ELECTRON.BLUR()') window.blur() + + }) + window.webContents.setVisualZoomLevelLimits(1, 1) window.on('closed', function() { From d72765b89ec248a73cb6b87fbeba60a5b08e24bd Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 18 Jun 2020 13:45:15 +0200 Subject: [PATCH 2311/2575] script: comment --- src/client/widgets/scripts/script-vm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 70697a63..6ce35d48 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -280,6 +280,7 @@ class ScriptVm extends Vm { this.sandbox.contentWindow.unfocus = ()=>{ + // built-in client only: electron will call window.blur() console.debug('ELECTRON.BLUR()') } From 79efa3fdc22ed8f1f409c14cc1012e5e0d2a13ce Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 22 Jun 2020 07:30:34 +0200 Subject: [PATCH 2312/2575] server: run electron as node to reduce the number of process in use --- src/server/index.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/server/index.js b/src/server/index.js index 34384766..a471e05b 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -21,11 +21,9 @@ if (settings.read('docs')) return openDocs() function nodeMode() { - console.warn('(INFO) Running with node') - if (!settings.read('no-gui')) { settings.write('no-gui', true, true) - console.warn('(INFO) Headless mode (--no-gui) enabled automatically') + console.warn('(INFO) Headless mode (--no-gui) enabled automatically (running with node)') } process.on('uncaughtException', (err)=>{ @@ -155,8 +153,8 @@ if (settings.cli) { ipcMain.on('start',function(e, options){ - var args = ['--no-gui'] - if (process.platform === 'win32') args.unshift('--') + var args = ['--', '--no-gui'] + // if (process.platform === 'win32') args.unshift('--') // not needed with ELECTRON_RUN_AS_NODE since '--' is always prepended for (var k in settings.read('options')) { args.push('--' + k) var val = settings.read(k) @@ -167,7 +165,7 @@ if (settings.cli) { } } - global.serverProcess = spawn(process.argv[0], process.argv.slice(1).concat(args), {stdio: 'pipe'/*, env: {"ELECTRON_RUN_AS_NODE":"1"}*/}) + global.serverProcess = spawn(process.argv[0], process.argv.slice(1).concat(args), {stdio: 'pipe', env: {"ELECTRON_RUN_AS_NODE":"1"}}) launcher.webContents.send('server-started') if (!settings.read('no-gui')) { From 3b31d9b945dbd98bd4b2b85cdec60f4511d2f314 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 22 Jun 2020 08:18:20 +0200 Subject: [PATCH 2313/2575] line --- src/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/index.js b/src/server/index.js index a471e05b..f94166c3 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -165,7 +165,7 @@ if (settings.cli) { } } - global.serverProcess = spawn(process.argv[0], process.argv.slice(1).concat(args), {stdio: 'pipe', env: {"ELECTRON_RUN_AS_NODE":"1"}}) + global.serverProcess = spawn(process.argv[0], process.argv.slice(1).concat(args), {stdio: 'pipe', env: {'ELECTRON_RUN_AS_NODE':'1'}}) launcher.webContents.send('server-started') if (!settings.read('no-gui')) { From 5643db37191f9ae0ef4c4aeb1063dd396ae2704a Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 22 Jun 2020 11:18:18 +0200 Subject: [PATCH 2314/2575] docs: typo --- 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 8a628d51..32ffaa8e 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -44,7 +44,7 @@ This syntax allows listening on an osc address to define a property. - `address`: osc address to listen to; if the leading slash (`/`) is omitted, the address will be prefixed with the widget's `address` property - `default` (optional): default value returned before any message is received. Must be a primitive value, not an object or an array. -- `usePreArgs` (optional): by default, osc listeners inherit the widget's `preArgs` and (these must be matched for the osc messages to be processed). Set to `false` bypass them. +- `usePreArgs` (optional): by default, osc listeners inherit the widget's `preArgs` (these must be matched for the osc messages to be processed). Set to `false` bypass them. Options can contain `@{}` blocks. From ee740c94d5307b01a96dc62e914b2936998871a5 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 22 Jun 2020 18:57:51 +0200 Subject: [PATCH 2315/2575] docs: add custom module example --- resources/docs/docs/custom-module/examples.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index ccca6191..75ce3486 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -29,6 +29,41 @@ module.exports = { } ``` +## Value conversion + +```js +module.exports = { + + oscInFilter:function(data){ + + var {address, args, host, port} = data + + if (address === '/some_address') { + + args[0].value = args[0].value * 10 + + } + + return {address, args, host, port} + + }, + + oscOutFilter:function(data){ + + var {address, args, host, port, clientId} = data + + if (address === '/some_address') { + + args[0].value = args[0].value / 10 + + } + + return {address, args, host, port} + } + +} +``` + ## Arguments split / merge ```js From ffb6b090ada8221d88deeec1aabcdf8ddcd7a6d9 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 22 Jun 2020 18:59:17 +0200 Subject: [PATCH 2316/2575] docs: update widget ref --- 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 20b787cc..cd9e9fe6 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -442,7 +442,7 @@ |
        logScaleX#
        | `boolean`|
        `number` | false | Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm's base. | |
        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. | - |
        dots#
        | `boolean` | true | Draw dots on the line | + |
        dots#
        | `boolean` | false | Draw dots on the line | |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | From 89eaba9c3ad9950f3c0042178494e501187f2766 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 23 Jun 2020 18:47:00 +0200 Subject: [PATCH 2317/2575] package: update deps --- package.json | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index a4434324..e77fe39c 100644 --- a/package.json +++ b/package.json @@ -20,29 +20,29 @@ "homepage": "http://openstagecontrol.ammd.net/", "license": "GPL-3.0", "dependencies": { - "@babel/core": "7.9.0", - "@babel/plugin-proposal-object-rest-spread": "7.9.0", - "@babel/polyfill": "7.8.7", - "@babel/preset-env": "7.9.0", + "@babel/core": "7.10.3", + "@babel/plugin-proposal-object-rest-spread": "7.10.3", + "@babel/polyfill": "7.10.1", + "@babel/preset-env": "7.10.3", "ansi-html": "0.0.7", "babel-eslint": "10.1.0", "babelify": "10.0.0", "bonjour": "github:jean-emmanuel/bonjour", - "browserify": "16.5.0", + "browserify": "16.5.1", "chroma-js": "2.1.0", - "core-js": "3.6.4", + "core-js": "3.6.5", "cpr": "3.0.1", "deep-extend": "0.6.0", "electron-localshortcut": "3.2.1", "electron-packager": "14.2.1", "electron-packager-plugin-non-proprietary-codecs-ffmpeg": "1.0.2", "env-paths": "2.2.0", - "eslint": "6.8.0", + "eslint": "7.3.1", "exorcist": "1.0.1", "file-saver": "2.0.2", "gyronorm": "2.0.6", - "http-auth": "^4.1.2", - "json5": "2.1.2", + "http-auth": "4.1.2", + "json5": "2.1.3", "jsondiffpatch": "0.4.1", "keyboardjs": "2.6.3", "licensify": "3.1.3", @@ -50,27 +50,27 @@ "minimatch": "3.0.4", "nanohtml": "1.9.1", "nanoid": "2.1.11", - "nanomorph": "5.4.0", + "nanomorph": "5.4.1", "node-forge": "0.9.1", - "node-sass": "4.13.1", - "nodemon": "2.0.2", - "nosleep.js": "0.9.0", - "open": "^7.0.3", - "osc": "2.4.0", - "python-shell": "1.0.8", - "replacestream": "^4.0.3", - "sanitize-html": "1.22.1", + "node-sass": "4.14.1", + "nodemon": "2.0.4", + "nosleep.js": "0.11.0", + "open": "7.0.4", + "osc": "2.4.1", + "python-shell": "2.0.1", + "replacestream": "4.0.3", + "sanitize-html": "1.27.0", "scope-css": "1.2.1", "screenfull": "5.0.2", - "semver": "^7.1.3", + "semver": "7.3.2", "send": "0.17.1", "sortablejs": "1.10.2", - "source-map-support": "0.5.16", + "source-map-support": "0.5.19", "stacktrace-js": "2.0.2", "through": "2.3.8", "uglifyify": "5.0.2", "webworkify": "1.5.0", - "ws": "7.2.3", + "ws": "7.3.0", "yargs": "15.3.1" }, "optionalDependencies": { From a5b2322e431c4abde63559035ef4904435034284 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 12:29:05 +0200 Subject: [PATCH 2318/2575] midi: show failed stdout parsing when debug is true --- src/server/midi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/midi.js b/src/server/midi.js index fdcd299b..c5ccc318 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -63,7 +63,7 @@ class MidiConverter { try { [name, data] = JSON.parse(message) } catch (err) { - // console.log(err) + if (settings.read('debug')) console.error(`(DEBUG, MIDI) Could not parse python's output:\n ${message}`) } if (name == 'log') { if (data.indexOf('ERROR') > -1) { From 78e434788a70931d9b6a6475da38b68cfb309e4f Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 14:50:55 +0200 Subject: [PATCH 2319/2575] midi: fix midi list() (handle extra python logs properly) --- src/server/midi.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/server/midi.js b/src/server/midi.js index c5ccc318..354e3280 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -63,7 +63,7 @@ class MidiConverter { try { [name, data] = JSON.parse(message) } catch (err) { - if (settings.read('debug')) console.error(`(DEBUG, MIDI) Could not parse python's output:\n ${message}`) + if (settings.read('debug')) console.error(`(DEBUG, MIDI) Unparsed python log:\n ${message}`) } if (name == 'log') { if (data.indexOf('ERROR') > -1) { @@ -93,7 +93,9 @@ class MidiConverter { } } - MidiConverter.parseIpc(results) + for (let r of results) { + MidiConverter.parseIpc(r) + } }) } From 37270d69afce77743f5a7cf57426069d274c8c41 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 14:53:21 +0200 Subject: [PATCH 2320/2575] package: beta 8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e77fe39c..2f0bbaa2 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.0.0-beta7", + "version": "1.0.0-beta8", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From fcf781711bed2e992a9efeca901b7eed15991f92 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 14:57:41 +0200 Subject: [PATCH 2321/2575] docs: midi debug --- resources/docs/docs/midi/midi-configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 173baee4..65bf4aa4 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -37,3 +37,7 @@ In order to send MIDI messages, a widget must have at least one `target` formatt !!! warning Messages received from a MIDI port only affect widgets that send to this port. + +## Debug + +Enabling the server's `debug` options will print some extra informations (sent/received midi messages, midi setup informations, etc) From 0450c397f9c1fd574c35399fa74e57f6bb9974db Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 14:59:47 +0200 Subject: [PATCH 2322/2575] travis: node v12 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 56582183..9e7dd66e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ anHsudo: required dist: bionic language: node_js node_js: - - "9" + - "12" before_install: - sudo dpkg --add-architecture i386 - sudo apt-get update -qq From 9384af84e3013023f77e6c57728793cfaa4122c2 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 15:12:12 +0200 Subject: [PATCH 2323/2575] build: use standard python package call for docs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2f0bbaa2..1cf6ffdb 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "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-docs": "node scripts/build-widgets-reference.js > resources/docs/docs/widgets/properties-reference.md && cd resources && mkdocs build", + "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" }, "engines": { From 4478f1d2b7292ebfb437545f3a0bc548651d25d8 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 15:12:42 +0200 Subject: [PATCH 2324/2575] widgets: add variable widget --- .../docs/docs/widgets/properties-reference.md | 3 ++ src/client/widgets/index.js | 3 +- src/client/widgets/scripts/script.js | 2 +- src/client/widgets/scripts/variable.js | 41 +++++++++++++++++++ tests/test.js | 2 +- 5 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 src/client/widgets/scripts/variable.js diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index cd9e9fe6..d8bf4ade 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -714,3 +714,6 @@ |
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | |
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | |
        keyType#
        | `string` | "keydown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | + +??? api "
        variable#
        " + Hold a value. diff --git a/src/client/widgets/index.js b/src/client/widgets/index.js index 7a7ab585..c201c795 100644 --- a/src/client/widgets/index.js +++ b/src/client/widgets/index.js @@ -48,6 +48,7 @@ module.exports.widgets = { // scripts script: require('./scripts/script'), + variable: require('./scripts/variable'), } @@ -59,7 +60,7 @@ module.exports.categories = { 'Indicators':['led', 'text'], 'Pads':['xy','rgb','multixy'], 'Sliders':['fader','knob', 'encoder', 'range'], - 'Scripts':['script'], + 'Scripts':['script', 'variable'], } var defaults = {} diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 8b478cb4..41f9ce5b 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -31,7 +31,7 @@ class Script extends Widget { }, [ - 'visible', 'label', 'interaction', + 'visible', 'interaction', '_geometry', 'left', 'top', 'width', 'height', 'expand', '_style', 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'css' diff --git a/src/client/widgets/scripts/variable.js b/src/client/widgets/scripts/variable.js new file mode 100644 index 00000000..c3060a7a --- /dev/null +++ b/src/client/widgets/scripts/variable.js @@ -0,0 +1,41 @@ +var Widget = require('../common/widget'), + StaticProperties = require('../mixins/static_properties') + +module.exports = class Variable extends StaticProperties(Widget, {bypass: true, interaction: false, visible: false}) { + + static description() { + + return 'Hold a value.' + + } + + static defaults() { + + return super.defaults({ + + + }, [ + 'visible', 'interaction', + '_geometry', 'left', 'top', 'width', 'height', 'expand', + '_style', 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'css', + 'decimals', 'bypass' + ], {}) + + } + + constructor(options) { + + super({...options, html: null}) + + } + + + setValue(v, options={}) { + + this.value = v + + if (options.sync) this.changed(options) + + } + +} diff --git a/tests/test.js b/tests/test.js index 10bf719e..924f455d 100644 --- a/tests/test.js +++ b/tests/test.js @@ -16,7 +16,7 @@ var widgets = { 'Indicators':['led', 'text'], 'Pads':['xy','rgb','multixy', 'canvas'], 'Sliders':['fader','knob', 'encoder', 'range'], - 'Scripts':['script'], + 'Scripts':['script', 'variable'], } for (let k in widgets) { for (let type of widgets[k]) { From daab595d46b5860f49511d530afb7b278ef997aa Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 15:21:21 +0200 Subject: [PATCH 2325/2575] docs: avoid advanced syntax in scripts --- resources/docs/docs/widgets/scripting.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 47bcf805..f75de7ab 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -5,6 +5,9 @@ The `script` property allows widgets to run javascript code when their value upd - no `JS{{}}` wrapper, just the code - `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their value before the script's compilation +!!! warning "Avoid advanced syntax in scripts" + To avoid syntax errors it is recommended to use `getProp()` and `get()` instead of `@{}` and `OSC{}`. `JS{{}}` and `#{}` blocks should be avoided here as well. + ## Event-dependent variables Depending on what triggered the script's execution, a few variables are available to help determine the execution conditions. From 600c6e163d2e878cde5c9edf88dbc6d557340352 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 15:29:55 +0200 Subject: [PATCH 2326/2575] docs: variable description --- resources/docs/docs/widgets/properties-reference.md | 2 +- src/client/widgets/scripts/variable.js | 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 d8bf4ade..9c891583 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -716,4 +716,4 @@ |
        keyType#
        | `string` | "keydown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | ??? api "
        variable#
        " - Hold a value. + Receives / stores a value, to be used in scripts (using the get function) or in properties (using the @{} syntax). diff --git a/src/client/widgets/scripts/variable.js b/src/client/widgets/scripts/variable.js index c3060a7a..afa114e1 100644 --- a/src/client/widgets/scripts/variable.js +++ b/src/client/widgets/scripts/variable.js @@ -5,7 +5,7 @@ module.exports = class Variable extends StaticProperties(Widget, {bypass: true, static description() { - return 'Hold a value.' + return 'Receives / stores a value, to be used in scripts (using the get function) or in properties (using the @{} syntax).' } From 1bf6c17540787f06e71598405cec93c72912407f Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 25 Jun 2020 00:06:16 +0200 Subject: [PATCH 2327/2575] Revert "server: run electron as node to reduce the number of process in use" This reverts commit 79efa3fdc22ed8f1f409c14cc1012e5e0d2a13ce. --- src/server/index.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/server/index.js b/src/server/index.js index f94166c3..34384766 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -21,9 +21,11 @@ if (settings.read('docs')) return openDocs() function nodeMode() { + console.warn('(INFO) Running with node') + if (!settings.read('no-gui')) { settings.write('no-gui', true, true) - console.warn('(INFO) Headless mode (--no-gui) enabled automatically (running with node)') + console.warn('(INFO) Headless mode (--no-gui) enabled automatically') } process.on('uncaughtException', (err)=>{ @@ -153,8 +155,8 @@ if (settings.cli) { ipcMain.on('start',function(e, options){ - var args = ['--', '--no-gui'] - // if (process.platform === 'win32') args.unshift('--') // not needed with ELECTRON_RUN_AS_NODE since '--' is always prepended + var args = ['--no-gui'] + if (process.platform === 'win32') args.unshift('--') for (var k in settings.read('options')) { args.push('--' + k) var val = settings.read(k) @@ -165,7 +167,7 @@ if (settings.cli) { } } - global.serverProcess = spawn(process.argv[0], process.argv.slice(1).concat(args), {stdio: 'pipe', env: {'ELECTRON_RUN_AS_NODE':'1'}}) + global.serverProcess = spawn(process.argv[0], process.argv.slice(1).concat(args), {stdio: 'pipe'/*, env: {"ELECTRON_RUN_AS_NODE":"1"}*/}) launcher.webContents.send('server-started') if (!settings.read('no-gui')) { From 0448e1117e33f14c9446ce43523d372b32f4c92e Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 25 Jun 2020 00:07:22 +0200 Subject: [PATCH 2328/2575] package: beta 9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1cf6ffdb..88b20e2d 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.0.0-beta8", + "version": "1.0.0-beta9", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From faae5a770ce3b77e4a08e0dac31ec8e2ae49c4f2 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 25 Jun 2020 08:29:05 +0200 Subject: [PATCH 2329/2575] server: 2nd attempt to run server process as node, works in dev and prod --- src/server/index.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/server/index.js b/src/server/index.js index 34384766..fe9543fe 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -21,11 +21,9 @@ if (settings.read('docs')) return openDocs() function nodeMode() { - console.warn('(INFO) Running with node') - if (!settings.read('no-gui')) { settings.write('no-gui', true, true) - console.warn('(INFO) Headless mode (--no-gui) enabled automatically') + console.warn('(INFO) Headless mode (--no-gui) enabled automatically (running with node)') } process.on('uncaughtException', (err)=>{ @@ -155,8 +153,9 @@ if (settings.cli) { ipcMain.on('start',function(e, options){ - var args = ['--no-gui'] - if (process.platform === 'win32') args.unshift('--') + var args = ['--', app.getAppPath(), '--no-gui'] + + // if (process.platform === 'win32') args.unshift('--') // not needed with ELECTRON_RUN_AS_NODE since '--' is always prepended for (var k in settings.read('options')) { args.push('--' + k) var val = settings.read(k) @@ -167,7 +166,7 @@ if (settings.cli) { } } - global.serverProcess = spawn(process.argv[0], process.argv.slice(1).concat(args), {stdio: 'pipe'/*, env: {"ELECTRON_RUN_AS_NODE":"1"}*/}) + global.serverProcess = spawn(process.argv[0], args, {stdio: 'pipe', env: {'ELECTRON_RUN_AS_NODE':'1'}}) launcher.webContents.send('server-started') if (!settings.read('no-gui')) { From 7779bf3122654191540e41f2d11a56d4d0b2cdcc Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 25 Jun 2020 09:02:02 +0200 Subject: [PATCH 2330/2575] docs: lite headlessmode with run_as_node env variable --- .../docs/getting-started/running-with-node.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/getting-started/running-with-node.md b/resources/docs/docs/getting-started/running-with-node.md index d8d7fbb1..39a9e400 100644 --- a/resources/docs/docs/getting-started/running-with-node.md +++ b/resources/docs/docs/getting-started/running-with-node.md @@ -1,13 +1,24 @@ -It is possible to run the server in headless mode using [Node.js](https://nodejs.org/en/download/package-manager/). +## Lite headless mode + +It's possible to run the server in headless mode with the nodejs engine embedded in Electron, this reduces memory / cpu usage significantly. + +``` +ELECTRON_RUN_AS_NODE=1 open-stage-control path/to/open-stage-control/resources/app/ [options] +``` + + +## Running with node + +If Electron does not run on your platform, it is possible to run the server in headless mode using [Node.js](https://nodejs.org/en/download/package-manager/). 1. Install [Node.js](https://nodejs.org/en/download/package-manager/) 2. Download `open-stage-control-[version]-node.zip` package and extract it -3. Run `node /path/to/open-stage-control` +3. Run `node /path/to/open-stage-control [options]` !!! info When running from sources or with regular binaries (packaged with electron), the command slightly differs: - - electron package: `node /path/to/open-stage-control/resources/app` - - from sources: `node /path/to/open-stage-control/app` + - electron package: `node /path/to/open-stage-control/resources/app [options]` + - from sources: `node /path/to/open-stage-control/app [options]` From ebacf077c8bfd4e4a6eb688afa1e6528109ca550 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 1 Jul 2020 09:27:28 +0200 Subject: [PATCH 2331/2575] editor: avoid breaking address=auto when pasting with id+1 --- src/client/editor/data-workers.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/editor/data-workers.js b/src/client/editor/data-workers.js index bae0ac81..d3a4eb47 100644 --- a/src/client/editor/data-workers.js +++ b/src/client/editor/data-workers.js @@ -171,11 +171,12 @@ var incrementWidget = function(data, root){ var id = data.id, address = data.address - if (id && address == '/'+id) { + if (id && address == '/' + id) { data.address = 'auto' - } else if (address){ + } else if (address !== 'auto') { + var addressref while (fakeStore.address.indexOf(address) != -1 || widgetManager.getWidgetByAddress(addressref).length) { address = address.replace(/([0-9]*)$/,function(m){ From 67430c8703bd34dce8a8e6de2d0b567a4ae9333c Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 1 Jul 2020 16:01:16 +0200 Subject: [PATCH 2332/2575] inspector: prevent edit errors from breaking sessions; add a notification; reverse the faulty change and prevent history push; --- src/client/editor/index.js | 35 ++++++++++++++++++++++++++++++++--- src/client/locales/en.js | 1 + src/client/locales/fr.js | 1 + 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index c7312191..2f310d0d 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -9,6 +9,8 @@ var {updateWidget, incrementWidget} = require('./data-workers'), UiInspector = require('../ui/ui-inspector'), UiTree = require('../ui/ui-tree'), UiDragResize = require('../ui/ui-dragresize'), + notifications = require('../ui/notifications'), + locales = require('../locales'), {leftUiSidePanel, rightUiSidePanel} = require('../ui/'), ipc = require('../ipc'), sessionManager @@ -27,17 +29,44 @@ class Editor { this.inspector.on('update', (event)=>{ var {propName, value} = event, - newWidgets = [] + newWidgets = [], + error = false for (var w of this.selectedWidgets) { - if ((propName === 'label' || propName === 'popupLabel') && value === true) { + + let previousValue = w.props[propName] + + if ((propName === '' || propName === 'popupLabel') && value === true) { w.props[propName] = 'auto' } else { w.props[propName] = value !== '' ? value : deepCopy(defaults[w.props.type][propName].value) } - newWidgets.push(updateWidget(w, {changedProps: [propName], preventSelect: this.selectedWidgets.length > 1})) + + try { + + newWidgets.push(updateWidget(w, {changedProps: [propName], preventSelect: this.selectedWidgets.length > 1})) + + } catch (e) { + + w.props[propName] = previousValue + updateWidget(w, {changedProps: [propName], preventSelect: this.selectedWidgets.length > 1}) + + notifications.add({ + class: 'error', + message: locales('inspector_error'), + duration: 7000 + }) + console.error( + `Error while setting ${propName} to: ${JSON.stringify(value)}.`, + 'It\'s probably a bug, please a new bug ticket with these informations (https://github.com/jean-emmanuel/open-stage-control/issues).' + ) + console.error(e) + error = true + } } + if (error) return + this.pushHistory() if (newWidgets.length > 1) this.select(newWidgets) diff --git a/src/client/locales/en.js b/src/client/locales/en.js index 59173b52..877c930a 100644 --- a/src/client/locales/en.js +++ b/src/client/locales/en.js @@ -40,6 +40,7 @@ module.exports = { // inspector inspector_color_confirm: 'Confirm', inspector_color_apply: 'Apply', + inspector_error: 'An error just occured, open F12 to read more.', // nosleep nosleep: 'Prevent sleep', diff --git a/src/client/locales/fr.js b/src/client/locales/fr.js index a3385c08..40e089b5 100644 --- a/src/client/locales/fr.js +++ b/src/client/locales/fr.js @@ -40,6 +40,7 @@ module.exports = { // inspector inspector_color_confirm: 'Confirmer', inspector_color_apply: 'Appliquer', + inspector_error: 'Une erreur vient de survenir, appuyez sur F12 pour en savoir plus.', // nosleep nosleep: 'EmpĂȘcher la veille', From 8692896c3aedfed5b49ce599de02ed5a46edc6ef Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 1 Jul 2020 16:03:18 +0200 Subject: [PATCH 2333/2575] linkId: ensure it's a string --- src/client/managers/widgets.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/managers/widgets.js b/src/client/managers/widgets.js index b42d9684..940b8f92 100644 --- a/src/client/managers/widgets.js +++ b/src/client/managers/widgets.js @@ -41,7 +41,7 @@ class WidgetManager extends EventEmitter { if (linkId) { if (!Array.isArray(linkId)) linkId = [linkId] - linkId = linkId.map(x=>x.replace(/^>>\s*/, '')).filter(x=>x.indexOf('<<') < 0) + linkId = linkId.map(x=>String(x).replace(/^>>\s*/, '')).filter(x=>x.indexOf('<<') < 0) linkId = linkId.filter(x=>this.linkIdLock.indexOf(x)<0) this.linkIdLock = this.linkIdLock.concat(linkId) this.linkIdLockDepth++ @@ -118,7 +118,7 @@ class WidgetManager extends EventEmitter { if (linkId) { if (!Array.isArray(linkId)) linkId = [linkId] - linkId = linkId.map(x=>x.replace(/^<<\s*/, '')).filter(x=>x.indexOf('>>') < 0) + linkId = linkId.map(x=>String(x).replace(/^<<\s*/, '')).filter(x=>x.indexOf('>>') < 0) for (var i in linkId) { if (linkId[i]) { if (!this.linkIdRoute[linkId[i]]) this.linkIdRoute[linkId[i]] = [] @@ -185,6 +185,7 @@ class WidgetManager extends EventEmitter { if (scroll && this.scrollingWidgets.indexOf(hash) != -1) this.scrollingWidgets.splice(this.scrollingWidgets.indexOf(hash), 1) if (!Array.isArray(linkId)) linkId = [linkId] + linkId = linkId.map(x=>String(x)) for (var i in linkId) { if (linkId[i] && this.linkIdRoute[linkId[i]] && this.linkIdRoute[linkId[i]].indexOf(hash) != -1) this.linkIdRoute[linkId[i]].splice(this.linkIdRoute[linkId[i]].indexOf(hash), 1) } From 27d2613ddda5bfdcc668ea7189a43510c9ef06cb Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 2 Jul 2020 12:17:40 +0200 Subject: [PATCH 2334/2575] script: add getScroll and setScroll --- src/client/widgets/containers/panel.js | 4 ++-- src/client/widgets/scripts/script-vm.js | 28 ++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 550c5ebe..3bb648bf 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -223,8 +223,8 @@ class Panel extends Container() { if (!s) { return [this.widget.scrollLeft, this.widget.scrollTop] } else { - this.widget.scrollLeft = s[0] - this.widget.scrollTop = s[1] + if (s[0] !== undefined) this.widget.scrollLeft = s[0] + if (s[1] !== undefined) this.widget.scrollTop = s[1] } } diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 6ce35d48..2d4b36af 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -147,6 +147,32 @@ class ScriptVm extends Vm { } + this.sandbox.contentWindow.getScroll = (id)=>{ + + var widgets = this.resolveId(id) + + for (var i = widgets.length - 1; i >= 0; i--) { + + if (widgets[i].scroll) return widgets[i].scroll() + + } + + return [] + + } + + this.sandbox.contentWindow.setScroll = (id, x, y)=>{ + + var widgets = this.resolveId(id) + + for (var i = widgets.length - 1; i >= 0; i--) { + + if (widgets[i].scroll) widgets[i].scroll([x, y]) + + } + + } + this.sandbox.contentWindow.httpGet = (url, callback)=>{ var parser = urlParser(url), @@ -286,7 +312,7 @@ class ScriptVm extends Vm { } for (var imports of ['set', 'get', 'getProp', 'updateProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage', - 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout', 'unfocus']) { + 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout', 'unfocus', 'setScroll', 'getScroll']) { this.sanitize(this.sandbox.contentWindow[imports]) } From 7a0f6c9a72762af53ee06d253c7e7dee02df469d Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 2 Jul 2020 12:29:46 +0200 Subject: [PATCH 2335/2575] docs: scripting set/getScroll --- resources/docs/docs/widgets/scripting.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index f75de7ab..f3da412d 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -6,7 +6,7 @@ The `script` property allows widgets to run javascript code when their value upd - `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their value before the script's compilation !!! warning "Avoid advanced syntax in scripts" - To avoid syntax errors it is recommended to use `getProp()` and `get()` instead of `@{}` and `OSC{}`. `JS{{}}` and `#{}` blocks should be avoided here as well. + To avoid syntax errors it is recommended to use `getProp()` and `get()` instead of `@{}` and `OSC{}`. `JS{{}}` and `#{}` blocks should be avoided here as well. ## Event-dependent variables @@ -134,3 +134,17 @@ Reference: *Built-in client only*: tells the operating system to give the focus to the window that was focused before. ---- + +#### `getScroll`: `function(id)` +- `id`: widget `id` as a string. + +Returns the scroll state of a container as a `[x, y]` array. + +---- + +#### `setScroll`: `function(id, x, y)` +- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. +- `x`: horizontal scroll, `undefined` to use current value +- `y`: vertical scroll, `undefined` to use current value + +Sets the scroll state of a container. From 24ff4a6bdbb3018be641f2ab8a2c3be19fb23c26 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 3 Jul 2020 16:04:18 +0200 Subject: [PATCH 2336/2575] docs: add terminal launch example --- .../docs/docs/getting-started/server-configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index 209994f7..033e49ed 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -160,6 +160,13 @@ The **server** can be configured with many options, either from a terminal or wi Options name must be prepended with a double dash (`--`) in a terminal. +!!! example "Example" + ``` + open-stage-control --no-gui --load path/to/your/session.json --theme path/to/your/theme.css + ``` + + Launches the server in headless mode, and makes all clients load provided session and theme automatically. + ## Running in a terminal on Windows From 6eff1677a9e3ac786bbaee1268cc8d98783330e4 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 6 Jul 2020 13:25:39 +0200 Subject: [PATCH 2337/2575] osc: avoid error when receiving messages during init --- package.json | 2 +- src/client/osc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 88b20e2d..9dc4d687 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.0.0-beta9", + "version": "1.0.0-beta10", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/osc.js b/src/client/osc.js index 49e924ad..947f6b0e 100644 --- a/src/client/osc.js +++ b/src/client/osc.js @@ -41,7 +41,7 @@ var Osc = class Osc extends EventEmitter { receive(data){ - if (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) var [widgets, restArgs] = widgetManager.getWidgetByAddressAndArgs(data.address, data.args) From 86b3a1d3f35c03ee621afab77cd2eb7d7517d491 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 9 Jul 2020 14:52:17 +0200 Subject: [PATCH 2338/2575] editor: label->true/auto fix --- 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 2f310d0d..5ea216d1 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -36,7 +36,7 @@ class Editor { let previousValue = w.props[propName] - if ((propName === '' || propName === 'popupLabel') && value === true) { + if ((propName === 'label' || propName === 'popupLabel') && value === true) { w.props[propName] = 'auto' } else { w.props[propName] = value !== '' ? value : deepCopy(defaults[w.props.type][propName].value) From a3d252efb3f9df21baf4d9433a97d1bff99d7261 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 9 Jul 2020 15:32:15 +0200 Subject: [PATCH 2339/2575] events: use pointer events to handle mouse events (resolves some conflict with touch events) Using pointer events everywhere would be ideal but iOS<13 doesn't support them --- src/client/events/click.js | 8 +++++--- src/client/events/drag.js | 27 ++++++++++++++------------- src/client/ui/ui-selectarea.js | 12 ++++++------ 3 files changed, 25 insertions(+), 22 deletions(-) diff --git a/src/client/events/click.js b/src/client/events/click.js index d3c648f4..0a9bc274 100644 --- a/src/client/events/click.js +++ b/src/client/events/click.js @@ -22,8 +22,7 @@ if (macOs) { function mouseToFastClick(event) { - if (event.touchPunch) return - if (event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) return + if (event.pointerType === 'touch') return if (event.button == 2) event.preventDefault() var e = event @@ -38,6 +37,9 @@ function touchToFastClick(event) { var e = event.changedTouches[0] + e.shiftKey = event.shiftKey + e.ctrlKey = event.ctrlKey + DOM.dispatchEvent(e.target, 'fast-click', e) if (e.preventOriginalEvent) event.preventDefault() @@ -57,7 +59,7 @@ function touchToFastClick(event) { } -if (!iOS) document.addEventListener('mousedown', mouseToFastClick, true) +if (!iOS) document.addEventListener('pointerdown', mouseToFastClick, true) document.addEventListener('touchstart', touchToFastClick, {passive: false, capture: true}) diff --git a/src/client/events/drag.js b/src/client/events/drag.js index 103b6564..ce403607 100644 --- a/src/client/events/drag.js +++ b/src/client/events/drag.js @@ -136,21 +136,22 @@ function mouseMultiWrapper(event) { } function mouseDownCapture(event, multitouch) { - if ((event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) || event.button == 2) return - event.pointerId = 'mouse' + if (event.pointerType === 'touch') return + // event.pointerId = 'mouse' event.multitouch = multitouch pointerDownHandler(event) } function mouseMoveCapture(event) { - event.pointerId = 'mouse' + if (event.pointerType === 'touch') return + // event.pointerId = 'mouse' event.inertia = event.ctrlKey ? 10 : 1 pointerMoveFilter(event) } function mouseUpCapture(event){ - if ((event.sourceCapabilities && event.sourceCapabilities.firesTouchEvents) || event.button == 2) return - event.pointerId = 'mouse' + if (event.pointerType === 'touch') return + // event.pointerId = 'mouse' pointerUpFilter(event) } @@ -222,8 +223,8 @@ function triggerWidgetEvent(target, name, event) { // init DOM.ready(()=>{ - if (!iOS) document.addEventListener('mousemove', mouseMoveCapture, true) - if (!iOS) document.addEventListener('mouseup', mouseUpCapture, true) + if (!iOS) document.addEventListener('pointermove', mouseMoveCapture, true) + if (!iOS) document.addEventListener('pointerup', mouseUpCapture, true) document.addEventListener('touchmove', touchMoveCapture, true) DOM.addEventListener(document, 'touchend touchcancel', touchUpCapture, true) @@ -250,10 +251,10 @@ module.exports = { if (multitouch) { element.addEventListener('touchstart', touchMultiWrapper, false) - if (!iOS) element.addEventListener('mousedown', mouseMultiWrapper) + if (!iOS) element.addEventListener('pointerdown', mouseMultiWrapper) } else { element.addEventListener('touchstart', touchDownCapture, false) - if (!iOS) element.addEventListener('mousedown', mouseDownCapture) + if (!iOS) element.addEventListener('pointerdown', mouseDownCapture) } }, @@ -277,10 +278,10 @@ module.exports = { if (multitouch) { element.removeEventListener('touchstart', touchMultiWrapper, false) - if (!iOS) element.removeEventListener('mousedown', mouseMultiWrapper) + if (!iOS) element.removeEventListener('pointerdown', mouseMultiWrapper) } else { element.removeEventListener('touchstart', touchDownCapture, false) - if (!iOS) element.removeEventListener('mousedown', mouseDownCapture) + if (!iOS) element.removeEventListener('pointerdown', mouseDownCapture) } }, @@ -305,12 +306,12 @@ module.exports = { } - if (!iOS) element.addEventListener('mousedown', makeEventTraversing, true) + if (!iOS) element.addEventListener('pointerdown', makeEventTraversing, true) element.addEventListener('touchstart', makeEventTraversing, true) element.addEventListener('disableTraversingGestures', (e)=>{ e.stopPropagation() - if (!iOS) element.removeEventListener('mousedown', makeEventTraversing, true) + if (!iOS) element.removeEventListener('pointerdown', makeEventTraversing, true) element.removeEventListener('touchstart', makeEventTraversing, true) }) diff --git a/src/client/ui/ui-selectarea.js b/src/client/ui/ui-selectarea.js index a96bdf18..a27a58df 100644 --- a/src/client/ui/ui-selectarea.js +++ b/src/client/ui/ui-selectarea.js @@ -109,17 +109,17 @@ class UiSelectArea { enable() { - document.addEventListener('mousedown', this.bindedMousedown) - document.addEventListener('mousemove', this.bindedMousemove, true) - document.addEventListener('mouseup', this.bindedMouseup) + document.addEventListener('pointerdown', this.bindedMousedown) + document.addEventListener('pointermove', this.bindedMousemove, true) + document.addEventListener('pointerup', this.bindedMouseup) } disable() { - document.removeEventListener('mousedown', this.bindedMousedown) - document.removeEventListener('mousemove', this.bindedMousemove, true) - document.removeEventListener('mouseup', this.bindedMouseup) + document.removeEventListener('pointerdown', this.bindedMousedown) + document.removeEventListener('pointermove', this.bindedMousemove, true) + document.removeEventListener('pointerup', this.bindedMouseup) } From c90b06f3a02465be9dc6ae90473eca0600f44df2 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 9 Jul 2020 15:55:44 +0200 Subject: [PATCH 2340/2575] keyboard: rm "toggles" property, replace with "mode" (as for buttons) --- src/client/widgets/containers/keyboard.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index 32bfb0d8..27711a84 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -31,7 +31,12 @@ module.exports = class Keyboard extends Panel { 'Set to `null` to send send no argument in the osc message', 'Can be an `object` if the type needs to be specified (see preArgs)' ]}, - toggles: {type: 'boolean', value: false, help: 'Set to `true` to make keys bahave like toggle buttons'} + mode: {type: 'string', value: 'push', choices: ['push', 'toggle', 'tap'], help: [ + 'Interraction mode:', + '- `push` (press & release)', + '- `toggle` (on/off switches)', + '- `tap` (no release)' + ]}, }, [], { @@ -80,7 +85,7 @@ module.exports = class Keyboard extends Panel { data.top = data.left = data.height = data.width = 'auto' data.type = 'button' - data.mode = this.getProp('toggles') ? 'toggle' : 'push' + data.mode = this.getProp('mode') data.id = this.getProp('id') + '/' + i data.label = false data.css = '' From 5a1d4b57544060a872c55121799b5feba678a9c3 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 9 Jul 2020 16:22:42 +0200 Subject: [PATCH 2341/2575] button: make tap button pulse --- src/client/widgets/basics/button.js | 17 +++++++++++++++-- src/scss/widgets/basics.scss | 18 +++++++++++++++++- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 77546625..eadf5825 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -49,8 +49,7 @@ class Button extends Widget { this.state = 0 this.active = false - - if (this.getProp('led')) this.container.classList.add('led') + this.pulse = null var tap = this.getProp('mode') === 'tap', push = this.getProp('mode') === 'push' || tap @@ -167,8 +166,22 @@ class Button extends Widget { if (options.send) this.sendValue() if (options.sync) this.changed(options) + // tap mode if (newstate && this.getProp('mode') === 'tap' && !options.tapRelease) { + + // reset value this.setValue(this.getProp('off'), {sync: false, send: false, tapRelease: true}) + + // pulse + clearTimeout(this.pulse) + this.container.classList.remove('pulse') + setTimeout(()=>{ + this.container.classList.add('pulse') + this.pulse = setTimeout(()=>{ + this.container.classList.remove('pulse') + }, 150) + }, 16) + } } diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 74a150f2..3215a9c9 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -10,6 +10,12 @@ height: 30rem; } + +@keyframes osc-button-pulse { + 0% {opacity: var(--alpha-fill-on);} + 100% {opacity: var(--alpha-fill-off);} +} + .button-container { --alpha-fill-off: .15; @@ -46,13 +52,23 @@ border: 2rem solid transparent; } - &.on, &.active { + &.on { --alpha-fill:var(--alpha-fill-on); color: var(--color-text-on); } + // &.active { + // + // color: var(--color-text-on); + // + // } + + &.pulse inner:after { + animation: osc-button-pulse .15s 1 forwards; + } + } .switch-container { From 758d1942080bf94d9ba571303e6650957b835b01 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 10 Jul 2020 10:18:00 +0200 Subject: [PATCH 2342/2575] session: fix loading legacy sessions formatted as arrays --- src/client/managers/session/session.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index 87c6bc97..2f0b9404 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -85,6 +85,9 @@ var converters = [ version: '0.49.12', warning: true, global: (data)=>{ + + if (Array.isArray(data)) data = data[0] + return { session: data } From ad4a8ff110389b3872bf93a827b7fb8d8957b947 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 13 Jul 2020 18:26:32 +0200 Subject: [PATCH 2343/2575] a-syntax: compile JS{{}} before #{} --- .../docs/docs/widgets/advanced-syntaxes.md | 7 +++- src/client/widgets/common/widget.js | 38 +++++++++---------- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 32ffaa8e..6352d26b 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -67,6 +67,8 @@ This syntax allows writing formulas in pure javascript. The code will be compile - javascript [strict mode](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Strict_mode) is always enabled - `setTimeout` and `setInterval` functions are not available +A property cannot contain multiple `JS{{}}` blocks + #### Available variables - `console`: javascript console @@ -87,4 +89,7 @@ Parsing errors can be read in the DevTool console (F12). ## Javascript: `#{ }` -This is a shorthand for the `JS{{}}` syntax, the only difference being that `` is automatically prepended with a `return` statement. +This is a shorthand for the `JS{{}}` syntax, the only difference being that `` is automatically prepended with a `return` statement. A property can contain multiple `#{}` blocks. + +!!! note "Compilation order" + `#{}` blocks are compiled after `JS{{}}` blocks diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index ab7fad19..ea96a0ef 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -629,6 +629,24 @@ class Widget extends EventEmitter { return varname }) + try { + propValue = propValue.replace(/JS\{\{([\s\S]*)\}\}/g, (m, code)=>{ + + if (!this.parsers[code]) this.parsers[code] = vm.compile(code, defaultScope) + + let r = this.parsers[code](jsScope, this.parsersLocalScope) + + if (r === undefined) r = '' + + return typeof r !== 'string' ? JSON.stringify(r) : r + + }) + } catch (err) { + let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', + line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' + console.log((this.getProp('id') || this.props.id) + '.' + propName + ': JS{{}} error:\n' + err + line) + } + try { propValue = propValue.replace(/#\{(?:[^{}]|\{[^{}]*\})*\}/g, (m)=>{ // one bracket nesting allowed, if we need two: #\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\} @@ -650,24 +668,6 @@ class Widget extends EventEmitter { console.log((this.getProp('id') || this.props.id) + '.' + propName + ': #{} error:\n' + err + line) } - try { - propValue = propValue.replace(/JS\{\{([\s\S]*)\}\}/g, (m, code)=>{ - - if (!this.parsers[code]) this.parsers[code] = vm.compile(code, defaultScope) - - let r = this.parsers[code](jsScope, this.parsersLocalScope) - - if (r === undefined) r = '' - - return typeof r !== 'string' ? JSON.stringify(r) : r - - }) - } catch (err) { - let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', - line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' - console.log((this.getProp('id') || this.props.id) + '.' + propName + ': JS{{}} error:\n' + err + line) - } - for (let k in variables) { var v = typeof variables[k] === 'string' ? variables[k] : JSON.stringify(variables[k]) propValue = propValue.replace(new RegExp(k, 'g'), v) @@ -846,7 +846,7 @@ class Widget extends EventEmitter { if (data.address === 'auto') data.address = '/' + this.getProp('id') if (oldData.address === 'auto') oldData.address = '/' + this.getProp('id') - + widgetManager.registerWidget(this, data, oldData) return From bd6c70f8e89203e32bd89bfc1a99eceeeedc0181 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 14 Jul 2020 11:10:24 +0200 Subject: [PATCH 2344/2575] cache: managed localStorage & sessionStorage ui: remember panel state --- src/client/backup.js | 11 ++--- src/client/ipc/index.js | 5 ++- src/client/managers/cache.js | 55 +++++++++++++++++++++++++ src/client/managers/state.js | 3 +- src/client/ui/ui-sidepanel.js | 21 ++++++++-- src/client/widgets/scripts/script-vm.js | 9 ++-- 6 files changed, 88 insertions(+), 16 deletions(-) create mode 100644 src/client/managers/cache.js diff --git a/src/client/backup.js b/src/client/backup.js index 27b1fee7..98a264c4 100644 --- a/src/client/backup.js +++ b/src/client/backup.js @@ -1,4 +1,5 @@ -var localBackup = sessionStorage.getItem('osc.backup') +var cache = require('./managers/cache'), + localBackup = cache.get('backup', false) module.exports = { @@ -12,14 +13,14 @@ module.exports = { editor = require('./editor/') if (session.session) { - sessionStorage.setItem('osc.backup', JSON.stringify({ + cache.set('backup', { session: session.session.data, sessionPath: session.sessionPath, state: state.get(), history: editor.history, historyState: editor.historyState, editorEnabled: editor.enabled - })) + }, false) } }, @@ -33,9 +34,9 @@ module.exports = { if (localBackup) { - var data = JSON.parse(localBackup) + var data = localBackup - sessionStorage.removeItem('osc.backup') + cache.remove('backup', false) session.load(data.session, ()=>{ state.set(data.state, false) diff --git a/src/client/ipc/index.js b/src/client/ipc/index.js index 18c8fda2..12c91bc5 100644 --- a/src/client/ipc/index.js +++ b/src/client/ipc/index.js @@ -1,14 +1,15 @@ var EventEmitter = require('../events/event-emitter'), + cache = require('../managers/cache'), nanoid = require('nanoid/generate'), uuid, notifications, locales -var localUuid = ENV.id || sessionStorage.getItem('osc.uuid') +var localUuid = ENV.id || cache.get('osc.uuid', false) if (localUuid) { uuid = localUuid } else { uuid = nanoid('0123456789abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ', 10) - sessionStorage.setItem('osc.uuid', uuid) + cache.set('uuid', uuid, false) } setTimeout(()=>{ diff --git a/src/client/managers/cache.js b/src/client/managers/cache.js new file mode 100644 index 00000000..854f3e17 --- /dev/null +++ b/src/client/managers/cache.js @@ -0,0 +1,55 @@ +var keyPrefix = 'osc.' + +class Cache { + + set(key, value, persistent = true) { + + var storage = persistent ? localStorage : sessionStorage + + storage.setItem(keyPrefix + key, JSON.stringify(value)) + + } + + get(key, persistent = true) { + + var storage = persistent ? localStorage : sessionStorage + + return JSON.parse(storage.getItem(keyPrefix + key)) + + } + + remove(key, persistent = true) { + + var storage = persistent ? localStorage : sessionStorage + + storage.removeItem(keyPrefix + key) + + } + + clear(domain) { + + if (domain) { + + for (let storage of [localStorage, sessionStorage]) { + + for (let k in storage) { + if (k.indexOf(keyPrefix + domain) === 0) { + storage.removeItem(k) + } + } + + } + + + } else { + + localStorage.clear() + sessionStorage.clear() + + } + + } + +} + +module.exports = new Cache() diff --git a/src/client/managers/state.js b/src/client/managers/state.js index d465db22..c8c91cbe 100644 --- a/src/client/managers/state.js +++ b/src/client/managers/state.js @@ -1,5 +1,6 @@ var ipc = require('../ipc'), widgetManager = require('./widgets'), + cache = require('./cache'), uiFilebrowser = require('../ui/ui-filebrowser'), uiFileupload = require('../ui/ui-fileupload'), notifications = require('../ui/notifications'), @@ -15,7 +16,7 @@ var StateManager = class StateManager { this.statePath = '' this.lastDir = null - this.quickState = JSON.parse(localStorage.getItem('osc.state.quickState')) || null + this.quickState = cache.get('state.quickState') || null this.valueStateQueue = {} this.valueOldPropQueue = {} diff --git a/src/client/ui/ui-sidepanel.js b/src/client/ui/ui-sidepanel.js index c1711f51..f2feb746 100644 --- a/src/client/ui/ui-sidepanel.js +++ b/src/client/ui/ui-sidepanel.js @@ -1,4 +1,5 @@ -var UiWidget = require('./ui-widget') +var UiWidget = require('./ui-widget'), + cache = require('../managers/cache') class UiSidePanel extends UiWidget { @@ -14,11 +15,13 @@ class UiSidePanel extends UiWidget { this.toggleButton = DOM.get(this.container, '.toggle-button')[0] this.content = DOM.get(this.container, 'osc-panel-content')[0] + this.cacheKey = 'ui.' + options.selector + this.minWidth = options.size || 250 - this.width = options.size || 250 + this.width = cache.get(this.cacheKey + '.width') || options.size || 250 this.disabled = false - this.minimized = false + this.minimized = cache.get(this.cacheKey + '.minimized') || false this.init = false @@ -31,13 +34,14 @@ class UiSidePanel extends UiWidget { this.on('drag', (event)=>{ this.width += this.resizeDirection * event[this.vertical ? 'movementY' : 'movementX'] / PXSCALE - this.container.style[this.vertical ? 'height' : 'width'] = this.width + 'rem' + this.updateWidth() }, {element: this.resizeHandle}) this.on('dragend', (event)=>{ this.width = parseInt(this.container[this.vertical ? 'offsetHeight' : 'offsetWidth']) / PXSCALE + cache.set(this.cacheKey + '.width', this.width) DOM.dispatchEvent(window, 'resize') }, {element: this.resizeHandle}) @@ -51,6 +55,7 @@ class UiSidePanel extends UiWidget { }) + this.updateWidth() this.disable() } @@ -78,6 +83,7 @@ class UiSidePanel extends UiWidget { if (this.minimized) return this.minimized = true + cache.set(this.cacheKey + '.minimized', true) if (!this.disabled) this.close() @@ -89,12 +95,19 @@ class UiSidePanel extends UiWidget { if (!this.minimized) return this.minimized = false + cache.set(this.cacheKey + '.minimized', false) if (!this.disabled) this.open() } + updateWidth() { + + this.container.style[this.vertical ? 'height' : 'width'] = this.width + 'rem' + + } + open() { this.container.style[this.vertical ? 'height' : 'width'] = this.width + 'rem' diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 2d4b36af..a1a4c705 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -1,5 +1,6 @@ var widgetManager = require('../../managers/widgets'), stateManager = require('../../managers/state'), + cache = require('../../managers/cache'), {deepCopy} = require('../../utils'), {urlParser} = require('../utils'), Vm = require('../vm') @@ -220,10 +221,10 @@ class ScriptVm extends Vm { this.sandbox.contentWindow.storage = { - setItem: (k, v)=>localStorage.setItem(k, JSON.stringify(v)), - getItem: (k)=>JSON.parse(localStorage.getItem(k)), - removeItem: (k)=>localStorage.removeItem(k), - clear: ()=>localStorage.clear() + setItem: (k, v)=>cache.set('script.' + k, v), + getItem: (k)=>cache.get('script.' + k, v), + removeItem: (k)=>cache.remove('script.' + k, v), + clear: ()=>cache.clear('script.') } From 1f4b3da1d7b8eaa803a53c34baca1f412e48d59a Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 19 Jul 2020 17:01:48 +0200 Subject: [PATCH 2345/2575] clone: modal breakout fix --- src/client/widgets/containers/clone.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 0d508c6f..d925d71b 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -45,6 +45,8 @@ class Clone extends Container() { this.cloneTarget = null this.cloneClass = [] + this.modalBreakout = 0 + this.container.classList.add('empty') this.bindTarget(this.getCloneTarget()) From a36493209db5aa05a762ba8d57ca839fd793a48a Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 26 Jul 2020 20:37:43 +0200 Subject: [PATCH 2346/2575] electron-window: use current monitor's dimensions; on win32, store/retreive last used screen --- src/server/electron-window.js | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 65c790b6..7e2c56f6 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -3,17 +3,27 @@ var path = require('path'), shortcut = require('electron-localshortcut'), app = require('./electron-app'), settings = require('./settings'), - theme = require('./theme'), - screenSize = screen.getPrimaryDisplay().size - + theme = require('./theme') module.exports = function(options={}) { - var window + var window, + currentScreen = screen.getDisplayNearestPoint(screen.getCursorScreenPoint()) + + if (process.platform === 'win32' && settings.read('last-used-screen')) { + // on windows, retreive last used screen + var lastScreen = screen.getAllDisplays().find(x=>x.id === settings.read('last-used-screen')) + if (lastScreen) currentScreen = lastScreen + else settings.write('last-used-screen', null) + } + + var screenSize = currentScreen.size, + width = options.width || screenSize.width, + height = options.height || screenSize.height window = new BrowserWindow({ - width: options.width || screenSize.width, - height: options.height || screenSize.height, + width: width, + height: height, title: options.title || settings.infos.appName, icon: path.resolve(__dirname + '/../assets/logo.png'), backgroundColor: options.color || theme.backgroundColor, @@ -27,6 +37,12 @@ module.exports = function(options={}) { show: false, }) + var bounds = currentScreen.bounds, + x = Math.ceil(bounds.x + ((bounds.width - width) / 2)), + y = Math.ceil(bounds.y + ((bounds.height - height) / 2)) + + window.setBounds({x: x, y: y}) + window.once('ready-to-show', ()=>{ window.show() }) @@ -106,6 +122,13 @@ module.exports = function(options={}) { }) } + if (process.platform === 'win32') { + // on windows, store last used screen when closing + window.on('close', function() { + settings.write('last-used-screen', screen.getDisplayMatching(window.getBounds()).id) + }) + } + if (options.shortcuts) { shortcut.register(window,'CmdOrCtrl+R',function(){ From 912ef19a5d5df5d5870ff3545b3084647df1fa9e Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 26 Jul 2020 20:40:08 +0200 Subject: [PATCH 2347/2575] package: v1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9dc4d687..020abae3 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.0.0-beta10", + "version": "1.0.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From e422c05d9a1248301b303b92860ed8b13400be12 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 26 Jul 2020 20:44:15 +0200 Subject: [PATCH 2348/2575] log: v1 --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36be0293..c8f66dc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # Changelog -## v1.0.0-alpha +## v1.0.0 +*This list is not exhaustive* - compatibility - dropped support for iOS 9 From 20b67302a920e1fc92a99b3b870fbdd36cb4b12a Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 26 Jul 2020 20:51:00 +0200 Subject: [PATCH 2349/2575] docs: update --- resources/docs/docs/widgets/properties-reference.md | 2 +- resources/docs/download.md | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 9c891583..70da1251 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -286,7 +286,7 @@ |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | - |
        toggles#
        | `boolean` | false | Set to `true` to make keys bahave like toggle buttons | + |
        mode#
        | `string` | "push" | Interraction mode:
        - `push` (press & release)
        - `toggle` (on/off switches)
        - `tap` (no release)

        Choices: `push`, `toggle`, `tap` | ??? api "
        patchbay#
        " Connect inputs to outputs. diff --git a/resources/docs/download.md b/resources/docs/download.md index 530ca875..d0d27d44 100644 --- a/resources/docs/download.md +++ b/resources/docs/download.md @@ -1,8 +1,5 @@ # Download the latest release -!!! info "Open Stage Control v1 is currently in beta" - Give it a try and send your feedback on the [forum](https://openstagecontrol.discourse.group/t/open-stage-control-v1-0-0-beta/543) ! - Open Stage Control
        Loading assets...
        From 954c1095d53c314cd5f929446876ad4649c82006 Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Mon, 27 Jul 2020 00:21:06 +0200 Subject: [PATCH 2350/2575] fix typo --- src/server/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/options.js b/src/server/options.js index 3b1bb085..be594cde 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -70,7 +70,7 @@ module.exports = { 'd': {alias: 'debug', type: 'boolean', describe: 'log received osc messages in the console'}, 'n': {alias: 'no-gui', type: 'boolean', describe: 'disable default gui'}, 'fullscreen': {type: 'boolean', describe: 'launch in fullscreen mode (only affects the default client gui)'}, - 't': {alias: 'theme', type: 'array', describe: 'theme name or path (mutliple values allowed)'}, + 't': {alias: 'theme', type: 'array', describe: 'theme name or path (multiple values allowed)'}, 'client-options': {type: 'array', describe: 'client options (opt=value pairs)', check: (o)=>{ return o.some(item=>!item.match(/^[^=]*=[^=]*$/)) ? From 3aed6a98059606d2c18cc1c83e7671e96ef5d789 Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Mon, 27 Jul 2020 00:27:45 +0200 Subject: [PATCH 2351/2575] fix typo --- src/client/ui/ui-workspace.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/ui/ui-workspace.js b/src/client/ui/ui-workspace.js index 9e4cee53..95c3d189 100644 --- a/src/client/ui/ui-workspace.js +++ b/src/client/ui/ui-workspace.js @@ -1,7 +1,7 @@ var UiWidget = require('./ui-widget'), setScrollbarColor = require('./scrollbar-color') -class UiWorksapce extends UiWidget { +class UiWorkspace extends UiWidget { constructor(options) { @@ -13,4 +13,4 @@ class UiWorksapce extends UiWidget { } -module.exports = new UiWorksapce({selector: 'osc-workspace'}) +module.exports = new UiWorkspace({selector: 'osc-workspace'}) From 93f3f9a4ed42e2da1f39b558f4eafb4f006b7ace Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Mon, 27 Jul 2020 00:32:18 +0200 Subject: [PATCH 2352/2575] fix typo in comment --- src/client/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/utils.js b/src/client/utils.js index 5a41596d..e4e06d67 100644 --- a/src/client/utils.js +++ b/src/client/utils.js @@ -38,7 +38,7 @@ module.exports = { isJSON: function(str) { // heuristic to avoid using JSON when unnecessary - // if the string doesn't starts with one of these chars + // if the string doesn't start with one of these chars // it's going to fail // ref in source: https://github.com/douglascrockford/JSON-js return ' \n+-eE{([0123456789tfn"'.indexOf(str[0]) !== -1 From bdaf558338e9b25cb6bd4b21cd35154e28b59afa Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 10:30:37 +0200 Subject: [PATCH 2353/2575] docs: add custom module examples --- resources/docs/docs/custom-module/examples.md | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index 75ce3486..d86f3734 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -139,3 +139,100 @@ module.exports = { } ``` + +## Simulate user input on a single client + +```js + +// keep track of connected clients + +var clients = [] + +app.on('open', (data, client)=>{ + if (!clients.includes(client.id)) clients.push(client.id) +}) + +app.on('close', (data, client)=>{ + if (clients.includes(client.id)) clients.splice(clients.indexOf(client.id)) +}) + +module.exports = { + + oscInFilter:function(data){ + + var {address, args, host, port} = data + + if (address === '/some_osc_address') { + + // simulate user input on the first client in the array + + receive('/SET', 'widget_id', 1, {clientId: clients[0]}) + + return // bypass original message + } + + return {address, args, host, port} + + } + +} + + +``` + +## MIDI routing + +```js +var rouing = { + // midi cc vs widget id + 60: 'fader_1', + 61: 'fader_2', + // etc +} + +module.exports = { + + oscInFilter:function(data){ + // Filter incomming osc messages + + var {address, args, host, port} = data + + if (host === 'midi') { + + // MIDI routing ! + if (address === '/control') { + + // assign args to variables + var [channel, ctrl, value] = args.map(arg=>arg.value) + + // simple conditions + if (ctrl === 80) receive('/SET', 'widget_id', value / 127) + + // simple routing table (midi cc vs widget id) + if (routing[ctrl]) receive('/SET', routing[ctrl], value / 127) + + // note: /SET simulates a user interaction and makes the widget send its osc message + // but it adds some delay (we wait for the UI to respond) + // AND it may trigger multiple replies if more than one client are connected. + // Alternatively, we could do this: + // send('/osc_address', value / 127) + // receive('/osc_address', value / 127) + // Or, to send /SET to a single client: + // receive('/SET', '/osc_address', value / 127, {clientId: ID}) + + + } + + return // bypass original message + + } + + + // return data if you want the message to be processed + return {address, args, host, port} + + } + + +} +``` From dbfff488de5c02666bad82df8bc79155e8fbcdf3 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 10:35:00 +0200 Subject: [PATCH 2354/2575] docs: ease function signature reading --- .../docs/docs/custom-module/custom-module.md | 18 +++++------ resources/docs/docs/widgets/scripting.md | 30 +++++++++---------- 2 files changed, 23 insertions(+), 25 deletions(-) diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index 7a0a397d..455678dc 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -52,12 +52,12 @@ The module is executed in a restricted context, only a few globals are available ---- -#### `app`: [`Event Emitter`](https://nodejs.org/api/events.html#events_class_eventemitter) - Useful for monitoring the events sent by the different clients. Event names can be found in [callbacks.js](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/server/callbacks.js), callbacks are called with 2 arguments: `data` (object) and `client` (object: `{address, id}`) +#### `app` +[`Event Emitter`](https://nodejs.org/api/events.html#events_class_eventemitter), useful for monitoring the events sent by the different clients. Event names can be found in [callbacks.js](https://github.com/jean-emmanuel/open-stage-control/blob/master/src/server/callbacks.js), callbacks are called with 2 arguments: `data` (object) and `client` (object: `{address, id}`) ---- -#### `receive`: `function(host, port, address, ...args, options)` +#### `receive(host, port, address, ...args, options)` Send osc/midi message to connected clients. `host` and `port` can be specified to simulate a specific origin for the message. @@ -69,31 +69,31 @@ Send osc/midi message to connected clients. `host` and `port` can be specified t ---- -#### `send`: `function(host, port, address, ...args)` +#### `send(host, port, address, ...args)` Send osc/midi to a target. ---- -#### `settings.read`: `function(name)` +#### `settings.read(name)` Returns specified server option. `name` must be the option's long name without the leading dashes (ie: `"send"`, not `"s"`) ---- -#### `options`: `array` +#### `options` -Contains the extra options passed to `--custom-module` after the filename +`Array` containing the extra options passed to `--custom-module` after the filename ---- -#### `loadJSON`: `function(path)` +#### `loadJSON(path)` Loads a json file (path is relative to the custom module location) ---- -#### `saveJSON`: `function(path, object)` +#### `saveJSON(path, object)` Saves an object/array to a json file (path is relative to the custom module location) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index f3da412d..0864b8a3 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -34,14 +34,14 @@ Besides the variables available in the [javascript property syntax ](./advanced- ---- -#### `get`: `function(id)` +#### `get(id)` - `id`: widget `id` as a string. Returns the value of the first matching widget. ---- -#### `set`: `function(id, value)` +#### `set(id, value)` - `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `value`: new value for the widget. @@ -50,7 +50,7 @@ If the event that triggered the script's execution was initiated by a user inter ---- -#### `send`: `function(target, address, ...args)` +#### `send(target, address, ...args)` - `target` (optional): `"ip:port"` or `"midi:device_name"` string. If omitted, the widget's target will be used. - `address`: osc address, must start with a `/` - `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` @@ -59,7 +59,7 @@ If the event that triggered the script's execution was not initiated by a user i ---- -#### `getProp`: `function(id, name)` +#### `getProp(id, name)` - `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `name`: property name. @@ -67,7 +67,7 @@ Returns the property called `"name"` of the first matching widget. ---- -#### `updateProp`: `function(id, name)` +#### `updateProp(id, name)` - `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `name`: property name. @@ -75,21 +75,21 @@ Forcers a widget to check if one of its properties has changed and update itself ---- -#### `httpGet`: `function(url, callback)` +#### `httpGet(url, callback)` - `url`: url of the resource to fetch (local url only) - `callback`: function executed when/if the http request succeeds, with the response text as argument ---- -#### `stateGet`: `function(id)` +#### `stateGet(id)` - `id`: widget `id` as a string, or array of `id` strings. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. Returns a state object (`id:value`) for matching widget and all their children. ---- -#### `stateSet`: `function(state)` +#### `stateSet(state)` 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. @@ -97,13 +97,11 @@ Loads a state object. If the event that triggered the script's execution was ini #### `storage`: `localStorage` -Allows storing data that persists upon refresh/relaunch. - -Reference: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage +Global [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) instance, allows storing data that persists upon refresh/relaunch. ---- -#### `setTimeout` / `setInterval`: `function(id, callback, delay)` +#### `setTimeout(id, callback, delay)` / `setInterval(id, callback, delay)` These work like their native equivalent, with an extra (optional) `id` argument. @@ -118,7 +116,7 @@ Reference: ----- -#### `clearTimeout` / `clearInterval`: `function(id)` +#### `clearTimeout(id)` / `clearInterval(id)` Clear timeout with matching `id`. @@ -129,20 +127,20 @@ Reference: ---- -#### `unfocus`: `function()` +#### `unfocus()` *Built-in client only*: tells the operating system to give the focus to the window that was focused before. ---- -#### `getScroll`: `function(id)` +#### `getScroll(id)` - `id`: widget `id` as a string. Returns the scroll state of a container as a `[x, y]` array. ---- -#### `setScroll`: `function(id, x, y)` +#### `setScroll(id, x, y)` - `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `x`: horizontal scroll, `undefined` to use current value - `y`: vertical scroll, `undefined` to use current value From cb96e9596dbf68ea6e7229873cf9f89718e0dae8 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 12:50:12 +0200 Subject: [PATCH 2355/2575] window: store full geometry for launcher & cient, make this default for all platforms --- CHANGELOG.md | 7 ++++- src/server/electron-window.js | 59 +++++++++++++++++++++-------------- src/server/index.js | 4 +-- 3 files changed, 44 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8f66dc6..d90b4997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog -## v1.0.0 +## 1.0.1 + +- UI + - windows' dimensions and position are now saved upon closing and restored at startup + +## 1.0.0 *This list is not exhaustive* diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 7e2c56f6..e499dc18 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -7,23 +7,9 @@ var path = require('path'), module.exports = function(options={}) { - var window, - currentScreen = screen.getDisplayNearestPoint(screen.getCursorScreenPoint()) - - if (process.platform === 'win32' && settings.read('last-used-screen')) { - // on windows, retreive last used screen - var lastScreen = screen.getAllDisplays().find(x=>x.id === settings.read('last-used-screen')) - if (lastScreen) currentScreen = lastScreen - else settings.write('last-used-screen', null) - } - - var screenSize = currentScreen.size, - width = options.width || screenSize.width, - height = options.height || screenSize.height + var window window = new BrowserWindow({ - width: width, - height: height, title: options.title || settings.infos.appName, icon: path.resolve(__dirname + '/../assets/logo.png'), backgroundColor: options.color || theme.backgroundColor, @@ -37,11 +23,27 @@ module.exports = function(options={}) { show: false, }) - var bounds = currentScreen.bounds, + + // default geometry + var currentScreen = screen.getDisplayNearestPoint(screen.getCursorScreenPoint()), + screenSize = currentScreen.size, + width = options.width || screenSize.width, + height = options.height || screenSize.height, + bounds = currentScreen.bounds, x = Math.ceil(bounds.x + ((bounds.width - width) / 2)), y = Math.ceil(bounds.y + ((bounds.height - height) / 2)) - window.setBounds({x: x, y: y}) + window.setBounds({x, y, width, height}) + + // retreive last geometry + if (settings.read('geometry')) { + var geometry = settings.read('geometry')[options.id], + mScreen = screen.getDisplayMatching(geometry) + if (intersectionArea(geometry, mScreen.bounds) > 20000) { + // don't load geometry if the window is not visible enough + window.setBounds(geometry) + } + } window.once('ready-to-show', ()=>{ window.show() @@ -122,12 +124,12 @@ module.exports = function(options={}) { }) } - if (process.platform === 'win32') { - // on windows, store last used screen when closing - window.on('close', function() { - settings.write('last-used-screen', screen.getDisplayMatching(window.getBounds()).id) - }) - } + window.on('close', function() { + // save geometry + var geometry = settings.read('geometry') || {} + geometry[options.id] = window.getBounds() + settings.write('geometry', geometry) + }) if (options.shortcuts) { @@ -148,3 +150,14 @@ module.exports = function(options={}) { return window } + + +function intersectionArea(a, b) { + // intersectionArea between two rectangles + + var width = Math.min(a.x + a.width, b.x + b.width) - Math.max(a.x, b.x), + height = Math.min(a.y + a.height, b.y + b.height) - Math.max(a.y, b.y) + + return width * height + +} diff --git a/src/server/index.js b/src/server/index.js index fe9543fe..c4663dde 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -80,7 +80,7 @@ function openClient() { var address = settings.appAddresses()[0] var launch = ()=>{ - var win = require('./electron-window')({address:address, shortcuts:true, fullscreen: settings.read('fullscreen')}) + var win = require('./electron-window')({address:address, shortcuts:true, fullscreen: settings.read('fullscreen'), id: 'client'}) win.on('error', ()=>{ console.log('ERR') }) @@ -122,7 +122,7 @@ if (settings.cli) { global.midilist = require('./midi').list global.serverProcess = null global.clientWindows = [] - 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'}) + 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'}) launcher.on('close', ()=>{ process.stdout.write = stdoutWrite process.stderr.write = stderrWrite From 0befec4981a14840868c822f168bc90d94b27213 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 12:57:36 +0200 Subject: [PATCH 2356/2575] package: 1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 020abae3..5c3fcdee 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.0.0", + "version": "1.0.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 181c9bc2a949224f3b8bc47d7fccf3053ad19548 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 14:05:56 +0200 Subject: [PATCH 2357/2575] ios: fix scrolling on iPhone ios 13 --- CHANGELOG.md | 5 +++++ src/client/ui/ios.js | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d90b4997..d079b5f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.0.2 + +- bug fixes + - broken scrolling on iPhone iOS 13 + ## 1.0.1 - UI diff --git a/src/client/ui/ios.js b/src/client/ui/ios.js index fdfe7dbc..7993f7ce 100644 --- a/src/client/ui/ios.js +++ b/src/client/ui/ios.js @@ -1,9 +1,13 @@ // Prevent iOS Pull-To-Refresh -var iOS13 = navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1, +var iOS13 = ( + navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 // iPad + || navigator.userAgent.match(/iPhone OS 13/) // iPhone + ), iOS = navigator.platform.match(/iPhone|iPod|iPad/) || iOS13 if (iOS && !iOS13) { + // prevent overscroll // breaks scrolling on iOS13 (besides it doesn't seem to be needed) From db7f6fe29cf9e4247ad7ad6cc77257f7e95c4dcb Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 15:59:54 +0200 Subject: [PATCH 2358/2575] window: prevent error when geometry config is not completely populated --- CHANGELOG.md | 1 + src/server/electron-window.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d079b5f3..a68f3a5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - broken scrolling on iPhone iOS 13 + - window geomtry issue ## 1.0.1 diff --git a/src/server/electron-window.js b/src/server/electron-window.js index e499dc18..2b50c20b 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -36,7 +36,7 @@ module.exports = function(options={}) { window.setBounds({x, y, width, height}) // retreive last geometry - if (settings.read('geometry')) { + if (settings.read('geometry') && settings.read('geometry')[options.id]) { var geometry = settings.read('geometry')[options.id], mScreen = screen.getDisplayMatching(geometry) if (intersectionArea(geometry, mScreen.bounds) > 20000) { From 03ecbb72d4446321625ba1345a34ca419e6f61f8 Mon Sep 17 00:00:00 2001 From: Herr Ritschwumm Date: Mon, 27 Jul 2020 15:58:52 +0200 Subject: [PATCH 2359/2575] fix typos --- CHANGELOG.v0.md | 4 ++-- resources/docs/docs/custom-module/custom-module.md | 2 +- resources/docs/docs/custom-module/examples.md | 2 +- resources/docs/docs/midi/midi-configuration.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.v0.md b/CHANGELOG.v0.md index abf97013..32d3b1a5 100644 --- a/CHANGELOG.v0.md +++ b/CHANGELOG.v0.md @@ -750,7 +750,7 @@ MathJS syntax is now deprecated and will be removed in the future, sessions usin - bug fixes - regression breaking touch traversing gestures - - clone widgets becomming unselectable for edition + - clone widgets becoming unselectable for edition - `preArgs` property still being coerced to an array ## 0.30.3 @@ -1054,7 +1054,7 @@ Read the changelog carefully, old sessions files are likely to need some adjuste - 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 + - sending no value to a widget with `preArgs` is now possible : all the arguments found in incoming 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 diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index 455678dc..aa28fcf4 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -15,7 +15,7 @@ module.exports = { }, oscInFilter:function(data){ - // Filter incomming osc messages + // Filter incoming osc messages var {address, args, host, port} = data diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index d86f3734..21742aeb 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -193,7 +193,7 @@ var rouing = { module.exports = { oscInFilter:function(data){ - // Filter incomming osc messages + // Filter incoming osc messages var {address, args, host, port} = data diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 65bf4aa4..2c5469e1 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -16,7 +16,7 @@ When running the app, the `-m / --midi` switch must be set; it accepts the follo - `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. If the `device_name` contains white spaces, the declaration must be enquoted (ie `"spaced name:input,output"`). `device_name` doesn't need to match the actual midi device name, it is just an identifier (see [Widget settings](#widget-settings)). -- `sysex`: parse incomming system exclusive messages (disabled by default) +- `sysex`: parse incoming system exclusive messages (disabled by default) - `pc_offset`: send program changes with a `-1` offset to match some software/hardware implementations - `path=/path/to/python`: indicates where to find python or python3 binary in case open stage control doesn't (`Error: spawn python3 ENOENT`) From d2b00e9e363803eb9836086004801f9b1ca55c6c Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 16:15:02 +0200 Subject: [PATCH 2360/2575] script: fix build --- scripts/client-shim.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/client-shim.js b/scripts/client-shim.js index a7ca46e2..77c106d9 100644 --- a/scripts/client-shim.js +++ b/scripts/client-shim.js @@ -58,7 +58,8 @@ window = { location: {}, document: document, navigator: { - platform:'' + platform:'', + userAgent: '' }, NodeList: Array, WebSocket: Object, From 219403f33ea31ce1f08d41c7baf4b92946d820ba Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 17:11:01 +0200 Subject: [PATCH 2361/2575] midi: clean and prepare compatibility with prebuilt midi plugin --- src/python/head.py | 2 +- src/python/midi.py | 32 ++++++++++++++++++++------------ src/python/requirements.txt | 1 + src/python/utils.py | 12 ++++++------ src/server/midi.js | 2 +- 5 files changed, 29 insertions(+), 20 deletions(-) create mode 100644 src/python/requirements.txt diff --git a/src/python/head.py b/src/python/head.py index 6077beeb..cb59c2ec 100644 --- a/src/python/head.py +++ b/src/python/head.py @@ -13,7 +13,7 @@ try: from rtmidi.midiconstants import * API = rtmidi.API_UNIX_JACK if 'jack' in argv else rtmidi.API_UNSPECIFIED - if API is rtmidi.API_UNIX_JACK and rtmidi.API_UNIX_JACK not in rtmidi.get_compiled_api(): + if API == rtmidi.API_UNIX_JACK and rtmidi.API_UNIX_JACK not in rtmidi.get_compiled_api(): API = rtmidi.API_UNSPECIFIED ipc_send('log', '(ERROR, MIDI) python-rtmidi was not compiled with jack midi support, falling back to default API') diff --git a/src/python/midi.py b/src/python/midi.py index 7b4dc320..e8d4f464 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -5,6 +5,10 @@ from utils import * if 'list' in argv: list() +if 'list-only' in argv: + list() + exit() + # option: act as if displayed program is between 1-128 instead of 0-127 PROGRAM_CHANGE_OFFSET = 'pc_offset' in argv @@ -13,7 +17,11 @@ outputs = {} for arg in argv: - if type(arg) == str and ':' in arg: + if 'python/midi.py' in arg: + + pass # in case we're using pre-compiled binaries + + elif type(arg) == str and ':' in arg: name, ports = arg.split(':') @@ -81,7 +89,7 @@ def create_callback(name): osc['address'] = MIDI_TO_OSC[mtype] - if mtype is SYSTEM_EXCLUSIVE: + if mtype == SYSTEM_EXCLUSIVE: # Parse the provided data into a hex MIDI data string of the form 'f0 7e 7f 06 01 f7'. v = ' '.join([hex(x).replace('0x', '').zfill(2) for x in message]) osc['args'].append({'type': 'string', 'value': v}) @@ -96,10 +104,10 @@ def create_callback(name): if mtype == NOTE_OFF: message[2] = 0 - elif mtype is PITCH_BEND: + elif mtype == PITCH_BEND: message = message[:1] + [message[1] + message[2] * 128] # convert 0-127 pair -> 0-16384 -> - elif mtype is PROGRAM_CHANGE and PROGRAM_CHANGE_OFFSET: + elif mtype == PROGRAM_CHANGE and PROGRAM_CHANGE_OFFSET: message[-1] = message[-1] + 1 for data in message[1:]: @@ -135,10 +143,10 @@ def midi_message(status, channel, data1=None, data2=None): msg = [(status & 0xF0) | (channel - 1 & 0xF)] - if data1 is not None: + if data1 != None: msg.append(data1 & 0x7F) - if data2 is not None: + if data2 != None: msg.append(data2 & 0x7F) return msg @@ -160,7 +168,7 @@ def send_midi(name, event, *args): mtype = OSC_TO_MIDI[event] - if mtype is SYSTEM_EXCLUSIVE: + if mtype == SYSTEM_EXCLUSIVE: # unhexlify('f0 7e 7f 06 01 f7') creates a sysex message # from hex MIDI data string 'f0 7e 7f 06 01 f7'. @@ -187,19 +195,19 @@ def send_midi(name, event, *args): args = [int(round(x)) for x in args] m = [mtype, args[0]] - if mtype is NOTE_ON: - if args[2] is 0: + if mtype == NOTE_ON: + if args[2] == 0: mtype = NOTE_OFF - elif mtype is PITCH_BEND: + elif mtype == PITCH_BEND: args = args[:1] + [args[1] & 0x7f, (args[1] >> 7) & 0x7f] # convert 0-16384 -> 0-127 pair - elif mtype is PROGRAM_CHANGE and PROGRAM_CHANGE_OFFSET: + elif mtype == PROGRAM_CHANGE and PROGRAM_CHANGE_OFFSET: args[-1] = args[-1] - 1 m = midi_message(mtype, *args) - if m is None: + if m == None: ipc_send('log','(ERROR, MIDI) could not convert osc to midi (%s %s)' % (event, " ".join([str(x) for x in args]))) diff --git a/src/python/requirements.txt b/src/python/requirements.txt new file mode 100644 index 00000000..3aa7f400 --- /dev/null +++ b/src/python/requirements.txt @@ -0,0 +1 @@ +python-rtmidi == 1.4.2 diff --git a/src/python/utils.py b/src/python/utils.py index 95622973..bdf01f80 100644 --- a/src/python/utils.py +++ b/src/python/utils.py @@ -22,7 +22,7 @@ def midi_str(message): mtype = message[0] & 0xF0 s = 'UNKNOWN' - if mtype is SYSTEM_EXCLUSIVE: + if mtype == SYSTEM_EXCLUSIVE: s = 'SYSTEM_EXCLUSIVE: sysex=%s' % ' '.join([hex(x).replace('0x', '').zfill(2) for x in message]) @@ -33,15 +33,15 @@ def midi_str(message): try: - if mtype is NOTE_ON: + if mtype == NOTE_ON: s = 'NOTE_ON: channel=%i, note=%i, velocity=%i' % (channel, message[1], message[2]) - elif mtype is NOTE_OFF: + elif mtype == NOTE_OFF: s = 'NOTE_OFF: channel=%i, note=%i' % (channel, message[1]) - elif mtype is CONTROL_CHANGE: + elif mtype == CONTROL_CHANGE: s = 'CONTROL_CHANGE: channel=%i, cc=%i, value=%i'% (channel, message[1], message[2]) - elif mtype is PROGRAM_CHANGE: + elif mtype == PROGRAM_CHANGE: s = 'PROGRAM_CHANGE: channel=%i, program=%i' % (channel, message[1]) - elif mtype is PITCH_BEND: + elif mtype == PITCH_BEND: s = 'PITCH_BEND: channel=%i, pitch=%i' % (channel, message[1] + message[2] * 128 if len(message) == 3 else message[1]) except IndexError: diff --git a/src/server/midi.js b/src/server/midi.js index 354e3280..0608c303 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -84,7 +84,7 @@ class MidiConverter { var pythonPath = settings.read('midi') ? settings.read('midi').filter(x=>x.includes('path=')).map(x=>x.split('=')[1])[0] : undefined - PythonShell.run('python/list.py', Object.assign({pythonPath}, pythonOptions), function(e, results) { + PythonShell.run('python/midi.py', Object.assign({pythonPath: pythonPath, args: ['list-only']}, pythonOptions), function(e, results) { if (e) { if (e.code === 'ENOENT') { console.error(`(ERROR, MIDI) Could not find python binary: ${e.message.replace(/spawn (.*) ENOENT/, '$1')}`) From cdd00cce2aa491d289089438f2818d3d45762af4 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 17:48:28 +0200 Subject: [PATCH 2362/2575] package: 1.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5c3fcdee..6901f7b3 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.0.1", + "version": "1.0.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 21b251509b7eb13463d498d7f62c3b145dc1fa3d Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 18:02:04 +0200 Subject: [PATCH 2363/2575] log: typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a68f3a5a..db2f1856 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - bug fixes - broken scrolling on iPhone iOS 13 - - window geomtry issue + - window geometry issue ## 1.0.1 From 14ac973c23bb1d4428cce4efa271dfb789bb5c62 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 18:03:56 +0200 Subject: [PATCH 2364/2575] scripts: midi bin build --- scripts/build-midi-bin.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 scripts/build-midi-bin.sh diff --git a/scripts/build-midi-bin.sh b/scripts/build-midi-bin.sh new file mode 100755 index 00000000..cd205dff --- /dev/null +++ b/scripts/build-midi-bin.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# buid python midi addon for linux and windows + +cd src/python + +pyinstaller midi.py --onefile + +docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux:python3 +mv dist/linux dist/linux-x64 + +docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux:python3-32bit +mv dist/linux dist/linux-ia32 + +docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3 +mv dist/windows dist/windows-x64 + +docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3-32bit +mv dist/windows dist/windows-ia32 + +rm -rf __pycache__ build midi.spec From c1f9c21678674d11ff615c6dc76708e6c494e881 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 18:30:07 +0200 Subject: [PATCH 2365/2575] midi: add version --- scripts/build-midi-bin.sh | 10 +++++----- src/python/midi.py | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/build-midi-bin.sh b/scripts/build-midi-bin.sh index cd205dff..87561ca5 100755 --- a/scripts/build-midi-bin.sh +++ b/scripts/build-midi-bin.sh @@ -7,15 +7,15 @@ cd src/python pyinstaller midi.py --onefile docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux:python3 -mv dist/linux dist/linux-x64 +mv dist/linux/midi midi-linux-x64 docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux:python3-32bit -mv dist/linux dist/linux-ia32 +mv dist/linux/midi midi-linux-ia32 docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3 -mv dist/windows dist/windows-x64 +mv dist/windows/midi.exe midi-windows-x64.exe docker run -v "$(pwd):/src/" cdrx/pyinstaller-windows:python3-32bit -mv dist/windows dist/windows-ia32 +mv dist/windows/midi.exe midi-windows-ia32.exe -rm -rf __pycache__ build midi.spec +rm -rf __pycache__ build midi.spec dist diff --git a/src/python/midi.py b/src/python/midi.py index e8d4f464..79218ec5 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -9,6 +9,10 @@ if 'list-only' in argv: list() exit() +if 'version' in argv: + print('1.0.0') + exit() + # option: act as if displayed program is between 1-128 instead of 0-127 PROGRAM_CHANGE_OFFSET = 'pc_offset' in argv From 8ca13aeb39e9ece866703557eb7d29189e1d2cb7 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 27 Jul 2020 18:37:15 +0200 Subject: [PATCH 2366/2575] midi: add version check --- src/python/midi.py | 6 ++---- src/server/midi.js | 5 ++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/python/midi.py b/src/python/midi.py index 79218ec5..cc20fa2a 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -2,6 +2,8 @@ from head import * from list import * from utils import * +ipc_send('version', '1.0.0') + if 'list' in argv: list() @@ -9,10 +11,6 @@ if 'list-only' in argv: list() exit() -if 'version' in argv: - print('1.0.0') - exit() - # option: act as if displayed program is between 1-128 instead of 0-127 PROGRAM_CHANGE_OFFSET = 'pc_offset' in argv diff --git a/src/server/midi.js b/src/server/midi.js index 0608c303..bab8dccb 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -1,5 +1,6 @@ var {PythonShell} = require('python-shell'), - settings = require('./settings') + settings = require('./settings'), + midiVersion = '1.0.0' var pythonOptions = { scriptPath:__dirname, @@ -76,6 +77,8 @@ class MidiConverter { } else if (name == 'error') { console.error('(ERROR, MIDI) ' + data) if (instance) instance.stop() + } else if (name == 'version' && data != midiVersion) { + console.error(`(WARNING, MIDI) binary version mismatch (${data} installed, ${midiVersion} expected)`) } } From ce732a69f463d9bbf335e53fa4f23fca13bb7659 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 29 Jul 2020 13:19:11 +0200 Subject: [PATCH 2367/2575] docs: remote control intro --- resources/docs/docs/remote-control.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index 6a598334..ef79e860 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -1,6 +1,9 @@ # Remote control -All widgets that send osc messages respond to the same messages. 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 responds 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 e4210c2790b129777cb904720ac0948283445510 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 29 Jul 2020 16:26:00 +0200 Subject: [PATCH 2368/2575] docs: typo --- resources/docs/docs/custom-module/examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/custom-module/examples.md b/resources/docs/docs/custom-module/examples.md index 21742aeb..dfd3908f 100644 --- a/resources/docs/docs/custom-module/examples.md +++ b/resources/docs/docs/custom-module/examples.md @@ -183,7 +183,7 @@ module.exports = { ## MIDI routing ```js -var rouing = { +var routing = { // midi cc vs widget id 60: 'fader_1', 61: 'fader_2', From 59d83fcbf973c3cac39defbaebbace301e3fdaca Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 30 Jul 2020 15:21:12 +0200 Subject: [PATCH 2369/2575] modal: fix stacking issue on ios --- CHANGELOG.md | 6 ++++++ src/scss/widgets/containers.scss | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db2f1856..daedc0b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.0.3 + +- bug fixes + - modal: layout issue on iOS + + ## 1.0.2 - bug fixes diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index e7faaf08..39b088cb 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -429,13 +429,15 @@ color: var(--color-text-on); } + 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 - z-index: 9999999999999!important; - overflow: visible; + } } From b79bcf491da06861b54121d9d1f0ae1fa1b91947 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 19:18:57 +0200 Subject: [PATCH 2370/2575] midi: add support for string port declaration --- .../docs/docs/midi/midi-configuration.md | 45 +++++++++++++------ src/python/midi.py | 29 +++++++++--- src/server/options.js | 2 +- 3 files changed, 55 insertions(+), 21 deletions(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 2c5469e1..2f54af5d 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -2,31 +2,48 @@ MIDI support requires additional software to be installed on the server's system: -- python (2 or 3) -- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html) - -To install `python-rtmidi`, run `pip install python-rtmidi` (python 2) in a terminal or `pip3 install python-rtmidi` (python 3). +- [python 3](https://www.python.org/downloads/) +- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi) !!! info "Why an additionnal dependency ?" Providing cross-platform MIDI support is not trivial, as it requires OS-specific compilation that cannot be automated within Open Stage Control's current packaging workflow. Using a python addon seems to be the best compromise so far : the core app remains easy to build, and the extra dependency is easy to install. ## Configuration -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 and 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. If the `device_name` contains white spaces, the declaration must be enquoted (ie `"spaced name:input,output"`). `device_name` doesn't need to match the actual midi device name, it is just an identifier (see [Widget settings](#widget-settings)). -- `sysex`: parse incoming system exclusive messages (disabled by default) -- `pc_offset`: send program changes with a `-1` offset to match some software/hardware implementations -- `path=/path/to/python`: indicates where to find python or python3 binary in case open stage control doesn't (`Error: spawn python3 ENOENT`) +!!! warning "" + If an option contains space characters, it must be enquoted. -*Linux / Mac only:* +**`list`** -- `device_name:virtual`: creates a virtual midi device with one input port and one output port +Print the available MIDI ports to the console when the server starts. This action is also available in the launcher's menu. -*Linux only:* +**`device_name:input,output`** -- `jack`: use JACK MIDI instead of ALSA. `rtmidi` must be compiled with `--jack-midi` flag for this to work. +Create a virtual MIDI device that will translate OSC messsages to MIDI messages + +- `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)) +- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose names contains the string will be used (comparison is case-insensitive). + +**`sysex`** + +Enable parsing of system exclusive messages (disabled by default). + +**`pc_offset`** + +Send program changes with a `-1` offset to match some software/hardware implementations + + +**`path=/path/to/python`** + +Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`) + + +**`device_name:virtual`** (*Linux / Mac only*): creates a virtual midi device with one input port and one output port + + +**`jack`** (*Linux only*): use JACK MIDI instead of ALSA. `python-rtmidi` must be compiled with [jack support](https://spotlightkid.github.io/python-rtmidi/installation.html#linux) for this to work. ## Widget setup diff --git a/src/python/midi.py b/src/python/midi.py index cc20fa2a..56750029 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -25,7 +25,8 @@ for arg in argv: elif type(arg) == str and ':' in arg: - name, ports = arg.split(':') + name, *ports = arg.split(':') + ports = ':'.join(ports) # port names may contain colons inputs[name] = rtmidi.MidiIn(API, name if not JACK else name + '_in') outputs[name] = rtmidi.MidiOut(API, name if not JACK else name + '_out') @@ -46,14 +47,30 @@ for arg in argv: elif ',' in ports: - in_port, out_port = [int(x) for x in ports.split(',')] + in_port, out_port = ports.split(',') - if in_port >= in_dev.get_port_count(): - ipc_send('error', 'can\'t connect to input port %i' % in_port) + if in_port.isdigit() or in_port == '-1': + in_port = int(in_port) + else: + for i in range(in_dev.get_port_count()): + if in_port.lower() in in_dev.get_port_name(i).lower(): + in_port = i + break + + if out_port.isdigit() or out_port == '-1': + out_port = int(out_port) + else: + for i in range(out_dev.get_port_count()): + if out_port.lower() in out_dev.get_port_name(i).lower(): + out_port = i + break + + if type(in_port) != int or in_port >= in_dev.get_port_count(): + ipc_send('error', 'can\'t connect to input port "%s"' % in_port) break - if out_port >= out_dev.get_port_count(): - ipc_send('error', 'can\'t connect to output port %i' % in_port) + if type(out_port) != int or out_port >= out_dev.get_port_count(): + ipc_send('error', 'can\'t connect to output port "%s"' % out_port) break if in_port != -1: diff --git a/src/server/options.js b/src/server/options.js index be594cde..713b7cfb 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -63,7 +63,7 @@ module.exports = { }, 'm': {alias: 'midi', type: 'array', describe: 'midi router settings', check: (o)=>{ - var err = o.filter(item=>!item.match(/^(list|debug|jack|sysex|pc_offset|path=(.*)|[^:]+:(virtual|(-1|[0-9]+),(-1|[0-9]+)))$/)) + var err = o.filter(item=>!item.match(/^(list|debug|jack|sysex|pc_offset|path=(.*)|[^:]+:(virtual|[^,]+,[^,]+))$/)) return err.length ? `Invalid option${err.length > 1 ? 's' : ''}: ${err.join(', ')}` : true } }, From e247f90af094fb66d4655381504fd01852fc01f0 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 19:35:52 +0200 Subject: [PATCH 2371/2575] panels: add contain property to allow scrolling in vertical/horizontal layouts (#645) --- src/client/widgets/basics/file.js | 2 +- src/client/widgets/containers/modal.js | 5 ++++- src/client/widgets/containers/panel.js | 2 ++ src/client/widgets/containers/root.js | 1 + src/client/widgets/containers/tab.js | 1 + src/scss/widgets/containers.scss | 15 +++++++++++---- 6 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/client/widgets/basics/file.js b/src/client/widgets/basics/file.js index b195711f..ffc760f3 100644 --- a/src/client/widgets/basics/file.js +++ b/src/client/widgets/basics/file.js @@ -14,7 +14,7 @@ module.exports = class File extends Widget { return super.defaults({ - _class_specific: 'input', + _class_specific: 'file', align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, directory: {type: 'string', value: 'auto', help: 'Default browsing directory'}, diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 6baa40cb..3e607638 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -27,6 +27,7 @@ class Modal extends Panel { ]}, doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the modal require a double tap to open instead of a single tap'}, variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, _separator: 'popup', @@ -36,9 +37,11 @@ class Modal extends Panel { popupLeft: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, popupTop: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, + _separator1: 'widget container', + layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help: 'Defines how children are laid out.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, + 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.'}, diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 3bb648bf..71aa06e7 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -27,6 +27,7 @@ class Panel extends Container() { layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, + 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.'}, @@ -61,6 +62,7 @@ class Panel extends Container() { 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')) + this.container.classList.toggle('layout-contain', this.getProp('contain')) this.modalBreakout = 0 diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index bddc65ab..fde37415 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -24,6 +24,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, + 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.'}, diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index 9374ee97..75413a37 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -32,6 +32,7 @@ class Tab extends Panel { layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, + 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.'}, diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 39b088cb..d72284f8 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -61,14 +61,18 @@ position: relative!important; height: auto!important; min-height: auto!important; - min-width: auto!important; max-height: 100%; - max-width: 100%; } > .flex-expand { flex: 1 } } + + &.layout-horizontal.layout-contain > inner > .widget { + min-width: auto!important; + max-width: 100%; + } + &.layout-vertical > inner { display: flex; flex-direction: column; @@ -78,15 +82,18 @@ left:auto!important; position: relative!important; width: auto!important; - min-height: auto!important; min-width: auto!important; - max-height: 100%; max-width: 100%; } > .flex-expand { flex: 1 } } + &.layout-vertical.layout-contain > inner > .widget { + min-height: auto!important; + max-height: 100%; + } + &.layout-grid > inner { display: grid; > .widget { From 7c2933cadd4d91b3dfb6438067857cc9b27ceb5a Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 19:42:24 +0200 Subject: [PATCH 2372/2575] log: 1.0.3 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index daedc0b6..b905beb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ - bug fixes - modal: layout issue on iOS +- widgets + - panels: added `contain` property to allow scrolling in vertical/horizontal layouts + +- midi + - add support for named ports in midi configuration + ## 1.0.2 From 87cdc3e16a48fe2e5ca73699cb8d25b892f7d56f Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 19:44:08 +0200 Subject: [PATCH 2373/2575] package: 1.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6901f7b3..254c79a6 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.0.2", + "version": "1.0.3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From dfaf7dfed4070eaf74d04c4d1d526d50c6a03d9d Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 19:48:10 +0200 Subject: [PATCH 2374/2575] docs: update --- resources/docs/docs/midi/midi-configuration.md | 2 +- resources/docs/docs/widgets/properties-reference.md | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 2f54af5d..0ff446d6 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -24,7 +24,7 @@ Print the available MIDI ports to the console when the server starts. This actio Create a virtual MIDI device that will translate OSC messsages to MIDI messages - `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)) -- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose names contains the string will be used (comparison is case-insensitive). +- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive). **`sysex`** diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 70da1251..8c568fb4 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -149,7 +149,7 @@ ??? api "
        file#
        " File/Folder selector (server-side). - === "input" + === "file" | property | type |default | description | | --- | --- | --- | --- | @@ -177,6 +177,7 @@ |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        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. | @@ -209,6 +210,7 @@ | | `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` | | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | === "popup" @@ -219,9 +221,14 @@ | | `number`|
        `percentage` | "80%" | Modal popup's size | | | `number`|
        `percentage` | "auto" | Modal popup's position | | | `number`|
        `percentage` | "auto" | Modal popup's position | + + === "widget container" + + | property | type |default | description | + | --- | --- | --- | --- | | | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + | | `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. | @@ -321,6 +328,7 @@ |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        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. | @@ -361,6 +369,7 @@ |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        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. | From c06ef537b4cb2883f39b7ae777000e85b6dbfd84 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 19:49:35 +0200 Subject: [PATCH 2375/2575] docs: clean --- resources/docs/docs/user-interface/editor.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index db728199..7941f4a0 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -1,5 +1,3 @@ -!!! warning "Incomplete documentation" - ## Widget selection Clicking on a widget, on a tab label or on an item in the project tree selects the widgets for edition: From c6a7d34e907af2873f866f3f82b4d90fffd6425e Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 22:27:55 +0200 Subject: [PATCH 2376/2575] script: fix storage methods --- CHANGELOG.md | 6 ++++++ src/client/widgets/scripts/script-vm.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b905beb7..520335b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.0.4 + +- bug fixes + - script: broken `storage.getItem` and `storage.removeItem` + + ## 1.0.3 - bug fixes diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index a1a4c705..d45664cd 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -222,8 +222,8 @@ class ScriptVm extends Vm { this.sandbox.contentWindow.storage = { setItem: (k, v)=>cache.set('script.' + k, v), - getItem: (k)=>cache.get('script.' + k, v), - removeItem: (k)=>cache.remove('script.' + k, v), + getItem: (k)=>cache.get('script.' + k), + removeItem: (k)=>cache.remove('script.' + k), clear: ()=>cache.clear('script.') } From bd025243d6ba0411cb6ec38ec31c9aadaef5db28 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 24 Aug 2020 17:58:37 +0200 Subject: [PATCH 2377/2575] launcher: pass process.env to server process (fixes broken remote-root option) --- CHANGELOG.md | 1 + src/server/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 520335b7..2b689f31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - script: broken `storage.getItem` and `storage.removeItem` + - regression breaking `remote-root` option when starting with the launcher ## 1.0.3 diff --git a/src/server/index.js b/src/server/index.js index c4663dde..134a6e84 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -166,7 +166,7 @@ if (settings.cli) { } } - global.serverProcess = spawn(process.argv[0], args, {stdio: 'pipe', env: {'ELECTRON_RUN_AS_NODE':'1'}}) + global.serverProcess = spawn(process.argv[0], args, {stdio: 'pipe', env: {...process.env, 'ELECTRON_RUN_AS_NODE':'1'}}) launcher.webContents.send('server-started') if (!settings.read('no-gui')) { From fd4d89580cfb3f10935099670190c5855bafb8ca Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 24 Aug 2020 17:59:23 +0200 Subject: [PATCH 2378/2575] docs: typo --- resources/docs/docs/getting-started/server-configuration.md | 4 ++-- src/server/options.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index 033e49ed..aa834a31 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -95,7 +95,7 @@ The **server** can be configured with many options, either from a terminal or wi === "remote-saving" - Disable file saving for hosts that don't match the regular expresion. + Disable file saving for hosts that don't match the regular expression. Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`. @@ -165,7 +165,7 @@ Options name must be prepended with a double dash (`--`) in a terminal. open-stage-control --no-gui --load path/to/your/session.json --theme path/to/your/theme.css ``` - Launches the server in headless mode, and makes all clients load provided session and theme automatically. + Launches the server in headless mode, and makes all clients load provided session and theme automatically. ## Running in a terminal on Windows diff --git a/src/server/options.js b/src/server/options.js index 713b7cfb..85cd5e63 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -80,7 +80,7 @@ module.exports = { 'disable-vsync': {type: 'boolean', describe: 'disable gui\'s vertical synchronization', restart: true}, 'force-gpu': {type: 'boolean', describe: 'ignore chrome\'s gpu blacklist', restart: true}, 'read-only': {type: 'boolean', describe: 'disable session editing and session history changes'}, - 'remote-saving': {type: 'string', describe: 'disable remote session saving for hosts that don\'t match the regular expresion', + 'remote-saving': {type: 'string', describe: 'disable remote session saving for hosts that don\'t match the regular expression', check: (r, argv)=>{ var msg = true try { From 4b19db9393a301559e503bac9478e785ee20e822 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 24 Aug 2020 18:00:26 +0200 Subject: [PATCH 2379/2575] package: 1.0.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 254c79a6..b08b7eec 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.0.3", + "version": "1.0.4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 9d09d055c6acbbd3d3ee7690db0f6540fa91f828 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 28 Aug 2020 13:26:03 +0200 Subject: [PATCH 2380/2575] midi: add key pressure and channel pressure --- CHANGELOG.md | 5 +++++ resources/docs/docs/midi/midi-messages.md | 22 ++++++++++++++++++++++ src/python/utils.py | 12 ++++++++++-- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 520335b7..ce3575f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## next + +- midi + - added support for channel pressure and key pressure messages + ## 1.0.4 - bug fixes diff --git a/resources/docs/docs/midi/midi-messages.md b/resources/docs/docs/midi/midi-messages.md index c6852caf..92692d77 100644 --- a/resources/docs/docs/midi/midi-messages.md +++ b/resources/docs/docs/midi/midi-messages.md @@ -69,3 +69,25 @@ System exclusive message. - `msg`: hexadecimal sysex data string of the form `f0 ... f7`. You may include placeholders of the form `nn` which will be replaced by `v1, .., vN` respectively. - `v1, .., vN`: values encoded as hexadecimal data strings to include in `msg`. Most probably, you will need to sepcify a [custom module](/docs/custom-module/) in order to convert numeric widget values into the required hexadecimal format. In general, this conversion will be different for each manufacturer / device. + +---- + +#### `/channel_pressure channel pressure` + +Channel pressure event. + +- `channel`: integer between 1 and 16 +- `pressure`: integer between 0 and 127 + +---- + + +#### `/key_pressure channel note pressure` + +Polyphonic key pressure event. + +- `channel`: integer between 1 and 16 +- `note`: integer between 0 and 127 +- `pressure`: integer between 0 and 127 + +---- diff --git a/src/python/utils.py b/src/python/utils.py index bdf01f80..81a8e518 100644 --- a/src/python/utils.py +++ b/src/python/utils.py @@ -6,7 +6,9 @@ MIDI_TO_OSC = { CONTROL_CHANGE: '/control', PROGRAM_CHANGE: '/program', PITCH_BEND: '/pitch', - SYSTEM_EXCLUSIVE: '/sysex' + SYSTEM_EXCLUSIVE: '/sysex', + CHANNEL_PRESSURE: '/channel_pressure', + POLY_PRESSURE: '/key_pressure' } OSC_TO_MIDI = { @@ -14,7 +16,9 @@ OSC_TO_MIDI = { '/control': CONTROL_CHANGE, '/program': PROGRAM_CHANGE, '/pitch': PITCH_BEND, - '/sysex': SYSTEM_EXCLUSIVE + '/sysex': SYSTEM_EXCLUSIVE, + '/channel_pressure': CHANNEL_PRESSURE, + '/key_pressure': POLY_PRESSURE } def midi_str(message): @@ -43,6 +47,10 @@ def midi_str(message): s = 'PROGRAM_CHANGE: channel=%i, program=%i' % (channel, message[1]) elif mtype == PITCH_BEND: s = 'PITCH_BEND: channel=%i, pitch=%i' % (channel, message[1] + message[2] * 128 if len(message) == 3 else message[1]) + elif mtype == CHANNEL_PRESSURE: + s = 'CHANNEL_PRESSURE: channel=%i, pressure=%i' % (channel, message[1]) + elif mtype == POLY_PRESSURE: + s = 'KEY_PRESSURE: channel=%i, note=%i, pressure=%i' % (channel, message[1], message[2]) except IndexError: From 84d5371255bc01612bc8d1dae079b484d8696a6e Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 28 Aug 2020 13:39:07 +0200 Subject: [PATCH 2381/2575] svg: removed support for non-standard `%x` and `%y` units; fixed layout update when resized; --- CHANGELOG.md | 3 +++ src/client/widgets/frames/svg.js | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 928696b5..14b1f715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - midi - added support for channel pressure and key pressure messages +- widgets + - svg: removed support for non-standard `%x` and `%y` units; fixed layout update when resized; + ## 1.0.4 - bug fixes diff --git a/src/client/widgets/frames/svg.js b/src/client/widgets/frames/svg.js index fbe417c7..0f7bc433 100644 --- a/src/client/widgets/frames/svg.js +++ b/src/client/widgets/frames/svg.js @@ -19,9 +19,7 @@ class Svg extends StaticProperties(Widget, {bypass: true}) { _class_specific: 'svg', svg: {type: 'string', value: '', help: [ - 'Svg xml definition:', - '- will be wrapped in a `< svg />` element', - '- `` commands support a special percent notation (`%x` and `%y`)' + 'Svg xml definition (will be wrapped in a `< svg />` element)', ]}, }, ['decimals', 'bypass'], {}) @@ -47,22 +45,24 @@ class Svg extends StaticProperties(Widget, {bypass: true}) { } - updateSvg(){ + updateSvg(force){ if (!this.width || !this.height) return var svg = this.getProp('svg') - svg = svg.replace(/<\/svg>/gi, 'x') - svg = svg.replace(/([0-9.]+%x)/gi, m=>(parseFloat(m) * this.width / 100).toFixed(2)) - svg = svg.replace(/([0-9.]+%y)/gi, m=>(parseFloat(m) * this.height / 100).toFixed(2)) - + this.frame.setAttribute('width', this.width) + this.frame .setAttribute('height', this.height) var node = this.frame.cloneNode(false) node.innerHTML = svg - morph(this.frame, node) + if (force) { + this.frame.innerHTML = node.innerHTML + } else { + morph(this.frame, node) + } } @@ -79,7 +79,7 @@ class Svg extends StaticProperties(Widget, {bypass: true}) { this.height = height this.width = width - this.updateSvg() + this.updateSvg(true) } From d8dabdf727761425556be2581920c2b5b42dff7b Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 28 Aug 2020 13:40:55 +0200 Subject: [PATCH 2382/2575] knob: add support for custom dash/gap size in `dashed` property --- CHANGELOG.md | 5 +++-- src/client/widgets/sliders/knob.js | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14b1f715..318c78f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,11 @@ ## next - midi - - added support for channel pressure and key pressure messages + - add support for channel pressure and key pressure messages - widgets - - svg: removed support for non-standard `%x` and `%y` units; fixed layout update when resized; + - svg: remove support for non-standard `%x` and `%y` units; fixed layout update when resized; + - knob: add support for custom dash/gap size in `dashed` property ## 1.0.4 diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 8cd7e1c7..2e983d4d 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -22,7 +22,7 @@ module.exports = class Knob extends Slider { ]}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its `default` value when released'}, pips: {type: 'boolean', value: false, help: 'Set to `true` to show the scale\'s breakpoints'}, - dashed: {type: 'boolean', value: false, help: 'Set to `true` to display a dashed gauge'}, + 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'}, doubleTap: {type: 'boolean', value: false, help: [ 'Set to `true` to make the knob reset to its `default` value when receiving a double tap.', @@ -175,6 +175,8 @@ module.exports = class Knob extends Slider { minRadius = this.minDimension / 6 - (pips ? this.fontSize * 0.75 : PXSCALE), maxRadius = this.minDimension / 2 - (pips ? this.fontSize * 2 : PXSCALE) + if (dashed) dashed = Array.isArray(dashed) ? dashed.map(x=>parseFloat(x)) : [1.5, 1.5] + var gaugeWidth = maxRadius - minRadius, gaugeRadius = maxRadius - gaugeWidth / 2 @@ -199,7 +201,7 @@ module.exports = class Knob extends Slider { this.ctx.stroke() } - if (dashed) this.ctx.setLineDash([1.5 * PXSCALE, 1.5 * PXSCALE]) + if (dashed) this.ctx.setLineDash(dashed) if (this.cssVars.alphaFillOn) { this.ctx.globalAlpha = this.cssVars.alphaFillOn From c7c39d1f2fc185aa91b0c4bb2ce6d2bfc99dd648 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 2 Sep 2020 12:27:36 +0200 Subject: [PATCH 2383/2575] ios: fix scrolling for ios 14+ --- CHANGELOG.md | 5 ++++- package.json | 2 +- src/client/ui/ios.js | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 318c78f2..42273a88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog -## next +## 1.1.0 + +- bug fixes + - iOS 14+ scrolling issue - midi - add support for channel pressure and key pressure messages diff --git a/package.json b/package.json index b08b7eec..4a04db28 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.0.4", + "version": "1.1.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/ui/ios.js b/src/client/ui/ios.js index 7993f7ce..64372b29 100644 --- a/src/client/ui/ios.js +++ b/src/client/ui/ios.js @@ -2,7 +2,7 @@ var iOS13 = ( navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 // iPad - || navigator.userAgent.match(/iPhone OS 13/) // iPhone + || navigator.userAgent.match(/iPhone OS (1[3-9])/) // iPhone ), iOS = navigator.platform.match(/iPhone|iPod|iPad/) || iOS13 From 6d4baa38dd0ee7f674dafb126e1753fe34b3a0b8 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 2 Sep 2020 16:05:52 +0200 Subject: [PATCH 2384/2575] knob: add solid & line designs --- CHANGELOG.md | 5 + src/client/widgets/sliders/knob.js | 252 ++++++++++++++++------------- src/scss/widgets/sliders.scss | 3 +- 3 files changed, 148 insertions(+), 112 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42273a88..7e00cf2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## next + +- widgets + - knob: add `solid` & `line` designs + ## 1.1.0 - bug fixes diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 2e983d4d..c9f101ba 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -15,6 +15,10 @@ module.exports = class Knob extends Slider { _class_specific: 'knob', + design: {type: 'string', value: 'default', choices: ['default', 'solid', 'line'], help: [ + 'Design style', + 'Note: "solid" design uses "colorStroke" for the central knob color.' + ]}, mode: {type: 'string', value: 'vertical', choices: ['vertical', 'circular', 'snap'], help: [ '- `circular`: relative move in circular motion', '- `snap`: snap to touch position and move in vertical motion', @@ -182,126 +186,154 @@ module.exports = class Knob extends Slider { this.clear() - // if (this.getProp('design') === 'default') { + if (this.getProp('design') === 'default') { - if (this.minDimension < 40) { - minRadius /= 2 - gaugeWidth = maxRadius - minRadius - gaugeRadius = maxRadius - gaugeWidth / 2 - } + if (this.minDimension < 40) { + minRadius /= 2 + gaugeWidth = maxRadius - minRadius + gaugeRadius = maxRadius - gaugeWidth / 2 + } - // fill - this.ctx.strokeStyle = this.cssVars.colorFill - this.ctx.lineWidth = gaugeWidth - this.gaugePadding * 2 + // fill + this.ctx.strokeStyle = this.cssVars.colorFill + this.ctx.lineWidth = gaugeWidth - this.gaugePadding * 2 + + if (this.cssVars.alphaFillOff) { + this.ctx.globalAlpha = this.cssVars.alphaFillOff + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, gaugeRadius, min, max) + this.ctx.stroke() + } + + if (dashed) this.ctx.setLineDash(dashed) + + if (this.cssVars.alphaFillOn) { + this.ctx.globalAlpha = this.cssVars.alphaFillOn + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, gaugeRadius, o, d, o > d) + this.ctx.stroke() + } + + if (dashed) this.ctx.setLineDash([]) + + + // stroke + + this.ctx.globalAlpha = this.cssVars.alphaStroke + this.ctx.strokeStyle = this.cssVars.colorStroke + this.ctx.lineWidth = PXSCALE - if (this.cssVars.alphaFillOff) { - this.ctx.globalAlpha = this.cssVars.alphaFillOff this.ctx.beginPath() - this.ctx.arc(this.width / 2, this.height / 2, gaugeRadius, min, max) + this.ctx.arc(this.width / 2, this.height / 2, maxRadius, 0, 2 * Math.PI) this.ctx.stroke() - } - if (dashed) this.ctx.setLineDash(dashed) - if (this.cssVars.alphaFillOn) { - this.ctx.globalAlpha = this.cssVars.alphaFillOn + // knob + + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.cssVars.colorFill + this.ctx.lineWidth = 2.5 * PXSCALE + + let r1 = minRadius + this.gaugePadding, + r2 = maxRadius - this.gaugePadding, + a = 2 * Math.PI - d + this.ctx.beginPath() - this.ctx.arc(this.width / 2, this.height / 2, gaugeRadius, o, d, o > d) + this.ctx.moveTo(r1 * Math.cos(a) + this.width / 2, this.height / 2 - r1 * Math.sin(a)) + this.ctx.lineTo(r2 * Math.cos(a) + this.width / 2, this.height / 2 - r2 * Math.sin(a)) this.ctx.stroke() + + } else if (this.getProp('design') === 'solid') { + + // center + + this.ctx.globalAlpha = this.cssVars.alphaStroke + this.ctx.fillStyle = this.cssVars.colorStroke + + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, maxRadius / 1.25, 0, 2 * Math.PI) + this.ctx.fill() + + // fill + this.ctx.strokeStyle = this.cssVars.colorFill + this.ctx.lineWidth = 2 * PXSCALE + + if (this.cssVars.alphaFillOff) { + this.ctx.globalAlpha = this.cssVars.alphaFillOff + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, maxRadius, min, max) + this.ctx.stroke() + } + + if (dashed) this.ctx.setLineDash(dashed) + + if (this.cssVars.alphaFillOn) { + this.ctx.globalAlpha = this.cssVars.alphaFillOn + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, maxRadius, o, d, o > d) + this.ctx.stroke() + } + + if (dashed) this.ctx.setLineDash([]) + + // knob + + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.cssVars.colorBg + this.ctx.lineWidth = 2.5 * PXSCALE + + let r1 = minRadius, + r2 = maxRadius / 1.25 + PXSCALE , + a = 2 * Math.PI - d + + this.ctx.beginPath() + this.ctx.moveTo(r1 * Math.cos(a) + this.width / 2, this.height / 2 - r1 * Math.sin(a)) + this.ctx.lineTo(r2 * Math.cos(a) + this.width / 2, this.height / 2 - r2 * Math.sin(a)) + this.ctx.stroke() + + + + } else { + + // fill + this.ctx.strokeStyle = this.cssVars.colorFill + this.ctx.lineWidth = 2 * PXSCALE + + if (this.cssVars.alphaFillOff) { + this.ctx.globalAlpha = this.cssVars.alphaFillOff + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, maxRadius, min, max) + this.ctx.stroke() + } + + if (dashed) this.ctx.setLineDash(dashed) + + if (this.cssVars.alphaFillOn) { + this.ctx.globalAlpha = this.cssVars.alphaFillOn + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, maxRadius, o, d, o > d) + this.ctx.stroke() + } + + if (dashed) this.ctx.setLineDash([]) + + // knob + + this.ctx.globalAlpha = 1 + this.ctx.strokeStyle = this.cssVars.colorFill + this.ctx.lineWidth = 2.5 * PXSCALE + + let r1 = minRadius * 1.5, + r2 = maxRadius + 0.5 * PXSCALE, + a = 2 * Math.PI - d + + this.ctx.beginPath() + this.ctx.moveTo(r1 * Math.cos(a) + this.width / 2, this.height / 2 - r1 * Math.sin(a)) + this.ctx.lineTo(r2 * Math.cos(a) + this.width / 2, this.height / 2 - r2 * Math.sin(a)) + this.ctx.stroke() + } - if (dashed) this.ctx.setLineDash([]) - - - // stroke - - this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.strokeStyle = this.cssVars.colorStroke - this.ctx.lineWidth = PXSCALE - // - // if (this.minDimension > 40) { - // this.ctx.beginPath() - // this.ctx.arc(this.width / 2, this.height / 2, minRadius, 0, 2 * Math.PI) - // this.ctx.stroke() - // } - - - this.ctx.beginPath() - this.ctx.arc(this.width / 2, this.height / 2, maxRadius, 0, 2 * Math.PI) - this.ctx.stroke() - - - // knob - - this.ctx.globalAlpha = 1 - this.ctx.strokeStyle = this.cssVars.colorFill - this.ctx.lineWidth = 1.5 * PXSCALE - - let r1 = minRadius + this.gaugePadding, - r2 = maxRadius - this.gaugePadding, - a = 2 * Math.PI - d - - this.ctx.beginPath() - this.ctx.moveTo(r1 * Math.cos(a) + this.width / 2, this.height / 2 - r1 * Math.sin(a)) - this.ctx.lineTo(r2 * Math.cos(a) + this.width / 2, this.height / 2 - r2 * Math.sin(a)) - this.ctx.stroke() - - // } else { - // - // // fill - // this.ctx.strokeStyle = this.cssVars.colorFill - // this.ctx.lineWidth = 2 * PXSCALE - // - // if (this.cssVars.alphaFillOff) { - // this.ctx.globalAlpha = this.cssVars.alphaFillOff - // this.ctx.beginPath() - // this.ctx.arc(this.width / 2, this.height / 2, maxRadius, min, max) - // this.ctx.stroke() - // } - // - // if (dashed) this.ctx.setLineDash([1.5 * PXSCALE, 1.5 * PXSCALE]) - // - // if (this.cssVars.alphaFillOn) { - // this.ctx.globalAlpha = this.cssVars.alphaFillOn - // this.ctx.beginPath() - // this.ctx.arc(this.width / 2, this.height / 2, maxRadius, o, d, o > d) - // this.ctx.stroke() - // } - // - // if (dashed) this.ctx.setLineDash([]) - // - // - // - // // center - // this.ctx.fillStyle = this.cssVars.colorBg - // this.ctx.strokeStyle = this.cssVars.colorStroke - // this.ctx.lineWidth = 1 * PXSCALE - // - // this.ctx.beginPath() - // this.ctx.arc(this.width / 2, this.height / 2, maxRadius - (2 + this.cssVars.padding) * PXSCALE, 0, 2 * Math.PI) - // this.ctx.globalAlpha = this.cssVars.alphaStroke - // this.ctx.stroke() - // this.ctx.globalAlpha = 1 - // // this.ctx.fill() - // - // - // - // // knob - // this.ctx.globalAlpha = 1 - // this.ctx.fillStyle = this.cssVars.colorFill - // this.ctx.lineWidth = 1.5 * PXSCALE - // - // let r1 = maxRadius - (8 + this.cssVars.padding) * PXSCALE, - // a = 2 * Math.PI - d - // - // this.ctx.beginPath() - // this.ctx.arc(r1 * Math.cos(a) + this.width / 2, this.height / 2 - r1 * Math.sin(a), 1.5 * PXSCALE, 0, 2*Math.PI) - // this.ctx.fill() - // - // - // } - - // pips @@ -313,7 +345,7 @@ module.exports = class Knob extends Slider { for (var pip of this.rangeKeys) { - let r1 = maxRadius + 2 * PXSCALE, + let r1 = maxRadius + 3 * PXSCALE, r2 = r1 + 4 * PXSCALE, a = 2 * Math.PI - this.percentToAngle(pip) diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index ff761fa6..59e4d029 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -52,8 +52,7 @@ --widget-padding: 1rem; --alpha-stroke: 0.75; - &.design-classic { - --alpha-stroke: 0.5; + &.design-solid, &.design-line { --alpha-fill-off: 0.25; --alpha-fill-on: 1; } From e2e4ac610f22a82aa4b8093088e2e9097040cefa Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 2 Sep 2020 16:41:43 +0200 Subject: [PATCH 2385/2575] fader: add knobSize property --- CHANGELOG.md | 1 + src/client/widgets/sliders/fader.js | 29 +++++++++++++++++++---------- src/client/widgets/sliders/range.js | 11 ++++++----- src/scss/widgets/sliders.scss | 1 + 4 files changed, 27 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e00cf2f..7d592a66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - widgets - knob: add `solid` & `line` designs + - fader: add `knobSize` property ## 1.1.0 diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 522a357d..caf12558 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -1,7 +1,7 @@ var {clip} = require('../utils'), Slider = require('./slider') -module.exports = class Fader extends Slider { +class Fader extends Slider { static description() { @@ -16,6 +16,7 @@ module.exports = class Fader extends Slider { _class_specific: 'fader', design: {type: 'string', value: 'default', choices: ['default', 'round', 'compact'], help: 'Design style'}, + knobSize: {type: 'number', value: 'auto', help: 'Fader knob size'}, 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]`'}, @@ -180,7 +181,8 @@ module.exports = class Fader extends Slider { o = Math.round(this.percentToCoord(this.valueToPercent(this.originValue))), m = this.getProp('horizontal') ? this.height / 2 : this.width / 2, dashed = this.dashed, - compact = this.getProp('design') === 'compact' + compact = this.getProp('design') === 'compact', + knobHeight = this.cssVars.knobSize * PXSCALE, knobWidth = knobHeight * .6 * PXSCALE this.clear() @@ -265,7 +267,7 @@ module.exports = class Fader extends Slider { this.ctx.fillStyle = this.cssVars.colorBg this.ctx.beginPath() - this.ctx.rect(m - 6 * PXSCALE, d - 10 * PXSCALE, 12 * PXSCALE, 20 * PXSCALE) + this.ctx.rect(m - knobWidth / 2, d - knobHeight / 2, knobWidth, knobHeight) this.ctx.fill() @@ -274,7 +276,7 @@ module.exports = class Fader extends Slider { this.ctx.beginPath() this.ctx.lineWidth = PXSCALE - this.ctx.rect(m - 5.5 * PXSCALE, d - 9.5 * PXSCALE, 11 * PXSCALE, 19 * PXSCALE) + this.ctx.rect(m - knobWidth / 2 + 0.5 * PXSCALE, d - knobHeight / 2 + 0.5 * PXSCALE, knobWidth - PXSCALE, knobHeight - PXSCALE) this.ctx.stroke() } @@ -286,7 +288,7 @@ module.exports = class Fader extends Slider { this.ctx.rect(m - 3 * PXSCALE, d, 6 * PXSCALE, PXSCALE) this.ctx.fill() - this.clearRect = [m - 10 * PXSCALE, this.gaugePadding - 10 * PXSCALE, 20 * PXSCALE, height - 2 * this.gaugePadding + 20 * PXSCALE] + this.clearRect = [m - knobWidth / 2 - PXSCALE, this.gaugePadding - knobHeight / 2 - PXSCALE, knobWidth + 2 * PXSCALE, height - 2 * this.gaugePadding + knobHeight + 2 * PXSCALE] } else { @@ -294,7 +296,7 @@ module.exports = class Fader extends Slider { this.ctx.fillStyle = this.cssVars.colorFill this.ctx.beginPath() - this.ctx.arc(m, d, 3 * PXSCALE, 0, 2 * Math.PI) + this.ctx.arc(m, d, knobHeight / 6, 0, 2 * Math.PI) this.ctx.fill() @@ -303,18 +305,18 @@ module.exports = class Fader extends Slider { this.ctx.fillStyle = this.cssVars.colorFill this.ctx.beginPath() - this.ctx.arc(m, d, 9 * PXSCALE, 0, 2 * Math.PI) + this.ctx.arc(m, d, knobHeight / 2, 0, 2 * Math.PI) this.ctx.fill() } - this.clearRect = [m - 11 * PXSCALE, this.gaugePadding - 11 * PXSCALE, 22 * PXSCALE, height - 2 * this.gaugePadding + 22 * PXSCALE] + this.clearRect = [m - knobHeight / 2 - PXSCALE, this.gaugePadding - knobHeight / 2 - PXSCALE, knobHeight + 2 * PXSCALE, height - 2 * this.gaugePadding + knobHeight + 2 * PXSCALE] } if (this.getProp('pips') && !compact) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) - if (!compact) this.clearRect = [this.clearRect, [m + 10 * PXSCALE, 0, 10 * PXSCALE + this.pipsTextSize, height]] + if (!compact) this.clearRect = [this.clearRect, [m + knobWidth / 2, 0, 12 * PXSCALE + this.pipsTextSize, height]] } @@ -346,7 +348,7 @@ module.exports = class Fader extends Slider { if (width % 2 && parseInt(m) !== m) m -= 0.5 - if (!compact) m -= 10 * PXSCALE + if (!compact) m -= 16 * PXSCALE - this.cssVars.knobSize * .3 * PXSCALE ctx.lineWidth = PXSCALE @@ -404,3 +406,10 @@ module.exports = class Fader extends Slider { } } + + +Fader.cssVariables = Fader.prototype.constructor.cssVariables.concat( + {js: 'knobSize', css: '--knob-size'} +) + +module.exports = Fader diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index e123d1e2..a0a4a4e9 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -214,7 +214,8 @@ class Range extends Fader { d2 = Math.round(fader.percentToCoord(fader.valueToPercent(this.faders[this.getProp('horizontal')?1:0].value))), m = this.getProp('horizontal') ? this.height / 2 : this.width / 2, dashed = this.getProp('dashed'), - compact = this.getProp('design') === 'compact' + compact = this.getProp('design') === 'compact', + knobHeight = this.cssVars.knobSize * PXSCALE, knobWidth = knobHeight * .6 * PXSCALE this.clear() @@ -306,7 +307,7 @@ class Range extends Fader { this.ctx.fillStyle = this.cssVars.colorBg this.ctx.beginPath() - this.ctx.rect(m - 6 * PXSCALE, _d - 10 * PXSCALE, 12 * PXSCALE, 20 * PXSCALE) + this.ctx.rect(m - knobWidth / 2, _d - knobHeight / 2, knobWidth, knobHeight) this.ctx.fill() this.ctx.globalAlpha = this.cssVars.alphaStroke @@ -314,7 +315,7 @@ class Range extends Fader { this.ctx.lineWidth = PXSCALE this.ctx.beginPath() - this.ctx.rect(m - 5.5 * PXSCALE, _d - 9.5 * PXSCALE, 11 * PXSCALE, 19 * PXSCALE) + this.ctx.rect(m - knobWidth / 2 + 0.5 * PXSCALE, _d - knobHeight / 2 + 0.5 * PXSCALE, knobWidth - PXSCALE, knobHeight - PXSCALE) this.ctx.stroke() } @@ -328,7 +329,7 @@ class Range extends Fader { } - this.clearRect = [m - 10 * PXSCALE, this.gaugePadding - 10 * PXSCALE, 20 * PXSCALE, height - 2 * this.gaugePadding + 20 * PXSCALE] + this.clearRect = [m - knobWidth / 2 - PXSCALE, this.gaugePadding - knobHeight / 2 - PXSCALE, knobWidth + 2 * PXSCALE, height - 2 * this.gaugePadding + knobHeight + 2 * PXSCALE] } else { @@ -366,7 +367,7 @@ class Range extends Fader { if (this.getProp('pips')) { this.ctx.globalAlpha = 1 this.ctx.drawImage(this.pips, 0, 0) - if (!compact) this.clearRect = [this.clearRect, [m + 10 * PXSCALE, 0, 10 * PXSCALE + this.pipsTextSize, height]] + if (!compact) this.clearRect = [this.clearRect, [m + knobWidth / 2, 0, 12 * PXSCALE + this.pipsTextSize, height]] } diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index 59e4d029..4f970374 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -17,6 +17,7 @@ height: 200rem; --widget-padding: 1rem; + --knob-size: 20; canvas { text-align: left; From c367b70ceb7f6970a0116c272ac6a61f4fe15eb5 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 2 Sep 2020 17:31:52 +0200 Subject: [PATCH 2386/2575] fader: support custom knob size in compact mode --- src/client/widgets/sliders/fader.js | 14 +++++++++----- src/client/widgets/sliders/range.js | 9 ++++++--- src/scss/widgets/sliders.scss | 4 +++- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index caf12558..3da9cff5 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -90,9 +90,12 @@ class Fader extends Slider { super.dragHandle(...arguments) + var padding = this.gaugePadding + if (this.getProp('design') === 'compact') padding += this.cssVars.knobSize * PXSCALE / 2 + this.percent = this.getProp('horizontal')? - this.percent + ( e.movementX / (this.width - this.gaugePadding * 2)) * 100 / e.inertia * this.getProp('sensitivity'): - this.percent + (-e.movementY / (this.height - this.gaugePadding * 2)) * 100 / e.inertia * this.getProp('sensitivity') + 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.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true}) @@ -182,7 +185,7 @@ class Fader extends Slider { m = this.getProp('horizontal') ? this.height / 2 : this.width / 2, dashed = this.dashed, compact = this.getProp('design') === 'compact', - knobHeight = this.cssVars.knobSize * PXSCALE, knobWidth = knobHeight * .6 * PXSCALE + knobHeight = this.cssVars.knobSize, knobWidth = knobHeight * .6 this.clear() @@ -252,7 +255,8 @@ class Fader extends Slider { this.ctx.fillStyle = this.cssVars.colorFill this.ctx.beginPath() - this.ctx.rect(this.gaugePadding, Math.min(d, height - this.gaugePadding - PXSCALE), width - this.gaugePadding * 2, PXSCALE) + d = d / (height - this.gaugePadding) * (height-this.gaugePadding - knobHeight) + this.ctx.rect(this.gaugePadding, d, width - this.gaugePadding * 2, knobHeight) this.ctx.fill() this.clearRect = [0, 0, width, height] @@ -409,7 +413,7 @@ class Fader extends Slider { Fader.cssVariables = Fader.prototype.constructor.cssVariables.concat( - {js: 'knobSize', css: '--knob-size'} + {js: 'knobSize', css: '--knob-size', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE} ) module.exports = Fader diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index a0a4a4e9..5100623f 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -215,7 +215,7 @@ class Range extends Fader { m = this.getProp('horizontal') ? this.height / 2 : this.width / 2, dashed = this.getProp('dashed'), compact = this.getProp('design') === 'compact', - knobHeight = this.cssVars.knobSize * PXSCALE, knobWidth = knobHeight * .6 * PXSCALE + knobHeight = this.cssVars.knobSize, knobWidth = knobHeight * .6 this.clear() @@ -283,14 +283,17 @@ class Range extends Fader { this.ctx.globalAlpha = 1 this.ctx.fillStyle = this.cssVars.colorFill + var compactAdjust = 1 / (height - this.gaugePadding) * (height-this.gaugePadding - knobHeight) this.ctx.beginPath() - this.ctx.rect(this.gaugePadding, Math.min(d, height - this.gaugePadding - PXSCALE), width - this.gaugePadding * 2, PXSCALE) + d *= compactAdjust + this.ctx.rect(this.gaugePadding, d, width - this.gaugePadding * 2, knobHeight) this.ctx.fill() // extra knob this.ctx.beginPath() - this.ctx.rect(this.gaugePadding, Math.min(d2, height - this.gaugePadding - PXSCALE), width - this.gaugePadding * 2, PXSCALE) + d2 *= compactAdjust + this.ctx.rect(this.gaugePadding, d2, width - this.gaugePadding * 2, knobHeight) this.ctx.fill() diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index 4f970374..a53e88ac 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -17,7 +17,7 @@ height: 200rem; --widget-padding: 1rem; - --knob-size: 20; + --knob-size: 1rem; canvas { text-align: left; @@ -29,6 +29,7 @@ } &.design-default { + --knob-size: 20rem; --widget-padding: 10rem; --alpha-stroke: 0.5; --alpha-fill-off: 0.25; @@ -36,6 +37,7 @@ } &.design-round { + --knob-size: 20rem; --widget-padding: 10rem; --alpha-stroke: 0.25; --alpha-fill-off: 0.25; From c1fe3be351860b8636eb3421766dd7d9b4c9d520 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 3 Sep 2020 20:48:58 +0200 Subject: [PATCH 2387/2575] midi: bump midi script 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 56750029..8bd9e149 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -2,7 +2,7 @@ from head import * from list import * from utils import * -ipc_send('version', '1.0.0') +ipc_send('version', '1.1.0') if 'list' in argv: list() diff --git a/src/server/midi.js b/src/server/midi.js index bab8dccb..c0b01bb2 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -1,6 +1,6 @@ var {PythonShell} = require('python-shell'), settings = require('./settings'), - midiVersion = '1.0.0' + midiVersion = '1.1.0' var pythonOptions = { scriptPath:__dirname, From a2f2f89aab5ba72e7966f0af1a081fa02dbcbdb5 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 11:12:13 +0200 Subject: [PATCH 2388/2575] custom module: rm support for extra args (avoid path issues) --- CHANGELOG.md | 3 +++ .../getting-started/server-configuration.md | 6 +++--- src/server/options.js | 20 ++++-------------- src/server/osc/index.js | 21 ++++++------------- 4 files changed, 16 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d592a66..851868df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## next +- custom module + - remove support for extra args (avoid path issues) + - widgets - knob: add `solid` & `line` designs - fader: add `knobSize` property diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index aa834a31..eec3dfe2 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -12,16 +12,16 @@ The **server** can be configured with many options, either from a terminal or wi === "load" - Path to a session file. All clients connecting the server will load it. + Path to a session file (.json). All clients connecting the server will load it. === "state" - Path to a state file. All clients connecting the server will load it. + Path to a state file (.state). All clients connecting the server will load it. === "custom-module" - Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context. + Path to a custom module file (.js). === "port" diff --git a/src/server/options.js b/src/server/options.js index 85cd5e63..c667ce4c 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -7,31 +7,19 @@ module.exports = { 'Targets must be ip:port or hostname:port pairs (port must be >= 1024) or midi:port_name pairs' : true } }, - 'l': {alias: 'load', type: 'string', file: {name: 'OSC Session (.json)', extensions: ['json', 'js']}, describe: 'session file to load', + 'l': {alias: 'load', type: 'string', file: {name: 'OSC Session (.json)', extensions: ['json']}, describe: 'session file to load (.json)', check: (arg)=>{ return fs.existsSync(arg) ? true : 'Session file not found: ' + arg } }, - 'state': {type: 'string', file: {name: 'OSC State (.state)', extensions: ['state']}, describe: 'state file to load', + 'state': {type: 'string', file: {name: 'OSC State (.state)', extensions: ['state']}, describe: 'state file to load (.state)', check: (arg)=>{ return fs.existsSync(arg) ? true : 'State file not found: ' + arg } }, - 'c': {alias: 'custom-module', type: 'array', file: {name: 'OSC Custom module (.js)', extensions: ['js']}, describe: 'custom module file to load (custom options can be passed after the filename)', + 'c': {alias: 'custom-module', type: 'string', file: {name: 'OSC Custom module (.js)', extensions: ['js']}, describe: 'custom module file to load (.js)', check: (arg)=>{ - - var customModule = arg.slice() - - // consolidate path containing whitespaces - if (!customModule[0].includes('.js')) { - var index = customModule.findIndex(x => typeof x === 'string' && x.includes('.js')) - if (index !== undefined) { - var _path = customModule.slice(0, index + 1).join(' ') - customModule.splice(0, index + 1, _path) - } - } - - return fs.existsSync(customModule[0]) ? true : 'Custom module file not found: ' + customModule[0] + return fs.existsSync(arg) ? true : 'Custom module file not found: ' + arg }, }, 'p': {alias: 'port', type: 'number', describe: 'http port of the server (default to 8080)', diff --git a/src/server/osc/index.js b/src/server/osc/index.js index cd36d31d..88140a71 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -21,22 +21,14 @@ class OscServer { this.customModule = (()=>{ var customModule = settings.read('custom-module') - if (!customModule) return false - // consolidate path containing whitespaces - if (!customModule[0].includes('.js')) { - var index = customModule.findIndex(x => typeof x === 'string' && x.includes('.js')) - if (index !== undefined) { - var _path = customModule.slice(0, index + 1).join(' ') - customModule.splice(0, index + 1, _path) - } - } + if (!customModule) return false var file = (()=>{ try { - return fs.readFileSync(customModule[0], 'utf8') + return fs.readFileSync(customModule, 'utf8') } catch(err) { - console.error('(ERROR) Custom module not found: ' + customModule[0]) + console.error('(ERROR) Custom module not found: ' + customModule) return false } })(), @@ -66,7 +58,7 @@ class OscServer { loadJSON: (url)=>{ if (url.split('.').pop() === 'json') { try { - url = path.resolve(path.dirname(customModule[0]), url) + url = path.resolve(path.dirname(customModule), url) return JSON.parse(fs.readFileSync(url, 'utf8')) } catch(e) { console.error('(ERROR) could not load json file from ' + url) @@ -78,7 +70,7 @@ class OscServer { }, saveJSON: (url, data)=>{ if (url.split('.').pop() === 'json') { - url = path.resolve(path.dirname(customModule[0]), url) + url = path.resolve(path.dirname(customModule), url) try { return fs.writeFileSync(url, JSON.stringify(data, null, ' ')) } catch(e) { @@ -93,7 +85,6 @@ class OscServer { setTimeout, clearTimeout, setInterval, clearInterval, settings, - options: customModule.slice(1, customModule.length), module: {}, }) @@ -103,7 +94,7 @@ class OscServer { process.mainModule.require = process.dlopen = null // run mod = vm.runInContext(file, context, { - filename: customModule[0] + filename: customModule }) if (context.module.exports) mod = context.module.exports } catch(err) { From 7fb857e670fef31b565ee340ef93313401b4e3f7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 15:10:09 +0200 Subject: [PATCH 2389/2575] image: avoid type error --- src/client/widgets/frames/image.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/widgets/frames/image.js b/src/client/widgets/frames/image.js index 86a4fb1f..c5c65885 100644 --- a/src/client/widgets/frames/image.js +++ b/src/client/widgets/frames/image.js @@ -55,6 +55,8 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) { setValue(v, options={}) { + if (typeof this.value !== 'string') return + var s = v==null ? '' : '' + v, cache_query = '' From 3041c4e9e3bf12dee363629b242a0cc3310c0af3 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 15:41:56 +0200 Subject: [PATCH 2390/2575] widgets: expose stroke width (wip) --- src/client/editor/data-workers.js | 2 +- src/client/widgets/common/widget.js | 2 ++ src/client/widgets/graphs/plot.js | 4 ++-- src/client/widgets/pads/pad.js | 2 +- src/client/widgets/sliders/encoder.js | 23 +++++++++++++---------- src/client/widgets/sliders/fader.js | 25 ++++++++++++++----------- src/client/widgets/sliders/knob.js | 19 ++++++++++--------- src/client/widgets/sliders/range.js | 2 +- src/client/widgets/sliders/slider.js | 2 +- src/scss/mixins.scss | 10 +++++----- src/scss/themes/default.scss | 2 ++ src/scss/widgets.scss | 1 + src/scss/widgets/basics.scss | 3 ++- src/scss/widgets/containers.scss | 13 ++++++++----- src/scss/widgets/pads.scss | 7 ++++--- 15 files changed, 67 insertions(+), 50 deletions(-) diff --git a/src/client/editor/data-workers.js b/src/client/editor/data-workers.js index d3a4eb47..7e7de5d9 100644 --- a/src/client/editor/data-workers.js +++ b/src/client/editor/data-workers.js @@ -176,7 +176,7 @@ var incrementWidget = function(data, root){ data.address = 'auto' } else if (address !== 'auto') { - + var addressref while (fakeStore.address.indexOf(address) != -1 || widgetManager.getWidgetByAddress(addressref).length) { address = address.replace(/([0-9]*)$/,function(m){ diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index ea96a0ef..5dcc720f 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -80,6 +80,7 @@ class Widget extends EventEmitter { alphaFillOff: {type: 'number', value: 'auto', help: 'Fill color opacity (off).'}, alphaFillOn: {type: 'number', value: 'auto', help: 'Fill color opacity (on).'}, + strokeWidth: {type: 'number', value: 'auto', help: 'Stroke width.'}, padding: {type: 'number', value: 'auto', help: 'Inner spacing.'}, @@ -1038,6 +1039,7 @@ Widget.cssVariables = [ {js: 'colorStroke', css: '--color-stroke'}, {js: 'colorText', css: '--color-text'}, {js: 'padding', css: '--widget-padding', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, + {js: 'strokeWidth', css: '--stroke-width', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, {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/graphs/plot.js b/src/client/widgets/graphs/plot.js index 8cc8325e..d104fbcb 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -88,7 +88,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte this.ctx.fillStyle = this.cssVars.colorText this.ctx.globalAlpha = this.cssVars.alphaPips - var margin = this.cssVars.padding + var margin = this.cssVars.padding + this.cssVars.strokeWidth if (margin < this.fontSize * 1.5) return @@ -114,7 +114,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte draw_line() { var points = [], - padding = this.cssVars.padding + PXSCALE, + padding = this.cssVars.padding + this.cssVars.strokeWidth, decimals = this.getProp('smooth') ? 1 : 0, length = this.value.length, x, y, i, previousValue, nx, ny diff --git a/src/client/widgets/pads/pad.js b/src/client/widgets/pads/pad.js index 7bd3d9ec..e9c925ce 100644 --- a/src/client/widgets/pads/pad.js +++ b/src/client/widgets/pads/pad.js @@ -22,7 +22,7 @@ class Pad extends Canvas { super.cacheCanvasStyle(style) this.pointSize = parseFloat(style.getPropertyValue('--pointSize')) * PXSCALE - this.padPadding = (this.cssVars.padding + PXSCALE) + this.padPadding = (this.cssVars.padding + this.cssVars.strokeWidth) } diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index 563b8b41..ac8716ce 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -213,7 +213,7 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range min = this.percentToAngle(0), max = this.percentToAngle(100), minRadius = this.minDimension / 6, - maxRadius = this.minDimension / 2 - PXSCALE, + maxRadius = this.minDimension / 2 - this.cssVars.strokeWidth, gaugeWidth = maxRadius - minRadius, gaugeRadius = maxRadius - gaugeWidth / 2 @@ -245,20 +245,23 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range } // stroke + if (this.cssVars.strokeWidth) { - this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.strokeStyle = this.cssVars.colorStroke - this.ctx.lineWidth = PXSCALE + this.ctx.globalAlpha = this.cssVars.alphaStroke + this.ctx.strokeStyle = this.cssVars.colorStroke + this.ctx.lineWidth = this.cssVars.strokeWidth + + if (this.minDimension > 40) { + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, minRadius, 0, 2 * Math.PI) + this.ctx.stroke() + } - if (this.minDimension > 40) { this.ctx.beginPath() - this.ctx.arc(this.width / 2, this.height / 2, minRadius, 0, 2 * Math.PI) + this.ctx.arc(this.width / 2, this.height / 2, maxRadius, 0, 2 * Math.PI) this.ctx.stroke() + } - - this.ctx.beginPath() - this.ctx.arc(this.width / 2, this.height / 2, maxRadius, 0, 2 * Math.PI) - this.ctx.stroke() } diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 3da9cff5..5821fe0e 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -91,7 +91,7 @@ class Fader extends Slider { super.dragHandle(...arguments) var padding = this.gaugePadding - if (this.getProp('design') === 'compact') padding += this.cssVars.knobSize * PXSCALE / 2 + if (this.getProp('design') === 'compact') padding += this.cssVars.knobSize / 2 this.percent = this.getProp('horizontal')? this.percent + ( e.movementX / (this.width - padding * 2)) * 100 / e.inertia * this.getProp('sensitivity'): @@ -235,18 +235,21 @@ class Fader extends Slider { if (compact) { // stroke + if (this.cssVars.strokeWidth) { - this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.strokeStyle = this.cssVars.colorStroke + 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 * PXSCALE - this.ctx.stroke() + 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.strokeWidth + this.ctx.stroke() + + } // flat knob diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index c9f101ba..c25f8daf 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -176,8 +176,8 @@ module.exports = class Knob extends Slider { max = this.percentToAngle(100), dashed = this.getProp('dashed'), pips = this.getProp('pips'), - minRadius = this.minDimension / 6 - (pips ? this.fontSize * 0.75 : PXSCALE), - maxRadius = this.minDimension / 2 - (pips ? this.fontSize * 2 : PXSCALE) + minRadius = this.minDimension / 6 - (pips ? this.fontSize * 0.75 : 0) - this.cssVars.strokeWidth / 2, + maxRadius = this.minDimension / 2 - (pips ? this.fontSize * 2 : 0) - this.cssVars.strokeWidth / 2 if (dashed) dashed = Array.isArray(dashed) ? dashed.map(x=>parseFloat(x)) : [1.5, 1.5] @@ -218,14 +218,15 @@ module.exports = class Knob extends Slider { // stroke + if (this.cssVars.strokeWidth) { + this.ctx.globalAlpha = this.cssVars.alphaStroke + this.ctx.strokeStyle = this.cssVars.colorStroke + this.ctx.lineWidth = this.cssVars.strokeWidth - this.ctx.globalAlpha = this.cssVars.alphaStroke - this.ctx.strokeStyle = this.cssVars.colorStroke - this.ctx.lineWidth = PXSCALE - - this.ctx.beginPath() - this.ctx.arc(this.width / 2, this.height / 2, maxRadius, 0, 2 * Math.PI) - this.ctx.stroke() + this.ctx.beginPath() + this.ctx.arc(this.width / 2, this.height / 2, maxRadius, 0, 2 * Math.PI) + this.ctx.stroke() + } // knob diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index 5100623f..6f72c620 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -275,7 +275,7 @@ class Range extends Fader { this.ctx.lineTo(width, height) this.ctx.lineTo(0, height) this.ctx.closePath() - this.ctx.lineWidth = 2 * PXSCALE + this.ctx.lineWidth = 2 * this.cssVars.strokeWidth this.ctx.stroke() diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 6cbac1ae..a5c76a13 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -144,7 +144,7 @@ class Slider extends Canvas { super.cacheCanvasStyle(style) - this.gaugePadding = this.cssVars.padding + PXSCALE + this.gaugePadding = this.cssVars.padding + this.cssVars.strokeWidth } diff --git a/src/scss/mixins.scss b/src/scss/mixins.scss index bd36870f..3eec8e69 100644 --- a/src/scss/mixins.scss +++ b/src/scss/mixins.scss @@ -2,7 +2,7 @@ &:before { content:""; position: absolute; - border: 1rem solid var(--color-stroke); + border: var(--stroke-width) solid var(--color-stroke); opacity: var(--alpha-stroke); top: 0; left: 0; @@ -20,10 +20,10 @@ position: absolute; background: var(--color-fill); opacity: var(--alpha-fill); - top: 1rem; - left: 1rem; - right: 1rem; - bottom: 1rem; + top: var(--stroke-width); + left: var(--stroke-width); + right: var(--stroke-width); + bottom: var(--stroke-width); pointer-events: none; margin: var(--widget-padding); z-index: $z; diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index 2997ce9a..e5f296ca 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -29,6 +29,8 @@ $font-menu: sans-serif; --color-context-menu-text: #{$nord1}; + --stroke-width: 1rem; + --alpha-scrollbar: 0.25; --alpha-scrollbar-on: 0.75; --scrollbar-size: 12rem; diff --git a/src/scss/widgets.scss b/src/scss/widgets.scss index 2179da29..89874732 100644 --- a/src/scss/widgets.scss +++ b/src/scss/widgets.scss @@ -23,6 +23,7 @@ // transform-origin: top left; + --stroke-width: 1rem; --widget-padding: 1rem; --color-stroke:var(--color-widget); diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 3215a9c9..e43b2b73 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -88,7 +88,7 @@ display: flex; flex-direction: column; --widget-spacing: calc(var(--widget-padding) / 2); - margin: calc(var(--widget-spacing) + 1rem); + margin: calc(var(--widget-spacing) + var(--stroke-width)); } @@ -125,6 +125,7 @@ overflow: hidden; @include pseudo-fill($z: -1); &:after { + --stroke-width: 1rem; margin: calc(var(--widget-spacing) - 1rem); } diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index d72284f8..619abb83 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -188,7 +188,7 @@ &.contains-widgets { > inner { - margin: calc(var(--widget-spacing) + 1rem); + margin: calc(var(--widget-spacing) + var(--stroke-width)); } &.no-inner-padding > inner { @@ -533,6 +533,7 @@ .patchbaynode-container { justify-content: center; + background: transparent; } .patchbay-container { @@ -555,21 +556,23 @@ display: flex; flex-direction: column; align-items:stretch; - margin-bottom: 1rem; + margin-bottom: var(--stroke-width); width: 25%; } .inputs, .outputs { position: relative; @include pseudo-stroke(); - top: 1rem; + top: var(--stroke-width); + margin-top: -1rem; + height: calc(100% - var(--stroke-width) * 2 + 2rem); } .inputs:before { - border-width: 0 1rem 0 0; + border-width: 0 var(--stroke-width) 0 0; } .outputs:before { - border-width: 0 0 0 1rem; + border-width: 0 0 0 var(--stroke-width); } } diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index 6522d176..e502a506 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -52,7 +52,7 @@ --widget-spacing: calc(var(--widget-padding) / 2); - padding: var(--widget-spacing); + padding: calc(var(--stroke-width) + var(--widget-spacing)); grid-template: "a a b" auto / 1fr; @@ -70,6 +70,7 @@ width: auto; margin: var(--widget-spacing); --widget-padding: 2rem; + --stroke-width: 0; } .pad { @@ -98,7 +99,7 @@ --alpha-fill-off: 0.5; --alpha-fill-on: 0; --alpha-stroke: 0; - --widget-padding: -1rem; + --widget-padding: 0rem; &:after { content:""; @@ -120,7 +121,7 @@ --alpha-stroke: 0; --alpha-fill-off: 0.1; --alpha-fill-on: 0.25; - --widget-padding: -1rem; + --widget-padding: 0rem; } } From 94867162c22b673f5a26127c8248887ac7698719 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 16:00:43 +0200 Subject: [PATCH 2391/2575] widgets: strokeWidth (wip) --- CHANGELOG.md | 1 + src/client/widgets/common/canvas.js | 1 + src/client/widgets/common/widget.js | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 851868df..98085a2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - remove support for extra args (avoid path issues) - widgets + - all: add `strokeWidth` style property - knob: add `solid` & `line` designs - fader: add `knobSize` property diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 575cbc8e..651be868 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -145,6 +145,7 @@ class Canvas extends Widget { case 'alphaFillOff': case 'alphaFillOn': case 'colorBg': + case 'strokeWidth': setTimeout(()=>{ this.cacheCanvasStyle() this.batchDraw() diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 5dcc720f..83eb243c 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -818,6 +818,7 @@ class Widget extends EventEmitter { case 'alphaStroke': case 'alphaFillOff': case 'alphaFillOn': + case 'strokeWidth': case 'padding': this.setCssVariables() return From 863e56afd066eadab8d62dde622cf347c1706f36 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 16:11:49 +0200 Subject: [PATCH 2392/2575] wigets: stroke width (wip) --- CHANGELOG.md | 4 ++-- src/client/widgets/common/widget.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98085a2d..f6563970 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ## next -- custom module - - remove support for extra args (avoid path issues) +- main + - remove support for extra args in the `custom-module` option fix some path issues - widgets - all: add `strokeWidth` style property diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 83eb243c..0c236959 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -1065,6 +1065,7 @@ Widget.dynamicProps = [ 'alphaFillOff', 'alphaFillOn', 'padding', + 'strokeWidth', 'css', 'value', From 911888d6e2136be87639b30fd6704506714aec33 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 16:32:13 +0200 Subject: [PATCH 2393/2575] color picker: add alpha --- src/client/ui/ui-colorpicker.js | 8 +++++--- src/scss/ui/inspector.scss | 11 +++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/client/ui/ui-colorpicker.js b/src/client/ui/ui-colorpicker.js index 886a2979..dc7b3576 100644 --- a/src/client/ui/ui-colorpicker.js +++ b/src/client/ui/ui-colorpicker.js @@ -19,17 +19,17 @@ class ColorPicker extends UiWidget { this.rgb = new Rgb({props: { ...Rgb.defaults()._props(), type: 'rgb', - label: false, width: 'auto', height: 'auto', alphaStroke: 0, snap: true, + alpha: true }, parent: this}) this.rgb.container.classList.add('not-editable') this.modal = new UiModal({ width: 280, - height: 280, + height: 320, closable: true, title: '', hide: true, @@ -108,7 +108,9 @@ class ColorPicker extends UiWidget { setValue(v) { - this.rgb.setValue(chroma(v).rgb()) + if (v === 'transparent') v = '#00000000' + + this.rgb.setValue(chroma(v).rgba()) } diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 1c8acf02..09a000e5 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -287,7 +287,7 @@ osc-inspector-color { background: var(--color-background); flex: 1; width: auto; - margin: 8rem; + --widget-padding: #{$padding}; } .actions { @@ -298,14 +298,17 @@ osc-inspector-color { height: 42rem + $padding * 2; line-height: 38rem; flex-shrink: 0; - border: $padding solid var(--color-ui-background); - padding: 1rem; + background: var(--color-ui-background); + padding: $padding; .btn { flex: 1; - margin: 1rem;; text-overflow: clip; min-width: 0; background: var(--color-ui-button); + margin-right: $padding; + &:last-child { + margin: 0; + } } } From 6252fff2850216f009297cda56291452c7cadab9 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 16:46:42 +0200 Subject: [PATCH 2394/2575] widgets: pads strokeWidth --- src/client/widgets/common/canvas.js | 2 +- src/client/widgets/pads/multixy.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index 651be868..cc316d05 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -145,13 +145,13 @@ class Canvas extends Widget { case 'alphaFillOff': case 'alphaFillOn': case 'colorBg': - case 'strokeWidth': setTimeout(()=>{ this.cacheCanvasStyle() this.batchDraw() },10) return case 'css': + case 'strokeWidth': case 'padding': resize.check(this.canvas, true) setTimeout(()=>{ diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 218e84f1..b1a71452 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -287,6 +287,7 @@ module.exports = class MultiXy extends Pad { case 'alphaFillOff': case 'alphaFillOn': case 'padding': + case 'strokeWidth': for (var w of this.pads) { w.onPropChanged(propName) } From 87f9233b1408b788c54f2aa6b377d5e3394682a7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 16:46:59 +0200 Subject: [PATCH 2395/2575] xy: pointSize fix --- src/client/widgets/pads/xy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index cfa03061..743ded5a 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -269,7 +269,7 @@ module.exports = class Xy extends Pad { this.ctx.globalAlpha = this.active ? 1 : 0.75 this.ctx.lineWidth = 1.5 * PXSCALE this.ctx.beginPath() - this.ctx.arc(x, y, pointSize, Math.PI * 2, false) + this.ctx.arc(x, y, pointSize - PXSCALE * 2, Math.PI * 2, false) this.ctx.stroke() From 3a708fffb7687ab0c7c006b1c16fcccbed3ffd7d Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 16:55:11 +0200 Subject: [PATCH 2396/2575] panel: stroke width --- src/scss/widgets/containers.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 619abb83..1a022e7d 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -300,10 +300,10 @@ z-index: 101; } &:first-child:before { - margin-left: 1rem; + margin-left: var(--stroke-width); } &:last-child:before { - margin-right: 1rem; + margin-right: var(--stroke-width); } } @@ -336,11 +336,11 @@ z-index: 101; } &:first-child:before { - margin-top: 1rem; + margin-top: var(--stroke-width); margin-left: 0; } &:last-child:before { - margin-bottom: 1rem; + margin-bottom: var(--stroke-width); margin-right: 0; } } From 0da2f12ea5755e9d54f306f264a31f57550ce523 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 17:08:25 +0200 Subject: [PATCH 2397/2575] keyboard: stroke width --- src/scss/widgets/containers.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 1a022e7d..2b73a207 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -606,11 +606,11 @@ --color-white-key: #ccc; --color-black-key: #1A1A1A; - --widget-keypad: var(--widget-padding); + --widget-keypad: calc(var(--widget-padding) + var(--stroke-width)); > inner { - padding: var(--widget-padding); + padding: calc(var(--widget-padding) + var(--stroke-width)); flex: 1; @include pseudo-stroke($z: 2); position: relative; @@ -623,6 +623,7 @@ --alpha-fill-off: var(--alpha-key-off); --alpha-fill-on: var(--alpha-key-on); + --stroke-width: 0!important; inner { margin: 1rem 0.5rem!important; --widget-padding: -1rem; From 7733ae807f85120258f48e329f851a688efcea96 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 17:08:38 +0200 Subject: [PATCH 2398/2575] clone: rm colorBg & strokeWidth (should be overridden via "props") --- 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 d925d71b..2e166d85 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -26,7 +26,7 @@ class Clone extends Container() { props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'}, }, [ - 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', + 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', 'strokeWidth', 'label', 'color', '_value', 'default', 'value', 'script', 'linkId', '_osc', 'decimals', 'address', 'preArgs', 'typeTags', 'target', 'ignoreDefaults', 'bypass' From 965dba468572c6dea55a500b493345f67aebe2e0 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 17:08:38 +0200 Subject: [PATCH 2399/2575] clone: rm colorBg & strokeWidth (should be overridden via "props") --- src/client/widgets/containers/clone.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index d925d71b..9ee61d2f 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -26,7 +26,7 @@ class Clone extends Container() { props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'}, }, [ - 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', + 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', 'strokeWidth', 'label', 'color', '_value', 'default', 'value', 'script', 'linkId', '_osc', 'decimals', 'address', 'preArgs', 'typeTags', 'target', 'ignoreDefaults', 'bypass' @@ -298,6 +298,7 @@ class Clone extends Container() { case 'alphaFillOff': case 'alphaFillOn': case 'colorBg': + case 'strokeWidth': case 'padding': for (var w of this.children) { if (w) w.onPropChanged(propName) From f490e629aba3dc3566293a40ee1325631033ebb1 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 6 Sep 2020 17:22:14 +0200 Subject: [PATCH 2400/2575] menu: stroke width --- src/scss/widgets/basics.scss | 4 ++-- src/scss/widgets/frames.scss | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index e43b2b73..4ced82ab 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -250,7 +250,7 @@ @include pseudo-stroke($z: 2); &:before { - border-width: 1rem; + border-width: var(--stroke-width); } @@ -350,7 +350,7 @@ display: flex; flex-direction: row; - padding: calc(var(--widget-padding) / 2 + 1rem); + padding: calc(var(--widget-padding) / 2 + var(--stroke-width)); .item { position: relative; diff --git a/src/scss/widgets/frames.scss b/src/scss/widgets/frames.scss index b5a8be1e..219bc8ff 100644 --- a/src/scss/widgets/frames.scss +++ b/src/scss/widgets/frames.scss @@ -10,9 +10,8 @@ position: relative; flex: 1; display: flex; - padding: var(--widget-padding); + padding: calc(var(--widget-spacing) + var(--stroke-width)); background-clip: content-box; - @include pseudo-stroke(); } From 043fda404e5b1e91726a5e79278ddb0135c7fae5 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 08:02:31 +0200 Subject: [PATCH 2401/2575] Revert "xy: pointSize fix" This reverts commit 87f9233b1408b788c54f2aa6b377d5e3394682a7. --- src/client/widgets/pads/xy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index 743ded5a..cfa03061 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -269,7 +269,7 @@ module.exports = class Xy extends Pad { this.ctx.globalAlpha = this.active ? 1 : 0.75 this.ctx.lineWidth = 1.5 * PXSCALE this.ctx.beginPath() - this.ctx.arc(x, y, pointSize - PXSCALE * 2, Math.PI * 2, false) + this.ctx.arc(x, y, pointSize, Math.PI * 2, false) this.ctx.stroke() From 8a74e7063cb494d330d8b0ca96c82b6262c6ad0d Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 08:07:10 +0200 Subject: [PATCH 2402/2575] xy: avoid border/point overlap --- src/client/widgets/pads/pad.js | 2 +- src/client/widgets/pads/xy.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/pads/pad.js b/src/client/widgets/pads/pad.js index e9c925ce..62f8238e 100644 --- a/src/client/widgets/pads/pad.js +++ b/src/client/widgets/pads/pad.js @@ -22,7 +22,7 @@ class Pad extends Canvas { super.cacheCanvasStyle(style) this.pointSize = parseFloat(style.getPropertyValue('--pointSize')) * PXSCALE - this.padPadding = (this.cssVars.padding + this.cssVars.strokeWidth) + this.padPadding = (this.cssVars.padding + this.cssVars.strokeWidth) + 2 * PXSCALE } diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index cfa03061..b8accd9b 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -229,8 +229,8 @@ module.exports = class Xy extends Pad { } if (pip == 0 || pip == 100) continue - this.ctx.moveTo(px, margin) - this.ctx.lineTo(px, this.height - margin) + this.ctx.moveTo(px, margin - PXSCALE) + this.ctx.lineTo(px, this.height - margin + PXSCALE) pipsDrawn = true @@ -250,8 +250,8 @@ module.exports = class Xy extends Pad { } if (pip == 0 || pip == 100) continue - this.ctx.moveTo(margin, py) - this.ctx.lineTo(this.width - margin, py) + this.ctx.moveTo(margin - PXSCALE, py) + this.ctx.lineTo(this.width - margin + PXSCALE, py) pipsDrawn = true From 7d162692283a154bc46dc77abc965320b94d9984 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 09:05:28 +0200 Subject: [PATCH 2403/2575] toolbar: fallback item when opening menu before recent sessions are loaded --- src/client/locales/en.js | 1 + src/client/locales/fr.js | 1 + src/client/ui/ui-toolbar.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/locales/en.js b/src/client/locales/en.js index 877c930a..208568b8 100644 --- a/src/client/locales/en.js +++ b/src/client/locales/en.js @@ -27,6 +27,7 @@ module.exports = { // file file_open: 'Open', file_open_recent: 'Open recent', + file_open_recent_wait: 'List not loaded yet, please close and reopen the menu', file_save: 'Save', file_save_as: 'Save as...', file_import: 'Import', diff --git a/src/client/locales/fr.js b/src/client/locales/fr.js index 40e089b5..81bdabdb 100644 --- a/src/client/locales/fr.js +++ b/src/client/locales/fr.js @@ -27,6 +27,7 @@ module.exports = { // file file_open: 'Ouvrir', file_open_recent: 'Récemment ouvert(s)', + file_open_recent_wait: 'Liste non chargée, veuillez fermer puis ouvrir le menu à nouveau', file_save: 'Enregistrer', file_save_as: 'Enregistrer sous...', file_import: 'Importer', diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index 8a8cdc79..425a2756 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -10,7 +10,7 @@ var UiWidget = require('./ui-widget'), {leftUiSidePanel, rightUiSidePanel} = require('../ui/') -var recentSessions = [] +var recentSessions = [{label: locales('file_open_recent_wait'), class: 'disabled'}] var menuEntries = [ { From f2e0f26f58993d9c456bb2b6ac8df73f6912b75c Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 09:08:48 +0200 Subject: [PATCH 2404/2575] editor: add 'Relative units (%)' option --- CHANGELOG.md | 6 ++- resources/docs/docs/user-interface/client.md | 1 + src/client/editor/context-menu.js | 9 +++++ src/client/editor/index.js | 39 +++++++++++++++++--- src/client/locales/en.js | 1 + src/client/locales/fr.js | 1 + src/client/ui/ui-toolbar.js | 8 ++++ 7 files changed, 58 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6563970..8e3153cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,13 +3,17 @@ ## next - main - - remove support for extra args in the `custom-module` option fix some path issues + - remove support for extra args in the `custom-module` option (fixes some path issues) - widgets - all: add `strokeWidth` style property - knob: add `solid` & `line` designs - fader: add `knobSize` property +- editor + - preserve percentages in position/size + - add 'Relative units (%)' option to use percents automatically on new widgets + ## 1.1.0 - bug fixes diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index 0981b67d..7c53bfab 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -22,6 +22,7 @@ - Grid: toggle grid - Project tree: toggle project tree's visibility - Inspector: toggle inspector's visibility + - Relative units (%): when enabled, newly created widgets will have their position and size set in percents. - Fullscreen: toggle fullscreen - Prevent sleep (mobile only): attempt to prevent device from going to sleep when idle diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 88c46d1f..be32b647 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -150,11 +150,20 @@ var handleClick = function(event) { newData.left= clickX } + if (editor.usePercents) { + newData.top = (100 * clickY / editor.selectedWidgets[0].widget.offsetHeight).toFixed(2) + '%' + newData.left= (100 * clickX / editor.selectedWidgets[0].widget.offsetWidth).toFixed(2) + '%' + newData.height= '6%' + newData.width = '8%' + } + data[0].widgets = data[0].widgets || [] data[0].widgets.push(newData) var indexes = {addedIndexes: [data[0].widgets.length -1]} updateWidget(editor.selectedWidgets[0], indexes) + + editor.pushHistory(indexes) } diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 5ea216d1..72032fa3 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -127,6 +127,7 @@ class Editor { this.idClipboard = data.idClipboard }) + this.usePercents = false this.enabled = false this.grid = true @@ -536,20 +537,40 @@ class Editor { for (let i in pastedData) { - if (!isNaN(pastedData[i]).top && pastedData[i].top < minTop) { - minTop = pastedData[i].top + let top = pastedData[i].top, + left = pastedData[i].left + + if (top.includes('%')) { + top = parseFloat(top) / 100 * this.selectedWidgets[0].widget.offsetHeight + pastedData[i]._atop = top + pastedData[i]._ptop = true } - if (!isNaN(pastedData[i]).left && pastedData[i].left < minLeft) { - minLeft = pastedData[i].left + if (left.includes('%')) { + left = parseFloat(left) / 100 * this.selectedWidgets[0].widget.offsetWidth + pastedData[i]._aleft = left + pastedData[i]._pleft = true } + + if (top < minTop) minTop = top + if (left < minLeft) minLeft = left + } for (let i in pastedData) { - if (!isNaN(pastedData[i].left)) pastedData[i].left = pastedData[i].left - minLeft + x - if (!isNaN(pastedData[i].top)) pastedData[i].top = pastedData[i].top - minTop + y + if (pastedData[i]._pleft) { + pastedData[i].left = ((pastedData[i]._aleft - minLeft + x) * 100 / this.selectedWidgets[0].widget.offsetWidth).toFixed(2) + '%' + } else { + pastedData[i].left += - minLeft + x + } + + if (pastedData[i]._ptop) { + pastedData[i].top = ((pastedData[i]._atop - minTop + y) * 100 / this.selectedWidgets[0].widget.offsetHeight).toFixed(2) + '%' + } else { + pastedData[i].top += - minTop + y + } } @@ -597,6 +618,12 @@ class Editor { clone.left = x clone.top = y + if (this.usePercents) { + clone.top = (100 * y / editor.selectedWidgets[0].widget.offsetHeight).toFixed(2) + '%' + clone.left= (100 * x / editor.selectedWidgets[0].widget.offsetWidth).toFixed(2) + '%' + } + + } this.selectedWidgets[0].props.widgets = this.selectedWidgets[0].props.widgets || [] diff --git a/src/client/locales/en.js b/src/client/locales/en.js index 208568b8..787cf07c 100644 --- a/src/client/locales/en.js +++ b/src/client/locales/en.js @@ -6,6 +6,7 @@ module.exports = { editor_grid: 'Grid', editor_tree: 'Project tree', editor_inspector: 'Inspector', + editor_percents: 'Relative units (%)', // editor context-menu editor_show_in_tree: 'Show in tree', diff --git a/src/client/locales/fr.js b/src/client/locales/fr.js index 81bdabdb..21c706a6 100644 --- a/src/client/locales/fr.js +++ b/src/client/locales/fr.js @@ -6,6 +6,7 @@ module.exports = { editor_grid: 'Grille', editor_tree: 'Arborescence', editor_inspector: 'Inspecteur', + editor_percents: 'Unités relatives (%)', // editor context-menu editor_show_in_tree: 'Voir dans l\'arborescence', diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index 425a2756..d6962716 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -158,6 +158,14 @@ var menuEntries = [ class: ()=>{return 'toggle ' + (rightUiSidePanel.minimized ? 'off' : 'on')}, action: ()=>{return rightUiSidePanel.minimized ? rightUiSidePanel.restore() : rightUiSidePanel.minimize()}, shortcut: 'mod + i' + }, + { + separator: true + }, + { + label: locales('editor_percents'), + class: ()=>{return 'toggle ' + (editor.usePercents ? 'on' : 'off')}, + action: ()=>{editor.usePercents = !editor.usePercents} } ] }, From 9f68640b833057c046f60eae7e81fcebb1e39906 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 09:40:02 +0200 Subject: [PATCH 2405/2575] widgets: rename strokeWidth -> lineWidth knob: use lineWidth in all designs --- src/client/widgets/common/canvas.js | 2 +- src/client/widgets/common/widget.js | 8 ++++---- src/client/widgets/containers/clone.js | 4 ++-- src/client/widgets/graphs/plot.js | 4 ++-- src/client/widgets/pads/multixy.js | 2 +- src/client/widgets/pads/pad.js | 2 +- src/client/widgets/sliders/encoder.js | 6 +++--- src/client/widgets/sliders/fader.js | 4 ++-- src/client/widgets/sliders/knob.js | 26 +++++++++++++------------- src/client/widgets/sliders/range.js | 2 +- src/client/widgets/sliders/slider.js | 2 +- src/scss/mixins.scss | 10 +++++----- src/scss/themes/default.scss | 2 +- src/scss/widgets.scss | 2 +- src/scss/widgets/basics.scss | 8 ++++---- src/scss/widgets/containers.scss | 26 +++++++++++++------------- src/scss/widgets/frames.scss | 2 +- src/scss/widgets/pads.scss | 4 ++-- src/scss/widgets/sliders.scss | 1 + 19 files changed, 59 insertions(+), 58 deletions(-) diff --git a/src/client/widgets/common/canvas.js b/src/client/widgets/common/canvas.js index cc316d05..6c7194f1 100644 --- a/src/client/widgets/common/canvas.js +++ b/src/client/widgets/common/canvas.js @@ -151,7 +151,7 @@ class Canvas extends Widget { },10) return case 'css': - case 'strokeWidth': + case 'lineWidth': case 'padding': resize.check(this.canvas, true) setTimeout(()=>{ diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 0c236959..f260505b 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -80,7 +80,7 @@ class Widget extends EventEmitter { alphaFillOff: {type: 'number', value: 'auto', help: 'Fill color opacity (off).'}, alphaFillOn: {type: 'number', value: 'auto', help: 'Fill color opacity (on).'}, - strokeWidth: {type: 'number', value: 'auto', help: 'Stroke width.'}, + lineWidth: {type: 'number', value: 'auto', help: 'Stroke width.'}, padding: {type: 'number', value: 'auto', help: 'Inner spacing.'}, @@ -818,7 +818,7 @@ class Widget extends EventEmitter { case 'alphaStroke': case 'alphaFillOff': case 'alphaFillOn': - case 'strokeWidth': + case 'lineWidth': case 'padding': this.setCssVariables() return @@ -1040,7 +1040,7 @@ Widget.cssVariables = [ {js: 'colorStroke', css: '--color-stroke'}, {js: 'colorText', css: '--color-text'}, {js: 'padding', css: '--widget-padding', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, - {js: 'strokeWidth', css: '--stroke-width', 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: '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)}, @@ -1065,7 +1065,7 @@ Widget.dynamicProps = [ 'alphaFillOff', 'alphaFillOn', 'padding', - 'strokeWidth', + 'lineWidth', 'css', 'value', diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 9ee61d2f..7a00331a 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -26,7 +26,7 @@ class Clone extends Container() { props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'}, }, [ - 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', 'strokeWidth', + 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', 'lineWidth', 'label', 'color', '_value', 'default', 'value', 'script', 'linkId', '_osc', 'decimals', 'address', 'preArgs', 'typeTags', 'target', 'ignoreDefaults', 'bypass' @@ -298,7 +298,7 @@ class Clone extends Container() { case 'alphaFillOff': case 'alphaFillOn': case 'colorBg': - case 'strokeWidth': + case 'lineWidth': case 'padding': for (var w of this.children) { if (w) w.onPropChanged(propName) diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index d104fbcb..9660f351 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -88,7 +88,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte this.ctx.fillStyle = this.cssVars.colorText this.ctx.globalAlpha = this.cssVars.alphaPips - var margin = this.cssVars.padding + this.cssVars.strokeWidth + var margin = this.cssVars.padding + this.cssVars.lineWidth if (margin < this.fontSize * 1.5) return @@ -114,7 +114,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte draw_line() { var points = [], - padding = this.cssVars.padding + this.cssVars.strokeWidth, + padding = this.cssVars.padding + this.cssVars.lineWidth, decimals = this.getProp('smooth') ? 1 : 0, length = this.value.length, x, y, i, previousValue, nx, ny diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index b1a71452..9491ebef 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -287,7 +287,7 @@ module.exports = class MultiXy extends Pad { case 'alphaFillOff': case 'alphaFillOn': case 'padding': - case 'strokeWidth': + case 'lineWidth': for (var w of this.pads) { w.onPropChanged(propName) } diff --git a/src/client/widgets/pads/pad.js b/src/client/widgets/pads/pad.js index 62f8238e..bf0acd80 100644 --- a/src/client/widgets/pads/pad.js +++ b/src/client/widgets/pads/pad.js @@ -22,7 +22,7 @@ class Pad extends Canvas { super.cacheCanvasStyle(style) this.pointSize = parseFloat(style.getPropertyValue('--pointSize')) * PXSCALE - this.padPadding = (this.cssVars.padding + this.cssVars.strokeWidth) + 2 * PXSCALE + this.padPadding = (this.cssVars.padding + this.cssVars.lineWidth) + 2 * PXSCALE } diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index ac8716ce..c4efa2bb 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -213,7 +213,7 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range min = this.percentToAngle(0), max = this.percentToAngle(100), minRadius = this.minDimension / 6, - maxRadius = this.minDimension / 2 - this.cssVars.strokeWidth, + maxRadius = this.minDimension / 2 - this.cssVars.lineWidth, gaugeWidth = maxRadius - minRadius, gaugeRadius = maxRadius - gaugeWidth / 2 @@ -245,11 +245,11 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range } // stroke - if (this.cssVars.strokeWidth) { + if (this.cssVars.lineWidth) { this.ctx.globalAlpha = this.cssVars.alphaStroke this.ctx.strokeStyle = this.cssVars.colorStroke - this.ctx.lineWidth = this.cssVars.strokeWidth + this.ctx.lineWidth = this.cssVars.lineWidth if (this.minDimension > 40) { this.ctx.beginPath() diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 5821fe0e..ed7cefc4 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -235,7 +235,7 @@ class Fader extends Slider { if (compact) { // stroke - if (this.cssVars.strokeWidth) { + if (this.cssVars.lineWidth) { this.ctx.globalAlpha = this.cssVars.alphaStroke this.ctx.strokeStyle = this.cssVars.colorStroke @@ -246,7 +246,7 @@ class Fader extends Slider { this.ctx.lineTo(width, height) this.ctx.lineTo(0, height) this.ctx.closePath() - this.ctx.lineWidth = 2 * this.cssVars.strokeWidth + this.ctx.lineWidth = 2 * this.cssVars.lineWidth this.ctx.stroke() } diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index c25f8daf..f9f56834 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -176,8 +176,8 @@ module.exports = class Knob extends Slider { max = this.percentToAngle(100), dashed = this.getProp('dashed'), pips = this.getProp('pips'), - minRadius = this.minDimension / 6 - (pips ? this.fontSize * 0.75 : 0) - this.cssVars.strokeWidth / 2, - maxRadius = this.minDimension / 2 - (pips ? this.fontSize * 2 : 0) - this.cssVars.strokeWidth / 2 + minRadius = this.minDimension / 6 - (pips ? this.fontSize * 0.75 : 0) - this.cssVars.lineWidth / 2, + maxRadius = this.minDimension / 2 - (pips ? this.fontSize * 2 : 0) - this.cssVars.lineWidth / 2 if (dashed) dashed = Array.isArray(dashed) ? dashed.map(x=>parseFloat(x)) : [1.5, 1.5] @@ -218,10 +218,10 @@ module.exports = class Knob extends Slider { // stroke - if (this.cssVars.strokeWidth) { + if (this.cssVars.lineWidth) { this.ctx.globalAlpha = this.cssVars.alphaStroke this.ctx.strokeStyle = this.cssVars.colorStroke - this.ctx.lineWidth = this.cssVars.strokeWidth + this.ctx.lineWidth = this.cssVars.lineWidth this.ctx.beginPath() this.ctx.arc(this.width / 2, this.height / 2, maxRadius, 0, 2 * Math.PI) @@ -233,7 +233,7 @@ module.exports = class Knob extends Slider { this.ctx.globalAlpha = 1 this.ctx.strokeStyle = this.cssVars.colorFill - this.ctx.lineWidth = 2.5 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth + .5 * PXSCALE let r1 = minRadius + this.gaugePadding, r2 = maxRadius - this.gaugePadding, @@ -257,7 +257,7 @@ module.exports = class Knob extends Slider { // fill this.ctx.strokeStyle = this.cssVars.colorFill - this.ctx.lineWidth = 2 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth if (this.cssVars.alphaFillOff) { this.ctx.globalAlpha = this.cssVars.alphaFillOff @@ -281,7 +281,7 @@ module.exports = class Knob extends Slider { this.ctx.globalAlpha = 1 this.ctx.strokeStyle = this.cssVars.colorBg - this.ctx.lineWidth = 2.5 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth + .5 * PXSCALE let r1 = minRadius, r2 = maxRadius / 1.25 + PXSCALE , @@ -298,7 +298,7 @@ module.exports = class Knob extends Slider { // fill this.ctx.strokeStyle = this.cssVars.colorFill - this.ctx.lineWidth = 2 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth if (this.cssVars.alphaFillOff) { this.ctx.globalAlpha = this.cssVars.alphaFillOff @@ -322,10 +322,10 @@ module.exports = class Knob extends Slider { this.ctx.globalAlpha = 1 this.ctx.strokeStyle = this.cssVars.colorFill - this.ctx.lineWidth = 2.5 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth let r1 = minRadius * 1.5, - r2 = maxRadius + 0.5 * PXSCALE, + r2 = maxRadius + this.cssVars.lineWidth / 2 - 0.5 * PXSCALE, a = 2 * Math.PI - d this.ctx.beginPath() @@ -340,13 +340,13 @@ module.exports = class Knob extends Slider { if (pips) { - this.ctx.lineWidth = 1.5 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth / 2 + 0.5 * PXSCALE this.ctx.strokeStyle = this.cssVars.colorStroke this.ctx.globalAlpha = this.cssVars.alphaPips for (var pip of this.rangeKeys) { - let r1 = maxRadius + 3 * PXSCALE, + let r1 = maxRadius + this.cssVars.lineWidth / 2 + 2 * PXSCALE, r2 = r1 + 4 * PXSCALE, a = 2 * Math.PI - this.percentToAngle(pip) @@ -358,7 +358,7 @@ module.exports = class Knob extends Slider { } - var radius = maxRadius + (this.fontSize + 4 * PXSCALE) + var radius = maxRadius + (this.fontSize + this.cssVars.lineWidth / 2 + 2 * PXSCALE) this.ctx.fillStyle = this.cssVars.colorText this.ctx.globalAlpha = this.cssVars.alphaPipsText for (var p in this.pipTexts) { diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index 6f72c620..d954ddb6 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -275,7 +275,7 @@ class Range extends Fader { this.ctx.lineTo(width, height) this.ctx.lineTo(0, height) this.ctx.closePath() - this.ctx.lineWidth = 2 * this.cssVars.strokeWidth + this.ctx.lineWidth = 2 * this.cssVars.lineWidth this.ctx.stroke() diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index a5c76a13..792579e3 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -144,7 +144,7 @@ class Slider extends Canvas { super.cacheCanvasStyle(style) - this.gaugePadding = this.cssVars.padding + this.cssVars.strokeWidth + this.gaugePadding = this.cssVars.padding + this.cssVars.lineWidth } diff --git a/src/scss/mixins.scss b/src/scss/mixins.scss index 3eec8e69..5de3094e 100644 --- a/src/scss/mixins.scss +++ b/src/scss/mixins.scss @@ -2,7 +2,7 @@ &:before { content:""; position: absolute; - border: var(--stroke-width) solid var(--color-stroke); + border: var(--line-width) solid var(--color-stroke); opacity: var(--alpha-stroke); top: 0; left: 0; @@ -20,10 +20,10 @@ position: absolute; background: var(--color-fill); opacity: var(--alpha-fill); - top: var(--stroke-width); - left: var(--stroke-width); - right: var(--stroke-width); - bottom: var(--stroke-width); + top: var(--line-width); + left: var(--line-width); + right: var(--line-width); + bottom: var(--line-width); pointer-events: none; margin: var(--widget-padding); z-index: $z; diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index e5f296ca..66fa786e 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -29,7 +29,7 @@ $font-menu: sans-serif; --color-context-menu-text: #{$nord1}; - --stroke-width: 1rem; + --line-width: 1rem; --alpha-scrollbar: 0.25; --alpha-scrollbar-on: 0.75; diff --git a/src/scss/widgets.scss b/src/scss/widgets.scss index 89874732..25a41eaa 100644 --- a/src/scss/widgets.scss +++ b/src/scss/widgets.scss @@ -23,7 +23,7 @@ // transform-origin: top left; - --stroke-width: 1rem; + --line-width: 1rem; --widget-padding: 1rem; --color-stroke:var(--color-widget); diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 4ced82ab..4b6cb4f0 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -88,7 +88,7 @@ display: flex; flex-direction: column; --widget-spacing: calc(var(--widget-padding) / 2); - margin: calc(var(--widget-spacing) + var(--stroke-width)); + margin: calc(var(--widget-spacing) + var(--line-width)); } @@ -125,7 +125,7 @@ overflow: hidden; @include pseudo-fill($z: -1); &:after { - --stroke-width: 1rem; + --line-width: 1rem; margin: calc(var(--widget-spacing) - 1rem); } @@ -250,7 +250,7 @@ @include pseudo-stroke($z: 2); &:before { - border-width: var(--stroke-width); + border-width: var(--line-width); } @@ -350,7 +350,7 @@ display: flex; flex-direction: row; - padding: calc(var(--widget-padding) / 2 + var(--stroke-width)); + padding: calc(var(--widget-padding) / 2 + var(--line-width)); .item { position: relative; diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 2b73a207..1153d63f 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -188,7 +188,7 @@ &.contains-widgets { > inner { - margin: calc(var(--widget-spacing) + var(--stroke-width)); + margin: calc(var(--widget-spacing) + var(--line-width)); } &.no-inner-padding > inner { @@ -300,10 +300,10 @@ z-index: 101; } &:first-child:before { - margin-left: var(--stroke-width); + margin-left: var(--line-width); } &:last-child:before { - margin-right: var(--stroke-width); + margin-right: var(--line-width); } } @@ -336,11 +336,11 @@ z-index: 101; } &:first-child:before { - margin-top: var(--stroke-width); + margin-top: var(--line-width); margin-left: 0; } &:last-child:before { - margin-bottom: var(--stroke-width); + margin-bottom: var(--line-width); margin-right: 0; } } @@ -556,23 +556,23 @@ display: flex; flex-direction: column; align-items:stretch; - margin-bottom: var(--stroke-width); + margin-bottom: var(--line-width); width: 25%; } .inputs, .outputs { position: relative; @include pseudo-stroke(); - top: var(--stroke-width); + top: var(--line-width); margin-top: -1rem; - height: calc(100% - var(--stroke-width) * 2 + 2rem); + height: calc(100% - var(--line-width) * 2 + 2rem); } .inputs:before { - border-width: 0 var(--stroke-width) 0 0; + border-width: 0 var(--line-width) 0 0; } .outputs:before { - border-width: 0 0 0 var(--stroke-width); + border-width: 0 0 0 var(--line-width); } } @@ -606,11 +606,11 @@ --color-white-key: #ccc; --color-black-key: #1A1A1A; - --widget-keypad: calc(var(--widget-padding) + var(--stroke-width)); + --widget-keypad: calc(var(--widget-padding) + var(--line-width)); > inner { - padding: calc(var(--widget-padding) + var(--stroke-width)); + padding: calc(var(--widget-padding) + var(--line-width)); flex: 1; @include pseudo-stroke($z: 2); position: relative; @@ -623,7 +623,7 @@ --alpha-fill-off: var(--alpha-key-off); --alpha-fill-on: var(--alpha-key-on); - --stroke-width: 0!important; + --line-width: 0!important; inner { margin: 1rem 0.5rem!important; --widget-padding: -1rem; diff --git a/src/scss/widgets/frames.scss b/src/scss/widgets/frames.scss index 219bc8ff..781e6d5c 100644 --- a/src/scss/widgets/frames.scss +++ b/src/scss/widgets/frames.scss @@ -10,7 +10,7 @@ position: relative; flex: 1; display: flex; - padding: calc(var(--widget-spacing) + var(--stroke-width)); + padding: calc(var(--widget-spacing) + var(--line-width)); background-clip: content-box; @include pseudo-stroke(); } diff --git a/src/scss/widgets/pads.scss b/src/scss/widgets/pads.scss index e502a506..89f7cbab 100644 --- a/src/scss/widgets/pads.scss +++ b/src/scss/widgets/pads.scss @@ -52,7 +52,7 @@ --widget-spacing: calc(var(--widget-padding) / 2); - padding: calc(var(--stroke-width) + var(--widget-spacing)); + padding: calc(var(--line-width) + var(--widget-spacing)); grid-template: "a a b" auto / 1fr; @@ -70,7 +70,7 @@ width: auto; margin: var(--widget-spacing); --widget-padding: 2rem; - --stroke-width: 0; + --line-width: 0; } .pad { diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index a53e88ac..9410baa5 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -58,6 +58,7 @@ &.design-solid, &.design-line { --alpha-fill-off: 0.25; --alpha-fill-on: 1; + --line-width: 2rem; } } From 65b2ff271d1d049303d1634ae223131a136cb510 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 09:53:20 +0200 Subject: [PATCH 2406/2575] sliders: scale pips stroke width with font size fader: use lineWidth in default/round design --- src/client/widgets/sliders/fader.js | 6 +++--- src/client/widgets/sliders/knob.js | 3 +-- src/scss/widgets/sliders.scss | 3 +++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index ed7cefc4..d3689971 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -204,7 +204,7 @@ class Fader extends Slider { if (compact) { this.ctx.lineWidth = Math.round(width - this.gaugePadding * 2) } else { - this.ctx.lineWidth = 2 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth } @@ -292,7 +292,7 @@ class Fader extends Slider { this.ctx.fillStyle = this.cssVars.colorStroke this.ctx.beginPath() - this.ctx.rect(m - 3 * PXSCALE, d, 6 * PXSCALE, PXSCALE) + 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] @@ -358,7 +358,7 @@ class Fader extends Slider { if (!compact) m -= 16 * PXSCALE - this.cssVars.knobSize * .3 * PXSCALE - ctx.lineWidth = PXSCALE + ctx.lineWidth = this.fontSize / 11 ctx.fillStyle = this.cssVars.colorText ctx.strokeStyle = this.cssVars.colorFill diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index f9f56834..b6ebb3c5 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -340,7 +340,7 @@ module.exports = class Knob extends Slider { if (pips) { - this.ctx.lineWidth = this.cssVars.lineWidth / 2 + 0.5 * PXSCALE + this.ctx.lineWidth = this.fontSize / 11 * 1.5 this.ctx.strokeStyle = this.cssVars.colorStroke this.ctx.globalAlpha = this.cssVars.alphaPips @@ -357,7 +357,6 @@ module.exports = class Knob extends Slider { this.ctx.stroke() } - var radius = maxRadius + (this.fontSize + this.cssVars.lineWidth / 2 + 2 * PXSCALE) this.ctx.fillStyle = this.cssVars.colorText this.ctx.globalAlpha = this.cssVars.alphaPipsText diff --git a/src/scss/widgets/sliders.scss b/src/scss/widgets/sliders.scss index 9410baa5..04952919 100644 --- a/src/scss/widgets/sliders.scss +++ b/src/scss/widgets/sliders.scss @@ -18,6 +18,7 @@ --widget-padding: 1rem; --knob-size: 1rem; + --line-width: 1rem; canvas { text-align: left; @@ -34,6 +35,7 @@ --alpha-stroke: 0.5; --alpha-fill-off: 0.25; --alpha-fill-on: 1; + --line-width: 2rem } &.design-round { @@ -42,6 +44,7 @@ --alpha-stroke: 0.25; --alpha-fill-off: 0.25; --alpha-fill-on: 1; + --line-width: 2rem } } From 514edfd9ae680557c7e791b16db227d6fe3d991d Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 09:57:05 +0200 Subject: [PATCH 2407/2575] range: lineWidth --- src/client/widgets/sliders/range.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index d954ddb6..d2b54dc6 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -234,11 +234,11 @@ class Range extends Fader { if (compact) { this.ctx.lineWidth = Math.round(width - this.gaugePadding * 2) } else { - this.ctx.lineWidth = 2 * PXSCALE + this.ctx.lineWidth = this.cssVars.lineWidth } - if (dashed) this.ctx.setLineDash([PXSCALE, PXSCALE]) + if (dashed) this.ctx.setLineDash([PXSCALE * dashed[0], PXSCALE * dashed[1]]) if (this.cssVars.alphaFillOff) { @@ -327,7 +327,7 @@ class Range extends Fader { this.ctx.fillStyle = this.cssVars.colorWidget this.ctx.beginPath() - this.ctx.rect(m - 3 * PXSCALE, _d, 6 * PXSCALE, PXSCALE) + this.ctx.rect(m - knobWidth / 6, _d, knobWidth / 3, PXSCALE) this.ctx.fill() } From 46f04004e7641921fffff60ac3f375cd768fe822 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 10:06:09 +0200 Subject: [PATCH 2408/2575] editor: % fix --- src/client/editor/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 72032fa3..4e7a2fa7 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -540,13 +540,13 @@ class Editor { let top = pastedData[i].top, left = pastedData[i].left - if (top.includes('%')) { + if (typeof top === 'string' && top.includes('%')) { top = parseFloat(top) / 100 * this.selectedWidgets[0].widget.offsetHeight pastedData[i]._atop = top pastedData[i]._ptop = true } - if (left.includes('%')) { + if (typeof left === 'string' && left.includes('%')) { left = parseFloat(left) / 100 * this.selectedWidgets[0].widget.offsetWidth pastedData[i]._aleft = left pastedData[i]._pleft = true From 593f1aa59e0fc8c2d4dc9a1dde2398621648ff80 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 18:23:05 +0200 Subject: [PATCH 2409/2575] editor: fix id+1 pasting with multiple widgets (#648) --- CHANGELOG.md | 3 +++ src/client/editor/data-workers.js | 7 +++++++ src/client/editor/index.js | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e3153cd..24f099c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## next +- bug fixes + - editor: id not incremented when pasting multiple widgets with id+1 + - main - remove support for extra args in the `custom-module` option (fixes some path issues) diff --git a/src/client/editor/data-workers.js b/src/client/editor/data-workers.js index 7e7de5d9..f8c0cc43 100644 --- a/src/client/editor/data-workers.js +++ b/src/client/editor/data-workers.js @@ -168,6 +168,13 @@ var incrementWidget = function(data, root){ } } + if (Array.isArray(data)) { + for (let i in data) { + data[i] = incrementWidget(data[i], false) + } + return data + } + var id = data.id, address = data.address diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 4e7a2fa7..18df590b 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -529,7 +529,7 @@ class Editor { minLeft = Infinity if (increment) { - pastedData = pastedData.map(x=>incrementWidget(x)) + pastedData = incrementWidget(pastedData) } From ab8cd197ef641f99c64a5fba585abc5d126a0512 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 19:44:52 +0200 Subject: [PATCH 2410/2575] package: 1.2.0 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24f099c7..ca9f03ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## next +## 1.2.0 - bug fixes - editor: id not incremented when pasting multiple widgets with id+1 diff --git a/package.json b/package.json index 4a04db28..794abcb8 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.1.0", + "version": "1.2.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From d853b5e38c45403c2e66510ebc577e73c80d4add Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 19:46:11 +0200 Subject: [PATCH 2411/2575] docs: update ref --- .../docs/docs/widgets/properties-reference.md | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 8c568fb4..5af1541a 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -41,8 +41,9 @@ |
        alphaStroke#
        | `number` | "auto" | Stroke color opacity. | |
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | + |
        lineWidth#
        | `number` | "auto" | Stroke width. | |
        padding#
        | `number` | "auto" | Inner spacing. | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | === "value" @@ -75,7 +76,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | === "button" @@ -95,7 +96,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | === "switch" @@ -409,7 +410,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        svg#
        | `string` | "" | Svg xml definition:
        - will be wrapped in a `< svg />` element
        - `` commands support a special percent notation (`%x` and `%y`) | + |
        svg#
        | `string` | "" | Svg xml definition (will be wrapped in a `< svg />` element) | ??? api "
        html#
        " Simple HTML parser. @@ -595,13 +596,14 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText`
        - `--knob-size`: `knobSize` | === "fader" | property | type |default | description | | --- | --- | --- | --- | |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        knobSize#
        | `number` | "auto" | Fader knob size | |
        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]` | @@ -628,16 +630,17 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | === "knob" | property | type |default | description | | --- | --- | --- | --- | + |
        design#
        | `string` | "default" | Design style

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

        Choices: `default`, `solid`, `line` | |
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Choices: `vertical`, `circular`, `snap` | |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | |
        pips#
        | `boolean` | false | Set to `true` to show the scale's breakpoints | - |
        dashed#
        | `boolean` | false | Set to `true` to display a dashed gauge | + |
        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 | |
        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 (`/ `) | |
        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}}`) | @@ -679,13 +682,14 @@ | property | type |default | description | | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText`
        - `--knob-size`: `knobSize` | === "fader" | property | type |default | description | | --- | --- | --- | --- | |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        knobSize#
        | `number` | "auto" | Fader knob size | |
        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 dfea1119b71710eb1f2d5a2361ae469e790feaf8 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 7 Sep 2020 20:59:36 +0200 Subject: [PATCH 2412/2575] log: typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca9f03ce..ad25539c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - remove support for extra args in the `custom-module` option (fixes some path issues) - widgets - - all: add `strokeWidth` style property + - all: add `lineWidth` style property - knob: add `solid` & `line` designs - fader: add `knobSize` property From c017abae58e31187546e0ad17822f1ee39975fd8 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 10 Sep 2020 09:02:08 +0200 Subject: [PATCH 2413/2575] scripting: expose toolbar menu actions --- CHANGELOG.md | 5 +++++ resources/docs/docs/widgets/scripting.md | 12 ++++++++++++ src/client/ui/ui-toolbar.js | 1 + src/client/widgets/scripts/script-vm.js | 25 ++++++++++++++++++++++-- 4 files changed, 41 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca9f03ce..1f8d6bca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## next + +- scripting + - expose toolbar menu actions + ## 1.2.0 - bug fixes diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 0864b8a3..63829cc6 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -146,3 +146,15 @@ Returns the scroll state of a container as a `[x, y]` array. - `y`: vertical scroll, `undefined` to use current value Sets the scroll state of a container. + +---- + +#### `toolbar(i1, i2, ...)` +- `iX`: menu entry index + +Trigger toolbar action at specified index. Examples: + +- `toolbar(0, 0)` -> Open a new session +- `toolbar(3)` -> Toggle full screen + +Actions will only be triggered if initiated with a user interaction. Fullscreen cannot be toggled with a simulated interaction (i.e. using `/SET`) diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index d6962716..95fb7b8f 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -215,6 +215,7 @@ class UiToolbar extends UiWidget { position: [40, 1] }) this.opened = false + this.entries = menuEntries this.menu.bindShortcuts(menuEntries) ipc.on('sessionList', (data)=>{ diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index d45664cd..0c1a1452 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -3,7 +3,8 @@ var widgetManager = require('../../managers/widgets'), cache = require('../../managers/cache'), {deepCopy} = require('../../utils'), {urlParser} = require('../utils'), - Vm = require('../vm') + Vm = require('../vm'), + toolbar class ScriptVm extends Vm { @@ -312,8 +313,28 @@ class ScriptVm extends Vm { } + this.sandbox.contentWindow.toolbar = (...args)=>{ + + var options = this.getValueOptions() + + if (!options.send) return + + toolbar = toolbar || require('../../ui/ui-toolbar') + + var action = toolbar.entries.filter(x=>!x.separator) + + for (var i of args) { + if (action[i]) action = action[i].action + if (!Array.isArray(action)) break + action = action.filter(x=>!x.separator) + } + + if (typeof action === 'function') action() + + } + for (var imports of ['set', 'get', 'getProp', 'updateProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage', - 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout', 'unfocus', 'setScroll', 'getScroll']) { + 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout', 'unfocus', 'setScroll', 'getScroll', 'toolbar']) { this.sanitize(this.sandbox.contentWindow[imports]) } From 7ec2f2744c04832a769e8407d6f4cca9187cf2b0 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 12 Sep 2020 09:53:08 +0200 Subject: [PATCH 2414/2575] remote-control: optimise /EDIT --- CHANGELOG.md | 2 ++ src/client/remote-control.js | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c875fe7d..c10cfe34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - scripting - expose toolbar menu actions +- remote control + - optimise small changes made with /EDIT ## 1.2.0 diff --git a/src/client/remote-control.js b/src/client/remote-control.js index 58b555ad..560a5864 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -27,7 +27,8 @@ var callbacks = { } updateWidget(widget, { - reuseChildren: !(newdata.widgets || newdata.tabs) + reuseChildren: !(newdata.widgets || newdata.tabs), + changedProps: Object.keys(newdata) }) } @@ -56,7 +57,8 @@ var callbacks = { deepExtend(data, newdata) updateWidget(widget, { - reuseChildren: !(newdata.widgets || newdata.tabs) + reuseChildren: !(newdata.widgets || newdata.tabs), + changedProps: Object.keys(newdata) }) } From 5b2ddc7215faaae6990b3b2a406e7318c0a71e15 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 12 Sep 2020 17:39:20 +0200 Subject: [PATCH 2415/2575] button: add `wrap` and `vertical` properties --- CHANGELOG.md | 4 ++++ src/client/widgets/basics/button.js | 9 +++++++++ src/client/widgets/indicators/text.js | 1 - src/scss/widgets/basics.scss | 15 +++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c10cfe34..794030d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,13 @@ - scripting - expose toolbar menu actions + - remote control - optimise small changes made with /EDIT +- widgets + - button: add `wrap` and `vertical` properties + ## 1.2.0 - bug fixes diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index eadf5825..bac856f5 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -24,6 +24,10 @@ class Button extends Widget { '- 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`', ]}, + vertical: {type: 'boolean', value: false, help: 'Set to `true` to display the text vertically'}, + wrap: {type: 'boolean', value: false, help: [ + 'Set to `true` to wrap long lines automatically.', + ]}, on: {type: '*', value: 1, help: [ 'Set to `null` to send send no argument in the osc message', ]}, @@ -128,9 +132,14 @@ class Button extends Widget { } + this.value = this.getProp('off') this.label = html`` + + if (this.getProp('wrap')) this.label.classList.add('wrap') + if (this.getProp('vertical')) this.label.classList.add('vertical') + this.updateLabel() } diff --git a/src/client/widgets/indicators/text.js b/src/client/widgets/indicators/text.js index 174a8195..f3b4dbe6 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -20,7 +20,6 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte vertical: {type: 'boolean', value: false, help: 'Set to `true` to display the text vertically'}, wrap: {type: 'boolean', value: false, help: [ 'Set to `true` to wrap long lines automatically.', - 'This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property', ]}, align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Css text-align property.'}, diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 4b6cb4f0..0e8985b9 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -50,6 +50,21 @@ height: 100%; width: 100%; border: 2rem solid transparent; + + &.wrap { + white-space: pre-wrap; + word-break: break-all; + } + &.vertical { + transform: rotate(180deg); + text-overflow: ellipsis; + -webkit-writing-mode:vertical-rl; + writing-mode:vertical-rl; + i { + transform: rotate(180deg); + writing-mode: initial; + } + } } &.on { From 2ff26a41dd2f8f5104632ad42a6d6ed254dfedf0 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 16 Sep 2020 08:48:04 +0200 Subject: [PATCH 2416/2575] root: add `width` and `height` properties (helps building mobile layouts) --- CHANGELOG.md | 3 ++- src/client/widgets/containers/root.js | 2 +- src/scss/ui/workspaces.scss | 2 ++ src/scss/widgets/containers.scss | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 794030d2..6de98b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,8 @@ - optimise small changes made with /EDIT - widgets - - button: add `wrap` and `vertical` properties + - button: add `wrap` and `vertical` properties + - root: add `width` and `height` properties (helps building mobile layouts) ## 1.2.0 diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index fde37415..dc01300d 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -34,7 +34,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro }, [ 'visible', 'label', - '_geometry', 'left', 'top', 'width', 'height', 'expand', + '_geometry', 'left', 'top', 'expand', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', ], { diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index e1fb6832..329367e6 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -351,4 +351,6 @@ osc-panel-content { #osc-container { background: var(--color-background); + background: black; + overflow: auto; } diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 1153d63f..305dbea9 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -226,6 +226,8 @@ bottom: 0; } + margin: auto; + } .root-container.editing { From bdcdc7c884bf0d470e2732a1776dcfceb7ce4f02 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2020 06:51:40 +0000 Subject: [PATCH 2417/2575] build(deps): bump node-forge from 0.9.1 to 0.10.0 Bumps [node-forge](https://github.com/digitalbazaar/forge) from 0.9.1 to 0.10.0. - [Release notes](https://github.com/digitalbazaar/forge/releases) - [Changelog](https://github.com/digitalbazaar/forge/blob/master/CHANGELOG.md) - [Commits](https://github.com/digitalbazaar/forge/compare/0.9.1...0.10.0) Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 794abcb8..a71fcba0 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "nanohtml": "1.9.1", "nanoid": "2.1.11", "nanomorph": "5.4.1", - "node-forge": "0.9.1", + "node-forge": "0.10.0", "node-sass": "4.14.1", "nodemon": "2.0.4", "nosleep.js": "0.11.0", From 7c497f7e13cde25ec6576235342d031a5b5287da Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 16 Sep 2020 12:38:39 +0200 Subject: [PATCH 2418/2575] root: tweak out of canvas bg --- src/scss/ui/workspaces.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index 329367e6..6ecb3a08 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -340,6 +340,7 @@ osc-panel-content { left:0; right:0; bottom:0; + background: rgba(black, 0.5); } } @@ -351,6 +352,5 @@ osc-panel-content { #osc-container { background: var(--color-background); - background: black; overflow: auto; } From f275780fae5d1b6c490eff6720ae9818b916d48c Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 16 Sep 2020 12:56:56 +0200 Subject: [PATCH 2419/2575] package: v1.2.1 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6de98b1e..c9d7146a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## next +## 1.2.1 - scripting - expose toolbar menu actions diff --git a/package.json b/package.json index a71fcba0..8c5e89b3 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.2.0", + "version": "1.2.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From ee65b7f9583ead5b8d859f104ba7f8932941e1b4 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 16 Sep 2020 12:57:38 +0200 Subject: [PATCH 2420/2575] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 5af1541a..4c27d8ad 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -83,6 +83,8 @@ | property | type |default | description | | --- | --- | --- | --- | |
        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` | + |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | + |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically. | |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | @@ -518,7 +520,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | - |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically.

        This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | + |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically. | |
        align#
        | `string` | "center" | Css text-align property.

        Choices: `center`, `left`, `right` | ## Pads From d5a6263591478b9df2f2fa3a833728a5b4a34bea Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 16 Sep 2020 17:54:14 +0200 Subject: [PATCH 2421/2575] ui: rm sidepanel border when minimized --- 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 6ecb3a08..e34b4c7f 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -37,6 +37,10 @@ osc-panel-container { width: 0; box-shadow: 0 0 0 1rem var(--color-background); + &.minimized { + box-shadow: none; + } + &:after { // hover trap to display toggle-button when closed content: ""; From fa39e3889ae38892280c50287a797a61647d83e5 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 10:52:30 +0200 Subject: [PATCH 2422/2575] editor: hide impossible actions from context-menu (eg adding widgets in tab containers) --- CHANGELOG.md | 5 ++++ package.json | 2 +- src/client/editor/context-menu.js | 43 +++++++++++++++++-------------- 3 files changed, 29 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9d7146a..7105b02b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.2.2 + +- bug fixes + - editor: hide impossible actions from context-menu (eg adding widgets in tab containers) + ## 1.2.1 - scripting diff --git a/package.json b/package.json index 8c5e89b3..a5c20b8f 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.2.1", + "version": "1.2.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index be32b647..01f9dac3 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -182,29 +182,32 @@ var handleClick = function(event) { separator: true }) - actions.push({ - label: icon('plus') + ' ' + locales('editor_addwidget'), - action: addActions - }) + if (data.length == 1 && widget.childrenType !== 'tab') { + actions.push({ + label: icon('plus') + ' ' + locales('editor_addwidget'), + action: addActions + }) + } + if (data.length == 1 && widget.childrenType !== 'widget') { + + actions.push({ + label: icon('plus') + ' ' + locales('editor_addtab'), + action: ()=>{ + data[0].tabs = data[0].tabs || [] + data[0].tabs.push({}) + + var indexes = {addedIndexes: [data[0].tabs.length -1]} + updateWidget(editor.selectedWidgets[0], indexes) + editor.pushHistory(indexes) + + } + }) + + } + } - if (data.length == 1 && (!data[0].widgets || !data[0].widgets.length) && (data[0].tabs)) { - - actions.push({ - label: icon('plus') + ' ' + locales('editor_addtab'), - action: ()=>{ - data[0].tabs = data[0].tabs || [] - data[0].tabs.push({}) - - var indexes = {addedIndexes: [data[0].tabs.length -1]} - updateWidget(editor.selectedWidgets[0], indexes) - editor.pushHistory(indexes) - - } - }) - - } if (parent !== widgetManager) { From 61531385f8a370015f55b82df1c02d80838296bc Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 11:02:44 +0200 Subject: [PATCH 2423/2575] panel: layout issue with tabs & lineWidth property --- CHANGELOG.md | 1 + src/scss/widgets/containers.scss | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7105b02b..93774908 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - editor: hide impossible actions from context-menu (eg adding widgets in tab containers) + - panel: layout issue with tabs & lineWidth property ## 1.2.1 diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 305dbea9..dd5ebbb3 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -178,10 +178,9 @@ margin: var(--widget-spacing); } - &.contains-tabs > inner > .navigation { - margin: 0 1rem; - &.vertical { - margin: 1rem 0; + &.contains-tabs { + > inner { + margin: calc(var(--line-width)); } } @@ -302,10 +301,10 @@ z-index: 101; } &:first-child:before { - margin-left: var(--line-width); + margin-left: 1rem; } &:last-child:before { - margin-right: var(--line-width); + margin-right: 1rem; } } @@ -338,11 +337,11 @@ z-index: 101; } &:first-child:before { - margin-top: var(--line-width); + margin-top: 1rem; margin-left: 0; } &:last-child:before { - margin-bottom: var(--line-width); + margin-bottom: 1rem; margin-right: 0; } } From c91afb6dab83102954ab941d0e3da6a85beeeb70 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 13:25:43 +0200 Subject: [PATCH 2424/2575] midi: remove variable args in sysex messages (can be handled many ways now); allow sending any system message; add support for receiving mtc (as sysex); add support for sending sysex bytes as integers --- CHANGELOG.md | 7 +++++ .../docs/docs/midi/midi-configuration.md | 4 +++ resources/docs/docs/midi/midi-messages.md | 9 ++++-- src/python/midi.py | 31 ++++++++----------- src/python/utils.py | 3 ++ src/server/options.js | 2 +- 6 files changed, 34 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93774908..6687808f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ - editor: hide impossible actions from context-menu (eg adding widgets in tab containers) - panel: layout issue with tabs & lineWidth property +- midi + - remove variable args in sysex messages (dynamic properties and scripting can be used to this effect) + - add support for sending sysex bytes as integers + - allow sending any system message (eg MIDI time code) + - add support for receiving MIDI time code (as raw sysex) + + ## 1.2.1 - scripting diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 0ff446d6..7f040302 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -30,6 +30,10 @@ Create a virtual MIDI device that will translate OSC messsages to MIDI messages Enable parsing of system exclusive messages (disabled by default). +**`mtc`** + +Enable parsing of midi time code messages (disabled by default). These will be received as raw sysex messages. + **`pc_offset`** Send program changes with a `-1` offset to match some software/hardware implementations diff --git a/resources/docs/docs/midi/midi-messages.md b/resources/docs/docs/midi/midi-messages.md index 92692d77..11ce6265 100644 --- a/resources/docs/docs/midi/midi-messages.md +++ b/resources/docs/docs/midi/midi-messages.md @@ -63,12 +63,15 @@ PitchWheel event. ---- -#### `/sysex msg v1 .. vN` +#### `/sysex msg` System exclusive message. -- `msg`: hexadecimal sysex data string of the form `f0 ... f7`. You may include placeholders of the form `nn` which will be replaced by `v1, .., vN` respectively. -- `v1, .., vN`: values encoded as hexadecimal data strings to include in `msg`. Most probably, you will need to sepcify a [custom module](/docs/custom-module/) in order to convert numeric widget values into the required hexadecimal format. In general, this conversion will be different for each manufacturer / device. +- `msg`: hexadecimal sysex data string of the form `f0 ... f7`. + +Other system messages may be sent (midi time code for example: `f1 `). Instead of a single hexadecimal string, arguments can be separated and defined either as hexadecimal bytes or as integers. When received, system messages are always formatted as a single hexadecimal string. + + ---- diff --git a/src/python/midi.py b/src/python/midi.py index 8bd9e149..5d0f720a 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -153,9 +153,10 @@ for name in inputs: inputs[name].set_callback(create_callback(name)) - # Activate sysex support - if 'sysex' in argv: - inputs[name].ignore_types(False, True, True) + # sysex / mtc support + ignore_sysex = 'sysex' not in argv + ignore_mtc = 'mtc' not in argv + inputs[name].ignore_types(ignore_sysex, ignore_mtc, True) def midi_message(status, channel, data1=None, data2=None): @@ -189,22 +190,16 @@ def send_midi(name, event, *args): if mtype == SYSTEM_EXCLUSIVE: - # unhexlify('f0 7e 7f 06 01 f7') creates a sysex message - # from hex MIDI data string 'f0 7e 7f 06 01 f7'. - # We expect all args to be hex strings! args[0] may contain placeholders of - # the form 'nn' that are replaced using args[1..N] to create the final message. try: - midiBytes = args[0].replace(' ', '') - i = 1 - for m in sysexRegex.finditer(midiBytes): - midiBytes = midiBytes[:m.start()] + args[i].replace(' ', '') + midiBytes[m.end():] - i += 1 - - msg = unhexlify(midiBytes) - - if (msg and msg.startswith(b'\xF0') and msg.endswith(b'\xF7') and - all((val <= 0x7F for val in msg[1:-1]))): - m = msg + m = [] + for arg in args: + if type(arg) is str: + arg = arg.split(' ') + arg = [int(x, 16) for x in arg] + for x in arg: + m.append(x) + else: + m.append(int(arg)) except: pass diff --git a/src/python/utils.py b/src/python/utils.py index 81a8e518..1ab479fc 100644 --- a/src/python/utils.py +++ b/src/python/utils.py @@ -11,6 +11,9 @@ MIDI_TO_OSC = { POLY_PRESSURE: '/key_pressure' } +for i in range(SYSTEM_EXCLUSIVE + 1, 256): + MIDI_TO_OSC[i] = '/sysex' + OSC_TO_MIDI = { '/note': NOTE_ON, '/control': CONTROL_CHANGE, diff --git a/src/server/options.js b/src/server/options.js index c667ce4c..0f265e28 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -51,7 +51,7 @@ module.exports = { }, 'm': {alias: 'midi', type: 'array', describe: 'midi router settings', check: (o)=>{ - var err = o.filter(item=>!item.match(/^(list|debug|jack|sysex|pc_offset|path=(.*)|[^:]+:(virtual|[^,]+,[^,]+))$/)) + var err = o.filter(item=>!item.match(/^(list|debug|jack|sysex|mtc|pc_offset|path=(.*)|[^:]+:(virtual|[^,]+,[^,]+))$/)) return err.length ? `Invalid option${err.length > 1 ? 's' : ''}: ${err.join(', ')}` : true } }, From df205a18a176961bc9934638d1bd89d06c69a067 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 13:29:41 +0200 Subject: [PATCH 2425/2575] package: next is 1.3 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6687808f..a44ebbbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.2.2 +## 1.3.0 - bug fixes - editor: hide impossible actions from context-menu (eg adding widgets in tab containers) diff --git a/package.json b/package.json index a5c20b8f..8ebf7c53 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.2.2", + "version": "1.3.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From d58def229bd294abb577fdf1ec4031312d61f640 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 13:32:05 +0200 Subject: [PATCH 2426/2575] log: details --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a44ebbbb..d2236115 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - remove variable args in sysex messages (dynamic properties and scripting can be used to this effect) - add support for sending sysex bytes as integers - allow sending any system message (eg MIDI time code) - - add support for receiving MIDI time code (as raw sysex) + - add support for receiving MIDI time code messages (as raw sysex) (requires adding the `mtc` flag to the midi configuration) ## 1.2.1 From 43b8d8be5b3790c0b9519100253c02e0522d6da0 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 18:51:26 +0200 Subject: [PATCH 2427/2575] 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 5d0f720a..b166b3d4 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -2,7 +2,7 @@ from head import * from list import * from utils import * -ipc_send('version', '1.1.0') +ipc_send('version', '1.2.0') if 'list' in argv: list() diff --git a/src/server/midi.js b/src/server/midi.js index c0b01bb2..eccb098b 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -1,6 +1,6 @@ var {PythonShell} = require('python-shell'), settings = require('./settings'), - midiVersion = '1.1.0' + midiVersion = '1.2.0' var pythonOptions = { scriptPath:__dirname, From b1be207a3362c8be13fc946599f36b203cf481f1 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 21:19:25 +0200 Subject: [PATCH 2428/2575] widgets: clean unused props --- 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/eq.js | 2 +- src/client/widgets/graphs/plot.js | 2 +- src/client/widgets/graphs/visualizer.js | 2 +- src/client/widgets/indicators/led.js | 2 +- src/client/widgets/indicators/text.js | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 38681c1b..01b05494 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -15,7 +15,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { return super.defaults({ - }, ['decimals', 'bypass'], { + }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], { value: {type: 'string', value: '', help: [ 'External web page URL.', diff --git a/src/client/widgets/frames/html.js b/src/client/widgets/frames/html.js index 650ef46a..fc36d477 100644 --- a/src/client/widgets/frames/html.js +++ b/src/client/widgets/frames/html.js @@ -37,7 +37,7 @@ class Html extends StaticProperties(Widget, {bypass: true}) { '  : src, width, height', ]}, - }, ['decimals', 'bypass'], {}) + }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {}) } diff --git a/src/client/widgets/frames/image.js b/src/client/widgets/frames/image.js index c5c65885..da396f08 100644 --- a/src/client/widgets/frames/image.js +++ b/src/client/widgets/frames/image.js @@ -25,7 +25,7 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) { 'When true, sending `reload` to the widget reloads its image without changing its value' ]} - }, ['decimals', 'bypass'], { + }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], { value: {type: 'string', value: '', help: [ '- File `url` or `path` (relative to the session file location by default, falling back to absolute path)', diff --git a/src/client/widgets/frames/svg.js b/src/client/widgets/frames/svg.js index 0f7bc433..83b3f5db 100644 --- a/src/client/widgets/frames/svg.js +++ b/src/client/widgets/frames/svg.js @@ -22,7 +22,7 @@ class Svg extends StaticProperties(Widget, {bypass: true}) { 'Svg xml definition (will be wrapped in a `< svg />` element)', ]}, - }, ['decimals', 'bypass'], {}) + }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {}) } diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index 6dfbc170..fd381f6d 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -32,7 +32,7 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo 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'}, - }, ['interaction', 'decimals', 'typeTags', 'bypass']) + }, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults']) } diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 9660f351..a20467b0 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -27,7 +27,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte bars: {type: 'boolean', value: false, help: 'Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing)'}, pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, - }, ['interaction', 'decimals', 'typeTags', 'bypass'], { + }, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults'], { value: {type: 'array|string', value: '', help: [ '- `Array` of `y` values', diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index fd100213..e139259d 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -27,7 +27,7 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, freeze: {type: 'boolean', value: false, help: 'Set to `true` to freeze current view and ignore incoming values'} - }, ['interaction', 'decimals', 'typeTags', 'bypass'], {}) + }, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {}) } diff --git a/src/client/widgets/indicators/led.js b/src/client/widgets/indicators/led.js index 41dffdba..1aca0b1d 100644 --- a/src/client/widgets/indicators/led.js +++ b/src/client/widgets/indicators/led.js @@ -23,7 +23,7 @@ module.exports = class Led extends StaticProperties(Widget, {bypass: true, inter logScale: {type: 'boolean', value: false, help: 'If `mode` is `intensity`, set to `true` to use logarithmic scale.'}, borderRadius: {type: 'string', value: '', help: 'Css border-radius property.'}, - }, ['interaction', 'decimals', 'bypass'], { + }, ['interaction', 'decimals', 'bypass', 'ignoreDefaults'], { value: {type: 'number|array|string', value: '', help: [ 'If `mode` is `intensity`:', diff --git a/src/client/widgets/indicators/text.js b/src/client/widgets/indicators/text.js index f3b4dbe6..e919c774 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -23,7 +23,7 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte ]}, align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Css text-align property.'}, - }, ['interaction', 'decimals', 'bypass'], {}) + }, ['interaction', 'decimals', 'bypass', 'ignoreDefaults'], {}) } From 6ed1e5e200279f883fa33ff39ac2214b3b320db1 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 21:20:34 +0200 Subject: [PATCH 2429/2575] root: missing geometry category header --- src/client/widgets/containers/root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index dc01300d..f9d59fc6 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -34,7 +34,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro }, [ 'visible', 'label', - '_geometry', 'left', 'top', 'expand', + 'left', 'top', 'expand', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', ], { From 38f5881568ab1daf6aebe1ce313af69048502c3e Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 22:01:12 +0200 Subject: [PATCH 2430/2575] editor: error when selecting a tab/root widget while a property field contains unsubmitted changes --- CHANGELOG.md | 1 + src/client/editor/context-menu.js | 2 +- src/client/ui/ui-inspector.js | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2236115..87674a08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - editor: hide impossible actions from context-menu (eg adding widgets in tab containers) + - editor: error when selecting a tab/root widget while a property field contains unsubmitted changes - panel: layout issue with tabs & lineWidth property - midi diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 01f9dac3..b572cf84 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -205,7 +205,7 @@ var handleClick = function(event) { }) } - + } diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 3f572b93..2338218f 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -175,6 +175,7 @@ class UiInspector extends UiWidget { if (category) content.appendChild(category) + this.lock = true if (this.mounted) { morph(this.container.firstChild, content) @@ -183,6 +184,7 @@ class UiInspector extends UiWidget { } this.mounted = true + this.lock = false if (this.colorPicker.opened) { @@ -195,6 +197,7 @@ class UiInspector extends UiWidget { } + } onChange(event) { From ae0994e57e6e5ebc75d3c4bd6dc8d9d47c1dddb9 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 22:14:42 +0200 Subject: [PATCH 2431/2575] input: extend focusable area --- CHANGELOG.md | 1 + src/client/widgets/basics/input.js | 8 ++++---- src/scss/widgets/basics.scss | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87674a08..7ab71f56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - editor: hide impossible actions from context-menu (eg adding widgets in tab containers) - editor: error when selecting a tab/root widget while a property field contains unsubmitted changes - panel: layout issue with tabs & lineWidth property + - input: extend focusable area - midi - remove variable args in sysex messages (dynamic properties and scripting can be used to this effect) diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 16a9f45d..8e267277 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -44,8 +44,8 @@ class Input extends Canvas { if (this.getProp('interaction')) { - this.canvas.setAttribute('tabindex', 0) - this.canvas.addEventListener('focus', this.focus.bind(this)) + this.widget.setAttribute('tabindex', 0) + this.widget.addEventListener('focus', this.focus.bind(this)) this.input = html`` this.input.addEventListener('blur', (e)=>{ this.blur(this.tabKeyBlur) @@ -72,7 +72,7 @@ class Input extends Canvas { if (this.focused) return this.focused = true - this.canvas.setAttribute('tabindex','-1') + this.widget.setAttribute('tabindex','-1') this.input.value = this.stringValue this.widget.insertBefore(this.input, this.canvas) this.input.focus() @@ -87,7 +87,7 @@ class Input extends Canvas { if (change) this.inputChange() - this.canvas.setAttribute('tabindex','0') + this.widget.setAttribute('tabindex','0') this.widget.removeChild(this.input) } diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 0e8985b9..a6546ca4 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -566,7 +566,7 @@ } -.editor-enabled .input-container:not(.editing) canvas { +.editor-enabled .input-container:not(.editing) inner { // prevent input focus when selecting pointer-events: none; } From de3440d715871743acf2d2d6103cb380dd461948 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 21 Sep 2020 22:21:41 +0200 Subject: [PATCH 2432/2575] midi: clean --- src/python/midi.py | 6 +++--- src/python/utils.py | 5 +---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/python/midi.py b/src/python/midi.py index b166b3d4..1f6501c3 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -116,7 +116,7 @@ def create_callback(name): else: status = message[0] - channel = (status & 0xF) + 1 + channel = (status & 0x0F) + 1 osc['args'].append({'type': 'i', 'value': channel}) @@ -161,7 +161,7 @@ for name in inputs: def midi_message(status, channel, data1=None, data2=None): - msg = [(status & 0xF0) | (channel - 1 & 0xF)] + msg = [(status & 0xF0) | (channel - 1 & 0x0F)] if data1 != None: msg.append(data1 & 0x7F) @@ -214,7 +214,7 @@ def send_midi(name, event, *args): mtype = NOTE_OFF elif mtype == PITCH_BEND: - args = args[:1] + [args[1] & 0x7f, (args[1] >> 7) & 0x7f] # convert 0-16384 -> 0-127 pair + args = args[:1] + [args[1] & 0x7F, (args[1] >> 7) & 0x7F] # convert 0-16384 -> 0-127 pair elif mtype == PROGRAM_CHANGE and PROGRAM_CHANGE_OFFSET: args[-1] = args[-1] - 1 diff --git a/src/python/utils.py b/src/python/utils.py index 1ab479fc..56fde861 100644 --- a/src/python/utils.py +++ b/src/python/utils.py @@ -11,9 +11,6 @@ MIDI_TO_OSC = { POLY_PRESSURE: '/key_pressure' } -for i in range(SYSTEM_EXCLUSIVE + 1, 256): - MIDI_TO_OSC[i] = '/sysex' - OSC_TO_MIDI = { '/note': NOTE_ON, '/control': CONTROL_CHANGE, @@ -36,7 +33,7 @@ def midi_str(message): else: status = message[0] - channel = (status & 0xF) + 1 + channel = (status & 0x0F) + 1 try: From e6a0029642d1200b031786451f2a0fb4f6982486 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 07:40:45 +0200 Subject: [PATCH 2433/2575] wip --- package.json | 2 +- src/client/editor/context-menu.js | 2 ++ src/client/ui/ui-inspector.js | 29 ++++++++++++++++++----------- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 8ebf7c53..77934dc8 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.3.0", + "version": "1.3.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index b572cf84..5f6e26fe 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -34,6 +34,7 @@ var handleClick = function(event) { if (event.type !== 'fast-right-click') { + if (editor.inspector.focusedInput) editor.inspector.onChange() editor.select(targetWidget, {multi: event.detail[multiSelectKey]}) } @@ -41,6 +42,7 @@ var handleClick = function(event) { if (event.type !== 'fast-right-click') return if (!event.detail.shiftKey && !event.detail[multiSelectKey] && editor.selectedWidgets.length <= 1) { + if (editor.inspector.focusedInput) editor.inspector.onChange() editor.select(targetWidget) } diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 2338218f..592a00f2 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -76,10 +76,11 @@ class UiInspector extends UiWidget { }) + this.container.addEventListener('blur', this.onBlur.bind(this)) this.container.addEventListener('change', this.onChange.bind(this)) this.container.addEventListener('keydown', this.onKeydown.bind(this)) - this.container.addEventListener('input', this.textAutoHeight.bind(this)) - this.container.addEventListener('focus', this.textAutoHeight.bind(this)) + this.container.addEventListener('input', this.onFocus.bind(this)) + this.container.addEventListener('focus', this.onFocus.bind(this)) this.lock = false @@ -206,7 +207,7 @@ class UiInspector extends UiWidget { this.lock = true - var input = event.target + var input = event ? event.target : this.focusedInput input.blur() @@ -234,21 +235,27 @@ class UiInspector extends UiWidget { onKeydown(event) { - var input = event.target - - if (event.keyCode === 13 && !event.shiftKey) { + if (this.focusedInput && event.keyCode === 13 && !event.shiftKey) { event.preventDefault() - DOM.dispatchEvent(input, 'change') + DOM.dispatchEvent(this.focusedInput, 'change') } } - textAutoHeight(event) { + onFocus(event) { - var input = event.target + this.focusedInput = event.target - input.setAttribute('rows',0) - input.setAttribute('rows', input.value.split('\n').length) + // text autoheight + + this.focusedInput.setAttribute('rows',0) + this.focusedInput.setAttribute('rows', this.focusedInput.value.split('\n').length) + + } + + onBlur(event) { + + this.focusedInput = null } From b15416afbf5f88d743eb722265aa3aaf8ad946ab Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 07:46:56 +0200 Subject: [PATCH 2434/2575] script dry --- src/client/widgets/scripts/script.js | 57 +++++++++++++++------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 41f9ce5b..23e21c33 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -54,17 +54,10 @@ class Script extends Widget { if (this.getProp('event') === 'value') { - try { - this.script = scriptVm.compile(this.getProp('script'), { - id: '', - value: 0 - }) - } catch(err) { - let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', - line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' - console.log((this.getProp('id') || this.props.id) + '.script error:\n' + err + line) - this.script = ()=>{} - } + this.compile({ + id: '', + value: 0 + }) } else if (this.getProp('event') === 'keyboard' && this.getProp('keyBinding')) { @@ -76,22 +69,32 @@ class Script extends Widget { }) - try { - this.script = scriptVm.compile(this.getProp('script'), { - type: '', - key: '', - code: 0, - ctrl: false, - shift: false, - alt: false, - meta: false, - }) - } catch(err) { - let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', - line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' - console.log((this.getProp('id') || this.props.id) + '.script error:\n' + err + line) - this.script = ()=>{} - } + this.compile({ + type: '', + key: '', + code: 0, + ctrl: false, + shift: false, + alt: false, + meta: false, + ) + + } + + } + + compĂźle(context) { + + try { + + this.script = scriptVm.compile(this.getProp('script'), context) + + } catch(err) { + + let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', + line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' + console.log((this.getProp('id') || this.props.id) + '.script error:\n' + err + line) + this.script = ()=>{} } From 89b594dfaa217c0f368ca72c8abeba7716a17a0b Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 08:21:06 +0200 Subject: [PATCH 2435/2575] editor: validate property change when clicking on a widget; cancel property change when hitting escape --- CHANGELOG.md | 6 +++++ src/client/ui/ui-inspector.js | 35 ++++++++++++++++------------ src/client/widgets/scripts/script.js | 2 +- 3 files changed, 27 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ab71f56..9ca84646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.3.1 + +- editor + - validate property change when clicking on a widget + - cancel property change when hitting escape + ## 1.3.0 - bug fixes diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 592a00f2..9857e2a5 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -76,12 +76,9 @@ class UiInspector extends UiWidget { }) - this.container.addEventListener('blur', this.onBlur.bind(this)) this.container.addEventListener('change', this.onChange.bind(this)) this.container.addEventListener('keydown', this.onKeydown.bind(this)) - this.container.addEventListener('input', this.onFocus.bind(this)) - this.container.addEventListener('focus', this.onFocus.bind(this)) - + this.container.addEventListener('input', this.onInput.bind(this)) this.lock = false this.clearTimeout = null @@ -207,7 +204,9 @@ class UiInspector extends UiWidget { this.lock = true - var input = event ? event.target : this.focusedInput + var input = this.focusedInput || event.target + + this.focusedInput = null input.blur() @@ -235,14 +234,26 @@ class UiInspector extends UiWidget { onKeydown(event) { - if (this.focusedInput && event.keyCode === 13 && !event.shiftKey) { - event.preventDefault() - DOM.dispatchEvent(this.focusedInput, 'change') + if (event.target.tagName === 'TEXTAREA') { + + if (event.keyCode === 13 && !event.shiftKey) { + + event.preventDefault() + DOM.dispatchEvent(event.target, 'change') + + } else if (event.keyCode === 27) { + + event.preventDefault() + event.target.value = event.target.textContent + event.target.blur() + + } + } } - onFocus(event) { + onInput(event) { this.focusedInput = event.target @@ -253,12 +264,6 @@ class UiInspector extends UiWidget { } - onBlur(event) { - - this.focusedInput = null - - } - help(name) { var defaultValue = defaults[this.widget.getProp('type')][name], diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 23e21c33..2b8b56a0 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -77,7 +77,7 @@ class Script extends Widget { shift: false, alt: false, meta: false, - ) + }) } From 46bdc4d68ce5ba30842e4acc485120705fc386be Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 12:25:10 +0200 Subject: [PATCH 2436/2575] script: typo --- src/client/widgets/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 2b8b56a0..52a8ed6c 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -83,7 +83,7 @@ class Script extends Widget { } - compĂźle(context) { + compile(context) { try { From 7d59d5cbd5a887286acafb0c86704bcc565b8fff Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 13:00:27 +0200 Subject: [PATCH 2437/2575] tree: prevent error when d&d-sorting with no change --- src/client/ui/ui-tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/ui-tree.js b/src/client/ui/ui-tree.js index 52b7b543..9377eb2f 100644 --- a/src/client/ui/ui-tree.js +++ b/src/client/ui/ui-tree.js @@ -58,7 +58,7 @@ class UiTree extends UiWidget { this.sortables = [] this.sortCallback = (event)=>{ var widget = widgetManager.widgets[event.to.parentNode.getAttribute('data-widget')] - if (!widget) return + if (!widget || event.oldIndex === event.newIndex) return this.trigger('sorted', { widget: widget, oldIndex: event.oldIndex, From 75251613fb59948a5fc7488511d61497895c9937 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 13:30:06 +0200 Subject: [PATCH 2438/2575] editor: show keyboard shortcuts in context menu; add shortcuts to change widget order; add shortcut to show widget in project tree --- CHANGELOG.md | 5 ++ resources/docs/docs/user-interface/editor.md | 16 ++++++ src/client/editor/context-menu.js | 58 ++++++++++++++++++-- src/client/editor/index.js | 41 +++++++++++++- src/client/locales/en.js | 4 ++ src/client/locales/fr.js | 4 ++ 6 files changed, 119 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ca84646..64c4d458 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,14 @@ ## 1.3.1 +- bug fixes + - project tree: error when dropping a widget at its initial position + - editor - validate property change when clicking on a widget - cancel property change when hitting escape + - add menu and keyboard shortcuts to reorder widgets + - add keyboard shortcut to show widget in project tree ## 1.3.0 diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index 7941f4a0..002ed2ad 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -15,6 +15,11 @@ Clicking on a widget, on a tab label or on an item in the project tree selects t Right clicking on a widget displays a menu with the following actions - `Show in tree`: show widget in project tree (hidden when clicking in the project tree) +- `Position`: + - `Send to back`: Send selected widget to back (first of siblings) + - `Send farther`: Send selected widget farther + - `Bring closer`: Bring selected widget closer + - `Bring to front`: Bring selected widget to front (last of siblings) - `Copy`: copy widget's data - `Cut`: copy widget's data and delete selected widget - `Paste`: paste copied widget in selected container @@ -83,6 +88,12 @@ Multiple widgets can be edited at once. | ++ctrl+down++ | Select current widget's first child | | ++ctrl+right++ | Select current widget's next sibling | | ++ctrl+left++ | Select current widget's previous sibling | + | ++t++ | Show selected widget in the project tree | + | ++Home++ | Send selected widget to back | + | ++Page Up++ | Send selected widget farther | + | ++Page Down++ | Bring selected widget closer | + | ++End++ | Bring selected widget to front | + === "Mac" @@ -109,3 +120,8 @@ Multiple widgets can be edited at once. | ++cmd+down++ | Select current widget's first child | | ++cmd+right++ | Select current widget's next sibling | | ++cmd+left++ | Select current widget's previous sibling | + | ++t++ | Show selected widget in the project tree | + | ++Home++ | Send selected widget to back | + | ++Page Up++ | Send selected widget farther | + | ++Page Down++ | Bring selected widget closer | + | ++End++ | Bring selected widget to front | diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index 5f6e26fe..a0dcd960 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -63,7 +63,8 @@ var handleClick = function(event) { label: icon('project-diagram') + ' ' + locales('editor_show_in_tree'), action: ()=>{ editor.widgetTree.showWidget(editor.selectedWidgets[0]) - } + }, + shortcut: 't' }) actions.push({ separator: true @@ -71,14 +72,55 @@ var handleClick = function(event) { } + if (editor.selectedWidgets[0].parent.children.length > 1) { + actions.push({ + label: icon('layer-group') + ' Position', + action: [ + { + label: locales('editor_back'), + action: ()=>{ + editor.handleKeyboard('home') + }, + shortcut: 'Home' + }, + { + label: locales('editor_farther'), + action: ()=>{ + editor.handleKeyboard('pageup') + }, + shortcut: 'Page Up' + }, + { + label: locales('editor_closer'), + action: ()=>{ + editor.handleKeyboard('pagedown') + }, + shortcut: 'Page Down' + }, + { + label: locales('editor_front'), + action: ()=>{ + editor.handleKeyboard('end') + }, + shortcut: 'End' + } + ] + }) + actions.push({ + separator: true + }) + } + actions.push({ label: icon('copy') + ' ' + locales('editor_copy'), - action: editor.copyWidget.bind(editor) + action: editor.copyWidget.bind(editor), + shortcut: 'mod + c' }) actions.push({ label: icon('cut') + ' ' + locales('editor_cut'), - action: editor.cutWidget.bind(editor) + action: editor.cutWidget.bind(editor), + shortcut: 'mod + x' }) } @@ -101,13 +143,16 @@ var handleClick = function(event) { label: icon('paste') + ' ' + locales('editor_paste'), action: ()=>{ editor.pasteWidget(clickX, clickY) - } + }, + shortcut: 'mod + v' }) pasteActions.push({ label: icon('plus-square') + ' ' + locales('editor_pasteindent'), action: ()=>{ editor.pasteWidget(clickX, clickY, true) - } + }, + shortcut: 'mod + shift + v' + }) if (editor.idClipboard && widgetManager.getWidgetById(editor.idClipboard).length && editor.clipboard[0].type !== 'tab') { @@ -219,7 +264,8 @@ var handleClick = function(event) { actions.push({ label: icon('trash') + ' ' + locales('editor_delete'), - action: editor.deleteWidget.bind(editor) + action: editor.deleteWidget.bind(editor), + shortcut: 'delete' }) } diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 18df590b..4d9450ac 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -170,7 +170,11 @@ class Editor { 'mod + down', 'mod + left', 'mod + right', - 'f2' + 'pageup', + 'pagedown', + 'home', + 'end', + 't' ] for (let c of combos) { @@ -196,9 +200,9 @@ class Editor { handleKeyboard(combo, e){ - if (this.inspector.helpModalOpened || e.target && (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA' || e.target.tagName === 'SELECT')) return + if (this.inspector.helpModalOpened || e && e.target && (e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA' || e.target.tagName === 'SELECT')) return - e.preventDefault() + if (e) e.preventDefault() switch (combo) { @@ -339,6 +343,37 @@ class Editor { break + case 'pagedown': + case 'pageup': + case 'home': + case 'end': + if (!this.selectedWidgets.length || this.selectedWidgets[0].parent.children.length <= 1) return + + var curWidget = this.selectedWidgets[0], + index = curWidget.parent.children.indexOf(curWidget), + maxIndex = curWidget.parent.children.length - 1, + newIndex + + if (combo === 'pagedown') newIndex = Math.min(index + 1, maxIndex) + else if (combo === 'pageup') newIndex = Math.max(index - 1, 0) + else if (combo === 'end') newIndex = maxIndex + else if (combo === 'home') newIndex = 0 + + if (index !== newIndex) { + this.widgetTree.trigger('sorted', { + widget: curWidget.parent, + oldIndex: index, + newIndex: newIndex + }) + } + break + + case 't': + if (!this.selectedWidgets.length) return + this.widgetTree.showWidget(editor.selectedWidgets[0]) + break + + } diff --git a/src/client/locales/en.js b/src/client/locales/en.js index 787cf07c..af6581aa 100644 --- a/src/client/locales/en.js +++ b/src/client/locales/en.js @@ -10,6 +10,10 @@ module.exports = { // editor context-menu editor_show_in_tree: 'Show in tree', + editor_front: 'Bring to front', + editor_closer: 'Bring closer', + editor_back: 'Send to back', + editor_farther: 'Send farther', editor_copy: 'Copy', editor_cut: 'Cut', editor_paste: 'Paste', diff --git a/src/client/locales/fr.js b/src/client/locales/fr.js index 21c706a6..ad25a951 100644 --- a/src/client/locales/fr.js +++ b/src/client/locales/fr.js @@ -10,6 +10,10 @@ module.exports = { // editor context-menu editor_show_in_tree: 'Voir dans l\'arborescence', + editor_front: 'Amener devant', + editor_closer: 'Amener plus prĂšs', + editor_back: 'Envoyer Ă  l\'arriĂšre', + editor_farther: 'Envoyer plus loin', editor_copy: 'Copier', editor_cut: 'Couper', editor_paste: 'Coller', From 195fef4ff4f076771fdc4600b3ffa35b5eea3bc7 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 13:45:14 +0200 Subject: [PATCH 2439/2575] editor: move position menu --- src/client/editor/context-menu.js | 82 ++++++++++++++++--------------- 1 file changed, 43 insertions(+), 39 deletions(-) diff --git a/src/client/editor/context-menu.js b/src/client/editor/context-menu.js index a0dcd960..1a71757b 100644 --- a/src/client/editor/context-menu.js +++ b/src/client/editor/context-menu.js @@ -72,45 +72,6 @@ var handleClick = function(event) { } - if (editor.selectedWidgets[0].parent.children.length > 1) { - actions.push({ - label: icon('layer-group') + ' Position', - action: [ - { - label: locales('editor_back'), - action: ()=>{ - editor.handleKeyboard('home') - }, - shortcut: 'Home' - }, - { - label: locales('editor_farther'), - action: ()=>{ - editor.handleKeyboard('pageup') - }, - shortcut: 'Page Up' - }, - { - label: locales('editor_closer'), - action: ()=>{ - editor.handleKeyboard('pagedown') - }, - shortcut: 'Page Down' - }, - { - label: locales('editor_front'), - action: ()=>{ - editor.handleKeyboard('end') - }, - shortcut: 'End' - } - ] - }) - actions.push({ - separator: true - }) - } - actions.push({ label: icon('copy') + ' ' + locales('editor_copy'), action: editor.copyWidget.bind(editor), @@ -174,6 +135,49 @@ var handleClick = function(event) { } + } + + if (parent !== widgetManager && editor.selectedWidgets[0].parent.children.length > 1) { + actions.push({ + separator: true + }) + actions.push({ + label: icon('layer-group') + ' Position', + action: [ + { + label: locales('editor_back'), + action: ()=>{ + editor.handleKeyboard('home') + }, + shortcut: 'Home' + }, + { + label: locales('editor_farther'), + action: ()=>{ + editor.handleKeyboard('pageup') + }, + shortcut: 'Page Up' + }, + { + label: locales('editor_closer'), + action: ()=>{ + editor.handleKeyboard('pagedown') + }, + shortcut: 'Page Down' + }, + { + label: locales('editor_front'), + action: ()=>{ + editor.handleKeyboard('end') + }, + shortcut: 'End' + } + ] + }) + + } + + if (widget.childrenType !== undefined) { var addActions = [] From 35584d3293ada687c8bce0c1502414f8850534ad Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 13:46:18 +0200 Subject: [PATCH 2440/2575] editor: selected widget is not showed on top of the others anymore --- CHANGELOG.md | 1 + src/scss/ui/selectarea.scss | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64c4d458..3b19b033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - cancel property change when hitting escape - add menu and keyboard shortcuts to reorder widgets - add keyboard shortcut to show widget in project tree + - selected widget is not showed on top of the others anymore ## 1.3.0 diff --git a/src/scss/ui/selectarea.scss b/src/scss/ui/selectarea.scss index 71f1d913..ff1bd1df 100644 --- a/src/scss/ui/selectarea.scss +++ b/src/scss/ui/selectarea.scss @@ -18,9 +18,6 @@ } -.widget.editing { - z-index: 9999!important; -} .widget.editing:after, .tablink.editing:after, .modal-container.editing > .popup > .popup-wrapper:after { From 70067b1c575ea408efef998d9181e1e92f295833 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 13:49:36 +0200 Subject: [PATCH 2441/2575] editor: lint --- src/client/editor/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 4d9450ac..da580538 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -349,9 +349,9 @@ class Editor { case 'end': if (!this.selectedWidgets.length || this.selectedWidgets[0].parent.children.length <= 1) return - var curWidget = this.selectedWidgets[0], - index = curWidget.parent.children.indexOf(curWidget), - maxIndex = curWidget.parent.children.length - 1, + var curWidget2 = this.selectedWidgets[0], + index = curWidget2.parent.children.indexOf(curWidget2), + maxIndex = curWidget2.parent.children.length - 1, newIndex if (combo === 'pagedown') newIndex = Math.min(index + 1, maxIndex) @@ -361,7 +361,7 @@ class Editor { if (index !== newIndex) { this.widgetTree.trigger('sorted', { - widget: curWidget.parent, + widget: curWidget2.parent, oldIndex: index, newIndex: newIndex }) From f839d647ffeb6b18c5c16be1ad01e31317498822 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 15:44:53 +0200 Subject: [PATCH 2442/2575] widgets: expose widgets unique identifiers as with property name "uuid" --- CHANGELOG.md | 3 +++ resources/docs/docs/widgets/advanced-syntaxes.md | 4 ++++ src/client/widgets/common/widget.js | 10 ++++++---- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b19b033..84e26ecf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ - add keyboard shortcut to show widget in project tree - selected widget is not showed on top of the others anymore +- widgets + - expose widgets unique identifiers as with property name "uuid" + ## 1.3.0 - bug fixes diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 6352d26b..75574649 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -16,6 +16,10 @@ The property name (and the dot) can be omitted and defaults to `value` (`@{widge A widget can fetch its own properties or its direct parent's by using the keywords `this` or `parent` instead of `id`. When `this` or `parent` can be used, using the target widget's `id` instead won't work. +#### `uuid` + +Each widget has a unique random identifier that can be retreived with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`). + #### Dynamic properties Some properties, when changed, trigger a complete widget recreation that ends any ongoing user interaction. Also, updating these properties continuously (e.g. when linked to a slider's dynamic value) can be very cpu expensive. diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index f260505b..77c2aadf 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -357,6 +357,7 @@ class Widget extends EventEmitter { // Cache resolved props this.cachedProps = {} + this.cachedProps.uuid = this.hash for (var k in this.props) { if (k != 'widgets' && k != 'tabs') { @@ -567,15 +568,16 @@ class Widget extends EventEmitter { if (widgets[i] === widgetManager) continue - if (widgets[i].props[k] !== undefined || k === 'value') { + if (widgets[i].props[k] !== undefined || k === 'value' || k === 'uuid') { if (k !== 'value' && originalPropName === k && widgets[i] === originalWidget) { return 'ERR_CIRCULAR_REF' } - var r = k == 'value' ? - widgets[i].getValue(true) : - widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) + var r + if (k === 'value') r = widgets[i].getValue(true) + else if (k === 'uuid') r = widgets[i].hash + else r = widgets[i].resolveProp(k, undefined, storeLinks, originalWidget, originalPropName) if (subk !== undefined && r !== undefined) r = r[subk] From 4ed2b0f2a230211f7989e0102836f8ee2e3ea1f6 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 30 Sep 2020 15:58:26 +0200 Subject: [PATCH 2443/2575] log: typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84e26ecf..9da28979 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ - selected widget is not showed on top of the others anymore - widgets - - expose widgets unique identifiers as with property name "uuid" + - expose widgets unique identifiers with property name "uuid" ## 1.3.0 From 6ce43933df27e25074a32106a8ed449f522b7030 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Oct 2020 10:49:46 +0200 Subject: [PATCH 2444/2575] script: rm unnused style prop --- src/client/widgets/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 52a8ed6c..a7bc8d56 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -33,7 +33,7 @@ class Script extends Widget { 'visible', 'interaction', '_geometry', 'left', 'top', 'width', 'height', 'expand', - '_style', 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'css' + '_style', 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'lineWidth', 'css' ], { script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See documentation.'}, From a4929047081628d9e4df2a06618ac8b263aff35c Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Oct 2020 13:25:56 +0200 Subject: [PATCH 2445/2575] xy/multixy: add `ephemeral` property --- CHANGELOG.md | 1 + src/client/widgets/pads/multixy.js | 2 ++ src/client/widgets/pads/xy.js | 30 ++++++++++++++++++------------ 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9da28979..d14b2909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - widgets - expose widgets unique identifiers with property name "uuid" + - xy/multixy: add `ephemeral` property ## 1.3.0 diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 9491ebef..8136d7f6 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -34,6 +34,7 @@ module.exports = class MultiXy extends Pad { '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', ]}, + ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the points will be drawn only chile touched.'}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, rangeX: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the x axis'}, @@ -65,6 +66,7 @@ module.exports = class MultiXy extends Pad { ...xyDefaults, 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]] : '', rangeX:this.getProp('rangeX'), rangeY:this.getProp('rangeY'), diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index b8accd9b..f2eb5a57 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -24,6 +24,7 @@ module.exports = class Xy extends Pad { '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', ]}, + ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the point will be drawn only chile touched.'}, spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, rangeX: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the x axis'}, @@ -189,16 +190,19 @@ module.exports = class Xy extends Pad { var pointSize = this.pointSize, margin = this.padPadding, x = this.faders.x.percentToCoord(this.faders.x.percent), - y = this.faders.y.percentToCoord(this.faders.y.percent) + y = this.faders.y.percentToCoord(this.faders.y.percent), + ephemeral = this.getProp('ephemeral') this.clear() - this.ctx.fillStyle = this.cssVars.colorFill - this.ctx.globalAlpha = this.cssVars.alphaFillOn - this.ctx.beginPath() - this.ctx.arc(x, y, pointSize - 3 * PXSCALE, Math.PI * 2, false) - this.ctx.fill() + if (!ephemeral || this.active) { + this.ctx.fillStyle = this.cssVars.colorFill + this.ctx.globalAlpha = this.cssVars.alphaFillOn + this.ctx.beginPath() + this.ctx.arc(x, y, pointSize - 3 * PXSCALE, Math.PI * 2, false) + this.ctx.fill() + } @@ -265,12 +269,14 @@ 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] - this.ctx.strokeStyle = this.cssVars.colorStroke - this.ctx.globalAlpha = this.active ? 1 : 0.75 - this.ctx.lineWidth = 1.5 * PXSCALE - this.ctx.beginPath() - this.ctx.arc(x, y, pointSize, Math.PI * 2, false) - this.ctx.stroke() + if (!ephemeral || this.active) { + this.ctx.strokeStyle = this.cssVars.colorStroke + this.ctx.globalAlpha = this.active ? 1 : 0.75 + this.ctx.lineWidth = 1.5 * PXSCALE + this.ctx.beginPath() + this.ctx.arc(x, y, pointSize, Math.PI * 2, false) + this.ctx.stroke() + } From e95816c806ecb50bc0cfa5363ed27f8435d1b9d0 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Oct 2020 15:07:04 +0200 Subject: [PATCH 2446/2575] fader/knob/xy/range/multixy: remove `touchAddress` property; expose touch state in `script` property (`touchAddress` usages will be converted automatically) --- CHANGELOG.md | 4 +++- resources/docs/docs/widgets/scripting.md | 24 ++++++++++++++++++++- src/client/managers/session/session.js | 22 +++++++++++++++++++ src/client/widgets/common/widget.js | 6 +++++- src/client/widgets/mixins/touch_state.js | 27 ++++++------------------ src/client/widgets/pads/multixy.js | 20 +++--------------- src/client/widgets/pads/xy.js | 6 +----- src/client/widgets/scripts/script.js | 4 +++- src/client/widgets/sliders/fader.js | 6 +----- src/client/widgets/sliders/knob.js | 6 +----- src/client/widgets/sliders/range.js | 14 ++---------- 11 files changed, 70 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d14b2909..16c4e800 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,9 @@ - widgets - expose widgets unique identifiers with property name "uuid" - - xy/multixy: add `ephemeral` property + - xy/multixy: add `ephemeral` property + - fader/knob/xy/range/multixy: remove `touchAddress` property + - fader/knob/xy/range/multixy: expose touch state in `script` property (`touchAddress` usages will be converted automatically) ## 1.3.0 diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 63829cc6..34958b8a 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -16,6 +16,7 @@ Depending on what triggered the script's execution, a few variables are availabl - `id` (`string`): id of the widget that's reponsible for the value update - `value`: widget's value +- `touch`: see [Touch state](#touch-state) **Event: keyboard** (script widget only) @@ -27,10 +28,31 @@ Depending on what triggered the script's execution, a few variables are availabl - `alt` (`boolean`): `true` if alt key is pressed - `meta` (`boolean`): `true` if meta key is pressed +## Touch state + +When some widgets are touched or released, a special event can be catched to trigger custom actions. + +If the variable `touch` is not `undefined`, this means it holds the widget's cuurent touch state: + +- `0/1` if the widget is single touch (`fader`, `knob` and `xy`) +- `[i, 0/1]` if the widget is multi touch (`range` and `multixy`). In this case `i` is the touched handle's index, starting with `0`. + +Example script: + +```js +if (touch !== undefined) { + // send touch state + send('/touch_address', touch) +} else { + // do something with the value ? +} +``` + +To avoid unwanted script executions, touch state events will only be catched if the script contains the word `touch`. ## Available variables -Besides the variables available in the [javascript property syntax ](./advanced-syntaxes.md#available-variables), the following variables and functions are also accessible in this context. +Besides the variables available in the [javascript property syntax ](./advanced-syntaxes.md#available-variables) and the ones listed above, the following variables and functions are accessible in this context. ---- diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index 2f0b9404..aa91414d 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -211,6 +211,28 @@ var converters = [ } + } + }, + { + version: '1.3.1', + widget: (data)=>{ + + switch (data.type) { + + case 'fader': + case 'knob': + case 'xy': + case 'range': + case 'multixy': + if (data.touchAddress && String(data.touchAddress).length) { + let touchVal = data.type.match(/range|multixy/) ? 'touch[0], touch[1]' : 'touch', + originalScript = data.script ? ` else {\n // original script\n ${data.script}\n // -----------\n}` : '' + data.script = `\nif (touch !== undefined) {\n // generated automatically\n // from touchAddress\n send("${data.touchAddress}", ${touchVal})\n}${originalScript}` + } + break + + } + } } ] diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 77c2aadf..006fd613 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -213,7 +213,11 @@ class Widget extends EventEmitter { this.on('change', (e)=>{ if (e.widget === this && this.mounted && !e.options.fromEdit) this.script.setValue(this.value, {...e.options, id: e.options.id || e.id}) }) - + if (String(this.getProp('script')).includes('touch')) { + this.on('touch', (e)=>{ + this.script.setValue(this.value, {id: this.getProp('id'), touch: e.touch, sync: false, send: true}) + }) + } } this.container = html` diff --git a/src/client/widgets/mixins/touch_state.js b/src/client/widgets/mixins/touch_state.js index ce3f857d..991810a1 100644 --- a/src/client/widgets/mixins/touch_state.js +++ b/src/client/widgets/mixins/touch_state.js @@ -1,18 +1,13 @@ module.exports = (self, options)=>{ - var sendTouchState = self.getProp('touchAddress') && self.getProp('touchAddress').length - self.touched = 0 self.setValueTouchedQueue = undefined self.on('draginit',(e)=>{ self.touched += 1 - if (self.touched == 1 && sendTouchState) - self.sendValue({ - address:self.getProp('touchAddress'), - v:1, - split:false - }) + if (self.touched == 1) { + self.trigger('touch', {stopPropagation :0, touch: 1}) + } }, options) self.on('dragend', (e)=>{ @@ -24,13 +19,7 @@ module.exports = (self, options)=>{ self.setValueTouchedQueue = undefined } - if (sendTouchState) { - self.sendValue({ - address:self.getProp('touchAddress'), - v:0, - split:false - }) - } + self.trigger('touch', {stopPropagation :true, touch: 0}) } else if (self.touched > 1){ self.touched -= 1 @@ -38,12 +27,8 @@ module.exports = (self, options)=>{ }, options) self.onRemove = ()=>{ - if (sendTouchState && self.touched > 0) { - self.sendValue({ - address:self.getProp('touchAddress'), - v:0, - split:false - }) + if (self.touched > 0) { + self.trigger('touch', {stopPropagation :true, touch: 0}) } self.__proto__.onRemove.call(self) } diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 8136d7f6..cf75c5ba 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -43,11 +43,7 @@ module.exports = class MultiXy extends Pad { logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale.'}, sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, - }, [], { - - touchAddress: {type: 'string', value:'', help: 'OSC address for touched state messages: `/touchAddress [preArgs] 0/1`'}, - - }) + }, [], {}) } @@ -120,12 +116,7 @@ module.exports = class MultiXy extends Pad { e.stopPropagation = true - if (this.getProp('touchAddress')) { - this.sendValue({ - address: this.getProp('touchAddress'), - v: [parseInt(id), 1], - }) - } + this.trigger('touch', {stopPropagation: true, touch: [parseInt(id), 1]}) this.pads[id].trigger('draginit', e) @@ -151,12 +142,7 @@ module.exports = class MultiXy extends Pad { this.pads[i].trigger('dragend', e) - if (this.getProp('touchAddress')) { - this.sendValue({ - address: this.getProp('touchAddress'), - v: [parseInt(this.touchMap[e.pointerId]), 0], - }) - } + this.trigger('touch', {stopPropagation: true, touch: [parseInt(this.touchMap[e.pointerId]), 0]}) delete this.touchMap[e.pointerId] diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index f2eb5a57..bb140449 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -37,11 +37,7 @@ module.exports = class Xy extends Pad { ]}, sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, - }, [], { - - touchAddress: {type: 'string', value:'', help: 'OSC address for touched state messages: `/touchAddress [preArgs] 0/1`)'}, - - }) + }, [], {}) } diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index a7bc8d56..a3440959 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -56,7 +56,8 @@ class Script extends Widget { this.compile({ id: '', - value: 0 + value: 0, + touch: undefined }) } else if (this.getProp('event') === 'keyboard' && this.getProp('keyBinding')) { @@ -128,6 +129,7 @@ class Script extends Widget { this.run({ value: v, id: options.id, + touch: options.touch }) scriptVm.setValueOptions(options) diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index d3689971..08d1ad13 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -49,11 +49,7 @@ class Fader extends Slider { ]}, origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the fader\'s gauge'}, - }, [], { - - touchAddress: {type: 'string', value:'', help: 'OSC address for touched state messages: `/touchAddress [preArgs] 0/1`'}, - - }, Fader) + }, [], {}, Fader) } diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index b6ebb3c5..37c42d73 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -48,11 +48,7 @@ module.exports = class Knob extends Slider { ]}, origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the knob\'s gauge'}, - }, [], { - - touchAddress: {type: 'string', value:'', help: 'OSC address for touched state messages: `/touchAddress [preArgs] 0/1`'}, - - }, Knob) + }, [], {}, Knob) } diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index d2b54dc6..b4051c24 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -141,12 +141,7 @@ class Range extends Fader { if (!i) return - if (this.getProp('touchAddress')) { - this.sendValue({ - address: this.getProp('touchAddress'), - v: [parseInt(i), 1], - }) - } + this.trigger('touch', {stopPropagation: true, touch: [parseInt(i), 1]}) if (e.shiftKey) { this.faders[0].trigger('drag', e) @@ -167,12 +162,7 @@ class Range extends Fader { this.faders[i].trigger('dragend', e) - if (this.getProp('touchAddress')) { - this.sendValue({ - address: this.getProp('touchAddress'), - v: [parseInt(i), 0], - }) - } + this.trigger('touch', {stopPropagation: true, touch: [parseInt(i), 0]}) delete this.touchMap[e.pointerId] From 60a747574cbb02b5dc16d10d18e6b5418daeb5b8 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Oct 2020 15:13:45 +0200 Subject: [PATCH 2447/2575] docs: update ref --- .../docs/docs/widgets/properties-reference.md | 32 ++----------------- 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 4c27d8ad..064cc64f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -533,6 +533,7 @@ | --- | --- | --- | --- | |
        pointSize#
        | `integer` | 20 | Defines the points' size | |
        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 | + |
        ephemeral#
        | `boolean` | false | When set to `true`, the point will be drawn only chile touched. | |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its default value when released | |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | |
        rangeX#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the x axis | @@ -542,12 +543,6 @@ |
        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` | - === "osc" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) | - ??? api "
        rgb#
        " Color picker with optional alpha slider. @@ -576,6 +571,7 @@ | --- | --- | --- | --- | |
        pointSize#
        | `integer` | 20 | Defines the points' size | |
        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 | + |
        ephemeral#
        | `boolean` | false | When set to `true`, the points will be drawn only chile touched. | |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its default value when released | |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | |
        rangeX#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the x axis | @@ -583,12 +579,6 @@ |
        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. | |
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | - - === "osc" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ## Sliders ??? api "
        fader#
        " @@ -619,12 +609,6 @@ |
        steps#
        | `string`|
        `number`|
        `array` | "" | Restricts the widget's value:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | - === "osc" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | - ??? api "
        knob#
        " Rotative knob slider. @@ -651,12 +635,6 @@ |
        steps#
        | `string`|
        `number`|
        `array` | "" | Restricts the widget's value:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | - === "osc" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | - ??? api "
        encoder#
        " A knob that sends a relative direction infomation instead of an absolute value. @@ -704,12 +682,6 @@ |
        sensitivity#
        | `number` | 1 | Defines the fader's sensitivity when `snap` is `false` | |
        steps#
        | `string`|
        `number`|
        `array` | "" | Restricts the widget's value:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | - - === "osc" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | ## Scripts ??? api "
        script#
        " From 7a90441b5dfe119e8543d66ab78a7e2e9fc81e1c Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Oct 2020 15:14:14 +0200 Subject: [PATCH 2448/2575] package: 1.4.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 77934dc8..75e16594 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.3.1", + "version": "1.4.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 5e820626dea14152ab580706ea94521b522c6571 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Oct 2020 15:15:59 +0200 Subject: [PATCH 2449/2575] log: 1.4.0 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16c4e800..12d1a88a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.3.1 +## 1.4.0 - bug fixes - project tree: error when dropping a widget at its initial position From 5149f02aa59610a8503241e9c275f2aa980bc2f0 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 1 Oct 2020 23:34:38 +0200 Subject: [PATCH 2450/2575] touch state: typo (-> extra touch state events in range/multixy) --- src/client/widgets/mixins/touch_state.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/mixins/touch_state.js b/src/client/widgets/mixins/touch_state.js index 991810a1..7a9192b5 100644 --- a/src/client/widgets/mixins/touch_state.js +++ b/src/client/widgets/mixins/touch_state.js @@ -6,7 +6,7 @@ module.exports = (self, options)=>{ self.on('draginit',(e)=>{ self.touched += 1 if (self.touched == 1) { - self.trigger('touch', {stopPropagation :0, touch: 1}) + self.trigger('touch', {stopPropagation: true, touch: 1}) } }, options) @@ -19,7 +19,7 @@ module.exports = (self, options)=>{ self.setValueTouchedQueue = undefined } - self.trigger('touch', {stopPropagation :true, touch: 0}) + self.trigger('touch', {stopPropagation: true, touch: 0}) } else if (self.touched > 1){ self.touched -= 1 @@ -28,7 +28,7 @@ module.exports = (self, options)=>{ self.onRemove = ()=>{ if (self.touched > 0) { - self.trigger('touch', {stopPropagation :true, touch: 0}) + self.trigger('touch', {stopPropagation: true, touch: 0}) } self.__proto__.onRemove.call(self) } From 2f3de5a89852eccde41c9c93bdf1f1595dd760e9 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 10:24:34 +0200 Subject: [PATCH 2451/2575] log: touch state fix --- CHANGELOG.md | 5 +++++ src/client/managers/session/session.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12d1a88a..a8cf0162 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.4.1 + +- bug fixed + - multixy/range: prevent some extra touch state events + ## 1.4.0 - bug fixes diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index aa91414d..d96f1f19 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -214,7 +214,7 @@ var converters = [ } }, { - version: '1.3.1', + version: '1.3.0', widget: (data)=>{ switch (data.type) { From e1b81951ac375ceb08432f76016c2725a8162d91 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 10:42:40 +0200 Subject: [PATCH 2452/2575] touch state: fix conversion for multitouch widgets --- resources/docs/docs/widgets/scripting.md | 10 +++++----- src/client/managers/session/session.js | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 34958b8a..a48f0d9f 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -34,15 +34,15 @@ When some widgets are touched or released, a special event can be catched to tri If the variable `touch` is not `undefined`, this means it holds the widget's cuurent touch state: -- `0/1` if the widget is single touch (`fader`, `knob` and `xy`) +- `0/1` for the widget's touch state (`fader`, `knob` and `xy`, `range` and `multixy`) - `[i, 0/1]` if the widget is multi touch (`range` and `multixy`). In this case `i` is the touched handle's index, starting with `0`. -Example script: - ```js if (touch !== undefined) { - // send touch state - send('/touch_address', touch) + // send multi touch state + if (touch.length) send('/touch_address', touch[0], touch[1]) + // send global touch state + else send('/touch_address', touch) } else { // do something with the value ? } diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index d96f1f19..afc5a453 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -225,9 +225,9 @@ var converters = [ case 'range': case 'multixy': if (data.touchAddress && String(data.touchAddress).length) { - let touchVal = data.type.match(/range|multixy/) ? 'touch[0], touch[1]' : 'touch', + let sendScript = data.type.match(/range|multixy/) ? 'if (touch.length) send(address, touch[0], touch[1])\n else send(address, touch)' : 'send(address, touch)', originalScript = data.script ? ` else {\n // original script\n ${data.script}\n // -----------\n}` : '' - data.script = `\nif (touch !== undefined) {\n // generated automatically\n // from touchAddress\n send("${data.touchAddress}", ${touchVal})\n}${originalScript}` + data.script = `\nif (touch !== undefined) {\n // generated automatically\n // from touchAddress\n var address = "${data.touchAddress}"\n ${sendScript}\n}${originalScript}` } break From 22045062dbcf299179c78aa61fc676f39e81a748 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 10:44:04 +0200 Subject: [PATCH 2453/2575] package: 1.4.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 75e16594..2d28f8ed 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.4.0", + "version": "1.4.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 28f98738fcf814e035d369ae8a7b46a22b2d1efc Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 10:48:20 +0200 Subject: [PATCH 2454/2575] log: typo --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8cf0162..7edae4b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ## 1.4.1 -- bug fixed - - multixy/range: prevent some extra touch state events +- bug fixes + - multixy/range: prevent some extra touch state events;` ## 1.4.0 From 0bf57edb58791424bfadd6972eb81e7d60c1afd9 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 10:53:20 +0200 Subject: [PATCH 2455/2575] docs: typo --- 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 a48f0d9f..81cdf34f 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -32,7 +32,7 @@ Depending on what triggered the script's execution, a few variables are availabl When some widgets are touched or released, a special event can be catched to trigger custom actions. -If the variable `touch` is not `undefined`, this means it holds the widget's cuurent touch state: +If the variable `touch` is not `undefined`, this means it holds the widget's current touch state: - `0/1` for the widget's touch state (`fader`, `knob` and `xy`, `range` and `multixy`) - `[i, 0/1]` if the widget is multi touch (`range` and `multixy`). In this case `i` is the touched handle's index, starting with `0`. From 4d918286675ede2e5f5a5fb0b7c8d319ff6c8c74 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 13:00:50 +0200 Subject: [PATCH 2456/2575] docs: add patreon link --- resources/docs/extra/styles.css | 12 ++++++++++++ resources/overrides/home.html | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/resources/docs/extra/styles.css b/resources/docs/extra/styles.css index aa202eb7..5ad6b85e 100644 --- a/resources/docs/extra/styles.css +++ b/resources/docs/extra/styles.css @@ -99,3 +99,15 @@ details.api summary:before { i[title="dynamic"] { color: var(--osc-accent-color); } + + +.patreon-icon { + margin-top: 2em!important; + color: black!important; + display: block; + background-image: url('data:image/svg+xml;charset=UTF-8,'); + background-size: 20px 30px; + background-repeat: no-repeat; + background-position: 20px center; + padding-left: 3em!important; +} diff --git a/resources/overrides/home.html b/resources/overrides/home.html index 25fbe792..5ac01543 100644 --- a/resources/overrides/home.html +++ b/resources/overrides/home.html @@ -178,6 +178,13 @@ > Get started +
        From 277c4440f63593571acafb3aca640443fc8e465d Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 17:22:46 +0200 Subject: [PATCH 2457/2575] widgets: remove `colorBg` for all widgets except containers; widgets background color is now transparent by default (can be overridden with css) --- CHANGELOG.md | 6 ++++++ src/client/widgets/common/widget.js | 1 - src/client/widgets/containers/matrix.js | 1 + src/client/widgets/containers/modal.js | 1 + src/client/widgets/containers/panel.js | 9 ++++++++- src/client/widgets/containers/root.js | 1 + src/client/widgets/containers/tab.js | 1 + src/scss/widgets.scss | 2 +- 8 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7edae4b6..162cb09b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.4.2 + +- widgets + - remove `colorBg` for all widgets except containers + - widgets background color is now transparent by default (can be overridden with css) + ## 1.4.1 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 006fd613..2e2334ee 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -71,7 +71,6 @@ class Widget extends EventEmitter { _style: 'style', - colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, colorText: {type: 'string', value: 'auto', help: 'Text color. Set to "auto" to inherit from parent widget.'}, colorWidget: {type: 'string', value: 'auto', help: 'Widget\'s default accent color. Set to "auto" to inherit from parent widget.'}, colorStroke: {type: 'string', value: 'auto', help: 'Stroke color. Set to "auto" to use `colorWidget`.'}, diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index 9b66641d..a98365a3 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -19,6 +19,7 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { _class_specific: 'matrix', + colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, 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'}, start: {type: 'integer', value: 0, help: 'First widget\'s index'}, diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 3e607638..1ce0b79b 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -20,6 +20,7 @@ class Modal extends Panel { _class_specific: 'modal', + colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, label: {type: 'string|boolean', value: 'auto', help: [ '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)', diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 71aa06e7..b440a337 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -19,6 +19,7 @@ class Panel extends Container() { _class_specific: 'panel', + colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, @@ -241,6 +242,8 @@ class Panel extends Container() { this.setTraversing() return + case 'colorBg': + this.setCssVariables() case 'colorText': case 'colorWidget': case 'colorFill': @@ -248,7 +251,6 @@ class Panel extends Container() { case 'alphaStroke': case 'alphaFillOff': case 'alphaFillOn': - case 'colorBg': case 'padding': for (var w of this.children) { if (w) w.onPropChanged(propName) @@ -286,7 +288,12 @@ class Panel extends Container() { } +Panel.cssVariables = Panel.prototype.constructor.cssVariables.concat( + {js: 'colorBg', css: '--color-background'} +) + Panel.dynamicProps = Panel.prototype.constructor.dynamicProps.concat( + 'colorBg', 'variables', 'traversing' ) diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index f9d59fc6..0e03956c 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -16,6 +16,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro _class_specific: 'panel', + colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index 75413a37..d634728e 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -18,6 +18,7 @@ class Tab extends Panel { _class_specific: 'panel', + colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, label: {type: 'string|boolean', value: 'auto', help: [ '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)', diff --git a/src/scss/widgets.scss b/src/scss/widgets.scss index 25a41eaa..98fade9d 100644 --- a/src/scss/widgets.scss +++ b/src/scss/widgets.scss @@ -40,7 +40,7 @@ color: var(--color-text); - background-color: var(--color-background); + background-color: transparent; background-clip: content-box; From ad2872961e851f1971e3d42f76bb25e384af1cb0 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 2 Oct 2020 18:18:55 +0200 Subject: [PATCH 2458/2575] editor: holding `alt` extends the north-west handle to the widget's size to ease dragging image: broken value validation --- CHANGELOG.md | 8 +++++++- resources/docs/docs/user-interface/editor.md | 3 +-- src/client/ui/ui-dragresize.js | 9 +++++++++ src/client/widgets/frames/image.js | 2 +- src/scss/ui/dragresize.scss | 9 +++++++++ 5 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 162cb09b..18acdc51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,15 @@ ## 1.4.2 +- bug fixes + - image: broken value validation + +- editor + - holding `alt` extends the north-west handle to the widget's size to ease dragging + - widgets - remove `colorBg` for all widgets except containers - - widgets background color is now transparent by default (can be overridden with css) + - widgets background color is now transparent by default (can be overridden with css) ## 1.4.1 diff --git a/resources/docs/docs/user-interface/editor.md b/resources/docs/docs/user-interface/editor.md index 002ed2ad..6a8a1584 100644 --- a/resources/docs/docs/user-interface/editor.md +++ b/resources/docs/docs/user-interface/editor.md @@ -46,11 +46,10 @@ The project tree displays the whole widget structure of the session. Widgets can ## Widget resizing / dragging -Selected widget can be resized using its south, south-east and east handles. It can be dragged with its north-west handle. If the widget's position/size was written in percents, the editor will try to keep using percents. +Selected widget can be resized using its south, south-east and east handles. It can be dragged with its north-west handle (holding ++alt++ extends this handle to the widget's size to ease dragging). If the widget's position/size was written in percents, the editor will try to keep using percents. When the grid is enabled, widget resizing / dragging snaps to a 10 pixel wide grid. - ## Multi-widgets editing Multiple widgets can be edited at once. diff --git a/src/client/ui/ui-dragresize.js b/src/client/ui/ui-dragresize.js index 1d745f03..179f792f 100644 --- a/src/client/ui/ui-dragresize.js +++ b/src/client/ui/ui-dragresize.js @@ -1,4 +1,5 @@ var UiWidget = require('./ui-widget'), + keyboardJS = require('keyboardjs/dist/keyboard.min.js'), html = require('nanohtml'), Tab, Root @@ -101,6 +102,14 @@ class UiDragResize extends UiWidget { // this.handles[0]._ignore_css_transforms = true + keyboardJS.withContext('editing', ()=>{ + keyboardJS.bind('alt', (e)=>{ + this.handles[0].classList.add('full') + }, (e)=>{ + this.handles[0].classList.remove('full') + }) + }) + } clear() { diff --git a/src/client/widgets/frames/image.js b/src/client/widgets/frames/image.js index da396f08..61f46074 100644 --- a/src/client/widgets/frames/image.js +++ b/src/client/widgets/frames/image.js @@ -55,7 +55,7 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) { setValue(v, options={}) { - if (typeof this.value !== 'string') return + if (typeof v !== 'string') return var s = v==null ? '' : '' + v, cache_query = '' diff --git a/src/scss/ui/dragresize.scss b/src/scss/ui/dragresize.scss index ad8d57ca..2c427dc0 100644 --- a/src/scss/ui/dragresize.scss +++ b/src/scss/ui/dragresize.scss @@ -86,6 +86,15 @@ } + &.full { + width: var(--width); + height: var(--height); + top: 0; + left: 0; + opacity: 0.1; + z-index: 1; + margin:0; + } } } From 6218351bdb18451a3383478f21f6be1c466ce915 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 10:46:07 +0200 Subject: [PATCH 2459/2575] panel: clean --- src/client/widgets/containers/panel.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index b440a337..118c0f28 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -288,10 +288,6 @@ class Panel extends Container() { } -Panel.cssVariables = Panel.prototype.constructor.cssVariables.concat( - {js: 'colorBg', css: '--color-background'} -) - Panel.dynamicProps = Panel.prototype.constructor.dynamicProps.concat( 'colorBg', 'variables', From cb289fb795a14f3b03d0c9e01d881e979e33f087 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 15:57:25 +0200 Subject: [PATCH 2460/2575] editor: vertical tab selection hint size fix --- src/scss/widgets/containers.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index dd5ebbb3..f8f0d0fd 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -165,6 +165,9 @@ .tablink.editing:after { margin: 2rem 2rem 4rem; } +.vertical .tablink.editing:after { + margin: 2rem 4rem 2rem 2rem; +} .panel-container { From 0fb49a6779a76a23bec8602e34d58f3f3fd66747 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 17:07:49 +0200 Subject: [PATCH 2461/2575] widgets: move to a more flexible widget default props structure --- CHANGELOG.md | 2 + package.json | 2 +- .../docs/docs/widgets/properties-reference.md | 706 ------------------ src/client/editor/index.js | 2 +- src/client/ui/ui-inspector.js | 85 +-- src/client/widgets/basics/button.js | 59 +- src/client/widgets/basics/dropdown.js | 21 +- src/client/widgets/basics/file.js | 21 +- src/client/widgets/basics/input.js | 17 +- src/client/widgets/basics/menu.js | 56 +- src/client/widgets/basics/switch.js | 41 +- src/client/widgets/common/widget.js | 209 +++--- src/client/widgets/containers/clone.js | 22 +- src/client/widgets/containers/keyboard.js | 70 +- src/client/widgets/containers/matrix.js | 41 +- src/client/widgets/containers/modal.js | 69 +- src/client/widgets/containers/panel.js | 60 +- src/client/widgets/containers/patchbay.js | 46 +- src/client/widgets/containers/root.js | 53 +- src/client/widgets/containers/tab.js | 60 +- src/client/widgets/frames/frame.js | 20 +- src/client/widgets/frames/html.js | 34 +- src/client/widgets/frames/image.js | 44 +- src/client/widgets/frames/svg.js | 22 +- src/client/widgets/graphs/eq.js | 46 +- src/client/widgets/graphs/plot.js | 61 +- src/client/widgets/graphs/visualizer.js | 37 +- src/client/widgets/index.js | 2 +- src/client/widgets/indicators/led.js | 51 +- src/client/widgets/indicators/text.js | 30 +- src/client/widgets/pads/canvas.js | 15 +- src/client/widgets/pads/multixy.js | 50 +- src/client/widgets/pads/rgb.js | 26 +- src/client/widgets/pads/xy.js | 47 +- src/client/widgets/scripts/script.js | 39 +- src/client/widgets/scripts/variable.js | 19 +- src/client/widgets/sliders/encoder.js | 48 +- src/client/widgets/sliders/fader.js | 79 +- src/client/widgets/sliders/knob.js | 77 +- 39 files changed, 822 insertions(+), 1567 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18acdc51..c3ebbe95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,12 @@ - editor - holding `alt` extends the north-west handle to the widget's size to ease dragging + - widget properties reordered (e.g. -related properties, even widget-specific, are now under the "style" category) - widgets - remove `colorBg` for all widgets except containers - widgets background color is now transparent by default (can be overridden with css) + - keyboard: added `colorBlack` and `colorWhite` properties to customize key colors ## 1.4.1 diff --git a/package.json b/package.json index 2d28f8ed..47489d00 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.4.1", + "version": "1.5.0", "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 064cc64f..e69de29b 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -1,706 +0,0 @@ - - -## Common - -??? api "
        Generic properties#
        " - Properties shared by all widgets - - - - - === "widget" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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. | - |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | - |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | - - - === "geometry" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        left#
        | `number`|
        `string` | "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 absolutely positioned | - |
        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 absolutely positioned | - |
        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. | - - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        colorBg#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | - |
        colorText#
        | `string` | "auto" | Text color. Set to "auto" to inherit from parent widget. | - |
        colorWidget#
        | `string` | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. | - |
        colorStroke#
        | `string` | "auto" | Stroke color. Set to "auto" to use `colorWidget`. | - |
        colorFill#
        | `string` | "auto" | Fill color. Set to "auto" to use `colorWidget`. | - |
        alphaStroke#
        | `number` | "auto" | Stroke color opacity. | - |
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | - |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | - |
        lineWidth#
        | `number` | "auto" | Stroke width. | - |
        padding#
        | `number` | "auto" | Inner spacing. | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | - - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `*` | "" | Define the widget's value depending on other widget's values / properties using the advanced property syntax | - |
        default#
        | `*` | "" | If set, the widget will be initialized with this value when the session is loaded. | - |
        linkId#
        | `string`|
        `array` | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.

        When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)

        When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) | - |
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | - - - === "osc" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        address#
        | `string` | "auto" | OSC address for sending / receiving messages, it must start with a slash (`/`)

        By default ("auto"), the widget's id is used: `/widget_id` | - |
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | - |
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | - |
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | - |
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - If no target is set, messages can still be sent if the server has default targets | - |
        ignoreDefaults#
        | `boolean` | false | Set to `true` to ignore the server's default targets | - |
        bypass#
        | `boolean` | false | Set to `true` to prevent the widget from sending any osc message | -## Basics - -??? api "
        button#
        " - On / off button. - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | - - === "button" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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` | - |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | - |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically. | - |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | - |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | - |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | - |
        doubleTap#
        | `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | - |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | - -??? api "
        switch#
        " - Value selector button. - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | - - === "switch" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        layout#
        | `string` | "vertical" | Choices: `vertical`, `horizontal`, `grid` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        values#
        | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | - |
        mode#
        | `string` | "tap" | Interraction mode:
        - `tap`: activates when the pointer is down but prevents further scrolling
        - `slide`: same as `tap` but allows sliding between values
        - `click`: activates upon click only and allows further scrolling

        Choices: `tap`, `slide`, `click` | - |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | - -??? api "" - Native dropdown menu. - - === "dropdown" - - | property | type |default | description | - | --- | --- | --- | --- | - | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - | | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | - -??? api "" - Drag and drop menu with a circular or grid layout. - - === "menu" - - | property | type |default | description | - | --- | --- | --- | --- | - | | `number`|
        `array` | 200 | - If `layout` is `circular`: diameter (in px)
        - Else: square size or `[width, height]` array | - | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - | | `string` | "center" | Set to `top` or `bottom` to change menu alignment (otherwise center)

        Choices: `center`, `top`, `bottom` | - | | `string` | "center" | Set to `left` or `right` to change menu alignment (otherwise center)

        Choices: `center`, `left`, `right` | - | | `string` | "circular" | Defines whether the menu's layout should be rendered in a circle or in a box

        Choices: `circular`, `horizontal`, `vertical`, `grid` | - | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - | | `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 | - | | `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 | - | | `array` | "" | `Array` of `number` defining the weights of each value in `values`

        Ignored when `mode` is `grid` | - -??? api "
        input#
        " - Text input. - - === "input" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - |
        unit#
        | `string` | "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) | - |
        asYouType#
        | `boolean` | false | Set to `true` to make the input send its value at each keystroke | - -??? api "
        file#
        " - File/Folder selector (server-side). - - === "file" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | - |
        directory#
        | `string` | "auto" | Default browsing directory | - |
        extension#
        | `string` | "*" | Only display files with this extension | - |
        hidePath#
        | `boolean` | false | Set to `true` to only display the filename (the whole path will still be used as value) | - |
        allowDir#
        | `boolean` | false | Allow selecting a folder (by pressing "open" when no file is selected) | -## Containers - -??? api "
        panel#
        " - Widgets or Tabs container. - - === "panel" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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` or `auto` to limit affected widgets by the type of the first touched widget | - - === "widget container" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        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. | - - === "tab container" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `integer` | "" | Defines currently selected tab in the widget

        A tab can be opened only by setting its parent's value | - - === "children" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | - |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | - -??? api "" - A toggle button that opens a popup panel. Cannot contain tabs directly. - - === "modal" - - | property | type |default | description | - | --- | --- | --- | --- | - | | `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` | - | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | - | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | - | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | - - === "popup" - - | property | type |default | description | - | --- | --- | --- | --- | - | | `string`|
        `boolean` | "auto" | Alternative label for the modal popup | - | | `number`|
        `percentage` | "80%" | Modal popup's size | - | | `number`|
        `percentage` | "80%" | Modal popup's size | - | | `number`|
        `percentage` | "auto" | Modal popup's position | - | | `number`|
        `percentage` | "auto" | Modal popup's position | - - === "widget container" - - | property | type |default | description | - | --- | --- | --- | --- | - | | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - | | `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. | - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - | | `integer` | "" | Defines the modal's state:`0` for closed, `1` for opened | - - === "children" - - | property | type |default | description | - | --- | --- | --- | --- | - | | `array` | [] | Each element of the array must be a widget object | - -??? api "
        clone#
        " - Widget replication with overridable properties. - - === "clone" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        widgetId#
        | `string` | "" | `id` of the widget to clone | - |
        props#
        | `object` | \{} | Cloned widget's properties to override | - -??? api "
        matrix#
        " - Generic matrix for creating rows/columns of widgets. - - === "matrix" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | - |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | - |
        start#
        | `integer` | 0 | First widget's index | - |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | - - === "layout" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | - |
        innerPadding#
        | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | - -??? api "
        keyboard#
        " - Piano keyboard. - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        css#
        | `string` | "" | Available CSS variables:
        - `--color-white:color;` (white keys color)
        - `--color-black:color;` (black keys color) | - - === "keyboard" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        keys#
        | `number` | 25 | Defines the number keys | - |
        start#
        | `number` | 48 | MIDI note number to start with (default is C4)

        Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` | - |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | - |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | - |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | - |
        mode#
        | `string` | "push" | Interraction mode:
        - `push` (press & release)
        - `toggle` (on/off switches)
        - `tap` (no release)

        Choices: `push`, `toggle`, `tap` | - -??? api "
        patchbay#
        " - Connect inputs to outputs. - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        css#
        | `string` | "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:

        `.nodes { width: 25% }` | - - === "patchbay" - - | 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. 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`). | - -??? api "
        root#
        " - Main (unique) container - - === "panel" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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` or `auto` to limit affected widgets by the type of the first touched widget | - - === "widget container" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        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. | - - === "tab container" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | - - === "children" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | - |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | - -??? api "
        tab#
        " - Tabbed panel widget - - === "panel" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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` | - |
        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` or `auto` to limit affected widgets by the type of the first touched widget | - - === "widget container" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | - |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | - |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - |
        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. | - - === "tab container" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        verticalTabs#
        | `boolean` | false | Set to `true` to display for vertical tab layout | - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `integer` | "" | Defines currently widgeted tab in the widget

        A tab can be opened only by setting its parent's value | - - === "children" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | - |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | -## Frames - -??? api "
        frame#
        " - Embed a page in a frame (local network only). - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `string` | "" | External web page URL. | - -??? api "
        svg#
        " - Svg parser. - - === "svg" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        svg#
        | `string` | "" | Svg xml definition (will be wrapped in a `< svg />` element) | - -??? api "
        html#
        " - Simple HTML parser. - - === "html" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | - -??? api "
        image#
        " - Load a image (url or base64-encoded). - - === "image" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        size#
        | `string` | "cover" | CSS background-size | - |
        position#
        | `string` | "center" | CSS background-position | - |
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | - |
        cache#
        | `boolean` | true | 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" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` | -## Graphs - -??? api "
        plot#
        " - XY coordinates plot. - - === "plot" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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 (base 10). Set to a `number` to define the logarithm's base. | - |
        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. | - |
        dots#
        | `boolean` | false | Draw dots on the line | - |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | - -??? api "
        eq#
        " - Draws logarithmic frequency response from an array of filter objects. - - === "eq" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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 | - |
        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) | - |
        origin#
        | `number`|
        `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | - -??? api "
        visualizer#
        " - Display its value over time. - - === "visualizer" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        duration#
        | `number` | 1 | Defines visualization duration in seconds | - |
        framerate#
        | `number` | 30 | Defines visualization framerate | - |
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | - |
        origin#
        | `number` | "auto" | Defines the y axis origin. Set to `false` to disable it | - |
        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. | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | - |
        freeze#
        | `boolean` | false | Set to `true` to freeze current view and ignore incoming values | -## Indicators - -??? api "
        led#
        " - Intensity display. - - === "led" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`)

        Choices: `intensity`, `color` | - |
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | - |
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | - |
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | - |
        borderRadius#
        | `string` | "" | Css border-radius property. | - - === "value" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color | - -??? api "
        text#
        " - Display text. - - === "text" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | - |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically. | - |
        align#
        | `string` | "center" | Css text-align property.

        Choices: `center`, `left`, `right` | -## Pads - -??? api "
        xy#
        " - Two-dimensional slider. - - === "xy" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        pointSize#
        | `integer` | 20 | Defines the points' size | - |
        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 | - |
        ephemeral#
        | `boolean` | false | When set to `true`, the point will be drawn only chile touched. | - |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | - |
        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. | - |
        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` | - -??? api "
        rgb#
        " - Color picker with optional alpha slider. - - === "rgb" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        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 | - |
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | - |
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | - |
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. | - -??? api "
        multixy#
        " - Multi-point XY pad. - - === "multi xy" - - | 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']`) | - - === "xy" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        pointSize#
        | `integer` | 20 | Defines the points' size | - |
        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 | - |
        ephemeral#
        | `boolean` | false | When set to `true`, the points will be drawn only chile touched. | - |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its default value when released | - |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | - |
        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. | - |
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | -## Sliders - -??? api "
        fader#
        " - Vertical / horizontal slider. - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText`
        - `--knob-size`: `knobSize` | - - === "fader" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | - |
        knobSize#
        | `number` | "auto" | Fader knob size | - |
        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]` | - |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | - |
        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 | - |
        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}}`) | - |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | - |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | - -??? api "
        knob#
        " - Rotative knob slider. - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | - - === "knob" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        design#
        | `string` | "default" | Design style

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

        Choices: `default`, `solid`, `line` | - |
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Choices: `vertical`, `circular`, `snap` | - |
        spring#
        | `boolean` | false | When set to `true`, the widget will go back to its `default` value when released | - |
        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 | - |
        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 (`/ `) | - |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | - |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | - -??? api "
        encoder#
        " - A knob that sends a relative direction infomation instead of an absolute value. - - === "encoder" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | - |
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | - |
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | - |
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | - |
        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 (`/ `) | - - === "osc" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        touchAddress#
        | `string` | "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` | - -??? api "
        range#
        " - A fader with two heads for setting a range. - - === "style" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText`
        - `--knob-size`: `knobSize` | - - === "fader" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | - |
        knobSize#
        | `number` | "auto" | Fader knob size | - |
        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]` | - |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | - |
        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 | - |
        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}}`) | - |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | - |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | -## Scripts - -??? api "
        script#
        " - Evaluates a script each time it receives a value. - - === "script" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Choices: `value`, `keyboard` | - |
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | - - === "event: keyboard" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | - |
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | - |
        keyType#
        | `string` | "keydown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | - -??? api "
        variable#
        " - Receives / stores a value, to be used in scripts (using the get function) or in properties (using the @{} syntax). diff --git a/src/client/editor/index.js b/src/client/editor/index.js index da580538..47154731 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -39,7 +39,7 @@ class Editor { if ((propName === 'label' || propName === 'popupLabel') && value === true) { w.props[propName] = 'auto' } else { - w.props[propName] = value !== '' ? value : deepCopy(defaults[w.props.type][propName].value) + w.props[propName] = value !== '' ? value : deepCopy(defaults[w.props.type]._props()[propName]) } try { diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 9857e2a5..7e3eb5b3 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -18,7 +18,7 @@ class UiInspector extends UiWidget { this.mounted = false - this.expandedCategories = ['_widget'] + this.expandedCategories = ['widget'] this.widget = null @@ -114,65 +114,52 @@ class UiInspector extends UiWidget { this.widget = widget - let category + for (let categoryName in props) { - for (let propName in props) { + if (categoryName === 'children') continue - if (propName === '_children' || propName === 'tabs' || propName === 'widgets' || propName === '_props') continue + let category = html``, + categoryLabel = categoryName === 'class_specific' ? widget.props.type : categoryName - let field, - shared = true + category.appendChild(html` +
        ${categoryLabel}${categoryName === 'widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
        + `) - for (var w of widgets) { - if (defaults[w.props.type][propName] === undefined) { - shared = false + let notEmpty + + for (let propName in props[categoryName]) { + + // skip if property is not shared between selected widgets + if (widgets.some((w)=>{ + for (let c in defaults[w.props.type]) { + if (!defaults[w.props.type][c].hasOwnProperty(propName)) return false + } + })) continue + + let field = propName.includes('_separator') ? + html`
        ${props[categoryName][propName]}
        ` : + new UiInspectorField({ + parent: this, + widget: widget, + name: propName, + value: widget.props[propName], + default: defaults[widget.props.type][categoryName][propName], + tabIndex: tabIndex++ + }).container + + if (field) { + category.appendChild(field) + notEmpty = true } - } - - if (!shared) continue - - - if (propName.indexOf('_separator') > -1) { - - field = html`
        ${props[propName]}
        ` - - } else if (propName.indexOf('_') === 0) { - - if (category) content.appendChild(category) - - category = html`` - - field = html`
        ${props[propName]}${propName === '_widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
        ` - - } else if (widget.props[propName] === undefined) { - - continue - - } else { - - field = new UiInspectorField({ - parent: this, - widget: widget, - name: propName, - value: widget.props[propName], - default: defaults[w.props.type][propName], - tabIndex: tabIndex++ - }).container - - if (!field) continue } - if (category) { - category.appendChild(field) - } else { - content.appendChild(field) - } + if (notEmpty) { + content.appendChild(category) + } } - if (category) content.appendChild(category) - this.lock = true if (this.mounted) { diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index bac856f5..9af22b43 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -14,36 +14,37 @@ class Button extends Widget { static defaults() { - return super.defaults({ + return super.defaults(Button).extend({ + style: { + _separator_button_style: 'Button style', + colorTextOn: {type: 'string', value: 'auto', help: 'Defines the widget\'s text color when active.'}, + label: {type: 'string|boolean', value: 'auto', help: [ + '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`', + ]}, + vertical: {type: 'boolean', value: false, help: 'Set to `true` to display the text vertically'}, + wrap: {type: 'boolean', value: false, help: [ + 'Set to `true` to wrap long lines automatically.', + ]}, + }, + class_specific: { + on: {type: '*', value: 1, help: [ + 'Set to `null` to send send no argument in the osc message', + ]}, + off: {type: '*', value: 0, help: [ + 'Set to `null` to send send no argument in the osc message. Must be different from `on`.', + ]}, + mode: {type: 'string', value: 'toggle', choices: ['toggle', 'push', 'tap'], help: [ + 'Interraction mode:', + '- `toggle` (classic on/off switch)', + '- `push` (press & release)', + '- `tap` (no release)' + ]}, + doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the button require a double tap to be pushed instead of a single tap'}, - - _class_specific: 'button', - - label: {type: 'string|boolean', value: 'auto', help: [ - '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`', - ]}, - vertical: {type: 'boolean', value: false, help: 'Set to `true` to display the text vertically'}, - wrap: {type: 'boolean', value: false, help: [ - 'Set to `true` to wrap long lines automatically.', - ]}, - on: {type: '*', value: 1, help: [ - 'Set to `null` to send send no argument in the osc message', - ]}, - off: {type: '*', value: 0, help: [ - 'Set to `null` to send send no argument in the osc message. Must be different from `on`.', - ]}, - mode: {type: 'string', value: 'toggle', choices: ['toggle', 'push', 'tap'], help: [ - 'Interraction mode:', - '- `toggle` (classic on/off switch)', - '- `push` (press & release)', - '- `tap` (no release)' - ]}, - doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the button require a double tap to be pushed instead of a single tap'}, - colorTextOn: {type: 'string', value: 'auto', help: 'Defines the widget\'s text color when active.'}, - - }, [], {}, Button) + } + }) } diff --git a/src/client/widgets/basics/dropdown.js b/src/client/widgets/basics/dropdown.js index 97f1f637..d8389203 100644 --- a/src/client/widgets/basics/dropdown.js +++ b/src/client/widgets/basics/dropdown.js @@ -13,16 +13,17 @@ class Dropdown extends MenuBase { static defaults() { - return super.defaults({ - - _class_specific: 'dropdown', - - align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, - values: {type: 'array|object', value: {'Value 1':1,'Value 2':2}, 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', - ]} - + return super.defaults().extend({ + style: { + _separator_dropdown_style: 'Dropdown style', + align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, + }, + class_specific: { + values: {type: 'array|object', value: {'Value 1':1,'Value 2':2}, 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', + ]} + } }) } diff --git a/src/client/widgets/basics/file.js b/src/client/widgets/basics/file.js index ffc760f3..d05f369d 100644 --- a/src/client/widgets/basics/file.js +++ b/src/client/widgets/basics/file.js @@ -12,16 +12,17 @@ module.exports = class File extends Widget { static defaults() { - return super.defaults({ - - _class_specific: 'file', - - align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, - directory: {type: 'string', value: 'auto', help: 'Default browsing directory'}, - extension: {type: 'string', value: '*', help: 'Only display files with this extension'}, - hidePath: {type: 'boolean', value: false, help: 'Set to `true` to only display the filename (the whole path will still be used as value)'}, - allowDir: {type: 'boolean', value: false, help: 'Allow selecting a folder (by pressing "open" when no file is selected)'} - + return super.defaults().extend({ + style: { + _separator_file_style: 'File style', + align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, + hidePath: {type: 'boolean', value: false, help: 'Set to `true` to only display the filename (the whole path will still be used as value)'}, + }, + class_specific: { + directory: {type: 'string', value: 'auto', help: 'Default browsing directory'}, + extension: {type: 'string', value: '*', help: 'Only display files with this extension'}, + allowDir: {type: 'boolean', value: false, help: 'Allow selecting a folder (by pressing "open" when no file is selected)'} + } }) } diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 8e267277..eac66e36 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -12,14 +12,15 @@ class Input extends Canvas { static defaults() { - return super.defaults({ - - _class_specific: 'input', - - align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, - unit: {type: 'string', value: '', help: 'Unit will be appended to the displayed widget\'s value (it doesn\'t affect osc messages)'}, - asYouType: {type: 'boolean', value: false, help: 'Set to `true` to make the input send its value at each keystroke'} - + return super.defaults().extend({ + style: { + _separator_input_style: 'Input style', + align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, + unit: {type: 'string', value: '', help: 'Unit will be appended to the displayed widget\'s value (it doesn\'t affect osc messages)'}, + }, + class_specific: { + asYouType: {type: 'boolean', value: false, help: 'Set to `true` to make the input send its value at each keystroke'} + } }) } diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index 46b5cdd6..a79c5f92 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -14,32 +14,36 @@ class Menu extends MenuBase { static defaults() { - return super.defaults({ - - _class_specific: 'menu', - - size: {type: 'number|array', value: 200, help: [ - '- If `layout` is `circular`: diameter (in px)', - '- Else: square size or `[width, height]` array', - ]}, - textAlign: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, - menuAlignV: {type: 'string', value: 'center', choices: ['center', 'top', 'bottom'], help: 'Set to `top` or `bottom` to change menu alignment (otherwise center)'}, - menuAlignH: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change menu alignment (otherwise center)'}, - layout: {type: 'string', value: 'circular', choices: ['circular', 'horizontal', 'vertical', 'grid'], help: [ - 'Defines whether the menu\'s layout should be rendered in a circle or in a box' - ]}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - 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'}, - 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', - ]}, - weights: {type: 'array', value: '', help: [ - '`Array` of `number` defining the weights of each value in `values`', - 'Ignored when `mode` is `grid`' - ]}, - + return super.defaults().extend({ + geometry: { + _separator_menu_geometry: 'Menu geometry', + size: {type: 'number|array', value: 200, help: [ + '- If `layout` is `circular`: diameter (in px)', + '- Else: square size or `[width, height]` array', + ]}, + }, + style: { + _separator_menu_style: 'Menu style', + textAlign: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, + menuAlignV: {type: 'string', value: 'center', choices: ['center', 'top', 'bottom'], help: 'Set to `top` or `bottom` to change menu alignment (otherwise center)'}, + menuAlignH: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change menu alignment (otherwise center)'}, + layout: {type: 'string', value: 'circular', choices: ['circular', 'horizontal', 'vertical', 'grid'], help: [ + 'Defines whether the menu\'s layout should be rendered in a circle or in a box' + ]}, + gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, + }, + 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'}, + 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', + ]}, + weights: {type: 'array', value: '', help: [ + '`Array` of `number` defining the weights of each value in `values`', + 'Ignored when `mode` is `grid`' + ]}, + } }) } diff --git a/src/client/widgets/basics/switch.js b/src/client/widgets/basics/switch.js index adef332d..ae12584f 100644 --- a/src/client/widgets/basics/switch.js +++ b/src/client/widgets/basics/switch.js @@ -13,25 +13,26 @@ class Switch extends MenuBase { static defaults() { - return super.defaults({ - - _class_specific: 'switch', - - layout: {type: 'string', value: 'vertical', choices: ['vertical', 'horizontal', 'grid'], help:''}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - values: {type: 'array|object', value: {'Value 1':1,'Value 2':2}, 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', - ]}, - mode: {type: 'string', value: 'tap', choices: ['tap', 'slide', 'click'], help: [ - 'Interraction mode:', - '- `tap`: activates when the pointer is down but prevents further scrolling', - '- `slide`: same as `tap` but allows sliding between values', - '- `click`: activates upon click only and allows further scrolling', - ]}, - colorTextOn: {type: 'string', value: 'auto', help: 'Defines the widget\'s text color when active.'}, - - }, [], {}, Switch) + return super.defaults(Switch).extend({ + style: { + _separator_switch_style: 'Switch style', + colorTextOn: {type: 'string', value: 'auto', help: 'Defines the widget\'s text color when active.'}, + layout: {type: 'string', value: 'vertical', choices: ['vertical', 'horizontal', 'grid'], help:''}, + gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, + }, + class_specific: { + values: {type: 'array|object', value: {'Value 1':1,'Value 2':2}, 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', + ]}, + mode: {type: 'string', value: 'tap', choices: ['tap', 'slide', 'click'], help: [ + 'Interraction mode:', + '- `tap`: activates when the pointer is down but prevents further scrolling', + '- `slide`: same as `tap` but allows sliding between values', + '- `click`: activates upon click only and allows further scrolling', + ]}, + } + }) } @@ -121,7 +122,7 @@ class Switch extends MenuBase { super.setCssVariables() - this.container.classList.toggle('padding-0', this.getProp('padding') === -1) + this.container.classList.toggle('padding-0', this.getProp('padding') === -1) } } diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 2e2334ee..3be66877 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -43,124 +43,117 @@ class Widget extends EventEmitter { } - static defaults(insert={}, except=[], push={}, Class=Widget) { + static defaults(Class=Widget) { var defaults = { + widget: { + type: {type: 'string', value: 'auto', help: 'Widget type'}, + id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, + visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, + interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, + }, + geometry: { + left: {type: 'number|string', value: 'auto', help: [ + '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 absolutely positioned' + ]}, + top: {type: 'number|percentage', value: 'auto', help: [ + '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 absolutely positioned' + ]}, + 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.'}, + }, + style: { + colorText: {type: 'string', value: 'auto', help: 'Text color. Set to "auto" to inherit from parent widget.'}, + colorWidget: {type: 'string', value: 'auto', help: 'Widget\'s default accent color. Set to "auto" to inherit from parent widget.'}, + colorStroke: {type: 'string', value: 'auto', help: 'Stroke color. Set to "auto" to use `colorWidget`.'}, + colorFill: {type: 'string', value: 'auto', help: 'Fill color. Set to "auto" to use `colorWidget`.'}, + alphaStroke: {type: 'number', value: 'auto', help: 'Stroke color opacity.'}, + alphaFillOff: {type: 'number', value: 'auto', help: 'Fill color opacity (off).'}, + alphaFillOn: {type: 'number', value: 'auto', help: 'Fill color opacity (on).'}, + lineWidth: {type: 'number', value: 'auto', help: 'Stroke width.'}, + padding: {type: 'number', value: 'auto', help: 'Inner spacing.'}, + css: {type: 'string', value: '', help: [ + 'CSS rules. See documentation.', + 'Available css variables:', + ...Class.cssVariables.map(x=>'- `' + x.css + '`: `' + x.js + '`') + ]}, + }, + class_specific: { - _widget: 'widget', - - type: {type: 'string', value: 'auto', help: 'Widget type'}, - id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, - visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, - interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, - - _geometry: 'geometry', - - left: {type: 'number|string', value: 'auto', help: [ - '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 absolutely positioned' - ]}, - top: {type: 'number|percentage', value: 'auto', help: [ - '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 absolutely positioned' - ]}, - 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.'}, - - _style: 'style', - - - colorText: {type: 'string', value: 'auto', help: 'Text color. Set to "auto" to inherit from parent widget.'}, - colorWidget: {type: 'string', value: 'auto', help: 'Widget\'s default accent color. Set to "auto" to inherit from parent widget.'}, - colorStroke: {type: 'string', value: 'auto', help: 'Stroke color. Set to "auto" to use `colorWidget`.'}, - colorFill: {type: 'string', value: 'auto', help: 'Fill color. Set to "auto" to use `colorWidget`.'}, - alphaStroke: {type: 'number', value: 'auto', help: 'Stroke color opacity.'}, - alphaFillOff: {type: 'number', value: 'auto', help: 'Fill color opacity (off).'}, - alphaFillOn: {type: 'number', value: 'auto', help: 'Fill color opacity (on).'}, - - lineWidth: {type: 'number', value: 'auto', help: 'Stroke width.'}, - padding: {type: 'number', value: 'auto', help: 'Inner spacing.'}, - - - - css: {type: 'string', value: '', help: [ - 'CSS rules. See documentation.', - 'Available css variables:', - ...Class.cssVariables.map(x=>'- `' + x.css + '`: `' + x.js + '`') - ]}, - - _value: 'value', - - value: {type: '*', value: '', help: 'Define the widget\'s value depending on other widget\'s values / properties using the advanced property syntax'}, - default: {type: '*', value: '', help: 'If set, the widget will be initialized with this value when the session is loaded.'}, - linkId: {type: 'string|array', value: '', help: [ - 'Widgets sharing the same `linkId` update each other\'s value(s) AND send their respective osc messages.', - 'When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)', - 'When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending)' - ]}, - script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s value updates. See documentation.'}, - - _osc: 'osc', - - address: {type: 'string', value: 'auto', help: [ - 'OSC address for sending / receiving messages, it must start with a slash (`/`)', - 'By default ("auto"), the widget\'s id is used: `/widget_id`', - ]}, - preArgs: {type: '*|array', value: '', help: [ - 'A value or array of values that will be prepended to the OSC messages.', - ]}, - typeTags: {type: 'string', value: '', help: [ - 'Defines the osc argument types, one letter per argument (including preArgs)', - '- If empty, the types are infered automatically from the values (with numbers casted to floats by default)', - '- If there are more arguments than type letters, the last type is used for the extra arguments', - 'See http://opensoundcontrol.org/spec-1_0 for existing typetags' - ]}, - decimals: {type: 'integer', value: 2, help: [ - 'Defines the number of decimals to send.', - ]}, - target: {type: 'string|array|null', value: '', help: [ - 'This defines the targets of the widget\'s OSC messages', - '- A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`', - '- If midi is enabled, targets can be `midi:device_name`', - '- If no target is set, messages can still be sent if the server has default targets', - ]}, - ignoreDefaults: {type: 'boolean', value: false, help: 'Set to `true` to ignore the server\'s default targets'}, - bypass: {type: 'boolean', value: false, help: 'Set to `true` to prevent the widget from sending any osc message'} - - } - - // okay that's bad, but keys happen to be ordered anyway... - - var alterDefaults = {} - - for (var k in defaults) { - if (k === '_value') { - for (var l in insert) { - alterDefaults[l] = insert[l] - } + }, + value: { + value: {type: '*', value: '', help: 'Define the widget\'s value depending on other widget\'s values / properties using the advanced property syntax'}, + default: {type: '*', value: '', help: 'If set, the widget will be initialized with this value when the session is loaded.'}, + linkId: {type: 'string|array', value: '', help: [ + 'Widgets sharing the same `linkId` update each other\'s value(s) AND send their respective osc messages.', + 'When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)', + 'When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending)' + ]}, + script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s value updates. See documentation.'}, + }, + osc: { + address: {type: 'string', value: 'auto', help: [ + 'OSC address for sending / receiving messages, it must start with a slash (`/`)', + 'By default ("auto"), the widget\'s id is used: `/widget_id`', + ]}, + preArgs: {type: '*|array', value: '', help: [ + 'A value or array of values that will be prepended to the OSC messages.', + ]}, + typeTags: {type: 'string', value: '', help: [ + 'Defines the osc argument types, one letter per argument (including preArgs)', + '- If empty, the types are infered automatically from the values (with numbers casted to floats by default)', + '- If there are more arguments than type letters, the last type is used for the extra arguments', + 'See http://opensoundcontrol.org/spec-1_0 for existing typetags' + ]}, + decimals: {type: 'integer', value: 2, help: [ + 'Defines the number of decimals to send.', + ]}, + target: {type: 'string|array|null', value: '', help: [ + 'This defines the targets of the widget\'s OSC messages', + '- A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`', + '- If midi is enabled, targets can be `midi:device_name`', + '- If no target is set, messages can still be sent if the server has default targets', + ]}, + ignoreDefaults: {type: 'boolean', value: false, help: 'Set to `true` to ignore the server\'s default targets'}, + bypass: {type: 'boolean', value: false, help: 'Set to `true` to prevent the widget from sending any osc message'} } - if (except.indexOf(k) < 0) alterDefaults[k] = defaults[k] } - for (var m in push) { - if (!alterDefaults[m]) alterDefaults[m] = [] - if (typeof push[m] === 'string') alterDefaults[m] = push[m] - else Object.assign(alterDefaults[m], push[m]) - } - - alterDefaults._props = function() { - var props = {} - for (var k in this) { - if (k[0] !== '_') { - props[k] = this[k].value + Object.defineProperty(defaults, '_props', { + enumerable: false, + value: function(){ + let props = {} + for (let category in this) { + for (let k in this[category]) { + if (k[0] === '_') continue + props[k] = this[category][k].value + } } + return props } - return props - } + }) + Object.defineProperty(defaults, 'extend', { + enumerable: false, + value: function(obj){ + for (let i in obj) { + 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] + } + } + } + return this + } + }) - return alterDefaults + return defaults } diff --git a/src/client/widgets/containers/clone.js b/src/client/widgets/containers/clone.js index 7a00331a..6a7b2d50 100644 --- a/src/client/widgets/containers/clone.js +++ b/src/client/widgets/containers/clone.js @@ -18,19 +18,19 @@ class Clone extends Container() { static defaults() { - return super.defaults({ + var defaults = super.defaults().extend({ - _class_specific: 'clone', + class_specific: { + widgetId: {type: 'string', value: '', help: '`id` of the widget to clone'}, + props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'}, + }, + value: null, + osc: null + }) + + defaults.style = {css: defaults.style.css} - widgetId: {type: 'string', value: '', help: '`id` of the widget to clone'}, - props: {type: 'object', value: {}, help: 'Cloned widget\'s properties to override'}, - - }, [ - 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn', 'padding', 'lineWidth', - 'label', 'color', - '_value', 'default', 'value', 'script', 'linkId', - '_osc', 'decimals', 'address', 'preArgs', 'typeTags', 'target', 'ignoreDefaults', 'bypass' - ]) + return defaults } diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index 27711a84..01cfa1fe 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -3,7 +3,7 @@ var Panel = require('./panel'), parser = require('../../parser') -module.exports = class Keyboard extends Panel { +class Keyboard extends Panel { static description() { @@ -13,39 +13,34 @@ module.exports = class Keyboard extends Panel { static defaults() { - return Widget.defaults({ - - _class_specific: 'keyboard', - - keys: {type: 'number', value: 25, help: 'Defines the number keys'}, - start: {type: 'number', value: 48, help: [ - 'MIDI note number to start with (default is C4)', - 'Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]`' - ]}, - traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, - on: {type: '*', value: 1, help: [ - 'Set to `null` to send send no argument in the osc message', - 'Can be an `object` if the type needs to be specified (see preArgs)' - ]}, - off: {type: '*', value: 0, help: [ - 'Set to `null` to send send no argument in the osc message', - 'Can be an `object` if the type needs to be specified (see preArgs)' - ]}, - mode: {type: 'string', value: 'push', choices: ['push', 'toggle', 'tap'], help: [ - 'Interraction mode:', - '- `push` (press & release)', - '- `toggle` (on/off switches)', - '- `tap` (no release)' - ]}, - - }, [], { - - css: {type: 'string', value: '', help: [ - 'Available CSS variables:', - '- `--color-white:color;` (white keys color)', - '- `--color-black:color;` (black keys color)' - ]} - + return Widget.defaults().extend({ + style: { + _separator_keyboard_style: 'Keyboard style', + colorWhite: {type: 'string', value: 'auto', help: 'White keys color.'}, + colorBlack: {type: 'string', value: 'auto', help: 'Black keys color.'}, + }, + class_specific: { + keys: {type: 'number', value: 25, help: 'Defines the number keys'}, + start: {type: 'number', value: 48, help: [ + 'MIDI note number to start with (default is C4)', + 'Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]`' + ]}, + traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, + on: {type: '*', value: 1, help: [ + 'Set to `null` to send send no argument in the osc message', + 'Can be an `object` if the type needs to be specified (see preArgs)' + ]}, + off: {type: '*', value: 0, help: [ + 'Set to `null` to send send no argument in the osc message', + 'Can be an `object` if the type needs to be specified (see preArgs)' + ]}, + mode: {type: 'string', value: 'push', choices: ['push', 'toggle', 'tap'], help: [ + 'Interraction mode:', + '- `push` (press & release)', + '- `toggle` (on/off switches)', + '- `tap` (no release)' + ]}, + } }) } @@ -125,3 +120,10 @@ module.exports = class Keyboard extends Panel { } } + +Keyboard.cssVariables = Keyboard.prototype.constructor.cssVariables.concat( + {js: 'colorWhite', css: '--color-white-key'}, + {js: 'colorBlack', css: '--color-black-key'} +) + +module.exports = Keyboard diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index a98365a3..b9af5862 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -1,11 +1,10 @@ var Panel = require('./panel'), - Widget = require('../common/widget'), StaticProperties = require('../mixins/static_properties'), parser = require('../../parser'), {deepCopy} = require('../../utils') -class Matrix extends StaticProperties(Panel, {scroll: false}) { +class Matrix extends StaticProperties(Panel) { static description() { @@ -15,28 +14,22 @@ class Matrix extends StaticProperties(Panel, {scroll: false}) { static defaults() { - return Widget.defaults({ - - _class_specific: 'matrix', - - colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, - 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'}, - start: {type: 'integer', value: 0, help: 'First widget\'s index'}, - props: {type: 'object', value: {}, help: [ - 'Defines a set of property to override the widgets\' defaults.', - 'Formulas in this field are resolved with an extra variable representing each widget\'s index: `$`', - 'Note: by default, the widgets inherit from the matrix\' `id` and osc properties (`id` and `address` are appended with `/$`)' - ]}, - - _separator: 'layout', - - layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, - 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.'}, - - }, [], {}) + return super.defaults().extend({ + 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'}, + start: {type: 'integer', value: 0, help: 'First widget\'s index'}, + props: {type: 'object', value: {}, help: [ + 'Defines a set of property to override the widgets\' defaults.', + 'Formulas in this field are resolved with an extra variable representing each widget\'s index: `$`', + 'Note: by default, the widgets inherit from the matrix\' `id` and osc properties (`id` and `address` are appended with `/$`)' + ]}, + }, + style: { + layout: {type: 'string', value: 'horizontal', choices: ['horizontal', 'vertical', 'grid'], help: 'Defines how children are laid out.'}, + verticalTabs: null, + } + }) } diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 1ce0b79b..4ce7b4b3 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -1,5 +1,4 @@ var Panel = require('./panel'), - Widget = require('../common/widget'), {icon, iconify} = require('../../ui/utils'), resize = require('../../events/resize'), doubletab = require('../mixins/double_tap'), @@ -16,45 +15,35 @@ class Modal extends Panel { static defaults() { - return Widget.defaults({ - - _class_specific: 'modal', - - colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, - label: {type: 'string|boolean', value: 'auto', help: [ - '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`', - ]}, - doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the modal require a double tap to open instead of a single tap'}, - variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, - - _separator: 'popup', - - popupLabel: {type: 'string|boolean', value: 'auto', help: 'Alternative label for the modal popup'}, - popupWidth: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, - popupHeight: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, - popupLeft: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, - popupTop: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, - - _separator1: 'widget container', - - layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help: 'Defines how children are laid out.'}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - 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.'}, - - }, [], { - - _children: 'children', - - widgets: {type: 'array', value: [], help: 'Each element of the array must be a widget object'}, - value: {type: 'integer', value: '', help: [ - 'Defines the modal\'s state:`0` for closed, `1` for opened' - ]}, - + return super.defaults().extend({ + class_specific: { + doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the modal require a double tap to open instead of a single tap'}, + }, + geometry: { + _separator_modal_geometry: 'Modal geometry', + popupWidth: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, + popupHeight: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'}, + popupLeft: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, + popupTop: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'}, + }, + style: { + _separator_modal_style: 'Modal style', + label: {type: 'string|boolean', value: 'auto', help: [ + '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`', + ]}, + popupLabel: {type: 'string|boolean', value: 'auto', help: 'Alternative label for the modal popup'}, + verticalTabs: null, + }, + children: { + tab: null + }, + value: { + value: {type: 'integer', value: '', help: [ + 'Defines the modal\'s state:`0` for closed, `1` for opened' + ]}, + } }) } diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 118c0f28..1a0c7c3d 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -15,42 +15,34 @@ class Panel extends Container() { static defaults() { - return super.defaults({ - - _class_specific: 'panel', - - colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, - variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, - - _separator1: 'widget container', - - layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, - justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - 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.'}, - - _separator2: 'tab container', - - verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, - - }, [], { - - _children: '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'}, - - value: {type: 'integer', value: '', help: [ - 'Defines currently selected tab in the widget', - 'A tab can be opened only by setting its parent\'s value' - ]}, - + return super.defaults().extend({ + class_specific: { + variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, + traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, + }, + style: { + _separator_panel_style: 'Panel style', + colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, + layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, + justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, + gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, + 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'}, + }, + value: { + value: {type: 'integer', value: '', help: [ + 'Defines currently selected tab in the widget', + 'A tab can be opened only by setting its parent\'s value' + ]} + }, + 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'}, + } }) - } constructor(options) { diff --git a/src/client/widgets/containers/patchbay.js b/src/client/widgets/containers/patchbay.js index 12703ef6..e2a7e429 100644 --- a/src/client/widgets/containers/patchbay.js +++ b/src/client/widgets/containers/patchbay.js @@ -10,8 +10,10 @@ class PatchBayNode extends Widget { static defaults() { - return super.defaults({ - label: {type: 'string', value: ''} + return super.defaults().extend({ + style: { + label: {type: 'string', value: ''} + } }) } @@ -71,27 +73,25 @@ class PatchBay extends Container(Canvas) { static defaults() { - return super.defaults({ - - _class_specific: 'patchbay', - - 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. 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: {type: 'array|object', value: ['output_1', 'output_2'], help: 'List of output values the inputs can connect to (see `inputs`).'}, - - }, [], { - - css: {type: 'string', value: '', help: [ - 'The inputs/ouputs width can be adjusted by using the `.nodes` selector:', - '`.nodes { width: 25% }`', - ]} + return super.defaults().extend({ + style: { + css: {type: 'string', value: '', help: [ + 'The inputs/ouputs width can be adjusted by using the `.nodes` selector:', + '`.nodes { width: 25% }`', + ]} + }, + 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. 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: {type: 'array|object', value: ['output_1', 'output_2'], help: 'List of output values the inputs can connect to (see `inputs`).'}, + } }) } diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 0e03956c..467dbc95 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -1,5 +1,4 @@ var Panel = require('./panel'), - Widget = require('../common/widget'), StaticProperties = require('../mixins/static_properties') class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'root'}) { @@ -12,43 +11,21 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro static defaults() { - return Widget.defaults({ - - _class_specific: 'panel', - - colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, - variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, - - _separator1: 'widget container', - - layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, - justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - 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.'}, - - _separator2: 'tab container', - - verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, - - }, [ - 'visible', 'label', - 'left', 'top', 'expand', - 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', - ], { - - _children:'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'}, - - value: {type: 'integer', value: '', help: [ - 'Defines currently widgeted tab in the widget', - 'A tab can be opened only by setting its parent\'s value' - ]}, - + return super.defaults().extend({ + widgets: { + visible: null, + }, + geometry: { + left: null, + top: null, + expand: null, + }, + style: { + colorFill: null, + colorStroke: null, + alphaStroke: null, + alphaFillOff: null, + } }) } diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index d634728e..ebf38dcb 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -1,5 +1,4 @@ var Panel = require('./panel'), - Widget = require('../common/widget'), resize = require('../../events/resize'), {iconify} = require('../../ui/utils') @@ -13,49 +12,20 @@ class Tab extends Panel { static defaults() { - return Widget.defaults({ - - - _class_specific: 'panel', - - colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'}, - label: {type: 'string|boolean', value: 'auto', help: [ - '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`', - ]}, - variables: {type: '*', value: '@{parent.variables}', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'}, - traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'}, - // detached: {type: 'boolean', value: true, help: 'Set to `false` if the tab contains `frame` widgets that should not be reloaded when the tab opens'}, - - _separator1: 'widget container', - - layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'}, - justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'}, - gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'}, - 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.'}, - - _separator2: 'tab container', - - verticalTabs: {type: 'boolean', value: false, help: 'Set to `true` to display for vertical tab layout'}, - - }, [ - '_geometry', 'left', 'top', 'width', 'height', 'expand', - 'colorStroke', 'alphaStroke', 'alphaFillOff', 'alphaFillOn' - ], { - - _children:'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'}, - - value: {type: 'integer', value: '', help: [ - 'Defines currently widgeted tab in the widget', - 'A tab can be opened only by setting its parent\'s value' - ]}, - + return super.defaults().extend({ + geometry: null, + style: { + _separator_tab_style: 'Tab style', + label: {type: 'string|boolean', value: 'auto', help: [ + '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`', + ]}, + colorStroke: null, + alphaStroke: null, + alphaFillOff: null, + alphaFillOn: null, + } }) } @@ -87,7 +57,6 @@ class Tab extends Panel { hide() { if (this.detached) return - if (this.getProp('detached')) this.container.removeChild(this.widget) this.container.classList.remove('show') this.detached = true this.setVisibility() @@ -95,7 +64,6 @@ class Tab extends Panel { show() { if (!this.detached) return - if (this.getProp('detached')) this.container.appendChild(this.widget) this.container.classList.add('show') this.detached = false this.setVisibility() diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 01b05494..87821e1a 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -13,14 +13,18 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { static defaults() { - return super.defaults({ - - }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], { - - value: {type: 'string', value: '', help: [ - 'External web page URL.', - ]} - + return super.defaults().extend({ + value: { + value: {type: 'string', value: '', help: [ + 'External web page URL.', + ]} + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } }) } diff --git a/src/client/widgets/frames/html.js b/src/client/widgets/frames/html.js index fc36d477..81bb5ccd 100644 --- a/src/client/widgets/frames/html.js +++ b/src/client/widgets/frames/html.js @@ -23,21 +23,25 @@ class Html extends StaticProperties(Widget, {bypass: true}) { static defaults() { - return super.defaults({ - - _class_specific: 'html', - - html: {type: 'string', value: '', help: [ - 'Allowed HTML tags:', - '  h1-6, blockquote, p, a, ul, ol, nl, li,', - '  b, i, strong, em, strike, code, hr, br, div,', - '  table, thead, img, caption, tbody, tr, th, td, pre', - 'Allowed attributes:', - '  <*>: class, style, title', - '  : src, width, height', - ]}, - - }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {}) + return super.defaults().extend({ + class_specific: { + html: {type: 'string', value: '', help: [ + 'Allowed HTML tags:', + '  h1-6, blockquote, p, a, ul, ol, nl, li,', + '  b, i, strong, em, strike, code, hr, br, div,', + '  table, thead, img, caption, tbody, tr, th, td, pre', + 'Allowed attributes:', + '  <*>: class, style, title', + '  : src, width, height', + ]}, + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } + }) } diff --git a/src/client/widgets/frames/image.js b/src/client/widgets/frames/image.js index 61f46074..005076d8 100644 --- a/src/client/widgets/frames/image.js +++ b/src/client/widgets/frames/image.js @@ -13,25 +13,31 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) { static defaults() { - return super.defaults({ - - _class_specific: 'image', - - size: {type: 'string', value: 'cover', help: 'CSS background-size'}, - position: {type: 'string', value: 'center', help: 'CSS background-position'}, - repeat: {type: 'string', value: 'no-repeat', help: 'CSS background-repeat'}, - cache: {type: 'boolean', value: true, help: [ - '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' - ]} - - }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], { - - value: {type: 'string', value: '', help: [ - '- File `url` or `path` (relative to the session file location by default, falling back to absolute path)', - '- Base64 encoded image : `data:image/...`' - ]} - + return super.defaults().extend({ + style: { + _separator_image_style: 'Image style', + size: {type: 'string', value: 'cover', help: 'CSS background-size'}, + position: {type: 'string', value: 'center', help: 'CSS background-position'}, + repeat: {type: 'string', value: 'no-repeat', help: 'CSS background-repeat'}, + }, + class_specific: { + cache: {type: 'boolean', value: true, help: [ + '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: { + value: {type: 'string', value: '', help: [ + '- File `url` or `path` (relative to the session file location by default, falling back to absolute path)', + '- Base64 encoded image : `data:image/...`' + ]} + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } }) } diff --git a/src/client/widgets/frames/svg.js b/src/client/widgets/frames/svg.js index 83b3f5db..2a886536 100644 --- a/src/client/widgets/frames/svg.js +++ b/src/client/widgets/frames/svg.js @@ -14,15 +14,19 @@ class Svg extends StaticProperties(Widget, {bypass: true}) { static defaults() { - return super.defaults({ - - _class_specific: 'svg', - - svg: {type: 'string', value: '', help: [ - 'Svg xml definition (will be wrapped in a `< svg />` element)', - ]}, - - }, ['decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {}) + return super.defaults().extend({ + class_specific: { + svg: {type: 'string', value: '', help: [ + 'Svg xml definition (will be wrapped in a `< svg />` element)', + ]}, + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } + }) } diff --git a/src/client/widgets/graphs/eq.js b/src/client/widgets/graphs/eq.js index fd381f6d..343a667d 100644 --- a/src/client/widgets/graphs/eq.js +++ b/src/client/widgets/graphs/eq.js @@ -1,6 +1,5 @@ var {mapToScale} = require('../utils'), Plot = require('./plot'), - Widget = require('../common/widget'), StaticProperties = require('../mixins/static_properties') class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smooth:true}) { @@ -13,26 +12,33 @@ class Eq extends StaticProperties(Plot, {logScaleX: false, logScaleY:false, smoo static defaults() { - return Widget.defaults({ + return super.defaults().extend({ + widget: { + interaction: null + }, + class_specific: { + filters: {type: 'array', value: '', help: [ + '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' - _class_specific: 'eq', - - filters: {type: 'array', value: '', help: [ - '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: {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)'}, - 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'}, - - }, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults']) + ]}, + 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)'}, + 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'}, + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } + }) } diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index a20467b0..32f28f20 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -13,29 +13,46 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte static defaults() { + return super.defaults().extend({ + widget: { + interaction: null + }, + style: { + _separator_plot_style: 'Plot style', + dots: {type: 'boolean', value: false, help: 'Draw dots on the line'}, + bars: {type: 'boolean', value: false, help: 'Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing)'}, + pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, + }, + class_specific: { + filters: {type: 'array', value: '', help: [ + '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' - return super.defaults({ - - _class_specific: 'plot', - - 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 (base 10). Set to a `number` to define the logarithm\'s base.'}, - logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, - origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it.'}, - dots: {type: 'boolean', value: false, help: 'Draw dots on the line'}, - bars: {type: 'boolean', value: false, help: 'Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing)'}, - pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, - - }, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults'], { - - value: {type: 'array|string', value: '', help: [ - '- `Array` of `y` values', - '- `Array` of `[x, y]` `array` values', - '- `String` `array`', - '- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points\' coordinates', - ]} - + ]}, + 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)'}, + 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'}, + }, + value: { + value: {type: 'array|string', value: '', help: [ + '- `Array` of `y` values', + '- `Array` of `[x, y]` `array` values', + '- `String` `array`', + '- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points\' coordinates', + ]} + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } }) } diff --git a/src/client/widgets/graphs/visualizer.js b/src/client/widgets/graphs/visualizer.js index e139259d..cb1aafa3 100644 --- a/src/client/widgets/graphs/visualizer.js +++ b/src/client/widgets/graphs/visualizer.js @@ -1,5 +1,4 @@ var {clip} = require('../utils'), - Widget = require('../common/widget'), Plot = require('./plot'), StaticProperties = require('../mixins/static_properties'), canvasQueue = require('../common/queue') @@ -15,19 +14,29 @@ class Visualizer extends StaticProperties(Plot, {rangeX: {min: '', max: ''}, dot static defaults() { - return Widget.defaults({ - - _class_specific: 'visualizer', - - duration: {type: 'number', value: 1, help: 'Defines visualization duration in seconds'}, - framerate: {type: 'number', value: 30, help: 'Defines visualization framerate'}, - rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, - origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'}, - logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, - pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, - freeze: {type: 'boolean', value: false, help: 'Set to `true` to freeze current view and ignore incoming values'} - - }, ['interaction', 'decimals', 'typeTags', 'bypass', 'ignoreDefaults'], {}) + return super.defaults().extend({ + widget: { + interaction: null + }, + style: { + _separator_visualizer_style: 'Visualizer style', + pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, + }, + class_specific: { + duration: {type: 'number', value: 1, help: 'Defines visualization duration in seconds'}, + framerate: {type: 'number', value: 30, help: 'Defines visualization framerate'}, + rangeY: {type: 'object', value: {min:0,max:1}, help: 'Defines the min and max values for the y axis'}, + origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it'}, + logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, + freeze: {type: 'boolean', value: false, help: 'Set to `true` to freeze current view and ignore incoming values'} + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } + }) } diff --git a/src/client/widgets/index.js b/src/client/widgets/index.js index c201c795..2a40455a 100644 --- a/src/client/widgets/index.js +++ b/src/client/widgets/index.js @@ -38,7 +38,7 @@ module.exports.widgets = { xy: require('./pads/xy'), rgb: require('./pads/rgb'), multixy: require('./pads/multixy'), - canvas: require('./pads/canvas'), + // canvas: require('./pads/canvas'), // sliders fader: require('./sliders/fader'), diff --git a/src/client/widgets/indicators/led.js b/src/client/widgets/indicators/led.js index 1aca0b1d..4f8b43f7 100644 --- a/src/client/widgets/indicators/led.js +++ b/src/client/widgets/indicators/led.js @@ -13,27 +13,36 @@ module.exports = class Led extends StaticProperties(Widget, {bypass: true, inter static defaults() { - return super.defaults({ - - _class_specific: 'led', - - mode: {type: 'string', value: 'intensity', choices: ['intensity', 'color'], help: 'Defines how value is interpreted (see `value`)'}, - range: {type: 'object', value: {min:0, max:1}, help: 'Value range'}, - alphaRange: {type: 'object', value: {min:0, max:1}, help: 'Alpha range (if `mode` is `color`)'}, - logScale: {type: 'boolean', value: false, help: 'If `mode` is `intensity`, set to `true` to use logarithmic scale.'}, - borderRadius: {type: 'string', value: '', help: 'Css border-radius property.'}, - - }, ['interaction', 'decimals', 'bypass', 'ignoreDefaults'], { - - value: {type: 'number|array|string', value: '', help: [ - 'If `mode` is `intensity`:', - '- `Number`: `intensity` between `range.min` and `range.max`', - 'If `mode` is `color`:', - '- `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)', - '- `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)', - '- `String`: CSS color', - ]} - + return super.defaults().extend({ + widget: { + interaction: null + }, + style: { + _separator_led_style: 'Led style', + borderRadius: {type: 'string', value: '', help: 'Css border-radius property.'}, + }, + class_specific: { + mode: {type: 'string', value: 'intensity', choices: ['intensity', 'color'], help: 'Defines how value is interpreted (see `value`)'}, + range: {type: 'object', value: {min:0, max:1}, help: 'Value range'}, + alphaRange: {type: 'object', value: {min:0, max:1}, help: 'Alpha range (if `mode` is `color`)'}, + logScale: {type: 'boolean', value: false, help: 'If `mode` is `intensity`, set to `true` to use logarithmic scale.'}, + }, + value: { + value: {type: 'number|array|string', value: '', help: [ + 'If `mode` is `intensity`:', + '- `Number`: `intensity` between `range.min` and `range.max`', + 'If `mode` is `color`:', + '- `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)', + '- `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)', + '- `String`: CSS color', + ]} + }, + 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 e919c774..fd88e513 100644 --- a/src/client/widgets/indicators/text.js +++ b/src/client/widgets/indicators/text.js @@ -13,17 +13,25 @@ module.exports = class Text extends StaticProperties(Widget, {bypass: true, inte static defaults() { - return super.defaults({ - - _class_specific: 'text', - - vertical: {type: 'boolean', value: false, help: 'Set to `true` to display the text vertically'}, - wrap: {type: 'boolean', value: false, help: [ - 'Set to `true` to wrap long lines automatically.', - ]}, - align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Css text-align property.'}, - - }, ['interaction', 'decimals', 'bypass', 'ignoreDefaults'], {}) + return super.defaults().extend({ + widget: { + interaction: null + }, + style: { + _separator_text_style: 'Text style', + vertical: {type: 'boolean', value: false, help: 'Set to `true` to display the text vertically'}, + wrap: {type: 'boolean', value: false, help: [ + 'Set to `true` to wrap long lines automatically.', + ]}, + align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Css text-align property.'}, + }, + osc: { + decimals: null, + typeTags: null, + bypass: null, + ignoreDefaults: null + } + }) } diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index 6fc16004..d88b09c9 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -11,15 +11,12 @@ class CanvasWidget extends Canvas { static defaults() { - return super.defaults({ - - _class_specific: 'canvas', - - - onCreate: {type: 'string', value: '', help: ' '}, - onTouch: {type: 'string', value: '', help: ' '}, - - }, [], {}) + return super.defaults().extend({ + class_specific: { + onCreate: {type: 'string', value: '', help: ' '}, + onTouch: {type: 'string', value: '', help: ' '}, + } + }) } diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index cf75c5ba..299c97d2 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -17,33 +17,31 @@ module.exports = class MultiXy extends Pad { static defaults() { - return super.defaults({ - _class_specific: 'multi xy', - - points: {type: 'integer|array', value: 2, help: [ - '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\']`)' - ]}, - - - _separator: 'xy', - - pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, - 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', - ]}, - ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the points will be drawn only chile touched.'}, - spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, - pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, - 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.'}, - sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, - - }, [], {}) + return super.defaults().extend({ + style: { + _separator_xy_style: 'Xy style', + pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, + ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the points will be drawn only chile touched.'}, + pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, + }, + class_specific: { + points: {type: 'integer|array', value: 2, help: [ + '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\']`)' + ]}, + 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', + ]}, + 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'}, + 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.'}, + sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, + } + }) } diff --git a/src/client/widgets/pads/rgb.js b/src/client/widgets/pads/rgb.js index 025f20a2..4ec06440 100644 --- a/src/client/widgets/pads/rgb.js +++ b/src/client/widgets/pads/rgb.js @@ -18,21 +18,17 @@ module.exports = class Rgb extends Widget { static defaults() { - return super.defaults({ - - _class_specific: 'rgb', - - 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', - ]}, - spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, - range: {type: 'object', value: {min: 0, max: 255}, help: 'Defines the widget\'s output scale.'}, - alpha:{type: 'boolean', value: false, help: 'Set to `true` to enable alpha channel'}, - rangeAlpha: {type: 'object', value: {min: 0, max: 1}, help: 'Defines the widget\'s output scale for the alpha channel.'}, - - }, ['color'], { - + return super.defaults().extend({ + class_specific: { + 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', + ]}, + spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, + range: {type: 'object', value: {min: 0, max: 255}, help: 'Defines the widget\'s output scale.'}, + alpha:{type: 'boolean', value: false, help: 'Set to `true` to enable alpha channel'}, + rangeAlpha: {type: 'object', value: {min: 0, max: 1}, help: 'Defines the widget\'s output scale for the alpha channel.'}, + } }) } diff --git a/src/client/widgets/pads/xy.js b/src/client/widgets/pads/xy.js index bb140449..5f6328c1 100644 --- a/src/client/widgets/pads/xy.js +++ b/src/client/widgets/pads/xy.js @@ -15,29 +15,30 @@ module.exports = class Xy extends Pad { static defaults() { - return super.defaults({ - - _class_specific: 'xy', - - pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'}, - 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', - ]}, - ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the point will be drawn only chile touched.'}, - spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its default value when released'}, - pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'}, - 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.'}, - 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: `/ `' - ]}, - sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, - - }, [], {}) + return super.defaults().extend({ + style: { + _separator_xy_style: 'Xy style', + 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'}, + }, + class_specific: { + 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', + ]}, + 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'}, + 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.'}, + 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: `/ `' + ]}, + sensitivity: {type: 'number', value: 1, help: 'Defines the pad\'s sensitivity when `snap` is `false` '}, + } + }) } diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index a3440959..7d77591e 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -14,29 +14,26 @@ class Script extends Widget { static defaults() { - return super.defaults({ + return super.defaults().extend({ + widget: { + visible: null, + interaction: null + }, + geometry: null, + style: null, + class_specific: { + event: {type: 'string', value: 'value', choices: ['value', 'keyboard'], help: 'Define which events trigger the script\'s execution.'}, + script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See documentation.'}, - _class_specific: 'script', + _separator: 'event: keyboard', - event: {type: 'string', value: 'value', choices: ['value', 'keyboard'], help: 'Define which events trigger the script\'s execution.'}, - script: {}, - - _separator: 'event: keyboard', - - keyBinding: {type: 'string|array', value: '', help: 'Key combo `string` or `array` of strings (see KeyboardJS documentation)'}, - keyRepeat: {type: 'boolean', value: true, help: 'Set to `false` to prevent keydown repeats when holding the key combo pressed'}, - keyType: {type: 'string', value: 'keydown', choices: ['keydown', 'keyup', 'both'], help: 'Determines which key event trigger the script\'s execution'}, - - - - }, [ - - 'visible', 'interaction', - '_geometry', 'left', 'top', 'width', 'height', 'expand', - '_style', 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'lineWidth', 'css' - - ], { - script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See documentation.'}, + keyBinding: {type: 'string|array', value: '', help: 'Key combo `string` or `array` of strings (see KeyboardJS documentation)'}, + keyRepeat: {type: 'boolean', value: true, help: 'Set to `false` to prevent keydown repeats when holding the key combo pressed'}, + keyType: {type: 'string', value: 'keydown', choices: ['keydown', 'keyup', 'both'], help: 'Determines which key event trigger the script\'s execution'}, + }, + value: { + script: null + } }) } diff --git a/src/client/widgets/scripts/variable.js b/src/client/widgets/scripts/variable.js index afa114e1..c03bf7d5 100644 --- a/src/client/widgets/scripts/variable.js +++ b/src/client/widgets/scripts/variable.js @@ -1,7 +1,7 @@ var Widget = require('../common/widget'), StaticProperties = require('../mixins/static_properties') -module.exports = class Variable extends StaticProperties(Widget, {bypass: true, interaction: false, visible: false}) { +module.exports = class Variable extends StaticProperties(Widget, {interaction: false, visible: false}) { static description() { @@ -11,15 +11,14 @@ module.exports = class Variable extends StaticProperties(Widget, {bypass: true, static defaults() { - return super.defaults({ - - - }, [ - 'visible', 'interaction', - '_geometry', 'left', 'top', 'width', 'height', 'expand', - '_style', 'colorBg', 'colorText', 'colorWidget', 'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOn', 'alphaFillOff', 'padding', 'css', - 'decimals', 'bypass' - ], {}) + return super.defaults().extend({ + widget: { + visible: null, + interaction: null + }, + geometry: null, + style: null, + }) } diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index c4efa2bb..3ea5973b 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -1,8 +1,6 @@ var Knob = require('./knob'), - Widget = require('../common/widget'), StaticProperties = require('../mixins/static_properties') - module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range: {min: 0, max: 1}, sensitivity: 1, steps: ''}) { static description() { @@ -13,32 +11,26 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range static defaults() { - return Widget.defaults({ - - _class_specific: 'encoder', - - ticks: {type: 'number', value: 360, help: 'defines the granularity / verbosity of the encoder (number of step for a 360° arc)'}, - back: {type: '*', value: -1, help: 'Defines which value is sent when rotating the encoder anticlockwise'}, - forth: {type: '*', value: 1, help: 'Defines which value is sent when rotating the encoder clockwise'}, - release: {type: 'number', value: '', help: [ - 'Defines which value is sent when releasing the encoder:', - '- Set to `null` to send send no argument in the osc message', - '- Can be an `object` if the type needs to be specified' - ]}, - mode: {type: 'string', value: 'circular', choices: ['circular', 'snap', 'vertical'], help: [ - '- `circular`: relative move in circular motion', - '- `snap`: snap to touch position and move in vertical motion', - '- `vertical`: relative move in vertical motion', - ]}, - 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 (`/ `)' - ]}, - - }, [], { - - touchAddress: {type: 'string', value:'', help: 'OSC address for touched state messages: `/touchAddress [preArgs] 0/1`'}, - + return super.defaults().extend({ + class_specific: { + ticks: {type: 'number', value: 360, help: 'defines the granularity / verbosity of the encoder (number of step for a 360° arc)'}, + back: {type: '*', value: -1, help: 'Defines which value is sent when rotating the encoder anticlockwise'}, + forth: {type: '*', value: 1, help: 'Defines which value is sent when rotating the encoder clockwise'}, + release: {type: 'number', value: '', help: [ + 'Defines which value is sent when releasing the encoder:', + '- Set to `null` to send send no argument in the osc message', + '- Can be an `object` if the type needs to be specified' + ]}, + mode: {type: 'string', value: 'circular', choices: ['circular', 'snap', 'vertical'], help: [ + '- `circular`: relative move in circular motion', + '- `snap`: snap to touch position and move in vertical motion', + '- `vertical`: relative move in vertical motion', + ]}, + 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 (`/ `)' + ]}, + } }) } diff --git a/src/client/widgets/sliders/fader.js b/src/client/widgets/sliders/fader.js index 08d1ad13..67ef857f 100644 --- a/src/client/widgets/sliders/fader.js +++ b/src/client/widgets/sliders/fader.js @@ -11,45 +11,46 @@ class Fader extends Slider { static defaults() { - return super.defaults({ - - _class_specific: 'fader', - - design: {type: 'string', value: 'default', choices: ['default', 'round', 'compact'], help: 'Design style'}, - knobSize: {type: 'number', value: 'auto', help: 'Fader knob size'}, - 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]`'}, - gradient: {type: 'array|object', value: [], help: [ - 'When set, the meter\'s gauge will be filled with a linear color gradient', - '- each item must be a CSS color string.', - '- as an `object`: each key must be a number between 0 and 1', - '- each item must be a CSS color string.', - 'Examples: `[\'blue\', \'red\']`, {\'0\': \'blue\', \'0.9\': \'blue\', \'1\': \'red\'} ' - ]}, - 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'}, - 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 (`/ `)' - ]}, - range: {type: 'object', value: {min:0,max:1}, help: [ - '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: {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: [ - 'Restricts the widget\'s value:', - '- `auto`: use values defined in `range`', - '- `number`: define a number of evenly spaced steps', - '- `array`: use arbitrary values', - ]}, - origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the fader\'s gauge'}, - - }, [], {}, Fader) + return super.defaults(Fader).extend({ + style: { + _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'}, + 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]`'}, + gradient: {type: 'array|object', value: [], help: [ + 'When set, the meter\'s gauge will be filled with a linear color gradient', + '- each item must be a CSS color string.', + '- as an `object`: each key must be a number between 0 and 1', + '- each item must be a CSS color string.', + 'Examples: `[\'blue\', \'red\']`, {\'0\': \'blue\', \'0.9\': \'blue\', \'1\': \'red\'} ' + ]}, + }, + 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'}, + 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 (`/ `)' + ]}, + range: {type: 'object', value: {min:0,max:1}, help: [ + '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: {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: [ + 'Restricts the widget\'s value:', + '- `auto`: use values defined in `range`', + '- `number`: define a number of evenly spaced steps', + '- `array`: use arbitrary values', + ]}, + origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the fader\'s gauge'}, + } + }) } diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 37c42d73..6bb432dd 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -11,44 +11,45 @@ module.exports = class Knob extends Slider { static defaults() { - return super.defaults({ - - _class_specific: 'knob', - - design: {type: 'string', value: 'default', choices: ['default', 'solid', 'line'], help: [ - 'Design style', - 'Note: "solid" design uses "colorStroke" for the central knob color.' - ]}, - mode: {type: 'string', value: 'vertical', choices: ['vertical', 'circular', 'snap'], help: [ - '- `circular`: relative move in circular motion', - '- `snap`: snap to touch position and move in vertical motion', - '- `vertical`: relative move in vertical motion', - ]}, - spring: {type: 'boolean', value: false, help: 'When set to `true`, the widget will go back to its `default` value when released'}, - 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'}, - doubleTap: {type: 'boolean', value: false, 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 (`/ `)' - ]}, - range: {type: 'object', value: {min:0,max:1}, help: [ - '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: {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 knob\'s sensitivity when `mode` is not `snap` '}, - steps: {type: 'string|number|array', value: '', help: [ - 'Restricts the widget\'s value:', - '- `auto`: use values defined in `range`', - '- `number`: define a number of evenly spaced steps', - '- `array`: use arbitrary values', - ]}, - origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the knob\'s gauge'}, - - }, [], {}, Knob) + return super.defaults(Knob).extend({ + style: { + _separator_knob_style: 'Knob style', + design: {type: 'string', value: 'default', choices: ['default', 'solid', 'line'], help: [ + 'Design style', + 'Note: "solid" design uses "colorStroke" for the central 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'}, + }, + class_specific: { + mode: {type: 'string', value: 'vertical', choices: ['vertical', 'circular', 'snap'], help: [ + '- `circular`: relative move in circular motion', + '- `snap`: snap to touch position and move in vertical motion', + '- `vertical`: relative move in vertical motion', + ]}, + 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 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 (`/ `)' + ]}, + range: {type: 'object', value: {min:0,max:1}, help: [ + '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: {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 knob\'s sensitivity when `mode` is not `snap` '}, + steps: {type: 'string|number|array', value: '', help: [ + 'Restricts the widget\'s value:', + '- `auto`: use values defined in `range`', + '- `number`: define a number of evenly spaced steps', + '- `array`: use arbitrary values', + ]}, + origin: {type: 'number', value: 'auto', help: 'Defines the starting point\'s value of the knob\'s gauge'}, + } + }) } From a8c0a4f1a732aca5ffbf5e6f19b776225d1195dd Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 17:27:00 +0200 Subject: [PATCH 2462/2575] docs: adjust property reference to new structure --- .../docs/docs/widgets/properties-reference.md | 795 ++++++++++++++++++ scripts/build-widgets-reference.js | 117 +-- 2 files changed, 855 insertions(+), 57 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index e69de29b..9b86959e 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -0,0 +1,795 @@ + + +## Common + +??? api "
        Generic properties#
        " + Properties shared by all widgets + + + + +=== "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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. | + |
        visible#
        | `boolean` | true | Set to `false` to hide the widget. | + |
        interaction#
        | `boolean` | true | Set to `false` to disable pointer interactions. | + + +=== "geometry" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        left#
        | `number`|
        `string` | "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 absolutely positioned | + |
        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 absolutely positioned | + |
        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. | + + +=== "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorText#
        | `string` | "auto" | Text color. Set to "auto" to inherit from parent widget. | + |
        colorWidget#
        | `string` | "auto" | Widget's default accent color. Set to "auto" to inherit from parent widget. | + |
        colorStroke#
        | `string` | "auto" | Stroke color. Set to "auto" to use `colorWidget`. | + |
        colorFill#
        | `string` | "auto" | Fill color. Set to "auto" to use `colorWidget`. | + |
        alphaStroke#
        | `number` | "auto" | Stroke color opacity. | + |
        alphaFillOff#
        | `number` | "auto" | Fill color opacity (off). | + |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | + |
        lineWidth#
        | `number` | "auto" | Stroke width. | + |
        padding#
        | `number` | "auto" | Inner spacing. | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | + + +=== "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `*` | "" | Define the widget's value depending on other widget's values / properties using the advanced property syntax | + |
        default#
        | `*` | "" | If set, the widget will be initialized with this value when the session is loaded. | + |
        linkId#
        | `string`|
        `array` | "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.

        When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)

        When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) | + |
        script#
        | `script` | "" | Script executed whenever the widget's value updates. See documentation. | + + +=== "osc" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        address#
        | `string` | "auto" | OSC address for sending / receiving messages, it must start with a slash (`/`)

        By default ("auto"), the widget's id is used: `/widget_id` | + |
        preArgs#
        | `*`|
        `array` | "" | A value or array of values that will be prepended to the OSC messages. | + |
        typeTags#
        | `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
        - If empty, the types are infered automatically from the values (with numbers casted to floats by default)
        - If there are more arguments than type letters, the last type is used for the extra arguments

        See http://opensoundcontrol.org/spec-1_0 for existing typetags | + |
        decimals#
        | `integer` | 2 | Defines the number of decimals to send. | + |
        target#
        | `string`|
        `array`|
        `null` | "" | This defines the targets of the widget's OSC messages
        - A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`
        - If midi is enabled, targets can be `midi:device_name`
        - If no target is set, messages can still be sent if the server has default targets | + |
        ignoreDefaults#
        | `boolean` | false | Set to `true` to ignore the server's default targets | + |
        bypass#
        | `boolean` | false | Set to `true` to prevent the widget from sending any osc message | +## Basics + +??? api "
        button#
        " + On / off button. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | + |
        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` | + |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | + |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically. | + + === "button" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message | + |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | + |
        mode#
        | `string` | "toggle" | Interraction mode:
        - `toggle` (classic on/off switch)
        - `push` (press & release)
        - `tap` (no release)

        Choices: `toggle`, `push`, `tap` | + |
        doubleTap#
        | `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | + +??? api "
        switch#
        " + Value selector button. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--color-text-on`: `colorTextOn` | + |
        colorTextOn#
        | `string` | "auto" | Defines the widget's text color when active. | + |
        layout#
        | `string` | "vertical" | Choices: `vertical`, `horizontal`, `grid` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + + === "switch" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        values#
        | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | + |
        mode#
        | `string` | "tap" | Interraction mode:
        - `tap`: activates when the pointer is down but prevents further scrolling
        - `slide`: same as `tap` but allows sliding between values
        - `click`: activates upon click only and allows further scrolling

        Choices: `tap`, `slide`, `click` | + +??? api "" + Native dropdown menu. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + + === "dropdown" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `array`|
        `object` | \{
         "Value 1": 1,
         "Value 2": 2
        }
        | `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 | + +??? api "" + Drag and drop menu with a circular or grid layout. + + === "geometry" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `number`|
        `array` | 200 | - If `layout` is `circular`: diameter (in px)
        - Else: square size or `[width, height]` array | + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `string` | "center" | Set to `top` or `bottom` to change menu alignment (otherwise center)

        Choices: `center`, `top`, `bottom` | + | | `string` | "center" | Set to `left` or `right` to change menu alignment (otherwise center)

        Choices: `center`, `left`, `right` | + | | `string` | "circular" | Defines whether the menu's layout should be rendered in a circle or in a box

        Choices: `circular`, `horizontal`, `vertical`, `grid` | + | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + + === "menu" + + | 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 | + | | `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 | + | | `array` | "" | `Array` of `number` defining the weights of each value in `values`

        Ignored when `mode` is `grid` | + +??? api "
        input#
        " + Text input. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + |
        unit#
        | `string` | "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) | + + === "input" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        asYouType#
        | `boolean` | false | Set to `true` to make the input send its value at each keystroke | + +??? api "
        file#
        " + File/Folder selector (server-side). + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        align#
        | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

        Choices: `center`, `left`, `right` | + |
        hidePath#
        | `boolean` | false | Set to `true` to only display the filename (the whole path will still be used as value) | + + === "file" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        directory#
        | `string` | "auto" | Default browsing directory | + |
        extension#
        | `string` | "*" | Only display files with this extension | + |
        allowDir#
        | `boolean` | false | Allow selecting a folder (by pressing "open" when no file is selected) | +## Containers + +??? api "
        panel#
        " + Widgets or Tabs container. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorBg#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        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 | + + === "panel" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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` or `auto` to limit affected widgets by the type of the first touched widget | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `integer` | "" | Defines currently selected tab in the widget

        A tab can be opened only by setting its parent's value | + + === "children" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + +??? api "" + A toggle button that opens a popup panel. Cannot contain tabs directly. + + === "geometry" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `number`|
        `percentage` | "80%" | Modal popup's size | + | | `number`|
        `percentage` | "80%" | Modal popup's size | + | | `number`|
        `percentage` | "auto" | Modal popup's position | + | | `number`|
        `percentage` | "auto" | Modal popup's position | + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + | | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + | | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + | | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + | | `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`|
        `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 | + + === "modal" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `integer` | "" | Defines the modal's state:`0` for closed, `1` for opened | + + === "children" + + | property | type |default | description | + | --- | --- | --- | --- | + | | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + | | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + +??? api "
        clone#
        " + Widget replication with overridable properties. + + === "clone" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgetId#
        | `string` | "" | `id` of the widget to clone | + |
        props#
        | `object` | \{} | Cloned widget's properties to override | + +??? api "
        matrix#
        " + Generic matrix for creating rows/columns of widgets. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorBg#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "horizontal" | Defines how children are laid out.

        Choices: `horizontal`, `vertical`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        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. | + + === "matrix" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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` or `auto` to limit affected widgets by the type of the first touched widget | + |
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | + |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | + |
        start#
        | `integer` | 0 | First widget's index | + |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `integer` | "" | Defines currently selected tab in the widget

        A tab can be opened only by setting its parent's value | + + === "children" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + +??? api "
        keyboard#
        " + Piano keyboard. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorWhite#
        | `string` | "auto" | White keys color. | + |
        colorBlack#
        | `string` | "auto" | Black keys color. | + + === "keyboard" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        keys#
        | `number` | 25 | Defines the number keys | + |
        start#
        | `number` | 48 | MIDI note number to start with (default is C4)

        Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` | + |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | + |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        mode#
        | `string` | "push" | Interraction mode:
        - `push` (press & release)
        - `toggle` (on/off switches)
        - `tap` (no release)

        Choices: `push`, `toggle`, `tap` | + +??? api "
        patchbay#
        " + Connect inputs to outputs. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:

        `.nodes { width: 25% }` | + + === "patchbay" + + | 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. 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`). | + +??? api "
        root#
        " + Main (unique) container + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorBg#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        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 | + + === "root" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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` or `auto` to limit affected widgets by the type of the first touched widget | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `integer` | "" | Defines currently selected tab in the widget

        A tab can be opened only by setting its parent's value | + + === "children" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + +??? api "
        tab#
        " + Tabbed panel widget + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        colorBg#
        | `string` | "auto" | Panel background color. Set to "auto" to inherit from parent widget. | + |
        layout#
        | `string` | "default" | Defines how children are laid out.

        Choices: `default`, `vertical`, `horizontal`, `grid` | + |
        justify#
        | `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

        Choices: `start`, `end`, `center`, `space-around`, `space-between` | + |
        gridTemplate#
        | `string`|
        `number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
        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 | + |
        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" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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` or `auto` to limit affected widgets by the type of the first touched widget | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `integer` | "" | Defines currently selected tab in the widget

        A tab can be opened only by setting its parent's value | + + === "children" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        widgets#
        | `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
        tabs#
        | `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | +## Frames + +??? api "
        frame#
        " + Embed a page in a frame (local network only). + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `string` | "" | External web page URL. | + +??? api "
        svg#
        " + Svg parser. + + === "svg" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        svg#
        | `string` | "" | Svg xml definition (will be wrapped in a `< svg />` element) | + +??? api "
        html#
        " + Simple HTML parser. + + === "html" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | + +??? api "
        image#
        " + Load a image (url or base64-encoded). + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        size#
        | `string` | "cover" | CSS background-size | + |
        position#
        | `string` | "center" | CSS background-position | + |
        repeat#
        | `string` | "no-repeat" | CSS background-repeat | + + === "image" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        cache#
        | `boolean` | true | 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" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `string` | "" | - File `url` or `path` (relative to the session file location by default, falling back to absolute path)
        - Base64 encoded image : `data:image/...` | +## Graphs + +??? api "
        plot#
        " + XY coordinates plot. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        dots#
        | `boolean` | false | Draw dots on the line | + |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + + === "plot" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 | + |
        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) | + |
        origin#
        | `number`|
        `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | + +??? api "
        eq#
        " + Draws logarithmic frequency response from an array of filter objects. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        dots#
        | `boolean` | false | Draw dots on the line | + |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + + === "eq" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 | + |
        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) | + |
        origin#
        | `number`|
        `boolean` | "auto" | Defines the y axis origin. Set to `false` to disable it | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | + +??? api "
        visualizer#
        " + Display its value over time. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        dots#
        | `boolean` | false | Draw dots on the line | + |
        bars#
        | `boolean` | false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + + === "visualizer" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 | + |
        rangeX#
        | `object` | \{
         "min": 20,
         "max": 22000
        }
        | Defines the min and max values for the x axis (in Hz, logarithmic scale) | + |
        rangeY#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the min and max values for the y axis | + |
        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" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `array`|
        `string` | "" | - `Array` of `y` values
        - `Array` of `[x, y]` `array` values
        - `String` `array`
        - `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates | +## Indicators + +??? api "
        led#
        " + Intensity display. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        borderRadius#
        | `string` | "" | Css border-radius property. | + + === "led" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        mode#
        | `string` | "intensity" | Defines how value is interpreted (see `value`)

        Choices: `intensity`, `color` | + |
        range#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Value range | + |
        alphaRange#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Alpha range (if `mode` is `color`) | + |
        logScale#
        | `boolean` | false | If `mode` is `intensity`, set to `true` to use logarithmic scale. | + + === "value" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        value#
        | `number`|
        `array`|
        `string` | "" | If `mode` is `intensity`:
        - `Number`: `intensity` between `range.min` and `range.max`

        If `mode` is `color`:
        - `Array`: `[r, g, b]` (`r`, `g` and `b` between `range.min` and `range.max`)
        - `Array`: `[r, g, b, alpha]` (`alpha` between `alphaRange.min` and `alphaRange.max`)
        - `String`: CSS color | + +??? api "
        text#
        " + Display text. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        vertical#
        | `boolean` | false | Set to `true` to display the text vertically | + |
        wrap#
        | `boolean` | false | Set to `true` to wrap long lines automatically. | + |
        align#
        | `string` | "center" | Css text-align property.

        Choices: `center`, `left`, `right` | +## Pads + +??? api "
        xy#
        " + Two-dimensional slider. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 | + + === "xy" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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. | + |
        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` | + +??? api "
        rgb#
        " + Color picker with optional alpha slider. + + === "rgb" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        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 | + |
        range#
        | `object` | \{
         "min": 0,
         "max": 255
        }
        | Defines the widget's output scale. | + |
        alpha#
        | `boolean` | false | Set to `true` to enable alpha channel | + |
        rangeAlpha#
        | `object` | \{
         "min": 0,
         "max": 1
        }
        | Defines the widget's output scale for the alpha channel. | + +??? api "
        multixy#
        " + Multi-point XY pad. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        pointSize#
        | `integer` | 20 | Defines the points' size | + |
        ephemeral#
        | `boolean` | false | When set to `true`, the points will be drawn only chile touched. | + |
        pips#
        | `boolean` | true | Set to `false` to hide the scale | + + === "multixy" + + | 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']`) | + |
        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. | + |
        sensitivity#
        | `number` | 1 | Defines the pad's sensitivity when `snap` is `false` | +## Sliders + +??? api "
        fader#
        " + Vertical / horizontal slider. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText`
        - `--knob-size`: `knobSize` | + |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        knobSize#
        | `number` | "auto" | Fader knob size | + |
        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]` | + |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | + + === "fader" + + | 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 | + |
        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}}`) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | + +??? api "
        knob#
        " + Rotative knob slider. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        design#
        | `string` | "default" | Design style

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

        Choices: `default`, `solid`, `line` | + |
        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 | + + === "knob" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        mode#
        | `string` | "vertical" | - `circular`: relative move in circular motion
        - `snap`: snap to touch position and move in vertical motion
        - `vertical`: relative move in vertical motion

        Choices: `vertical`, `circular`, `snap` | + |
        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 (`/ `) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | + +??? api "
        encoder#
        " + A knob that sends a relative direction infomation instead of an absolute value. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | + |
        design#
        | `string` | "default" | Design style

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

        Choices: `default`, `solid`, `line` | + |
        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 | + + === "encoder" + + | 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` | + |
        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}}`) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | + |
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | + |
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | + |
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | + |
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | + +??? api "
        range#
        " + A fader with two heads for setting a range. + + === "style" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText`
        - `--knob-size`: `knobSize` | + |
        design#
        | `string` | "default" | Design style

        Choices: `default`, `round`, `compact` | + |
        knobSize#
        | `number` | "auto" | Fader knob size | + |
        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]` | + |
        gradient#
        | `array`|
        `object` | [] | When set, the meter's gauge will be filled with a linear color gradient
        - each item must be a CSS color string.
        - as an `object`: each key must be a number between 0 and 1
        - each item must be a CSS color string.

        Examples: `['blue', 'red']`, {'0': 'blue', '0.9': 'blue', '1': 'red'} | + + === "range" + + | 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 | + |
        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}}`) | + |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | + |
        origin#
        | `number` | "auto" | Defines the starting point's value of the fader's gauge | +## Scripts + +??? api "
        script#
        " + Evaluates a script each time it receives a value. + + === "script" + + | property | type |default | description | + | --- | --- | --- | --- | + |
        event#
        | `string` | "value" | Define which events trigger the script's execution.

        Choices: `value`, `keyboard` | + |
        script#
        | `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | + |
        keyBinding#
        | `string`|
        `array` | "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) | + |
        keyRepeat#
        | `boolean` | true | Set to `false` to prevent keydown repeats when holding the key combo pressed | + |
        keyType#
        | `string` | "keydown" | Determines which key event trigger the script's execution

        Choices: `keydown`, `keyup`, `both` | + +??? api "
        variable#
        " + Receives / stores a value, to be used in scripts (using the get function) or in properties (using the @{} syntax). diff --git a/scripts/build-widgets-reference.js b/scripts/build-widgets-reference.js index ac7c42fd..fd528d38 100644 --- a/scripts/build-widgets-reference.js +++ b/scripts/build-widgets-reference.js @@ -17,38 +17,41 @@ doc.push(` ` ) -for (var propName in base) { +for (var categoryName in base) { + doc.push(`\n - var prop = base[propName], - permalink = propName +=== "${categoryName}" - if (propName[0] === '_' && propName !== '_props') { - doc.push(`\n - - === "${prop}" - - | property | type |default | description | - | --- | --- | --- | --- |` - ) - } - - if (propName === '_props' || propName[0] === '_') continue - - var help = Array.isArray(prop.help) ? prop.help.join('

        ').replace(/-/g, '-') : prop.help || '', - dynamic = baseClass.dynamicProps.includes(propName) ? '' : '' - - if (prop.choices) { - if (help) help += '

        ' - help += 'Choices: ' + prop.choices.map(x=>'`' + x + '`').join(', ') - } - - doc.push(` - |
        ${propName}${dynamic}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` + | property | type |default | description | + | --- | --- | --- | --- |` ) + var notEmpty = false + + for (var propName in base[categoryName]) { + + var prop = base[categoryName][propName], + permalink = propName + + if (propName === '_props' || propName[0] === '_') continue + + var help = Array.isArray(prop.help) ? prop.help.join('

        ').replace(/-/g, '-') : prop.help || '', + dynamic = baseClass.dynamicProps.includes(propName) ? '' : '' + + if (prop.choices) { + if (help) help += '

        ' + help += 'Choices: ' + prop.choices.map(x=>'`' + x + '`').join(', ') + } + + doc.push(` + |
        ${propName}${dynamic}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` + ) + notEmpty = true + + } + if (!notEmpty) doc.pop() } - for (var k in widgets.categories) { var category = widgets.categories[k] if (k == 'Containers') { @@ -63,9 +66,7 @@ for (var k in widgets.categories) { for (var kk in category) { var type = category[kk], defaults = widgets.widgets[type].defaults(), - description = widgets.widgets[type].description(), - separator = false - + description = widgets.widgets[type].description() doc.push(` @@ -74,40 +75,42 @@ for (var k in widgets.categories) { ) - for (var propName in defaults) { - - var prop = defaults[propName], - permalink = type + '_' + propName - - if (propName[0] === '_' && propName !== '_props') { - if (separator) doc.pop() - if (doc[doc.length -1].trim()[0] === '=') doc.pop() - doc.push(`\n - === "${prop}" + for (var categoryName in defaults) { + doc.push(`\n + === "${categoryName == 'class_specific' ? type : categoryName}" | property | type |default | description | | --- | --- | --- | --- |` - ) - separator = true - } - - if (propName === '_props' || propName[0] === '_' || JSON.stringify(prop) == JSON.stringify(base[propName])) continue - - var help = Array.isArray(prop.help) ? prop.help.join('

        ').replace(/-/g, '-') : prop.help || '', - dynamic = widgets.widgets[type].dynamicProps.includes(propName) ? '' : '' - - if (prop.choices) { - if (help) help += '

        ' - help += 'Choices: ' + prop.choices.map(x=>'`' + x + '`').join(', ') - } - - doc.push(` - |
        ${propName}${dynamic}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` ) - separator = false + var notEmpty = false + + for (var propName in defaults[categoryName]) { + + var prop = defaults[categoryName][propName], + permalink = type + '_' + propName + + + if (propName === '_props' || propName[0] === '_' || JSON.stringify(prop) == JSON.stringify((base[categoryName]||{})[propName])) continue + + var help = Array.isArray(prop.help) ? prop.help.join('

        ').replace(/-/g, '-') : prop.help || '', + dynamic = widgets.widgets[type].dynamicProps.includes(propName) ? '' : '' + + if (prop.choices) { + if (help) help += '

        ' + help += 'Choices: ' + prop.choices.map(x=>'`' + x + '`').join(', ') + } + doc.push(` + |
        ${propName}${dynamic}#
        | \`${prop.type.replace(/\|/g,'\`|
        \`')}\` | ${(JSON.stringify(prop.value, null, ' ') || '').replace(/\n/g,'
        ').replace('{','\\{')}
        | ${help} |` + ) + notEmpty = true + } + + if (!notEmpty) doc.pop() + + + } - if (separator) doc.pop() } } From 65c10f11f1d912ceeda88a1a2ea6b9c7c46891d6 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 17:34:45 +0200 Subject: [PATCH 2463/2575] encoder: rm extra knob props --- src/client/widgets/sliders/encoder.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index 3ea5973b..1eba9b8d 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -12,6 +12,13 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range static defaults() { return super.defaults().extend({ + style: { + _separator_knob_style: null, + design: null, + pips: null, + dashed: null, + angle: null, + }, class_specific: { ticks: {type: 'number', value: 360, help: 'defines the granularity / verbosity of the encoder (number of step for a 360° arc)'}, back: {type: '*', value: -1, help: 'Defines which value is sent when rotating the encoder anticlockwise'}, From ab9901519aa9f09a22de23c21094db1525d93842 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 17:40:42 +0200 Subject: [PATCH 2464/2575] knob: inactive gauge should be dashed too when the property is set --- src/client/widgets/sliders/knob.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/client/widgets/sliders/knob.js b/src/client/widgets/sliders/knob.js index 6bb432dd..7b9e40f1 100644 --- a/src/client/widgets/sliders/knob.js +++ b/src/client/widgets/sliders/knob.js @@ -195,6 +195,8 @@ module.exports = class Knob extends Slider { this.ctx.strokeStyle = this.cssVars.colorFill this.ctx.lineWidth = gaugeWidth - this.gaugePadding * 2 + if (dashed) this.ctx.setLineDash(dashed) + if (this.cssVars.alphaFillOff) { this.ctx.globalAlpha = this.cssVars.alphaFillOff this.ctx.beginPath() @@ -202,8 +204,6 @@ module.exports = class Knob extends Slider { this.ctx.stroke() } - if (dashed) this.ctx.setLineDash(dashed) - if (this.cssVars.alphaFillOn) { this.ctx.globalAlpha = this.cssVars.alphaFillOn this.ctx.beginPath() @@ -256,6 +256,8 @@ module.exports = class Knob extends Slider { this.ctx.strokeStyle = this.cssVars.colorFill this.ctx.lineWidth = this.cssVars.lineWidth + if (dashed) this.ctx.setLineDash(dashed) + if (this.cssVars.alphaFillOff) { this.ctx.globalAlpha = this.cssVars.alphaFillOff this.ctx.beginPath() @@ -263,8 +265,6 @@ module.exports = class Knob extends Slider { this.ctx.stroke() } - if (dashed) this.ctx.setLineDash(dashed) - if (this.cssVars.alphaFillOn) { this.ctx.globalAlpha = this.cssVars.alphaFillOn this.ctx.beginPath() @@ -297,6 +297,8 @@ module.exports = class Knob extends Slider { this.ctx.strokeStyle = this.cssVars.colorFill this.ctx.lineWidth = this.cssVars.lineWidth + if (dashed) this.ctx.setLineDash(dashed) + if (this.cssVars.alphaFillOff) { this.ctx.globalAlpha = this.cssVars.alphaFillOff this.ctx.beginPath() @@ -304,8 +306,6 @@ module.exports = class Knob extends Slider { this.ctx.stroke() } - if (dashed) this.ctx.setLineDash(dashed) - if (this.cssVars.alphaFillOn) { this.ctx.globalAlpha = this.cssVars.alphaFillOn this.ctx.beginPath() From dc5612d53f8c42baa86d7715ab59d178cdd65227 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 17:53:20 +0200 Subject: [PATCH 2465/2575] log: next is 1.5.0 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3ebbe95..d04e66a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.4.2 +## 1.5.0 - bug fixes - image: broken value validation From 97f06564bb05aacb561d0a2cde31c68aebc0283a Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 18:08:15 +0200 Subject: [PATCH 2466/2575] menu: use correct z-index index --- CHANGELOG.md | 1 + src/scss/widgets/basics.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d04e66a2..393c0ea2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - image: broken value validation + - menu: use correct z-index - editor - holding `alt` extends the north-west handle to the widget's size to ease dragging diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index a6546ca4..e411aee0 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -171,7 +171,7 @@ --widget-padding: 1rem; --text-padding: calc(var(--widget-padding) + 8rem); - z-index: initial!important; + // z-index: initial!important; // contain: style size; --size: 300rem; From fa69dd74e20c458187fdbfdc8c6043b3f98fe099 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 18:32:15 +0200 Subject: [PATCH 2467/2575] dropdown: correct z-index --- CHANGELOG.md | 2 +- src/scss/widgets/basics.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 393c0ea2..2bfb14f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - bug fixes - image: broken value validation - - menu: use correct z-index + - menu/dropdown: use correct z-index - editor - holding `alt` extends the north-west handle to the widget's size to ease dragging diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index e411aee0..97049c10 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -427,7 +427,7 @@ --widget-padding: 1rem; --text-padding: calc(var(--widget-padding) + 8rem); - z-index: initial!important; + // z-index: initial!important; // contain: style size; --size: 300rem; From 9f6bab467cf76da6dbefb607ca3b989c7e114c0a Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 18:34:37 +0200 Subject: [PATCH 2468/2575] dropdown/menu: add `label` property (with support easy key/value display) dropdown/menu: add `icon` toggle property --- CHANGELOG.md | 2 ++ src/client/widgets/basics/dropdown.js | 14 ++++++++++++-- src/client/widgets/basics/menu-base.js | 14 ++++++++++++++ src/client/widgets/basics/menu.js | 16 ++++++++++++++-- src/scss/widgets/basics.scss | 7 +++++++ 5 files changed, 49 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bfb14f4..505a32d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ - remove `colorBg` for all widgets except containers - widgets background color is now transparent by default (can be overridden with css) - keyboard: added `colorBlack` and `colorWhite` properties to customize key colors + - dropdown/menu: add `label` property (with support easy key/value display) + - dropdown/menu: add `icon` toggle property ## 1.4.1 diff --git a/src/client/widgets/basics/dropdown.js b/src/client/widgets/basics/dropdown.js index d8389203..8735cce0 100644 --- a/src/client/widgets/basics/dropdown.js +++ b/src/client/widgets/basics/dropdown.js @@ -16,6 +16,8 @@ class Dropdown extends MenuBase { return super.defaults().extend({ style: { _separator_dropdown_style: 'Dropdown style', + label: {type: 'string|boolean', value: 'auto', help: 'Displayed text (defaults to current value). Keywords `%key` and `%value` will be replaced by the widget\'s selected key/value.'}, + icon: {type: 'boolean', value: 'true', help: 'Set to `false` to hide the dropdown icon'}, align: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, }, class_specific: { @@ -33,10 +35,16 @@ class Dropdown extends MenuBase { super({...options, html: html`
        -
        + `}) + if (this.getProp('icon')) { + this.widget.appendChild(html`
        `) + } else { + this.container.classList.add('no-icon') + } + if (this.getProp('align') === 'left') this.widget.classList.add('left') if (this.getProp('align') === 'right') this.widget.classList.add('right') @@ -50,6 +58,7 @@ class Dropdown extends MenuBase { }) this.select.selectedIndex = -1 + this.selected = -1 this.container.classList.add('noselect') } @@ -76,8 +85,9 @@ class Dropdown extends MenuBase { this.value = this.values[i] if (!options.fromLocal) this.select.selectedIndex = i + this.selected = i - this.text.textContent = i === -1 ? '' : this.select.options[i].textContent + this.setLabel() if (document.activeElement === this.select && iOS) { // force menu close on ios diff --git a/src/client/widgets/basics/menu-base.js b/src/client/widgets/basics/menu-base.js index 4f5b9e73..bee59a06 100644 --- a/src/client/widgets/basics/menu-base.js +++ b/src/client/widgets/basics/menu-base.js @@ -1,4 +1,5 @@ var Widget = require('../common/widget'), + {iconify} = require('../../ui/utils'), {deepEqual} = require('../../utils') class MenuBase extends Widget { @@ -43,6 +44,19 @@ class MenuBase extends Widget { } + setLabel() { + + var string = this.getProp('label') === 'auto' ? '%value' : this.getProp('label'), + i = this.selected + + if (i > -1 && string) { + this.text.innerHTML = iconify(string.replace(/%value/g, JSON.stringify(this.value)).replace(/%key/g, this.keys[i])) + } else { + this.text.innerHTML = '' + } + + } + } module.exports = MenuBase diff --git a/src/client/widgets/basics/menu.js b/src/client/widgets/basics/menu.js index a79c5f92..9aaf17ac 100644 --- a/src/client/widgets/basics/menu.js +++ b/src/client/widgets/basics/menu.js @@ -24,6 +24,8 @@ class Menu extends MenuBase { }, style: { _separator_menu_style: 'Menu style', + label: {type: 'string|boolean', value: 'auto', help: 'Displayed text (defaults to current value). Keywords `%key` and `%value` will be replaced by the widget\'s selected key/value.'}, + icon: {type: 'boolean', value: 'true', help: 'Set to `false` to hide the dropdown icon'}, textAlign: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'}, menuAlignV: {type: 'string', value: 'center', choices: ['center', 'top', 'bottom'], help: 'Set to `top` or `bottom` to change menu alignment (otherwise center)'}, menuAlignH: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change menu alignment (otherwise center)'}, @@ -53,11 +55,16 @@ class Menu extends MenuBase { super({...options, html: html`
        -
        `}) + if (this.getProp('icon')) { + this.widget.appendChild(html`
        `) + } else { + this.container.classList.add('no-icon') + } + this.widget.classList.add('text-align-' + this.getProp('textAlign')) this.widget.classList.add('menu-align-h-' + this.getProp('menuAlignH')) this.widget.classList.add('menu-align-v-' + this.getProp('menuAlignV')) @@ -295,7 +302,8 @@ class Menu extends MenuBase { this.selected = i DOM.each(this.menu, '.on', (el)=>{el.classList.remove('on')}) DOM.get(this.menu, '.item')[i].classList.add('on') - this.text.innerHTML = iconify(this.keys[i]) + + this.setLabel() } @@ -311,6 +319,9 @@ class Menu extends MenuBase { switch (propName) { + case 'label': + this.setLabel() + return case 'size': this.setSize() return @@ -346,6 +357,7 @@ class Menu extends MenuBase { } Menu.dynamicProps = Menu.prototype.constructor.dynamicProps.concat( + 'label', 'size', 'layout', 'columns', diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 97049c10..3bf55174 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -171,6 +171,10 @@ --widget-padding: 1rem; --text-padding: calc(var(--widget-padding) + 8rem); + &.no-icon { + --text-padding: var(--widget-padding); + } + // z-index: initial!important; // contain: style size; @@ -434,6 +438,9 @@ --grid-columns: 2; overflow: hidden; + &.no-icon { + --text-padding: var(--widget-padding); + } &.on { z-index: 9999999999999!important; From a01153da615cfcf93b6a57dfb1851f60d67f90d3 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 18:41:21 +0200 Subject: [PATCH 2469/2575] menu/dropdown: minor fixes --- src/client/widgets/basics/menu-base.js | 2 +- src/scss/widgets/basics.scss | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/basics/menu-base.js b/src/client/widgets/basics/menu-base.js index bee59a06..1a980668 100644 --- a/src/client/widgets/basics/menu-base.js +++ b/src/client/widgets/basics/menu-base.js @@ -50,7 +50,7 @@ class MenuBase extends Widget { i = this.selected if (i > -1 && string) { - this.text.innerHTML = iconify(string.replace(/%value/g, JSON.stringify(this.value)).replace(/%key/g, this.keys[i])) + this.text.innerHTML = iconify(String(string).replace(/%value/g, JSON.stringify(this.value)).replace(/%key/g, this.keys[i])) } else { this.text.innerHTML = '' } diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 3bf55174..3d4d0d97 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -171,8 +171,9 @@ --widget-padding: 1rem; --text-padding: calc(var(--widget-padding) + 8rem); - &.no-icon { - --text-padding: var(--widget-padding); + &.no-icon .text { + padding-left: var(--widget-padding); + padding-right: var(--widget-padding); } // z-index: initial!important; @@ -234,6 +235,10 @@ justify-content: center; align-items: center; padding-left: var(--text-padding); + white-space: pre; + overflow: hidden; + text-align: center; + word-wrap: break-word; } .icon { order: 1; @@ -438,8 +443,9 @@ --grid-columns: 2; overflow: hidden; - &.no-icon { - --text-padding: var(--widget-padding); + &.no-icon .text { + padding-left: var(--widget-padding); + padding-right: var(--widget-padding); } &.on { @@ -473,6 +479,10 @@ justify-content: center; align-items: center; padding-left: var(--text-padding); + white-space: pre; + overflow: hidden; + text-align: center; + word-wrap: break-word; } .icon { order: 1; From 922d58a3801472d79a036d236f81cb82fc06d5f0 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 18:46:36 +0200 Subject: [PATCH 2470/2575] dropdown: prevent dropdown from opening when selecting the widget for edition --- CHANGELOG.md | 1 + src/scss/widgets/basics.scss | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 505a32d4..1b18f060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - image: broken value validation - menu/dropdown: use correct z-index + - dropdown: prevent dropdown from opening when selecting the widget for edition - editor - holding `alt` extends the north-west handle to the widget's size to ease dragging diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 3d4d0d97..734e82ac 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -515,6 +515,11 @@ } +.editor-enabled .dropdown-container:not(.editing) select { + // prevent input focus when selecting + pointer-events: none; +} + .input-container { From f081f0c3b864e6857c233b0ccbe244da08d60049 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 18:54:58 +0200 Subject: [PATCH 2471/2575] osc: catch server error when port is invalid --- src/server/osc/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 88140a71..7ea0eac3 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -164,6 +164,11 @@ class OscServer { return } + if (isNaN(parseInt(data.port))) { + console.error('(ERROR, OSC) Invalid port: ' + data.port) + return + } + if (tcpInPort && oscTCPServer.clients[data.host] && oscTCPServer.clients[data.host][data.port]) { oscTCPServer.clients[data.host][data.port].send({ From 82fb9e71ab0299bef413cdd6ed49f49faf881d0b Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 3 Oct 2020 20:02:16 +0200 Subject: [PATCH 2472/2575] editor: fix help retrieval --- src/client/ui/ui-inspector.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 7e3eb5b3..e004f9c1 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -253,7 +253,9 @@ class UiInspector extends UiWidget { help(name) { - var defaultValue = defaults[this.widget.getProp('type')][name], + var _defaults = defaults[this.widget.getProp('type')], + category = Object.keys(_defaults).find(x=>_defaults[x].hasOwnProperty(name)), + defaultValue = _defaults[category][name], dynamic = this.widget.isDynamicProp(name), htmlHelp = Array.isArray(defaultValue.help) ? defaultValue.help.join('

        ').replace(/-/g, '-') : defaultValue.help From d222a62df4c7ef6d7dec61427343f64836f435f6 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 11:21:03 +0200 Subject: [PATCH 2473/2575] editor: fix shared properties check --- src/client/ui/ui-inspector.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index e004f9c1..7cc274e8 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -131,9 +131,14 @@ class UiInspector extends UiWidget { // skip if property is not shared between selected widgets if (widgets.some((w)=>{ - for (let c in defaults[w.props.type]) { - if (!defaults[w.props.type][c].hasOwnProperty(propName)) return false + let shared = false + for (let c in defaults[widget.props.type]) { + if (defaults[w.props.type][c].hasOwnProperty(propName)) { + shared = true + break + } } + return !shared })) continue let field = propName.includes('_separator') ? From 62fa8f2223a64a2da7a321c039025c2e36e93d7d Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:23:59 +0200 Subject: [PATCH 2474/2575] editor: remove trailing zeros in geometry percents --- src/client/editor/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 47154731..95ee749c 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -596,13 +596,13 @@ class Editor { for (let i in pastedData) { if (pastedData[i]._pleft) { - pastedData[i].left = ((pastedData[i]._aleft - minLeft + x) * 100 / this.selectedWidgets[0].widget.offsetWidth).toFixed(2) + '%' + pastedData[i].left = ((pastedData[i]._aleft - minLeft + x) * 100 / this.selectedWidgets[0].widget.offsetWidth).toFixed(2).replace(/\.?0+$/, '') + '%' } else { pastedData[i].left += - minLeft + x } if (pastedData[i]._ptop) { - pastedData[i].top = ((pastedData[i]._atop - minTop + y) * 100 / this.selectedWidgets[0].widget.offsetHeight).toFixed(2) + '%' + pastedData[i].top = ((pastedData[i]._atop - minTop + y) * 100 / this.selectedWidgets[0].widget.offsetHeight).toFixed(2).replace(/\.?0+$/, '') + '%' } else { pastedData[i].top += - minTop + y } @@ -654,8 +654,8 @@ class Editor { clone.top = y if (this.usePercents) { - clone.top = (100 * y / editor.selectedWidgets[0].widget.offsetHeight).toFixed(2) + '%' - clone.left= (100 * x / editor.selectedWidgets[0].widget.offsetWidth).toFixed(2) + '%' + clone.top = (100 * y / editor.selectedWidgets[0].widget.offsetHeight).toFixed(2).replace(/\.?0+$/, '') + '%' + clone.left= (100 * x / editor.selectedWidgets[0].widget.offsetWidth).toFixed(2).replace(/\.?0+$/, '') + '%' } @@ -727,7 +727,7 @@ class Editor { if (w.props.width !== undefined && w.parent.getProp('layout') !== 'vertical') { var newWidth = Math.max(nW, GRIDWIDTH) / PXSCALE if (typeof w.props.width === 'string' && w.props.width.indexOf('%') > -1) { - w.props.width = (100 * PXSCALE * newWidth / w.container.parentNode.offsetWidth).toFixed(2) + '%' + w.props.width = (100 * PXSCALE * newWidth / w.container.parentNode.offsetWidth).toFixed(2).replace(/\.?0+$/, '') + '%' } else { w.props.width = newWidth } @@ -736,7 +736,7 @@ class Editor { if (w.props.height !== undefined && w.parent.getProp('layout') !== 'horizontal') { var newHeight = Math.max(nH, GRIDWIDTH) / PXSCALE if (typeof w.props.height === 'string' && w.props.height.indexOf('%') > -1) { - w.props.height = (100 * PXSCALE * newHeight / w.container.parentNode.offsetHeight).toFixed(2) + '%' + w.props.height = (100 * PXSCALE * newHeight / w.container.parentNode.offsetHeight).toFixed(2).replace(/\.?0+$/, '') + '%' } else { w.props.height = newHeight } @@ -762,13 +762,13 @@ class Editor { var newTop = Math.max(parseInt(w.container.offsetTop) / PXSCALE + deltaY, 0) if (typeof w.props.top === 'string' && w.props.top.indexOf('%') > -1) { - w.props.top = (100 * PXSCALE * newTop / w.container.parentNode.offsetHeight).toFixed(2) + '%' + w.props.top = (100 * PXSCALE * newTop / w.container.parentNode.offsetHeight).toFixed(2).replace(/\.?0+$/, '') + '%' } else { w.props.top = newTop } var newLeft = Math.max(parseInt(w.container.offsetLeft) / PXSCALE + deltaX, 0) if (typeof w.props.left === 'string' && w.props.left.indexOf('%') > -1) { - w.props.left = (100 * PXSCALE * newLeft / w.container.parentNode.offsetWidth).toFixed(2) + '%' + w.props.left = (100 * PXSCALE * newLeft / w.container.parentNode.offsetWidth).toFixed(2).replace(/\.?0+$/, '') + '%' } else { w.props.left = newLeft } From d8d37fb312020125d8fe4c598a049f54dc2c9f15 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:26:28 +0200 Subject: [PATCH 2475/2575] editor: edge case in shared property check --- src/client/ui/ui-inspector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 7cc274e8..3748c9e8 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -133,7 +133,7 @@ class UiInspector extends UiWidget { if (widgets.some((w)=>{ let shared = false for (let c in defaults[widget.props.type]) { - if (defaults[w.props.type][c].hasOwnProperty(propName)) { + if (defaults[w.props.type][c] && defaults[w.props.type][c].hasOwnProperty(propName)) { shared = true break } From 809437ef28d10fd12baa68dd9cf4fb4b28493e4a Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:28:12 +0200 Subject: [PATCH 2476/2575] editor: display "shared properties" in inspector when multiple widgets are selected --- src/client/ui/ui-inspector.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 3748c9e8..23d68252 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -121,6 +121,8 @@ class UiInspector extends UiWidget { let category = html``, categoryLabel = categoryName === 'class_specific' ? widget.props.type : categoryName + if (widgets.length > 1 && categoryName === 'class_specific') categoryLabel = 'shared properties' + category.appendChild(html`
        ${categoryLabel}${categoryName === 'widget' && widgets.length > 1 ? `s (${widgets.length})` : ''}
        `) From 12630cbb17f0f891495df511f6c343394a0a682b Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:42:29 +0200 Subject: [PATCH 2477/2575] modal: add `popupPadding` property to control the buttons and the container's padding independently --- CHANGELOG.md | 1 + src/client/widgets/containers/modal.js | 22 ++++++++++------------ src/scss/widgets/containers.scss | 8 ++++++-- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b18f060..c00dbd8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - keyboard: added `colorBlack` and `colorWhite` properties to customize key colors - dropdown/menu: add `label` property (with support easy key/value display) - dropdown/menu: add `icon` toggle property + - modal: add `popupPadding` property to control the buttons and the container's padding independently ## 1.4.1 diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 4ce7b4b3..949b5856 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -34,6 +34,7 @@ class Modal extends Panel { '- Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal`', ]}, 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, }, children: { @@ -115,7 +116,6 @@ class Modal extends Panel { this.popupContent.classList.add('layout-' + this.getProp('layout')) - this.popupContent.style.setProperty('--widget-padding', this.getProp('padding') != 'auto' ? parseFloat(this.getProp('padding')) + 'rem' : '') this.label = html`` this.updateLabel() @@ -247,7 +247,9 @@ class Modal extends Panel { } else { this.labelChange = true } - + return + case 'popupPadding': + this.setCssVariables() return } @@ -255,21 +257,17 @@ class Modal extends Panel { } - setCssVariables() { - - super.setCssVariables() - - if (!this.popupContent) return - - this.popupContent.style.setProperty('--widget-padding', this.getProp('padding') !== 'auto' ? parseFloat(this.getProp('padding')) + 'rem' : '') - - } } +Modal.cssVariables = Modal.prototype.constructor.cssVariables.concat( + {js: 'popupPadding', css: '--popup-padding', toCss: x=>parseFloat(x) + 'rem', toJs: x=>parseFloat(x) * PXSCALE}, +) + Modal.dynamicProps = Modal.prototype.constructor.dynamicProps.concat( 'label', - 'popupLabel' + 'popupLabel', + 'popupPadding' ) module.exports = Modal diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index f8f0d0fd..f6c8c965 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -393,14 +393,16 @@ .modal-container { - --widget-padding: 4rem; + --widget-padding: -1rem; + --popup-padding: 4rem; + --color-text-on: var(--color-background); --alpha-fill-off: 0.15; --alpha-fill-on: .75; > .toggle { - --widget-padding: -1rem; + // --widget-padding: -1rem; position: absolute; top:0; @@ -479,6 +481,8 @@ > .popup-content { // contain:unset; // == no restrain padding: 0; + --widget-padding: var(--popup-padding); + &:before { content: none; } From 1046ffed722668ab2ac787533f9279ea8ec45a3a Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:42:34 +0200 Subject: [PATCH 2478/2575] tab: rm lineWidth --- src/client/widgets/containers/tab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/widgets/containers/tab.js b/src/client/widgets/containers/tab.js index ebf38dcb..7abf65df 100644 --- a/src/client/widgets/containers/tab.js +++ b/src/client/widgets/containers/tab.js @@ -25,6 +25,7 @@ class Tab extends Panel { alphaStroke: null, alphaFillOff: null, alphaFillOn: null, + lineWidth: null } }) From a610e4f4bc01652085d4d7db25e35e79a1ed6419 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:49:44 +0200 Subject: [PATCH 2479/2575] log: typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c00dbd8f..f128b0ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ - keyboard: added `colorBlack` and `colorWhite` properties to customize key colors - dropdown/menu: add `label` property (with support easy key/value display) - dropdown/menu: add `icon` toggle property - - modal: add `popupPadding` property to control the buttons and the container's padding independently + - modal: add `popupPadding` property to control the button's and the container's padding independently ## 1.4.1 From 50b7fd9582a97dad64edad9e9d5a5f889668b445 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:55:55 +0200 Subject: [PATCH 2480/2575] root: rm lineWidth --- src/client/widgets/containers/root.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/widgets/containers/root.js b/src/client/widgets/containers/root.js index 467dbc95..83fd4700 100644 --- a/src/client/widgets/containers/root.js +++ b/src/client/widgets/containers/root.js @@ -25,6 +25,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro colorStroke: null, alphaStroke: null, alphaFillOff: null, + lineWidth: null } }) From b7a5cfa4c1be31806e1cb3ee430b28b03e836076 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:56:22 +0200 Subject: [PATCH 2481/2575] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 9b86959e..100be4bb 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -116,6 +116,8 @@ | 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. | + | | `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` | === "dropdown" @@ -137,6 +139,8 @@ | 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. | + | | `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` | | | `string` | "center" | Set to `top` or `bottom` to change menu alignment (otherwise center)

        Choices: `center`, `top`, `bottom` | | | `string` | "center" | Set to `left` or `right` to change menu alignment (otherwise center)

        Choices: `center`, `left`, `right` | @@ -248,6 +252,7 @@ | | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | | | `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. | === "modal" @@ -727,10 +732,6 @@ | property | type |default | description | | --- | --- | --- | --- | |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke`
        - `--alpha-pips`: `alphaPips`
        - `--alpha-pips-text`: `alphaPipsText` | - |
        design#
        | `string` | "default" | Design style

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

        Choices: `default`, `solid`, `line` | - |
        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 | === "encoder" From 30c578465883883f05814d3893fb76e063812069 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 20:19:24 +0200 Subject: [PATCH 2482/2575] log: missing word --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f128b0ce..0627e833 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - editor - holding `alt` extends the north-west handle to the widget's size to ease dragging - - widget properties reordered (e.g. -related properties, even widget-specific, are now under the "style" category) + - widget properties reordered (e.g. style-related properties, even widget-specific, are now under the "style" category) - widgets - remove `colorBg` for all widgets except containers From 7b29071a06fc0aa4eec8b8ea3b5661a911e762c0 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 5 Oct 2020 18:00:45 +0200 Subject: [PATCH 2483/2575] widgets: touch state scripts not triggering some synchronization mechanism --- 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 0627e833..9c8ecd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.5.1 + +- bug fixes + - widgets: touch state scripts not triggering some synchronization mechanism + ## 1.5.0 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 3be66877..fd79d36b 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -207,7 +207,7 @@ class Widget extends EventEmitter { }) if (String(this.getProp('script')).includes('touch')) { this.on('touch', (e)=>{ - this.script.setValue(this.value, {id: this.getProp('id'), touch: e.touch, sync: false, send: true}) + this.script.setValue(this.value, {id: this.getProp('id'), touch: e.touch, sync: true, send: true}) }) } } From b1d93cb4df7b3cffb69a7c98ff720d43ad3f7699 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 5 Oct 2020 18:41:42 +0200 Subject: [PATCH 2484/2575] encoder: remove `steps`, `ticks` and `origin` properties encoder: make `sensitivity` work with values below 1 --- CHANGELOG.md | 4 ++++ src/client/widgets/sliders/encoder.js | 30 +++++++++++++++++++++------ 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c8ecd8a..21647f5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ - bug fixes - widgets: touch state scripts not triggering some synchronization mechanism +- widgets + - encoder: remove `steps`, `ticks` and `origin` properties + - encoder: make `sensitivity` work with values below 1 + ## 1.5.0 - bug fixes diff --git a/src/client/widgets/sliders/encoder.js b/src/client/widgets/sliders/encoder.js index 1eba9b8d..21c455da 100644 --- a/src/client/widgets/sliders/encoder.js +++ b/src/client/widgets/sliders/encoder.js @@ -1,7 +1,7 @@ var Knob = require('./knob'), StaticProperties = require('../mixins/static_properties') -module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range: {min: 0, max: 1}, sensitivity: 1, steps: ''}) { +module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range: {min: 0, max: 1}}) { static description() { @@ -20,7 +20,9 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range angle: null, }, class_specific: { - ticks: {type: 'number', value: 360, help: 'defines the granularity / verbosity of the encoder (number of step for a 360° arc)'}, + origin: null, + steps: null, + sensitivity: {type: 'number', value: 1, help: 'When set between 0 and 1, reduces the encoder\'s verbosity'}, back: {type: '*', value: -1, help: 'Defines which value is sent when rotating the encoder anticlockwise'}, forth: {type: '*', value: 1, help: 'Defines which value is sent when rotating the encoder clockwise'}, release: {type: 'number', value: '', help: [ @@ -48,6 +50,7 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range this.previousPercent = 50 this.percent = 50 + this.ignoredValues = 0 this.setValue(this.getProp('release'), {dragged: true}) } @@ -100,7 +103,7 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range if ((this.getProp('mode') === 'vertical' && !e.traversing) || e.ctrlKey) { // vertical - this.setPercent(-100 * (e.movementY / e.inertia * this.getProp('sensitivity')) / this.height + this.percent) + this.setPercent(-100 * e.movementY / this.height + this.percent) } else { // snap or circular @@ -128,6 +131,8 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range dragendHandle(e, data, traversing) { + this.ignoredValues = 0 + if (this.getProp('release') === '') return this.previousPercent = 50 @@ -152,9 +157,6 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range setPercent(percent) { - var div = 100 / this.getProp('ticks') - percent = Math.round(percent / div) * div - this.previousPercent = this.percent this.percent = percent @@ -195,10 +197,26 @@ module.exports = class Encoder extends StaticProperties(Knob, {angle: 360, range ) return + + // sensitivity = ingore value updates + var sensitivityIgnore = false + if (this.getProp('sensitivity') < 1) { + if (v != this.getProp('release')) { + this.ignoredValues += 1 + if (this.ignoredValues <= 1 / this.getProp('sensitivity')) { + sensitivityIgnore = true + } else { + this.ignoredValues = 0 + } + } + } + this.value = v this.batchDraw() + if (sensitivityIgnore) return + if (options.send) this.sendValue() if (options.sync) this.changed(options) From 5d9e08cd2afb4d15b7b9600ee58d2777ad9db96b Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 5 Oct 2020 19:05:13 +0200 Subject: [PATCH 2485/2575] package: 1.5.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 47489d00..a4cb26e1 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.5.0", + "version": "1.5.1", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From d3c766eb4097e2f9824202e05ddf4e2ffff66c6f Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 5 Oct 2020 19:05:23 +0200 Subject: [PATCH 2486/2575] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 100be4bb..ada606db 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -742,10 +742,7 @@ |
        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}}`) | |
        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:
        - `auto`: use values defined in `range`
        - `number`: define a number of evenly spaced steps
        - `array`: use arbitrary values | - |
        origin#
        | `number` | "auto" | Defines the starting point's value of the knob's gauge | - |
        ticks#
        | `number` | 360 | defines the granularity / verbosity of the encoder (number of step for a 360° arc) | + |
        sensitivity#
        | `number` | 1 | When set between 0 and 1, reduces the encoder's verbosity | |
        back#
        | `*` | -1 | Defines which value is sent when rotating the encoder anticlockwise | |
        forth#
        | `*` | 1 | Defines which value is sent when rotating the encoder clockwise | |
        release#
        | `number` | "" | Defines which value is sent when releasing the encoder:
        - Set to `null` to send send no argument in the osc message
        - Can be an `object` if the type needs to be specified | From 26ca81b4384641693c7257f2ddfb5cc720af730d Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 12 Oct 2020 19:30:26 +0200 Subject: [PATCH 2487/2575] docs: matrix: better '$' variable documentation --- 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 b9af5862..bcfb4569 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -21,7 +21,7 @@ class Matrix extends StaticProperties(Panel) { start: {type: 'integer', value: 0, help: 'First widget\'s index'}, props: {type: 'object', value: {}, help: [ 'Defines a set of property to override the widgets\' defaults.', - 'Formulas in this field are resolved with an extra variable representing each widget\'s index: `$`', + 'JS{{}} and #{} blocks in this field are resolved with an extra variable representing each widget\'s index: `$` (e.g. `#{$}`)', 'Note: by default, the widgets inherit from the matrix\' `id` and osc properties (`id` and `address` are appended with `/$`)' ]}, }, From 94686ac3f7c3ee6c22a92927cf5cdb2297407d4e Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 12 Oct 2020 19:32:14 +0200 Subject: [PATCH 2488/2575] docs: update widget ref --- 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 ada606db..30414203 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -309,7 +309,7 @@ |
        widgetType#
        | `string` | "button" | Defines the type of the widgets in the matrix | |
        quantity#
        | `number` | 4 | Defines the number of widgets in the matrix | |
        start#
        | `integer` | 0 | First widget's index | - |
        props#
        | `object` | \{} | Defines a set of property to override the widgets' defaults.

        Formulas in this field are resolved with an extra variable representing each widget's index: `$`

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | + |
        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. `#{$}`)

        Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | === "value" From ddd7c036fa9c920ccc0e8d18bc4245eb367743d4 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 13 Oct 2020 19:17:38 +0200 Subject: [PATCH 2489/2575] launcher: midi device names containing multiple spaces not parsed correctly --- CHANGELOG.md | 5 +++++ src/launcher/settings.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21647f5d..d3747ac4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.5.2 + +- bug fixes + - launcher: midi device names containing multiple spaces not parsed correctly + ## 1.5.1 - bug fixes diff --git a/src/launcher/settings.js b/src/launcher/settings.js index 61a386b7..28ad4638 100644 --- a/src/launcher/settings.js +++ b/src/launcher/settings.js @@ -171,7 +171,7 @@ class Settings { toggle.classList.toggle('on', v) } else if (v && data.type === 'array'){ v = v.replace(/("[^"]*"|'[^']*')/g, (m)=>{ - return m.substr(1, m.length - 2).replace(/\s/, '_SPaCE_') + return m.substr(1, m.length - 2).replace(/\s/g, '_SPaCE_') }) v = v.split(' ') v = v.map(x=>x.replace(/_SPaCE_/g, ' ')) From 23e1a1c793d643a71834126fdb04dc935edac1f4 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 13 Oct 2020 19:43:53 +0200 Subject: [PATCH 2490/2575] fullscreen: lack of support not detected on some ios devices multixy: labels not hidden when `ephemeral` is `true` --- CHANGELOG.md | 2 ++ package.json | 2 +- src/client/ui/fullscreen.js | 5 +++-- src/client/widgets/pads/multixy.js | 8 ++++++++ 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3747ac4..60bde4d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - bug fixes - launcher: midi device names containing multiple spaces not parsed correctly + - fullscreen: lack of support not detected on some ios devices + - multixy: labels not hidden when `ephemeral` is `true` ## 1.5.1 diff --git a/package.json b/package.json index a4cb26e1..4e6f1dc3 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.5.1", + "version": "1.5.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/ui/fullscreen.js b/src/client/ui/fullscreen.js index b3eebf33..cb069a36 100644 --- a/src/client/ui/fullscreen.js +++ b/src/client/ui/fullscreen.js @@ -1,10 +1,11 @@ var screenfull = require('screenfull'), UiModal = require('./ui-modal'), - locales = require('../locales') + locales = require('../locales'), + iOS = require('./ios') var fullscreen -if (screenfull.isEnabled) { +if (screenfull.isEnabled && !iOS) { fullscreen = screenfull diff --git a/src/client/widgets/pads/multixy.js b/src/client/widgets/pads/multixy.js index 299c97d2..bf0bdb64 100644 --- a/src/client/widgets/pads/multixy.js +++ b/src/client/widgets/pads/multixy.js @@ -118,6 +118,8 @@ module.exports = class MultiXy extends Pad { this.pads[id].trigger('draginit', e) + if (this.getProp('ephemeral')) this.batchDraw() + }, {element: this.widget, multitouch: true}) this.on('drag',(e)=>{ @@ -144,6 +146,8 @@ module.exports = class MultiXy extends Pad { delete this.touchMap[e.pointerId] + if (this.getProp('ephemeral')) this.batchDraw() + }, {element: this.widget, multitouch: true}) this.on('change',(e)=>{ @@ -209,7 +213,11 @@ module.exports = class MultiXy extends Pad { this.clear() + for (var i=0;i Date: Thu, 15 Oct 2020 11:00:35 +0200 Subject: [PATCH 2491/2575] remote-control: add `/SESSION/OPEN` and `/SESSION/SAVE` commands --- CHANGELOG.md | 3 +++ resources/docs/docs/remote-control.md | 12 ++++++++++++ src/client/remote-control.js | 17 +++++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60bde4d6..437328a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ - fullscreen: lack of support not detected on some ios devices - multixy: labels not hidden when `ephemeral` is `true` +- remote control + - add `/SESSION/OPEN` and `/SESSION/SAVE` commands + ## 1.5.1 - bug fixes diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index ef79e860..bbc0833d 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -169,3 +169,15 @@ Save the state of all widgets in the temporary slot. #### `/STATE/RECALL` Reload saved state from the temporary slot. + +---- + +#### `/SESSION/OPEN path.json` + +Open session file `path.json`. + +---- + +#### `/SESSION/SAVE path.json` + +Save current session to `path.json`. If `path.json` is omitted, current session's path is used. diff --git a/src/client/remote-control.js b/src/client/remote-control.js index 560a5864..5dd59920 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -2,6 +2,7 @@ var {updateWidget} = require('./editor/data-workers'), editor = require('./editor'), widgetManager = require('./managers/widgets'), stateManager = require('./managers/state'), + sessionManager = require('./managers/session'), deepExtend = require('deep-extend'), notifications = require('./ui/notifications') @@ -231,6 +232,22 @@ var callbacks = { }) }, + '/SESSION/OPEN': function(args) { + + if (!Array.isArray(args)) args = [args] + + if (typeof args === 'string') sessionManager.requestOpen(args[0]) + + }, + '/SESSION/SAVE': function(args) { + + if (!Array.isArray(args)) args = [args] + + sessionManager.save(args[0]) + + } + + } From d3fd3cb9bfc3b95cdcd2d7028b743f9977eaa2d4 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 15 Oct 2020 11:00:47 +0200 Subject: [PATCH 2492/2575] server: fix error message notification when save file fails --- src/server/callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 0c5e9f43..c3ad48ef 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -207,7 +207,7 @@ module.exports = { if (err) return ipc.send('notify', { class: 'error', locale: 'remotesave_fail', - message: err + message: ' (' + err.message + ')' }, clientId) From fa7f4481a2bb2a6efdca1428975f10a1b1dddd09 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 15 Oct 2020 11:02:16 +0200 Subject: [PATCH 2493/2575] remote-control: rm extra check --- src/client/remote-control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/remote-control.js b/src/client/remote-control.js index 5dd59920..2bb5a439 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -236,7 +236,7 @@ var callbacks = { if (!Array.isArray(args)) args = [args] - if (typeof args === 'string') sessionManager.requestOpen(args[0]) + sessionManager.requestOpen(args[0]) }, '/SESSION/SAVE': function(args) { From 0afa1839ff7f219df3487fa64f8e015f84ac7f3e Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 19 Oct 2020 08:21:14 +0200 Subject: [PATCH 2494/2575] widget: update prop cache sequentially to avoid multi-prop edition from causing errors (eg: address & preArgs at the same time => cache error because the old value is needed by the manager) --- CHANGELOG.md | 5 +++++ src/client/widgets/common/widget.js | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 437328a0..c433e05f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.5.3 + +- bug fixes + - editor: error when `preArgs` and `address` are modified at the same time (affects `/EDIT` command and matrix/clone widgets) + ## 1.5.2 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index fd79d36b..bb5f9de1 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -730,8 +730,7 @@ class Widget extends EventEmitter { } else { - this.cachedProps[propName] = propValue - changedProps.push({propName, oldPropValue}) + changedProps.push({propName, propValue, oldPropValue}) } @@ -745,13 +744,11 @@ class Widget extends EventEmitter { } - if (options && options.fromEditor) { - this.checkLinkedProps(propNames) - } if (changedProps.length) { for (var i in changedProps) { + this.cachedProps[changedProps[i].propName] = changedProps[i].propValue this.onPropChanged(changedProps[i].propName, options, changedProps[i].oldPropValue) } @@ -764,6 +761,10 @@ class Widget extends EventEmitter { } + if (options && options.fromEditor) { + this.checkLinkedProps(propNames) + } + } onPropChanged(propName, options={}, oldPropValue) { From 9b21cd4865e34dd67ba0b64b9d398b84f794e939 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 19 Oct 2020 08:23:25 +0200 Subject: [PATCH 2495/2575] package: 1.5.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e6f1dc3..d506d85e 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.5.2", + "version": "1.5.3", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 69831e9719b01fa0e9f6bb9ff45fde35a4921a61 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 21 Oct 2020 10:31:24 +0200 Subject: [PATCH 2496/2575] remote control: add `/STATE/OPEN` and `/STATE/SAVE` commands; ignore unsaved changes when loading a session with `/SESSION/OPEN` --- CHANGELOG.md | 6 ++++++ resources/docs/docs/remote-control.md | 17 +++++++++++++++++ src/client/managers/session/index.js | 3 +-- src/client/managers/state.js | 8 +++++++- src/client/remote-control.js | 14 ++++++++++++++ 5 files changed, 45 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c433e05f..4f86b405 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.5.4 + +- remote control + - add `/STATE/OPEN` and `/STATE/SAVE` commands + - ignore unsaved changes when loading a session with `/SESSION/OPEN` + ## 1.5.3 - bug fixes diff --git a/resources/docs/docs/remote-control.md b/resources/docs/docs/remote-control.md index bbc0833d..f3e983ce 100644 --- a/resources/docs/docs/remote-control.md +++ b/resources/docs/docs/remote-control.md @@ -115,6 +115,11 @@ Replies `/GET address preArg1 preArg2 ... value` Same as `/GET` but uses the widget's address instead of `/GET` to reply. +---- + +#### `/NOTIFY message` + +Sends a notification message to the client. ---- @@ -172,6 +177,18 @@ Reload saved state from the temporary slot. ---- +#### `/STATE/OPEN path.state` + +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. + +---- + #### `/SESSION/OPEN path.json` Open session file `path.json`. diff --git a/src/client/managers/session/index.js b/src/client/managers/session/index.js index dd390315..66deae87 100644 --- a/src/client/managers/session/index.js +++ b/src/client/managers/session/index.js @@ -133,7 +133,6 @@ var SessionManager = class SessionManager { requestOpen(path) { - if (editor.unsavedSession && !confirm(locales('session_unsaved'))) return ipc.send('sessionOpen', {path: path}) } @@ -145,7 +144,7 @@ var SessionManager = class SessionManager { uiFilebrowser({extension: 'json', directory: this.lastDir}, (path)=>{ if (editor.unsavedSession && !confirm(locales('session_unsaved'))) return this.lastDir = path[0] - ipc.send('sessionOpen',{path:path}) + this.requestOpen(path) }) } diff --git a/src/client/managers/state.js b/src/client/managers/state.js index c8c91cbe..cda5293e 100644 --- a/src/client/managers/state.js +++ b/src/client/managers/state.js @@ -112,11 +112,17 @@ var StateManager = class StateManager { } + requestOpen(path) { + + ipc.send('stateOpen', {path: path}) + + } + browse() { uiFilebrowser({extension: 'state', directory: this.lastDir}, (path)=>{ this.lastDir = path[0] - ipc.send('stateOpen',{path: path}) + this.requestOpen(path) }) } diff --git a/src/client/remote-control.js b/src/client/remote-control.js index 2bb5a439..f0aa4c36 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -222,6 +222,20 @@ var callbacks = { stateManager.quickLoad() + }, + '/STATE/OPEN': function(args) { + + if (!Array.isArray(args)) args = [args] + + stateManager.requestOpen(args[0]) + + }, + '/STATE/SAVE': function(args) { + + if (!Array.isArray(args)) args = [args] + + stateManager.save(args[0]) + }, '/NOTIFY': function(args) { From 858c86a2a6e5cbaa9bacd0de23d1cc40bd8fbad9 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 23 Oct 2020 10:48:11 +0200 Subject: [PATCH 2497/2575] docs: material mkdocs update, better server options docs --- .../getting-started/server-configuration.md | 163 +++++++++++------- resources/docs/extra/styles.css | 6 + 2 files changed, 102 insertions(+), 67 deletions(-) diff --git a/resources/docs/docs/getting-started/server-configuration.md b/resources/docs/docs/getting-started/server-configuration.md index eec3dfe2..09c51688 100644 --- a/resources/docs/docs/getting-started/server-configuration.md +++ b/resources/docs/docs/getting-started/server-configuration.md @@ -1,159 +1,188 @@ The **server** can be configured with many options, either from a terminal or with the help of the **launcher**. -!!! abstract "Options" +## Options - === "send" +!!! quote "" + #### `send` - Defines the default osc/midi targets. These will be added to the widget's individual targets. Targets must be separated by a space and formatted as follows: + Defines the default osc/midi targets. These will be added to the widget's individual targets. Targets must be separated by a space and formatted as follows: - - `ip_address:port` - - `host_name:port` - - `midi:device_name` + - `ip_address:port` + - `host_name:port` + - `midi:device_name` - === "load" +!!! quote "" + #### `load` - Path to a session file (.json). All clients connecting the server will load it. + Path to a session file (.json). All clients connecting the server will load it. - === "state" +!!! quote "" + #### `state` - Path to a state file (.state). All clients connecting the server will load it. + Path to a state file (.state). All clients connecting the server will load it. - === "custom-module" +!!! quote "" + #### `custom-module` - Path to a custom module file (.js). + Path to a custom module file (.js). - === "port" +!!! quote "" + #### `port` - HTTP port for the server (default: `8080`). + HTTP port for the server (default: `8080`). - === "osc-port" +!!! quote "" + #### `osc-port` - OSC (UDP) input port (default: `port`). + OSC (UDP) input port (default: `port`). - === "tcp-port" +!!! quote "" + #### `tcp-port` - OSC (TCP) input port. + OSC (TCP) input port. - === "tcp-targets" +!!! quote "" + #### `tcp-targets` - TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Targets must be separated by a space and formatted as follows: + TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Targets must be separated by a space and formatted as follows: - - `ip_address:port` - - `host_name:port` + - `ip_address:port` + - `host_name:port` - === "midi" +!!! quote "" + #### `midi` - MIDI options separated by spaces, MIDI support must be enabled, see [MIDI configuration](../midi/midi-configuration.md). + MIDI options separated by spaces, MIDI support must be enabled, see [MIDI configuration](../midi/midi-configuration.md). - === "debug" +!!! quote "" + #### `debug` - Print sent and receiced messages in the console. This may impact performances and should not be enabled in production. + Print sent and receiced messages in the console. This may impact performances and should not be enabled in production. - === "no-gui" +!!! quote "" + #### `no-gui` - Disable built-in client window. + Disable built-in client window. - === "fullscreen" +!!! quote "" + #### `fullscreen` - Start the built-in client window in fullscreen. + Start the built-in client window in fullscreen. - === "theme" +!!! quote "" + #### `theme` - Theme names or paths. See [Themes](../customization/themes.md). + Theme names or paths. See [Themes](../customization/themes.md). - === "client-options" +!!! quote "" + #### `client-options` - Default [client options](../client-options.md), separated by spaces. + Default [client options](../client-options.md), separated by spaces. - === "disable-vsync" +!!! quote "" + #### `disable-vsync` - Disable built-in client window's vertical synchronization. + Disable built-in client window's vertical synchronization. - === "force-gpu" +!!! quote "" + #### `force-gpu` - Disable built-in client window's gpu blacklist (may improve rendering performance in some cases). + Disable built-in client window's gpu blacklist (may improve rendering performance in some cases). - === "read-only" +!!! quote "" + #### `read-only` - Disable session editing, and file saving. + Disable session editing, and file saving. - === "remote-saving" +!!! quote "" + #### `remote-saving` - Disable file saving for hosts that don't match the regular expression. + Disable file saving for hosts that don't match the regular expression. - Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`. + Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`. - === "remote-root" +!!! quote "" + #### `remote-root` - Set file browsing root folder. + Set file browsing root folder. Prevent writing files outside of this folder. - === "authentication" +!!! quote "" + #### `authentication` - Restrict access to `user:password` (remote clients will be prompted for these credentials). + Restrict access to `user:password` (remote clients will be prompted for these credentials). - === "instance-name" +!!! quote "" + #### `instance-name` - Server's name on zeroconf/bonjour network. Incremented automatically if not available. + Server's name on zeroconf/bonjour network. Incremented automatically if not available. - === "use-ssl" +!!! quote "" + #### `use-ssl` - Use HTTPS protocol instead of HTTP (a self-signed certificate will be created) + Use HTTPS protocol instead of HTTP (a self-signed certificate will be created) -!!! abstract "Command-line options" +## Command-line options - The following options can only be set from a terminal. +The following options can only be set from a terminal. - === "disable-gpu" +!!! quote "" + #### `disable-gpu` - Disable hardware acceleration for the launcher window and the built-in client window. + Disable hardware acceleration for the launcher window and the built-in client window. - === "inspect" +!!! quote "" + #### `inspect` - Enable node inspector. + Enable node inspector. - === "cache-dir" +!!! quote "" + #### `cache-dir` - Override default cache directory (contains browser cache and localStorage data). + Override default cache directory (contains browser cache and localStorage data). - === "config-file" +!!! quote "" + #### `config-file` - Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`. + Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`. - === "help" +!!! quote "" + #### `help` - Show help. + Show help. - === "docs" +!!! quote "" + #### `docs` - Serve documentation website locally and open it with the system\'s default browser + Serve documentation website locally and open it with the system\'s default browser - === "version" +!!! quote "" + #### `version` - Show version number. + Show version number. ## Running in a terminal diff --git a/resources/docs/extra/styles.css b/resources/docs/extra/styles.css index 5ad6b85e..905bc870 100644 --- a/resources/docs/extra/styles.css +++ b/resources/docs/extra/styles.css @@ -11,6 +11,12 @@ html { background-color: var(--osc-background-color)!important; } +@media screen and (min-width:1220px) { + .md-nav__title[for=__drawer] { + background-color: transparent!important; + } +} + .md-header-nav__title { padding-top: 1px; padding-left: 0!important From 664d4cec3045fe00dc286434ac4a1a7f8c9a0587 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 23 Oct 2020 11:01:43 +0200 Subject: [PATCH 2498/2575] docs: scroll fix --- resources/docs/extra/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/extra/scripts.js b/resources/docs/extra/scripts.js index 6c4e469d..c31449b7 100644 --- a/resources/docs/extra/scripts.js +++ b/resources/docs/extra/scripts.js @@ -1,6 +1,6 @@ document.addEventListener('DOMContentLoaded', ()=>{ - if (window.location.hash) { + 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'), From cd03322304c3aa223457b1f94f5bc16cad357ec0 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 24 Oct 2020 10:07:54 +0200 Subject: [PATCH 2499/2575] ssl: generate unique certificates (with random serial numbers) to avoid reuse errors. Certificates generated with older versions of o-s-c w> --- CHANGELOG.md | 3 +++ src/server/ssl.js | 18 ++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f86b405..760ef1b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.5.4 +- bug fixes + - ssl: generate unique certificates (with random serial numbers) to avoid reuse errors. Certificates generated with older versions of o-s-c will be updated automatically. + - remote control - add `/STATE/OPEN` and `/STATE/SAVE` commands - ignore unsaved changes when loading a session with `/SESSION/OPEN` diff --git a/src/server/ssl.js b/src/server/ssl.js index 6623d5fb..68382b93 100644 --- a/src/server/ssl.js +++ b/src/server/ssl.js @@ -5,6 +5,20 @@ var settings = require('./settings'), forge.options.usePureJavaScript = true +// Generate a random Serial number for the certificate +// matth-c3 @ https://github.com/digitalbazaar/forge/issues/673#issuecomment-500900852 +function randomSerialNumber() { + var hexString = forge.util.bytesToHex(forge.random.getBytesSync(16)) + + var mostSiginficativeHexAsInt = parseInt(hexString[0], 16) + if (mostSiginficativeHexAsInt < 8) { + return hexString + } + + mostSiginficativeHexAsInt -= 8 + return mostSiginficativeHexAsInt.toString() + hexString.substring(1) +} + function createCertificate() { console.log('(INFO) Creating self signed ssl certificate...') @@ -40,8 +54,8 @@ if (!certificate) { var cert = pki.certificateFromPem(certificate.cert) - if (new Date() > new Date(cert.validity.notAfter)) { - console.log('(INFO) Self-signed ssl certificate has expired') + if (new Date() > new Date(cert.validity.notAfter) || cert.serialNumber === '00') { + console.log('(INFO) Self-signed ssl certificate in cache has expired or is invalid') createCertificate() } else { console.log('(INFO) Using self-signed ssl certificate in cache') From db261dd4c2fd2e9cc0eaef5b7b38653e3b47f038 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 24 Oct 2020 14:56:10 +0200 Subject: [PATCH 2500/2575] ssl: missing serialnumber assignment --- src/server/ssl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/ssl.js b/src/server/ssl.js index 68382b93..e1fb6013 100644 --- a/src/server/ssl.js +++ b/src/server/ssl.js @@ -12,7 +12,7 @@ function randomSerialNumber() { var mostSiginficativeHexAsInt = parseInt(hexString[0], 16) if (mostSiginficativeHexAsInt < 8) { - return hexString + return hexString } mostSiginficativeHexAsInt -= 8 @@ -29,6 +29,7 @@ function createCertificate() { cert.publicKey = keys.publicKey cert.validity.notBefore = new Date() cert.validity.notAfter.setFullYear(cert.validity.notBefore.getFullYear() + 1) + cert.serialNumber = randomSerialNumber() var attrs = [ {name:'commonName',value: settings.infos.name}, From 8fe543b75617d98c9b52422a1ef7f00ff8993502 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 24 Oct 2020 17:25:34 +0200 Subject: [PATCH 2501/2575] server: support ~/ path prefix in /{SESSION,STATE}/{OPEN,SAVE} --- CHANGELOG.md | 1 + src/server/callbacks.js | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 760ef1b7..3afb2b2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - ssl: generate unique certificates (with random serial numbers) to avoid reuse errors. Certificates generated with older versions of o-s-c will be updated automatically. + - `~/` path prefix not recognized when using remote control commands like `/SESSION/SAVE` - remote control - add `/STATE/OPEN` and `/STATE/SAVE` commands diff --git a/src/server/callbacks.js b/src/server/callbacks.js index c3ad48ef..8eb0a723 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -146,6 +146,12 @@ module.exports = { if (Array.isArray(data.path)) data.path = path.resolve(...data.path) + if (data.path && data.path.startsWith('~')) { + // Resolve '~' to user's home directory + var p = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'] + if (p) data.path = data.path.replace( '~', p ) + } + fs.readFile(data.path, 'utf8', (err, result)=>{ var error @@ -186,6 +192,12 @@ module.exports = { if (Array.isArray(data.path)) data.path = path.resolve(...data.path) + if (data.path.startsWith('~')) { + // Resolve '~' to user's home directory + var p = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'] + if (p) data.path = data.path.replace( '~', p ) + } + var root = settings.read('remote-root') if (root && !data.path.includes(root)) { console.error('(ERROR) Could not save: path outside of remote-root') From a8940779ba13decffffd219b902ce353182d2296 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 24 Oct 2020 17:27:35 +0200 Subject: [PATCH 2502/2575] package: 1.5.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d506d85e..b101d936 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.5.3", + "version": "1.5.4", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From 8f3513318ffd9335d74cb6abe489c1b858f3f5a7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 24 Oct 2020 19:17:36 +0200 Subject: [PATCH 2503/2575] server: clean ~/ to home dir resolution code; resolve ~/ in remote-root --- CHANGELOG.md | 1 + src/server/callbacks.js | 32 ++++++++------------------------ src/server/utils.js | 7 +++++++ 3 files changed, 16 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3afb2b2f..0c5a31b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - ssl: generate unique certificates (with random serial numbers) to avoid reuse errors. Certificates generated with older versions of o-s-c will be updated automatically. - `~/` path prefix not recognized when using remote control commands like `/SESSION/SAVE` + - `~/` path prefix not recognized in `remote-root` option - remote control - add `/STATE/OPEN` and `/STATE/SAVE` commands diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 8eb0a723..f83500ea 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -3,7 +3,7 @@ var path = require('path'), settings = require('./settings'), osc = require('./osc'), {ipc} = require('./server'), - {deepCopy} = require('./utils'), + {deepCopy, resolveHomeDir} = require('./utils'), theme = require('./theme') var widgetHashTable = {}, @@ -146,11 +146,7 @@ module.exports = { if (Array.isArray(data.path)) data.path = path.resolve(...data.path) - if (data.path && data.path.startsWith('~')) { - // Resolve '~' to user's home directory - var p = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'] - if (p) data.path = data.path.replace( '~', p ) - } + data.path = resolveHomeDir(data.path) fs.readFile(data.path, 'utf8', (err, result)=>{ @@ -192,13 +188,9 @@ module.exports = { if (Array.isArray(data.path)) data.path = path.resolve(...data.path) - if (data.path.startsWith('~')) { - // Resolve '~' to user's home directory - var p = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'] - if (p) data.path = data.path.replace( '~', p ) - } + data.path = resolveHomeDir(data.path) - var root = settings.read('remote-root') + var root = resolveHomeDir(settings.read('remote-root')) if (root && !data.path.includes(root)) { console.error('(ERROR) Could not save: path outside of remote-root') return ipc.send('notify', { @@ -432,20 +424,12 @@ module.exports = { listDir(data, clientId) { // remote file browser backend - var p = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'] + if (data.path) data.path[0] = resolveHomeDir(data.path[0]) + else data.path = [resolveHomeDir('~/')] - if (data.path) { - // Resolve '~' to user's home directory - if (data.path[0].startsWith('~')) { - p = data.path[0].replace( '~', p ) - } - else { - p = path.resolve(...data.path) - } - //console.log(`Resolved path: ${p}`); - } + var p = path.resolve(...data.path), + root = resolveHomeDir(settings.read('remote-root')) - var root = settings.read('remote-root') if (root && !p.includes(root)) p = root fs.readdir(p, (err, files)=>{ diff --git a/src/server/utils.js b/src/server/utils.js index 41aae6dd..5f14a012 100644 --- a/src/server/utils.js +++ b/src/server/utils.js @@ -17,6 +17,13 @@ module.exports = { return copy + }, + + resolveHomeDir: function(p) { + // Resolve '~' to user's home directory + if (!p) return '' + return String(p).replace(/^~/, process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME']) } + } From e8fdd22385647ab11e8b11fe4979be4e7aae3eb0 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 17:17:47 +0100 Subject: [PATCH 2504/2575] remote-root: normalize path before checking if path is in remote-root (avoid win32 error ?) --- src/server/callbacks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/callbacks.js b/src/server/callbacks.js index f83500ea..46762d3d 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -191,7 +191,7 @@ module.exports = { data.path = resolveHomeDir(data.path) var root = resolveHomeDir(settings.read('remote-root')) - if (root && !data.path.includes(root)) { + if (root && !path.normalize(data.path).includes(path.normalize(root))) { console.error('(ERROR) Could not save: path outside of remote-root') return ipc.send('notify', { class: 'error', @@ -430,7 +430,7 @@ module.exports = { var p = path.resolve(...data.path), root = resolveHomeDir(settings.read('remote-root')) - if (root && !p.includes(root)) p = root + if (root && !path.normalize(p).includes(path.normalize(root))) p = root fs.readdir(p, (err, files)=>{ if (err) { From 430dd940af7bbed335c32bf5c3d26d4cd9ea58e9 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 17:32:13 +0100 Subject: [PATCH 2505/2575] remote-control: resolve relative file paths according to the `remote-root` setting --- CHANGELOG.md | 1 + src/server/callbacks.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c5a31b9..55bc6a02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - remote control - add `/STATE/OPEN` and `/STATE/SAVE` commands - ignore unsaved changes when loading a session with `/SESSION/OPEN` + - resolve relative file paths according to the `remote-root` setting ## 1.5.3 diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 46762d3d..470139b5 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -148,6 +148,8 @@ module.exports = { data.path = resolveHomeDir(data.path) + if (!path.isAbsolute(data.path) && settings.read('remote-root')) data.path = path.resolve(resolveHomeDir(settings.read('remote-root')), data.path) + fs.readFile(data.path, 'utf8', (err, result)=>{ var error @@ -190,6 +192,8 @@ module.exports = { data.path = resolveHomeDir(data.path) + if (!path.isAbsolute(data.path) && settings.read('remote-root')) data.path = path.resolve(settings.read('remote-root'), data.path) + var root = resolveHomeDir(settings.read('remote-root')) if (root && !path.normalize(data.path).includes(path.normalize(root))) { console.error('(ERROR) Could not save: path outside of remote-root') From a82c5283c617a8f56d774ac5ac952adddc4b119e Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 17:34:55 +0100 Subject: [PATCH 2506/2575] log: phrasing boom --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55bc6a02..8ce91e37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - remote control - add `/STATE/OPEN` and `/STATE/SAVE` commands - ignore unsaved changes when loading a session with `/SESSION/OPEN` - - resolve relative file paths according to the `remote-root` setting + - resolve relative file paths against `remote-root` setting ## 1.5.3 From 2b02d29287ceb7c519836da4e20f99f6873a6362 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 18:03:25 +0100 Subject: [PATCH 2507/2575] docs: midi install steps --- .../docs/docs/midi/midi-configuration.md | 32 ++++++++++++++++--- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 7f040302..2c219194 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -1,12 +1,34 @@ -## Requirements +## Installatuion -MIDI support requires additional software to be installed on the server's system: +Enabling MIDI support in Open Stage Control requires additional softwares to be installed on the server's system: - [python 3](https://www.python.org/downloads/) - python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi) -!!! info "Why an additionnal dependency ?" - Providing cross-platform MIDI support is not trivial, as it requires OS-specific compilation that cannot be automated within Open Stage Control's current packaging workflow. Using a python addon seems to be the best compromise so far : the core app remains easy to build, and the extra dependency is easy to install. +??? example "Linux" + + - Install `python3` and `python3-pip` from your distribution's package repository + - Install `python-rtmidi` from a terminal: + ```bash + python3 -m pip install python-rtmidi --upgrade + ``` + +??? example "Mac" + + - Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/) + - Install `python-rtmidi` from a terminal: + ```bash + python -m pip install python-rtmidi --upgrade + ``` + +??? example "Windows" + + - Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/) + - **make sure to check the option** "Add Python 3.x to PATH" + - Install `python-rtmidi` from a terminal: + ```bash + python -m pip install python-rtmidi --upgrade + ``` ## Configuration @@ -41,7 +63,7 @@ Send program changes with a `-1` offset to match some software/hardware implemen **`path=/path/to/python`** -Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`) +Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`). **`device_name:virtual`** (*Linux / Mac only*): creates a virtual midi device with one input port and one output port From 0ac8f0ffc977037ca3f18b1625fcae1fa688878a Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 18:06:59 +0100 Subject: [PATCH 2508/2575] editor: paste ID+1: midi-related addresses should not be incremented --- CHANGELOG.md | 1 + src/client/editor/data-workers.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ce91e37..54255156 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - ssl: generate unique certificates (with random serial numbers) to avoid reuse errors. Certificates generated with older versions of o-s-c will be updated automatically. - `~/` path prefix not recognized when using remote control commands like `/SESSION/SAVE` - `~/` path prefix not recognized in `remote-root` option + - editor: paste ID+1: midi-related addresses should not be incremented - remote control - add `/STATE/OPEN` and `/STATE/SAVE` commands diff --git a/src/client/editor/data-workers.js b/src/client/editor/data-workers.js index f8c0cc43..3265ecb2 100644 --- a/src/client/editor/data-workers.js +++ b/src/client/editor/data-workers.js @@ -182,7 +182,7 @@ var incrementWidget = function(data, root){ data.address = 'auto' - } else if (address !== 'auto') { + } else if (!address.match(/^auto|\/control|\/note|\/program|\/sysex|\/key_pressure|\/channel_pressure|\/pitch/) !== 'auto') { var addressref while (fakeStore.address.indexOf(address) != -1 || widgetManager.getWidgetByAddress(addressref).length) { From 31dd882ae75ace50673dfab252ef72d47216d263 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 18:32:21 +0100 Subject: [PATCH 2509/2575] docs: midi setup --- resources/docs/docs/midi/midi-configuration.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 2c219194..f9643133 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -16,7 +16,13 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be ??? example "Mac" - Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/) - - Install `python-rtmidi` from a terminal: + - Download [get-pip.py](https://bootstrap.pypa.io/get-pip.py) in the folder of your choice + - Install `pip` (package installer for python) + ``` + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + python get-pip.py + ``` + - Install `python-rtmidi`: ```bash python -m pip install python-rtmidi --upgrade ``` @@ -25,7 +31,13 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be - Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/) - **make sure to check the option** "Add Python 3.x to PATH" - - Install `python-rtmidi` from a terminal: + - Open a terminal (++win+r++) + - Install `pip` (package installer for python) + ``` + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + python get-pip.py + ``` + - Install `python-rtmidi`: ```bash python -m pip install python-rtmidi --upgrade ``` From 1acdc4744ad8bb3d09845ba3a446caa9b527f021 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 18:34:43 +0100 Subject: [PATCH 2510/2575] docs: restore tabs --- resources/mkdocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 10b03382..c35b874a 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -10,8 +10,8 @@ theme: name: 'material' custom_dir: 'overrides' features: - - tabs - - instant + - navigation.tabs + - navigation.instant palette: primary: 'Indigo' accent: 'Indigo' From 8d9ffd38c3d41632680186ea4865a944a2707935 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 18:35:18 +0100 Subject: [PATCH 2511/2575] docs: typo --- resources/docs/docs/midi/midi-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index f9643133..f8afe21c 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -1,4 +1,4 @@ -## Installatuion +## Installation Enabling MIDI support in Open Stage Control requires additional softwares to be installed on the server's system: From 0a32d7cbbd8a7d143f35d4aec0e56f4755d556f0 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 18:38:13 +0100 Subject: [PATCH 2512/2575] docs: mac midi step --- resources/docs/docs/midi/midi-configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index f8afe21c..57afe5f3 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -17,6 +17,7 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be - Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/) - Download [get-pip.py](https://bootstrap.pypa.io/get-pip.py) in the folder of your choice + - Open a terminal - Install `pip` (package installer for python) ``` curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py From ed7f557e4ba0a704bca9664146785494a7d08545 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 18:39:49 +0100 Subject: [PATCH 2513/2575] docs: midi mac step --- resources/docs/docs/midi/midi-configuration.md | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 57afe5f3..31bd3646 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -16,7 +16,6 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be ??? example "Mac" - Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/) - - Download [get-pip.py](https://bootstrap.pypa.io/get-pip.py) in the folder of your choice - Open a terminal - Install `pip` (package installer for python) ``` From 02763e7c9fabcd70b01d74b8b7830fa791f655b9 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 19:13:40 +0100 Subject: [PATCH 2514/2575] docs: improve midi --- .../docs/docs/midi/midi-configuration.md | 20 +++++++++++-- resources/docs/docs/midi/midi-messages.md | 30 +++++++++---------- 2 files changed, 33 insertions(+), 17 deletions(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 31bd3646..defe9d3a 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -44,7 +44,7 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be ## Configuration -When running the app, the `-m / --midi` switch must be set and accepts the following options, separated by spaces. +The server's `midi` option accepts the following parameters, separated by spaces. !!! warning "" If an option contains space characters, it must be enquoted. @@ -57,7 +57,7 @@ Print the available MIDI ports to the console when the server starts. This actio Create a virtual MIDI device that will translate OSC messsages to MIDI messages -- `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)) +- `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)). It doesn't have to match any device's real name. - `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive). **`sysex`** @@ -90,9 +90,25 @@ In order to send MIDI messages, a widget must have at least one `target` formatt `midi:device_name` (where `device_name` is one of the declared midi devices) +Its `address` and `preArgs` properties must be set according to Open Stage Control's [midi messages](../midi-messages) specification. + !!! warning Messages received from a MIDI port only affect widgets that send to this port. ## Debug Enabling the server's `debug` options will print some extra informations (sent/received midi messages, midi setup informations, etc) + +## Example configuration + +Setting the server's `midi` option as follows: + +``` +sysex synth:1,2 daw:3,3 +``` + +- enables sysex support (sysex messages will not be ignored) +- creates a midi device "synth" connected with input 1 and output 2 +- creates a midi device "daw" connected with input 3 and output 3 + +If a widget has its `target` set to `midi:synth`, it will receive MIDI from port 1 and send MIDI to port 2. diff --git a/resources/docs/docs/midi/midi-messages.md b/resources/docs/docs/midi/midi-messages.md index 11ce6265..a79cee7e 100644 --- a/resources/docs/docs/midi/midi-messages.md +++ b/resources/docs/docs/midi/midi-messages.md @@ -1,5 +1,5 @@ !!! info "" - Define static argument values using the [`preArgs`](/docs/widgets-reference/#preArgs) option in order to complete the respective MIDI message. + Define static argument values using the [`preArgs`](/docs/widgets/properties-reference/#preArgs) option in order to complete the respective MIDI message. ---- @@ -11,15 +11,15 @@ NoteOn event or noteOff if velocity equals `0`. - `note`: integer between 0 and 127 - `velocity`: integer between 0 and 127 -Example: +!!! example "Example" -A push button might be configured as follows in order to send a MIDI note whose velocity is defined by the button's on/off value: + A push button might be configured as follows in order to send a MIDI note whose velocity is defined by the button's on/off value: -- `address`: /note -- `preArgs`: [1, 60] (for MIDI channel 1, and note 60 / C4) -- `on`: 100 (for noteOn velocity of 100 on button push) -- `off`: 0 (to send a noteOff on button release) -- `target`: ["midi:device_name"] (where device_name is one of the declared midi devices defined during [setup](#setup)) + - `address`: `/note` + - `preArgs`: `[1, 60]` (for MIDI channel 1, and note 60 / C4) + - `on`: `100` (for noteOn velocity of 100 on button push) + - `off`: `0` (to send a noteOff on button release) + - `target`: `midi:device_name` (where device_name is one of the declared midi devices defined during [setup](../midi-configuration)) ---- @@ -31,14 +31,14 @@ Control change event. - `cc`: integer between 0 and 127 - `value`: integer between 0 and 127 -Example: +!!! example "Example" -A fader might be configured as follows in order to send a MIDI control message (a volume control in this example): + A fader might be configured as follows in order to send a MIDI control message (a volume control in this example): -- `address`: /control -- `pre-args`: [1, 7] (MIDI channel 1, control number 7 generally used as volume control) -- `range`: {"min": 0, "max": 127} (MIDI values are encoded in this range) -- `target`: ["midi:device_name"] + - `address`: `/control` + - `pre-args`: `[1, 7]` (MIDI channel 1, control number 7 generally used as volume control) + - `range`: `{"min": 0, "max": 127}` (MIDI values are encoded in this range) + - `target`: `midi:device_name` ---- @@ -50,7 +50,7 @@ Program change event. - `program`: integer between 0 and 127* !!! info - \* Some devices / softwares display the `program` value between 1 and 128, thus interpreting `program change 0` as `program change 1` and so on. Enable the `pc_offset` option to make Open Stage Control behave this way. + \* Some devices / softwares display the `program` value between 1 and 128, thus interpreting `program change 0` as `program change 1` and so on. Add the `pc_offset` parameter to the server's `midi` option to make Open Stage Control behave this way. ---- From 2191be218fc31a726ee0c08c51414b22ece43cd8 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 19:22:48 +0100 Subject: [PATCH 2515/2575] docs: css inspect tip --- resources/docs/docs/customization/css-tips.md | 2 +- resources/docs/img/inspect.png | Bin 0 -> 313 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 resources/docs/img/inspect.png diff --git a/resources/docs/docs/customization/css-tips.md b/resources/docs/docs/customization/css-tips.md index 58fc3018..5803809a 100644 --- a/resources/docs/docs/customization/css-tips.md +++ b/resources/docs/docs/customization/css-tips.md @@ -3,7 +3,7 @@ ## Browser inspector -Hit `F12` to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets +Hit ++f12++ to open the developers tools panel. The html/css inspector helps retreiving the class names needed to style specific parts of the widgets: hit ++ctrl+shift+c++ or click on the inspect icon (![x](/img/inspect.png)) and click on a element in the interface to reveal its html code. ## Inline syntax diff --git a/resources/docs/img/inspect.png b/resources/docs/img/inspect.png new file mode 100644 index 0000000000000000000000000000000000000000..bad738b1d6b36c85e0311ae790749be500ef2fba GIT binary patch literal 313 zcmV-90mlA`P)vQ-e=oQ->lqL7ae+NL&DV?t)7SH~pnN*QDN zz7IeH0e@$v&qD*l@qW}dDT)FSnVEtzcil7%09b2pbG>JJEAu=%=h8IY%&zOEX?hiUTz=V^{tM^@lOIm033D~>00000 LNkvXXu0mjf^D21k literal 0 HcmV?d00001 From 7fd59ae71c1a957e760bae4afced762b72ac4cc4 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 25 Oct 2020 19:25:01 +0100 Subject: [PATCH 2516/2575] docs: midi install --- resources/docs/docs/midi/midi-configuration.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index defe9d3a..e03558d6 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -8,7 +8,7 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be ??? example "Linux" - Install `python3` and `python3-pip` from your distribution's package repository - - Install `python-rtmidi` from a terminal: + - Install `python-rtmidi` from a terminal by executing this command ```bash python3 -m pip install python-rtmidi --upgrade ``` @@ -17,12 +17,12 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be - Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/) - Open a terminal - - Install `pip` (package installer for python) + - Install `pip` (package installer for python) by executing these commands ``` curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py ``` - - Install `python-rtmidi`: + - Install `python-rtmidi` by executing this command ```bash python -m pip install python-rtmidi --upgrade ``` @@ -32,12 +32,12 @@ Enabling MIDI support in Open Stage Control requires additional softwares to be - Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/) - **make sure to check the option** "Add Python 3.x to PATH" - Open a terminal (++win+r++) - - Install `pip` (package installer for python) + - Install `pip` (package installer for python) by executing these commands ``` curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py ``` - - Install `python-rtmidi`: + - Install `python-rtmidi` by executing this command ```bash python -m pip install python-rtmidi --upgrade ``` From bee2e6e5be22d5f58447d0a86c5d0d0ccb603e36 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 26 Oct 2020 17:15:42 +0100 Subject: [PATCH 2517/2575] widgets: add `html` property to allow inserting custom content in widgets (label, value, etc) and style it with the `css` property. --- CHANGELOG.md | 5 +++ src/client/widgets/common/widget.js | 52 +++++++++++++++++++++++++++++ src/client/widgets/frames/html.js | 23 +++---------- src/scss/widgets.scss | 8 ++++- 4 files changed, 69 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54255156..4184e622 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.6.0 + +- widgets + - all: add `html` property to allow inserting custom content in widgets (label, value, etc) and style it with the `css` property. + ## 1.5.4 - bug fixes diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index bb5f9de1..b449085a 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -10,6 +10,9 @@ var EventEmitter = require('../../events/event-emitter'), OscReceiver = require('./osc-receiver'), {deepCopy, deepEqual, isJSON} = require('../../utils'), html = require('nanohtml'), + raw = require('nanohtml/raw'), + morph = require('nanomorph'), + sanitizeHtml = require('sanitize-html'), updateWidget = ()=>{}, Script @@ -75,6 +78,17 @@ class Widget extends EventEmitter { alphaFillOn: {type: 'number', value: 'auto', help: 'Fill color opacity (on).'}, lineWidth: {type: 'number', value: 'auto', help: 'Stroke width.'}, padding: {type: 'number', value: 'auto', help: 'Inner spacing.'}, + html: {type: 'string', value: '', help: [ + 'Custom html content to be inserted in the widget (before the widget\'s content).', + 'The code is automatically wrapped in <div class="html"></div>', + 'Allowed HTML tags:', + '  h1-6, blockquote, p, a, ul, ol, nl, li,', + '  b, i, strong, em, strike, code, hr, br, div,', + '  table, thead, img, caption, tbody, tr, th, td, pre', + 'Allowed attributes:', + '  <*>: class, style, title', + '  <img>: src, width, height', + ]}, css: {type: 'string', value: '', help: [ 'CSS rules. See documentation.', 'Available css variables:', @@ -226,6 +240,9 @@ class Widget extends EventEmitter { this.setCssVariables() this.setVisibility() + this.extraHtml = null + if (this.getProp('html')) this.updateHtml() + } contains(widget) { @@ -800,6 +817,11 @@ class Widget extends EventEmitter { this.container.classList.toggle('no-interaction', !this.getProp('interaction')) return + case 'html': + this.updateHtml() + resize.check(this.container) + return + case 'css': { this.setContainerStyles(['css']) var re = /width|height|display|margin|padding|flex/ @@ -988,6 +1010,35 @@ class Widget extends EventEmitter { } + updateHtml(){ + + var extraHtml = this.getProp('html') ? sanitizeHtml(this.getProp('html'), { + allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img', 'h1', 'h2']).filter(x=>x!=='iframe'), + allowedAttributes: { + '*': [ 'title', 'class', 'style', 'type'], + 'img': [ 'src' , 'title', 'class', 'style', 'width', 'height'] + } + }) : null + + if (this.extraHtml) { + if (!extraHtml) { + this.container.removeChild(this.extraHtml) + this.extraHtml = null + } else { + var newHtml = html`
        ` + newHtml.innerHTML = extraHtml + morph(this.extraHtml, newHtml) + } + + } else if (extraHtml) { + var newHtml = html`
        ` + newHtml.innerHTML = extraHtml + this.container.insertBefore(newHtml, this.widget) + this.extraHtml = newHtml + } + + } + isVisible() { return this.getProp('visible') && this.parent.isVisible() @@ -1065,6 +1116,7 @@ Widget.dynamicProps = [ 'alphaFillOn', 'padding', 'lineWidth', + 'html', 'css', 'value', diff --git a/src/client/widgets/frames/html.js b/src/client/widgets/frames/html.js index 81bb5ccd..9bd74ae7 100644 --- a/src/client/widgets/frames/html.js +++ b/src/client/widgets/frames/html.js @@ -24,17 +24,6 @@ class Html extends StaticProperties(Widget, {bypass: true}) { static defaults() { return super.defaults().extend({ - class_specific: { - html: {type: 'string', value: '', help: [ - 'Allowed HTML tags:', - '  h1-6, blockquote, p, a, ul, ol, nl, li,', - '  b, i, strong, em, strike, code, hr, br, div,', - '  table, thead, img, caption, tbody, tr, th, td, pre', - 'Allowed attributes:', - '  <*>: class, style, title', - '  : src, width, height', - ]}, - }, osc: { decimals: null, typeTags: null, @@ -56,11 +45,13 @@ class Html 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('html') !== '') this.updateHtml() + if (this.getProp('html') !== '') this.updateHtmlLegacy() } - updateHtml(){ + updateHtml(){} + + updateHtmlLegacy(){ var newHtml = this.frame.cloneNode(false) @@ -77,7 +68,7 @@ class Html extends StaticProperties(Widget, {bypass: true}) { switch (propName) { case 'html': - this.updateHtml() + this.updateHtmlLegacy() return } @@ -87,8 +78,4 @@ class Html extends StaticProperties(Widget, {bypass: true}) { } -Html.dynamicProps = Html.prototype.constructor.dynamicProps.concat( - 'html' -) - module.exports = Html diff --git a/src/scss/widgets.scss b/src/scss/widgets.scss index 98fade9d..967bbfa9 100644 --- a/src/scss/widgets.scss +++ b/src/scss/widgets.scss @@ -5,7 +5,7 @@ vertical-align:top; display: inline-flex; - flex-direction: row; + flex-direction: column; align-items: stretch; max-width: 100%; @@ -70,6 +70,12 @@ } } + .html { + text-align: center; + line-height: 30rem; + min-height: 0; + } + } From 5031a496b569473052c88f5a11585fbf7e2bca5b Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 26 Oct 2020 17:26:42 +0100 Subject: [PATCH 2518/2575] widgets: html: allow falsy value --- 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 b449085a..a90cfa69 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -1012,7 +1012,7 @@ class Widget extends EventEmitter { updateHtml(){ - var extraHtml = this.getProp('html') ? sanitizeHtml(this.getProp('html'), { + var extraHtml = this.getProp('html') !== '' ? sanitizeHtml(this.getProp('html'), { allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img', 'h1', 'h2']).filter(x=>x!=='iframe'), allowedAttributes: { '*': [ 'title', 'class', 'style', 'type'], From 44d2689bf64a5266b0203b590bf57cb977415463 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 26 Oct 2020 18:38:23 +0100 Subject: [PATCH 2519/2575] lint --- src/client/widgets/common/widget.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index a90cfa69..df7a7a77 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -10,7 +10,6 @@ var EventEmitter = require('../../events/event-emitter'), OscReceiver = require('./osc-receiver'), {deepCopy, deepEqual, isJSON} = require('../../utils'), html = require('nanohtml'), - raw = require('nanohtml/raw'), morph = require('nanomorph'), sanitizeHtml = require('sanitize-html'), updateWidget = ()=>{}, @@ -1025,13 +1024,13 @@ class Widget extends EventEmitter { this.container.removeChild(this.extraHtml) this.extraHtml = null } else { - var newHtml = html`
        ` + let newHtml = html`
        ` newHtml.innerHTML = extraHtml morph(this.extraHtml, newHtml) } } else if (extraHtml) { - var newHtml = html`
        ` + let newHtml = html`
        ` newHtml.innerHTML = extraHtml this.container.insertBefore(newHtml, this.widget) this.extraHtml = newHtml From 10dbd8c3c3bfddb96d21c53b5db95ea263b04a88 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 09:51:09 +0100 Subject: [PATCH 2520/2575] custom module: refactor custom module and add autoreload --- CHANGELOG.md | 3 + package.json | 1 + src/server/custom-module.js | 162 ++++++++++++++++++++++++++++++++++++ src/server/osc/index.js | 114 ++++++------------------- 4 files changed, 191 insertions(+), 89 deletions(-) create mode 100644 src/server/custom-module.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 4184e622..a135cfdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ - widgets - all: add `html` property to allow inserting custom content in widgets (label, value, etc) and style it with the `css` property. +- custom module + - automatically reload custom module when the file is modified + ## 1.5.4 - bug fixes diff --git a/package.json b/package.json index b101d936..3566ac61 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "babelify": "10.0.0", "bonjour": "github:jean-emmanuel/bonjour", "browserify": "16.5.1", + "chokidar": "3.4.3", "chroma-js": "2.1.0", "core-js": "3.6.5", "cpr": "3.0.1", diff --git a/src/server/custom-module.js b/src/server/custom-module.js new file mode 100644 index 00000000..12a977a0 --- /dev/null +++ b/src/server/custom-module.js @@ -0,0 +1,162 @@ +var settings = require('./settings'), + fs = require('fs'), + vm = require('vm'), + chokidar = require('chokidar') + + +class CustomModule { + + constructor(file, context) { + + this.init = null + this.oscInFilter = null + this.oscOutFilter = null + + this.filename = file + + this.timeouts = [] + this.intervals = [] + + this.context = { + ...context, + loadJSON: (url)=>{ + if (url.split('.').pop() === 'json') { + try { + url = path.resolve(path.dirname(customModule), url) + return JSON.parse(fs.readFileSync(url, 'utf8')) + } catch(e) { + console.error('(ERROR) could not load json file from ' + url) + console.error(e.message) + } + } else { + console.error('(ERROR) unauthorized file type for loadJSON') + } + }, + saveJSON: (url, data)=>{ + if (url.split('.').pop() === 'json') { + url = path.resolve(path.dirname(customModule), 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) + } + } else { + console.error('(ERROR) unauthorized file type for saveJSON') + } + }, + console: console, + settings: settings, + setTimeout: this.setTimeout.bind(this), + clearTimeout: this.clearTimeout.bind(this), + setInterval: this.setInterval.bind(this), + clearInterval: this.clearInterval.bind(this), + module: {exports: {}} + } + + this.load() + + chokidar.watch(this.filename).on('change', ()=>{ + this.reload() + }) + + } + + load() { + + var code + + try { + code = fs.readFileSync(this.filename, 'utf8') + } catch(err) { + console.error('(ERROR) Custom module not found: ' + this.filename) + return false + } + + var context = vm.createContext({ + ...this.context + }) + + try { + vm.runInContext(code, context, { + filename: this.filename + }) + } catch(err) { + console.error('(ERROR) Custom module loading error') + console.error(err) + return false + } + + this.init = context.module.exports.init || null + this.oscInFilter = context.module.exports.oscInFilter || null + this.oscOutFilter = context.module.exports.oscOutFilter || null + + return true + + } + + unload() { + + this.init = null + this.oscInFilter = null + this.oscOutFilter = null + + for (let timeout of this.timeouts) { + clearTimeout(timeout) + } + + for (let interval of this.intervals) { + clearInterval(interval) + } + + this.timeouts = [] + this.intervals = [] + + for (let name of this.context.app.eventNames()) { + this.context.app.removeAllListeners(name) + } + + } + + reload() { + + this.unload() + console.log('(INFO) Reloading custom module: ' + this.filename) + if (this.load()) { + console.log('(INFO) Custom module reloaded successfully') + } else { + console.log('(ERROR) Failed to reload custom module') + this.unload() + } + } + + setTimeout(fn, t) { + var timeout = setTimeout(fn, t) + this.timeouts.push(timeout) + return timeout + } + + setInterval(fn, t) { + var interval = setInterval(fn, t) + this.intervals.push(interval) + return interval + } + + clearTimeout(timeout) { + clearTimeout(timeout) + if (this.timeouts.includes(timeout)) { + this.timeouts.splice(this.timeouts.indexOf(timeout), 1) + } + } + + clearInterval(id) { + clearInterval(interval) + if (this.intervals.includes(interval)) { + this.intervals.splice(this.intervals.indexOf(interval), 1) + } + } + +} + + +module.exports = CustomModule diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 7ea0eac3..b9c3140c 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -8,7 +8,8 @@ var path = require('path'), midi = settings.read('midi') ? require('../midi') : false, oscUDPServer = require('./udp'), oscTCPServer = require('./tcp'), - EventEmitter = require('events').EventEmitter + EventEmitter = require('events').EventEmitter, + CustomModule = require('../custom-module') if (midi) midi = new midi() @@ -18,94 +19,29 @@ class OscServer { constructor(){ this.customModuleEventEmitter = new EventEmitter() - this.customModule = (()=>{ - - var customModule = settings.read('custom-module') - - if (!customModule) return false - - var file = (()=>{ - try { - return fs.readFileSync(customModule, 'utf8') - } catch(err) { - console.error('(ERROR) Custom module not found: ' + customModule) - return false - } - })(), - mod, - context = vm.createContext({ - console, - sendOsc: this.sendOsc.bind(this), - receiveOsc: this.receiveOsc.bind(this), - send: (host, port, address, ...args)=>{ - this.sendOsc({host, port, address, args:args.map(x=>this.parseArg(x))}) - }, - receive: (host, port, address, ...args)=>{ - if (host[0] === '/') { - // host and port can be skipped - if (address !== undefined) args.unshift(address) - if (port !== undefined) args.unshift(port) - address = host - host = port = undefined - } - var lastArg = args[args.length - 1], - options = {} - 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) - }, - loadJSON: (url)=>{ - if (url.split('.').pop() === 'json') { - try { - url = path.resolve(path.dirname(customModule), url) - return JSON.parse(fs.readFileSync(url, 'utf8')) - } catch(e) { - console.error('(ERROR) could not load json file from ' + url) - console.error(e.message) - } - } else { - console.error('(ERROR) unauthorized file type for loadJSON') - } - }, - saveJSON: (url, data)=>{ - if (url.split('.').pop() === 'json') { - url = path.resolve(path.dirname(customModule), 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) - } - } else { - console.error('(ERROR) unauthorized file type for saveJSON') - } - }, - app: this.customModuleEventEmitter, - setTimeout, clearTimeout, - setInterval, clearInterval, - settings, - module: {}, - }) - - try { - // remove require function (not needed at runtime) - // wrong: this.constructor.constructor("return process")().mainModule.require - process.mainModule.require = process.dlopen = null - // run - mod = vm.runInContext(file, context, { - filename: customModule - }) - if (context.module.exports) mod = context.module.exports - } catch(err) { - console.error(err) - return false - } - - return mod - - })() - + this.customModule = settings.read('custom-module') ? new CustomModule(settings.read('custom-module'), { + app: this.customModuleEventEmitter, + sendOsc: this.sendOsc.bind(this), + receiveOsc: this.receiveOsc.bind(this), + send: (host, port, address, ...args)=>{ + this.sendOsc({host, port, address, args:args.map(x=>this.parseArg(x))}) + }, + receive: (host, port, address, ...args)=>{ + if (host[0] === '/') { + // host and port can be skipped + if (address !== undefined) args.unshift(address) + if (port !== undefined) args.unshift(port) + address = host + host = port = undefined + } + var lastArg = args[args.length - 1], + options = {} + 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) + }, + }) : null } From 6cc020c10da7667d1cf2bd61277ccd9de607045b Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 10:17:59 +0100 Subject: [PATCH 2521/2575] custom module: add require() support --- src/server/custom-module.js | 46 ++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/src/server/custom-module.js b/src/server/custom-module.js index 12a977a0..903dc87a 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -1,23 +1,28 @@ var settings = require('./settings'), fs = require('fs'), vm = require('vm'), - chokidar = require('chokidar') + chokidar = require('chokidar'), + path = require('path') + class CustomModule { - constructor(file, context) { + constructor(file, context, parentDir) { + this.exports = null this.init = null this.oscInFilter = null this.oscOutFilter = null - this.filename = file + this.submodule = !!parentDir + this.filename = this.submodule ? path.resolve(parentDir, file) : file this.timeouts = [] this.intervals = [] + this.submodules = [] - this.context = { + this.context = this.submodule ? context : { ...context, loadJSON: (url)=>{ if (url.split('.').pop() === 'json') { @@ -51,15 +56,19 @@ class CustomModule { clearTimeout: this.clearTimeout.bind(this), setInterval: this.setInterval.bind(this), clearInterval: this.clearInterval.bind(this), - module: {exports: {}} + require: this.require.bind(this) } this.load() - chokidar.watch(this.filename).on('change', ()=>{ + this.watcher = chokidar.watch(this.filename).on('change', ()=>{ this.reload() }) + // remove require function (not needed at runtime) + // wrong: this.constructor.constructor("return process")().mainModule.require + process.mainModule.require = process.dlopen = null + } load() { @@ -69,12 +78,13 @@ class CustomModule { try { code = fs.readFileSync(this.filename, 'utf8') } catch(err) { - console.error('(ERROR) Custom module not found: ' + this.filename) + console.error(`(ERROR) ${this.submodule ? 'Submodule' : 'Custom module'} not found: ${this.filename}`) return false } var context = vm.createContext({ - ...this.context + ...this.context, + module: {exports: {}} }) try { @@ -90,6 +100,7 @@ class CustomModule { this.init = context.module.exports.init || null this.oscInFilter = context.module.exports.oscInFilter || null this.oscOutFilter = context.module.exports.oscOutFilter || null + this.exports = context.module.exports return true @@ -97,6 +108,7 @@ class CustomModule { unload() { + this.exports = null this.init = null this.oscInFilter = null this.oscOutFilter = null @@ -116,6 +128,15 @@ class CustomModule { this.context.app.removeAllListeners(name) } + for (let mod of this.submodules) { + mod.unload() + } + this.submodules = [] + + if (this.submodule) { + this.watcher.close() + } + } reload() { @@ -156,6 +177,15 @@ class CustomModule { } } + require(filename) { + + var mod = new CustomModule(filename, this.context, path.dirname(this.filename)) + this.submodules.push(mod) + + return mod.exports + + } + } From 44b03941f90c351ddbd7e67471f1e169ac6cdb27 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 10:30:09 +0100 Subject: [PATCH 2522/2575] custom-module: clean & docs --- resources/docs/docs/custom-module/custom-module.md | 11 +++++++++++ .../docs/docs/custom-module/managing-big-modules.md | 9 +-------- src/server/custom-module.js | 6 +++--- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index aa28fcf4..40e2b465 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -99,6 +99,12 @@ Saves an object/array to a json file (path is relative to the custom module loca ---- +#### `require(path)` + +Load another javascript module. Returns the value of `module.exports` defined in this module. If `path` is a relative path, it will be resolved against its parent module's path. See [Managing Big Modules](../managing-big-modules) + +---- + #### Other javascript globals - `console` - `setTimeout` @@ -107,3 +113,8 @@ Saves an object/array to a json file (path is relative to the custom module loca - `clearInterval` ---- + + +## 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. diff --git a/resources/docs/docs/custom-module/managing-big-modules.md b/resources/docs/docs/custom-module/managing-big-modules.md index 6815784d..1a335c83 100644 --- a/resources/docs/docs/custom-module/managing-big-modules.md +++ b/resources/docs/docs/custom-module/managing-big-modules.md @@ -1,6 +1,4 @@ -Custom modules don't let you use node's `require` function at runtime, but you can manage your sources in multiple files and bundle them into a single file before loading it in OSC. - -The common pattern for this is using the [browserify](http://browserify.org/) library: +Starting with `v1.6.0`, custom modules can load submodules with the `require()` function. **1**. define some variable in `number.js` @@ -22,8 +20,3 @@ module.exports = { } } ``` - - -**3**. bundle your sources into `custom-module.js`: - -`browserify main.js -o custom-module.js --standalone module.exports` diff --git a/src/server/custom-module.js b/src/server/custom-module.js index 903dc87a..fd2118c9 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -16,7 +16,7 @@ class CustomModule { this.oscOutFilter = null this.submodule = !!parentDir - this.filename = this.submodule ? path.resolve(parentDir, file) : file + this.filename = this.submodule && !path.isAbsolute(file) ? path.resolve(parentDir, file) : file this.timeouts = [] this.intervals = [] @@ -27,7 +27,7 @@ class CustomModule { loadJSON: (url)=>{ if (url.split('.').pop() === 'json') { try { - url = path.resolve(path.dirname(customModule), url) + url = path.resolve(path.dirname(this.filename), url) return JSON.parse(fs.readFileSync(url, 'utf8')) } catch(e) { console.error('(ERROR) could not load json file from ' + url) @@ -39,7 +39,7 @@ class CustomModule { }, saveJSON: (url, data)=>{ if (url.split('.').pop() === 'json') { - url = path.resolve(path.dirname(customModule), url) + url = path.resolve(path.dirname(this.filename), url) try { return fs.writeFileSync(url, JSON.stringify(data, null, ' ')) } catch(e) { From 30ddbd685e3822bc1c7cff13430a280ae6daced9 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 10:32:57 +0100 Subject: [PATCH 2523/2575] log: custom module require --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a135cfdc..738af287 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - custom module - automatically reload custom module when the file is modified + - add support for loading submodules with `require()` ## 1.5.4 From 93363026e393cdef46a49f7436e9947545028f2b Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 11:02:47 +0100 Subject: [PATCH 2524/2575] custom module: fallback --- src/server/osc/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/osc/index.js b/src/server/osc/index.js index b9c3140c..10dce28b 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -41,7 +41,7 @@ class OscServer { } this.receiveOsc({host, port, address, args:args.map(x=>this.parseArg(x))}, options.clientId) }, - }) : null + }) : {} } From cc45928ebf839c1b7f1b0c7195da91a7941893c4 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 11:43:05 +0100 Subject: [PATCH 2525/2575] lint & custom module lack detection --- src/server/osc/index.js | 5 +---- src/server/server.js | 4 +++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/server/osc/index.js b/src/server/osc/index.js index 10dce28b..40b84483 100644 --- a/src/server/osc/index.js +++ b/src/server/osc/index.js @@ -1,10 +1,7 @@ -var path = require('path'), - ipc = require('../server').ipc, +var ipc = require('../server').ipc, settings = require('../settings'), tcpInPort = settings.read('tcp-port'), debug = settings.read('debug'), - vm = require('vm'), - fs = require('fs'), midi = settings.read('midi') ? require('../midi') : false, oscUDPServer = require('./udp'), oscTCPServer = require('./tcp'), diff --git a/src/server/server.js b/src/server/server.js index ad07b157..c442f078 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -157,9 +157,11 @@ var bindCallbacks = function(callbacks) { var clientInfos = {address: client.address, id: client.id} + var customModule = settings.read('custom-module') + for (let name in callbacks) { client.on(name, (data)=>{ - if (osc.customModule) { + if (customModule) { osc.customModuleEventEmitter.emit(name, data, clientInfos) } callbacks[name](data, client.id) From 2137c210bf02b31c6ca438c60ae35a653d7c94ce Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 11:55:34 +0100 Subject: [PATCH 2526/2575] custom-module: submodule autoreload fix --- src/server/custom-module.js | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/server/custom-module.js b/src/server/custom-module.js index fd2118c9..85035ece 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -8,15 +8,16 @@ var settings = require('./settings'), class CustomModule { - constructor(file, context, parentDir) { + constructor(file, context, parent=null) { this.exports = null this.init = null this.oscInFilter = null this.oscOutFilter = null - this.submodule = !!parentDir - this.filename = this.submodule && !path.isAbsolute(file) ? path.resolve(parentDir, file) : file + this.parent = parent + this.submodule = !!parent + this.filename = this.submodule && !path.isAbsolute(file) ? path.resolve(path.dirname(parent.filename), file) : file this.timeouts = [] this.intervals = [] @@ -62,7 +63,13 @@ class CustomModule { this.load() this.watcher = chokidar.watch(this.filename).on('change', ()=>{ - this.reload() + if (this.submodule) { + console.log('(INFO) Submodule changed: ' + this.filename) + this.parent.reload() + } else { + console.log('(INFO) Custom module changed: ' + this.filename) + this.reload() + } }) // remove require function (not needed at runtime) @@ -142,7 +149,7 @@ class CustomModule { reload() { this.unload() - console.log('(INFO) Reloading custom module: ' + this.filename) + console.log('(INFO) Reloading custom module...') if (this.load()) { console.log('(INFO) Custom module reloaded successfully') } else { @@ -179,7 +186,7 @@ class CustomModule { require(filename) { - var mod = new CustomModule(filename, this.context, path.dirname(this.filename)) + var mod = new CustomModule(filename, this.context, this.parent || this) this.submodules.push(mod) return mod.exports From 3b269fafc425a94e55f973bda230ededca87ee50 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 27 Oct 2020 11:58:29 +0100 Subject: [PATCH 2527/2575] custom-module: error log fix --- src/server/custom-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/custom-module.js b/src/server/custom-module.js index 85035ece..86b7f6f1 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -153,7 +153,7 @@ class CustomModule { if (this.load()) { console.log('(INFO) Custom module reloaded successfully') } else { - console.log('(ERROR) Failed to reload custom module') + console.error('(ERROR) Failed to reload custom module') this.unload() } } From 6e3644d9af3b2a3dd01841a8530f39a31745d43e Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 28 Oct 2020 10:36:08 +0100 Subject: [PATCH 2528/2575] scripting: `send()` now ignores the widget's `bypass` property (allows bypassing default messages and define custom ones). --- CHANGELOG.md | 1 + resources/docs/docs/widgets/scripting.md | 2 ++ src/client/widgets/scripts/script-vm.js | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 738af287..5711ee0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - widgets - all: add `html` property to allow inserting custom content in widgets (label, value, etc) and style it with the `css` property. + - scripting: `send()` now ignores the widget's `bypass` property (allows bypassing default messages and define custom ones). - custom module - automatically reload custom module when the file is modified diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 81cdf34f..46325da8 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -79,6 +79,8 @@ If the event that triggered the script's execution was initiated by a user inter If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect. +This function ignores the widget's `bypass` property. + ---- #### `getProp(id, name)` diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 0c1a1452..521eec8d 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -100,7 +100,7 @@ class ScriptVm extends Vm { var widget = this.getWidget() if (widget.builtIn) widget = widget.parent - widget.sendValue(overrides) + widget.sendValue(overrides, {force: true}) } From a6542f874fd953c90eb5eb4cdb6cda2e6f5866dd Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 28 Oct 2020 10:50:58 +0100 Subject: [PATCH 2529/2575] theme: automatically reload theme when the file is modified --- CHANGELOG.md | 3 +++ src/server/callbacks.js | 2 -- src/server/theme.js | 11 ++++++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5711ee0f..52f68a6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ - automatically reload custom module when the file is modified - add support for loading submodules with `require()` +- theme + - automatically reload theme when the file is modified + ## 1.5.4 - bug fixes diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 470139b5..2a219e82 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -404,8 +404,6 @@ module.exports = { reloadCss() { // (dev) hot css reload - - theme.load() ipc.send('reloadCss') }, diff --git a/src/server/theme.js b/src/server/theme.js index b0d97fe3..b6d22e7f 100644 --- a/src/server/theme.js +++ b/src/server/theme.js @@ -1,6 +1,8 @@ var fs = require('fs'), path = require('path'), - settings = require('./settings') + settings = require('./settings'), + chokidar = require('chokidar'), + ipc class Theme { @@ -9,6 +11,7 @@ class Theme { this.themes = [] this.files = [] this.css = [] + this.watcher = null this.defaultColor = '#151a24' this.backgroundColor = this.defaultColor @@ -31,6 +34,12 @@ class Theme { } } + this.watcher = chokidar.watch(this.files).on('change', ()=>{ + if (!ipc) ipc = require('./server').ipc + this.load() + ipc.send('reloadCss') + }) + this.load() return this From 23084dbf28f615eb844e9e16f30aeb67d10a345f Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 28 Oct 2020 11:34:52 +0100 Subject: [PATCH 2530/2575] lint --- src/server/callbacks.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/callbacks.js b/src/server/callbacks.js index 2a219e82..746551cf 100644 --- a/src/server/callbacks.js +++ b/src/server/callbacks.js @@ -3,8 +3,7 @@ var path = require('path'), settings = require('./settings'), osc = require('./osc'), {ipc} = require('./server'), - {deepCopy, resolveHomeDir} = require('./utils'), - theme = require('./theme') + {deepCopy, resolveHomeDir} = require('./utils') var widgetHashTable = {}, clipboard = {clipboard: null, idClipboard: null} From f1e50ee7402887e15a42b545b98a59c1689ee39b Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 28 Oct 2020 17:01:53 +0100 Subject: [PATCH 2531/2575] docs: script details --- resources/docs/docs/widgets/advanced-syntaxes.md | 6 +++--- resources/docs/docs/widgets/scripting.md | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 75574649..809f438e 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -18,7 +18,7 @@ A widget can fetch its own properties or its direct parent's by using the keywor #### `uuid` -Each widget has a unique random identifier that can be retreived with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`). +Each widget has a unique random identifier that can be retreived with the property name `uuid` (e.g. `@{this.uuid}`, `@{parent.uuid}`). #### Dynamic properties @@ -65,7 +65,7 @@ Options can contain `@{}` blocks. ## Javascript: `JS{{ }}` -This syntax allows writing formulas in pure javascript. The code will be compiled as a function and executed in a restricted context. +This syntax allows writing formulas in [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript). The code will be compiled as a function and executed in a restricted context. - if no `return` statement is found, the formula will return an empty string - javascript [strict mode](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Strict_mode) is always enabled @@ -84,7 +84,7 @@ A property cannot contain multiple `JS{{}}` blocks - `url`: server url, - `platform`: operating system as seen by the client -In this context, `@{} / OSC{}` are also seen as variables (named `VAR_XXX`), not as the value they hold, +In this context, `@{} / OSC{}` are also seen as variables (named `VAR_XXX`), not as the value they hold. Parsing errors can be read in the DevTool console (F12). diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 46325da8..086e3cbe 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -1,12 +1,11 @@ # Scripting -The `script` property allows widgets to run javascript code when their value update. It differs from the [javascript property syntax ](./advanced-syntaxes.md#available-variables) in the following ways: +The `script` property allows widgets to run [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) code when their value update. -- no `JS{{}}` wrapper, just the code -- `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their value before the script's compilation +!!! info "It's slightly different from the [javascript property syntax ](./advanced-syntaxes/#javascript-js-code)" -!!! warning "Avoid advanced syntax in scripts" - To avoid syntax errors it is recommended to use `getProp()` and `get()` instead of `@{}` and `OSC{}`. `JS{{}}` and `#{}` blocks should be avoided here as well. + - no `JS{{}}` wrapper, just the code + - `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their literal value before the script's compilation, therefore **it is recommended to avoid these syntaxes** and use `getProp()` and `get()` instead. ## Event-dependent variables From f78abcc674839a30639f804fad43274889c2e216 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 29 Oct 2020 11:23:57 +0100 Subject: [PATCH 2532/2575] - `set()`: add supports for wildcards in the id parameter - `set()`: add a 3rd optional parameter for preventing further script executions and/or osc messages from being sent --- CHANGELOG.md | 6 +++++- resources/docs/docs/widgets/scripting.md | 25 +++++++++++++++--------- src/client/widgets/scripts/script-vm.js | 19 +++++++++++++++--- 3 files changed, 37 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52f68a6a..bcf5f81f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ - widgets - all: add `html` property to allow inserting custom content in widgets (label, value, etc) and style it with the `css` property. - - scripting: `send()` now ignores the widget's `bypass` property (allows bypassing default messages and define custom ones). + +- scripting: + - `send()`: ignore the widget's `bypass` property (allows bypassing default messages and define custom ones) + - `set()`: add supports for wildcards in the id parameter + - `set()`: add a 3rd optional parameter for preventing further script executions and/or osc messages from being sent - custom module - automatically reload custom module when the file is modified diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 086e3cbe..e222d805 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -62,12 +62,15 @@ Returns the value of the first matching widget. ---- -#### `set(id, value)` -- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. +#### `set(id, value, options)` +- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. `id` can contains wildcards ('\*'), in which case all matching widgets will be affected **except** the emitting widget. - `value`: new value for the widget. +- `options` (optional): `object`, accepts the following items: + - `sync: false` (prevents widgets from triggering synchronization and scripts) + - `send: false` (prevents widgets from sending osc messages) -Sets the value of the first matching widget. -If the event that triggered the script's execution was initiated by a user interaction, this will make the widget send its value as well. +Sets the value of matching widgets. +If the event that triggered the script's execution was initiated by a user interaction, this will make the widget send its value as well (unless `options` is set to `{send: false}`). ---- @@ -76,6 +79,8 @@ If the event that triggered the script's execution was initiated by a user inter - `address`: osc address, must start with a `/` - `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` +Sends an osc message. + If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect. This function ignores the widget's `bypass` property. @@ -94,7 +99,7 @@ Returns the property called `"name"` of the first matching widget. - `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `name`: property name. -Forcers a widget to check if one of its properties has changed and update itself if needed. +Forces a widget to check if one of its properties has changed and update itself if needed. ---- @@ -175,9 +180,11 @@ Sets the scroll state of a container. #### `toolbar(i1, i2, ...)` - `iX`: menu entry index -Trigger toolbar action at specified index. Examples: +Trigger toolbar action at specified index. -- `toolbar(0, 0)` -> Open a new session -- `toolbar(3)` -> Toggle full screen +!!! example "Examples" -Actions will only be triggered if initiated with a user interaction. Fullscreen cannot be toggled with a simulated interaction (i.e. using `/SET`) + - `toolbar(0, 0)` -> Open a new session + - `toolbar(3)` -> Toggle full screen + + Actions will only be triggered if initiated with a user interaction. Fullscreen cannot be toggled with a simulated interaction (i.e. using `/SET`) diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index 521eec8d..a4d55f11 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -59,7 +59,7 @@ class ScriptVm extends Vm { super.registerGlobals() - this.sandbox.contentWindow.set = (id, value)=>{ + this.sandbox.contentWindow.set = (id, value, extraOptions = {send: true, sync: true})=>{ var options = this.getValueOptions() options.fromScript = true @@ -67,11 +67,24 @@ class ScriptVm extends Vm { // if (id === options.id) options.sync = false // loop stop // if (this.getWidget() === options.widget) options.sync = false // loop stop - var widgets = this.resolveId(id) + if (extraOptions.send === false) options.send = false + if (extraOptions.sync === false) options.sync = false + + var widgets + if (id.includes('*')) { + var widget = this.getWidget() + if (widget.builtIn) widget = widget.parent + widgets = this.resolveId( + Object.keys(widgetManager.idRoute).filter(key => key.match(new RegExp('^' + id.replace(/\*/g, '.*') + '$'))) + ).filter(w => w !== widget) + } else { + widgets = this.resolveId(id) + } + for (var i = widgets.length - 1; i >= 0; i--) { - return widgets[i].setValue(value, options) + widgets[i].setValue(value, options) } From 03e810ad2ae4b36059f1ebd9c615334b3dc85e0b Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 29 Oct 2020 11:39:27 +0100 Subject: [PATCH 2533/2575] script: set: affect only 1 widget if no wildcard is used --- resources/docs/docs/widgets/scripting.md | 5 +++-- src/client/widgets/scripts/script-vm.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index e222d805..ff7c33c5 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -63,13 +63,14 @@ Returns the value of the first matching widget. ---- #### `set(id, value, options)` -- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. `id` can contains wildcards ('\*'), in which case all matching widgets will be affected **except** the emitting widget. +- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. `id` may contains wildcards ('\*'). - `value`: new value for the widget. - `options` (optional): `object`, accepts the following items: - `sync: false` (prevents widgets from triggering synchronization and scripts) - `send: false` (prevents widgets from sending osc messages) -Sets the value of matching widgets. +Sets the value of the first matching widget or, if `Ïd` contains wildcards, affects all matching widgets **except** the emitting widget. + If the event that triggered the script's execution was initiated by a user interaction, this will make the widget send its value as well (unless `options` is set to `{send: false}`). ---- diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index a4d55f11..a18e10ef 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -78,7 +78,7 @@ class ScriptVm extends Vm { Object.keys(widgetManager.idRoute).filter(key => key.match(new RegExp('^' + id.replace(/\*/g, '.*') + '$'))) ).filter(w => w !== widget) } else { - widgets = this.resolveId(id) + widgets = this.resolveId(id).slice(0, 1) } From 86f5ac723a8ca7c30d4b7f5efe7dd35fb3dfc42b Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 29 Oct 2020 11:40:37 +0100 Subject: [PATCH 2534/2575] docs: phrasing --- 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 ff7c33c5..8b9a80db 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -69,7 +69,7 @@ Returns the value of the first matching widget. - `sync: false` (prevents widgets from triggering synchronization and scripts) - `send: false` (prevents widgets from sending osc messages) -Sets the value of the first matching widget or, if `Ïd` contains wildcards, affects all matching widgets **except** the emitting widget. +Sets the value of the first matching widget. If `Ïd` contains wildcards, affects all matching widgets **except** the emitting widget. If the event that triggered the script's execution was initiated by a user interaction, this will make the widget send its value as well (unless `options` is set to `{send: false}`). From 82d199b9f4f0a2376712d1daef815d26f417857d Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 30 Oct 2020 10:39:27 +0100 Subject: [PATCH 2535/2575] range: error when setting `default` property range: fix `doubleTap` property package: 1.6.0 --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/client/widgets/sliders/range.js | 19 ++++++++++++------- src/client/widgets/sliders/slider.js | 4 ++-- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcf5f81f..c69e9437 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 1.6.0 +- bug fixes + - range: error when setting `default` property + - range: fix `doubleTap` property + - widgets - all: add `html` property to allow inserting custom content in widgets (label, value, etc) and style it with the `css` property. diff --git a/package.json b/package.json index 3566ac61..4acc1237 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.5.4", + "version": "1.6.0", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index b4051c24..af2aa1db 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -40,6 +40,7 @@ class Range extends Fader { visible: false, horizontal:this.getProp('horizontal'), default:this.getProp('default').length === 2 ? this.getProp('default')[1] : this.getProp('range').max, + origin: this.getProp('default').length === 2 ? this.getProp('default')[1] : this.getProp('range').max,, snap:this.getProp('snap'), spring:this.getProp('spring'), range:this.getProp('range'), @@ -67,10 +68,9 @@ class Range extends Fader { this.touchMap = {} - this.setValue([ - this.faders[0].rangeValsMin, - this.faders[1].rangeValsMax - ]) + + this.originValue = this.faders.map(f => f.originValue) + this.setValue(this.getSpringValue()) } @@ -170,15 +170,20 @@ class Range extends Fader { setValue(v, options={}) { + if (!this.faders) return // prevent Fader.constructor 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]) + var opt = { + ...options, + send: false, + sync: false + } + this.faders[0].setValue(v[0], opt) + this.faders[1].setValue(v[1], opt) } this.value = [ this.faders[0].getValue(), diff --git a/src/client/widgets/sliders/slider.js b/src/client/widgets/sliders/slider.js index 792579e3..23736c26 100644 --- a/src/client/widgets/sliders/slider.js +++ b/src/client/widgets/sliders/slider.js @@ -56,7 +56,7 @@ class Slider extends Canvas { } else { doubletab(this.widget, ()=>{ - this.setValue(this.getSpringValue(),{sync:true, send:true, fromLocal:true}) + this.setValue(this.getSpringValue(),{sync:true, send:true, fromLocal:true, doubleTab:true}) }) } @@ -184,7 +184,7 @@ class Slider extends Canvas { setValue(v,options={}) { if (typeof v != 'number') return - if (this.touched && !options.dragged) return this.setValueTouchedQueue = [v, options] + if (this.touched && !options.dragged && !options.doubleTab) return this.setValueTouchedQueue = [v, options] var value = clip(v,[this.rangeValsMin,this.rangeValsMax]) From c6333345010e9c228e0e5814a32e3a012233e34b Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 30 Oct 2020 11:17:39 +0100 Subject: [PATCH 2536/2575] range: typo --- src/client/widgets/sliders/range.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index af2aa1db..8dc2d2fd 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -40,7 +40,7 @@ class Range extends Fader { visible: false, horizontal:this.getProp('horizontal'), default:this.getProp('default').length === 2 ? this.getProp('default')[1] : this.getProp('range').max, - origin: this.getProp('default').length === 2 ? this.getProp('default')[1] : this.getProp('range').max,, + origin: this.getProp('default').length === 2 ? this.getProp('default')[1] : this.getProp('range').max, snap:this.getProp('snap'), spring:this.getProp('spring'), range:this.getProp('range'), From 832ed88a785553a99eab8e471c0a5ebc9b33f791 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 30 Oct 2020 18:15:21 +0100 Subject: [PATCH 2537/2575] docs: update widget ref --- resources/docs/docs/widgets/properties-reference.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 30414203..31e0149f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -42,6 +42,7 @@ |
        alphaFillOn#
        | `number` | "auto" | Fill color opacity (on). | |
        lineWidth#
        | `number` | "auto" | Stroke width. | |
        padding#
        | `number` | "auto" | Inner spacing. | + |
        html#
        | `string` | "" | Custom html content to be inserted in the widget (before the widget's content).

        The code is automatically wrapped in <div class="html"></div>

        Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          <img>: src, width, height | |
        css#
        | `string` | "" | CSS rules. See documentation.

        Available css variables:
        - `--color-background`: `colorBg`
        - `--color-widget`: `colorWidget`
        - `--color-fill`: `colorFill`
        - `--color-stroke`: `colorStroke`
        - `--color-text`: `colorText`
        - `--widget-padding`: `padding`
        - `--line-width`: `lineWidth`
        - `--alpha-fill-on`: `alphaFillOn`
        - `--alpha-fill-off`: `alphaFillOff`
        - `--alpha-stroke`: `alphaStroke` | @@ -456,12 +457,6 @@ ??? api "
        html#
        " Simple HTML parser. - === "html" - - | property | type |default | description | - | --- | --- | --- | --- | - |
        html#
        | `string` | "" | Allowed HTML tags:

          h1-6, blockquote, p, a, ul, ol, nl, li,

          b, i, strong, em, strike, code, hr, br, div,

          table, thead, img, caption, tbody, tr, th, td, pre

        Allowed attributes:

          <*>: class, style, title

          : src, width, height | - ??? api "
        image#
        " Load a image (url or base64-encoded). From 28db598d27007c3bf5393bad1b7d1c92840974e3 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 30 Oct 2020 19:13:40 +0100 Subject: [PATCH 2538/2575] pyinstaller --- src/python/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/requirements.txt b/src/python/requirements.txt index 3aa7f400..fddc08e3 100644 --- a/src/python/requirements.txt +++ b/src/python/requirements.txt @@ -1 +1,2 @@ python-rtmidi == 1.4.2 +pyinstaller From 1b7cf944322c7a44b7abaaff513b1c6766024ff0 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 3 Nov 2020 08:32:26 +0100 Subject: [PATCH 2539/2575] keyboard: make `on` and `off` properties dynamic --- CHANGELOG.md | 5 +++ src/client/widgets/containers/keyboard.js | 37 +++++++++++++++++------ 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c69e9437..947b3c15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.6.1 + +- widgets + - keyboard: make `on` and `off` properties dynamic + ## 1.6.0 - bug fixes diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index 01cfa1fe..e5b9e3b6 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -57,6 +57,14 @@ class Keyboard extends Panel { if (e.widget === this) return this.value[e.widget._index] = e.widget.getValue() + + if (e.options.send) { + var start = parseInt(this.getProp('start')) + this.sendValue({ + v: [e.widget._index + start, e.widget.getValue() ? this.getProp('on') : this.getProp('off')] + }) + } + this.changed(e.options) }) @@ -84,16 +92,9 @@ class Keyboard extends Panel { data.id = this.getProp('id') + '/' + i data.label = false data.css = '' - - data.target = '@{parent.target}' - data.decimals = '@{parent.decimals}' - - data.address = '@{parent.address}' - data.preArgs = `JS{{ - var a = @{parent.preArgs}; - var b = typeof a === 'string' && a === '' ? [] : Array.isArray(a) ? a : [a]; - return b.concat([${i}]) - }}` + data.bypass = true + data.on = 1 + data.off = 0 var key = parser.parse({ data: data, @@ -119,8 +120,24 @@ class Keyboard extends Panel { } + setValue(v, options={}) { + + if (!Array.isArray(v) || v.length !== 2) return + if (v[1] !== this.getProp('on') && v[1] !== this.getProp('off')) return + + var start = parseInt(this.getProp('start')) + this.children[v[0] - start].setValue(v[1] === this.getProp('on') ? 1 : 0, options) + + } + } + +Keyboard.dynamicProps = Keyboard.prototype.constructor.dynamicProps.concat( + 'on', + 'off', +) + Keyboard.cssVariables = Keyboard.prototype.constructor.cssVariables.concat( {js: 'colorWhite', css: '--color-white-key'}, {js: 'colorBlack', css: '--color-black-key'} From 020b5b556fa9431b95ba96af818ba2e9a85d8447 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 3 Nov 2020 08:59:09 +0100 Subject: [PATCH 2540/2575] keyboard: prevent prop leak to keys (eg script) --- src/client/widgets/containers/keyboard.js | 30 ++++++++++++----------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index e5b9e3b6..a117b93b 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -51,7 +51,7 @@ class Keyboard extends Panel { this.childrenType = undefined this.value = [] - + this.on('change',(e)=>{ if (e.widget === this) return @@ -72,8 +72,7 @@ class Keyboard extends Panel { var start = parseInt(this.getProp('start')), keys = parseInt(this.getProp('keys')) - var strData = JSON.stringify(options.props), - pattern = 'wbwbwwbwbwbw', + var pattern = 'wbwbwwbwbwbw', whiteKeys = 0, whiteKeys2 = 0, i for (i = start; i < keys + start && i < 109; i++) { @@ -84,17 +83,20 @@ class Keyboard extends Panel { for (i = start; i < keys + start && i < 109; i++) { - var data = JSON.parse(strData) - - data.top = data.left = data.height = data.width = 'auto' - data.type = 'button' - data.mode = this.getProp('mode') - data.id = this.getProp('id') + '/' + i - data.label = false - data.css = '' - data.bypass = true - data.on = 1 - data.off = 0 + var data = { + top: 'auto', + left: 'auto', + height: 'auto', + width: 'auto', + type: 'button', + mode: this.getProp('mode'), + id: this.getProp('id') + '/' + i, + label: false, + css: '', + bypass: true, + on: 1, + off: 0, + } var key = parser.parse({ data: data, From beb0e851a1d54b2e80c3b308295ef91cf64865fb Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 3 Nov 2020 08:59:41 +0100 Subject: [PATCH 2541/2575] matrix: clean --- src/client/widgets/containers/matrix.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index bcfb4569..b505c693 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -1,10 +1,9 @@ var Panel = require('./panel'), - StaticProperties = require('../mixins/static_properties'), parser = require('../../parser'), {deepCopy} = require('../../utils') -class Matrix extends StaticProperties(Panel) { +class Matrix extends Panel { static description() { From 0adb418303fa96d54bca2a0c11ae4fb119f070c7 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 3 Nov 2020 09:11:53 +0100 Subject: [PATCH 2542/2575] script: add `getIndex` function --- CHANGELOG.md | 4 ++++ resources/docs/docs/widgets/scripting.md | 7 +++++++ src/client/widgets/scripts/script-vm.js | 9 ++++++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 947b3c15..4445b4aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,12 @@ ## 1.6.1 +- bug fixes + - keyboard: prevent `script` property from being copied to each key + - widgets - keyboard: make `on` and `off` properties dynamic + - script: add `getIndex` function ## 1.6.0 diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 8b9a80db..a551d3a1 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -96,6 +96,13 @@ Returns the property called `"name"` of the first matching widget. ---- +#### `getIndex(id)` +- `id` (optional): widget `id` as a string. Defaults to `"this"`. + +Returns the widget's index in its container. + +---- + #### `updateProp(id, name)` - `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget. - `name`: property name. diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index a18e10ef..a661110f 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -162,6 +162,13 @@ class ScriptVm extends Vm { } + this.sandbox.contentWindow.getIndex = (id = 'this')=>{ + + var widget = this.resolveId(id).pop() + if (widget) return widget.parent.children.indexOf(widget) + + } + this.sandbox.contentWindow.getScroll = (id)=>{ var widgets = this.resolveId(id) @@ -346,7 +353,7 @@ class ScriptVm extends Vm { } - for (var imports of ['set', 'get', 'getProp', 'updateProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage', + for (var imports of ['set', 'get', 'getProp', 'getIndex', 'updateProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage', 'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout', 'unfocus', 'setScroll', 'getScroll', 'toolbar']) { this.sanitize(this.sandbox.contentWindow[imports]) } From 34b6e0c9cca25d073b8c48b4077f16aa70119d23 Mon Sep 17 00:00:00 2001 From: bordun Date: Tue, 3 Nov 2020 10:01:14 +0100 Subject: [PATCH 2543/2575] matrix/keyboard: `id` variable in script is now the `id` of the child widget that triggered the event --- CHANGELOG.md | 1 + resources/docs/docs/widgets/scripting.md | 3 +++ src/client/widgets/common/widget.js | 4 +++- src/client/widgets/containers/keyboard.js | 16 +++++++++++----- src/client/widgets/containers/matrix.js | 20 +++++++------------- 5 files changed, 25 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4445b4aa..cc493575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - widgets - keyboard: make `on` and `off` properties dynamic - script: add `getIndex` function + - matrix/keyboard: `id` variable in script is now the `id` of the child widget that triggered the event ## 1.6.0 diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index a551d3a1..118d73d9 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -17,6 +17,9 @@ Depending on what triggered the script's execution, a few variables are availabl - `value`: widget's value - `touch`: see [Touch state](#touch-state) +??? infos "Keyboard & Matrix" + In keyboards and matrices, `id` is the id of the child widget that triggered the event. + **Event: keyboard** (script widget only) - `type` (`string`): `keydown` or `keyup` diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index df7a7a77..3b39b9c9 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -216,7 +216,9 @@ class Widget extends EventEmitter { event: 'value' }, builtIn: true, parent: this}) this.on('change', (e)=>{ - if (e.widget === this && this.mounted && !e.options.fromEdit) this.script.setValue(this.value, {...e.options, id: e.options.id || e.id}) + if (e.widget === this && this.mounted && !e.options.fromEdit) { + this.script.setValue(e.options.widget ? e.options.widget.value : this.value, {...e.options, id: e.options.id || e.id}) + } }) if (String(this.getProp('script')).includes('touch')) { this.on('touch', (e)=>{ diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index a117b93b..b80fa8b1 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -51,21 +51,27 @@ class Keyboard extends Panel { this.childrenType = undefined this.value = [] - + this.on('change',(e)=>{ - if (e.widget === this) return + var widget = e.widget - this.value[e.widget._index] = e.widget.getValue() + if (widget === this) return + + this.value[widget._index] = widget.getValue() if (e.options.send) { var start = parseInt(this.getProp('start')) this.sendValue({ - v: [e.widget._index + start, e.widget.getValue() ? this.getProp('on') : this.getProp('off')] + v: [e.widget._index + start, widget.getValue() ? this.getProp('on') : this.getProp('off')] }) } - this.changed(e.options) + this.changed({ + ...e.options, + id: widget.getProp('id') + }) + }) diff --git a/src/client/widgets/containers/matrix.js b/src/client/widgets/containers/matrix.js index b505c693..e2f12132 100644 --- a/src/client/widgets/containers/matrix.js +++ b/src/client/widgets/containers/matrix.js @@ -44,22 +44,16 @@ class Matrix extends Panel { if (e.widget === this) return - if (this.getProp('widgetType') === 'clone') { + var widget = this.getProp('widgetType') === 'clone' ? e.widget.parent : e.widget - if (e.widget.parent.parent !== this) return + if (widget.parent !== this) return - this.value[e.widget.parent._index] = e.widget.getValue() + this.value[widget._index] = e.widget.getValue() - } else { - - if (e.widget.parent !== this) return - - this.value[e.widget._index] = e.widget.getValue() - - - } - - this.changed(e.options) + this.changed({ + ...e.options, + id: widget.getProp('id') + }) }) From fd7388c47266dc9df16e69b71e498ca6d9c7c964 Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 4 Nov 2020 09:13:42 +0100 Subject: [PATCH 2544/2575] package: 1.6.1 --- package.json | 2 +- resources/docs/docs/widgets/properties-reference.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4acc1237..b097d373 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.6.0", + "version": "1.6.1", "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 31e0149f..7c83ddd1 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -342,8 +342,8 @@ |
        keys#
        | `number` | 25 | Defines the number keys | |
        start#
        | `number` | 48 | MIDI note number to start with (default is C4)

        Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` | |
        traversing#
        | `boolean` | true | Set to `false` to disable traversing gestures | - |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | - |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        on#
        | `*` | 1 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | + |
        off#
        | `*` | 0 | Set to `null` to send send no argument in the osc message

        Can be an `object` if the type needs to be specified (see preArgs) | |
        mode#
        | `string` | "push" | Interraction mode:
        - `push` (press & release)
        - `toggle` (on/off switches)
        - `tap` (no release)

        Choices: `push`, `toggle`, `tap` | ??? api "
        patchbay#
        " From 4510245a1e225012c85fb89509417bd45e7a1015 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 5 Nov 2020 22:25:09 +0100 Subject: [PATCH 2545/2575] matrix: issues when changing non-dynamic properties (matrix' content not properly removed) --- CHANGELOG.md | 5 +++++ src/client/editor/data-workers.js | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc493575..cd32593f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.6.2 + +- bug fixes + - matrix: issues when changing non-dynamic properties (matrix' content not properly removed) + ## 1.6.1 - bug fixes diff --git a/src/client/editor/data-workers.js b/src/client/editor/data-workers.js index 3265ecb2..124ca0d3 100644 --- a/src/client/editor/data-workers.js +++ b/src/client/editor/data-workers.js @@ -2,13 +2,14 @@ var widgetManager = require('../managers/widgets'), resize = require('../events/resize'), stateManager = require('../managers/state'), parser = require('../parser'), - Panel, + Panel, Matrix, editor, scrollState = {} setTimeout(()=>{ editor = require('./') Panel = require('../widgets/containers/panel') + Matrix = require('../widgets/containers/matrix') }) function updateWidget(widget, options={}) { @@ -43,6 +44,7 @@ function updateWidget(widget, options={}) { } var reuseChildren = options.reuseChildren !== false && widget instanceof Panel + && !(widget instanceof Matrix) var children = undefined, removedChildren = [] From f44ccbb7293d53d1d58728cb5b6b05bc700f4d14 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 6 Nov 2020 10:52:27 +0100 Subject: [PATCH 2546/2575] misc: log & docs --- CHANGELOG.md | 2 +- resources/docs/docs/widgets/advanced-syntaxes.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd32593f..71eaceba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 1.6.2 - bug fixes - - matrix: issues when changing non-dynamic properties (matrix' content not properly removed) + - matrix: issues when changing non-dynamic properties (content not properly removed) ## 1.6.1 diff --git a/resources/docs/docs/widgets/advanced-syntaxes.md b/resources/docs/docs/widgets/advanced-syntaxes.md index 809f438e..8b5b91d5 100644 --- a/resources/docs/docs/widgets/advanced-syntaxes.md +++ b/resources/docs/docs/widgets/advanced-syntaxes.md @@ -34,12 +34,12 @@ Some properties have much cheaper update routines and can be considered as `dyna #### Object properties -If the retreived property is an object (`{}`) or an array (`[]`), a subset can be retreived directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}` +If the retreived property is an object (`{}`), a subset can be retreived directly by appending a dot and a key (array index or object key) : `@{parent.variables.key}` #### Nesting -The inheritance syntax supports 1-level nesting : `@{fader_@{toggle_1}}` +The inheritance syntax supports 1-level nesting for defining the target widget's id dynamically : `@{fader_@{toggle_1}}` ## OSC listeners: `OSC{address, default, usePreArgs}` From b43b844916a61497f2b16659b75c77dc14a07091 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 7 Nov 2020 11:23:29 +0100 Subject: [PATCH 2547/2575] input: apply default value when receiving an empty value or no value at all --- CHANGELOG.md | 1 + src/client/widgets/basics/input.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71eaceba..25857207 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - bug fixes - matrix: issues when changing non-dynamic properties (content not properly removed) + - input: apply default value when receiving an empty value or no value at all ## 1.6.1 diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index eac66e36..41960923 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -126,6 +126,8 @@ class Input extends Canvas { this.value = v } + if (this.value === '' || this.value === null) this.value = this.getProp('default') + this.stringValue = this.getStringValue() this.batchDraw() From fd0f6d24d542be3936e8a3211033d1d256da7a34 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 7 Nov 2020 11:23:55 +0100 Subject: [PATCH 2548/2575] package: 1.6.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b097d373..35bdd1e8 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.6.1", + "version": "1.6.2", "author": { "name": "Jean-Emmanuel Doucet", "email": "jean-emmanuel@ammd.net" From c9a02976edf0a5c4e9fa6fa05c8da5bcc0d5e4b7 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 8 Nov 2020 16:58:25 +0100 Subject: [PATCH 2549/2575] midi: accept sending sysex strings without spaces between the bytes --- CHANGELOG.md | 5 +++++ src/python/midi.py | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25857207..106d6616 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.6.3 + +- midi + - accept sending sysex strings without spaces between the bytes + ## 1.6.2 - bug fixes diff --git a/src/python/midi.py b/src/python/midi.py index 1f6501c3..8a0220ca 100644 --- a/src/python/midi.py +++ b/src/python/midi.py @@ -194,8 +194,9 @@ def send_midi(name, event, *args): m = [] for arg in args: if type(arg) is str: - arg = arg.split(' ') - arg = [int(x, 16) for x in arg] + arg = arg.replace(' ', '') # remove spaces + arg = [arg[i:i+2] for i in range(0, len(arg), 2)] # split in 2 chars bytes + arg = [int(x, 16) for x in arg] # parse hex bytes for x in arg: m.append(x) else: From 8f996a23e0882815384797d3ca1397d534cbe135 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 8 Nov 2020 16:58:38 +0100 Subject: [PATCH 2550/2575] server: missing app name in some places (eg zeroconf) --- src/server/electron-app.js | 2 +- src/server/electron-window.js | 2 +- src/server/osc/tcp.js | 2 +- src/server/osc/udp.js | 2 +- src/server/server.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server/electron-app.js b/src/server/electron-app.js index 686369bb..e69f24ff 100644 --- a/src/server/electron-app.js +++ b/src/server/electron-app.js @@ -36,7 +36,7 @@ var template = [{ if (process.platform === 'darwin') { // Add app menu (macOs) template.unshift({ - label: settings.infos.appName, + label: settings.infos.productName, submenu: [ { label: 'Hide ' + infos.productName, diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 2b50c20b..02e60acf 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -10,7 +10,7 @@ module.exports = function(options={}) { var window window = new BrowserWindow({ - title: options.title || settings.infos.appName, + title: options.title || settings.infos.productName, icon: path.resolve(__dirname + '/../assets/logo.png'), backgroundColor: options.color || theme.backgroundColor, type: options.type, diff --git a/src/server/osc/tcp.js b/src/server/osc/tcp.js index e9207ab7..89d76546 100644 --- a/src/server/osc/tcp.js +++ b/src/server/osc/tcp.js @@ -129,7 +129,7 @@ class OscTCPServer extends EventEmitter { } zeroconf.publish({ - name: settings.infos.appName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''), + name: settings.infos.productName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''), protocol: 'tcp', type: 'osc', port: tcpInPort diff --git a/src/server/osc/udp.js b/src/server/osc/udp.js index 2eab0b41..f819ea5a 100644 --- a/src/server/osc/udp.js +++ b/src/server/osc/udp.js @@ -19,7 +19,7 @@ oscUDPServer.on('error', function(e) { }) zeroconf.publish({ - name: settings.infos.appName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''), + name: settings.infos.productName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''), protocol: 'udp', type: 'osc', port: oscInPort diff --git a/src/server/server.js b/src/server/server.js index c442f078..133251a3 100644 --- a/src/server/server.js +++ b/src/server/server.js @@ -144,7 +144,7 @@ function httpCheck(ok, error){ } zeroconf.publish({ - name: settings.infos.appName + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''), + name: settings.infos.productName + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''), type: 'http', port: settings.read('port') || 8080 }).on('error', (e)=>{ From 527e06f3df9a7f09151929254df3986b90ffa2ce Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 8 Nov 2020 17:15:23 +0100 Subject: [PATCH 2551/2575] misc: sessions converted from v0 will use the widget's html property to display the former label property --- CHANGELOG.md | 5 ++++- src/client/managers/session/session.js | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 106d6616..7068ed00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,10 @@ - midi - accept sending sysex strings without spaces between the bytes - + +- misc + - sessions converted from v0 will use the widget's html property to display the former label property + ## 1.6.2 - bug fixes diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index afc5a453..2238e300 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -211,6 +211,12 @@ var converters = [ } + var label = data.label === undefined ? 'auto' : data.label + if (label !== false && data.type && !data.type.match(/button|menu|modal|clone|html/)) { + var label = label === 'auto' ? '@{this.id}' : label + data.html = label + } + } }, { From 94b1c6a5ee257dbd7d2a0cdd757719dfea7e6eae Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 8 Nov 2020 17:29:45 +0100 Subject: [PATCH 2552/2575] custom-module: document settings.appAddresses; restrict setting object access --- resources/docs/docs/custom-module/custom-module.md | 6 ++++++ src/server/custom-module.js | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index 40e2b465..f36dcb0c 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -81,6 +81,12 @@ Returns specified server option. `name` must be the option's long name without t ---- +#### `settings.appAddresses()` + +Returns the server's http addresses. + +---- + #### `options` `Array` containing the extra options passed to `--custom-module` after the filename diff --git a/src/server/custom-module.js b/src/server/custom-module.js index 86b7f6f1..982fb8b3 100644 --- a/src/server/custom-module.js +++ b/src/server/custom-module.js @@ -52,7 +52,10 @@ class CustomModule { } }, console: console, - settings: settings, + settings: { + read: settings.read, + appAddresses: settings.appAddresses, + }, setTimeout: this.setTimeout.bind(this), clearTimeout: this.clearTimeout.bind(this), setInterval: this.setInterval.bind(this), From c92af881071beddfde6b69443bb678bc6839e5a0 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 09:52:12 +0100 Subject: [PATCH 2553/2575] docs: how to retrieve keyboard/matrix child value --- resources/docs/docs/widgets/scripting.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 118d73d9..b0910ec2 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -18,7 +18,11 @@ Depending on what triggered the script's execution, a few variables are availabl - `touch`: see [Touch state](#touch-state) ??? infos "Keyboard & Matrix" - In keyboards and matrices, `id` is the id of the child widget that triggered the event. + In keyboards and matrices, `id` is the id of the child widget that triggered the event, and `value` is an array containing the children's values. + The touched widget's value can be retrieved with: + ```javascript + value[getIndex(id)] + ``` **Event: keyboard** (script widget only) From 54108c973985e57e8fd1013f53b6b08f52c397b8 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 10:03:05 +0100 Subject: [PATCH 2554/2575] keyboard: add `velocity` property (allows mapping the touch coordinates between `off` (top) and `on` (bottom)) --- CHANGELOG.md | 3 +++ src/client/widgets/basics/button.js | 24 ++++++++--------- src/client/widgets/containers/keyboard.js | 32 +++++++++++++++++++---- src/scss/widgets/basics.scss | 1 + 4 files changed, 43 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7068ed00..d3a2589d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.6.3 +- widgets + - keyboard: add `velocity` property (allows mapping the touch coordinates between `off` (top) and `on` (bottom)) + - midi - accept sending sysex strings without spaces between the bytes diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 9af22b43..19b736c5 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -63,10 +63,10 @@ class Button extends Widget { if (this.getProp('doubleTap')) { - doubletab(this.widget, ()=>{ + doubletab(this.container, (e)=>{ this.active = true - this.setValue(this.getProp('on'), {sync: true, send: true}) + this.setValue(this.getProp('on'), {sync: true, send: true, y: e.offsetY}) if (tap) this.container.classList.add('active') @@ -74,17 +74,17 @@ class Button extends Widget { } else { - this.on('draginit',()=>{ + this.on('draginit',(e)=>{ if (this.active) return this.active = true - this.setValue(this.getProp('on'), {sync: true, send: true}) + this.setValue(this.getProp('on'), {sync: true, send: true, y: e.offsetY}) if (tap) this.container.classList.add('active') - }, {element: this.widget}) + }, {element: this.container}) } @@ -97,36 +97,36 @@ class Button extends Widget { if (!tap) this.setValue(this.getProp('off'), {sync: true, send: true}) if (tap) this.container.classList.remove('active') - }, {element: this.widget}) + }, {element: this.container}) } else { if (this.getProp('doubleTap')) { - doubletab(this.widget, ()=>{ + doubletab(this.container, (e)=>{ this.active = true - this.setValue(this.state ? this.getProp('off') : this.getProp('on'), {sync: true, send: true}) + this.setValue(this.state ? this.getProp('off') : this.getProp('on'), {sync: true, send: true, y: e.offsetY}) }) } else { - this.on('draginit',()=>{ + this.on('draginit',(e)=>{ if (this.active) return this.active = true - this.setValue(this.state ? this.getProp('off') : this.getProp('on'), {sync: true, send: true}) + this.setValue(this.state ? this.getProp('off') : this.getProp('on'), {sync: true, send: true, y: e.offsetY}) - }, {element: this.widget}) + }, {element: this.container}) this.on('dragend',()=>{ this.active = false - }, {element: this.widget}) + }, {element: this.container}) } diff --git a/src/client/widgets/containers/keyboard.js b/src/client/widgets/containers/keyboard.js index b80fa8b1..00616517 100644 --- a/src/client/widgets/containers/keyboard.js +++ b/src/client/widgets/containers/keyboard.js @@ -1,6 +1,7 @@ var Panel = require('./panel'), Widget = require('../common/widget'), - parser = require('../../parser') + parser = require('../../parser'), + {mapToScale} = require('../utils') class Keyboard extends Panel { @@ -28,11 +29,12 @@ class Keyboard extends Panel { traversing: {type: 'boolean', value: true, help: 'Set to `false` to disable traversing gestures'}, on: {type: '*', value: 1, help: [ 'Set to `null` to send send no argument in the osc message', - 'Can be an `object` if the type needs to be specified (see preArgs)' ]}, off: {type: '*', value: 0, help: [ 'Set to `null` to send send no argument in the osc message', - 'Can be an `object` if the type needs to be specified (see preArgs)' + ]}, + velocity: {type: 'boolean', value: false, help: [ + 'Set to `true` to map the touch coordinates between `off` (top) and `on` (bottom). Requires `on` and `off` to be numbers', ]}, mode: {type: 'string', value: 'push', choices: ['push', 'toggle', 'tap'], help: [ 'Interraction mode:', @@ -51,6 +53,12 @@ class Keyboard extends Panel { this.childrenType = undefined this.value = [] + this.keyHeight = 100 + + this.on('resize', (e)=>{ + this.keyHeight = e.height + }, {element: this.widget}) + this.on('change',(e)=>{ @@ -58,12 +66,25 @@ class Keyboard extends Panel { if (widget === this) return - this.value[widget._index] = widget.getValue() + + var value + if (widget.getValue()) { + if (this.getProp('velocity')) { + var height = widget._black ? this.keyHeight * 0.65 : this.keyHeight + value = mapToScale(e.options.y, [0, height * 0.9], [this.getProp('off'), this.getProp('on')], this.decimals) + } else { + value = this.getProp('on') + } + } else { + value = this.getProp('off') + } + + this.value[widget._index] = value if (e.options.send) { var start = parseInt(this.getProp('start')) this.sendValue({ - v: [e.widget._index + start, widget.getValue() ? this.getProp('on') : this.getProp('off')] + v: [e.widget._index + start, value] }) } @@ -120,6 +141,7 @@ class Keyboard extends Panel { } else { key.container.classList.add('black') key.container.style.setProperty('--rank', whiteKeys2) + key._black = true } this.value[i - start] = this.getProp('off') diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 734e82ac..0b72d692 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -32,6 +32,7 @@ bottom:0; margin: var(--widget-spacing); padding: var(--widget-padding); + pointer-events: none; @include pseudo-stroke($z: -1); From a6d4d5155941283be5a442cc50ee622a4f251f40 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 10:26:07 +0100 Subject: [PATCH 2555/2575] lint --- src/client/managers/session/session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/managers/session/session.js b/src/client/managers/session/session.js index 2238e300..c9a17aaa 100644 --- a/src/client/managers/session/session.js +++ b/src/client/managers/session/session.js @@ -213,7 +213,7 @@ var converters = [ var label = data.label === undefined ? 'auto' : data.label if (label !== false && data.type && !data.type.match(/button|menu|modal|clone|html/)) { - var label = label === 'auto' ? '@{this.id}' : label + label = label === 'auto' ? '@{this.id}' : label data.html = label } From 268b9f9be5df9ead63ffebb193e571136ad2931f Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 12:14:02 +0100 Subject: [PATCH 2556/2575] ui: missing context menu (copy, paste) in inspector inputs --- CHANGELOG.md | 3 +++ src/client/events/click.js | 4 +++- src/server/electron-window.js | 11 ++++++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3a2589d..c25b1051 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.6.3 +- bug fixes + - missing context menu (copy, paste) in inspector inputs + - widgets - keyboard: add `velocity` property (allows mapping the touch coordinates between `off` (top) and `on` (bottom)) diff --git a/src/client/events/click.js b/src/client/events/click.js index 0a9bc274..206072c0 100644 --- a/src/client/events/click.js +++ b/src/client/events/click.js @@ -17,7 +17,9 @@ if (macOs) { DOM.dispatchEvent(event.target, 'fast-right-click', event) }) } else { - document.body.setAttribute('oncontextmenu', 'return false') + document.body.addEventListener('contextmenu', (event)=>{ + if (event.target && (!event.target.tagName.match(/INPUT|TEXTAREA|OSC-CONSOLE|OSC-CONSOLE-MESSAGE/))) event.preventDefault() + }) } function mouseToFastClick(event) { diff --git a/src/server/electron-window.js b/src/server/electron-window.js index 02e60acf..85a20ec0 100644 --- a/src/server/electron-window.js +++ b/src/server/electron-window.js @@ -1,5 +1,5 @@ var path = require('path'), - {BrowserWindow, dialog, shell, screen} = require('electron'), + {BrowserWindow, dialog, shell, screen, Menu, MenuItem} = require('electron'), shortcut = require('electron-localshortcut'), app = require('./electron-app'), settings = require('./settings'), @@ -131,6 +131,15 @@ module.exports = function(options={}) { settings.write('geometry', geometry) }) + var menu = new Menu() + menu.append(new MenuItem({role: 'copy'})) + menu.append(new MenuItem({role: 'paste'})) + window.webContents.on('context-menu', (e, data) => { + menu.items[0].enabled = data.editFlags.canCopy + menu.items[1].enabled = data.editFlags.canPaste + menu.popup({window: window, x: e.x, y: e.y }) + }, false) + if (options.shortcuts) { shortcut.register(window,'CmdOrCtrl+R',function(){ From 528d0510931e82b5631bbd75f764833ce03f4e2f Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 13:58:04 +0100 Subject: [PATCH 2557/2575] editor: add console panel under the inspector to ease debugging --- CHANGELOG.md | 3 + src/client/locales/en.js | 5 + src/client/locales/fr.js | 4 + src/client/managers/session/index.js | 2 + src/client/ui/index.js | 1 - src/client/ui/init.js | 3 +- src/client/ui/main-menu.js | 230 ++++++++++++++++++++++++ src/client/ui/ui-console.js | 85 +++++++++ src/client/ui/ui-toolbar.js | 229 +---------------------- src/client/widgets/common/widget.js | 4 +- src/client/widgets/scripts/script-vm.js | 2 +- src/client/widgets/scripts/script.js | 8 +- src/html/client.html | 5 +- src/scss/ui.scss | 1 + src/scss/ui/console.scss | 53 ++++++ src/scss/ui/toolbar.scss | 2 +- 16 files changed, 404 insertions(+), 233 deletions(-) create mode 100644 src/client/ui/main-menu.js create mode 100644 src/client/ui/ui-console.js create mode 100644 src/scss/ui/console.scss diff --git a/CHANGELOG.md b/CHANGELOG.md index c25b1051..576891d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.6.3 +- editor + - add console panel under the inspector to ease debugging + - bug fixes - missing context menu (copy, paste) in inspector inputs diff --git a/src/client/locales/en.js b/src/client/locales/en.js index af6581aa..86d11c22 100644 --- a/src/client/locales/en.js +++ b/src/client/locales/en.js @@ -1,5 +1,10 @@ module.exports = { + // console + console_title: 'Console', + console_clear: 'Clear console', + + // editor editor: 'Editor', editor_enabled: 'Enabled', diff --git a/src/client/locales/fr.js b/src/client/locales/fr.js index ad25a951..2846f0f4 100644 --- a/src/client/locales/fr.js +++ b/src/client/locales/fr.js @@ -1,5 +1,9 @@ module.exports = { + // console + console_title: 'Console', + console_clear: 'Vider la console', + // editor editor: 'Editeur', editor_enabled: 'Activé', diff --git a/src/client/managers/session/index.js b/src/client/managers/session/index.js index 66deae87..b11af14f 100644 --- a/src/client/managers/session/index.js +++ b/src/client/managers/session/index.js @@ -5,6 +5,7 @@ var ipc = require('../../ipc/'), uiFileupload = require('../../ui/ui-fileupload'), UiModal = require('../../ui/ui-modal'), uiLoading = require('../../ui/ui-loading'), + uiConsole = require('../../ui/ui-console'), {saveAs} = require('file-saver'), widgetManager = require('../widgets'), locales = require('../../locales'), @@ -39,6 +40,7 @@ var SessionManager = class SessionManager { setTimeout(()=>{ try { + uiConsole.clear() this.session = new Session(session) container.innerHTML = '' parser.reset() diff --git a/src/client/ui/index.js b/src/client/ui/index.js index 16f94311..f49195cc 100644 --- a/src/client/ui/index.js +++ b/src/client/ui/index.js @@ -1,7 +1,6 @@ var UiSidePanel = require('./ui-sidepanel'), locales = require('../locales') - module.exports = { leftUiSidePanel: new UiSidePanel({selector: 'osc-panel-container.left', label: locales('editor_tree')}), rightUiSidePanel: new UiSidePanel({selector: 'osc-panel-container.right', label: locales('editor_inspector')}) diff --git a/src/client/ui/init.js b/src/client/ui/init.js index f88ad20a..a93d9d2f 100644 --- a/src/client/ui/init.js +++ b/src/client/ui/init.js @@ -3,4 +3,5 @@ require('../events/click') require('./ios') require('./notifications') require('./ui-workspace') -require('./ui-toolbar') +require('./main-menu') +require('./ui-console') diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js new file mode 100644 index 00000000..153cf649 --- /dev/null +++ b/src/client/ui/main-menu.js @@ -0,0 +1,230 @@ +var UiToolbar = require('./ui-toolbar'), + ipc = require('../ipc'), + locales = require('../locales'), + notifications = require('./notifications'), + fullscreen = require('./fullscreen'), + editor = require('../editor'), + sessionManager = require('../managers/session/'), + stateManager = require('../managers/state'), + {leftUiSidePanel, rightUiSidePanel} = require('../ui/') + + +var recentSessions = [{label: locales('file_open_recent_wait'), class: 'disabled'}] +var menuEntries = [ + + { + label: locales('session'), + action: [ + { + label: locales('session_new'), + action: sessionManager.create.bind(sessionManager), + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + { + separator: true + }, + { + label: locales('file_open'), + action: sessionManager.browse.bind(sessionManager), + shortcut: 'mod + o', + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + { + label: locales('file_open_recent'), + action: recentSessions, + class: ()=>{return !recentSessions.length ? 'disabled' :''} + }, + { + separator: true + }, + { + label: locales('file_save'), + action: sessionManager.save.bind(sessionManager), + shortcut: 'mod + s', + class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} + }, + { + label: locales('file_save_as'), + action: sessionManager.saveAs.bind(sessionManager), + shortcut: 'mod + shift + s', + class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} + }, + { + separator: true + }, + { + label: locales('file_import'), + action: sessionManager.import.bind(sessionManager), + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + { + label: locales('file_export'), + action: sessionManager.export.bind(sessionManager), + class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} + }, + + ] + }, + { + label: locales('state'), + class: ()=>{return sessionManager.session === null ? 'disabled' : ''}, + action: [ + { + label: locales('state_store'), + action: stateManager.quickSave.bind(stateManager) + }, + { + label: locales('state_recall'), + class: ()=>{return stateManager.quickState === null ? 'disabled' : ''}, + action: stateManager.quickLoad.bind(stateManager) + }, + { + label: locales('state_send'), + action: ()=>{ + stateManager.send() + notifications.add({ + icon: 'sliders-h', + message: locales('state_sendsuccess') + }) + } + }, + { + separator: true + }, + { + label: locales('file_open'), + action: stateManager.browse.bind(stateManager), + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + { + label: locales('file_save'), + action: stateManager.save.bind(stateManager), + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + { + label: locales('file_save_as'), + action: stateManager.saveAs.bind(stateManager), + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + { + separator: true + }, + { + label: locales('file_import'), + action: stateManager.import.bind(stateManager), + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + { + label: locales('file_export'), + action: stateManager.export.bind(stateManager), + class: ()=>{return READ_ONLY ? 'disabled' :''} + }, + ] + }, + { + label: locales('editor'), + class: ()=>{return sessionManager.session === null || READ_ONLY ? 'disabled' : ''}, + action: [ + { + label: locales('editor_enabled'), + class: ()=>{return 'toggle ' + (editor.enabled ? 'on' : 'off')}, + action: ()=>{ + if (editor.enabled) editor.disable() + else editor.enable() + }, + shortcut: 'mod + e' + }, + { + separator: true + }, + { + label: locales('editor_grid'), + class: ()=>{return 'toggle ' + (editor.grid ? 'on' : 'off')}, + action: editor.toggleGrid.bind(editor), + shortcut: 'mod + g' + + }, + { + label: locales('editor_tree'), + class: ()=>{return 'toggle ' + (leftUiSidePanel.minimized ? 'off' : 'on')}, + action: ()=>{return leftUiSidePanel.minimized ? leftUiSidePanel.restore() : leftUiSidePanel.minimize()}, + shortcut: 'mod + t' + + + }, + { + label: locales('editor_inspector'), + class: ()=>{return 'toggle ' + (rightUiSidePanel.minimized ? 'off' : 'on')}, + action: ()=>{return rightUiSidePanel.minimized ? rightUiSidePanel.restore() : rightUiSidePanel.minimize()}, + shortcut: 'mod + i' + }, + { + separator: true + }, + { + label: locales('editor_percents'), + class: ()=>{return 'toggle ' + (editor.usePercents ? 'on' : 'off')}, + action: ()=>{editor.usePercents = !editor.usePercents} + } + ] + }, + { + separator: true + }, + { + label: locales('fullscreen'), + class: ()=>{return 'toggle ' + (fullscreen.isFullscreen ? 'on' : 'off')}, + action: ()=>{ + if (fullscreen.isEnabled) fullscreen.toggle() + }, + shortcut: 'f11' + } + +] + +if (navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)) { + + var NoSleep = require('nosleep.js'), + noSleep = new NoSleep(), + noSleepState = false + + menuEntries.push({ + label: locales('nosleep'), + class: ()=>{return 'toggle ' + (noSleepState ? 'on' : 'off')}, + action:()=>{ + noSleepState = !noSleepState + if (noSleepState) noSleep.disable() + else noSleep.enable() + } + }) + +} + + + + + +class MainMenu extends UiToolbar { + + constructor(options) { + + super(options) + + ipc.on('sessionList', (data)=>{ + if (recentSessions.length) { + recentSessions.splice(0, 10) + } + for (let s of data) [ + recentSessions.push({ + label: s, + action: ()=>{sessionManager.requestOpen(s)} + }) + ] + }) + + } + +} + + +module.exports = new MainMenu({selector: '#main-menu', position: [40, 1], entries: menuEntries}) diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js new file mode 100644 index 00000000..f5348c0a --- /dev/null +++ b/src/client/ui/ui-console.js @@ -0,0 +1,85 @@ +var UiWidget = require('./ui-widget'), + html = require('nanohtml'), + raw = require('nanohtml/raw'), + locales = require('../locales'), + {icon} = require('./utils') + +class UiConsole extends UiWidget { + + constructor(options) { + + super(options) + + this.header = DOM.get(this.container, 'osc-panel-header')[0] + + this.header.appendChild(html``) + this.actions = this.header.appendChild(html`
        `) + this.clearBtn = this.actions.appendChild(html`
        ${raw(icon('trash'))}
        `) + this.clearBtn.addEventListener('click', ()=>{ + this.clear() + }) + + + this.messages = this.container.appendChild(html``) + this.length = 0 + this.maxLength = 200 + + var _this = this, + log = console.log, + error = console.error, + onerror = window.onerror + + console.log = function(message){ + _this.log('log', message) + log(...arguments) + } + + console.error = function(message){ + _this.log('error', message) + error(...arguments) + } + + window.onerror = function(message){ + _this.log('error', message) + onerror(...arguments) + } + + } + + log(type, message) { + + var node = this.messages.appendChild(html` + + + + `) + node.textContent = message + if (type !== 'error' && node.textContent.match(/error/i)) node.classList.add('error') + + node.scrollIntoView() + + if (++this.length > this.maxLength) this.purge() + + + } + + purge() { + + var children = [...this.messages.children] + for (var i = 0; i < this.maxLength / 2; i++) { + this.messages.removeChild(children[i]) + } + this.length = this.maxLength / 2 + 1 + + } + + clear() { + + this.messages.innerHTML = '' + this.length = 0 + + } + +} + +module.exports = new UiConsole({selector: '#osc-console'}) diff --git a/src/client/ui/ui-toolbar.js b/src/client/ui/ui-toolbar.js index 95fb7b8f..91bc4d7a 100644 --- a/src/client/ui/ui-toolbar.js +++ b/src/client/ui/ui-toolbar.js @@ -1,209 +1,5 @@ var UiWidget = require('./ui-widget'), - ContextMenu = require('./context-menu'), - ipc = require('../ipc'), - locales = require('../locales'), - notifications = require('./notifications'), - fullscreen = require('./fullscreen'), - editor = require('../editor'), - sessionManager = require('../managers/session/'), - stateManager = require('../managers/state'), - {leftUiSidePanel, rightUiSidePanel} = require('../ui/') - - -var recentSessions = [{label: locales('file_open_recent_wait'), class: 'disabled'}] -var menuEntries = [ - - { - label: locales('session'), - action: [ - { - label: locales('session_new'), - action: sessionManager.create.bind(sessionManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - { - separator: true - }, - { - label: locales('file_open'), - action: sessionManager.browse.bind(sessionManager), - shortcut: 'mod + o', - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - { - label: locales('file_open_recent'), - action: recentSessions, - class: ()=>{return !recentSessions.length ? 'disabled' :''} - }, - { - separator: true - }, - { - label: locales('file_save'), - action: sessionManager.save.bind(sessionManager), - shortcut: 'mod + s', - class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} - }, - { - label: locales('file_save_as'), - action: sessionManager.saveAs.bind(sessionManager), - shortcut: 'mod + shift + s', - class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} - }, - { - separator: true - }, - { - label: locales('file_import'), - action: sessionManager.import.bind(sessionManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - { - label: locales('file_export'), - action: sessionManager.export.bind(sessionManager), - class: ()=>{return READ_ONLY || sessionManager.session === null ? 'disabled' :''} - }, - - ] - }, - { - label: locales('state'), - class: ()=>{return sessionManager.session === null ? 'disabled' : ''}, - action: [ - { - label: locales('state_store'), - action: stateManager.quickSave.bind(stateManager) - }, - { - label: locales('state_recall'), - class: ()=>{return stateManager.quickState === null ? 'disabled' : ''}, - action: stateManager.quickLoad.bind(stateManager) - }, - { - label: locales('state_send'), - action: ()=>{ - stateManager.send() - notifications.add({ - icon: 'sliders-h', - message: locales('state_sendsuccess') - }) - } - }, - { - separator: true - }, - { - label: locales('file_open'), - action: stateManager.browse.bind(stateManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - { - label: locales('file_save'), - action: stateManager.save.bind(stateManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - { - label: locales('file_save_as'), - action: stateManager.saveAs.bind(stateManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - { - separator: true - }, - { - label: locales('file_import'), - action: stateManager.import.bind(stateManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - { - label: locales('file_export'), - action: stateManager.export.bind(stateManager), - class: ()=>{return READ_ONLY ? 'disabled' :''} - }, - ] - }, - { - label: locales('editor'), - class: ()=>{return sessionManager.session === null || READ_ONLY ? 'disabled' : ''}, - action: [ - { - label: locales('editor_enabled'), - class: ()=>{return 'toggle ' + (editor.enabled ? 'on' : 'off')}, - action: ()=>{ - if (editor.enabled) editor.disable() - else editor.enable() - }, - shortcut: 'mod + e' - }, - { - separator: true - }, - { - label: locales('editor_grid'), - class: ()=>{return 'toggle ' + (editor.grid ? 'on' : 'off')}, - action: editor.toggleGrid.bind(editor), - shortcut: 'mod + g' - - }, - { - label: locales('editor_tree'), - class: ()=>{return 'toggle ' + (leftUiSidePanel.minimized ? 'off' : 'on')}, - action: ()=>{return leftUiSidePanel.minimized ? leftUiSidePanel.restore() : leftUiSidePanel.minimize()}, - shortcut: 'mod + t' - - - }, - { - label: locales('editor_inspector'), - class: ()=>{return 'toggle ' + (rightUiSidePanel.minimized ? 'off' : 'on')}, - action: ()=>{return rightUiSidePanel.minimized ? rightUiSidePanel.restore() : rightUiSidePanel.minimize()}, - shortcut: 'mod + i' - }, - { - separator: true - }, - { - label: locales('editor_percents'), - class: ()=>{return 'toggle ' + (editor.usePercents ? 'on' : 'off')}, - action: ()=>{editor.usePercents = !editor.usePercents} - } - ] - }, - { - separator: true - }, - { - label: locales('fullscreen'), - class: ()=>{return 'toggle ' + (fullscreen.isFullscreen ? 'on' : 'off')}, - action: ()=>{ - if (fullscreen.isEnabled) fullscreen.toggle() - }, - shortcut: 'f11' - } - -] - -if (navigator.userAgent.match(/Android|iPhone|iPad|iPod/i)) { - - var NoSleep = require('nosleep.js'), - noSleep = new NoSleep(), - noSleepState = false - - menuEntries.push({ - label: locales('nosleep'), - class: ()=>{return 'toggle ' + (noSleepState ? 'on' : 'off')}, - action:()=>{ - noSleepState = !noSleepState - if (noSleepState) noSleep.disable() - else noSleep.enable() - } - }) - -} - - - - + ContextMenu = require('./context-menu') class UiToolbar extends UiWidget { @@ -212,23 +8,11 @@ class UiToolbar extends UiWidget { super(options) this.menu = new ContextMenu({ - position: [40, 1] + position: options.position }) this.opened = false - this.entries = menuEntries - this.menu.bindShortcuts(menuEntries) - - ipc.on('sessionList', (data)=>{ - if (recentSessions.length) { - recentSessions.splice(0, 10) - } - for (let s of data) [ - recentSessions.push({ - label: s, - action: ()=>{sessionManager.requestOpen(s)} - }) - ] - }) + this.entries = options.entries + this.menu.bindShortcuts(this.entries) this.container.addEventListener('fast-click', (e)=>{ if (this.opened) this.close() @@ -247,8 +31,7 @@ class UiToolbar extends UiWidget { open(e) { if (this.opened) return - - this.menu.open(e, menuEntries) + this.menu.open(e.detail, this.entries) this.opened = true this.toggleState() @@ -276,4 +59,4 @@ class UiToolbar extends UiWidget { } -module.exports = new UiToolbar({selector: 'osc-toolbar'}) +module.exports = UiToolbar diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 3b39b9c9..a9ecad9a 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -661,7 +661,7 @@ class Widget extends EventEmitter { } catch (err) { let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' - console.log((this.getProp('id') || this.props.id) + '.' + propName + ': JS{{}} error:\n' + err + line) + console.error((this.getProp('id') || this.props.id) + '.' + propName + ': JS{{}} error:\n' + err + line) } try { @@ -682,7 +682,7 @@ class Widget extends EventEmitter { } catch (err) { let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' - console.log((this.getProp('id') || this.props.id) + '.' + propName + ': #{} error:\n' + err + line) + console.error((this.getProp('id') || this.props.id) + '.' + propName + ': #{} error:\n' + err + line) } for (let k in variables) { diff --git a/src/client/widgets/scripts/script-vm.js b/src/client/widgets/scripts/script-vm.js index a661110f..239fbe90 100644 --- a/src/client/widgets/scripts/script-vm.js +++ b/src/client/widgets/scripts/script-vm.js @@ -339,7 +339,7 @@ class ScriptVm extends Vm { if (!options.send) return - toolbar = toolbar || require('../../ui/ui-toolbar') + toolbar = toolbar || require('../../ui/main-menu') var action = toolbar.entries.filter(x=>!x.separator) diff --git a/src/client/widgets/scripts/script.js b/src/client/widgets/scripts/script.js index 7d77591e..0108bdb6 100644 --- a/src/client/widgets/scripts/script.js +++ b/src/client/widgets/scripts/script.js @@ -91,7 +91,7 @@ class Script extends Widget { let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' - console.log((this.getProp('id') || this.props.id) + '.script error:\n' + err + line) + console.error((this.getProp('id') || this.props.id) + '.script error:\n' + err + line) this.script = ()=>{} } @@ -107,8 +107,10 @@ class Script extends Widget { this.scriptLock = true try { this.script(context, this.builtIn ? this.parent.parsersLocalScope : this.parsersLocalScope) - } catch(e) { - console.log(e) + } catch(err) { + let stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '', + line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : '' + console.error((this.getProp('id') || this.props.id) + '.script error:\n' + err + line) } this.scriptLock = false diff --git a/src/html/client.html b/src/html/client.html index 5d1f18f0..0cf386bf 100644 --- a/src/html/client.html +++ b/src/html/client.html @@ -18,7 +18,7 @@ - +
        @@ -37,6 +37,9 @@ + + +
        diff --git a/src/scss/ui.scss b/src/scss/ui.scss index 6b08170c..357868a7 100644 --- a/src/scss/ui.scss +++ b/src/scss/ui.scss @@ -4,6 +4,7 @@ @import 'ui/notifications'; @import 'ui/grid'; @import 'ui/inspector'; +@import 'ui/console'; @import 'ui/tree'; @import 'ui/dragresize'; @import 'ui/selectarea'; diff --git a/src/scss/ui/console.scss b/src/scss/ui/console.scss new file mode 100644 index 00000000..05346a11 --- /dev/null +++ b/src/scss/ui/console.scss @@ -0,0 +1,53 @@ +$padding: 8rem; + +#osc-console { + flex: 0; + min-height: 31%; + display: flex; + position: relative; + flex-direction: column; + ::-webkit-scrollbar-thumb, ::-webkit-scrollbar-track-piece { + border-left-color: var(--color-background)!important; + border-top-color: var(--color-background)!important; + } + + .actions { + position: absolute; + right: 0; + padding: $padding; + + div { + cursor: pointer; + color: var(--color-text); + opacity: 0.25; + &:hover { + opacity: 0.5 + } + } + i { + pointer-events: none; + } + } + +} + +osc-console { + display: block; + flex: 1; + padding: $padding $padding; + overflow: auto; + background: var(--color-background); + border-left: 4rem solid var(--color-ui-background); +} + +osc-console-message { + user-select: text; + cursor: text; + display: block; + + &.error { + color: var(--color-error); + } + + margin-bottom: 4rem; +} diff --git a/src/scss/ui/toolbar.scss b/src/scss/ui/toolbar.scss index deb3df59..0c051e61 100644 --- a/src/scss/ui/toolbar.scss +++ b/src/scss/ui/toolbar.scss @@ -1,6 +1,6 @@ osc-toolbar { --size: 34rem; - position: fixed; + position: absolute; top: 0; left: 0; height:var(--size); From 08147c765749413c02033733851d993cf6d1f335 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 14:03:17 +0100 Subject: [PATCH 2558/2575] console: css tweak --- src/scss/ui/console.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scss/ui/console.scss b/src/scss/ui/console.scss index 05346a11..800fbbbe 100644 --- a/src/scss/ui/console.scss +++ b/src/scss/ui/console.scss @@ -1,6 +1,10 @@ $padding: 8rem; #osc-console { + osc-panel-header { + border-top: 1rem solid var(--color-background); + } + flex: 0; min-height: 31%; display: flex; @@ -37,7 +41,6 @@ osc-console { padding: $padding $padding; overflow: auto; background: var(--color-background); - border-left: 4rem solid var(--color-ui-background); } osc-console-message { From 16b634cb06617df2f8152c4158d3bf26fac7ad3c Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 14:28:29 +0100 Subject: [PATCH 2559/2575] console: minor tweaks + some not ready code for live interpreter --- src/client/ui/ui-console.js | 29 ++++++++++++++++++++++++++--- src/scss/ui/console.scss | 21 ++++++++++++++++++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index f5348c0a..bfbf01b0 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -13,14 +13,16 @@ class UiConsole extends UiWidget { this.header = DOM.get(this.container, 'osc-panel-header')[0] this.header.appendChild(html``) + this.messages = this.container.appendChild(html``) + // this.inputWrapper = this.container.appendChild(html``) + // this.input = this.inputWrapper.appendChild(html``) + this.actions = this.header.appendChild(html`
        `) this.clearBtn = this.actions.appendChild(html`
        ${raw(icon('trash'))}
        `) this.clearBtn.addEventListener('click', ()=>{ this.clear() }) - - this.messages = this.container.appendChild(html``) this.length = 0 this.maxLength = 200 @@ -33,7 +35,7 @@ class UiConsole extends UiWidget { _this.log('log', message) log(...arguments) } - + console.error = function(message){ _this.log('error', message) error(...arguments) @@ -44,6 +46,27 @@ class UiConsole extends UiWidget { onerror(...arguments) } + + + // this.input.addEventListener('keydown', (event)=>{ + // if (event.keyCode === 13 && !event.shiftKey) { + // + // event.preventDefault() + // DOM.dispatchEvent(event.target, 'change') + // + // } + // }) + // + // this.input.addEventListener('change', (event)=>{ + // try { + // console.log(eval(this.input.value)) + // } catch (err) { + // console.error(err) + // } + // this.input.value = '' + // }) + + } log(type, message) { diff --git a/src/scss/ui/console.scss b/src/scss/ui/console.scss index 800fbbbe..3197f803 100644 --- a/src/scss/ui/console.scss +++ b/src/scss/ui/console.scss @@ -38,8 +38,8 @@ $padding: 8rem; osc-console { display: block; flex: 1; - padding: $padding $padding; - overflow: auto; + padding: $padding; + overflow-y: auto; background: var(--color-background); } @@ -47,10 +47,25 @@ osc-console-message { user-select: text; cursor: text; display: block; - + white-space: pre; &.error { color: var(--color-error); } margin-bottom: 4rem; } + +osc-console-input { + display: block; + padding: 4rem; + background: var(--color-ui-background); + height: 30rem; + textarea { + padding: 4rem; + display: block; + background: var(--color-background); + width: 100%; + height: 100%; + resize: none; + } +} From 197a0e70823aaa19a3d6aac114d1cd78eaec6935 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 14:53:27 +0100 Subject: [PATCH 2560/2575] osc-listener: osc listeners not resolving "auto" address --- CHANGELOG.md | 7 ++++--- src/client/widgets/common/osc-receiver.js | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 576891d5..15d8778d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,12 @@ ## 1.6.3 -- editor - - add console panel under the inspector to ease debugging - - bug fixes - missing context menu (copy, paste) in inspector inputs + - osc listeners not resolving "auto" address + +- editor + - add console panel under the inspector to ease debugging - widgets - keyboard: add `velocity` property (allows mapping the touch coordinates between `off` (top) and `on` (bottom)) diff --git a/src/client/widgets/common/osc-receiver.js b/src/client/widgets/common/osc-receiver.js index 3f3ed4b2..e5ed93f1 100644 --- a/src/client/widgets/common/osc-receiver.js +++ b/src/client/widgets/common/osc-receiver.js @@ -36,7 +36,10 @@ module.exports = class OscReceiver { if (this.address[0] !== '/') { var parentAddress = this.parent.getProp('address') || this.parent.resolveProp('address', undefined, false, this) - if (parentAddress === 'auto') parentAddress = '/' + this.parent.getProp('id') + if (parentAddress === 'auto') { + var id = this.parent.getProp('id') || this.parent.resolveProp('id', undefined, false, this) + parentAddress = '/' + id + } this.prefix = parentAddress if (this.prefix[this.prefix.length - 1] !== '/') this.prefix += '/' } From 28958381f4a0a906b28bce2eded64a27de0f47e7 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 15:02:19 +0100 Subject: [PATCH 2561/2575] console: stringify objects --- src/client/ui/ui-console.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index bfbf01b0..911327cd 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -76,6 +76,13 @@ class UiConsole extends UiWidget { `) + + if (typeof message === 'object') { + try { + message = JSON.stringify(message) + } catch (_) {} + } + node.textContent = message if (type !== 'error' && node.textContent.match(/error/i)) node.classList.add('error') From bed984f5a90e974e2546b493d616dfe930de1358 Mon Sep 17 00:00:00 2001 From: Benoit Rapidel Date: Mon, 9 Nov 2020 16:04:36 +0100 Subject: [PATCH 2562/2575] Add fieldValidator property for input widget Allows to filter value against specified chars --- src/client/widgets/basics/input.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 41960923..a5dcb6fb 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -19,7 +19,11 @@ class Input extends Canvas { unit: {type: 'string', value: '', help: 'Unit will be appended to the displayed widget\'s value (it doesn\'t affect osc messages)'}, }, class_specific: { - asYouType: {type: 'boolean', value: false, help: 'Set to `true` to make the input send its value at each keystroke'} + asYouType: {type: 'boolean', value: false, help: 'Set to `true` to make the input send its value at each keystroke'}, + fieldValidator: {type: 'string|boolean', value: false, help: [ + 'Set to `abc` to make the input reject all characters, except a, b or c', + '`0-9` will only allow integer to be entered', + '`a-z` will only allow lowercase characters']} } }) @@ -37,6 +41,7 @@ class Input extends Canvas { this.stringValue = '' this.focused = false this.tabKeyBlur = false + this.fieldValidator = false if (this.getProp('vertical')) this.widget.classList.add('vertical') if (this.getProp('align') === 'left') this.widget.classList.add('left') @@ -53,6 +58,7 @@ class Input extends Canvas { this.tabKeyBlur = false }) var asYouType = this.getProp('asYouType') + this.fieldValidator = new RegExp('[^'+this.getProp('fieldValidator')+']', 'g') this.input.addEventListener('keydown', (e)=>{ if (e.keyCode === 13) this.blur() // enter else if (e.keyCode === 27) this.blur(false) // esc @@ -95,6 +101,9 @@ class Input extends Canvas { inputChange() { + if (this.fieldValidator) { + this.input.value = this.input.value.replace(this.fieldValidator, ''); + } this.setValue(this.input.value, {sync:true, send:true}) } From 42c6e2cce1a07025a2e6ea3e98835ab34ecdac8c Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 17:41:20 +0100 Subject: [PATCH 2563/2575] cli: `ELECTRON_RUN_AS_NODE` headless mode not working without `--no-gui` option --- CHANGELOG.md | 1 + src/server/index.js | 3 +-- src/server/settings.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15d8778d..d2fceefa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - missing context menu (copy, paste) in inspector inputs - osc listeners not resolving "auto" address + - `ELECTRON_RUN_AS_NODE` headless mode not working without `--no-gui` option - editor - add console panel under the inspector to ease debugging diff --git a/src/server/index.js b/src/server/index.js index 134a6e84..c7fe4a8e 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -32,8 +32,7 @@ function nodeMode() { }) } - -if (process.title === 'node' || process.title === 'node.exe') { +if (process.title === 'node' || process.title === 'node.exe' || process.env.ELECTRON_RUN_AS_NODE) { nodeMode() diff --git a/src/server/settings.js b/src/server/settings.js index 84673cd2..67c387e7 100644 --- a/src/server/settings.js +++ b/src/server/settings.js @@ -68,7 +68,7 @@ var cli = false for (let i in argv) { if (!cliOnly.includes(i)) cli = true } -if (process.title === 'node' || process.title === 'node.exe') { +if (process.title === 'node' || process.title === 'node.exe' || process.env.ELECTRON_RUN_AS_NODE) { cli = true } From edb32ffca05bf9e3bc39d367784754d261883234 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 18:16:40 +0100 Subject: [PATCH 2564/2575] ui: sidepanel toggle tweak; let uiConsole be a foldable panel --- src/client/ui/main-menu.js | 8 +++++++- src/client/ui/ui-console.js | 12 ++++++++---- src/client/ui/ui-sidepanel.js | 2 +- src/html/client.html | 14 +++++++++++--- src/scss/ui/console.scss | 7 ++++--- src/scss/ui/workspaces.scss | 7 ++++--- 6 files changed, 35 insertions(+), 15 deletions(-) diff --git a/src/client/ui/main-menu.js b/src/client/ui/main-menu.js index 153cf649..243ffca8 100644 --- a/src/client/ui/main-menu.js +++ b/src/client/ui/main-menu.js @@ -6,7 +6,8 @@ var UiToolbar = require('./ui-toolbar'), editor = require('../editor'), sessionManager = require('../managers/session/'), stateManager = require('../managers/state'), - {leftUiSidePanel, rightUiSidePanel} = require('../ui/') + {leftUiSidePanel, rightUiSidePanel} = require('../ui/'), + uiConsole = require('../ui/ui-console') var recentSessions = [{label: locales('file_open_recent_wait'), class: 'disabled'}] @@ -158,6 +159,11 @@ var menuEntries = [ action: ()=>{return rightUiSidePanel.minimized ? rightUiSidePanel.restore() : rightUiSidePanel.minimize()}, shortcut: 'mod + i' }, + { + label: locales('console_title'), + class: ()=>{return 'toggle ' + (uiConsole.minimized ? 'off' : 'on')}, + action: ()=>{return uiConsole.minimized ? uiConsole.restore() : uiConsole.minimize()} + }, { separator: true }, diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index 911327cd..59c332bd 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -1,10 +1,12 @@ var UiWidget = require('./ui-widget'), + UiSidePanel = require('./ui-sidepanel'), html = require('nanohtml'), raw = require('nanohtml/raw'), locales = require('../locales'), - {icon} = require('./utils') + {icon} = require('./utils'), + cache = require('../managers/cache') -class UiConsole extends UiWidget { +class UiConsole extends UiSidePanel { constructor(options) { @@ -13,7 +15,7 @@ class UiConsole extends UiWidget { this.header = DOM.get(this.container, 'osc-panel-header')[0] this.header.appendChild(html``) - this.messages = this.container.appendChild(html``) + this.messages = this.content.appendChild(html``) // this.inputWrapper = this.container.appendChild(html``) // this.input = this.inputWrapper.appendChild(html``) @@ -67,6 +69,8 @@ class UiConsole extends UiWidget { // }) + this.enable() + } log(type, message) { @@ -112,4 +116,4 @@ class UiConsole extends UiWidget { } -module.exports = new UiConsole({selector: '#osc-console'}) +module.exports = new UiConsole({selector: '#osc-console', size: 40}) diff --git a/src/client/ui/ui-sidepanel.js b/src/client/ui/ui-sidepanel.js index f2feb746..6b70fbf1 100644 --- a/src/client/ui/ui-sidepanel.js +++ b/src/client/ui/ui-sidepanel.js @@ -17,7 +17,7 @@ class UiSidePanel extends UiWidget { this.cacheKey = 'ui.' + options.selector - this.minWidth = options.size || 250 + this.minWidth = options.size === undefined ? 250 : options.size this.width = cache.get(this.cacheKey + '.width') || options.size || 250 this.disabled = false diff --git a/src/html/client.html b/src/html/client.html index 0cf386bf..7aee3ab4 100644 --- a/src/html/client.html +++ b/src/html/client.html @@ -37,9 +37,17 @@ - - - + + +
        +
        + + + + +
        + +
        diff --git a/src/scss/ui/console.scss b/src/scss/ui/console.scss index 3197f803..2a7f8430 100644 --- a/src/scss/ui/console.scss +++ b/src/scss/ui/console.scss @@ -4,9 +4,10 @@ $padding: 8rem; osc-panel-header { border-top: 1rem solid var(--color-background); } + .toggle-button { + border-bottom: none; + } - flex: 0; - min-height: 31%; display: flex; position: relative; flex-direction: column; @@ -37,7 +38,7 @@ $padding: 8rem; osc-console { display: block; - flex: 1; + height: 100%; padding: $padding; overflow-y: auto; background: var(--color-background); diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index e34b4c7f..521c4730 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -126,7 +126,7 @@ osc-panel-container { background: var(--color-ui-background); font-size: 14rem; z-index: 2; - transition: transform 0.2s ease-out 0.1s, border-color 0.2s ease-out 0.1s; + transition: transform 0.2s ease-out 0.1s, border-color 0.1s ease-out 0.1s; will-change: transform; border-style: solid; @@ -215,8 +215,8 @@ osc-panel-container { } - &:hover .toggle-button, .toggle-button:hover { - transition: transform 0.2s ease-out 0s, border-color 0.2s ease-out 0s; + &:hover > .toggle-button, .toggle-button:hover { + transition: transform 0.2s ease-out 0s, border-color 0.3s ease-out 0s; transform: translateX(0) translateY(0); border-color: var(--color-background); &:after { @@ -298,6 +298,7 @@ osc-panel-header { font-size: 109%; text-overflow: ellipsis; padding: 0 8rem; + flex-shrink: 0; &:before { content: ""; From 3a71c2fe3e1da47f8c1392c3e49b2ab17d5f0f44 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 18:45:50 +0100 Subject: [PATCH 2565/2575] input: 100% height to easy context menu opening --- src/scss/widgets/basics.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/widgets/basics.scss b/src/scss/widgets/basics.scss index 0b72d692..a28b3d24 100644 --- a/src/scss/widgets/basics.scss +++ b/src/scss/widgets/basics.scss @@ -578,7 +578,7 @@ color:var(--color-fill); caret-color: var(--color-fill); - + height: 100%; &:focus::selection { background: var(--color-fill); From 04f75fc30d3601c2352b5c38f632115e0d5ff07b Mon Sep 17 00:00:00 2001 From: Benoit Rapidel Date: Mon, 9 Nov 2020 18:48:36 +0100 Subject: [PATCH 2566/2575] Initialize fieldValidator with null instead of false --- src/client/widgets/basics/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index a5dcb6fb..1953c262 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -41,7 +41,7 @@ class Input extends Canvas { this.stringValue = '' this.focused = false this.tabKeyBlur = false - this.fieldValidator = false + this.fieldValidator = null if (this.getProp('vertical')) this.widget.classList.add('vertical') if (this.getProp('align') === 'left') this.widget.classList.add('left') From 0bb7a2bdf65c0c5ed6e7f5bc68578bc4bb29b699 Mon Sep 17 00:00:00 2001 From: Benoit Rapidel Date: Mon, 9 Nov 2020 18:49:49 +0100 Subject: [PATCH 2567/2575] Only assign RegExp if property is different from false --- src/client/widgets/basics/input.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 1953c262..e85955f8 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -58,7 +58,9 @@ class Input extends Canvas { this.tabKeyBlur = false }) var asYouType = this.getProp('asYouType') - this.fieldValidator = new RegExp('[^'+this.getProp('fieldValidator')+']', 'g') + if (this.getProp('fieldValidator')) { + this.fieldValidator = new RegExp('[^'+this.getProp('fieldValidator')+']', 'g') + } this.input.addEventListener('keydown', (e)=>{ if (e.keyCode === 13) this.blur() // enter else if (e.keyCode === 27) this.blur(false) // esc From 9228d39e7203cfbff185db9de349108e06cbce96 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 19:14:53 +0100 Subject: [PATCH 2568/2575] input: tweak fieldValidator implementation --- src/client/widgets/basics/input.js | 34 +++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index e85955f8..35393efc 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -20,10 +20,13 @@ 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'}, - fieldValidator: {type: 'string|boolean', value: false, help: [ - 'Set to `abc` to make the input reject all characters, except a, b or c', - '`0-9` will only allow integer to be entered', - '`a-z` will only allow lowercase characters']} + fieldValidator: {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"', + 'Examples:', + '- `^[0-9]*$` accepts digits only, any number of them', + '- `/^[a-z\s]{0,10}$/i` accept between 0 and 10 alphabetic characters and spaces (case insensitive)', + ]} } }) @@ -58,9 +61,22 @@ class Input extends Canvas { this.tabKeyBlur = false }) var asYouType = this.getProp('asYouType') - if (this.getProp('fieldValidator')) { - this.fieldValidator = new RegExp('[^'+this.getProp('fieldValidator')+']', 'g') + + if (this.getProp('fieldValidator') !== '') { + var fieldValidator = String(this.getProp('fieldValidator')), + flags = fieldValidator.match(/^\/.*\/.*$/) ? fieldValidator.split('/').pop() : 'gm', + validator = fieldValidator.match(/^\/.*\/.*$/) ? fieldValidator.replace(/^\/(.*)\/.*$/, '$1') : fieldValidator + + if (!validator.match(/^\^.*\$$/)) validator = '^' + validator + '$' + + try { + this.fieldValidator = new RegExp(validator, flags) + } catch(err) { + console.error((this.getProp('id') || this.props.id) + '.' + propName + ':\n') + console.error(err) + } } + this.input.addEventListener('keydown', (e)=>{ if (e.keyCode === 13) this.blur() // enter else if (e.keyCode === 27) this.blur(false) // esc @@ -103,9 +119,11 @@ class Input extends Canvas { inputChange() { - if (this.fieldValidator) { - this.input.value = this.input.value.replace(this.fieldValidator, ''); + if (this.fieldValidator && !this.input.value.match(this.fieldValidator)) { + this.input.value = this.value + return } + this.setValue(this.input.value, {sync:true, send:true}) } From e9607aad772749f84db14297cabf5d7b8d47604e Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 19:34:31 +0100 Subject: [PATCH 2569/2575] misc: better error logging --- src/client/editor/index.js | 11 +++++++---- src/client/locales/en.js | 2 +- src/client/locales/fr.js | 2 +- src/client/stacktrace.js | 2 ++ src/client/ui/ui-console.js | 18 +++++++++++------- src/client/widgets/basics/input.js | 7 +------ 6 files changed, 23 insertions(+), 19 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index 95ee749c..de943524 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -9,6 +9,7 @@ var {updateWidget, incrementWidget} = require('./data-workers'), UiInspector = require('../ui/ui-inspector'), UiTree = require('../ui/ui-tree'), UiDragResize = require('../ui/ui-dragresize'), + uiConsole = require('../ui/ui-console'), notifications = require('../ui/notifications'), locales = require('../locales'), {leftUiSidePanel, rightUiSidePanel} = require('../ui/'), @@ -51,16 +52,18 @@ class Editor { w.props[propName] = previousValue updateWidget(w, {changedProps: [propName], preventSelect: this.selectedWidgets.length > 1}) - notifications.add({ + if (uiConsole.minimized || rightUiSidePanel.minimized) notifications.add({ class: 'error', message: locales('inspector_error'), duration: 7000 }) console.error( - `Error while setting ${propName} to: ${JSON.stringify(value)}.`, - 'It\'s probably a bug, please a new bug ticket with these informations (https://github.com/jean-emmanuel/open-stage-control/issues).' + `Error while setting ${propName} to: ${JSON.stringify(value)}.\n` + + 'It\'s probably a bug, please open a new bug ticket with the followigin informations at' + + 'https://github.com/jean-emmanuel/open-stage-control/issues' ) - console.error(e) + throw e + // console.error(e) error = true } } diff --git a/src/client/locales/en.js b/src/client/locales/en.js index 86d11c22..c229f005 100644 --- a/src/client/locales/en.js +++ b/src/client/locales/en.js @@ -51,7 +51,7 @@ module.exports = { // inspector inspector_color_confirm: 'Confirm', inspector_color_apply: 'Apply', - inspector_error: 'An error just occured, open F12 to read more.', + inspector_error: 'An error just occured, open the console to read more.', // nosleep nosleep: 'Prevent sleep', diff --git a/src/client/locales/fr.js b/src/client/locales/fr.js index 2846f0f4..b58e710b 100644 --- a/src/client/locales/fr.js +++ b/src/client/locales/fr.js @@ -50,7 +50,7 @@ module.exports = { // inspector inspector_color_confirm: 'Confirmer', inspector_color_apply: 'Appliquer', - inspector_error: 'Une erreur vient de survenir, appuyez sur F12 pour en savoir plus.', + inspector_error: 'Une erreur vient de survenir, ouvrez la console pour en savoir plus.', // nosleep nosleep: 'EmpĂȘcher la veille', diff --git a/src/client/stacktrace.js b/src/client/stacktrace.js index 86067d7d..2c506277 100644 --- a/src/client/stacktrace.js +++ b/src/client/stacktrace.js @@ -17,10 +17,12 @@ window.onerror = function(msg,url,row,col, error) { }).join('\n') + console.error(`${msg}\n${stringifiedStack}`) ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n${stringifiedStack}`) }).catch(()=>{ + console.error(`${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`) ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`) }) diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index 59c332bd..deed11dd 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -43,10 +43,10 @@ class UiConsole extends UiSidePanel { error(...arguments) } - window.onerror = function(message){ - _this.log('error', message) - onerror(...arguments) - } + // window.onerror = function(message){ + // _this.log('error', message) + // onerror(...arguments) + // } @@ -82,9 +82,13 @@ class UiConsole extends UiSidePanel { `) if (typeof message === 'object') { - try { - message = JSON.stringify(message) - } catch (_) {} + if (!(message instanceof Error)) { + try { + message = JSON.stringify(message) + } catch (_) {} + } else { + message = String(message) + message.stack + } } node.textContent = message diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 35393efc..bd9157f2 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -69,12 +69,7 @@ class Input extends Canvas { if (!validator.match(/^\^.*\$$/)) validator = '^' + validator + '$' - try { - this.fieldValidator = new RegExp(validator, flags) - } catch(err) { - console.error((this.getProp('id') || this.props.id) + '.' + propName + ':\n') - console.error(err) - } + this.fieldValidator = new RegExp(validator, flags) } this.input.addEventListener('keydown', (e)=>{ From 53c32420d1743a13b8f0db86ca9405da0bda6d1b Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 19:38:17 +0100 Subject: [PATCH 2570/2575] console: hook stacktrace to uiConsole directly --- src/client/stacktrace.js | 7 ++++--- src/client/ui/ui-console.js | 7 ------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/client/stacktrace.js b/src/client/stacktrace.js index 2c506277..6a35cec5 100644 --- a/src/client/stacktrace.js +++ b/src/client/stacktrace.js @@ -1,5 +1,6 @@ var StackTrace = require('stacktrace-js'), - ipc = require('./ipc') + ipc = require('./ipc'), + uiConsole = require('./ui/ui-console') window.onerror = function(msg,url,row,col, error) { @@ -17,12 +18,12 @@ window.onerror = function(msg,url,row,col, error) { }).join('\n') - console.error(`${msg}\n${stringifiedStack}`) + uiConsole.log('error', `${msg}\n${stringifiedStack}`) ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n${stringifiedStack}`) }).catch(()=>{ - console.error(`${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`) + uiConsole.log('error', `${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`) ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`) }) diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index deed11dd..0eecbeaf 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -43,13 +43,6 @@ class UiConsole extends UiSidePanel { error(...arguments) } - // window.onerror = function(message){ - // _this.log('error', message) - // onerror(...arguments) - // } - - - // this.input.addEventListener('keydown', (event)=>{ // if (event.keyCode === 13 && !event.shiftKey) { // From 3ec972c2616920030495c9d17864d3b7af511afb Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 19:41:49 +0100 Subject: [PATCH 2571/2575] editor: add comment --- src/client/ui/ui-inspector.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index 23d68252..24274723 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -223,6 +223,8 @@ class UiInspector extends UiWidget { value: v }) + // this may not be reached if an error is thrown + // but the lock will undone at the next inspect() call this.lock = false } From 2877877919fb0dfee982ebc635afe3b4c0e38ba8 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 19:44:54 +0100 Subject: [PATCH 2572/2575] input: rename fieldValidator to validation --- CHANGELOG.md | 2 +- src/client/widgets/basics/input.js | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2fceefa..825eabbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ - widgets - keyboard: add `velocity` property (allows mapping the touch coordinates between `off` (top) and `on` (bottom)) - + - input: add `validation` property (allows defining a regular expression that the valud must match) - midi - accept sending sysex strings without spaces between the bytes diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index bd9157f2..1ef1cc1b 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -20,7 +20,7 @@ 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'}, - fieldValidator: {type: 'string', value: '', help: [ + 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"', 'Examples:', @@ -44,7 +44,7 @@ class Input extends Canvas { this.stringValue = '' this.focused = false this.tabKeyBlur = false - this.fieldValidator = null + this.validation = null if (this.getProp('vertical')) this.widget.classList.add('vertical') if (this.getProp('align') === 'left') this.widget.classList.add('left') @@ -62,14 +62,14 @@ class Input extends Canvas { }) var asYouType = this.getProp('asYouType') - if (this.getProp('fieldValidator') !== '') { - var fieldValidator = String(this.getProp('fieldValidator')), - flags = fieldValidator.match(/^\/.*\/.*$/) ? fieldValidator.split('/').pop() : 'gm', - validator = fieldValidator.match(/^\/.*\/.*$/) ? fieldValidator.replace(/^\/(.*)\/.*$/, '$1') : fieldValidator + if (this.getProp('validation') !== '') { + var validation = String(this.getProp('validation')), + flags = validation.match(/^\/.*\/.*$/) ? validation.split('/').pop() : 'gm', + regExpString = validation.match(/^\/.*\/.*$/) ? validation.replace(/^\/(.*)\/.*$/, '$1') : validation - if (!validator.match(/^\^.*\$$/)) validator = '^' + validator + '$' + if (!regExpString.match(/^\^.*\$$/)) regExpString = '^' + regExpString + '$' - this.fieldValidator = new RegExp(validator, flags) + this.validation = new RegExp(regExpString, flags) } this.input.addEventListener('keydown', (e)=>{ @@ -114,7 +114,7 @@ class Input extends Canvas { inputChange() { - if (this.fieldValidator && !this.input.value.match(this.fieldValidator)) { + if (this.validation && !this.input.value.match(this.validation)) { this.input.value = this.value return } From 6d9653a4937aff211e7c6dc73fee8f4a1763fde3 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 19:46:45 +0100 Subject: [PATCH 2573/2575] input: move validation to setValue to affect incoming values too --- src/client/widgets/basics/input.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/widgets/basics/input.js b/src/client/widgets/basics/input.js index 1ef1cc1b..150e4347 100644 --- a/src/client/widgets/basics/input.js +++ b/src/client/widgets/basics/input.js @@ -114,11 +114,6 @@ class Input extends Canvas { inputChange() { - if (this.validation && !this.input.value.match(this.validation)) { - this.input.value = this.value - return - } - this.setValue(this.input.value, {sync:true, send:true}) } @@ -144,6 +139,11 @@ class Input extends Canvas { setValue(v, options={} ) { + if (this.validation && !String(v).match(this.validation)) { + this.input.value = this.value + return + } + try { this.value = JSON.parse(v) } catch (err) { From 11801a6a193787622a59f46db2f88e5b8f726946 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 20:32:34 +0100 Subject: [PATCH 2574/2575] stacktrace: lazyload uiConsole --- src/client/stacktrace.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/stacktrace.js b/src/client/stacktrace.js index 6a35cec5..692b2f21 100644 --- a/src/client/stacktrace.js +++ b/src/client/stacktrace.js @@ -1,6 +1,6 @@ var StackTrace = require('stacktrace-js'), ipc = require('./ipc'), - uiConsole = require('./ui/ui-console') + uiConsole window.onerror = function(msg,url,row,col, error) { @@ -18,11 +18,13 @@ window.onerror = function(msg,url,row,col, error) { }).join('\n') + if (!uiConsole) uiConsole = require('./ui/ui-console') uiConsole.log('error', `${msg}\n${stringifiedStack}`) ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n${stringifiedStack}`) }).catch(()=>{ + if (!uiConsole) uiConsole = require('./ui/ui-console') uiConsole.log('error', `${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`) ipc.send('errorLog', `(ERROR, CLIENT) ${msg}\n at ${url}:${row}:${col}\n (no stacktrace available)`) From 43b0ab9fea3c22aa1d2d9ca548b104cef4a75337 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 9 Nov 2020 21:54:00 +0100 Subject: [PATCH 2575/2575] lint --- src/client/editor/index.js | 2 +- src/client/ui/ui-console.js | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/client/editor/index.js b/src/client/editor/index.js index de943524..600b057e 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -64,7 +64,7 @@ class Editor { ) throw e // console.error(e) - error = true + // error = true } } diff --git a/src/client/ui/ui-console.js b/src/client/ui/ui-console.js index 0eecbeaf..54c0aa4f 100644 --- a/src/client/ui/ui-console.js +++ b/src/client/ui/ui-console.js @@ -1,10 +1,8 @@ -var UiWidget = require('./ui-widget'), - UiSidePanel = require('./ui-sidepanel'), +var UiSidePanel = require('./ui-sidepanel'), html = require('nanohtml'), raw = require('nanohtml/raw'), locales = require('../locales'), - {icon} = require('./utils'), - cache = require('../managers/cache') + {icon} = require('./utils') class UiConsole extends UiSidePanel { @@ -30,8 +28,7 @@ class UiConsole extends UiSidePanel { var _this = this, log = console.log, - error = console.error, - onerror = window.onerror + error = console.error console.log = function(message){ _this.log('log', message)