@nixweb/nixloc-ui 0.0.148 → 0.0.150

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nixweb/nixloc-ui",
3
- "version": "0.0.148",
3
+ "version": "0.0.150",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -1,10 +1,7 @@
1
1
  <template>
2
2
  <div>
3
- <div class="photo-container" @click="hideShow = !hideShow">
4
- <img
5
- src="https://portal1.iff.edu.br/desenvolvimento-institucional/imagens/avatar.jpg/@@images/image.jpeg"
6
- alt="Avatar"
7
- />
3
+ <div class="icon-logout" @click="execute">
4
+ <i class="fa-duotone fa-right-from-bracket"></i>
8
5
  </div>
9
6
  <div class="profile-container" v-if="hideShow">
10
7
  <div class="item-header text-center">
@@ -57,14 +54,16 @@ export default {
57
54
  };
58
55
  </script>
59
56
  <style scoped>
60
- .photo-container {
57
+ .icon-logout {
61
58
  margin-top: -37px;
62
- padding-right: 30px;
59
+ padding-right: 18px;
63
60
  cursor: pointer;
64
61
  position: fixed;
65
62
  float: right;
66
63
  left: auto;
67
64
  right: 0;
65
+ color: white;
66
+ font-size: 20px;
68
67
  }
69
68
 
70
69
  img {
@@ -1,6 +1,5 @@
1
1
  <template>
2
2
  <div>
3
- <div class="top-margin"></div>
4
3
  <div class="top" :style="'background-color:' + backgroundColor">
5
4
  <div class="side-by-side top-space">
6
5
  <slot></slot>
@@ -26,16 +25,16 @@ export default {
26
25
 
27
26
  <style scoped>
28
27
  .top {
29
- border-radius: 12px 12px 12px 12px;
30
- margin-top: 7px;
31
- left: 120px;
32
- right: 1%;
33
- height: 50px;
28
+ padding-left: 110px;
29
+ padding-top: 4px;
30
+ left: 0px;
31
+ right: 0;
32
+ height: 55px;
34
33
  top: 0;
35
- z-index: 1000;
36
34
  box-shadow: 0px 10px 30px -6px rgb(0 0 0 / 10%);
37
35
  border-bottom: 0px solid #eff0f1;
38
36
  position: fixed;
37
+ z-index: 5;
39
38
  }
40
39
 
41
40
  .top-space {
@@ -1,12 +1,15 @@
1
1
  <template>
2
2
  <div class="menu-container" :class="{ 'menu-open': subMenuFirstLevel }">
3
3
  <ul class="menu">
4
- <li v-if="urlImage">
4
+ <li v-if="false">
5
5
  <div class="div-logo text-center">
6
6
  <img :src="urlImage" />
7
7
  </div>
8
8
  </li>
9
9
  <li class="molded">
10
+ <div class="text-center">
11
+ <img class="photo" :src="urlPhoto" />
12
+ </div>
10
13
  <div
11
14
  class="box-main"
12
15
  v-for="(item, index) in menuFilter(true)"
@@ -104,6 +107,7 @@ export default {
104
107
  default: "#3F529B",
105
108
  },
106
109
  urlImage: String,
110
+ urlPhoto: String,
107
111
  },
108
112
  data() {
109
113
  return {
@@ -181,6 +185,15 @@ export default {
181
185
  padding-bottom: 15px;
182
186
  }
183
187
 
188
+ .photo {
189
+ margin: 0;
190
+ border-radius: 20px;
191
+ height: 40px;
192
+ width: 40px;
193
+ margin-top: 10px;
194
+ margin-bottom: 20px;
195
+ }
196
+
184
197
  .icon-close {
185
198
  margin-right: 10px;
186
199
  margin-top: -5px;
@@ -231,7 +244,7 @@ img {
231
244
 
232
245
  .molded {
233
246
  margin-top: 5px;
234
- margin-left: 10px;
247
+ margin-left: 8px;
235
248
  padding: 5px;
236
249
  padding-bottom: 1px !important;
237
250
  background-color: white !important;
@@ -135,7 +135,7 @@ export default {
135
135
  }
136
136
 
137
137
  .panel {
138
- margin-top: 50px;
138
+ margin-top: 30px;
139
139
  padding-left: 30px;
140
140
  padding-right: 30px;
141
141
  }
@@ -26,7 +26,7 @@
26
26
  import ScrollBar from "@nixweb/nixloc-ui/src/component/layout/ScrollBar.vue";
27
27
 
28
28
  export default {
29
- name: "ListErrorImport",
29
+ name: "ListNotifications",
30
30
  props: {
31
31
  listError: Array,
32
32
  },
@@ -116,7 +116,7 @@
116
116
  :height="750"
117
117
  v-show="showModal('listError')"
118
118
  >
119
- <ListErrorImport :listError="listError" />
119
+ <ListNotifications :listError="listError" />
120
120
  </Modal>
121
121
  </div>
122
122
  </template>
@@ -131,7 +131,7 @@ import Alert from "@nixweb/nixloc-ui/src/component/layout/Alert";
131
131
  import Modal from "@nixweb/nixloc-ui/src/component/forms/Modal";
132
132
 
133
133
  import TableImport from "@nixweb/nixloc-ui/src/component/shared/TableImport.vue";
134
- import ListErrorImport from "@nixweb/nixloc-ui/src/component/shared/ListErrorImport.vue";
134
+ import ListNotifications from "@nixweb/nixloc-ui/src/component/shared/ListNotifications.vue";
135
135
 
136
136
  import { mapState, mapActions, mapMutations, mapGetters } from "vuex";
137
137
 
@@ -143,7 +143,7 @@ export default {
143
143
  Molded,
144
144
  FileUpload,
145
145
  Loading,
146
- ListErrorImport,
146
+ ListNotifications,
147
147
  TableImport,
148
148
  Alert,
149
149
  Modal,