diff --git a/front/salix/components/user-popover/index.html b/front/salix/components/user-popover/index.html index 22d86f1aaa..1a6a0a3b73 100644 --- a/front/salix/components/user-popover/index.html +++ b/front/salix/components/user-popover/index.html @@ -100,5 +100,145 @@ show-field="name" value-field="code"> +
+ + Shortcuts + +
+ - \ No newline at end of file + + + + +
SHORTCUTS
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Ctrl + + + + + Alt + + + + + A + + 🠮 + + + + + ITEMS +
+ Ctrl + + + + + Alt + + + + + T + + 🠮 + + + + + TICKETS +
+ Ctrl + + + + + Alt + + + + + R + + 🠮 + + + + CLAIMS
+ Ctrl + + + + + Alt + + + + + C + + 🠮 + + + + + CLIENTS +
+
+ + + +
\ No newline at end of file diff --git a/front/salix/components/user-popover/index.js b/front/salix/components/user-popover/index.js index 0d35d89950..e0be893598 100644 --- a/front/salix/components/user-popover/index.js +++ b/front/salix/components/user-popover/index.js @@ -73,6 +73,10 @@ class Controller { return this.vnConfig.user.companyFk; } + showShortcuts() { + this.$.shortcuts.show(); + } + show(event) { this.$.warehouses.refresh(); this.$.companies.refresh(); diff --git a/front/salix/components/user-popover/locale/es.yml b/front/salix/components/user-popover/locale/es.yml index 7518a98bc3..b9f895732e 100644 --- a/front/salix/components/user-popover/locale/es.yml +++ b/front/salix/components/user-popover/locale/es.yml @@ -3,4 +3,9 @@ Local warehouse: Almacén local Local bank: Banco local Local company: Empresa local User warehouse: Almacén del usuario -User company: Empresa del usuario \ No newline at end of file +User company: Empresa del usuario +Shortcuts: Acceso rápido +SHORTCUTS: ACCESO RÁPIDO +ITEMS: ARTÍCULOS +CLAIMS: RECLAMACIONES +CLIENTS: CLIENTES \ No newline at end of file diff --git a/front/salix/components/user-popover/style.scss b/front/salix/components/user-popover/style.scss index 9050c66544..3e8e6d2e2a 100644 --- a/front/salix/components/user-popover/style.scss +++ b/front/salix/components/user-popover/style.scss @@ -38,4 +38,62 @@ height: initial; vertical-align: middle; font-size: 1rem; +} + +.tdBorder { + border-radius: 5px 5px 5px; + width: 75px; + border: 3px solid rgba(0, 0, 0, 0.781); +} + +.shortcuts-words { + font-size: 25px; + padding-left: 20px; + padding-right: 20px; + float: left; + margin-left: -15px; + margin-top: -40px; +} + +.plusStyle { + font-size: 50px; + padding-left: 10px; + padding-right: 10px; +} + +.arrowStyle { + font-size: 50px; + padding-left: 10px; + padding-right: 10px; +} + +.dialogHeader { + text-align: center; + background-color: $color-main; + font-size: 25px; + color: white; + font-weight: bold; + padding: 10px; + margin-bottom: 50px; +} + +.titleStyle { + font-size: 30px; + font-weight: 400; + padding-left: 10px; + padding-right: 10px; +} + +.iconStyle { + color: white; + background-color: $color-main; + font-size: 50px; + font-weight: normal; + width: 50px; + padding: 5px; + border-radius: 5px 5px 5px; +} + +.shortcuts { + width: 250px; } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 26a17ed677..347ffacf92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3276,16 +3276,6 @@ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", "dev": true }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "dev": true, - "optional": true, - "requires": { - "file-uri-to-path": "1.0.0" - } - }, "bl": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", @@ -3894,6 +3884,16 @@ "upath": "^1.1.1" }, "dependencies": { + "fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.12.1" + } + }, "glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", @@ -6378,13 +6378,6 @@ "resolved": "https://registry.npmjs.org/file-type/-/file-type-10.11.0.tgz", "integrity": "sha512-uzk64HRpUZyTGZtVuvrjP0FYxzQrBf4rojot6J65YMEbwBLB0CWm0CLojVpwpmFmxcE/lkvYICgfcGozbBq6rw==" }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "dev": true, - "optional": true - }, "filed-mimefix": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/filed-mimefix/-/filed-mimefix-0.1.3.tgz", @@ -6746,15 +6739,11 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, - "optional": true, - "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - } + "optional": true }, "fstream": { "version": "1.0.12", @@ -7617,13 +7606,6 @@ "to-regex-range": "^5.0.1" } }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, "get-stream": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", @@ -10084,13 +10066,6 @@ "normalize-path": "^3.0.0", "picomatch": "^2.0.4" } - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true } } }, @@ -19287,13 +19262,6 @@ "to-regex-range": "^5.0.1" } }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, "is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -19907,7 +19875,7 @@ }, "globby": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "resolved": "http://registry.npmjs.org/globby/-/globby-6.1.0.tgz", "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { @@ -20568,7 +20536,7 @@ }, "os-locale": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "dev": true, "requires": {