renusify 1.1.4 → 1.2.0

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.
Files changed (84) hide show
  1. package/components/app/notify/notification.vue +2 -1
  2. package/components/app/toast/index.vue +7 -2
  3. package/components/app/toast/toast.vue +2 -0
  4. package/components/avatar/index.vue +29 -23
  5. package/components/bar/bottomNavigationCircle.vue +8 -3
  6. package/components/bar/scss/bottomNav.scss +1 -1
  7. package/components/bar/toolbar/laptop.vue +4 -4
  8. package/components/bar/toolbar/mixin.js +1 -2
  9. package/components/bar/toolbar/mobile.vue +5 -4
  10. package/components/breadcrumb/index.vue +1 -0
  11. package/components/button/buttonConfirm.vue +1 -1
  12. package/components/button/buttonGroup.vue +1 -0
  13. package/components/button/style.scss +1 -0
  14. package/components/calendar/index.vue +1 -0
  15. package/components/calendar/month.vue +1 -0
  16. package/components/calendar/year.vue +1 -0
  17. package/components/chat/chatInput.vue +1 -0
  18. package/components/chat/chatMsg.vue +1 -0
  19. package/components/chat/index.vue +1 -0
  20. package/components/chip/index.vue +1 -0
  21. package/components/codeEditor/index.vue +0 -2
  22. package/components/confirm/index.vue +1 -0
  23. package/components/countdown/index.vue +1 -0
  24. package/components/float/index.vue +1 -0
  25. package/components/form/address.vue +6 -2
  26. package/components/form/camInput.vue +10 -3
  27. package/components/form/check-input.vue +95 -94
  28. package/components/form/checkbox.vue +1 -1
  29. package/components/form/colorPicker/index.vue +1 -0
  30. package/components/form/colorPicker/picker.vue +1 -0
  31. package/components/form/datePicker/index.vue +349 -348
  32. package/components/form/datePicker/month.vue +1 -0
  33. package/components/form/datePicker/year.vue +1 -0
  34. package/components/form/fileUploader/file.js +21 -3
  35. package/components/form/fileUploader/index.vue +13 -2
  36. package/components/form/fileUploader/single.vue +4 -2
  37. package/components/form/form.vue +1 -0
  38. package/components/form/group-input.vue +42 -38
  39. package/components/form/input.vue +253 -1
  40. package/components/form/inputTel/index.vue +22 -12
  41. package/components/form/json/JsonView.vue +95 -94
  42. package/components/form/json/index.vue +2 -0
  43. package/components/form/mask-input.vue +1 -0
  44. package/components/form/number.vue +25 -12
  45. package/components/form/password.vue +121 -121
  46. package/components/form/radioInput.vue +1 -0
  47. package/components/form/range.vue +26 -1
  48. package/components/form/rating.vue +13 -1
  49. package/components/form/select.vue +67 -4
  50. package/components/form/switch.vue +64 -2
  51. package/components/form/text-area.vue +1 -1
  52. package/components/form/text-editor/index.vue +18 -11
  53. package/components/form/text-input.vue +1 -1
  54. package/components/form/timepicker/index.vue +2 -1
  55. package/components/form/timepicker/range.vue +2 -1
  56. package/components/form/timepicker/timepicker.vue +2 -1
  57. package/components/form/unique/index.vue +3 -1
  58. package/components/form/unit-input.vue +2 -1
  59. package/components/formCreator/index.vue +8 -6
  60. package/components/html2pdf/index.vue +1 -0
  61. package/components/img/index.vue +12 -2
  62. package/components/img/svgImg.vue +43 -0
  63. package/components/infinite/div.vue +2 -1
  64. package/components/infinite/page.vue +24 -23
  65. package/components/list/index.vue +35 -32
  66. package/components/map/index.vue +324 -306
  67. package/components/map/route.vue +1 -0
  68. package/components/map/select.vue +1 -0
  69. package/components/menu/index.vue +1 -0
  70. package/components/modal/index.vue +1 -0
  71. package/components/searchBox/index.vue +5 -3
  72. package/components/slider/index.vue +1 -0
  73. package/components/table/crud/footer.vue +1 -1
  74. package/components/table/crud/header.vue +10 -4
  75. package/components/table/crud/index.vue +463 -458
  76. package/components/tabs/index.vue +1 -0
  77. package/components/tree/index.vue +15 -13
  78. package/components/tree/tree-element.vue +8 -4
  79. package/package.json +1 -1
  80. package/style/colors.scss +1 -1
  81. package/components/form/scss/input.scss +0 -249
  82. package/components/form/scss/rating.scss +0 -9
  83. package/components/form/scss/select.scss +0 -55
  84. package/components/form/scss/switch.scss +0 -68
@@ -38,6 +38,7 @@ export default {
38
38
  default: 4000
39
39
  }
40
40
  },
41
+ emits:['hide'],
41
42
  data () {
42
43
  return {
43
44
  show: false
@@ -45,7 +46,7 @@ export default {
45
46
  },
46
47
  methods: {
47
48
  hideMe () {
48
- this.$emit('hide')
49
+ this.$emit('hide',true)
49
50
  }
50
51
  },
51
52
  created () {
@@ -10,11 +10,14 @@
10
10
  </template>
11
11
 
12
12
  <script>
13
- import Toast from './toast.vue'
13
+ import Toast from './toast.vue'
14
14
 
15
- const EVENTS = ['online', 'offline', 'load']
15
+ const EVENTS = ['online', 'offline', 'load']
16
16
  export default {
17
17
  name: 'r-toast',
18
+ props:{
19
+ showOnlineStatus: {type:Boolean,default:true}
20
+ },
18
21
  components: {
19
22
  Toast
20
23
  },
@@ -44,7 +47,9 @@
44
47
  }
45
48
  }
46
49
  )
50
+ if(this.showOnlineStatus) {
47
51
  EVENTS.forEach(event => window.addEventListener(event, this.updateOnlineStatus))
52
+ }
48
53
  },
49
54
  beforeUnmount() {
50
55
  EVENTS.forEach(event => window.removeEventListener(event, this.updateOnlineStatus))
@@ -24,6 +24,7 @@
24
24
 
25
25
  <script>
26
26
  import './style.scss'
27
+
27
28
  export default {
28
29
  name: 'r-toast',
29
30
  props: {
@@ -43,6 +44,7 @@ export default {
43
44
  default: 3000
44
45
  }
45
46
  },
47
+ emits:['update:modelValue'],
46
48
  data(){
47
49
  return{
48
50
  setTimeout_id:null
@@ -24,17 +24,18 @@
24
24
  props: {
25
25
  size: {
26
26
  type: [Number, String],
27
- default: 48
27
+ default: 48
28
28
  },
29
- elevation: {
30
- type: String,
31
- default: 'none'
32
- },
33
- editable: {
34
- type: String
35
- },
36
- flat: Boolean,
37
- tile: Boolean
29
+ elevation: {
30
+ type: String,
31
+ default: 'none'
32
+ },
33
+ editable: {
34
+ type: String
35
+ },
36
+ flat: Boolean,
37
+ tile: Boolean,
38
+ headers: Object
38
39
  },
39
40
  data() {
40
41
  return {
@@ -58,19 +59,24 @@
58
59
  this.$refs.file.click()
59
60
  },
60
61
  saveImage() {
61
- this.loading = true
62
- let fileData = new FormData()
63
- fileData.append('file', this.files[0])
64
- this.$axios.post(this.editable, fileData,
65
- {
66
- headers: {'Content-Type': 'multipart/form-data'},
67
- onUploadProgress: function (progressEvent) {
68
- this.uploadPercentage = Math.min(parseInt(Math.floor((progressEvent.loaded * 100) / progressEvent.total)), 98)
69
- }.bind(this),
70
- cancelToken: this.CancelTokenSource.token
71
- }
72
- )
73
- .then(() => {
62
+ this.loading = true
63
+ let fileData = new FormData()
64
+ fileData.append('file', this.files[0])
65
+ let headers = this.headers
66
+ if (!headers) {
67
+ headers = {}
68
+ }
69
+ headers['Content-Type'] = 'multipart/form-data'
70
+ this.$axios.post(this.editable, fileData,
71
+ {
72
+ headers: headers,
73
+ onUploadProgress: function (progressEvent) {
74
+ this.uploadPercentage = Math.min(parseInt(Math.floor((progressEvent.loaded * 100) / progressEvent.total)), 98)
75
+ }.bind(this),
76
+ cancelToken: this.CancelTokenSource.token
77
+ }
78
+ )
79
+ .then(() => {
74
80
  this.loading = false
75
81
  this.k+=1
76
82
  }, () => {
@@ -7,9 +7,13 @@
7
7
  :key="i"
8
8
  >
9
9
  <div class="navigation-item-icon">
10
- <r-icon v-html="item.icon"></r-icon>
10
+ <slot name="icon" :item="item">
11
+ <r-icon v-html="item.icon"></r-icon>
12
+ </slot>
13
+ </div>
14
+ <div class="navigation-item-text">
15
+ <slot name="name" :item="item">{{ item.name }}</slot>
11
16
  </div>
12
- <div class="navigation-item-text">{{ item.name }}</div>
13
17
  </router-link>
14
18
  </nav>
15
19
  </template>
@@ -72,12 +76,13 @@ export default {
72
76
  }
73
77
 
74
78
  .router-link-exact-active {
79
+ color: var(--color-one);
75
80
  .navigation-item-icon {
76
81
  transition: 0.3s all ease-in-out;
77
82
  bottom: 31px;
78
83
  background-color: currentColor;
79
84
  border-radius: 50%;
80
- padding: 15px;
85
+ padding: 12px;
81
86
  width: 50px;
82
87
  height: 50px;
83
88
  border: 3px solid white;
@@ -14,7 +14,7 @@ $bottom-nav-btn-font-size: map-metro-get($headings, 'caption', 'size') !default;
14
14
  background-color: var(--color-sheet);
15
15
  color: var(--color-text-primary);
16
16
 
17
- .#{$prefix}btn.router-link-exact-active {
17
+ .router-link-exact-active {
18
18
  color: var(--color-one) !important
19
19
  }
20
20
 
@@ -6,7 +6,7 @@
6
6
  <menu-laptop :menu="menu"></menu-laptop>
7
7
  <r-spacer></r-spacer>
8
8
  <div v-if="search" class="mt-n5">
9
- <r-search-box autofocus closable :label="search_label" :url="search">
9
+ <r-search-box autofocus closable :label="searchLabel" :url="search">
10
10
  <template v-slot="{item}">
11
11
  <slot name="search" :item="item"></slot>
12
12
  </template>
@@ -21,10 +21,10 @@
21
21
  </div>
22
22
  </template>
23
23
  <script>
24
- import {toolbar} from "./mixin";
25
- import MenuLaptop from "./menuLaptop";
24
+ import {toolbar} from "./mixin";
25
+ import MenuLaptop from "./menuLaptop";
26
26
 
27
- export default {
27
+ export default {
28
28
  components: {MenuLaptop},
29
29
  mixins: [toolbar]
30
30
  }
@@ -10,9 +10,8 @@ export const toolbar= {
10
10
  logoW: {type: Number, default: 180},
11
11
  logoH: {type: Number, default: 60},
12
12
  search: String,
13
- search_label: {type:String,default:'search'},
13
+ searchLabel: {type:String,default:'search'},
14
14
  fixed: Boolean,
15
- modelValue: Boolean,
16
15
  flat: Boolean,
17
16
  sticky: Boolean,
18
17
  tile: {
@@ -9,7 +9,7 @@
9
9
  <r-spacer></r-spacer>
10
10
  <div v-if="search" class="mt-n5">
11
11
  <r-search-box closable autofocus
12
- :label="search_label" :url="search">
12
+ :label="searchLabel" :url="search">
13
13
  <template v-slot="{item}">
14
14
  <slot name="search" :item="item"></slot>
15
15
  </template>
@@ -23,9 +23,10 @@
23
23
  </div>
24
24
  </template>
25
25
  <script>
26
- import {toolbar} from "./mixin";
27
- import MenuMobile from "./menuMob";
28
- export default {
26
+ import {toolbar} from "./mixin";
27
+ import MenuMobile from "./menuMob";
28
+
29
+ export default {
29
30
  components: {MenuMobile},
30
31
  mixins:[toolbar]
31
32
  }
@@ -34,6 +34,7 @@ export default {
34
34
  default: () => []
35
35
  }
36
36
  },
37
+ emits:['click'],
37
38
  computed: {
38
39
  classes(){
39
40
  let a={'mb-1':true}
@@ -18,7 +18,7 @@
18
18
  export default {
19
19
  name: "buttonConfirm",
20
20
  props: {
21
- hard: String,
21
+ hard: Boolean,
22
22
  title: String,
23
23
  body: String,
24
24
  cancelText: String,
@@ -42,6 +42,7 @@ export default {
42
42
  exact: Boolean,
43
43
  modelValue: [Number,String]
44
44
  },
45
+ emits:['open','update:modelValue'],
45
46
  data () {
46
47
  return {
47
48
  open: false,
@@ -73,6 +73,7 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
73
73
 
74
74
  &:not(.btn-text):not(.btn-outlined) {
75
75
  background-color: var(--color-sheet);
76
+ color: var(--color-text-primary);
76
77
  }
77
78
 
78
79
  &.btn-outlined.btn-text {
@@ -111,6 +111,7 @@ export default {
111
111
  year: Number,
112
112
  month: Number,
113
113
  },
114
+ emits:['change','select'],
114
115
  data() {
115
116
  return {
116
117
  tab: 'day',
@@ -21,6 +21,7 @@ export default {
21
21
  locale: String,
22
22
  year: Number
23
23
  },
24
+ emits:['update:model-value'],
24
25
  data() {
25
26
  return {
26
27
  p: 0
@@ -21,6 +21,7 @@ export default {
21
21
  locale: String,
22
22
  month: Number
23
23
  },
24
+ emits:['update:model-value'],
24
25
  methods: {
25
26
  emit(n) {
26
27
  this.$emit('update:model-value', n)
@@ -62,6 +62,7 @@ export default {
62
62
  uploadLink: String,
63
63
  canFile: Boolean,
64
64
  },
65
+ emits:['update:model-value'],
65
66
  data() {
66
67
  return {
67
68
  text: '',
@@ -62,6 +62,7 @@ export default {
62
62
  }
63
63
  }
64
64
  },
65
+ emits:['see'],
65
66
  methods: {
66
67
  isImg(link) {
67
68
  const is = link.indexOf('storage/img/') !== -1
@@ -59,6 +59,7 @@ export default {
59
59
  default: '/storage/chat'
60
60
  },
61
61
  },
62
+ emits:['see','msg-submit'],
62
63
  data() {
63
64
  return {
64
65
  timeout_id: null
@@ -35,6 +35,7 @@ export default {
35
35
  outlined: Boolean,
36
36
  text: Boolean
37
37
  },
38
+ emits:['update:modelValue','close'],
38
39
  computed: {
39
40
  classes () {
40
41
  let c = this.$r.prefix + 'chip chip-size-' + this.size
@@ -391,8 +391,6 @@ export default {
391
391
  @import "../../style/include";
392
392
 
393
393
  .#{$prefix}code-editor {
394
- direction: ltr;
395
- text-align: left;
396
394
  position: relative;
397
395
  white-space: break-spaces;
398
396
  caret-color: white;
@@ -53,6 +53,7 @@ export default {
53
53
  modelValue: Boolean,
54
54
  hard: Boolean
55
55
  },
56
+ emits:['accept','cancel'],
56
57
  data () {
57
58
  return {
58
59
  valid: false,
@@ -30,6 +30,7 @@ export default {
30
30
  validator: value => value >= 0
31
31
  }
32
32
  },
33
+ emits:['start','end'],
33
34
  data() {
34
35
  return {
35
36
  time_id: null,
@@ -24,6 +24,7 @@
24
24
  default: .1
25
25
  }
26
26
  },
27
+ emits:['move','zoom'],
27
28
  data() {
28
29
  return {
29
30
  started: Date.now(),
@@ -7,6 +7,7 @@
7
7
  value="id"
8
8
  :searchLink="`https://codenus.com/api/apps/address?lang=${$r.lang}`"
9
9
  :rules="required?['required']:[]"
10
+ :headers="{'Authorization':''}"
10
11
  :tile="tile">
11
12
  </r-select-input>
12
13
  <r-select-input :label="$t('state','renusify')"
@@ -18,6 +19,7 @@
18
19
  :searchLink="country&&`https://codenus.com/api/apps/address/${country['id']}?lang=${$r.lang}`"
19
20
  :rules="required?['required']:[]"
20
21
  value="id"
22
+ :headers="{'Authorization':''}"
21
23
  :tile="tile">
22
24
 
23
25
  </r-select-input>
@@ -30,6 +32,7 @@
30
32
  :searchLink="state&&`https://codenus.com/api/apps/address/${country['id']}/${state['id']}?lang=${$r.lang}`"
31
33
  :rules="required?['required']:[]"
32
34
  value="id"
35
+ :headers="{'Authorization':''}"
33
36
  :tile="tile">
34
37
 
35
38
  </r-select-input>
@@ -56,10 +59,11 @@ export default {
56
59
  hideCity: Boolean,
57
60
  hideZipCode: Boolean,
58
61
  hideStreet: Boolean,
59
- tile: Boolean,
62
+ tile: {type: Boolean, default: undefined},
60
63
  defaultCountry: Object,
61
64
  modelValue: Object
62
65
  },
66
+ emits:['update:modelValue'],
63
67
  data() {
64
68
  return {
65
69
  country: this.modelValue ? this.modelValue.country : this.defaultCountry,
@@ -102,7 +106,7 @@ export default {
102
106
  if (!this.hideZipCode) {
103
107
  r['zip_code'] = this.zip_code
104
108
  }
105
- this.$emit('update:model-value', r)
109
+ this.$emit('update:modelValue', r)
106
110
  }, 10)
107
111
  }
108
112
  }
@@ -131,7 +131,9 @@ export default {
131
131
  default: 3,
132
132
  type: Number,
133
133
  },
134
+ headers: Object
134
135
  },
136
+ emits:['update:modelValue','error'],
135
137
  data() {
136
138
  return {
137
139
  started: false,
@@ -240,9 +242,14 @@ export default {
240
242
  const blob = new Blob(this.recordedBlobs, {type: this.type});
241
243
  let fileData = new FormData();
242
244
  fileData.append("file", blob, "user.webm");
245
+ let headers = this.headers
246
+ if (!headers) {
247
+ headers = {}
248
+ }
249
+ headers['Content-Type'] = 'multipart/form-data'
243
250
  this.$axios
244
251
  .post(this.uploadLink, fileData, {
245
- headers: {"Content-Type": "multipart/form-data"},
252
+ headers: headers,
246
253
  onUploadProgress: function (progressEvent) {
247
254
  this.uploadPercentage = Math.min(
248
255
  parseInt(
@@ -266,7 +273,7 @@ export default {
266
273
  );
267
274
  },
268
275
  emit() {
269
- this.$emit("update:model-value", this.files);
276
+ this.$emit("update:modelValue", this.files);
270
277
  },
271
278
  run() {
272
279
  try {
@@ -329,7 +336,7 @@ export default {
329
336
  this.$axios
330
337
  .delete(this.uploadLink, {
331
338
  data: {link: link},
332
- })
339
+ }, {headers: this.headers})
333
340
  .then(() => {
334
341
  this.files.splice(i, 1);
335
342
  this.emit();
@@ -1,104 +1,105 @@
1
1
  <template>
2
- <r-input :class="`${$r.prefix}check-input`" :active="active"
3
- :model-value="lazyValue"
4
- inputControlClass="pe-0"
5
- :msg="msg"
6
- :error="pass===false"
7
- @click.prevent="handleClick">
8
- <div class="check-input-container v-center">
9
- <input :autofocus="autofocus"
10
- :type="type"
11
- @focusin="active=true"
12
- @focusout="active=false"
13
- @input="emit"
14
- :value="lazyValue"
15
- autocomplete="no"
16
- ref="input"
17
- />
18
- <r-btn size="small"
19
- :rounded="$attrs.tile===undefined||$attrs.tile===false"
20
- :loading="loading" @click.prevent="check()" class="elevation-none mx-1">
21
- {{$t('check','renusify')}}
22
- <r-icon v-if="pass!==null && pass!==false" v-html="$r.icons.check" exact width="20" height="20"></r-icon>
23
- <r-icon v-if=" pass===false" v-html="$r.icons.close" width="20" height="20"></r-icon>
24
- </r-btn>
25
- </div>
26
- </r-input>
2
+ <r-input :class="`${$r.prefix}check-input`" :active="active"
3
+ :model-value="lazyValue"
4
+ inputControlClass="pe-0"
5
+ :msg="msg"
6
+ :error="pass===false"
7
+ @click.prevent="handleClick">
8
+ <div class="check-input-container v-center">
9
+ <input :autofocus="autofocus"
10
+ :type="type"
11
+ @focusin="active=true"
12
+ @focusout="active=false"
13
+ @input="emit"
14
+ :value="lazyValue"
15
+ autocomplete="no"
16
+ ref="input"
17
+ />
18
+ <r-btn size="small"
19
+ :rounded="$attrs.tile===undefined||$attrs.tile===false"
20
+ :loading="loading" @click.prevent="check()" class="elevation-none mx-1">
21
+ {{ $t('check', 'renusify') }}
22
+ <r-icon v-if="pass!==null && pass!==false" v-html="$r.icons.check" exact width="20" height="20"></r-icon>
23
+ <r-icon v-if=" pass===false" v-html="$r.icons.close" width="20" height="20"></r-icon>
24
+ </r-btn>
25
+ </div>
26
+ </r-input>
27
27
  </template>
28
28
  <script>
29
- export default {
30
- name: 'r-check-input',
31
- props: {
32
- type: {
33
- type: String,
34
- default: 'text'
35
- },
36
- name: {
37
- type: String,
38
- default: 'text'
39
- },
40
- link: String,
41
- modelValue: [String, Number],
42
- autofocus: Boolean,
43
- },
44
-
45
- data() {
46
- return {
47
- lazyValue: this.modelValue,
48
- msg: null,
49
- pass: null,
50
- loading: false,
51
- active: false
52
- }
53
- },
54
- watch: {
55
- modelValue() {
56
- this.msg = null
57
- this.pass = null
58
- this.$emit('data', {})
59
- this.lazyValue = this.modelValue
60
- }
61
- },
62
- methods: {
63
- check() {
64
- if (this.link) {
65
- this.loading = true
66
- this.$axios.post(this.link, {
67
- [this.name]: this.lazyValue
68
- }).then(({data}) => {
69
- this.$emit('data', data)
70
- this.msg = null
71
- this.loading = false
72
- this.pass = true
73
- }, ({response}) => {
74
- if (response.data.msg) {
75
- this.msg = this.$t(response.data.msg,'renusify')
76
- }
77
- this.$emit('data', response.data)
78
- this.loading = false
79
- this.pass = false
80
- })
81
- }
29
+ export default {
30
+ name: 'r-check-input',
31
+ props: {
32
+ type: {
33
+ type: String,
34
+ default: 'text'
35
+ },
36
+ name: {
37
+ type: String,
38
+ default: 'text'
39
+ },
40
+ link: String,
41
+ modelValue: [String, Number],
42
+ autofocus: Boolean,
43
+ headers: Object
44
+ },
45
+ emits:['update:modelValue','data'],
46
+ data() {
47
+ return {
48
+ lazyValue: this.modelValue,
49
+ msg: null,
50
+ pass: null,
51
+ loading: false,
52
+ active: false
53
+ }
54
+ },
55
+ watch: {
56
+ modelValue() {
57
+ this.msg = null
58
+ this.pass = null
59
+ this.$emit('data', {})
60
+ this.lazyValue = this.modelValue
61
+ }
62
+ },
63
+ methods: {
64
+ check() {
65
+ if (this.link) {
66
+ this.loading = true
67
+ this.$axios.post(this.link, {
68
+ [this.name]: this.lazyValue
69
+ }, {headers: this.headers}).then(({data}) => {
70
+ this.$emit('data', data)
71
+ this.msg = null
72
+ this.loading = false
73
+ this.pass = true
74
+ }, ({response}) => {
75
+ if (response.data.msg) {
76
+ this.msg = this.$t(response.data.msg, 'renusify')
77
+ }
78
+ this.$emit('data', response.data)
79
+ this.loading = false
80
+ this.pass = false
81
+ })
82
+ }
82
83
 
83
- },
84
- handleClick(e) {
85
- this.$refs.input.focus()
86
- },
87
- emit(e) {
88
- this.lazyValue=e.target.value
89
- this.$emit('update:modelValue', this.lazyValue)
90
- }
91
- }
84
+ },
85
+ handleClick(e) {
86
+ this.$refs.input.focus()
87
+ },
88
+ emit(e) {
89
+ this.lazyValue = e.target.value
90
+ this.$emit('update:modelValue', this.lazyValue)
92
91
  }
92
+ }
93
+ }
93
94
 
94
95
  </script>
95
96
  <style lang="scss">
96
- @import "../../style/include";
97
+ @import "../../style/include";
97
98
 
98
- .#{$prefix}check-input {
99
- .check-input-container {
100
- display: flex;
101
- width: 100%;
102
- }
103
- }
99
+ .#{$prefix}check-input {
100
+ .check-input-container {
101
+ display: flex;
102
+ width: 100%;
103
+ }
104
+ }
104
105
  </style>