@metano/quasar_rest_auth 1.0.5 → 1.0.7

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.
@@ -1,18 +1,21 @@
1
1
  <template>
2
2
  <div >
3
- <q-input standout v-model="Auth.search" square :class="[$q.dark.isActive ? 'bg-transparent ' : 'bg-transparent', 'input-28', 'q-pa-0']" dense @update:model-value="filterMenus"
4
- :label=" ' ' + tdc(' Procurar') + ' '">
5
- <template v-slot:append>
6
- <q-icon name="search" />
7
- </template>
8
- </q-input>
3
+ <input
4
+ v-model="Auth.search"
5
+ class="bg-transparent input-28 "
6
+ @input="filterMenus"
7
+ :placeholder="tdc('Procurar')"
8
+ />
9
9
  </div>
10
10
  </template>
11
11
 
12
12
  <style scoped>
13
- .input-28 .q-field__control {
13
+ .input-28 {
14
14
  height: 28px;
15
- min-height: 28px;
15
+ line-height: 28px; /* centraliza o texto verticalmente */
16
+ width: 220px; /* ajuste o comprimento aqui */
17
+ padding: 0 8px; /* espaço interno lateral */
18
+ box-sizing: border-box;
16
19
  }
17
20
  </style>
18
21
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.0.5",
6
+ "version": "1.0.7",
7
7
  "description": "Rest em quasar para autenticacao",
8
8
  "keywords": [
9
9
  "rest",
@@ -7,8 +7,8 @@
7
7
  <script>
8
8
  import { defineComponent } from 'vue'
9
9
 
10
- import { UserStore } from '@metano/quasar/stores/AuthStore'
11
- import FormLogin from '@metano/quasar/components/FormLogin.vue'
10
+ import { UserStore } from './../../stores/AuthStore'
11
+ import FormLogin from './../../components/FormLogin.vue'
12
12
 
13
13
  export default defineComponent({
14
14
  components: {
@@ -449,7 +449,7 @@ export const UserStore = defineStore("user", {
449
449
  async setEntidadeModulos () {
450
450
  if (getStorage('c', 'userEntidade') !== null) {
451
451
 
452
- const rsp = await HTTPAuth.get(url({ type: 'u', url: 'auth/entidades/' + this.Entidade.id + '/modulos/', params: { } }))
452
+ const rsp = await HTTPAuth.get(url({ type: 'u', url: 'auth/entidades/' + this.Entidade?.id + '/modulos/', params: { } }))
453
453
  .then(res => {
454
454
  setStorage('c', 'entidadeModulos', JSON.stringify(res.data), 365)
455
455
  this.EntidadeModulos = res.data