@burh/nuxt-core 1.0.441 → 1.0.442

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,9 +1,14 @@
1
1
  <template>
2
- <div class="input__container__icon" :class="{ 'input__disabled': disabled }">
2
+ <div class="input__container__icon" :class="{ 'input__disabled': disabled || isLocked }" @click="isLocked && $emit('open-plan-modal')">
3
3
  <label for="search">
4
- <i class="fas fa-search"></i>
4
+ <template v-if="!isLocked">
5
+ <i class="fas fa-search"></i>
6
+ </template>
7
+ <template v-else>
8
+ <i class="fas fa-lock"></i>
9
+ </template>
5
10
  </label>
6
- <input type="text" name="search" id="search" :disabled="disabled" :placeholder="placeholder" v-model="searchModel" @change="$emit('change')">
11
+ <input type="text" name="search" id="search" :disabled="disabled || isLocked" :placeholder="placeholder" v-model="searchModel" @change="$emit('change')">
7
12
  </div>
8
13
  </template>
9
14
 
@@ -19,6 +24,10 @@ export default {
19
24
  placeholder: {
20
25
  type: String,
21
26
  default: 'Busque por vaga'
27
+ },
28
+ isLocked: {
29
+ type: Boolean,
30
+ default: false
22
31
  }
23
32
  },
24
33
  data() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.441",
3
+ "version": "1.0.442",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {