@nixweb/nixloc-ui 0.0.289 → 0.0.290

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.289",
3
+ "version": "0.0.290",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -1,17 +1,7 @@
1
1
  <template>
2
2
  <div>
3
- <b-sidebar
4
- id="my-sidebar"
5
- :title="title"
6
- width="90%"
7
- bg-variant="white"
8
- no-header
9
- right
10
- backdrop-variant="dark"
11
- @hidden="hideSideBar"
12
- backdrop
13
- shadow
14
- >
3
+ <b-sidebar id="my-sidebar" :title="title" width="90%" bg-variant="white" no-header right backdrop-variant="dark"
4
+ @hidden="hideSideBar" backdrop shadow>
15
5
  <div class="margin-side-bar">
16
6
  <div>
17
7
  <Messages />
@@ -73,22 +63,22 @@ export default {
73
63
  padding-top: 20px !important;
74
64
  }
75
65
 
76
- .b-sidebar > .b-sidebar-body {
66
+ .b-sidebar>.b-sidebar-body {
77
67
  overflow-y: scroll !important;
78
68
  }
79
69
 
80
- .b-sidebar > .b-sidebar-body::-webkit-scrollbar-track {
70
+ .b-sidebar>.b-sidebar-body::-webkit-scrollbar-track {
81
71
  background-color: white;
82
72
  border-radius: 20px;
83
73
  }
84
74
 
85
- .b-sidebar > .b-sidebar-body::-webkit-scrollbar {
75
+ .b-sidebar>.b-sidebar-body::-webkit-scrollbar {
86
76
  width: 6px;
87
77
  background-color: #b9babb;
88
78
  border-radius: 20px;
89
79
  }
90
80
 
91
- .b-sidebar > .b-sidebar-body::-webkit-scrollbar-thumb {
81
+ .b-sidebar>.b-sidebar-body::-webkit-scrollbar-thumb {
92
82
  background-color: #b9babb;
93
83
  border-radius: 20px;
94
84
  }
@@ -28,10 +28,13 @@
28
28
  </b-col>
29
29
  </b-row>
30
30
  </div>
31
- <div v-if="item.type == 'multiOptions'">
31
+ <div v-if="item.type == 'multiOptions' || item.type == 'listOptions'">
32
32
  <div class="div-multi-options">
33
- <CheckboxServer :title="item.title" :propsParams="item.propsParams" :url="item.url"
34
- v-model="item.value" />
33
+ <CheckboxServer v-if="!item.options" :title="item.title"
34
+ :propsParams="item.propsParams" :url="item.url" v-model="item.value" />
35
+
36
+ <CheckboxGroup v-else :title="item.title" :options="item.options"
37
+ :initialValue="item.value" v-model="item.value" />
35
38
  </div>
36
39
  </div>
37
40
  <InputText v-if="item.type == 'text' || item.type == 'patrimony'" :title="item.title"
@@ -94,6 +97,7 @@ export default {
94
97
  {
95
98
  id: filter.type,
96
99
  content: filter.title,
100
+ listName: filter.listName,
97
101
  field: filter.field,
98
102
  options: filter.options,
99
103
  title: filter.title,
@@ -110,6 +114,7 @@ export default {
110
114
  return this.filtersAdded.map(item => ({
111
115
  routeName: this.$route.name,
112
116
  title: item.title,
117
+ listName: item.listName,
113
118
  field: item.field,
114
119
  type: item.type,
115
120
  originalValue: item.value,
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="div-main">
2
+ <div class="div-main-filter">
3
3
  <div>
4
4
  <Button _key="btnFilter" tooltip="Aplicar Filtros" color="black" backGroundColor="#F0F0F0" title="Filtros"
5
5
  classIcon="fa-sharp fa-solid fa-filters" size="small" :clicked="openFilter" />
@@ -84,7 +84,7 @@ export default {
84
84
 
85
85
  </script>.
86
86
  <style>
87
- .div-main {
87
+ .div-main-filter {
88
88
  margin-bottom: 20px;
89
89
  }
90
90