@nixweb/nixloc-ui 0.0.263 → 0.0.264

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.263",
3
+ "version": "0.0.264",
4
4
  "description": "Componentes UI",
5
5
  "author": "Fábio Ávila <fabio@nixweb.com.br>",
6
6
  "private": false,
@@ -6,9 +6,9 @@
6
6
  <Tip :field="field" :formName="formName" />
7
7
  </label>
8
8
  <div class="select" :class="{
9
- 'select-invalid': notifications.length > 0 && formDirty,
10
- border: showBorder,
11
- }">
9
+ 'select-invalid': notifications.length > 0 && formDirty,
10
+ border: showBorder,
11
+ }">
12
12
  <multiselect @open="onOpen" @select="onSelected" @search-change="onSearch" :options="data"
13
13
  v-model.trim="currentValue" :custom-label="label" placeholder :disabled="disabled" :showLabels="true"
14
14
  :noResult="false" :maxHeight="250" ref="multiselect" selectLabel deselectLabel selectedLabel>
@@ -1,28 +1,13 @@
1
1
  <template>
2
2
  <div>
3
- <FixedBar
4
- :position="positionFixedBar"
5
- backgroundColor="#FAFAFC"
6
- v-show="formDirty && !modal.open && on || showFixed"
7
- >
3
+ <FixedBar :position="positionFixedBar" backgroundColor="#FAFAFC"
4
+ v-show="formDirty && !modal.open && on || showFixed">
8
5
  <div class="margin" :style="'margin-bottom:' + marginBottom + 'px'">
9
- <Button
10
- _key="cancelSaveCancel"
11
- eventName="cancelSaveCancel"
12
- title="Cancelar"
13
- type="danger"
14
- size="small"
15
- :clicked="cancel"
16
- />
17
- <Button
18
- _key="saveSaveCancel"
19
- :eventName="eventName"
20
- classIcon="fa-solid fa-floppy-disk"
21
- title="Salvar"
22
- type="success"
23
- :disabled="!isFormValid(formName)"
24
- size="medium"
25
- />
6
+ <Button _key="cancelSaveCancel" eventName="cancelSaveCancel" title="Cancelar" type="danger" size="small"
7
+ :clicked="cancel" />
8
+ <Button _key="saveSaveCancel" :eventName="eventName" classIcon="fa-solid fa-floppy-disk" title="Salvar"
9
+ type="success" :disabled="!isFormValid(formName)" size="medium" />
10
+ <slot></slot>
26
11
  </div>
27
12
  </FixedBar>
28
13
  </div>
@@ -202,6 +202,7 @@ export default {
202
202
  let paramsQuery = { url: this.urlQuery };
203
203
  this.resetData();
204
204
  this.getApiOdata(paramsQuery).then((response) => {
205
+
205
206
  this.isLoading = true;
206
207
  let totalRecords = response["@odata.count"];
207
208
  this.loadingSearch = false;