From 0333c9373ba4bd86e1714e16f643cde08036c6a1 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 6 Aug 2023 15:25:36 +0200 Subject: [PATCH 1/6] reset front directory and init project w/ vue3 + pinia + vite --- rdltr_front/.browserslistrc | 3 - rdltr_front/.editorconfig | 9 - rdltr_front/.eslintignore | 4 - rdltr_front/.eslintrc.cjs | 15 + rdltr_front/.eslintrc.js | 14 - rdltr_front/.gitignore | 28 + rdltr_front/.prettierrc | 9 - rdltr_front/.prettierrc.json | 8 + rdltr_front/README.md | 59 +- rdltr_front/babel.config.js | 3 - rdltr_front/env.d.ts | 1 + rdltr_front/index.html | 13 + rdltr_front/package.json | 48 +- rdltr_front/postcss.config.js | 5 - rdltr_front/public/favicon.ico | Bin 318 -> 4286 bytes rdltr_front/public/index.html | 25 - rdltr_front/src/App.vue | 249 +- rdltr_front/src/api/authApi.js | 22 - rdltr_front/src/api/defaultApi.js | 8 - rdltr_front/src/assets/base.css | 86 + rdltr_front/src/assets/logo.png | Bin 6849 -> 0 bytes rdltr_front/src/assets/logo.svg | 1 + rdltr_front/src/assets/main.css | 35 + rdltr_front/src/components/HelloWorld.vue | 41 + rdltr_front/src/components/TheWelcome.vue | 86 + rdltr_front/src/components/WelcomeItem.vue | 87 + .../components/__tests__/HelloWorld.spec.ts | 11 + .../src/components/articles/articleAdd.vue | 82 - .../src/components/articles/articleCard.vue | 83 - .../components/articles/articleComments.vue | 73 - .../articles/articleContentDisplay.vue | 29 - .../components/articles/articleDisplay.vue | 306 - .../src/components/articles/articlesList.vue | 126 - .../src/components/articles/bookmarklet.vue | 52 - .../src/components/articles/clearFilter.vue | 37 - .../src/components/common/categorySelect.vue | 63 - .../src/components/common/customBagde.vue | 52 - .../common/deleteConfirmationModal.vue | 53 - rdltr_front/src/components/common/item.vue | 118 - rdltr_front/src/components/common/items.vue | 85 - .../src/components/common/itemsTable.vue | 159 - .../src/components/common/tagMultiSelect.vue | 53 - rdltr_front/src/components/header/header.vue | 176 - rdltr_front/src/components/home/home.vue | 126 - .../src/components/home/pagination.vue | 78 - .../src/components/icons/IconCommunity.vue | 7 + .../components/icons/IconDocumentation.vue | 7 + .../src/components/icons/IconEcosystem.vue | 7 + .../src/components/icons/IconSupport.vue | 7 + .../src/components/icons/IconTooling.vue | 19 + rdltr_front/src/components/notFound.vue | 27 - rdltr_front/src/components/settings/index.vue | 34 - .../src/components/user/userDetail.vue | 111 - rdltr_front/src/components/user/userForm.vue | 82 - rdltr_front/src/main.js | 15 - rdltr_front/src/main.ts | 14 + rdltr_front/src/router/index.js | 127 - rdltr_front/src/router/index.ts | 23 + rdltr_front/src/store/index.js | 87 - rdltr_front/src/store/modules/articles.js | 168 - rdltr_front/src/store/modules/categories.js | 47 - rdltr_front/src/store/modules/tags.js | 47 - rdltr_front/src/store/modules/user.js | 100 - rdltr_front/src/stores/counter.ts | 12 + rdltr_front/src/utils.js | 81 - rdltr_front/src/views/AboutView.vue | 15 + rdltr_front/src/views/HomeView.vue | 9 + rdltr_front/tsconfig.app.json | 12 + rdltr_front/tsconfig.json | 14 + rdltr_front/tsconfig.node.json | 16 + rdltr_front/tsconfig.vitest.json | 9 + rdltr_front/vite.config.ts | 16 + rdltr_front/vitest.config.ts | 18 + rdltr_front/vue.config.js | 13 - rdltr_front/yarn.lock | 9186 +++-------------- 75 files changed, 2354 insertions(+), 10597 deletions(-) delete mode 100644 rdltr_front/.browserslistrc delete mode 100644 rdltr_front/.editorconfig delete mode 100644 rdltr_front/.eslintignore create mode 100644 rdltr_front/.eslintrc.cjs delete mode 100644 rdltr_front/.eslintrc.js create mode 100644 rdltr_front/.gitignore delete mode 100644 rdltr_front/.prettierrc create mode 100644 rdltr_front/.prettierrc.json delete mode 100644 rdltr_front/babel.config.js create mode 100644 rdltr_front/env.d.ts create mode 100644 rdltr_front/index.html delete mode 100644 rdltr_front/postcss.config.js delete mode 100644 rdltr_front/public/index.html delete mode 100644 rdltr_front/src/api/authApi.js delete mode 100644 rdltr_front/src/api/defaultApi.js create mode 100644 rdltr_front/src/assets/base.css delete mode 100644 rdltr_front/src/assets/logo.png create mode 100644 rdltr_front/src/assets/logo.svg create mode 100644 rdltr_front/src/assets/main.css create mode 100644 rdltr_front/src/components/HelloWorld.vue create mode 100644 rdltr_front/src/components/TheWelcome.vue create mode 100644 rdltr_front/src/components/WelcomeItem.vue create mode 100644 rdltr_front/src/components/__tests__/HelloWorld.spec.ts delete mode 100644 rdltr_front/src/components/articles/articleAdd.vue delete mode 100644 rdltr_front/src/components/articles/articleCard.vue delete mode 100644 rdltr_front/src/components/articles/articleComments.vue delete mode 100644 rdltr_front/src/components/articles/articleContentDisplay.vue delete mode 100644 rdltr_front/src/components/articles/articleDisplay.vue delete mode 100644 rdltr_front/src/components/articles/articlesList.vue delete mode 100644 rdltr_front/src/components/articles/bookmarklet.vue delete mode 100644 rdltr_front/src/components/articles/clearFilter.vue delete mode 100644 rdltr_front/src/components/common/categorySelect.vue delete mode 100644 rdltr_front/src/components/common/customBagde.vue delete mode 100644 rdltr_front/src/components/common/deleteConfirmationModal.vue delete mode 100644 rdltr_front/src/components/common/item.vue delete mode 100644 rdltr_front/src/components/common/items.vue delete mode 100644 rdltr_front/src/components/common/itemsTable.vue delete mode 100644 rdltr_front/src/components/common/tagMultiSelect.vue delete mode 100644 rdltr_front/src/components/header/header.vue delete mode 100644 rdltr_front/src/components/home/home.vue delete mode 100644 rdltr_front/src/components/home/pagination.vue create mode 100644 rdltr_front/src/components/icons/IconCommunity.vue create mode 100644 rdltr_front/src/components/icons/IconDocumentation.vue create mode 100644 rdltr_front/src/components/icons/IconEcosystem.vue create mode 100644 rdltr_front/src/components/icons/IconSupport.vue create mode 100644 rdltr_front/src/components/icons/IconTooling.vue delete mode 100644 rdltr_front/src/components/notFound.vue delete mode 100644 rdltr_front/src/components/settings/index.vue delete mode 100644 rdltr_front/src/components/user/userDetail.vue delete mode 100644 rdltr_front/src/components/user/userForm.vue delete mode 100644 rdltr_front/src/main.js create mode 100644 rdltr_front/src/main.ts delete mode 100644 rdltr_front/src/router/index.js create mode 100644 rdltr_front/src/router/index.ts delete mode 100644 rdltr_front/src/store/index.js delete mode 100644 rdltr_front/src/store/modules/articles.js delete mode 100644 rdltr_front/src/store/modules/categories.js delete mode 100644 rdltr_front/src/store/modules/tags.js delete mode 100644 rdltr_front/src/store/modules/user.js create mode 100644 rdltr_front/src/stores/counter.ts delete mode 100644 rdltr_front/src/utils.js create mode 100644 rdltr_front/src/views/AboutView.vue create mode 100644 rdltr_front/src/views/HomeView.vue create mode 100644 rdltr_front/tsconfig.app.json create mode 100644 rdltr_front/tsconfig.json create mode 100644 rdltr_front/tsconfig.node.json create mode 100644 rdltr_front/tsconfig.vitest.json create mode 100644 rdltr_front/vite.config.ts create mode 100644 rdltr_front/vitest.config.ts delete mode 100644 rdltr_front/vue.config.js diff --git a/rdltr_front/.browserslistrc b/rdltr_front/.browserslistrc deleted file mode 100644 index 9dee646..0000000 --- a/rdltr_front/.browserslistrc +++ /dev/null @@ -1,3 +0,0 @@ -> 1% -last 2 versions -not ie <= 8 diff --git a/rdltr_front/.editorconfig b/rdltr_front/.editorconfig deleted file mode 100644 index 9d08a1a..0000000 --- a/rdltr_front/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true diff --git a/rdltr_front/.eslintignore b/rdltr_front/.eslintignore deleted file mode 100644 index e1fcc9c..0000000 --- a/rdltr_front/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -/build/ -/config/ -/dist/ -/*.js diff --git a/rdltr_front/.eslintrc.cjs b/rdltr_front/.eslintrc.cjs new file mode 100644 index 0000000..6f40582 --- /dev/null +++ b/rdltr_front/.eslintrc.cjs @@ -0,0 +1,15 @@ +/* eslint-env node */ +require('@rushstack/eslint-patch/modern-module-resolution') + +module.exports = { + root: true, + 'extends': [ + 'plugin:vue/vue3-essential', + 'eslint:recommended', + '@vue/eslint-config-typescript', + '@vue/eslint-config-prettier/skip-formatting' + ], + parserOptions: { + ecmaVersion: 'latest' + } +} diff --git a/rdltr_front/.eslintrc.js b/rdltr_front/.eslintrc.js deleted file mode 100644 index 3f3df4f..0000000 --- a/rdltr_front/.eslintrc.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - root: true, - env: { - node: true - }, - extends: ["plugin:vue/essential", "@vue/prettier"], - rules: { - "no-console": process.env.NODE_ENV === "production" ? "error" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off" - }, - parserOptions: { - parser: "babel-eslint" - } -}; diff --git a/rdltr_front/.gitignore b/rdltr_front/.gitignore new file mode 100644 index 0000000..38adffa --- /dev/null +++ b/rdltr_front/.gitignore @@ -0,0 +1,28 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/rdltr_front/.prettierrc b/rdltr_front/.prettierrc deleted file mode 100644 index 2dfa861..0000000 --- a/rdltr_front/.prettierrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "printWidth": 80, - "tabWidth": 2, - "useTabs": false, - "semi": false, - "singleQuote": true, - "trailingComma": "es5", - "bracketSpacing": true -} diff --git a/rdltr_front/.prettierrc.json b/rdltr_front/.prettierrc.json new file mode 100644 index 0000000..66e2335 --- /dev/null +++ b/rdltr_front/.prettierrc.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc", + "semi": false, + "tabWidth": 2, + "singleQuote": true, + "printWidth": 100, + "trailingComma": "none" +} \ No newline at end of file diff --git a/rdltr_front/README.md b/rdltr_front/README.md index 4bde0a8..496e5da 100644 --- a/rdltr_front/README.md +++ b/rdltr_front/README.md @@ -1,29 +1,52 @@ # rdltr_front -## Project setup -``` -yarn install -``` +This template should help get you started developing with Vue 3 in Vite. -### Compiles and hot-reloads for development -``` -yarn run serve -``` +## Recommended IDE Setup -### Compiles and minifies for production -``` -yarn run build -``` +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). + +## Type Support for `.vue` Imports in TS + +TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. + +If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: + +1. Disable the built-in TypeScript Extension + 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette + 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` +2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. -### Run your tests +## Customize configuration + +See [Vite Configuration Reference](https://vitejs.dev/config/). + +## Project Setup + +```sh +yarn ``` -yarn run test + +### Compile and Hot-Reload for Development + +```sh +yarn dev ``` -### Lints and fixes files +### Type-Check, Compile and Minify for Production + +```sh +yarn build ``` -yarn run lint + +### Run Unit Tests with [Vitest](https://vitest.dev/) + +```sh +yarn test:unit ``` -### Customize configuration -See [Configuration Reference](https://cli.vuejs.org/config/). +### Lint with [ESLint](https://eslint.org/) + +```sh +yarn lint +``` diff --git a/rdltr_front/babel.config.js b/rdltr_front/babel.config.js deleted file mode 100644 index 3ecebf1..0000000 --- a/rdltr_front/babel.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - presets: ["@vue/app"] -}; diff --git a/rdltr_front/env.d.ts b/rdltr_front/env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/rdltr_front/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/rdltr_front/index.html b/rdltr_front/index.html new file mode 100644 index 0000000..a888544 --- /dev/null +++ b/rdltr_front/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite App + + +
+ + + diff --git a/rdltr_front/package.json b/rdltr_front/package.json index c4c5076..be618b6 100644 --- a/rdltr_front/package.json +++ b/rdltr_front/package.json @@ -1,28 +1,40 @@ { "name": "rdltr_front", - "version": "0.1.0", + "version": "0.0.0", "private": true, "scripts": { - "serve": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", - "build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", - "lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint" + "dev": "vite", + "build": "run-p type-check build-only", + "preview": "vite preview", + "test:unit": "vitest", + "build-only": "vite build", + "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "format": "prettier --write src/" }, "dependencies": { - "axios": "^1.4.0", - "vue": "^2.6.14", - "vue-multiselect": "^2.1.4", - "vue-router": "^3.5.4", - "vuex": "^3.6.2" + "pinia": "^2.1.4", + "vue": "^3.3.4", + "vue-router": "^4.2.4" }, "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.17", - "@vue/cli-plugin-eslint": "^4.5.17", - "@vue/cli-service": "^4.5.17", - "@vue/eslint-config-prettier": "^6.0.0", - "babel-eslint": "^10.1.0", - "eslint": "^7.32.0", - "eslint-plugin-prettier": "^3.4.1", - "eslint-plugin-vue": "^7.20.0", - "vue-template-compiler": "^2.6.14" + "@rushstack/eslint-patch": "^1.3.2", + "@tsconfig/node18": "^18.2.0", + "@types/jsdom": "^21.1.1", + "@types/node": "^18.17.0", + "@vitejs/plugin-vue": "^4.2.3", + "@vue/eslint-config-prettier": "^8.0.0", + "@vue/eslint-config-typescript": "^11.0.3", + "@vue/test-utils": "^2.4.1", + "@vue/tsconfig": "^0.4.0", + "eslint": "^8.45.0", + "eslint-plugin-vue": "^9.15.1", + "jsdom": "^22.1.0", + "npm-run-all": "^4.1.5", + "prettier": "^3.0.0", + "typescript": "~5.1.6", + "vite": "^4.4.6", + "vitest": "^0.33.0", + "vue-tsc": "^1.8.6" } } diff --git a/rdltr_front/postcss.config.js b/rdltr_front/postcss.config.js deleted file mode 100644 index 5bfb8f6..0000000 --- a/rdltr_front/postcss.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - plugins: { - autoprefixer: {} - } -}; diff --git a/rdltr_front/public/favicon.ico b/rdltr_front/public/favicon.ico index dd76d783fafa6a98e10d76cbdb15b7849a7bf3e7..df36fcfb72584e00488330b560ebcf34a41c64c2 100644 GIT binary patch literal 4286 zcmds*O-Phc6o&64GDVCEQHxsW(p4>LW*W<827=Unuo8sGpRux(DN@jWP-e29Wl%wj zY84_aq9}^Am9-cWTD5GGEo#+5Fi2wX_P*bo+xO!)p*7B;iKlbFd(U~_d(U?#hLj56 zPhFkj-|A6~Qk#@g^#D^U0XT1cu=c-vu1+SElX9NR;kzAUV(q0|dl0|%h|dI$%VICy zJnu2^L*Te9JrJMGh%-P79CL0}dq92RGU6gI{v2~|)p}sG5x0U*z<8U;Ij*hB9z?ei z@g6Xq-pDoPl=MANPiR7%172VA%r)kevtV-_5H*QJKFmd;8yA$98zCxBZYXTNZ#QFk2(TX0;Y2dt&WitL#$96|gJY=3xX zpCoi|YNzgO3R`f@IiEeSmKrPSf#h#Qd<$%Ej^RIeeYfsxhPMOG`S`Pz8q``=511zm zAm)MX5AV^5xIWPyEu7u>qYs?pn$I4nL9J!=K=SGlKLXpE<5x+2cDTXq?brj?n6sp= zphe9;_JHf40^9~}9i08r{XM$7HB!`{Ys~TK0kx<}ZQng`UPvH*11|q7&l9?@FQz;8 zx!=3<4seY*%=OlbCbcae?5^V_}*K>Uo6ZWV8mTyE^B=DKy7-sdLYkR5Z?paTgK-zyIkKjIcpyO z{+uIt&YSa_$QnN_@t~L014dyK(fOOo+W*MIxbA6Ndgr=Y!f#Tokqv}n<7-9qfHkc3 z=>a|HWqcX8fzQCT=dqVbogRq!-S>H%yA{1w#2Pn;=e>JiEj7Hl;zdt-2f+j2%DeVD zsW0Ab)ZK@0cIW%W7z}H{&~yGhn~D;aiP4=;m-HCo`BEI+Kd6 z={Xwx{TKxD#iCLfl2vQGDitKtN>z|-AdCN|$jTFDg0m3O`WLD4_s#$S literal 318 zcmb79K?=h#3{%En*DQyfZJ+wgKA_irVxP<;hd|h&Pz71YN^AlYo?0vG6I%g305-Cc zMyfCDSw~Se(R;`DJf^*+k4Tumh1NX6!@bG7bn)!`d4;-f81JbXC!Yfro&DTn$gN@6 L`QJ;tm|pM)?9LO; diff --git a/rdltr_front/public/index.html b/rdltr_front/public/index.html deleted file mode 100644 index b65c4ae..0000000 --- a/rdltr_front/public/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - rdltr - - -
- - - diff --git a/rdltr_front/src/App.vue b/rdltr_front/src/App.vue index 7dd5251..7905b05 100644 --- a/rdltr_front/src/App.vue +++ b/rdltr_front/src/App.vue @@ -1,222 +1,85 @@ - - - - diff --git a/rdltr_front/src/api/authApi.js b/rdltr_front/src/api/authApi.js deleted file mode 100644 index d67552a..0000000 --- a/rdltr_front/src/api/authApi.js +++ /dev/null @@ -1,22 +0,0 @@ -import axios from 'axios' -import store from '../store' -import { getApiUrl } from '@/utils' - -const authApi = axios.create({ - baseURL: getApiUrl(), -}) - -authApi.interceptors.request.use( - (config) => { - if (store.state.user.authToken) { - const auth = `Bearer ${store.state.user.authToken}` - if (config.headers.Authorization !== auth) { - config.headers.Authorization = `Bearer ${store.state.user.authToken}` - } - } - return config - }, - (error) => Promise.reject(error) -) - -export default authApi diff --git a/rdltr_front/src/api/defaultApi.js b/rdltr_front/src/api/defaultApi.js deleted file mode 100644 index b336e71..0000000 --- a/rdltr_front/src/api/defaultApi.js +++ /dev/null @@ -1,8 +0,0 @@ -import axios from 'axios' -import { getApiUrl } from '@/utils' - -const api = axios.create({ - baseURL: getApiUrl(), -}) - -export default api diff --git a/rdltr_front/src/assets/base.css b/rdltr_front/src/assets/base.css new file mode 100644 index 0000000..8816868 --- /dev/null +++ b/rdltr_front/src/assets/base.css @@ -0,0 +1,86 @@ +/* color palette from */ +:root { + --vt-c-white: #ffffff; + --vt-c-white-soft: #f8f8f8; + --vt-c-white-mute: #f2f2f2; + + --vt-c-black: #181818; + --vt-c-black-soft: #222222; + --vt-c-black-mute: #282828; + + --vt-c-indigo: #2c3e50; + + --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); + --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); + --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); + --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); + + --vt-c-text-light-1: var(--vt-c-indigo); + --vt-c-text-light-2: rgba(60, 60, 60, 0.66); + --vt-c-text-dark-1: var(--vt-c-white); + --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); +} + +/* semantic color variables for this project */ +:root { + --color-background: var(--vt-c-white); + --color-background-soft: var(--vt-c-white-soft); + --color-background-mute: var(--vt-c-white-mute); + + --color-border: var(--vt-c-divider-light-2); + --color-border-hover: var(--vt-c-divider-light-1); + + --color-heading: var(--vt-c-text-light-1); + --color-text: var(--vt-c-text-light-1); + + --section-gap: 160px; +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--vt-c-black); + --color-background-soft: var(--vt-c-black-soft); + --color-background-mute: var(--vt-c-black-mute); + + --color-border: var(--vt-c-divider-dark-2); + --color-border-hover: var(--vt-c-divider-dark-1); + + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } +} + +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + font-weight: normal; +} + +body { + min-height: 100vh; + color: var(--color-text); + background: var(--color-background); + transition: + color 0.5s, + background-color 0.5s; + line-height: 1.6; + font-family: + Inter, + -apple-system, + BlinkMacSystemFont, + 'Segoe UI', + Roboto, + Oxygen, + Ubuntu, + Cantarell, + 'Fira Sans', + 'Droid Sans', + 'Helvetica Neue', + sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git a/rdltr_front/src/assets/logo.png b/rdltr_front/src/assets/logo.png deleted file mode 100644 index f3d2503fc2a44b5053b0837ebea6e87a2d339a43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6849 zcmaKRcUV(fvo}bjDT-7nLI_nlK}sT_69H+`qzVWDA|yaU?}j417wLi^B1KB1SLsC& zL0ag7$U(XW5YR7p&Ux?sP$d4lvMt8C^+TcQu4F zQqv!UF!I+kw)c0jhd6+g6oCr9P?7)?!qX1ui*iL{p}sKCAGuJ{{W)0z1pLF|=>h}& zt(2Lr0Z`2ig8<5i%Zk}cO5Fm=LByqGWaS`oqChZdEFmc`0hSb#gg|Aap^{+WKOYcj zHjINK)KDG%&s?Mt4CL(T=?;~U@bU2x_mLKN!#GJuK_CzbNw5SMEJorG!}_5;?R>@1 zSl)jns3WlU7^J%=(hUtfmuUCU&C3%8B5C^f5>W2Cy8jW3#{Od{lF1}|?c61##3dzA zsPlFG;l_FzBK}8>|H_Ru_H#!_7$UH4UKo3lKOA}g1(R&|e@}GINYVzX?q=_WLZCgh z)L|eJMce`D0EIwgRaNETDsr+?vQknSGAi=7H00r`QnI%oQnFxm`G2umXso9l+8*&Q z7WqF|$p49js$mdzo^BXpH#gURy=UO;=IMrYc5?@+sR4y_?d*~0^YP7d+y0{}0)zBM zIKVM(DBvICK#~7N0a+PY6)7;u=dutmNqK3AlsrUU9U`d;msiucB_|8|2kY=(7XA;G zwDA8AR)VCA#JOkxm#6oHNS^YVuOU;8p$N)2{`;oF|rQ?B~K$%rHDxXs+_G zF5|-uqHZvSzq}L;5K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`g^S&y2{O8U>1*>4zR zq*WSI_2o$CHQ?x0!wl9bpx|Cm2+kFMR)oMud1%n2=qn5nE&t@Fgr#=Zv2?}wtEz^T z9rrj=?IH*qI5{G@Rn&}^Z{+TW}mQeb9=8b<_a`&Cm#n%n~ zU47MvCBsdXFB1+adOO)03+nczfWa#vwk#r{o{dF)QWya9v2nv43Zp3%Ps}($lA02*_g25t;|T{A5snSY?3A zrRQ~(Ygh_ebltHo1VCbJb*eOAr;4cnlXLvI>*$-#AVsGg6B1r7@;g^L zFlJ_th0vxO7;-opU@WAFe;<}?!2q?RBrFK5U{*ai@NLKZ^};Ul}beukveh?TQn;$%9=R+DX07m82gP$=}Uo_%&ngV`}Hyv8g{u z3SWzTGV|cwQuFIs7ZDOqO_fGf8Q`8MwL}eUp>q?4eqCmOTcwQuXtQckPy|4F1on8l zP*h>d+cH#XQf|+6c|S{7SF(Lg>bR~l(0uY?O{OEVlaxa5@e%T&xju=o1`=OD#qc16 zSvyH*my(dcp6~VqR;o(#@m44Lug@~_qw+HA=mS#Z^4reBy8iV?H~I;{LQWk3aKK8$bLRyt$g?- diff --git a/rdltr_front/src/assets/main.css b/rdltr_front/src/assets/main.css new file mode 100644 index 0000000..e8667cd --- /dev/null +++ b/rdltr_front/src/assets/main.css @@ -0,0 +1,35 @@ +@import './base.css'; + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + + font-weight: normal; +} + +a, +.green { + text-decoration: none; + color: hsla(160, 100%, 37%, 1); + transition: 0.4s; +} + +@media (hover: hover) { + a:hover { + background-color: hsla(160, 100%, 37%, 0.2); + } +} + +@media (min-width: 1024px) { + body { + display: flex; + place-items: center; + } + + #app { + display: grid; + grid-template-columns: 1fr 1fr; + padding: 0 2rem; + } +} diff --git a/rdltr_front/src/components/HelloWorld.vue b/rdltr_front/src/components/HelloWorld.vue new file mode 100644 index 0000000..38d821e --- /dev/null +++ b/rdltr_front/src/components/HelloWorld.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/rdltr_front/src/components/TheWelcome.vue b/rdltr_front/src/components/TheWelcome.vue new file mode 100644 index 0000000..a70765c --- /dev/null +++ b/rdltr_front/src/components/TheWelcome.vue @@ -0,0 +1,86 @@ + + + diff --git a/rdltr_front/src/components/WelcomeItem.vue b/rdltr_front/src/components/WelcomeItem.vue new file mode 100644 index 0000000..6d7086a --- /dev/null +++ b/rdltr_front/src/components/WelcomeItem.vue @@ -0,0 +1,87 @@ + + + diff --git a/rdltr_front/src/components/__tests__/HelloWorld.spec.ts b/rdltr_front/src/components/__tests__/HelloWorld.spec.ts new file mode 100644 index 0000000..2533202 --- /dev/null +++ b/rdltr_front/src/components/__tests__/HelloWorld.spec.ts @@ -0,0 +1,11 @@ +import { describe, it, expect } from 'vitest' + +import { mount } from '@vue/test-utils' +import HelloWorld from '../HelloWorld.vue' + +describe('HelloWorld', () => { + it('renders properly', () => { + const wrapper = mount(HelloWorld, { props: { msg: 'Hello Vitest' } }) + expect(wrapper.text()).toContain('Hello Vitest') + }) +}) diff --git a/rdltr_front/src/components/articles/articleAdd.vue b/rdltr_front/src/components/articles/articleAdd.vue deleted file mode 100644 index c9f4ed9..0000000 --- a/rdltr_front/src/components/articles/articleAdd.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/articles/articleCard.vue b/rdltr_front/src/components/articles/articleCard.vue deleted file mode 100644 index 1be5c7e..0000000 --- a/rdltr_front/src/components/articles/articleCard.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/articles/articleComments.vue b/rdltr_front/src/components/articles/articleComments.vue deleted file mode 100644 index faaf2d1..0000000 --- a/rdltr_front/src/components/articles/articleComments.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/articles/articleContentDisplay.vue b/rdltr_front/src/components/articles/articleContentDisplay.vue deleted file mode 100644 index c5dae87..0000000 --- a/rdltr_front/src/components/articles/articleContentDisplay.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/articles/articleDisplay.vue b/rdltr_front/src/components/articles/articleDisplay.vue deleted file mode 100644 index 00d8cbd..0000000 --- a/rdltr_front/src/components/articles/articleDisplay.vue +++ /dev/null @@ -1,306 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/articles/articlesList.vue b/rdltr_front/src/components/articles/articlesList.vue deleted file mode 100644 index 0692110..0000000 --- a/rdltr_front/src/components/articles/articlesList.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/articles/bookmarklet.vue b/rdltr_front/src/components/articles/bookmarklet.vue deleted file mode 100644 index f04e275..0000000 --- a/rdltr_front/src/components/articles/bookmarklet.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/common/categorySelect.vue b/rdltr_front/src/components/common/categorySelect.vue deleted file mode 100644 index 56d2332..0000000 --- a/rdltr_front/src/components/common/categorySelect.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/common/customBagde.vue b/rdltr_front/src/components/common/customBagde.vue deleted file mode 100644 index 650b9cf..0000000 --- a/rdltr_front/src/components/common/customBagde.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/common/deleteConfirmationModal.vue b/rdltr_front/src/components/common/deleteConfirmationModal.vue deleted file mode 100644 index 31f51ae..0000000 --- a/rdltr_front/src/components/common/deleteConfirmationModal.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/common/item.vue b/rdltr_front/src/components/common/item.vue deleted file mode 100644 index 244eed2..0000000 --- a/rdltr_front/src/components/common/item.vue +++ /dev/null @@ -1,118 +0,0 @@ - + + diff --git a/rdltr_front/src/components/Article/ArticleContentDisplay.vue b/rdltr_front/src/components/Article/ArticleContentDisplay.vue new file mode 100644 index 0000000..147d4f3 --- /dev/null +++ b/rdltr_front/src/components/Article/ArticleContentDisplay.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/rdltr_front/src/components/Article/ArticleDisplay.vue b/rdltr_front/src/components/Article/ArticleDisplay.vue new file mode 100644 index 0000000..95d5d38 --- /dev/null +++ b/rdltr_front/src/components/Article/ArticleDisplay.vue @@ -0,0 +1,265 @@ + + + + + diff --git a/rdltr_front/src/components/Article/ArticlesGrid.vue b/rdltr_front/src/components/Article/ArticlesGrid.vue new file mode 100644 index 0000000..32f3b3a --- /dev/null +++ b/rdltr_front/src/components/Article/ArticlesGrid.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/rdltr_front/src/components/Article/Bookmarklet.vue b/rdltr_front/src/components/Article/Bookmarklet.vue new file mode 100644 index 0000000..8b7aa8d --- /dev/null +++ b/rdltr_front/src/components/Article/Bookmarklet.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/rdltr_front/src/components/Article/CustomBagde.vue b/rdltr_front/src/components/Article/CustomBagde.vue new file mode 100644 index 0000000..ee4ca6e --- /dev/null +++ b/rdltr_front/src/components/Article/CustomBagde.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/rdltr_front/src/components/Article/DeleteConfirmationModal.vue b/rdltr_front/src/components/Article/DeleteConfirmationModal.vue new file mode 100644 index 0000000..cce32b0 --- /dev/null +++ b/rdltr_front/src/components/Article/DeleteConfirmationModal.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/rdltr_front/src/components/Article/FilterBar.vue b/rdltr_front/src/components/Article/FilterBar.vue new file mode 100644 index 0000000..8172957 --- /dev/null +++ b/rdltr_front/src/components/Article/FilterBar.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/rdltr_front/src/components/Article/Pagination.vue b/rdltr_front/src/components/Article/Pagination.vue new file mode 100644 index 0000000..8c9e96d --- /dev/null +++ b/rdltr_front/src/components/Article/Pagination.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/rdltr_front/src/components/Header.vue b/rdltr_front/src/components/Header.vue new file mode 100644 index 0000000..924db2a --- /dev/null +++ b/rdltr_front/src/components/Header.vue @@ -0,0 +1,173 @@ + + + + + diff --git a/rdltr_front/src/components/HelloWorld.vue b/rdltr_front/src/components/HelloWorld.vue deleted file mode 100644 index 38d821e..0000000 --- a/rdltr_front/src/components/HelloWorld.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - diff --git a/rdltr_front/src/components/Item/Item.vue b/rdltr_front/src/components/Item/Item.vue new file mode 100644 index 0000000..4003482 --- /dev/null +++ b/rdltr_front/src/components/Item/Item.vue @@ -0,0 +1,104 @@ + + +\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articleComments.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articleComments.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./articleComments.vue?vue&type=template&id=ae4d1bd6&scoped=true&\"\nimport script from \"./articleComments.vue?vue&type=script&lang=js&\"\nexport * from \"./articleComments.vue?vue&type=script&lang=js&\"\nimport style0 from \"./articleComments.vue?vue&type=style&index=0&id=ae4d1bd6&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ae4d1bd6\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"modal-mask\"},[_c('div',{staticClass:\"modal-wrapper\"},[_c('div',{staticClass:\"modal-container\"},[_c('div',{staticClass:\"modal-body\"},[_c('p',[_vm._v(\" Are you sure you want to delete \"+_vm._s(_vm.title ? ` the article '${_vm.title}'` : ' this article')+\"? \")]),_c('button',{staticClass:\"btn-rdltr\",on:{\"click\":_vm.onDeleteArticle}},[_vm._v(\"OK\")]),_c('button',{staticClass:\"btn-rdltr\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"Cancel\")])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./deleteConfirmationModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./deleteConfirmationModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./deleteConfirmationModal.vue?vue&type=template&id=d2977072&scoped=true&\"\nimport script from \"./deleteConfirmationModal.vue?vue&type=script&lang=js&\"\nexport * from \"./deleteConfirmationModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./deleteConfirmationModal.vue?vue&type=style&index=0&id=d2977072&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d2977072\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{class:`badge badge-rdltr${_vm.isTag ? '-tag' : ''}`},[(_vm.isTag)?_c('router-link',{attrs:{\"to\":_vm.fullPath(_vm.tag_id)}},[_vm._v(\" \"+_vm._s(_vm.name)+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.name)+\" \")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./customBagde.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./customBagde.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./customBagde.vue?vue&type=template&id=44de236a&scoped=true&\"\nimport script from \"./customBagde.vue?vue&type=script&lang=js&\"\nexport * from \"./customBagde.vue?vue&type=script&lang=js&\"\nimport style0 from \"./customBagde.vue?vue&type=style&index=0&id=44de236a&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"44de236a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articleDisplay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articleDisplay.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./articleDisplay.vue?vue&type=template&id=1f90e427&scoped=true&\"\nimport script from \"./articleDisplay.vue?vue&type=script&lang=js&\"\nexport * from \"./articleDisplay.vue?vue&type=script&lang=js&\"\nimport style0 from \"./articleDisplay.vue?vue&type=style&index=0&id=1f90e427&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f90e427\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"container-fluid\",attrs:{\"id\":\"home\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"row\",attrs:{\"id\":\"user-categories\"}},[_c('div',{staticClass:\"col-md-3\"},[_c('app-category-select',{attrs:{\"filter\":\"true\"}})],1),_c('div',{staticClass:\"col search\"},[_c('div',{staticClass:\"input-group\"},[_vm._m(0),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"placeholder\":\"enter keywords\"},domProps:{\"value\":(_vm.query)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.query=$event.target.value},_vm.onSearch]}})])]),_c('div',{staticClass:\"col-md-2 form-check read-status\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.onlyNotRead),expression:\"onlyNotRead\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"readStatus\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.onlyNotRead)?_vm._i(_vm.onlyNotRead,null)>-1:(_vm.onlyNotRead)},on:{\"change\":[function($event){var $$a=_vm.onlyNotRead,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.onlyNotRead=$$a.concat([$$v]))}else{$$i>-1&&(_vm.onlyNotRead=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.onlyNotRead=$$c}},_vm.onSearch]}}),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"readStatus\"}},[_vm._v(\" only not read \")])]),_c('div',{staticClass:\"col-md-2 form-check favorite\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.onlyFavorites),expression:\"onlyFavorites\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"favorites\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.onlyFavorites)?_vm._i(_vm.onlyFavorites,null)>-1:(_vm.onlyFavorites)},on:{\"change\":[function($event){var $$a=_vm.onlyFavorites,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.onlyFavorites=$$a.concat([$$v]))}else{$$i>-1&&(_vm.onlyFavorites=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.onlyFavorites=$$c}},_vm.onSearch]}}),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"favorites\"}},[_vm._v(\" only favorites \")])])])])]),_c('hr'),_c('div',{staticClass:\"row\"},[_c('app-articles')],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"input-group-prepend\"},[_c('span',{staticClass:\"input-group-text\",attrs:{\"id\":\"\"}},[_vm._v(\"Search\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"user-articles\"}},[(_vm.errorMessage)?_c('p',{staticClass:\"alert alert-danger\"},[_vm._v(\" \"+_vm._s(_vm.errorMessage)+\" \")]):_c('div',[(_vm.loading)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fa fa-spinner fa-pulse fa-3x fa-fw\"})]):_c('div',[(_vm.pagination.total > 0)?_c('div',{staticClass:\"row articles-msg\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.pagination.total)+\" \"+_vm._s(`article${_vm.pagination.total !== 1 ? 's' : ''}`)+\" \")]),(_vm.tag)?_c('div',{staticClass:\"display-tag\"},[_c('app-badge',{attrs:{\"tag_id\":_vm.tag.id,\"is-tag\":true,\"name\":_vm.tag.name}})],1):_vm._e(),_c('clear-filter')],1):_vm._e(),_c('div',{staticClass:\"row\"},[(_vm.articles.length === 0)?_c('p',{staticClass:\"text-center articles-msg\"},[_vm._v(\" No articles. Add \"),_c('router-link',{attrs:{\"to\":\"/articles/add\"}},[_vm._v(\"one\")]),_vm._v(\" ! \"),_c('clear-filter')],1):_vm._e(),_vm._l((_vm.articles),function(article){return _c('app-article-card',{key:article.id,attrs:{\"article\":article}})})],2)])]),_c('app-pagination',{staticClass:\"footer\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-sm-6 col-md-4 col-lg-3\"},[(_vm.showModal)?_c('conf-modal',{attrs:{\"title\":_vm.article.title,\"onDeleteArticle\":_vm.onDeleteArticle},on:{\"close\":function($event){_vm.showModal = false}}}):_vm._e(),_c('div',{staticClass:\"card\",class:`status${_vm.article.read ? '-read' : ''}`},[_c('div',{staticClass:\"card-body\"},[_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"title\":\"delete article\",\"type\":\"button\"},on:{\"click\":function($event){_vm.showModal = true}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])]),_c('app-badge',{attrs:{\"name\":_vm.article.category.name}}),_c('h5',{staticClass:\"card-title\"},[_vm._v(\" \"+_vm._s(_vm.article.title)+\" \"),(_vm.article.favorite)?_c('i',{staticClass:\"fa fa-star\"}):_vm._e()]),_vm._l((_vm.article.tags),function(tag){return _c('app-badge',{key:tag.id,attrs:{\"tag_id\":tag.id,\"is-tag\":true,\"name\":tag.name}})}),_c('p',{staticClass:\"card-text\"})],2),_c('div',{staticClass:\"card-footer\"},[_c('router-link',{staticClass:\"btn-rdltr\",attrs:{\"tag\":\"button\",\"to\":{ name: 'articleDetail', params: { id: _vm.article.id } }}},[_vm._v(\" Read \")])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articleCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articleCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./articleCard.vue?vue&type=template&id=62874050&scoped=true&\"\nimport script from \"./articleCard.vue?vue&type=script&lang=js&\"\nexport * from \"./articleCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./articleCard.vue?vue&type=style&index=0&id=62874050&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62874050\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.displayClearFilters())?_c('router-link',{staticClass:\"clear-filter\",attrs:{\"tag\":\"button\",\"to\":\"/\"}},[_vm._v(\" × clear all filters \")]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clearFilter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clearFilter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./clearFilter.vue?vue&type=template&id=e635edda&scoped=true&\"\nimport script from \"./clearFilter.vue?vue&type=script&lang=js&\"\nexport * from \"./clearFilter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./clearFilter.vue?vue&type=style&index=0&id=e635edda&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e635edda\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row\",attrs:{\"id\":\"pagination\"}},[_c('div',{staticClass:\"col-md-2 col-sm text-center\"},[_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.displayFirstPage()),expression:\"displayFirstPage()\"}],staticClass:\"btn-rdltr\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.getTargetLink(1 - _vm.pagination.page)}}},[_c('i',{staticClass:\"fa fa-angle-double-left\",attrs:{\"aria-hidden\":\"true\"}})]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.pagination.has_prev),expression:\"pagination.has_prev\"}],staticClass:\"btn-rdltr\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.getTargetLink(-1)}}},[_c('i',{staticClass:\"fa fa-angle-left\",attrs:{\"aria-hidden\":\"true\"}})])]),(_vm.pagination.pages > 0)?_c('div',{staticClass:\"col-md-8 col-sm text-center page\"},[_vm._v(\" page \"+_vm._s(_vm.pagination.page)+\" / \"+_vm._s(_vm.pagination.pages)+\" \")]):_vm._e(),_c('div',{staticClass:\"col-md-2 col-sm text-center\"},[_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.pagination.has_next),expression:\"pagination.has_next\"}],staticClass:\"btn-rdltr\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.getTargetLink(1)}}},[_c('i',{staticClass:\"fa fa-angle-right\",attrs:{\"aria-hidden\":\"true\"}})]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.displayLastPage()),expression:\"displayLastPage()\"}],staticClass:\"btn-rdltr\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){return _vm.getTargetLink(_vm.pagination.pages - _vm.pagination.page)}}},[_c('i',{staticClass:\"fa fa-angle-double-right\",attrs:{\"aria-hidden\":\"true\"}})])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pagination.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pagination.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./pagination.vue?vue&type=template&id=515ca814&scoped=true&\"\nimport script from \"./pagination.vue?vue&type=script&lang=js&\"\nexport * from \"./pagination.vue?vue&type=script&lang=js&\"\nimport style0 from \"./pagination.vue?vue&type=style&index=0&id=515ca814&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"515ca814\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articlesList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./articlesList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./articlesList.vue?vue&type=template&id=1b1dfacd&scoped=true&\"\nimport script from \"./articlesList.vue?vue&type=script&lang=js&\"\nexport * from \"./articlesList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./articlesList.vue?vue&type=style&index=0&id=1b1dfacd&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1b1dfacd\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./home.vue?vue&type=template&id=5b7d48d9&scoped=true&\"\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./home.vue?vue&type=style&index=0&id=5b7d48d9&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5b7d48d9\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contnr\"},[_c('div',{staticClass:\"rdltr-box\"},[(_vm.errorMessage && !_vm.item.id)?_c('div',[(_vm.errorMessage)?_c('p',{staticClass:\"alert alert-danger\"},[_vm._v(\" \"+_vm._s(_vm.errorMessage)+\" \")]):_vm._e(),_c('router-link',{staticClass:\"btn-rdltr\",attrs:{\"tag\":\"button\",\"to\":`/settings/${_vm.itemType}`}},[_vm._v(\" Back to \"+_vm._s(_vm.itemType)+\" \")])],1):_c('div',[(_vm.errorMessage)?_c('p',{staticClass:\"alert alert-danger\"},[_vm._v(\" \"+_vm._s(_vm.errorMessage)+\" \")]):_vm._e(),_c('form',[_c('div',{staticClass:\"input\"},[_c('label',{attrs:{\"for\":\"name\"}},[_vm._v(_vm._s(`${_vm.itemType === 'categories' ? 'Category' : 'Tag'} name`))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.name),expression:\"item.name\"}],attrs:{\"id\":\"name\",\"required\":\"\"},domProps:{\"value\":(_vm.item.name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.item, \"name\", $event.target.value)}}})]),(_vm.itemType === 'categories')?_c('div',{staticClass:\"input\"},[_c('label',{attrs:{\"for\":\"description\"}},[_vm._v(\"Description\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.item.description),expression:\"item.description\"}],attrs:{\"id\":\"description\"},domProps:{\"value\":(_vm.item.description)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.item, \"description\", $event.target.value)}}})]):_vm._e(),_c('div',{staticClass:\"submit\"},[_c('button',{staticClass:\"btn-rdltr\",attrs:{\"disabled\":_vm.item.name === '',\"type\":\"submit\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onSubmit()}}},[_vm._v(\" Submit \")]),_c('router-link',{staticClass:\"btn-rdltr\",attrs:{\"tag\":\"button\",\"to\":`/settings/${_vm.itemType}`}},[_vm._v(\" Cancel \")])],1)])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","