diff --git a/assets/css/themes.scss b/assets/css/themes.scss index d611740f3..11606549b 100644 --- a/assets/css/themes.scss +++ b/assets/css/themes.scss @@ -10,8 +10,6 @@ --bg-dark-color: #000000; // Background color --bg-color: #121212; - // Auto-complete color - --atc-color: #212121; // Text color --fg-color: #FFF; @@ -28,8 +26,6 @@ --bg-dark-color: #ffffff; // Background color --bg-color: #F6F8FA; - // Auto-complete color - --atc-color: #F1F1F1; // Text color --fg-color: #121212; @@ -40,4 +36,4 @@ --ac-color: #51FF0D; // Active text color --act-color: #121212; -} +} \ No newline at end of file diff --git a/components/autocomplete.vue b/components/autocomplete.vue deleted file mode 100644 index 0ec662627..000000000 --- a/components/autocomplete.vue +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - {{ suggestion }} - - - - - - - - diff --git a/package-lock.json b/package-lock.json index 02259171a..fa542a2c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "postwoman", - "version": "0.1.0", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -10128,11 +10128,6 @@ "resolved": "https://registry.npmjs.org/vue-virtual-scroll-list/-/vue-virtual-scroll-list-1.4.2.tgz", "integrity": "sha512-jcXl1cYDxGZX+aF9vsUauXWnUkXm8oQxnvLTJ8UMTmMxwzbmlHX7vs0xGDdEej91vJpBNrdNNseWPxboTvI+UA==" }, - "vuejs-auto-complete": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/vuejs-auto-complete/-/vuejs-auto-complete-0.9.0.tgz", - "integrity": "sha512-7UV3s9bXdnsbGARhHcOuDAszGUsz7JpsFKBfHQuQvo4rfH0yQIru2Rb/x2bWU+m+VW4fS9DKDSYi6tY511QSIA==" - }, "vuex": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.1.1.tgz", diff --git a/package.json b/package.json index 38aa43656..e92bc606d 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,14 @@ "author": "liyasthomas", "private": true, "scripts": { - "predev": "node build.js --dev", + "predev": "node build.js --dev", "dev": "nuxt", - "prebuild": "node build.js", + + "prebuild": "node build.js", "build": "nuxt build", "start": "nuxt start", - "pregenerate": "node build.js", + + "pregenerate": "node build.js", "generate": "nuxt generate" }, "dependencies": { @@ -18,7 +20,6 @@ "@nuxtjs/pwa": "^3.0.0-0", "nuxt": "^2.9.2", "vue-virtual-scroll-list": "^1.4.2", - "vuejs-auto-complete": "^0.9.0", "vuex-persist": "^2.1.0" }, "devDependencies": { diff --git a/pages/index.vue b/pages/index.vue index 3863711a3..6fc6c8b0b 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,619 +1,590 @@ - - - - - Method - - GET - HEAD - POST - PUT - DELETE - OPTIONS - PATCH - - - - URL - - - - Path - - - - - Send Again - - - - - - - Content Type - - - - Raw input {{ rawInput ? "enabled" : "disabled" }} - + + + + + Method + + GET + HEAD + POST + PUT + DELETE + OPTIONS + PATCH + + + + URL + + + + Path + + + + + Send Again + + + + + + + Content Type + + application/json + www-form/urlencoded + + + + Raw Input - - - - - - Key {{index + 1}} - - - - Value {{index + 1}} - - - - - Remove - - - - - Action - Add - - - - - Parameter List - {{rawRequestBody || '(add at least one parameter)'}} - - - - - - - - - - - Authentication Type - - None - Basic - Bearer Token - - - - - - User - - - - Password - - - - - - Token - - - - - - - - Key {{index + 1}} - - - - Value {{index + 1}} - - - - - Remove - - - - - Action - Add - - - - - Header List - {{headerString || '(add at least one header)'}} - - - - - - - Key {{index + 1}} - - - - Value {{index + 1}} - - - - - Remove - - - - - Action - Add - - - - - Parameter List - {{queryString || '(add at least one parameter)'}} - - - - - - - status - - - - - - {{key}} - - - - - - - response - Copy Response - - - {{response.body || '(waiting to send request)'}} - - - - {{ previewEnabled ? 'Hide Preview' : 'Preview HTML' }} - - - - - - + + + + + + Key {{index + 1}} + + + + Value {{index + 1}} + + + + + Remove + + + + + Action + Add + + + + + Parameter List + {{rawRequestBody || '(add at least one parameter)'}} + + + + + + + + + + + Authentication Type + + None + Basic + Bearer Token + + + + + + User + + + + Password + + + + + + Token + + + + + + + + Key {{index + 1}} + + + + Value {{index + 1}} + + + + + Remove + + + + + Action + Add + + + + + Header List + {{headerString || '(add at least one header)'}} + + + + + + + Key {{index + 1}} + + + + Value {{index + 1}} + + + + + Remove + + + + + Action + Add + + + + + Parameter List + {{queryString || '(add at least one parameter)'}} + + + + + + + status + + + + + + {{key}} + + + + + + + response + Copy Response + + + {{response.body || '(waiting to send request)'}} + + + + {{ previewEnabled ? 'Hide Preview' : 'Preview HTML' }} + + + + + +