@burh/nuxt-core 1.0.322 → 1.0.325

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.
@@ -151,6 +151,10 @@ export default {
151
151
  <style lang="scss">
152
152
  @import '@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
153
153
 
154
+ .modal {
155
+ z-index: 99999!important;
156
+ }
157
+
154
158
  .modal.show {
155
159
  background-color: rgba(23,43,77, 0.7);
156
160
  }
@@ -1,134 +1,134 @@
1
- <template>
2
- <modal :show.sync="showModal"
3
- modalContentClasses="container-fluid" headerClasses="row px-4" bodyClasses="row px-4 pt-3"
4
- v-on:close="closeModal()">
5
- <template slot="header">
6
- <h5 class="pl-3 modal-title">Acesso</h5>
7
- </template>
8
-
9
- <div class="col-12 d-flex">
10
- <div
11
- id="role"
12
- tag="div"
13
- class="d-flex flex-column mb-3"
14
- name="role"
15
- >
16
- <label for="email" class="form-control-label">Email</label>
17
- <el-input disabled v-model="email"></el-input>
18
- </div>
19
- </div>
20
-
21
- <div class="col-12 d-flex">
22
- <div
23
- id="role"
24
- tag="div"
25
- class="d-flex flex-column mb-3"
26
- name="role"
27
- >
28
-
29
- <label for="role" class="form-control-label">Cargo</label>
30
- <el-input disabled v-model="role"></el-input>
31
- </div>
32
-
33
- <!-- Habilitar novamente caso volte a ser usado -->
34
-
35
- <!-- <el-tooltip class="item" placement="top" :content="'Editar Cargo'">
36
- <base-button size="md" type="link" disabled class="text-primary h-25 my-auto px-2 w-auto"
37
- @click="$emit('first-icon-click', { firstFieldText: firstFieldValue })">
38
- <font-awesome-icon :icon="['fas', 'save']" class="mr-2" />
39
- </base-button>
40
- </el-tooltip> -->
41
- </div>
42
-
43
- <label for="trainings" class="col-12 form-control-label">Acesso aos Treinamentos</label>
44
- <!--não estou conseguindo listar o userTrainingsSelecteds vindo com (id, name)-->
45
- <el-select
46
- v-model="userTrainingsSelecteds"
47
- id="trainings"
48
- class="d-block col-12"
49
- multiple
50
- placeholder="Selecionar"
51
- >
52
- <el-option
53
- v-for="item in itemsToSelect"
54
- :key="`course-to-select-${item.id}`"
55
- :value="item.id"
56
- :label="item.name">
57
- </el-option>
58
- </el-select>
59
-
60
- <div class="col-12">
61
- <a @click.prevent="$emit('first-element-click')" class="btn btn-link text-danger cursor-pointer pl-0">Remover Aluno</a>
62
- </div>
63
-
64
- </modal>
65
- </template>
66
- <script>
67
- import { Select, Option } from 'element-ui';
68
- export default {
69
- components: {
70
- [Select.name]: Select,
71
- [Option.name]: Option
72
- },
73
- data() {
74
- return {
75
- firstFieldValue: this.propFirstFieldValue,
76
- userTrainingsSelecteds: [],
77
- showModal: this.openModal
78
- };
79
- },
80
- props: {
81
- propFirstFieldValue: {
82
- type: String,
83
- default: ''
84
- },
85
- email: {
86
- type: String,
87
- default: ''
88
- },
89
- role: {
90
- type: String,
91
- default: ''
92
- },
93
- openModal: false,
94
- userTrainings: {
95
- type: Array,
96
- default: () => []
97
- },
98
- itemsToSelect: {
99
- type: Array,
100
- default: () => []
101
- },
102
- },
103
- methods:{
104
- closeModal(){
105
- this.$emit('close-modal');
106
- }
107
- },
108
- watch: {
109
- userTrainings(newValue) {
110
- console.log(newValue);
111
- this.userTrainingsSelecteds = newValue;
112
-
113
- },
114
-
115
- userTrainingsSelecteds(newValue, oldVal) {
116
- if (oldVal != newValue) {
117
- console.log('change on if');
118
- this.$emit('change-selecteds', {
119
- oldSelecteds: oldVal,
120
- newSelecteds: newValue,
121
- });
122
- }
123
- },
124
-
125
- openModal(value) {
126
- this.showModal = value;
127
- },
128
-
129
- propFirstFieldValue(value) {
130
- this.firstFieldValue = value;
131
- }
132
- }
133
- };
134
- </script>
1
+ <template>
2
+ <modal :show.sync="showModal"
3
+ modalContentClasses="container-fluid" headerClasses="row px-4" bodyClasses="row px-4 pt-3"
4
+ v-on:close="closeModal()">
5
+ <template slot="header">
6
+ <h5 class="pl-3 modal-title">Acesso</h5>
7
+ </template>
8
+
9
+ <div class="col-12 d-flex">
10
+ <div
11
+ id="role"
12
+ tag="div"
13
+ class="d-flex flex-column mb-3"
14
+ name="role"
15
+ >
16
+ <label for="email" class="form-control-label">Email</label>
17
+ <el-input disabled v-model="email"></el-input>
18
+ </div>
19
+ </div>
20
+
21
+ <div class="col-12 d-flex">
22
+ <div
23
+ id="role"
24
+ tag="div"
25
+ class="d-flex flex-column mb-3"
26
+ name="role"
27
+ >
28
+
29
+ <label for="role" class="form-control-label">Cargo</label>
30
+ <el-input disabled v-model="role"></el-input>
31
+ </div>
32
+
33
+ <!-- Habilitar novamente caso volte a ser usado -->
34
+
35
+ <!-- <el-tooltip class="item" placement="top" :content="'Editar Cargo'">
36
+ <base-button size="md" type="link" disabled class="text-primary h-25 my-auto px-2 w-auto"
37
+ @click="$emit('first-icon-click', { firstFieldText: firstFieldValue })">
38
+ <font-awesome-icon :icon="['fas', 'save']" class="mr-2" />
39
+ </base-button>
40
+ </el-tooltip> -->
41
+ </div>
42
+
43
+ <label for="trainings" class="col-12 form-control-label">Acesso aos Treinamentos</label>
44
+ <!--não estou conseguindo listar o userTrainingsSelecteds vindo com (id, name)-->
45
+ <el-select
46
+ v-model="userTrainingsSelecteds"
47
+ id="trainings"
48
+ class="d-block col-12"
49
+ multiple
50
+ placeholder="Selecionar"
51
+ >
52
+ <el-option
53
+ v-for="item in itemsToSelect"
54
+ :key="`course-to-select-${item.id}`"
55
+ :value="item.id"
56
+ :label="item.name">
57
+ </el-option>
58
+ </el-select>
59
+
60
+ <div class="col-12">
61
+ <a @click.prevent="$emit('first-element-click')" class="btn btn-link text-danger cursor-pointer pl-0">Remover Aluno</a>
62
+ </div>
63
+
64
+ </modal>
65
+ </template>
66
+ <script>
67
+ import { Select, Option } from 'element-ui';
68
+ export default {
69
+ components: {
70
+ [Select.name]: Select,
71
+ [Option.name]: Option
72
+ },
73
+ data() {
74
+ return {
75
+ firstFieldValue: this.propFirstFieldValue,
76
+ userTrainingsSelecteds: [],
77
+ showModal: this.openModal
78
+ };
79
+ },
80
+ props: {
81
+ propFirstFieldValue: {
82
+ type: String,
83
+ default: ''
84
+ },
85
+ email: {
86
+ type: String,
87
+ default: ''
88
+ },
89
+ role: {
90
+ type: String,
91
+ default: ''
92
+ },
93
+ openModal: false,
94
+ userTrainings: {
95
+ type: Array,
96
+ default: () => []
97
+ },
98
+ itemsToSelect: {
99
+ type: Array,
100
+ default: () => []
101
+ },
102
+ },
103
+ methods:{
104
+ closeModal(){
105
+ this.$emit('close-modal');
106
+ }
107
+ },
108
+ watch: {
109
+ userTrainings(newValue) {
110
+ console.log(newValue);
111
+ this.userTrainingsSelecteds = newValue;
112
+
113
+ },
114
+
115
+ userTrainingsSelecteds(newValue, oldVal) {
116
+ if (oldVal != newValue) {
117
+ console.log('change on if');
118
+ this.$emit('change-selecteds', {
119
+ oldSelecteds: oldVal,
120
+ newSelecteds: newValue,
121
+ });
122
+ }
123
+ },
124
+
125
+ openModal(value) {
126
+ this.showModal = value;
127
+ },
128
+
129
+ propFirstFieldValue(value) {
130
+ this.firstFieldValue = value;
131
+ }
132
+ }
133
+ };
134
+ </script>
package/package.json CHANGED
@@ -1,111 +1,112 @@
1
- {
2
- "name": "@burh/nuxt-core",
3
- "version": "1.0.322",
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
- "@blowstack/ckeditor-nuxt": "^0.6.0",
18
- "@chenfengyuan/vue-qrcode": "^1.0.1",
19
- "@ckeditor/ckeditor5-build-classic": "^27.0.0",
20
- "@fortawesome/fontawesome-svg-core": "^1.2.22",
21
- "@fortawesome/free-brands-svg-icons": "^5.10.2",
22
- "@fortawesome/free-regular-svg-icons": "^5.10.2",
23
- "@fortawesome/free-solid-svg-icons": "^5.10.2",
24
- "@fortawesome/vue-fontawesome": "^0.1.7",
25
- "@fullcalendar/core": "^4.2.0",
26
- "@fullcalendar/daygrid": "^4.1.0",
27
- "@fullcalendar/interaction": "^4.1.0",
28
- "@fullcalendar/timegrid": "^4.1.0",
29
- "@fullcalendar/vue": "^4.2.2",
30
- "@nuxtjs/axios": "^5.3.6",
31
- "@nuxtjs/google-adsense": "^1.1.3",
32
- "@nuxtjs/google-tag-manager": "^2.3.1",
33
- "@nuxtjs/pwa": "^3.0.0-beta.16",
34
- "bootstrap": "4.3.1",
35
- "chart.js": "^2.8.0",
36
- "d3": "^5.9.2",
37
- "datamaps": "^0.5.9",
38
- "date-fns": "^1.30.1",
39
- "dropzone": "^5.5.1",
40
- "element-ui": "2.13.0",
41
- "es6-promise": "^4.2.6",
42
- "file-loader": "^6.0.0",
43
- "flag-icon-css": "^3.4.5",
44
- "flatpickr": "^4.5.7",
45
- "fuse.js": "^3.4.5",
46
- "google-maps": "^3.3.0",
47
- "heic2any": "0.0.2",
48
- "local-web-server": "^3.0.7",
49
- "mobile-device-detect": "^0.3.3",
50
- "moment": "^2.24.0",
51
- "nouislider": "^13.1.5",
52
- "nuxt": "^2.8.1",
53
- "nuxt-fontawesome": "^0.4.0",
54
- "nuxt-google-maps-module": "^1.6.0",
55
- "nuxt-maintenance-mode": "^0.3.0",
56
- "nuxt-sass-resources-loader": "^2.0.5",
57
- "nuxt-validate": "^1.0.1",
58
- "nuxt-vuex-localstorage": "^1.2.6",
59
- "passport-linkedin": "^1.0.0",
60
- "perfect-scrollbar": "^1.4.0",
61
- "prismjs": "^1.17.1",
62
- "quill": "^1.3.6",
63
- "quill-image-resize-module": "^3.0.0",
64
- "read-env": "^1.3.0",
65
- "sticky-js": "^1.2.0",
66
- "sweetalert2": "^8.11.6",
67
- "v-owl-carousel": "^1.0.8",
68
- "v-resize": "^0.1.1",
69
- "vee-validate": "^2.2.8",
70
- "vue": "^2.6.10",
71
- "vue-chartjs": "^3.4.2",
72
- "vue-clipboard2": "^0.3.0",
73
- "vue-croppie": "^2.0.1",
74
- "vue-flatpickr-component": "^8.1.2",
75
- "vue-form-generator": "^2.3.4",
76
- "vue-loading-overlay": "^3.3.2",
77
- "vue-nav-tabs": "^0.5.7",
78
- "vue-plain-pagination": "^0.3.0",
79
- "vue-slick-carousel": "^1.0.6",
80
- "vue-the-mask": "^0.11.1",
81
- "vue2-transitions": "^0.3.0",
82
- "webp-loader": "^0.6.0"
83
- },
84
- "devDependencies": {
85
- "autoprefixer": "^9.6.1",
86
- "babel-eslint": "^10.0.3",
87
- "babel-plugin-component": "^1.1.0",
88
- "browser-sync": "^2.26.7",
89
- "cross-env": "^5.2.0",
90
- "cssnano": "^4.1.10",
91
- "del": "^5.0.0",
92
- "eslint": "^6.8.0",
93
- "eslint-plugin-vue": "^6.1.2",
94
- "img-loader": "^3.0.1",
95
- "lodash": "^4.17.15",
96
- "node-dir": "^0.1.17",
97
- "node-sass": "^5.0.0",
98
- "nodemon": "^1.18.9",
99
- "sass-loader": "^7.1.0"
100
- },
101
- "main": "dictionary.js",
102
- "repository": {
103
- "type": "git",
104
- "url": "git+ssh://git@gitlab.com/gabrielesnack/burh-core.git"
105
- },
106
- "license": "UNLICENSED",
107
- "bugs": {
108
- "url": "https://gitlab.com/gabrielesnack/burh-core/issues"
109
- },
110
- "homepage": "https://gitlab.com/gabrielesnack/burh-core#readme"
111
- }
1
+ {
2
+ "name": "@burh/nuxt-core",
3
+ "version": "1.0.325",
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
+ "core:publish": "npm version patch && npm publish && git push"
15
+ },
16
+ "dependencies": {
17
+ "@babel/core": "^7.4.5",
18
+ "@blowstack/ckeditor-nuxt": "^0.6.0",
19
+ "@chenfengyuan/vue-qrcode": "^1.0.1",
20
+ "@ckeditor/ckeditor5-build-classic": "^27.0.0",
21
+ "@fortawesome/fontawesome-svg-core": "^1.2.22",
22
+ "@fortawesome/free-brands-svg-icons": "^5.10.2",
23
+ "@fortawesome/free-regular-svg-icons": "^5.10.2",
24
+ "@fortawesome/free-solid-svg-icons": "^5.10.2",
25
+ "@fortawesome/vue-fontawesome": "^0.1.7",
26
+ "@fullcalendar/core": "^4.2.0",
27
+ "@fullcalendar/daygrid": "^4.1.0",
28
+ "@fullcalendar/interaction": "^4.1.0",
29
+ "@fullcalendar/timegrid": "^4.1.0",
30
+ "@fullcalendar/vue": "^4.2.2",
31
+ "@nuxtjs/axios": "^5.3.6",
32
+ "@nuxtjs/google-adsense": "^1.1.3",
33
+ "@nuxtjs/google-tag-manager": "^2.3.1",
34
+ "@nuxtjs/pwa": "^3.0.0-beta.16",
35
+ "bootstrap": "4.3.1",
36
+ "chart.js": "^2.8.0",
37
+ "d3": "^5.9.2",
38
+ "datamaps": "^0.5.9",
39
+ "date-fns": "^1.30.1",
40
+ "dropzone": "^5.5.1",
41
+ "element-ui": "2.13.0",
42
+ "es6-promise": "^4.2.6",
43
+ "file-loader": "^6.0.0",
44
+ "flag-icon-css": "^3.4.5",
45
+ "flatpickr": "^4.5.7",
46
+ "fuse.js": "^3.4.5",
47
+ "google-maps": "^3.3.0",
48
+ "heic2any": "0.0.2",
49
+ "local-web-server": "^3.0.7",
50
+ "mobile-device-detect": "^0.3.3",
51
+ "moment": "^2.24.0",
52
+ "nouislider": "^13.1.5",
53
+ "nuxt": "^2.8.1",
54
+ "nuxt-fontawesome": "^0.4.0",
55
+ "nuxt-google-maps-module": "^1.6.0",
56
+ "nuxt-maintenance-mode": "^0.3.0",
57
+ "nuxt-sass-resources-loader": "^2.0.5",
58
+ "nuxt-validate": "^1.0.1",
59
+ "nuxt-vuex-localstorage": "^1.2.6",
60
+ "passport-linkedin": "^1.0.0",
61
+ "perfect-scrollbar": "^1.4.0",
62
+ "prismjs": "^1.17.1",
63
+ "quill": "^1.3.6",
64
+ "quill-image-resize-module": "^3.0.0",
65
+ "read-env": "^1.3.0",
66
+ "sticky-js": "^1.2.0",
67
+ "sweetalert2": "^8.11.6",
68
+ "v-owl-carousel": "^1.0.8",
69
+ "v-resize": "^0.1.1",
70
+ "vee-validate": "^2.2.8",
71
+ "vue": "^2.6.10",
72
+ "vue-chartjs": "^3.4.2",
73
+ "vue-clipboard2": "^0.3.0",
74
+ "vue-croppie": "^2.0.1",
75
+ "vue-flatpickr-component": "^8.1.2",
76
+ "vue-form-generator": "^2.3.4",
77
+ "vue-loading-overlay": "^3.3.2",
78
+ "vue-nav-tabs": "^0.5.7",
79
+ "vue-plain-pagination": "^0.3.0",
80
+ "vue-slick-carousel": "^1.0.6",
81
+ "vue-the-mask": "^0.11.1",
82
+ "vue2-transitions": "^0.3.0",
83
+ "webp-loader": "^0.6.0"
84
+ },
85
+ "devDependencies": {
86
+ "autoprefixer": "^9.6.1",
87
+ "babel-eslint": "^10.0.3",
88
+ "babel-plugin-component": "^1.1.0",
89
+ "browser-sync": "^2.26.7",
90
+ "cross-env": "^5.2.0",
91
+ "cssnano": "^4.1.10",
92
+ "del": "^5.0.0",
93
+ "eslint": "^6.8.0",
94
+ "eslint-plugin-vue": "^6.1.2",
95
+ "img-loader": "^3.0.1",
96
+ "lodash": "^4.17.15",
97
+ "node-dir": "^0.1.17",
98
+ "node-sass": "^5.0.0",
99
+ "nodemon": "^1.18.9",
100
+ "sass-loader": "^7.1.0"
101
+ },
102
+ "main": "dictionary.js",
103
+ "repository": {
104
+ "type": "git",
105
+ "url": "git+ssh://git@gitlab.com/gabrielesnack/burh-core.git"
106
+ },
107
+ "license": "UNLICENSED",
108
+ "bugs": {
109
+ "url": "https://gitlab.com/gabrielesnack/burh-core/issues"
110
+ },
111
+ "homepage": "https://gitlab.com/gabrielesnack/burh-core#readme"
112
+ }