@eturnity/eturnity_reusable_components 6.46.5 → 6.48.0-EPDM-9012.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "6.46.5",
3
+ "version": "6.48.0-EPDM-9012.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
package/src/App.vue CHANGED
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <ThemeProvider :theme="getTheme()" :style="{ height: '100%' }">
3
3
  <page-container>
4
-
4
+ <page-title text="Hello" infoText="The ElektroForm solar integration has been activated for your company. Please log in with your Brunner Informatik Cloud-ID. Eturnity will not store your credentials but just a token for the connection."></page-title>
5
5
  <br/>
6
6
  <input-number
7
7
  :value="value"
@@ -114,6 +114,7 @@ import iconCollection from '@/components/icon/iconCollection'
114
114
  import dropdownComponent from '@/components/dropdown'
115
115
  import videoThumbnail from '@/components/videoThumbnail'
116
116
  import icon from '@/components/icon'
117
+ import pageTitle from '@/components/pageTitle'
117
118
  // import TableDropdown from "@/components/tableDropdown"
118
119
 
119
120
  const PageContainer = styled.div`
@@ -137,6 +138,7 @@ export default {
137
138
  SwitchField,
138
139
  iconCollection,
139
140
  dropdownComponent,
141
+ pageTitle,
140
142
  videoThumbnail,
141
143
  icon
142
144
  },
@@ -0,0 +1,3 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17 10H1C0.45 10 0 10.45 0 11V17C0 17.55 0.45 18 1 18H17C17.55 18 18 17.55 18 17V11C18 10.45 17.55 10 17 10ZM4 16C2.9 16 2 15.1 2 14C2 12.9 2.9 12 4 12C5.1 12 6 12.9 6 14C6 15.1 5.1 16 4 16ZM17 0H1C0.45 0 0 0.45 0 1V7C0 7.55 0.45 8 1 8H17C17.55 8 18 7.55 18 7V1C18 0.45 17.55 0 17 0ZM4 6C2.9 6 2 5.1 2 4C2 2.9 2.9 2 4 2C5.1 2 6 2.9 6 4C6 5.1 5.1 6 4 6Z" fill="white"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 10H8V0H0V10ZM0 18H8V12H0V18ZM10 18H18V8H10V18ZM10 0V6H18V0H10Z" fill="white"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 12H8V10H0V12ZM0 16H8V14H0V16ZM0 8H8V6H0V8ZM0 2V4H8V2H0ZM10 2H18V16H10V2Z" fill="white"/>
3
+ </svg>
@@ -40,7 +40,10 @@
40
40
  v-for="(item, idx) in filterData"
41
41
  :key="idx + '_filterdata'"
42
42
  >
43
- <column-title :showBorder="idx + 1 !== filterData.length">
43
+ <column-title
44
+ :showBorder="idx + 1 !== filterData.length"
45
+ :data-id="`filter_label_project_view_file_manager_${item.type}`"
46
+ >
44
47
  {{ item.columnName }}
45
48
  </column-title>
46
49
  <row-container v-if="item.type === 'columns'">
@@ -88,13 +91,12 @@
88
91
  selectHeight="36px"
89
92
  fontSize="13px"
90
93
  :label="filter.label"
94
+ :labelDataId="filter.dataId"
91
95
  alignItems="vertical"
92
96
  :disabled="!filter.choices.length"
93
97
  >
94
98
  <template #selector>
95
- <option-title>
96
- {{ filter.selectedText }}
97
- </option-title>
99
+ <option-title> {{ filter.selectedText }} </option-title>
98
100
  </template>
99
101
  <template #dropdown>
100
102
  <dropdown-checkbox-container @click.stop>
@@ -117,7 +119,7 @@
117
119
  </template>
118
120
  </select-component>
119
121
  <section-container v-else-if="isRangeSelector(filter.filter_type)">
120
- <row-label>{{ filter.label }}</row-label>
122
+ <row-label :data-id="filter.dataId">{{ filter.label }}</row-label>
121
123
  <grid-container>
122
124
  <input-number
123
125
  :placeholder="
@@ -125,7 +127,7 @@
125
127
  ? $gettext('min') + ' (' + filter.unit + ')'
126
128
  : $gettext('min')
127
129
  "
128
- :numberPrecision="2"
130
+ :numberPrecision="isIntegerRange(filter.filter_type) ? 0 : 2"
129
131
  :value="filter.range.start"
130
132
  @input-change="
131
133
  onChange({
@@ -145,7 +147,7 @@
145
147
  ? $gettext('max') + ' (' + filter.unit + ')'
146
148
  : $gettext('max')
147
149
  "
148
- :numberPrecision="2"
150
+ :numberPrecision="isIntegerRange(filter.filter_type) ? 0 : 2"
149
151
  :value="filter.range.end"
150
152
  @input-change="
151
153
  onChange({
@@ -165,7 +167,7 @@
165
167
  v-else-if="isDateSelector(filter.filter_type)"
166
168
  @click.stop
167
169
  >
168
- <row-label>{{ filter.label }}</row-label>
170
+ <row-label :data-id="filter.dataId">{{ filter.label }}</row-label>
169
171
  <grid-container>
170
172
  <date-picker-input
171
173
  :placeholder="$gettext('Date from')"
@@ -338,7 +340,7 @@ const DragContainer = styled.div`
338
340
 
339
341
  const RowContainer = styled('div', TitleAttrs)`
340
342
  padding: 10px 14px;
341
- width: 300px;
343
+ min-width: 300px;
342
344
 
343
345
  ${({ showBorder, theme }) =>
344
346
  showBorder &&
@@ -613,6 +615,9 @@ export default {
613
615
  return type === 'multi_select_integer' || type === 'multi_select_string'
614
616
  },
615
617
  isRangeSelector(type) {
618
+ return type === 'integer_range' || type === 'number_range'
619
+ },
620
+ isIntegerRange(type) {
616
621
  return type === 'integer_range'
617
622
  },
618
623
  isDateSelector(type) {
@@ -120,10 +120,11 @@ export default {
120
120
  isStriked:{
121
121
  required:false,
122
122
  default:false
123
+
124
+ }
125
+ },
126
+ data() {
127
+ return {}
123
128
  }
124
- },
125
- data() {
126
- return {}
127
129
  }
128
- }
129
130
  </script>
@@ -10,7 +10,6 @@
10
10
  </icon-img>
11
11
  <text-overlay
12
12
  v-if="showInfo"
13
- :borderColor="borderColor"
14
13
  :width="width"
15
14
  :halfComputedTextInfoWidth="halfComputedTextInfoWidth"
16
15
  :alignArrow="alignArrow"
@@ -27,7 +26,6 @@
27
26
  //To use:
28
27
  // <info-text
29
28
  // text="Veritatis et quasi architecto beatae vitae"
30
- // borderColor="#ccc"
31
29
  // size="20"
32
30
  // alignArrow="right" // which side the arrow should be on
33
31
  // />
@@ -37,7 +35,6 @@ import icon from '../icon'
37
35
 
38
36
  const textAttrs = {
39
37
  iconSize: String,
40
- borderColor: String,
41
38
  alignArrow: String,
42
39
  width: String,
43
40
  halfComputedTextInfoWidth: Number
@@ -111,10 +108,6 @@ export default {
111
108
  text: {
112
109
  required: false
113
110
  },
114
- borderColor: {
115
- required: false,
116
- default: null
117
- },
118
111
  size: {
119
112
  required: false,
120
113
  default: '14px'
@@ -156,11 +149,7 @@ export default {
156
149
  },
157
150
  computed: {
158
151
  iconColor() {
159
- return this.isActive
160
- ? this.borderColor
161
- ? this.borderColor
162
- : theme.colors.secondary
163
- : theme.colors.mediumGray
152
+ return theme.colors.mediumGray
164
153
  },
165
154
  halfComputedTextInfoWidth() {
166
155
  return parseInt(this.width) / 2
@@ -32,7 +32,6 @@ const Template = (args, { argTypes }) => ({
32
32
  // fontSize="13px"
33
33
  // labelText="Number of Modules"
34
34
  // labelInfoText="Here is some information for you..."
35
- // labelInfoAlign="left"
36
35
  // />
37
36
  })
38
37
 
@@ -129,8 +128,7 @@ WithLabelInfo.args = {
129
128
  textAlign: "left",
130
129
  showLinearUnitName: false,
131
130
  labelText: "Number Input",
132
- labelInfoText: "Here is some information for you...",
133
- labelInfoAlign: "right",
131
+ labelInfoText: "Here is some information for you..."
134
132
  }
135
133
 
136
134
  export const LargerFont = Template.bind({})
@@ -13,15 +13,12 @@
13
13
  </label-slot-wrapper>
14
14
 
15
15
  <label-wrapper v-if="labelText">
16
- <label-text :labelFontColor="labelFontColor">
16
+ <label-text :labelFontColor="labelFontColor" :data-id="labelDataId">
17
17
  {{ labelText }}
18
18
  </label-text>
19
19
  <info-text
20
20
  v-if="labelInfoText"
21
21
  :text="labelInfoText"
22
- borderColor="#ccc"
23
- size="14px"
24
- :alignText="labelInfoAlign"
25
22
  />
26
23
  </label-wrapper>
27
24
  <input-wrapper>
@@ -53,6 +50,7 @@
53
50
  :hasLabelSlot="hasLabelSlot"
54
51
  :slotSize="slotSize"
55
52
  :showLinearUnitName="showLinearUnitName"
53
+ :data-id="inputDataId"
56
54
  />
57
55
  <slot-container v-if="hasSlot" :slotSize="slotSize" :isError="isError">
58
56
  <slot></slot>
@@ -94,7 +92,6 @@
94
92
  // fontSize="13px"
95
93
  // labelText="Number of Modules"
96
94
  // labelInfoText="Here is some information for you..."
97
- // labelInfoAlign="left"
98
95
  // :minNumber="0"
99
96
  // fontColor="blue"
100
97
  // />
@@ -399,10 +396,6 @@ export default {
399
396
  required: false,
400
397
  default: null
401
398
  },
402
- labelInfoAlign: {
403
- required: false,
404
- default: 'left'
405
- },
406
399
  defaultNumber: {
407
400
  required: false,
408
401
  default: null
@@ -437,6 +430,14 @@ export default {
437
430
  focus: {
438
431
  required: false,
439
432
  default: false
433
+ },
434
+ labelDataId: {
435
+ required: false,
436
+ default: ''
437
+ },
438
+ inputDataId: {
439
+ required: false,
440
+ default: ''
440
441
  }
441
442
  },
442
443
  computed: {
@@ -21,7 +21,6 @@ const Template = (args, { argTypes }) => ({
21
21
  // @input-change="onInputChange({ value: $event, type: 'companyName' })"
22
22
  // :isError="checkErrors()"
23
23
  // :errorMessage="This is my error message"
24
- // infoTextAlign="right" // left by default
25
24
  // infoTextMessage="My info message"
26
25
  // label="Question 5"
27
26
  // alignItems="horizontal" // horizontal, vertical
@@ -5,15 +5,19 @@
5
5
  :alignItems="alignItems"
6
6
  >
7
7
  <label-wrapper v-if="label">
8
- <input-label :labelFontColor="labelFontColor" :fontSize="fontSize">{{
9
- label
10
- }} <optionalLabel v-if="labelOptional">({{ $gettext('Optional') }})</optionalLabel></input-label>
8
+ <input-label
9
+ :labelFontColor="labelFontColor"
10
+ :fontSize="fontSize"
11
+ :dataId="labelDataId"
12
+ >{{ label }}
13
+ <optionalLabel v-if="labelOptional"
14
+ >({{ $gettext('Optional') }})</optionalLabel
15
+ ></input-label
16
+ >
11
17
  <info-text
12
18
  v-if="infoTextMessage"
13
19
  :text="infoTextMessage"
14
- borderColor="#ccc"
15
20
  :size="fontSize ? fontSize : '16px'"
16
- :alignText="infoTextAlign"
17
21
  />
18
22
  </label-wrapper>
19
23
  <input-error-wrapper>
@@ -38,6 +42,7 @@
38
42
  :hasFocus="hasFocus"
39
43
  :backgroundColor="backgroundColor"
40
44
  :disabledBackgroundColor="disabledBackgroundColor"
45
+ :dataId="inputDataId"
41
46
  />
42
47
  <icon-wrapper
43
48
  v-if="inputType === 'password' && !isError"
@@ -199,7 +204,6 @@ export default {
199
204
  // @input-blur="onInputBlur($event)"
200
205
  // :isError="checkErrors()"
201
206
  // :errorMessage="This is my error message"
202
- // infoTextAlign="right" // left by default
203
207
  // infoTextMessage="My info message"
204
208
  // label="Question 5"
205
209
  // alignItems="horizontal" // horizontal, vertical
@@ -263,9 +267,6 @@ export default {
263
267
  infoTextMessage: {
264
268
  required: false
265
269
  },
266
- infoTextAlign: {
267
- required: false
268
- },
269
270
  label: {
270
271
  required: false
271
272
  },
@@ -310,6 +311,14 @@ export default {
310
311
  },
311
312
  borderColor: {
312
313
  required: false
314
+ },
315
+ labelDataId: {
316
+ required: false,
317
+ default: ''
318
+ },
319
+ inputDataId: {
320
+ required: false,
321
+ default: ''
313
322
  }
314
323
  },
315
324
  methods: {
@@ -11,6 +11,7 @@
11
11
  :inputWidth="inputWidth"
12
12
  :isFilter="isFilter"
13
13
  :hasFocus="hasFocus"
14
+ :dataId="dataId"
14
15
  />
15
16
  <img
16
17
  class="search-icn"
@@ -30,6 +31,7 @@
30
31
  // inputWidth="250px"
31
32
  // @on-change="function($event)"
32
33
  // :isFilter="true" // to set the height at 30px
34
+ // dataId="test-data-id"
33
35
  // />
34
36
  import styled from 'vue-styled-components'
35
37
 
@@ -104,6 +106,10 @@ export default {
104
106
  hasFocus: {
105
107
  required: false,
106
108
  default: false
109
+ },
110
+ dataId: {
111
+ required: false,
112
+ default: ''
107
113
  }
108
114
  },
109
115
  methods: {
@@ -8,7 +8,7 @@
8
8
  :hasLabel="!!label && label.length > 0"
9
9
  :alignItems="alignItems"
10
10
  >
11
- <label-wrapper v-if="label">
11
+ <label-wrapper v-if="label" :data-id="labelDataId">
12
12
  <input-label
13
13
  :fontColor="
14
14
  labelFontColor || colorMode == 'dark' ? 'white' : 'eturnityGrey'
@@ -22,9 +22,7 @@
22
22
  <info-text
23
23
  v-if="infoTextMessage"
24
24
  :text="infoTextMessage"
25
- borderColor="#ccc"
26
25
  :size="fontSize ? fontSize : '16px'"
27
- :alignText="infoTextAlign"
28
26
  />
29
27
  </label-wrapper>
30
28
  <select-button-wrapper :disabled="disabled">
@@ -104,6 +102,7 @@
104
102
  :selectedValue="selectedValue"
105
103
  @option-selected="optionSelected"
106
104
  @option-hovered="optionHovered"
105
+ @mouseleave="optionLeave"
107
106
  >
108
107
  <slot name="dropdown"></slot>
109
108
  </selectDropdown>
@@ -121,6 +120,7 @@
121
120
  // optionWidth="50%"
122
121
  // label="that is a label"
123
122
  // alignItems="vertical"
123
+ // label-data-id="test-data-id"
124
124
  // >
125
125
  // <template #selector="{selectedValue}">
126
126
  // value selected: {{selectedValue}}
@@ -304,10 +304,11 @@ export default {
304
304
  required: false,
305
305
  default: false
306
306
  },
307
- infoTextMessage: {
308
- required: false
307
+ labelDataId: {
308
+ required: false,
309
+ default: ''
309
310
  },
310
- infoTextAlign: {
311
+ infoTextMessage: {
311
312
  required: false
312
313
  },
313
314
  selectWidth: {
@@ -335,6 +336,10 @@ export default {
335
336
  required: false,
336
337
  default: false
337
338
  },
339
+ dropdownAutoClose: {
340
+ required: false,
341
+ default: false
342
+ },
338
343
  alignItems: {
339
344
  required: false,
340
345
  default: 'horizontal'
@@ -408,7 +413,7 @@ export default {
408
413
  isActive: false,
409
414
  textSearch: '',
410
415
  hoveredIndex: 0,
411
- hoveredValue:null,
416
+ hoveredValue: null,
412
417
  isClickOutsideActive: false
413
418
  }
414
419
  },
@@ -447,7 +452,7 @@ export default {
447
452
  this.$emit('input-change', e)
448
453
  },
449
454
  optionHovered(e) {
450
- this.hoveredValue=e
455
+ this.hoveredValue = e
451
456
  },
452
457
  mouseEnterHandler() {
453
458
  if (this.hoverDropdown) {
@@ -460,6 +465,11 @@ export default {
460
465
  this.blur()
461
466
  }
462
467
  },
468
+ optionLeave() {
469
+ if(this.dropdownAutoClose) {
470
+ this.isDropdownOpen = false
471
+ }
472
+ },
463
473
  searchChange(value) {
464
474
  this.textSearch = value
465
475
  this.$emit('search-change', value)
@@ -502,14 +512,16 @@ export default {
502
512
  },
503
513
  onArrowPress(dir) {
504
514
  let newHoveredElem
505
- const currentHoveredElem=this.$refs.dropdown.$el.querySelector(`[data-value="${this.hoveredValue}"]`);
506
- if(currentHoveredElem){
507
- if(dir>0){
508
- newHoveredElem=currentHoveredElem.nextElementSibling
509
- }else{
510
- newHoveredElem=currentHoveredElem.previousElementSibling
515
+ const currentHoveredElem = this.$refs.dropdown.$el.querySelector(
516
+ `[data-value="${this.hoveredValue}"]`
517
+ )
518
+ if (currentHoveredElem) {
519
+ if (dir > 0) {
520
+ newHoveredElem = currentHoveredElem.nextElementSibling
521
+ } else {
522
+ newHoveredElem = currentHoveredElem.previousElementSibling
511
523
  }
512
- if(newHoveredElem){
524
+ if (newHoveredElem) {
513
525
  this.hoveredValue = newHoveredElem.getAttribute('data-value')
514
526
  const topPos = newHoveredElem.offsetTop
515
527
  this.$refs.dropdown.$el.scrollTop = topPos
@@ -15,9 +15,6 @@
15
15
  <info-text
16
16
  v-if="infoTextMessage"
17
17
  :text="infoTextMessage"
18
- borderColor="#ccc"
19
- size="14px"
20
- :alignText="infoTextAlign"
21
18
  />
22
19
  </label-container>
23
20
 
@@ -48,9 +45,6 @@
48
45
  @click.native.stop
49
46
  v-if="infoTextMessage"
50
47
  :text="infoTextMessage"
51
- borderColor="#ccc"
52
- size="14px"
53
- :alignText="infoTextAlign"
54
48
  />
55
49
  </label-container>
56
50
  </flex-wrapper>
@@ -202,9 +196,6 @@ export default {
202
196
  infoTextMessage: {
203
197
  required: false
204
198
  },
205
- infoTextAlign: {
206
- required: false
207
- },
208
199
  colorMode: {
209
200
  required: false,
210
201
  default: 'light'
@@ -22,7 +22,6 @@ const Template = (args, { argTypes }) => ({
22
22
  // rowHeight="4" //optional
23
23
  // :isError="false"
24
24
  // :errorText="$gettext('field_required')"
25
- // infoTextAlign="right" // left by default
26
25
  // infoTextMessage="My info message"
27
26
  // label="Question 5"
28
27
  // alignItems="horizontal" // horizontal, vertical
@@ -37,7 +36,6 @@ Default.args = {
37
36
  rowHeight: "2",
38
37
  isError: false,
39
38
  errorText: "This field is required",
40
- infoTextAlign: "right",
41
39
  infoTextMessage: "",
42
40
  label: "",
43
41
  value: "",
@@ -52,7 +50,6 @@ Disabled.args = {
52
50
  rowHeight: "2",
53
51
  isError: false,
54
52
  errorText: "This field is required",
55
- infoTextAlign: "right",
56
53
  infoTextMessage: "",
57
54
  label: "",
58
55
  value: "",
@@ -67,7 +64,6 @@ Error.args = {
67
64
  rowHeight: "2",
68
65
  isError: true,
69
66
  errorText: "This field is required",
70
- infoTextAlign: "right",
71
67
  infoTextMessage: "",
72
68
  label: "",
73
69
  value: "",
@@ -82,7 +78,6 @@ WithLabel.args = {
82
78
  rowHeight: "2",
83
79
  isError: false,
84
80
  errorText: "This field is required",
85
- infoTextAlign: "right",
86
81
  infoTextMessage: "Here is some information",
87
82
  label: "Description",
88
83
  value: "Here is my description!",
@@ -97,7 +92,6 @@ HorizontalLabel.args = {
97
92
  rowHeight: "2",
98
93
  isError: false,
99
94
  errorText: "This field is required",
100
- infoTextAlign: "right",
101
95
  infoTextMessage: "Here is some information",
102
96
  label: "Description",
103
97
  value: "Here is my description!",
@@ -112,7 +106,6 @@ LargerTextArea.args = {
112
106
  rowHeight: "5",
113
107
  isError: false,
114
108
  errorText: "This field is required",
115
- infoTextAlign: "right",
116
109
  infoTextMessage: "Here is some information",
117
110
  label: "Description",
118
111
  value: "Here is my description!",
@@ -127,7 +120,6 @@ LargerFontSize.args = {
127
120
  fontSize: "24px",
128
121
  isError: false,
129
122
  errorText: "This field is required",
130
- infoTextAlign: "right",
131
123
  infoTextMessage: "Here is some information",
132
124
  label: "Description",
133
125
  value: "Here is my description!",
@@ -5,13 +5,13 @@
5
5
  :hasLabel="label && label.length > 0"
6
6
  >
7
7
  <label-wrapper v-if="label">
8
- <input-label :fontSize="fontSize">{{ label }}</input-label>
8
+ <input-label :fontSize="fontSize" :data-id="labelDataId">{{
9
+ label
10
+ }}</input-label>
9
11
  <info-text
10
12
  v-if="infoTextMessage"
11
13
  :text="infoTextMessage"
12
- borderColor="#ccc"
13
14
  size="16px"
14
- :alignText="infoTextAlign"
15
15
  />
16
16
  </label-wrapper>
17
17
  <input-container
@@ -27,6 +27,7 @@
27
27
  :disabled="isDisabled"
28
28
  @input="onChangeHandler"
29
29
  :resize="resize"
30
+ :data-id="inputDataId"
30
31
  />
31
32
  </input-container>
32
33
  </input-wrapper>
@@ -44,7 +45,6 @@
44
45
  // rowHeight="4" //optional
45
46
  // :isError="false"
46
47
  // :errorText="$gettext('field_required')"
47
- // infoTextAlign="right" // left by default
48
48
  // infoTextMessage="My info message"
49
49
  // label="Question 5"
50
50
  // alignItems="horizontal" // horizontal, vertical
@@ -164,9 +164,6 @@ export default {
164
164
  infoTextMessage: {
165
165
  required: false
166
166
  },
167
- infoTextAlign: {
168
- required: false
169
- },
170
167
  label: {
171
168
  required: false
172
169
  },
@@ -181,6 +178,14 @@ export default {
181
178
  resize: {
182
179
  required: false,
183
180
  default: 'none'
181
+ },
182
+ labelDataId: {
183
+ required: false,
184
+ default: ''
185
+ },
186
+ inputDataId: {
187
+ required: false,
188
+ default: ''
184
189
  }
185
190
  },
186
191
  methods: {
@@ -9,9 +9,6 @@
9
9
  <info-text
10
10
  v-if="infoTextMessage"
11
11
  :text="infoTextMessage"
12
- borderColor="#ccc"
13
- size="14px"
14
- :alignText="infoTextAlign"
15
12
  />
16
13
  </label-container>
17
14
  <toggle-wrapper
@@ -45,9 +42,6 @@
45
42
  @click.native.stop
46
43
  v-if="infoTextMessage"
47
44
  :text="infoTextMessage"
48
- borderColor="#ccc"
49
- size="14px"
50
- :alignText="infoTextAlign"
51
45
  />
52
46
  </label-container>
53
47
  </flex-wrapper>
@@ -67,7 +61,6 @@
67
61
  // labelAlign="right"
68
62
  // fontColor="black"
69
63
  // :disabled="true"
70
- // infoTextAlign="right" // left by default
71
64
  // infoTextMessage="My info message"
72
65
  // />
73
66
 
@@ -271,10 +264,7 @@ export default {
271
264
  },
272
265
  infoTextMessage: {
273
266
  required: false,
274
- },
275
- infoTextAlign: {
276
- required: false,
277
- },
267
+ }
278
268
  },
279
269
  methods: {
280
270
  onToggleChange() {