@burh/nuxt-core 1.0.232 → 1.0.233

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.
@@ -16,7 +16,6 @@
16
16
  :class="'w-100'"
17
17
  @change="addNumber(receiver)"
18
18
  />
19
-
20
19
  <div class="row justify-content-start">
21
20
  <badge
22
21
  v-for="(numbers, index) in allNumbers"
@@ -150,6 +149,7 @@ import { Select, Option, Checkbox, Tooltip, Button } from 'element-ui';
150
149
  import { mask } from 'vue-the-mask';
151
150
  import swal from 'sweetalert2';
152
151
  import { isConsole } from 'mobile-device-detect';
152
+ import BaseInput from '../../argon-core/Inputs/BaseInput.vue';
153
153
  export default {
154
154
  directives: { mask },
155
155
  name: 'send-sms',
@@ -261,9 +261,14 @@ export default {
261
261
  }
262
262
  },
263
263
  addNumber(number) {
264
+ if(this.receiver.length < 15){
265
+ return;
266
+ }
267
+
264
268
  this.allNumbers.push(number);
265
269
  this.receiver = '';
266
270
  },
271
+
267
272
  deleteNumber(index) {
268
273
  this.allNumbers.splice(index, 1);
269
274
  },
@@ -291,7 +296,7 @@ export default {
291
296
  );
292
297
  }
293
298
  },
294
- mounted() {}
299
+
295
300
  };
296
301
  </script>
297
302
  <style lang="scss">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.232",
3
+ "version": "1.0.233",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {