@eturnity/eturnity_reusable_components 7.30.3 → 7.32.0-EPDM-10528.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.
- package/.eslintrc.js +184 -0
- package/.prettierrc +8 -6
- package/package.json +9 -21
- package/src/App.vue +79 -78
- package/src/assets/theme.js +3 -3
- package/src/components/addNewButton/AddNewButton.stories.js +2 -2
- package/src/components/addNewButton/index.vue +48 -51
- package/src/components/banner/actionBanner/index.vue +54 -55
- package/src/components/banner/banner/banner.stories.js +5 -5
- package/src/components/banner/banner/index.vue +159 -159
- package/src/components/banner/infoBanner/index.vue +41 -53
- package/src/components/buttons/buttonIcon/index.vue +125 -122
- package/src/components/buttons/closeButton/CloseButton.stories.js +3 -3
- package/src/components/buttons/closeButton/index.vue +49 -49
- package/src/components/buttons/mainButton/index.vue +108 -108
- package/src/components/card/index.vue +70 -70
- package/src/components/collapsableInfoText/index.vue +96 -94
- package/src/components/deleteIcon/DeleteIcon.stories.js +4 -4
- package/src/components/deleteIcon/index.vue +54 -54
- package/src/components/draggableInputHandle/index.vue +37 -37
- package/src/components/dropdown/Dropdown.stories.js +9 -10
- package/src/components/dropdown/index.vue +106 -106
- package/src/components/errorMessage/index.vue +52 -52
- package/src/components/filter/filterSettings.vue +428 -422
- package/src/components/filter/index.vue +135 -135
- package/src/components/filter/parentDropdown.vue +73 -73
- package/src/components/icon/Icons.stories.js +7 -7
- package/src/components/icon/iconCollection.vue +53 -53
- package/src/components/icon/index.vue +122 -122
- package/src/components/iconWrapper/index.vue +156 -156
- package/src/components/infoCard/index.vue +30 -32
- package/src/components/infoText/index.vue +142 -137
- package/src/components/inputs/checkbox/Checkbox.stories.js +8 -8
- package/src/components/inputs/checkbox/index.vue +190 -180
- package/src/components/inputs/inputNumber/InputNumber.stories.js +41 -41
- package/src/components/inputs/inputNumber/index.vue +696 -696
- package/src/components/inputs/inputNumberQuestion/index.vue +185 -182
- package/src/components/inputs/inputText/InputText.stories.js +22 -22
- package/src/components/inputs/inputText/index.vue +337 -336
- package/src/components/inputs/radioButton/RadioButton.stories.js +16 -16
- package/src/components/inputs/radioButton/index.vue +222 -219
- package/src/components/inputs/searchInput/SearchInput.stories.js +8 -8
- package/src/components/inputs/searchInput/index.vue +127 -126
- package/src/components/inputs/select/index.vue +792 -791
- package/src/components/inputs/select/option/index.vue +124 -124
- package/src/components/inputs/select/select.stories.js +31 -32
- package/src/components/inputs/slider/index.vue +99 -99
- package/src/components/inputs/switchField/index.vue +220 -222
- package/src/components/inputs/textAreaInput/TextAreaInput.stories.js +57 -57
- package/src/components/inputs/textAreaInput/index.vue +171 -173
- package/src/components/inputs/toggle/Toggle.stories.js +14 -14
- package/src/components/inputs/toggle/index.vue +214 -217
- package/src/components/label/index.vue +82 -82
- package/src/components/markerItem/index.vue +68 -66
- package/src/components/modals/actionModal/index.vue +54 -54
- package/src/components/modals/infoModal/index.vue +39 -36
- package/src/components/modals/modal/index.vue +134 -134
- package/src/components/modals/modal/modal.stories.js +5 -5
- package/src/components/navigationTabs/index.vue +96 -94
- package/src/components/pageSubtitle/index.vue +55 -49
- package/src/components/pageTitle/index.vue +56 -56
- package/src/components/pagination/index.vue +92 -89
- package/src/components/progressBar/index.vue +107 -107
- package/src/components/projectMarker/index.vue +246 -244
- package/src/components/rangeSlider/Slider.vue +491 -465
- package/src/components/rangeSlider/index.vue +410 -410
- package/src/components/rangeSlider/utils/dom.js +5 -5
- package/src/components/selectedOptions/index.vue +119 -119
- package/src/components/sideMenu/index.vue +199 -199
- package/src/components/spinner/index.vue +57 -57
- package/src/components/tableDropdown/index.vue +520 -520
- package/src/components/tables/mainTable/index.vue +417 -400
- package/src/components/tables/viewTable/index.vue +171 -171
- package/src/components/threeDots/index.vue +340 -334
- package/src/components/videoThumbnail/index.vue +86 -86
- package/src/components/videoThumbnail/videoThumbnail.stories.js +14 -16
- package/src/helpers/numberConverter.js +2 -2
- package/src/helpers/translateLang.js +9 -9
- package/src/mixins/inputValidations.js +5 -5
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
@@ -1,214 +1,224 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
<
|
4
|
-
:
|
2
|
+
<ComponentWrapper @click.stop>
|
3
|
+
<Container
|
4
|
+
:background-color="backgroundColor"
|
5
|
+
:check-color="checkColor"
|
6
|
+
:cursor-type="cursorType"
|
7
|
+
:has-label="hasLabel"
|
8
|
+
:is-checked="isChecked"
|
9
|
+
:is-disabled="isDisabled"
|
5
10
|
:size="size"
|
6
|
-
:hasLabel="label && !!label.length"
|
7
|
-
:backgroundColor="backgroundColor"
|
8
|
-
:isChecked="isChecked"
|
9
|
-
:isDisabled="isDisabled"
|
10
|
-
:cursorType="cursorType"
|
11
11
|
>
|
12
|
-
<
|
13
|
-
type="checkbox"
|
12
|
+
<InputCheckbox
|
14
13
|
:checked="isChecked"
|
15
14
|
:data-id="dataId"
|
15
|
+
type="checkbox"
|
16
16
|
@change="onChangeHandler(!isChecked)"
|
17
17
|
/>
|
18
|
-
<
|
18
|
+
<CheckWrapper :has-label="hasLabel">
|
19
19
|
<span class="checkmark"></span>
|
20
|
-
</
|
21
|
-
<
|
22
|
-
|
23
|
-
|
20
|
+
</CheckWrapper>
|
21
|
+
<LabelText v-if="hasLabel">
|
22
|
+
{{ label }}
|
23
|
+
</LabelText>
|
24
|
+
</Container>
|
25
|
+
</ComponentWrapper>
|
24
26
|
</template>
|
25
27
|
|
26
28
|
<script>
|
27
|
-
// import Checkbox from "@eturnity/eturnity_reusable_components/src/components/inputs/checkbox"
|
28
|
-
//To use:
|
29
|
-
// <checkbox
|
30
|
-
// label="Do you accept the Terms?"
|
31
|
-
// :isChecked="isChecked" //required
|
32
|
-
// @on-event-handler="onInputChange($event)" //required
|
33
|
-
// checkColor="blue"
|
34
|
-
// size="small"
|
35
|
-
// backgroundColor="red"
|
36
|
-
// :isDisabled="true"
|
37
|
-
// cursorType="default"
|
38
|
-
// />
|
39
|
-
import styled from 'vue3-styled-components'
|
29
|
+
// import Checkbox from "@eturnity/eturnity_reusable_components/src/components/inputs/checkbox"
|
30
|
+
//To use:
|
31
|
+
// <checkbox
|
32
|
+
// label="Do you accept the Terms?"
|
33
|
+
// :isChecked="isChecked" //required
|
34
|
+
// @on-event-handler="onInputChange($event)" //required
|
35
|
+
// checkColor="blue"
|
36
|
+
// size="small"
|
37
|
+
// backgroundColor="red"
|
38
|
+
// :isDisabled="true"
|
39
|
+
// cursorType="default"
|
40
|
+
// />
|
41
|
+
import styled from 'vue3-styled-components'
|
40
42
|
|
41
|
-
const ComponentWrapper = styled.div`
|
42
|
-
|
43
|
-
`
|
43
|
+
const ComponentWrapper = styled.div`
|
44
|
+
min-height: 18px;
|
45
|
+
`
|
44
46
|
|
45
|
-
const CheckWrapper = styled('div', { hasLabel: Boolean })`
|
46
|
-
|
47
|
-
|
48
|
-
|
47
|
+
const CheckWrapper = styled('div', { hasLabel: Boolean })`
|
48
|
+
${(props) =>
|
49
|
+
props.hasLabel &&
|
50
|
+
`
|
49
51
|
display: flex;
|
50
52
|
align-items: center;
|
51
53
|
`}
|
52
|
-
`
|
54
|
+
`
|
53
55
|
|
54
|
-
const containerAttrs = {
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
}
|
63
|
-
const Container = styled('label', containerAttrs)`
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
56
|
+
const containerAttrs = {
|
57
|
+
checkColor: String,
|
58
|
+
size: String,
|
59
|
+
hasLabel: Boolean,
|
60
|
+
backgroundColor: String,
|
61
|
+
isChecked: Boolean,
|
62
|
+
isDisabled: Boolean,
|
63
|
+
cursorType: String,
|
64
|
+
}
|
65
|
+
const Container = styled('label', containerAttrs)`
|
66
|
+
display: grid;
|
67
|
+
grid-template-columns: ${(props) =>
|
68
|
+
props.hasLabel ? '16px auto' : '16px'};
|
69
|
+
grid-gap: 16px;
|
70
|
+
align-content: center;
|
71
|
+
color: ${(props) => props.theme.colors.black};
|
72
|
+
position: relative;
|
73
|
+
cursor: ${(props) => (props.isDisabled ? 'not-allowed' : props.cursorType)};
|
74
|
+
font-size: 16px;
|
75
|
+
user-select: none;
|
73
76
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
props.isChecked
|
90
|
-
? props.backgroundColor
|
91
|
-
? props.backgroundColor
|
92
|
-
: props.theme.colors.green
|
93
|
-
: props.isDisabled
|
94
|
-
? props.theme.colors.lightGray
|
95
|
-
: props.theme.colors.white};
|
96
|
-
border-radius: 4px;
|
97
|
-
border: 1px solid
|
98
|
-
${(props) =>
|
77
|
+
.checkmark {
|
78
|
+
position: absolute;
|
79
|
+
height: ${(props) =>
|
80
|
+
props.size === 'medium'
|
81
|
+
? '25px'
|
82
|
+
: props.size === 'small'
|
83
|
+
? '16px'
|
84
|
+
: '25px'};
|
85
|
+
width: ${(props) =>
|
86
|
+
props.size === 'medium'
|
87
|
+
? '25px'
|
88
|
+
: props.size === 'small'
|
89
|
+
? '16px'
|
90
|
+
: '25px'};
|
91
|
+
background-color: ${(props) =>
|
99
92
|
props.isChecked
|
100
93
|
? props.backgroundColor
|
101
94
|
? props.backgroundColor
|
102
95
|
: props.theme.colors.green
|
103
|
-
: props.
|
96
|
+
: props.isDisabled
|
97
|
+
? props.theme.colors.lightGray
|
98
|
+
: props.theme.colors.white};
|
99
|
+
border-radius: 4px;
|
100
|
+
border: 1px solid
|
101
|
+
${(props) =>
|
102
|
+
props.isChecked
|
103
|
+
? props.backgroundColor
|
104
|
+
? props.backgroundColor
|
105
|
+
: props.theme.colors.green
|
106
|
+
: props.theme.colors.mediumGray};
|
104
107
|
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
108
|
+
&:after {
|
109
|
+
content: '';
|
110
|
+
position: absolute;
|
111
|
+
display: ${(props) => (props.isChecked ? 'block' : 'none')};
|
112
|
+
}
|
109
113
|
}
|
110
|
-
}
|
111
114
|
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
115
|
+
.checkmark:after {
|
116
|
+
left: ${(props) =>
|
117
|
+
props.size === 'medium'
|
118
|
+
? '9px'
|
119
|
+
: props.size === 'small'
|
120
|
+
? '5px'
|
121
|
+
: '9px'};
|
122
|
+
top: ${(props) =>
|
123
|
+
props.size === 'medium'
|
124
|
+
? '5px'
|
125
|
+
: props.size === 'small'
|
126
|
+
? '2px'
|
127
|
+
: '5px'};
|
128
|
+
width: ${(props) =>
|
129
|
+
props.size === 'medium'
|
130
|
+
? '5px'
|
131
|
+
: props.size === 'small'
|
132
|
+
? '3px'
|
133
|
+
: '5px'};
|
134
|
+
height: ${(props) =>
|
135
|
+
props.size === 'medium'
|
136
|
+
? '10px'
|
137
|
+
: props.size === 'small'
|
138
|
+
? '6px'
|
139
|
+
: '10px'};
|
140
|
+
border: solid
|
141
|
+
${(props) =>
|
142
|
+
props.checkColor ? props.checkColor : props.theme.colors.white};
|
143
|
+
border-width: ${(props) =>
|
144
|
+
props.size === 'medium'
|
145
|
+
? '0 3px 3px 0'
|
146
|
+
: props.size === 'small'
|
147
|
+
? '0 2px 2px 0'
|
148
|
+
: '0 3px 3px 0'};
|
149
|
+
transform: rotate(45deg);
|
150
|
+
}
|
151
|
+
`
|
137
152
|
|
138
|
-
const InputCheckbox = styled.input`
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
`
|
153
|
+
const InputCheckbox = styled.input`
|
154
|
+
cursor: pointer;
|
155
|
+
position: absolute;
|
156
|
+
opacity: 0;
|
157
|
+
cursor: pointer;
|
158
|
+
height: 0;
|
159
|
+
width: 0;
|
160
|
+
`
|
146
161
|
|
147
|
-
const LabelText = styled.div`
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
`
|
162
|
+
const LabelText = styled.div`
|
163
|
+
font-size: 13px;
|
164
|
+
display: grid;
|
165
|
+
align-items: flex-start;
|
166
|
+
min-height: 18px;
|
167
|
+
`
|
153
168
|
|
154
|
-
export default {
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
},
|
163
|
-
props: {
|
164
|
-
label: {
|
165
|
-
required: false,
|
166
|
-
default: ''
|
167
|
-
},
|
168
|
-
isChecked: {
|
169
|
-
required: true,
|
170
|
-
default: false
|
171
|
-
},
|
172
|
-
checkColor: {
|
173
|
-
required: false
|
174
|
-
},
|
175
|
-
size: {
|
176
|
-
required: false,
|
177
|
-
default: 'medium' // small, medium
|
169
|
+
export default {
|
170
|
+
name: 'Checkbox',
|
171
|
+
components: {
|
172
|
+
ComponentWrapper,
|
173
|
+
Container,
|
174
|
+
InputCheckbox,
|
175
|
+
LabelText,
|
176
|
+
CheckWrapper,
|
178
177
|
},
|
179
|
-
|
180
|
-
|
178
|
+
props: {
|
179
|
+
label: {
|
180
|
+
required: false,
|
181
|
+
default: '',
|
182
|
+
},
|
183
|
+
isChecked: {
|
184
|
+
required: true,
|
185
|
+
default: false,
|
186
|
+
},
|
187
|
+
checkColor: {
|
188
|
+
required: false,
|
189
|
+
},
|
190
|
+
size: {
|
191
|
+
required: false,
|
192
|
+
default: 'medium', // small, medium
|
193
|
+
},
|
194
|
+
backgroundColor: {
|
195
|
+
required: false,
|
196
|
+
},
|
197
|
+
isDisabled: {
|
198
|
+
required: false,
|
199
|
+
default: false,
|
200
|
+
},
|
201
|
+
dataId: {
|
202
|
+
type: String,
|
203
|
+
default: '',
|
204
|
+
},
|
205
|
+
cursorType: {
|
206
|
+
type: String,
|
207
|
+
default: 'pointer',
|
208
|
+
},
|
181
209
|
},
|
182
|
-
|
183
|
-
|
184
|
-
|
210
|
+
computed: {
|
211
|
+
hasLabel() {
|
212
|
+
return !!this.label && !!this.label.length
|
213
|
+
},
|
185
214
|
},
|
186
|
-
|
187
|
-
|
188
|
-
|
215
|
+
methods: {
|
216
|
+
onChangeHandler(value) {
|
217
|
+
if (this.isDisabled) {
|
218
|
+
return
|
219
|
+
}
|
220
|
+
this.$emit('on-event-handler', value)
|
221
|
+
},
|
189
222
|
},
|
190
|
-
cursorType: {
|
191
|
-
type: String,
|
192
|
-
default: 'pointer'
|
193
|
-
}
|
194
|
-
},
|
195
|
-
computed: {
|
196
|
-
hasLabel() {
|
197
|
-
return !!this.label.length
|
198
|
-
}
|
199
|
-
},
|
200
|
-
computed: {
|
201
|
-
hasLabel() {
|
202
|
-
return !!this.label.length
|
203
|
-
}
|
204
|
-
},
|
205
|
-
methods: {
|
206
|
-
onChangeHandler(value) {
|
207
|
-
if (this.isDisabled) {
|
208
|
-
return
|
209
|
-
}
|
210
|
-
this.$emit('on-event-handler', value)
|
211
|
-
}
|
212
223
|
}
|
213
|
-
}
|
214
224
|
</script>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import InputNumber from
|
1
|
+
import InputNumber from './index.vue'
|
2
2
|
|
3
3
|
export default {
|
4
|
-
title:
|
4
|
+
title: 'InputNumber',
|
5
5
|
component: InputNumber,
|
6
6
|
// argTypes: {},
|
7
7
|
}
|
@@ -38,113 +38,113 @@ const Template = (args, { argTypes }) => ({
|
|
38
38
|
|
39
39
|
export const Default = Template.bind({})
|
40
40
|
Default.args = {
|
41
|
-
placeholder:
|
41
|
+
placeholder: 'Enter Value',
|
42
42
|
disabled: false,
|
43
|
-
value:
|
44
|
-
inputWidth:
|
45
|
-
minWidth:
|
46
|
-
unitName:
|
43
|
+
value: '',
|
44
|
+
inputWidth: '200px',
|
45
|
+
minWidth: '150px',
|
46
|
+
unitName: 'pc',
|
47
47
|
isError: false,
|
48
48
|
numberPrecision: 0,
|
49
49
|
noBorder: false,
|
50
|
-
textAlign:
|
50
|
+
textAlign: 'left',
|
51
51
|
showLinearUnitName: false,
|
52
52
|
}
|
53
53
|
|
54
54
|
export const hasError = Template.bind({})
|
55
55
|
hasError.args = {
|
56
|
-
placeholder:
|
57
|
-
errorMessage:
|
56
|
+
placeholder: 'Enter Value',
|
57
|
+
errorMessage: 'This field is required',
|
58
58
|
isError: true,
|
59
59
|
disabled: false,
|
60
|
-
inputWidth:
|
60
|
+
inputWidth: '200px',
|
61
61
|
}
|
62
62
|
|
63
63
|
export const Disabled = Template.bind({})
|
64
64
|
Disabled.args = {
|
65
|
-
placeholder:
|
65
|
+
placeholder: 'Enter Value',
|
66
66
|
disabled: true,
|
67
|
-
value:
|
68
|
-
inputWidth:
|
67
|
+
value: '',
|
68
|
+
inputWidth: '200px',
|
69
69
|
isError: false,
|
70
70
|
numberPrecision: 0,
|
71
71
|
noBorder: false,
|
72
|
-
textAlign:
|
72
|
+
textAlign: 'left',
|
73
73
|
showLinearUnitName: false,
|
74
74
|
}
|
75
75
|
|
76
76
|
export const LinearUnit = Template.bind({})
|
77
77
|
LinearUnit.args = {
|
78
|
-
placeholder:
|
78
|
+
placeholder: 'Enter Value',
|
79
79
|
disabled: false,
|
80
80
|
value: 10,
|
81
|
-
inputWidth:
|
82
|
-
unitName:
|
81
|
+
inputWidth: '200px',
|
82
|
+
unitName: 'pc',
|
83
83
|
isError: false,
|
84
84
|
numberPrecision: 2,
|
85
85
|
noBorder: false,
|
86
|
-
textAlign:
|
86
|
+
textAlign: 'left',
|
87
87
|
showLinearUnitName: true,
|
88
88
|
}
|
89
89
|
|
90
90
|
export const NormalUnit = Template.bind({})
|
91
91
|
NormalUnit.args = {
|
92
|
-
placeholder:
|
92
|
+
placeholder: 'Enter Value',
|
93
93
|
disabled: false,
|
94
94
|
value: 10,
|
95
|
-
inputWidth:
|
96
|
-
unitName:
|
95
|
+
inputWidth: '200px',
|
96
|
+
unitName: 'pc',
|
97
97
|
isError: false,
|
98
98
|
numberPrecision: 2,
|
99
99
|
noBorder: false,
|
100
|
-
textAlign:
|
100
|
+
textAlign: 'left',
|
101
101
|
showLinearUnitName: false,
|
102
102
|
}
|
103
103
|
|
104
104
|
export const WithLabel = Template.bind({})
|
105
105
|
WithLabel.args = {
|
106
|
-
placeholder:
|
106
|
+
placeholder: 'Enter Value',
|
107
107
|
disabled: false,
|
108
108
|
value: 10,
|
109
|
-
inputWidth:
|
110
|
-
unitName:
|
109
|
+
inputWidth: '200px',
|
110
|
+
unitName: 'pc',
|
111
111
|
isError: false,
|
112
112
|
numberPrecision: 2,
|
113
113
|
noBorder: false,
|
114
|
-
textAlign:
|
114
|
+
textAlign: 'left',
|
115
115
|
showLinearUnitName: false,
|
116
|
-
labelText:
|
116
|
+
labelText: 'Number Input',
|
117
117
|
}
|
118
118
|
|
119
119
|
export const WithLabelInfo = Template.bind({})
|
120
120
|
WithLabelInfo.args = {
|
121
|
-
placeholder:
|
121
|
+
placeholder: 'Enter Value',
|
122
122
|
disabled: false,
|
123
123
|
value: 10,
|
124
|
-
inputWidth:
|
125
|
-
unitName:
|
124
|
+
inputWidth: '200px',
|
125
|
+
unitName: 'pc',
|
126
126
|
isError: false,
|
127
127
|
numberPrecision: 2,
|
128
128
|
noBorder: false,
|
129
|
-
textAlign:
|
129
|
+
textAlign: 'left',
|
130
130
|
showLinearUnitName: false,
|
131
|
-
labelText:
|
132
|
-
labelInfoText:
|
133
|
-
labelInfoAlign:
|
131
|
+
labelText: 'Number Input',
|
132
|
+
labelInfoText: 'Here is some information for you...',
|
133
|
+
labelInfoAlign: 'right',
|
134
134
|
}
|
135
135
|
|
136
136
|
export const LargerFont = Template.bind({})
|
137
137
|
LargerFont.args = {
|
138
|
-
placeholder:
|
138
|
+
placeholder: 'Enter Value',
|
139
139
|
disabled: false,
|
140
140
|
value: 10,
|
141
|
-
inputWidth:
|
142
|
-
unitName:
|
141
|
+
inputWidth: '200px',
|
142
|
+
unitName: 'pc',
|
143
143
|
isError: false,
|
144
144
|
numberPrecision: 2,
|
145
145
|
noBorder: false,
|
146
|
-
textAlign:
|
146
|
+
textAlign: 'left',
|
147
147
|
showLinearUnitName: false,
|
148
|
-
labelText:
|
149
|
-
fontSize:
|
148
|
+
labelText: 'Number Input',
|
149
|
+
fontSize: '16px',
|
150
150
|
}
|