Bläddra i källkod

fix: hidding minimize and close terminal buttons

Marcelo Vilas Boas Correa Filho 2 år sedan
förälder
incheckning
1b17cb3c8f

+ 6 - 0
js/accessibleUI/main.js

@@ -20,9 +20,15 @@ const printButton = document.getElementById('printButton');
 const runCodeButton = document.getElementById('runCodeButton');
 const cleanCommands = document.getElementById('cleanCommands');
 const ivprogConsoleClearbtn = document.getElementById('ivprog-console-clearbtn');
+const ivprogConsoleShowbtn = document.getElementById('ivprog-console-showbtn');
+const ivprogConsoleHidebtn = document.getElementById('ivprog-console-hidebtn');
 
 export function initAccessibleUI () {
 
+    // Hidding terminal visual UI minimize and close buttons
+    ivprogConsoleShowbtn.style.display = 'none';
+    ivprogConsoleHidebtn.style.display = 'none';
+
     // Initializing dropdown menus
     $(".dropdown-submenu a.test").on("click", function (e) {
         $(this).next("ul").toggle();

+ 1 - 1
js/accessibleUI/modules/operations/operations-schemes.js

@@ -140,7 +140,7 @@ export function htmlOperationKindScheme (operation) {
     }
 
     return `<div class="col-3">
-                <select id="operation${operation.hash}KindSelect" class="form-control" title="Selecione o tipo de atrabuição" operation-id="${operation.hash}">
+                <select id="operation${operation.hash}KindSelect" class="form-control" title="Selecione o tipo de atribuição" operation-id="${operation.hash}">
                     <option >Selecione</option>
                     ${operatorKindsSelect}
                 </select>

+ 66 - 0
package-lock.json

@@ -14478,21 +14478,25 @@
           "dependencies": {
             "abbrev": {
               "version": "1.1.1",
+              "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
               "bundled": true,
               "optional": true
             },
             "ansi-regex": {
               "version": "2.1.1",
+              "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
               "bundled": true,
               "optional": true
             },
             "aproba": {
               "version": "1.2.0",
+              "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==",
               "bundled": true,
               "optional": true
             },
             "are-we-there-yet": {
               "version": "1.1.5",
+              "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14502,11 +14506,13 @@
             },
             "balanced-match": {
               "version": "1.0.0",
+              "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
               "bundled": true,
               "optional": true
             },
             "brace-expansion": {
               "version": "1.1.11",
+              "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14516,31 +14522,37 @@
             },
             "chownr": {
               "version": "1.1.4",
+              "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
               "bundled": true,
               "optional": true
             },
             "code-point-at": {
               "version": "1.1.0",
+              "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
               "bundled": true,
               "optional": true
             },
             "concat-map": {
               "version": "0.0.1",
+              "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
               "bundled": true,
               "optional": true
             },
             "console-control-strings": {
               "version": "1.1.0",
+              "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
               "bundled": true,
               "optional": true
             },
             "core-util-is": {
               "version": "1.0.2",
+              "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
               "bundled": true,
               "optional": true
             },
             "debug": {
               "version": "3.2.6",
+              "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14549,21 +14561,25 @@
             },
             "deep-extend": {
               "version": "0.6.0",
+              "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
               "bundled": true,
               "optional": true
             },
             "delegates": {
               "version": "1.0.0",
+              "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
               "bundled": true,
               "optional": true
             },
             "detect-libc": {
               "version": "1.0.3",
+              "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",
               "bundled": true,
               "optional": true
             },
             "fs-minipass": {
               "version": "1.2.7",
+              "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14572,11 +14588,13 @@
             },
             "fs.realpath": {
               "version": "1.0.0",
+              "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
               "bundled": true,
               "optional": true
             },
             "gauge": {
               "version": "2.7.4",
+              "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14592,6 +14610,7 @@
             },
             "glob": {
               "version": "7.1.6",
+              "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14605,11 +14624,13 @@
             },
             "has-unicode": {
               "version": "2.0.1",
+              "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
               "bundled": true,
               "optional": true
             },
             "iconv-lite": {
               "version": "0.4.24",
+              "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14618,6 +14639,7 @@
             },
             "ignore-walk": {
               "version": "3.0.3",
+              "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14626,6 +14648,7 @@
             },
             "inflight": {
               "version": "1.0.6",
+              "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14635,16 +14658,19 @@
             },
             "inherits": {
               "version": "2.0.4",
+              "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
               "bundled": true,
               "optional": true
             },
             "ini": {
               "version": "1.3.5",
+              "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
               "bundled": true,
               "optional": true
             },
             "is-fullwidth-code-point": {
               "version": "1.0.0",
+              "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14653,11 +14679,13 @@
             },
             "isarray": {
               "version": "1.0.0",
+              "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
               "bundled": true,
               "optional": true
             },
             "minimatch": {
               "version": "3.0.4",
+              "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14666,11 +14694,13 @@
             },
             "minimist": {
               "version": "1.2.5",
+              "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
               "bundled": true,
               "optional": true
             },
             "minipass": {
               "version": "2.9.0",
+              "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14680,6 +14710,7 @@
             },
             "minizlib": {
               "version": "1.3.3",
+              "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14688,6 +14719,7 @@
             },
             "mkdirp": {
               "version": "0.5.3",
+              "integrity": "sha512-P+2gwrFqx8lhew375MQHHeTlY8AuOJSrGf0R5ddkEndUkmwpgUob/vQuBD1V22/Cw1/lJr4x+EjllSezBThzBg==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14696,11 +14728,13 @@
             },
             "ms": {
               "version": "2.1.2",
+              "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
               "bundled": true,
               "optional": true
             },
             "needle": {
               "version": "2.3.3",
+              "integrity": "sha512-EkY0GeSq87rWp1hoq/sH/wnTWgFVhYlnIkbJ0YJFfRgEFlz2RraCjBpFQ+vrEgEdp0ThfyHADmkChEhcb7PKyw==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14711,6 +14745,7 @@
             },
             "node-pre-gyp": {
               "version": "0.14.0",
+              "integrity": "sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14728,6 +14763,7 @@
             },
             "nopt": {
               "version": "4.0.3",
+              "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14737,6 +14773,7 @@
             },
             "npm-bundled": {
               "version": "1.1.1",
+              "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14745,11 +14782,13 @@
             },
             "npm-normalize-package-bin": {
               "version": "1.0.1",
+              "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==",
               "bundled": true,
               "optional": true
             },
             "npm-packlist": {
               "version": "1.4.8",
+              "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14760,6 +14799,7 @@
             },
             "npmlog": {
               "version": "4.1.2",
+              "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14771,16 +14811,19 @@
             },
             "number-is-nan": {
               "version": "1.0.1",
+              "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
               "bundled": true,
               "optional": true
             },
             "object-assign": {
               "version": "4.1.1",
+              "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
               "bundled": true,
               "optional": true
             },
             "once": {
               "version": "1.4.0",
+              "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14789,16 +14832,19 @@
             },
             "os-homedir": {
               "version": "1.0.2",
+              "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
               "bundled": true,
               "optional": true
             },
             "os-tmpdir": {
               "version": "1.0.2",
+              "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
               "bundled": true,
               "optional": true
             },
             "osenv": {
               "version": "0.1.5",
+              "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14808,16 +14854,19 @@
             },
             "path-is-absolute": {
               "version": "1.0.1",
+              "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
               "bundled": true,
               "optional": true
             },
             "process-nextick-args": {
               "version": "2.0.1",
+              "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
               "bundled": true,
               "optional": true
             },
             "rc": {
               "version": "1.2.8",
+              "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14829,6 +14878,7 @@
             },
             "readable-stream": {
               "version": "2.3.7",
+              "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14843,6 +14893,7 @@
             },
             "rimraf": {
               "version": "2.7.1",
+              "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14851,36 +14902,43 @@
             },
             "safe-buffer": {
               "version": "5.1.2",
+              "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
               "bundled": true,
               "optional": true
             },
             "safer-buffer": {
               "version": "2.1.2",
+              "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
               "bundled": true,
               "optional": true
             },
             "sax": {
               "version": "1.2.4",
+              "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",
               "bundled": true,
               "optional": true
             },
             "semver": {
               "version": "5.7.1",
+              "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
               "bundled": true,
               "optional": true
             },
             "set-blocking": {
               "version": "2.0.0",
+              "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
               "bundled": true,
               "optional": true
             },
             "signal-exit": {
               "version": "3.0.2",
+              "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
               "bundled": true,
               "optional": true
             },
             "string_decoder": {
               "version": "1.1.1",
+              "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14889,6 +14947,7 @@
             },
             "string-width": {
               "version": "1.0.2",
+              "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14899,6 +14958,7 @@
             },
             "strip-ansi": {
               "version": "3.0.1",
+              "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14907,11 +14967,13 @@
             },
             "strip-json-comments": {
               "version": "2.0.1",
+              "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
               "bundled": true,
               "optional": true
             },
             "tar": {
               "version": "4.4.13",
+              "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14926,11 +14988,13 @@
             },
             "util-deprecate": {
               "version": "1.0.2",
+              "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
               "bundled": true,
               "optional": true
             },
             "wide-align": {
               "version": "1.1.3",
+              "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
               "bundled": true,
               "optional": true,
               "requires": {
@@ -14939,11 +15003,13 @@
             },
             "wrappy": {
               "version": "1.0.2",
+              "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
               "bundled": true,
               "optional": true
             },
             "yallist": {
               "version": "3.1.1",
+              "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
               "bundled": true,
               "optional": true
             }