@nixweb/nixloc-ui 0.0.280 → 0.0.282

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.280",
3
+ "version": "0.0.282",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -1,19 +1,19 @@
1
1
  <template>
2
2
  <div class="c-div-button" v-b-tooltip.hover :title="tooltip">
3
3
  <button :style="'background-color:' + backGroundColor + ';color:' + color" class="button" :class="{
4
- small: size === 'small',
5
- medium: size === 'medium',
6
- large: size === 'large',
7
- primary: type === 'primary',
8
- success: type === 'success',
9
- warning: type === 'warning',
10
- info: type === 'info',
11
- edit: type === 'edit',
12
- danger: type === 'danger',
13
- disabled: disabled,
14
- }" :disabled="disabled" @click="execute()">
4
+ small: size === 'small',
5
+ medium: size === 'medium',
6
+ large: size === 'large',
7
+ primary: type === 'primary',
8
+ success: type === 'success',
9
+ warning: type === 'warning',
10
+ info: type === 'info',
11
+ edit: type === 'edit',
12
+ danger: type === 'danger',
13
+ disabled: disabled,
14
+ }" :disabled="disabled" @click="execute()">
15
15
  <i class="div-icon-btn" :class="classIcon" v-if="!isLoading(this._key) && classIcon"></i>
16
- <span v-if="!isLoading(this._key)">{{ title }}</span>
16
+ <span class="title-btn" v-if="!isLoading(this._key)">{{ title }}</span>
17
17
  <vue-loading v-if="isLoading(this._key)" type="bubbles" color="#fff"
18
18
  :size="{ width: '26px', height: '26px' }"></vue-loading>
19
19
  </button>
@@ -65,11 +65,11 @@ export default {
65
65
  }
66
66
 
67
67
  .div-icon-btn {
68
- margin-right: 3px;
68
+ margin-right: 0px;
69
69
  }
70
70
 
71
- .title {
72
- margin: 2px;
71
+ .title-btn {
72
+ margin-left: 3px;
73
73
  }
74
74
 
75
75
  .button {
@@ -14,9 +14,9 @@
14
14
  <SelectStatic classCss="select-search" fieldTarget="filter" :onlyQuery="true"
15
15
  :initialValue="{ content: 'Contém', id: 'contains' }" v-model="search.filter" :showBorder="false"
16
16
  :data="[
17
- { content: 'Contém', id: 'contains' },
18
- { content: 'Igual', id: 'equal' },
19
- ]" />
17
+ { content: 'Contém', id: 'contains' },
18
+ { content: 'Igual', id: 'equal' },
19
+ ]" />
20
20
  </div>
21
21
  </b-col>
22
22
  </b-row>
@@ -110,8 +110,8 @@ export default {
110
110
  border-radius: 8px;
111
111
  padding-left: 10px;
112
112
  padding-right: 7px;
113
- margin-right: 10px;
114
- margin-bottom: 10px;
113
+ margin-right: 5px;
114
+ margin-bottom: 5px;
115
115
  font-size: 16px;
116
116
  font-weight: normal;
117
117
  display: flex;
@@ -279,8 +279,10 @@ export default {
279
279
  this.dynamicFilter = result;
280
280
  },
281
281
  confirmRemoved() {
282
+ this.confirmRemove = "";
282
283
  this.removeLoading(["remove"]);
283
284
  this.openModal("confirmRemoved");
285
+
284
286
  },
285
287
  removeSelected() {
286
288
  let params = {
@@ -649,6 +649,7 @@ export default {
649
649
  })
650
650
  .then((response) => {
651
651
 
652
+
652
653
  let blob = new Blob([response.data], { type: `application/${params.obj.fileType}` });
653
654
  let url = window.URL.createObjectURL(blob);
654
655
 
@@ -789,6 +790,7 @@ export default {
789
790
  headers: new Token().tokenHeaders(),
790
791
  })
791
792
  .then((response) => {
793
+
792
794
  let blob = new Blob([response.data], { type: "application/pdf" }),
793
795
  url = window.URL.createObjectURL(blob);
794
796
  window.open(url);