@eturnity/eturnity_reusable_components 7.24.3-EPDM-10576.1 → 7.24.3-EPDM-11320.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 (66) hide show
  1. package/.eslintrc.js +125 -0
  2. package/package.json +6 -20
  3. package/src/App.vue +75 -70
  4. package/src/components/addNewButton/index.vue +24 -27
  5. package/src/components/banner/actionBanner/index.vue +32 -30
  6. package/src/components/banner/banner/index.vue +88 -80
  7. package/src/components/banner/infoBanner/index.vue +36 -44
  8. package/src/components/buttons/buttonIcon/index.vue +83 -78
  9. package/src/components/buttons/closeButton/index.vue +26 -26
  10. package/src/components/buttons/mainButton/index.vue +80 -76
  11. package/src/components/card/index.vue +56 -52
  12. package/src/components/collapsableInfoText/index.vue +81 -76
  13. package/src/components/deleteIcon/index.vue +31 -28
  14. package/src/components/draggableInputHandle/index.vue +20 -17
  15. package/src/components/dropdown/Dropdown.stories.js +8 -8
  16. package/src/components/dropdown/index.vue +75 -72
  17. package/src/components/errorMessage/index.vue +23 -23
  18. package/src/components/filter/filterSettings.vue +349 -333
  19. package/src/components/filter/index.vue +130 -130
  20. package/src/components/filter/parentDropdown.vue +43 -40
  21. package/src/components/icon/Icons.stories.js +4 -4
  22. package/src/components/icon/iconCache.js +1 -1
  23. package/src/components/icon/iconCollection.vue +40 -37
  24. package/src/components/icon/index.vue +72 -65
  25. package/src/components/iconWrapper/index.vue +122 -118
  26. package/src/components/infoCard/index.vue +20 -17
  27. package/src/components/infoText/index.vue +88 -82
  28. package/src/components/inputs/checkbox/index.vue +91 -94
  29. package/src/components/inputs/inputNumber/index.vue +508 -488
  30. package/src/components/inputs/inputNumberQuestion/index.vue +127 -124
  31. package/src/components/inputs/inputText/index.vue +265 -252
  32. package/src/components/inputs/radioButton/index.vue +135 -120
  33. package/src/components/inputs/searchInput/index.vue +84 -81
  34. package/src/components/inputs/select/index.vue +644 -631
  35. package/src/components/inputs/select/option/index.vue +91 -91
  36. package/src/components/inputs/select/select.stories.js +7 -7
  37. package/src/components/inputs/slider/index.vue +46 -46
  38. package/src/components/inputs/switchField/index.vue +159 -152
  39. package/src/components/inputs/textAreaInput/index.vue +120 -113
  40. package/src/components/inputs/toggle/index.vue +137 -127
  41. package/src/components/label/index.vue +64 -61
  42. package/src/components/markerItem/index.vue +40 -40
  43. package/src/components/modals/actionModal/index.vue +32 -29
  44. package/src/components/modals/infoModal/index.vue +34 -27
  45. package/src/components/modals/modal/index.vue +88 -80
  46. package/src/components/navigationTabs/index.vue +50 -47
  47. package/src/components/pageSubtitle/index.vue +33 -29
  48. package/src/components/pageTitle/index.vue +47 -39
  49. package/src/components/pagination/index.vue +64 -62
  50. package/src/components/progressBar/index.vue +70 -67
  51. package/src/components/projectMarker/index.vue +172 -163
  52. package/src/components/rangeSlider/Slider.vue +449 -449
  53. package/src/components/rangeSlider/index.vue +282 -270
  54. package/src/components/rangeSlider/utils/dom.js +3 -3
  55. package/src/components/selectedOptions/index.vue +51 -51
  56. package/src/components/sideMenu/index.vue +117 -109
  57. package/src/components/spinner/index.vue +37 -34
  58. package/src/components/tableDropdown/index.vue +343 -326
  59. package/src/components/tables/mainTable/index.vue +109 -106
  60. package/src/components/tables/viewTable/index.vue +105 -92
  61. package/src/components/threeDots/index.vue +174 -171
  62. package/src/components/videoThumbnail/index.vue +67 -59
  63. package/src/components/videoThumbnail/videoThumbnail.stories.js +6 -6
  64. package/.prettierrc +0 -7
  65. package/public/favicon.ico +0 -0
  66. package/public/index.html +0 -17
@@ -1,57 +1,64 @@
1
1
  <template>
2
- <container>
3
- <flex-wrapper
4
- :size="size"
2
+ <Container>
3
+ <FlexWrapper
4
+ :align-items="alignItems"
5
5
  :disabled="disabled"
6
- :alignItems="alignItems"
7
6
  :label="label"
7
+ :size="size"
8
8
  >
9
- <label-container
9
+ <LabelContainer
10
10
  v-if="label && labelAlign === 'left'"
11
- :hasInfoMessage="!!infoTextMessage"
12
- :colorMode="colorMode"
13
- :primaryColor="primaryColor"
14
- :secondaryColor="secondaryColor"
11
+ :color-mode="colorMode"
12
+ :has-info-message="!!infoTextMessage"
13
+ :primary-color="primaryColor"
14
+ :secondary-color="secondaryColor"
15
15
  >
16
- <label-text :size="size">{{ label }}</label-text>
17
- <info-text
16
+ <LabelText :size="size">
17
+ {{ label }}
18
+ </LabelText>
19
+ <InfoText
18
20
  v-if="infoTextMessage"
19
21
  :text="infoTextMessage"
20
22
  />
21
- </label-container>
23
+ </LabelContainer>
22
24
 
23
- <switch-wrapper
24
- :size="size"
25
+ <SwitchWrapper
26
+ :background-color="backgroundColor"
25
27
  :disabled="disabled"
26
- :backgroundColor="backgroundColor"
28
+ :size="size"
27
29
  >
28
- <switchOption
30
+ <SwitchOption
29
31
  v-for="(item, index) in options"
30
32
  :key="index"
31
- @click="selectItem(item.value)"
32
- :isActive="selectedValue == item.value"
33
- :colorMode="colorMode"
34
- :primaryColor="primaryColor"
35
- :secondaryColor="secondaryColor"
36
- :inactiveColor="inactiveColor"
33
+ :color-mode="colorMode"
37
34
  :data-id="item.hasOwnProperty('dataId') ? item.dataId : ''"
35
+ :inactive-color="inactiveColor"
36
+ :is-active="selectedValue == item.value"
37
+ :primary-color="primaryColor"
38
+ :secondary-color="secondaryColor"
39
+ @click="selectItem(item.value)"
38
40
  >
39
41
  {{ item.content }}
40
- </switchOption>
41
- </switch-wrapper>
42
- <label-container
42
+ </SwitchOption>
43
+ </SwitchWrapper>
44
+ <LabelContainer
43
45
  v-if="label && labelAlign === 'right'"
44
- :hasInfoMessage="!!infoTextMessage"
46
+ :has-info-message="!!infoTextMessage"
45
47
  >
46
- <label-text :size="size" :fontColor="fontColor">{{ label }}</label-text>
47
- <info-text
48
- @click.stop
48
+ <LabelText
49
+ :font-color="fontColor"
50
+ :size="size"
51
+ >
52
+ {{ label }}
53
+ </LabelText>
54
+ <InfoText
49
55
  v-if="infoTextMessage"
50
56
  :text="infoTextMessage"
57
+ @click.stop
51
58
  />
52
- </label-container>
53
- </flex-wrapper>
54
- </container>
59
+ </LabelContainer>
60
+ </FlexWrapper>
61
+ </Container>
55
62
  </template>
56
63
 
57
64
  <script>
@@ -70,43 +77,43 @@
70
77
  // :disabled="false"
71
78
  // />
72
79
 
73
- import styled from 'vue3-styled-components'
74
- import InfoText from '../../infoText'
75
- import theme from '../../../assets/theme'
76
- const Container = styled.div``
80
+ import styled from 'vue3-styled-components'
81
+ import InfoText from '../../infoText'
82
+ import theme from '../../../assets/theme'
83
+ const Container = styled.div``
77
84
 
78
- const flexAttrs = {
79
- label: String,
80
- size: String,
81
- disabled: Boolean,
82
- alignItems: String
83
- }
84
- const FlexWrapper = styled('div', flexAttrs)`
85
+ const flexAttrs = {
86
+ label: String,
87
+ size: String,
88
+ disabled: Boolean,
89
+ alignItems: String
90
+ }
91
+ const FlexWrapper = styled('div', flexAttrs)`
85
92
  display: grid;
86
93
  grid-template-columns: auto 1fr;
87
94
  grid-gap: 10px;
88
95
  align-items: center;
89
96
  cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};
90
97
  grid-template-columns: ${(props) =>
91
- props.alignItems === 'vertical' || !props.label ? '1fr' : 'auto 1fr'};
98
+ props.alignItems === 'vertical' || !props.label ? '1fr' : 'auto 1fr'};
92
99
  `
93
100
 
94
- const toggleAttrs = {
95
- size: String,
96
- fontColor: String,
97
- disabled: Boolean,
98
- backgroundColor: String,
99
- isChecked: Boolean,
100
- secondaryColor: String,
101
- primaryColor: String,
102
- }
103
- const LabelText = styled('div', toggleAttrs)`
101
+ const toggleAttrs = {
102
+ size: String,
103
+ fontColor: String,
104
+ disabled: Boolean,
105
+ backgroundColor: String,
106
+ isChecked: Boolean,
107
+ secondaryColor: String,
108
+ primaryColor: String,
109
+ }
110
+ const LabelText = styled('div', toggleAttrs)`
104
111
  color: ${(props) => props.primaryColor };
105
112
  font-size: 13px;
106
113
  font-weight: 700;
107
114
  `
108
115
 
109
- const SwitchWrapper = styled('span', toggleAttrs)`
116
+ const SwitchWrapper = styled('span', toggleAttrs)`
110
117
  display: flex;
111
118
  position: relative;
112
119
  cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};
@@ -115,19 +122,19 @@ const SwitchWrapper = styled('span', toggleAttrs)`
115
122
  ? '24px'
116
123
  : props.size === 'small'
117
124
  ? '16px'
118
- : '24px'};
125
+ : '24px'};
119
126
  `
120
- const optionAttrs = {
121
- isActive: Boolean,
122
- primaryColor: String,
123
- secondaryColor: String,
124
- inactiveColor: String
125
- }
126
- const switchOption = styled('div', optionAttrs)`
127
+ const optionAttrs = {
128
+ isActive: Boolean,
129
+ primaryColor: String,
130
+ secondaryColor: String,
131
+ inactiveColor: String
132
+ }
133
+ const SwitchOption = styled('div', optionAttrs)`
127
134
  color: ${(props) =>
128
- props.isActive ? props.primaryColor : props.inactiveColor};
135
+ props.isActive ? props.primaryColor : props.inactiveColor};
129
136
  background-color: ${(props) =>
130
- props.isActive ? props.secondaryColor : 'transparent'};
137
+ props.isActive ? props.secondaryColor : 'transparent'};
131
138
  border: 1px solid
132
139
  ${(props) => (props.isActive ? props.secondaryColor : props.inactiveColor)};
133
140
  display: flex;
@@ -152,105 +159,105 @@ const switchOption = styled('div', optionAttrs)`
152
159
  }
153
160
  `
154
161
 
155
- const labelAttrs = { hasInfoMessage: Boolean }
156
- const LabelContainer = styled('div', labelAttrs)`
162
+ const labelAttrs = { hasInfoMessage: Boolean }
163
+ const LabelContainer = styled('div', labelAttrs)`
157
164
  display: inline-grid;
158
165
  grid-template-columns: ${(props) =>
159
- props.hasInfoMessage ? 'auto 1fr' : 'auto'};
166
+ props.hasInfoMessage ? 'auto 1fr' : 'auto'};
160
167
  grid-gap: 12px;
161
168
  align-items: center;
162
169
  `
163
170
 
164
- export default {
165
- name: 'switchField',
166
- components: {
167
- Container,
168
- SwitchWrapper,
169
- FlexWrapper,
170
- LabelText,
171
- InfoText,
172
- LabelContainer,
173
- switchOption
174
- },
175
- props: {
176
- label: {
177
- required: false,
178
- default: ''
179
- },
180
- toggleColor: {
181
- required: false
182
- },
183
- backgroundColor: {
184
- required: false
171
+ export default {
172
+ name: 'SwitchField',
173
+ components: {
174
+ Container,
175
+ SwitchWrapper,
176
+ FlexWrapper,
177
+ LabelText,
178
+ InfoText,
179
+ LabelContainer,
180
+ SwitchOption
185
181
  },
186
- size: {
187
- required: false,
188
- default: 'small'
189
- },
190
- labelAlign: {
191
- required: false,
192
- default: 'left'
193
- },
194
- fontColor: {
195
- required: false
196
- },
197
- disabled: {
198
- required: false,
199
- default: false
200
- },
201
- infoTextMessage: {
202
- required: false
203
- },
204
- colorMode: {
205
- required: false,
206
- default: 'light'
182
+ props: {
183
+ label: {
184
+ required: false,
185
+ default: ''
186
+ },
187
+ toggleColor: {
188
+ required: false
189
+ },
190
+ backgroundColor: {
191
+ required: false
192
+ },
193
+ size: {
194
+ required: false,
195
+ default: 'small'
196
+ },
197
+ labelAlign: {
198
+ required: false,
199
+ default: 'left'
200
+ },
201
+ fontColor: {
202
+ required: false
203
+ },
204
+ disabled: {
205
+ required: false,
206
+ default: false
207
+ },
208
+ infoTextMessage: {
209
+ required: false
210
+ },
211
+ colorMode: {
212
+ required: false,
213
+ default: 'light'
214
+ },
215
+ alignItems: {
216
+ required: false,
217
+ default: 'horizontal'
218
+ },
219
+ options: {
220
+ required: true
221
+ },
222
+ value: {
223
+ required: false,
224
+ default: null
225
+ }
207
226
  },
208
- alignItems: {
209
- required: false,
210
- default: 'horizontal'
227
+ data() {
228
+ return {
229
+ selectedValue: null,
230
+ primaryColor: 'white',
231
+ secondaryColor: 'black',
232
+ inactiveColor: 'grey6'
233
+ }
211
234
  },
212
- options: {
213
- required: true
235
+ watch: {
236
+ value(val) {
237
+ this.selectedValue = val
238
+ }
214
239
  },
215
- value: {
216
- required: false,
217
- default: null
218
- }
219
- },
220
- data() {
221
- return {
222
- selectedValue: null,
223
- primaryColor: 'white',
224
- secondaryColor: 'black',
225
- inactiveColor: 'grey6'
226
- }
227
- },
228
- created() {
229
- this.selectedValue = this.value
240
+ created() {
241
+ this.selectedValue = this.value
230
242
 
231
- if (this.colorMode == 'dark') {
232
- this.primaryColor = theme.colors.black
233
- this.secondaryColor = theme.colors.white
234
- this.inactiveColor = theme.colors.grey6
235
- } else {
236
- this.primaryColor = theme.colors.white
237
- this.secondaryColor = theme.colors.black
238
- this.inactiveColor = theme.colors.grey6
239
- }
240
- },
241
- methods: {
242
- selectItem(value) {
243
- if (this.disabled) {
244
- return
243
+ if (this.colorMode == 'dark') {
244
+ this.primaryColor = theme.colors.black
245
+ this.secondaryColor = theme.colors.white
246
+ this.inactiveColor = theme.colors.grey6
247
+ } else {
248
+ this.primaryColor = theme.colors.white
249
+ this.secondaryColor = theme.colors.black
250
+ this.inactiveColor = theme.colors.grey6
251
+ }
252
+ },
253
+ methods: {
254
+ selectItem(value) {
255
+ if (this.disabled) {
256
+ return
257
+ }
258
+ this.selectedValue = value
259
+ this.$emit('on-switch-change', this.selectedValue)
245
260
  }
246
- this.selectedValue = value
247
- this.$emit('on-switch-change', this.selectedValue)
248
- }
249
- },
250
- watch: {
251
- value(val) {
252
- this.selectedValue = val
253
261
  }
254
262
  }
255
- }
256
263
  </script>
@@ -1,38 +1,45 @@
1
1
  <template>
2
- <container :inputWidth="inputWidth">
3
- <input-wrapper
4
- :alignItems="alignItems"
5
- :hasLabel="label && label.length > 0"
2
+ <Container :input-width="inputWidth">
3
+ <InputWrapper
4
+ :align-items="alignItems"
5
+ :has-label="label && label.length > 0"
6
6
  >
7
- <label-wrapper v-if="label">
8
- <input-label :fontSize="fontSize" :data-id="labelDataId">{{
9
- label
10
- }}</input-label>
11
- <info-text
7
+ <LabelWrapper v-if="label">
8
+ <InputLabel
9
+ :data-id="labelDataId"
10
+ :font-size="fontSize"
11
+ >
12
+ {{
13
+ label
14
+ }}
15
+ </InputLabel>
16
+ <InfoText
12
17
  v-if="infoTextMessage"
13
- :text="infoTextMessage"
14
18
  size="16px"
19
+ :text="infoTextMessage"
15
20
  />
16
- </label-wrapper>
17
- <input-container
18
- :inputWidth="inputWidth"
19
- :isError="isError"
20
- :fontSize="fontSize"
21
+ </LabelWrapper>
22
+ <InputContainer
21
23
  :disabled="isDisabled"
24
+ :font-size="fontSize"
25
+ :input-width="inputWidth"
26
+ :is-error="isError"
22
27
  >
23
28
  <textarea
29
+ :data-id="inputDataId"
30
+ :disabled="isDisabled"
24
31
  :placeholder="placeholder"
32
+ :resize="resize"
25
33
  :rows="rowHeight"
26
34
  :value="value"
27
- :disabled="isDisabled"
28
35
  @input="onChangeHandler"
29
- :resize="resize"
30
- :data-id="inputDataId"
31
- />
32
- </input-container>
33
- </input-wrapper>
34
- <error-message v-if="isError && errorText">{{ errorText }}</error-message>
35
- </container>
36
+ ></textarea>
37
+ </InputContainer>
38
+ </InputWrapper>
39
+ <ErrorMessage v-if="isError && errorText">
40
+ {{ errorText }}
41
+ </ErrorMessage>
42
+ </Container>
36
43
  </template>
37
44
 
38
45
  <script>
@@ -51,39 +58,39 @@
51
58
  // :isDisabled="true"
52
59
  // fontSize="13px"
53
60
  // />
54
- import styled from 'vue3-styled-components'
55
- import InfoText from '../../infoText'
56
- import ErrorMessage from '../../errorMessage'
61
+ import styled from 'vue3-styled-components'
62
+ import InfoText from '../../infoText'
63
+ import ErrorMessage from '../../errorMessage'
57
64
 
58
- const containerProps = { inputWidth: String }
59
- const Container = styled('div', containerProps)`
65
+ const containerProps = { inputWidth: String }
66
+ const Container = styled('div', containerProps)`
60
67
  width: ${(props) => (props.inputWidth ? props.inputWidth : '100%')};
61
68
  position: relative;
62
69
  margin-bottom: 20px;
63
70
  `
64
71
 
65
- const LabelWrapper = styled.div`
72
+ const LabelWrapper = styled.div`
66
73
  display: inline-grid;
67
74
  grid-template-columns: auto 1fr;
68
75
  grid-gap: 12px;
69
76
  align-items: center;
70
77
  `
71
78
 
72
- const inputProps = {
73
- isError: Boolean,
74
- disabled: Boolean,
75
- fontSize: String,
76
- inputWidth: String
77
- }
79
+ const inputProps = {
80
+ isError: Boolean,
81
+ disabled: Boolean,
82
+ fontSize: String,
83
+ inputWidth: String
84
+ }
78
85
 
79
- const InputContainer = styled('div', inputProps)`
86
+ const InputContainer = styled('div', inputProps)`
80
87
  textarea {
81
88
  border: ${(props) =>
82
89
  props.isError
83
90
  ? `1px solid ${props.theme.colors.red} !important`
84
- : `1px solid ${props.theme.colors.grey4} !important`};
91
+ : `1px solid ${props.theme.colors.grey4} !important`};
85
92
  padding: ${(props) =>
86
- props.hasUnit ? '11px 40px 11px 10px !important' : '15px !important'};
93
+ props.hasUnit ? '11px 40px 11px 10px !important' : '15px !important'};
87
94
  border-radius: 4px !important;
88
95
  font-size: ${(props) => `${props.fontSize} !important`};
89
96
  color: ${(props) => `${props.theme.colors.grey1} !important`};
@@ -102,8 +109,8 @@ const InputContainer = styled('div', inputProps)`
102
109
  }
103
110
  `
104
111
 
105
- const inputAttrs = { alignItems: String, hasLabel: Boolean }
106
- const InputWrapper = styled('div', inputAttrs)`
112
+ const inputAttrs = { alignItems: String, hasLabel: Boolean }
113
+ const InputWrapper = styled('div', inputAttrs)`
107
114
  position: relative;
108
115
  display: grid;
109
116
  align-items: center;
@@ -113,88 +120,88 @@ const InputWrapper = styled('div', inputAttrs)`
113
120
  ? '1fr'
114
121
  : props.alignItems === 'vertical'
115
122
  ? '1fr'
116
- : 'auto 1fr'};
123
+ : 'auto 1fr'};
117
124
  `
118
125
 
119
- const labelAttrs = { fontSize: String }
120
- const InputLabel = styled('div', labelAttrs)`
126
+ const labelAttrs = { fontSize: String }
127
+ const InputLabel = styled('div', labelAttrs)`
121
128
  font-weight: bold;
122
129
  font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
123
130
  `
124
131
 
125
- export default {
126
- name: 'text-area-input',
127
- components: {
128
- Container,
129
- InputContainer,
130
- InputWrapper,
131
- ErrorMessage,
132
- InfoText,
133
- LabelWrapper,
134
- InputLabel
135
- },
136
- props: {
137
- placeholder: {
138
- required: false,
139
- default: ''
140
- },
141
- isError: {
142
- required: false,
143
- default: false
144
- },
145
- rowHeight: {
146
- required: false,
147
- default: '2'
132
+ export default {
133
+ name: 'TextAreaInput',
134
+ components: {
135
+ Container,
136
+ InputContainer,
137
+ InputWrapper,
138
+ ErrorMessage,
139
+ InfoText,
140
+ LabelWrapper,
141
+ InputLabel
148
142
  },
149
- value: {
150
- required: true,
151
- default: null
152
- },
153
- errorText: {
154
- required: false
155
- },
156
- isDisabled: {
157
- required: false,
158
- default: false
159
- },
160
- alignItems: {
161
- required: false,
162
- default: 'horizontal'
163
- },
164
- infoTextMessage: {
165
- required: false
166
- },
167
- label: {
168
- required: false
169
- },
170
- fontSize: {
171
- required: false,
172
- default: '13px'
173
- },
174
- inputWidth: {
175
- required: false,
176
- default: null
177
- },
178
- resize: {
179
- required: false,
180
- default: 'none'
181
- },
182
- labelDataId: {
183
- required: false,
184
- default: ''
143
+ props: {
144
+ placeholder: {
145
+ required: false,
146
+ default: ''
147
+ },
148
+ isError: {
149
+ required: false,
150
+ default: false
151
+ },
152
+ rowHeight: {
153
+ required: false,
154
+ default: '2'
155
+ },
156
+ value: {
157
+ required: true,
158
+ default: null
159
+ },
160
+ errorText: {
161
+ required: false
162
+ },
163
+ isDisabled: {
164
+ required: false,
165
+ default: false
166
+ },
167
+ alignItems: {
168
+ required: false,
169
+ default: 'horizontal'
170
+ },
171
+ infoTextMessage: {
172
+ required: false
173
+ },
174
+ label: {
175
+ required: false
176
+ },
177
+ fontSize: {
178
+ required: false,
179
+ default: '13px'
180
+ },
181
+ inputWidth: {
182
+ required: false,
183
+ default: null
184
+ },
185
+ resize: {
186
+ required: false,
187
+ default: 'none'
188
+ },
189
+ labelDataId: {
190
+ required: false,
191
+ default: ''
192
+ },
193
+ inputDataId: {
194
+ required: false,
195
+ default: ''
196
+ }
185
197
  },
186
- inputDataId: {
187
- required: false,
188
- default: ''
189
- }
190
- },
191
- methods: {
192
- onChangeHandler($event) {
193
- if (this.isDisabled) {
194
- return
198
+ methods: {
199
+ onChangeHandler($event) {
200
+ if (this.isDisabled) {
201
+ return
202
+ }
203
+ this.$emit('input-change', $event.target.value)
195
204
  }
196
- this.$emit('input-change', $event.target.value)
197
205
  }
198
206
  }
199
- }
200
207
  </script>