@burh/nuxt-core 1.0.59 → 1.0.60
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.
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="card position-relative">
|
|
3
3
|
<div class="row px-4 justify-content-start">
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
<div class="col-8">
|
|
5
|
+
<label class="form-control-label d-block pt-1">
|
|
6
|
+
{{`Pergunta #${position + 1}`}}
|
|
7
|
+
</label>
|
|
8
|
+
<html-editor
|
|
8
9
|
placeholder="Escreva uma pergunta"
|
|
9
|
-
type="text"
|
|
10
|
-
:error="errors[0]"
|
|
11
|
-
:valid="errors.length ? true : false"
|
|
12
10
|
:value="question.question"
|
|
13
11
|
v-on:input="setQuestion('question', $event)"
|
|
14
12
|
/>
|
|
15
|
-
</
|
|
13
|
+
</div>
|
|
16
14
|
|
|
17
15
|
<div class="col-4">
|
|
18
16
|
<label class="form-control-label d-block pt-1">
|
|
@@ -67,6 +65,7 @@ import {Select, Option} from 'element-ui'
|
|
|
67
65
|
import QuestionText from '@burh/nuxt-core/components/burh-ds/Questions/QuestionText.vue';
|
|
68
66
|
import QuestionRadio from '@burh/nuxt-core/components/burh-ds/Questions/QuestionRadio.vue';
|
|
69
67
|
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'
|
|
70
69
|
|
|
71
70
|
export default {
|
|
72
71
|
components: {
|
|
@@ -74,7 +73,8 @@ export default {
|
|
|
74
73
|
[Option.name]: Option,
|
|
75
74
|
Paragraph: QuestionText,
|
|
76
75
|
QuestionRadio,
|
|
77
|
-
QuestionAttach
|
|
76
|
+
QuestionAttach,
|
|
77
|
+
HtmlEditor
|
|
78
78
|
},
|
|
79
79
|
props: {
|
|
80
80
|
step: {
|
|
@@ -120,6 +120,7 @@ export default {
|
|
|
120
120
|
setQuestion(type, data) {
|
|
121
121
|
this.question[type] = data
|
|
122
122
|
this.emitQuestion();
|
|
123
|
+
console.log(this.question)
|
|
123
124
|
},
|
|
124
125
|
mergeDataQuestion(data) {
|
|
125
126
|
this.question = { ...this.question , ...data }
|
package/package.json
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
2
|
+
"name": "@burh/nuxt-core",
|
|
3
|
+
"version": "1.0.60",
|
|
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
|
}
|