@burh/nuxt-core 1.0.58 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,10 +57,8 @@ export default {
57
57
  },
58
58
  });
59
59
 
60
- if (this.value) {
61
- if (this.value.length > 0) {
62
- this.editor.pasteHTML(this.value);
63
- }
60
+ if (this.value.length > 0) {
61
+ this.editor.pasteHTML(this.value);
64
62
  }
65
63
 
66
64
  let editorRef = this.$refs.editor;
@@ -1,16 +1,18 @@
1
1
  <template>
2
2
  <div class="card position-relative">
3
3
  <div class="row px-4 justify-content-start">
4
- <div class="col-8">
5
- <label class="form-control-label d-block pt-1">
6
- {{`Pergunta #${position + 1}`}}
7
- </label>
8
- <html-editor
4
+ <validation-provider tag="div" class="col-8" :vid="`question-${step}-${position}`"
5
+ name="Pergunta" rules="required" v-slot="{ errors }">
6
+ <base-input
7
+ :label="`Pergunta #${position + 1}`"
9
8
  placeholder="Escreva uma pergunta"
9
+ type="text"
10
+ :error="errors[0]"
11
+ :valid="errors.length ? true : false"
10
12
  :value="question.question"
11
13
  v-on:input="setQuestion('question', $event)"
12
14
  />
13
- </div>
15
+ </validation-provider>
14
16
 
15
17
  <div class="col-4">
16
18
  <label class="form-control-label d-block pt-1">
@@ -65,7 +67,6 @@ import {Select, Option} from 'element-ui'
65
67
  import QuestionText from '@burh/nuxt-core/components/burh-ds/Questions/QuestionText.vue';
66
68
  import QuestionRadio from '@burh/nuxt-core/components/burh-ds/Questions/QuestionRadio.vue';
67
69
  import QuestionAttach from '@burh/nuxt-core/components/burh-ds/Questions/QuestionAttach.vue';
68
- import HtmlEditor from '@burh/nuxt-core/components/burh-ds/Inputs/HtmlEditor.vue'
69
70
 
70
71
  export default {
71
72
  components: {
@@ -73,8 +74,7 @@ export default {
73
74
  [Option.name]: Option,
74
75
  Paragraph: QuestionText,
75
76
  QuestionRadio,
76
- QuestionAttach,
77
- HtmlEditor
77
+ QuestionAttach
78
78
  },
79
79
  props: {
80
80
  step: {
@@ -120,7 +120,6 @@ export default {
120
120
  setQuestion(type, data) {
121
121
  this.question[type] = data
122
122
  this.emitQuestion();
123
- console.log(this.question)
124
123
  },
125
124
  mergeDataQuestion(data) {
126
125
  this.question = { ...this.question , ...data }
package/package.json CHANGED
@@ -1,107 +1,107 @@
1
1
  {
2
- "name": "@burh/nuxt-core",
3
- "version": "1.0.58",
4
- "description": "Design System and Components.",
5
- "author": "Burh",
6
- "scripts": {
7
- "dev": "nuxt",
8
- "build": "nuxt build",
9
- "start": "nuxt start",
10
- "generate": "nuxt generate",
11
- "build:server": "git pull origin release && yarn install && yarn build && pm2 restart all",
12
- "start:maintenance": "MAINTENANCE_MODE=true pm2 restart all",
13
- "dev:maintenance": "MAINTENANCE_MODE=true nuxt"
14
- },
15
- "dependencies": {
16
- "@babel/core": "^7.4.5",
17
- "@chenfengyuan/vue-qrcode": "^1.0.1",
18
- "@fortawesome/fontawesome-svg-core": "^1.2.22",
19
- "@fortawesome/free-brands-svg-icons": "^5.10.2",
20
- "@fortawesome/free-regular-svg-icons": "^5.10.2",
21
- "@fortawesome/free-solid-svg-icons": "^5.10.2",
22
- "@fortawesome/vue-fontawesome": "^0.1.7",
23
- "@fullcalendar/core": "^4.2.0",
24
- "@fullcalendar/daygrid": "^4.1.0",
25
- "@fullcalendar/interaction": "^4.1.0",
26
- "@fullcalendar/timegrid": "^4.1.0",
27
- "@fullcalendar/vue": "^4.2.2",
28
- "@nuxtjs/axios": "^5.3.6",
29
- "@nuxtjs/google-adsense": "^1.1.3",
30
- "@nuxtjs/google-tag-manager": "^2.3.1",
31
- "@nuxtjs/pwa": "^3.0.0-beta.16",
32
- "bootstrap": "4.3.1",
33
- "chart.js": "^2.8.0",
34
- "d3": "^5.9.2",
35
- "datamaps": "^0.5.9",
36
- "date-fns": "^1.30.1",
37
- "dropzone": "^5.5.1",
38
- "element-ui": "2.13.0",
39
- "es6-promise": "^4.2.6",
40
- "file-loader": "^6.0.0",
41
- "flag-icon-css": "^3.4.5",
42
- "flatpickr": "^4.5.7",
43
- "fuse.js": "^3.4.5",
44
- "google-maps": "^3.3.0",
45
- "heic2any": "0.0.2",
46
- "local-web-server": "^3.0.7",
47
- "mobile-device-detect": "^0.3.3",
48
- "moment": "^2.24.0",
49
- "nouislider": "^13.1.5",
50
- "nuxt": "^2.8.1",
51
- "nuxt-fontawesome": "^0.4.0",
52
- "nuxt-google-maps-module": "^1.6.0",
53
- "nuxt-maintenance-mode": "^0.3.0",
54
- "nuxt-sass-resources-loader": "^2.0.5",
55
- "nuxt-validate": "^1.0.1",
56
- "nuxt-vuex-localstorage": "^1.2.6",
57
- "passport-linkedin": "^1.0.0",
58
- "perfect-scrollbar": "^1.4.0",
59
- "prismjs": "^1.17.1",
60
- "quill": "^1.3.6",
61
- "quill-image-resize-module": "^3.0.0",
62
- "read-env": "^1.3.0",
63
- "sticky-js": "^1.2.0",
64
- "sweetalert2": "^8.11.6",
65
- "v-owl-carousel": "^1.0.8",
66
- "v-resize": "^0.1.1",
67
- "vee-validate": "^2.2.8",
68
- "vue": "^2.6.10",
69
- "vue-chartjs": "^3.4.2",
70
- "vue-clipboard2": "^0.3.0",
71
- "vue-croppie": "^2.0.1",
72
- "vue-flatpickr-component": "^8.1.2",
73
- "vue-form-generator": "^2.3.4",
74
- "vue-loading-overlay": "^3.3.2",
75
- "vue-plain-pagination": "^0.3.0",
76
- "vue-the-mask": "^0.11.1",
77
- "vue2-transitions": "^0.3.0",
78
- "webp-loader": "^0.6.0"
79
- },
80
- "devDependencies": {
81
- "autoprefixer": "^9.6.1",
82
- "babel-eslint": "^10.0.3",
83
- "babel-plugin-component": "^1.1.0",
84
- "browser-sync": "^2.26.7",
85
- "cross-env": "^5.2.0",
86
- "cssnano": "^4.1.10",
87
- "del": "^5.0.0",
88
- "eslint": "^6.8.0",
89
- "eslint-plugin-vue": "^6.1.2",
90
- "img-loader": "^3.0.1",
91
- "lodash": "^4.17.15",
92
- "node-dir": "^0.1.17",
93
- "node-sass": "^4.12.0",
94
- "nodemon": "^1.18.9",
95
- "sass-loader": "^7.1.0"
96
- },
97
- "main": "dictionary.js",
98
- "repository": {
99
- "type": "git",
100
- "url": "git+ssh://git@gitlab.com/gabrielesnack/burh-core.git"
101
- },
102
- "license": "UNLICENSED",
103
- "bugs": {
104
- "url": "https://gitlab.com/gabrielesnack/burh-core/issues"
105
- },
106
- "homepage": "https://gitlab.com/gabrielesnack/burh-core#readme"
2
+ "name": "@burh/nuxt-core",
3
+ "version": "1.0.59",
4
+ "description": "Design System and Components.",
5
+ "author": "Burh",
6
+ "scripts": {
7
+ "dev": "nuxt",
8
+ "build": "nuxt build",
9
+ "start": "nuxt start",
10
+ "generate": "nuxt generate",
11
+ "build:server": "git pull origin release && yarn install && yarn build && pm2 restart all",
12
+ "start:maintenance": "MAINTENANCE_MODE=true pm2 restart all",
13
+ "dev:maintenance": "MAINTENANCE_MODE=true nuxt"
14
+ },
15
+ "dependencies": {
16
+ "@babel/core": "^7.4.5",
17
+ "@chenfengyuan/vue-qrcode": "^1.0.1",
18
+ "@fortawesome/fontawesome-svg-core": "^1.2.22",
19
+ "@fortawesome/free-brands-svg-icons": "^5.10.2",
20
+ "@fortawesome/free-regular-svg-icons": "^5.10.2",
21
+ "@fortawesome/free-solid-svg-icons": "^5.10.2",
22
+ "@fortawesome/vue-fontawesome": "^0.1.7",
23
+ "@fullcalendar/core": "^4.2.0",
24
+ "@fullcalendar/daygrid": "^4.1.0",
25
+ "@fullcalendar/interaction": "^4.1.0",
26
+ "@fullcalendar/timegrid": "^4.1.0",
27
+ "@fullcalendar/vue": "^4.2.2",
28
+ "@nuxtjs/axios": "^5.3.6",
29
+ "@nuxtjs/google-adsense": "^1.1.3",
30
+ "@nuxtjs/google-tag-manager": "^2.3.1",
31
+ "@nuxtjs/pwa": "^3.0.0-beta.16",
32
+ "bootstrap": "4.3.1",
33
+ "chart.js": "^2.8.0",
34
+ "d3": "^5.9.2",
35
+ "datamaps": "^0.5.9",
36
+ "date-fns": "^1.30.1",
37
+ "dropzone": "^5.5.1",
38
+ "element-ui": "2.13.0",
39
+ "es6-promise": "^4.2.6",
40
+ "file-loader": "^6.0.0",
41
+ "flag-icon-css": "^3.4.5",
42
+ "flatpickr": "^4.5.7",
43
+ "fuse.js": "^3.4.5",
44
+ "google-maps": "^3.3.0",
45
+ "heic2any": "0.0.2",
46
+ "local-web-server": "^3.0.7",
47
+ "mobile-device-detect": "^0.3.3",
48
+ "moment": "^2.24.0",
49
+ "nouislider": "^13.1.5",
50
+ "nuxt": "^2.8.1",
51
+ "nuxt-fontawesome": "^0.4.0",
52
+ "nuxt-google-maps-module": "^1.6.0",
53
+ "nuxt-maintenance-mode": "^0.3.0",
54
+ "nuxt-sass-resources-loader": "^2.0.5",
55
+ "nuxt-validate": "^1.0.1",
56
+ "nuxt-vuex-localstorage": "^1.2.6",
57
+ "passport-linkedin": "^1.0.0",
58
+ "perfect-scrollbar": "^1.4.0",
59
+ "prismjs": "^1.17.1",
60
+ "quill": "^1.3.6",
61
+ "quill-image-resize-module": "^3.0.0",
62
+ "read-env": "^1.3.0",
63
+ "sticky-js": "^1.2.0",
64
+ "sweetalert2": "^8.11.6",
65
+ "v-owl-carousel": "^1.0.8",
66
+ "v-resize": "^0.1.1",
67
+ "vee-validate": "^2.2.8",
68
+ "vue": "^2.6.10",
69
+ "vue-chartjs": "^3.4.2",
70
+ "vue-clipboard2": "^0.3.0",
71
+ "vue-croppie": "^2.0.1",
72
+ "vue-flatpickr-component": "^8.1.2",
73
+ "vue-form-generator": "^2.3.4",
74
+ "vue-loading-overlay": "^3.3.2",
75
+ "vue-plain-pagination": "^0.3.0",
76
+ "vue-the-mask": "^0.11.1",
77
+ "vue2-transitions": "^0.3.0",
78
+ "webp-loader": "^0.6.0"
79
+ },
80
+ "devDependencies": {
81
+ "autoprefixer": "^9.6.1",
82
+ "babel-eslint": "^10.0.3",
83
+ "babel-plugin-component": "^1.1.0",
84
+ "browser-sync": "^2.26.7",
85
+ "cross-env": "^5.2.0",
86
+ "cssnano": "^4.1.10",
87
+ "del": "^5.0.0",
88
+ "eslint": "^6.8.0",
89
+ "eslint-plugin-vue": "^6.1.2",
90
+ "img-loader": "^3.0.1",
91
+ "lodash": "^4.17.15",
92
+ "node-dir": "^0.1.17",
93
+ "node-sass": "^4.12.0",
94
+ "nodemon": "^1.18.9",
95
+ "sass-loader": "^7.1.0"
96
+ },
97
+ "main": "dictionary.js",
98
+ "repository": {
99
+ "type": "git",
100
+ "url": "git+ssh://git@gitlab.com/gabrielesnack/burh-core.git"
101
+ },
102
+ "license": "UNLICENSED",
103
+ "bugs": {
104
+ "url": "https://gitlab.com/gabrielesnack/burh-core/issues"
105
+ },
106
+ "homepage": "https://gitlab.com/gabrielesnack/burh-core#readme"
107
107
  }