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