diff --git a/.vscode/extensions.json b/.vscode/extensions.json index fd1f73311..7ea549438 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,15 +1,15 @@ { - "recommendations": [ - "dbaeumer.vscode-eslint", - "esbenp.prettier-vscode", - "editorconfig.editorconfig", - "johnsoncodehk.volar", - "wayou.vscode-todo-highlight" - ], - "unwantedRecommendations": [ - "octref.vetur", - "hookyqr.beautify", - "dbaeumer.jshint", - "ms-vscode.vscode-typescript-tslint-plugin" - ] -} + "recommendations": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "editorconfig.editorconfig", + "johnsoncodehk.volar", + "wayou.vscode-todo-highlight" + ], + "unwantedRecommendations": [ + "octref.vetur", + "hookyqr.beautify", + "dbaeumer.jshint", + "ms-vscode.vscode-typescript-tslint-plugin" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index f35ca2046..959c2ece0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,31 +1,34 @@ { - "editor.bracketPairColorization.enabled": true, - "editor.guides.bracketPairs": true, - "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", - "editor.codeActionsOnSave": [ - "source.fixAll.eslint" - ], - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "vue" - ], - "typescript.tsdk": "node_modules/typescript/lib", - "[typescript]": { - "editor.defaultFormatter": "vscode.typescript-language-features" - }, - "[jsonc]": { - "editor.defaultFormatter": "vscode.json-language-features" - }, - "[json]": { - "editor.defaultFormatter": "vscode.json-language-features" - }, - "[javascript]": { - "editor.defaultFormatter": "vscode.typescript-language-features" - }, - "[vue]": { - "editor.defaultFormatter": "johnsoncodehk.volar" - } + "editor.bracketPairColorization.enabled": true, + "editor.guides.bracketPairs": true, + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.codeActionsOnSave": [ + "source.fixAll.eslint" + ], + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript", + "vue" + ], + "typescript.tsdk": "node_modules/typescript/lib", + "[typescript]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[jsonc]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, + "[json]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, + "[javascript]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[vue]": { + "editor.defaultFormatter": "johnsoncodehk.volar" + }, + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features" + } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 531694f7c..7bb17ebb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32718,4 +32718,4 @@ } } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index b15eebe22..86579902f 100644 --- a/package.json +++ b/package.json @@ -56,4 +56,4 @@ "npm": ">= 6.13.4", "yarn": ">= 1.21.1" } -} \ No newline at end of file +} diff --git a/src/components/models.ts b/src/components/models.ts index 69459204b..31d8e6dc2 100644 --- a/src/components/models.ts +++ b/src/components/models.ts @@ -1,8 +1,8 @@ export interface Todo { - id: number; - content: string; + id: number; + content: string; } export interface Meta { - totalCount: number; + totalCount: number; } diff --git a/src/css/icons.scss b/src/css/icons.scss index d0e338217..f0f861ca9 100644 --- a/src/css/icons.scss +++ b/src/css/icons.scss @@ -1,16 +1,16 @@ @font-face { font-family: 'icomoon'; - src: url('fonts/icomoon.eot?cjtmya'); - src: url('fonts/icomoon.eot?cjtmya#iefix') format('embedded-opentype'), - url('fonts/icomoon.ttf?cjtmya') format('truetype'), - url('fonts/icomoon.woff?cjtmya') format('woff'), - url('fonts/icomoon.svg?cjtmya#icomoon') format('svg'); + src: url('fonts/icomoon.eot?cjtmya'); + src: url('fonts/icomoon.eot?cjtmya#iefix') format('embedded-opentype'), + url('fonts/icomoon.ttf?cjtmya') format('truetype'), url('fonts/icomoon.woff?cjtmya') format('woff'), + url('fonts/icomoon.svg?cjtmya#icomoon') format('svg'); font-weight: normal; font-style: normal; font-display: block; - } - - [class^="icon-"], [class*=" icon-"] { +} + +[class^='icon-'], +[class*=' icon-'] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; speak: never; @@ -19,376 +19,375 @@ font-variant: normal; text-transform: none; line-height: 1; - + /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - } - - .icon-frozen:before { - content: "\e900"; - } - .icon-Person:before { - content: "\e901"; - } - .icon-handmadeArtificial:before { - content: "\e902"; - } - .icon-fruit:before { - content: "\e903"; - } - .icon-funeral:before { - content: "\e904"; - } - .icon-noPayMethod:before { - content: "\e905"; - } - .icon-preserved:before { - content: "\e906"; - } - .icon-greenery:before { - content: "\e907"; - } - .icon-planta:before { - content: "\e908"; - } - .icon-handmade:before { - content: "\e909"; - } - .icon-accessory:before { - content: "\e90a"; - } - .icon-artificial:before { - content: "\e90b"; - } - .icon-flower:before { - content: "\e90c"; - } - .icon-fixedPrice:before { - content: "\e90d"; - } - .icon-addperson:before { - content: "\e90e"; - } - .icon-supplierfalse:before { - content: "\e90f"; - } - .icon-invoice-out:before { - content: "\e910"; - } - .icon-invoice-in:before { - content: "\e911"; - } - .icon-invoice-in-create:before { - content: "\e912"; - } - .icon-basketadd:before { - content: "\e913"; - } - .icon-basket:before { - content: "\e914"; - } - .icon-uniE915:before { - content: "\e915"; - } - .icon-uniE916:before { - content: "\e916"; - } - .icon-uniE917:before { - content: "\e917"; - } - .icon-uniE918:before { - content: "\e918"; - } - .icon-uniE919:before { - content: "\e919"; - } - .icon-uniE91A:before { - content: "\e91a"; - } - .icon-isTooLittle:before { - content: "\e91b"; - } - .icon-deliveryprices:before { - content: "\e91c"; - } - .icon-onlinepayment:before { - content: "\e91d"; - } - .icon-risk:before { - content: "\e91e"; - } - .icon-noweb:before { - content: "\e91f"; - } - .icon-no036:before { - content: "\e920"; - } - .icon-disabled:before { - content: "\e921"; - } - .icon-treatments:before { - content: "\e922"; - } - .icon-invoice:before { - content: "\e923"; - } - .icon-photo:before { - content: "\e924"; - } - .icon-supplier:before { - content: "\e925"; - } - .icon-languaje:before { - content: "\e926"; - } - .icon-credit:before { - content: "\e927"; - } - .icon-client:before { - content: "\e928"; - } - .icon-shipment-01:before { - content: "\e929"; - } - .icon-account:before { - content: "\e92a"; - } - .icon-inventory:before { - content: "\e92b"; - } - .icon-unavailable:before { - content: "\e92c"; - } - .icon-wiki:before { - content: "\e92d"; - } - .icon-attach:before { - content: "\e92e"; - } - .icon-exit:before { - content: "\e92f"; - } - .icon-anonymous:before { - content: "\e930"; - } - .icon-net:before { - content: "\e931"; - } - .icon-buyrequest:before { - content: "\e932"; - } - .icon-thermometer:before { - content: "\e933"; - } - .icon-entry:before { - content: "\e934"; - } - .icon-deletedTicket:before { - content: "\e935"; - } - .icon-logout:before { - content: "\e936"; - } - .icon-catalog:before { - content: "\e937"; - } - .icon-agency:before { - content: "\e938"; - } - .icon-delivery:before { - content: "\e939"; - } - .icon-wand:before { - content: "\e93a"; - } - .icon-buscaman:before { - content: "\e93b"; - } - .icon-pbx:before { - content: "\e93c"; - } - .icon-calendar:before { - content: "\e93d"; - } - .icon-splitline:before { - content: "\e93e"; - } - .icon-consignatarios:before { - content: "\e93f"; - } - .icon-tax:before { - content: "\e940"; - } - .icon-notes:before { - content: "\e941"; - } - .icon-lines:before { - content: "\e942"; - } - .icon-zone:before { - content: "\e943"; - } - .icon-greuge:before { - content: "\e944"; - } - .icon-ticketAdd:before { - content: "\e945"; - } - .icon-components:before { - content: "\e946"; - } - .icon-pets:before { - content: "\e947"; - } - .icon-linesprepaired:before { - content: "\e948"; - } - .icon-control:before { - content: "\e949"; - } - .icon-revision:before { - content: "\e94a"; - } - .icon-deaulter:before { - content: "\e94b"; - } - .icon-services:before { - content: "\e94c"; - } - .icon-albaran:before { - content: "\e94d"; - } - .icon-solunion:before { - content: "\e94e"; - } - .icon-stowaway:before { - content: "\e94f"; - } - .icon-apps:before { - content: "\e951"; - } - .icon-info:before { - content: "\e952"; - } - .icon-columndelete:before { - content: "\e953"; - } - .icon-columnadd:before { - content: "\e954"; - } - .icon-deleteline:before { - content: "\e955"; - } - .icon-item:before { - content: "\e956"; - } - .icon-worker:before { - content: "\e957"; - } - .icon-headercol:before { - content: "\e958"; - } - .icon-reserva:before { - content: "\e959"; - } - .icon-100:before { - content: "\e95a"; - } - .icon-sign:before { - content: "\e95d"; - } - .icon-polizon:before { - content: "\e95e"; - } - .icon-solclaim:before { - content: "\e95f"; - } - .icon-actions:before { - content: "\e960"; - } - .icon-details:before { - content: "\e961"; - } - .icon-traceability:before { - content: "\e962"; - } - .icon-claims:before { - content: "\e963"; - } - .icon-regentry:before { - content: "\e964"; - } - .icon-transaction:before { - content: "\e966"; - } - .icon-History:before { - content: "\e968"; - } - .icon-mana:before { - content: "\e96a"; - } - .icon-ticket:before { - content: "\e96b"; - } - .icon-niche:before { - content: "\e96c"; - } - .icon-tags:before { - content: "\e96d"; - } - .icon-volume:before { - content: "\e96e"; - } - .icon-bin:before { - content: "\e96f"; - } - .icon-splur:before { - content: "\e970"; - } - .icon-barcode:before { - content: "\e971"; - } - .icon-botanical:before { - content: "\e972"; - } - .icon-clone:before { - content: "\e973"; - } - .icon-sms:before { - content: "\e975"; - } - .icon-eye:before { - content: "\e976"; - } - .icon-doc:before { - content: "\e977"; - } - .icon-package:before { - content: "\e978"; - } - .icon-settings:before { - content: "\e979"; - } - .icon-bucket:before { - content: "\e97a"; - } - .icon-mandatory:before { - content: "\e97b"; - } - .icon-recovery:before { - content: "\e97c"; - } - .icon-payment:before { - content: "\e97e"; - } - .icon-grid:before { - content: "\e980"; - } - .icon-web:before { - content: "\e982"; - } - .icon-dfiscales:before { - content: "\e984"; - } - \ No newline at end of file +} + +.icon-frozen:before { + content: '\e900'; +} +.icon-Person:before { + content: '\e901'; +} +.icon-handmadeArtificial:before { + content: '\e902'; +} +.icon-fruit:before { + content: '\e903'; +} +.icon-funeral:before { + content: '\e904'; +} +.icon-noPayMethod:before { + content: '\e905'; +} +.icon-preserved:before { + content: '\e906'; +} +.icon-greenery:before { + content: '\e907'; +} +.icon-planta:before { + content: '\e908'; +} +.icon-handmade:before { + content: '\e909'; +} +.icon-accessory:before { + content: '\e90a'; +} +.icon-artificial:before { + content: '\e90b'; +} +.icon-flower:before { + content: '\e90c'; +} +.icon-fixedPrice:before { + content: '\e90d'; +} +.icon-addperson:before { + content: '\e90e'; +} +.icon-supplierfalse:before { + content: '\e90f'; +} +.icon-invoice-out:before { + content: '\e910'; +} +.icon-invoice-in:before { + content: '\e911'; +} +.icon-invoice-in-create:before { + content: '\e912'; +} +.icon-basketadd:before { + content: '\e913'; +} +.icon-basket:before { + content: '\e914'; +} +.icon-uniE915:before { + content: '\e915'; +} +.icon-uniE916:before { + content: '\e916'; +} +.icon-uniE917:before { + content: '\e917'; +} +.icon-uniE918:before { + content: '\e918'; +} +.icon-uniE919:before { + content: '\e919'; +} +.icon-uniE91A:before { + content: '\e91a'; +} +.icon-isTooLittle:before { + content: '\e91b'; +} +.icon-deliveryprices:before { + content: '\e91c'; +} +.icon-onlinepayment:before { + content: '\e91d'; +} +.icon-risk:before { + content: '\e91e'; +} +.icon-noweb:before { + content: '\e91f'; +} +.icon-no036:before { + content: '\e920'; +} +.icon-disabled:before { + content: '\e921'; +} +.icon-treatments:before { + content: '\e922'; +} +.icon-invoice:before { + content: '\e923'; +} +.icon-photo:before { + content: '\e924'; +} +.icon-supplier:before { + content: '\e925'; +} +.icon-languaje:before { + content: '\e926'; +} +.icon-credit:before { + content: '\e927'; +} +.icon-client:before { + content: '\e928'; +} +.icon-shipment-01:before { + content: '\e929'; +} +.icon-account:before { + content: '\e92a'; +} +.icon-inventory:before { + content: '\e92b'; +} +.icon-unavailable:before { + content: '\e92c'; +} +.icon-wiki:before { + content: '\e92d'; +} +.icon-attach:before { + content: '\e92e'; +} +.icon-exit:before { + content: '\e92f'; +} +.icon-anonymous:before { + content: '\e930'; +} +.icon-net:before { + content: '\e931'; +} +.icon-buyrequest:before { + content: '\e932'; +} +.icon-thermometer:before { + content: '\e933'; +} +.icon-entry:before { + content: '\e934'; +} +.icon-deletedTicket:before { + content: '\e935'; +} +.icon-logout:before { + content: '\e936'; +} +.icon-catalog:before { + content: '\e937'; +} +.icon-agency:before { + content: '\e938'; +} +.icon-delivery:before { + content: '\e939'; +} +.icon-wand:before { + content: '\e93a'; +} +.icon-buscaman:before { + content: '\e93b'; +} +.icon-pbx:before { + content: '\e93c'; +} +.icon-calendar:before { + content: '\e93d'; +} +.icon-splitline:before { + content: '\e93e'; +} +.icon-consignatarios:before { + content: '\e93f'; +} +.icon-tax:before { + content: '\e940'; +} +.icon-notes:before { + content: '\e941'; +} +.icon-lines:before { + content: '\e942'; +} +.icon-zone:before { + content: '\e943'; +} +.icon-greuge:before { + content: '\e944'; +} +.icon-ticketAdd:before { + content: '\e945'; +} +.icon-components:before { + content: '\e946'; +} +.icon-pets:before { + content: '\e947'; +} +.icon-linesprepaired:before { + content: '\e948'; +} +.icon-control:before { + content: '\e949'; +} +.icon-revision:before { + content: '\e94a'; +} +.icon-deaulter:before { + content: '\e94b'; +} +.icon-services:before { + content: '\e94c'; +} +.icon-albaran:before { + content: '\e94d'; +} +.icon-solunion:before { + content: '\e94e'; +} +.icon-stowaway:before { + content: '\e94f'; +} +.icon-apps:before { + content: '\e951'; +} +.icon-info:before { + content: '\e952'; +} +.icon-columndelete:before { + content: '\e953'; +} +.icon-columnadd:before { + content: '\e954'; +} +.icon-deleteline:before { + content: '\e955'; +} +.icon-item:before { + content: '\e956'; +} +.icon-worker:before { + content: '\e957'; +} +.icon-headercol:before { + content: '\e958'; +} +.icon-reserva:before { + content: '\e959'; +} +.icon-100:before { + content: '\e95a'; +} +.icon-sign:before { + content: '\e95d'; +} +.icon-polizon:before { + content: '\e95e'; +} +.icon-solclaim:before { + content: '\e95f'; +} +.icon-actions:before { + content: '\e960'; +} +.icon-details:before { + content: '\e961'; +} +.icon-traceability:before { + content: '\e962'; +} +.icon-claims:before { + content: '\e963'; +} +.icon-regentry:before { + content: '\e964'; +} +.icon-transaction:before { + content: '\e966'; +} +.icon-History:before { + content: '\e968'; +} +.icon-mana:before { + content: '\e96a'; +} +.icon-ticket:before { + content: '\e96b'; +} +.icon-niche:before { + content: '\e96c'; +} +.icon-tags:before { + content: '\e96d'; +} +.icon-volume:before { + content: '\e96e'; +} +.icon-bin:before { + content: '\e96f'; +} +.icon-splur:before { + content: '\e970'; +} +.icon-barcode:before { + content: '\e971'; +} +.icon-botanical:before { + content: '\e972'; +} +.icon-clone:before { + content: '\e973'; +} +.icon-sms:before { + content: '\e975'; +} +.icon-eye:before { + content: '\e976'; +} +.icon-doc:before { + content: '\e977'; +} +.icon-package:before { + content: '\e978'; +} +.icon-settings:before { + content: '\e979'; +} +.icon-bucket:before { + content: '\e97a'; +} +.icon-mandatory:before { + content: '\e97b'; +} +.icon-recovery:before { + content: '\e97c'; +} +.icon-payment:before { + content: '\e97e'; +} +.icon-grid:before { + content: '\e980'; +} +.icon-web:before { + content: '\e982'; +} +.icon-dfiscales:before { + content: '\e984'; +} diff --git a/src/env.d.ts b/src/env.d.ts index 12dcd189f..0d29c13c4 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1,7 +1,7 @@ declare namespace NodeJS { - interface ProcessEnv { - NODE_ENV: string; - VUE_ROUTER_MODE: 'hash' | 'history' | 'abstract' | undefined; - VUE_ROUTER_BASE: string | undefined; - } + interface ProcessEnv { + NODE_ENV: string; + VUE_ROUTER_MODE: 'hash' | 'history' | 'abstract' | undefined; + VUE_ROUTER_BASE: string | undefined; + } } diff --git a/src/i18n/en/index.ts b/src/i18n/en/index.ts index 5d5855db4..ef07c6794 100644 --- a/src/i18n/en/index.ts +++ b/src/i18n/en/index.ts @@ -2,31 +2,31 @@ // so you can safely delete all default props below export default { - 'globals': { - 'lang': { - 'es': 'Spanish', - 'en': 'English' + 'globals': { + 'lang': { + 'es': 'Spanish', + 'en': 'English' + } + }, + 'errors': { + 'statusUnauthorized': 'Access denied', + 'statusInternalServerError': 'An internal server error has ocurred' + }, + 'login': { + 'title': 'Login', + 'username': 'Username', + 'password': 'Password', + 'submit': 'Log in', + 'keepLogin': 'Keep me logged in', + 'loginSuccess': 'You have successfully logged in', + 'loginError': 'Invalid username or password' + }, + 'customer': {}, + 'components': { + 'topbar': {}, + 'userPanel': { + 'settings': 'Settings', + 'logOut': 'Log Out' + } } - }, - 'errors': { - 'statusUnauthorized': 'Access denied', - 'statusInternalServerError': 'An internal server error has ocurred' - }, - 'login': { - 'title': 'Login', - 'username': 'Username', - 'password': 'Password', - 'submit': 'Log in', - 'keepLogin': 'Keep me logged in', - 'loginSuccess': 'You have successfully logged in', - 'loginError': 'Invalid username or password' - }, - 'customer': {}, - 'components': { - 'topbar': {}, - 'userPanel': { - 'settings': 'Settings', - 'logOut': 'Log Out' - } - } }; diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 8adbbf885..237973fa0 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -2,6 +2,6 @@ import en from './en'; import es from './es'; export default { - 'en': en, - 'es': es, + 'en': en, + 'es': es, }; diff --git a/src/index.template.html b/src/index.template.html index a28538c19..e02dee6e9 100644 --- a/src/index.template.html +++ b/src/index.template.html @@ -1,45 +1,28 @@ - - <%= productName %> + + + + <%= productName %> + - + - - - - + + + + - - + + +
- - + + + \ No newline at end of file diff --git a/src/pages/NotFound.vue b/src/pages/NotFound.vue index e91062030..b56313e2b 100644 --- a/src/pages/NotFound.vue +++ b/src/pages/NotFound.vue @@ -1,29 +1,27 @@ diff --git a/src/shims-vue.d.ts b/src/shims-vue.d.ts index af511968e..186497114 100644 --- a/src/shims-vue.d.ts +++ b/src/shims-vue.d.ts @@ -1,7 +1,7 @@ // Mocks all files ending in `.vue` showing them as plain Vue instances /* eslint-disable */ declare module '*.vue' { - import type { DefineComponent } from 'vue'; - const component: DefineComponent<{}, {}, any>; - export default component; + import type { DefineComponent } from 'vue'; + const component: DefineComponent<{}, {}, any>; + export default component; }