comand-component-library 3.1.64 → 3.1.65

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": "comand-component-library",
3
- "version": "3.1.64",
3
+ "version": "3.1.65",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "clickout-event": "^1.1.2",
21
- "comand-frontend-framework": "^3.2.47",
21
+ "comand-frontend-framework": "^3.2.48",
22
22
  "core-js": "^3.20.1",
23
23
  "prismjs": "^1.27.0",
24
24
  "vue": "^3.2.31",
package/src/App.vue CHANGED
@@ -1,13 +1,13 @@
1
1
  <!--suppress HtmlUnknownTarget, NpmUsedModulesInstalled, JSUnresolvedVariable -->
2
2
  <template>
3
3
  <a id="anchor-back-to-top"></a>
4
- <CmdSiteHeader :mainNavigationEntries="navigationData" :sticky="true">
5
- <template v-slot:top-header>
6
- <CmdTopHeaderNavigation :topHeaderNavigationData="topHeaderNavigationData" v-if="topHeaderNavigationData"/>
7
- </template>
4
+ <CmdSiteHeader :cmdMainNavigation="navigationData" :sticky="true">
8
5
  <template v-slot:logo>
9
- <CmdCompanyLogo :link="companyLogoData.link" altText="CoManD Logo" :pathDefaultLogo="require('@/assets/images/logo.svg')"
10
- :pathDarkmodeLogo="require('@/assets/images/logo-darkmode.svg')"/>
6
+ <CmdCompanyLogo :link="companyLogoData.link"
7
+ altText="CoManD Logo"
8
+ :pathDefaultLogo="require('@/assets/images/logo.svg')"
9
+ :pathDarkmodeLogo="require('@/assets/images/logo-darkmode.svg')"
10
+ />
11
11
  </template>
12
12
  </CmdSiteHeader>
13
13
  <main>
@@ -594,7 +594,7 @@
594
594
  <a id="section-bank-account-data"></a>
595
595
  <CmdWidthLimitationWrapper>
596
596
  <h2 class="headline-demopage">Bank Account Data</h2>
597
- <CmdBankAccountData :account-data="bankAccountData" :cmd-custom-headline="{ text: 'Bank Account', level: 3}" :allow-copy-by-click="true" />
597
+ <CmdBankAccountData :account-data="bankAccountData" :cmd-custom-headline="{ headlineText: 'Bank Account', headlineLevel: 3}" :allow-copy-by-click="true" />
598
598
  </CmdWidthLimitationWrapper>
599
599
  <!-- end bank account data ------------------------------------------------------------------------------------------------------------------------------------------------------->
600
600
 
@@ -723,12 +723,12 @@
723
723
  <a id="section-custom-headline"></a>
724
724
  <CmdWidthLimitationWrapper>
725
725
  <h2 class="headline-demopage">Custom Headline</h2>
726
- <CmdCustomHeadline icon-class="icon-home" pre-headline="Pre-headline" :headline="{ text: 'Headline level 1', level: '1'}"/>
727
- <CmdCustomHeadline :headline="{ text: 'Headline level 2', level: '2'}"/>
728
- <CmdCustomHeadline :headline="{ text: 'Headline level 3', level: '3'}"/>
729
- <CmdCustomHeadline :headline="{ text: 'Headline level 4', level: '4'}"/>
730
- <CmdCustomHeadline :headline="{ text: 'Headline level 5', level: '5'}"/>
731
- <CmdCustomHeadline :headline="{ text: 'Headline level 6', level: '6'}"/>
726
+ <CmdCustomHeadline icon-class="icon-home" pre-headline-text="Pre-headline" :headline="{ headlineText: 'Headline level 1', headlineLevel: '1'}"/>
727
+ <CmdCustomHeadline :headline="{ headlineText: 'Headline level 2', headlineLevel: '2'}"/>
728
+ <CmdCustomHeadline :headline="{ headlineText: 'Headline level 3', headlineLevel: '3'}"/>
729
+ <CmdCustomHeadline :headline="{ headlineText: 'Headline level 4', headlineLevel: '4'}"/>
730
+ <CmdCustomHeadline :headline="{ headlineText: 'Headline level 5', headlineLevel: '5'}"/>
731
+ <CmdCustomHeadline :headline="{ headlineText: 'Headline level 6', headlineLevel: '6'}"/>
732
732
  </CmdWidthLimitationWrapper>
733
733
  <!-- end custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
734
734
 
@@ -748,7 +748,7 @@
748
748
  <a id="section-google-maps-integration"></a>
749
749
  <CmdWidthLimitationWrapper>
750
750
  <h2 class="headline-demopage">Google Maps&trade;-Integration</h2>
751
- <CmdGoogleMaps :addressData="addressData"/>
751
+ <CmdGoogleMaps :address="addressData"/>
752
752
  </CmdWidthLimitationWrapper>
753
753
 
754
754
  <a id="section-image-gallery"></a>
@@ -818,9 +818,9 @@
818
818
  <a id="section-system-message"></a>
819
819
  <CmdWidthLimitationWrapper>
820
820
  <h2 class="headline-demopage">System Message</h2>
821
- <CmdSystemMessage status="error"
821
+ <CmdSystemMessage validationStatus="error"
822
822
  :fullWidth="true"
823
- message="This is an error message!"
823
+ systemMessage="This is an error message!"
824
824
  :iconMessage="{iconClass: 'icon-error-circle'}">
825
825
  <ul>
826
826
  <li>Error #1</li>
@@ -828,14 +828,20 @@
828
828
  <li>Error #3</li>
829
829
  </ul>
830
830
  </CmdSystemMessage>
831
- <CmdSystemMessage status="warning" :fullWidth="true" message="This is a warning message!">
831
+ <CmdSystemMessage validationStatus="warning"
832
+ :fullWidth="true"
833
+ systemMessage="This is a warning message!">
832
834
  <p>This is additional text!</p>
833
835
  </CmdSystemMessage>
834
- <CmdSystemMessage status="success" :fullWidth="true" message="This is a success message!"
836
+ <CmdSystemMessage validationStatus="success"
837
+ :fullWidth="true"
838
+ systemMessage="This is a success message!"
835
839
  :iconMessage="{iconClass: 'icon-check-circle'}">
836
840
  <p>This is additional text!</p>
837
841
  </CmdSystemMessage>
838
- <CmdSystemMessage status="info" :fullWidth="true" message="This is an info message!"
842
+ <CmdSystemMessage validationStatus="info"
843
+ :fullWidth="true"
844
+ systemMessage="This is an info message!"
839
845
  :iconMessage="{iconClass: 'icon-info-circle'}">
840
846
  <p>This is additional text!</p>
841
847
  </CmdSystemMessage>
@@ -902,9 +908,9 @@
902
908
  <CmdWidthLimitationWrapper>
903
909
  <h2 class="headline-demopage">Upload-Form</h2>
904
910
  <h3>Simple mode</h3>
905
- <CmdUploadForm headline="Select files to upload"
911
+ <CmdUploadForm :cmdCustomHeadlineFieldset="{headlineText: 'Select files to upload', headlineLevel: 3}"
906
912
  :enableDragAndDrop="true"
907
- :allowedFileExtensions="['jpg']"
913
+ :allowedFileExtensions="['jpg', 'png']"
908
914
  :allowMultipleFileUploads="true"
909
915
  :advancedMode="false"
910
916
  @error="showError"
@@ -922,11 +928,20 @@
922
928
 
923
929
  <CmdWidthLimitationWrapper id="site-footer" inner-component="footer">
924
930
  <CmdSwitchLanguage :languages="languagesData" @click="doSomething"/>
925
- <CmdFooterNavigation :footerNavigation="footerNavigationData" headline="Links"/>
926
- <CmdOpeningHours :openingHours="openingHoursData" :closed="true" headline="Opening hours"
927
- textOpenClosed="Closed right now!" textHolidaysClosed="Closed on holidays"
928
- textMiscInfo="Miscellaneous information"/>
929
- <CmdAddressData :addressData="addressData" :linkGoogleMaps="true" headline="Contact"/>
931
+ <CmdListOfLinks :links="footerNavigationData"
932
+ :cmdCustomHeadline="{headlineText: 'List of links', headlineLevel: 6}"
933
+ />
934
+ <CmdOpeningHours :openingHours="openingHoursData"
935
+ :closed="true"
936
+ :cmdCustomHeadline="{headlineText: 'Opening hours', headlineLevel: 6}"
937
+ textOpenClosed="Closed right now!"
938
+ textHolidaysClosed="Closed on holidays"
939
+ textMiscInfo="Miscellaneous information"
940
+ />
941
+ <CmdAddressData :addressData="addressData"
942
+ :linkGoogleMaps="true"
943
+ :cmdCustomHeadline="{headlineText: 'Address data', headlineLevel: 6}"
944
+ />
930
945
  </CmdWidthLimitationWrapper>
931
946
 
932
947
  <CmdCopyrightInformation/>
@@ -979,7 +994,6 @@ import tabsData from '@/assets/data/tabs.json'
979
994
  import tableDataSmall from '@/assets/data/table-small.json'
980
995
  import tableDataLarge from '@/assets/data/table-large.json'
981
996
  import thumbnailScrollerData from '@/assets/data/thumbnail-scroller.json'
982
- import topHeaderNavigationData from '@/assets/data/list-of-links-top-header-navigation.json'
983
997
 
984
998
  // import used components
985
999
  import CmdAddressData from "@/components/CmdAddressData"
@@ -1023,10 +1037,12 @@ import {openFancyBox} from "@/components/CmdFancyBox"
1023
1037
 
1024
1038
  // import external functions
1025
1039
  import * as functions from "@/mixins/FieldValidation.js"
1040
+ import CmdListOfLinks from "./components/CmdListOfLinks";
1026
1041
 
1027
1042
  export default {
1028
1043
  name: "App",
1029
1044
  components: {
1045
+ CmdListOfLinks,
1030
1046
  CmdAddressData,
1031
1047
  CmdBackToTopButton,
1032
1048
  CmdBankAccountData,
@@ -1148,8 +1164,7 @@ export default {
1148
1164
  tableDataSmall,
1149
1165
  tableDataLarge,
1150
1166
  tabsData,
1151
- thumbnailScrollerData,
1152
- topHeaderNavigationData
1167
+ thumbnailScrollerData
1153
1168
  }
1154
1169
  },
1155
1170
  methods: {
@@ -21,22 +21,5 @@
21
21
  "path": "http://www.comand-cms.com",
22
22
  "target": "_blank",
23
23
  "tooltip": "Open CoManD-Website in new tab"
24
- },
25
- {
26
- "type":"router",
27
- "text": "Router-link with path",
28
- "path": "/"
29
- },
30
- {
31
- "type":"router",
32
- "text": "Router-link with name",
33
- "tooltip": "Go to homepage",
34
- "route": {
35
- "name": "home",
36
- "params": {
37
- "param1": "value",
38
- "param2": "value"
39
- }
40
- }
41
24
  }
42
25
  ]
@@ -126,7 +126,7 @@ export default {
126
126
  */
127
127
  textLegend: {
128
128
  type: String,
129
- required: true
129
+ required: false
130
130
  },
131
131
  /**
132
132
  * toggle legend visibility
@@ -3,16 +3,22 @@
3
3
  <div class="cmd-cookie-disclaimer flex-container vertical">
4
4
  <!-- begin CmdCustomHeadline -->
5
5
  <CmdCustomHeadline
6
- v-if="cmdCustomHeadline"
7
- v-bind="cmdCustomHeadline"
6
+ v-if="cmdCustomHeadlineCookieDisclaimer?.show && cmdCustomHeadlineCookieDisclaimer?.headlineText && cmdCustomHeadlineCookieDisclaimer?.headlineLevel"
7
+ v-bind="cmdCustomHeadlineCookieDisclaimer"
8
+ :headlineText="cmdCustomHeadlineCookieDisclaimer.headlineText"
9
+ :headlineLevel="cmdCustomHeadlineCookieDisclaimer.headlineLevel"
8
10
  />
9
11
  <!-- end CmdCustomHeadline -->
10
12
 
11
13
  <!-- begin slot for cookie-options -->
12
14
  <slot name="cookie-options">
13
15
  <div v-if="cookieOptions.required">
14
- <h3>{{ cookieOptions.required.headline }}</h3>
15
-
16
+ <CmdCustomHeadline
17
+ v-if="cmdCustomHeadlineRequiredCookies?.show && cmdCustomHeadlineRequiredCookies?.headlineText && cmdCustomHeadlineRequiredCookies?.headlineLevel"
18
+ v-bind="cmdCustomHeadlineRequiredCookies"
19
+ :headlineText="cmdCustomHeadlineRequiredCookies.headlineText"
20
+ :headlineLevel="cmdCustomHeadlineRequiredCookies.headlineLevel"
21
+ />
16
22
  <!-- &lt;!&ndash; begin CmdAccordion &ndash;&gt;-->
17
23
  <!-- <CmdAccordion :accordion-data="cookieOptions.required.cookies.length" :accordionData="2">-->
18
24
  <!-- <template v-for="(cookie, index) in cookieOptions.required.cookies"-->
@@ -48,7 +54,12 @@
48
54
  </div>
49
55
  <hr />
50
56
  <div v-if="cookieOptions.optional">
51
- <h3>{{ cookieOptions.optional.headline }}</h3>
57
+ <CmdCustomHeadline
58
+ v-if="cmdCustomHeadlineOptionalCookies?.show && cmdCustomHeadlineOptionalCookies?.headlineText && cmdCustomHeadlineOptionalCookies?.headlineLevel"
59
+ v-bind="cmdCustomHeadlineOptionalCookies"
60
+ :headlineText="cmdCustomHeadlineOptionalCookies.headlineText"
61
+ :headlineLevel="cmdCustomHeadlineOptionalCookies.headlineLevel"
62
+ />
52
63
  <!-- &lt;!&ndash; begin CmdAccordion &ndash;&gt;-->
53
64
  <!-- <CmdAccordion :accordion-data="cookieOptions.optional.cookies.length" :accordionData="2">-->
54
65
  <!-- <template v-for="(cookie, index) in cookieOptions.optional.cookies"-->
@@ -118,11 +129,43 @@ export default {
118
129
  },
119
130
  props: {
120
131
  /**
121
- * properties for CmdCustomHeadline-component
132
+ * properties for CmdCustomHeadline-component at top of cookie disclaimer
122
133
  */
123
- cmdCustomHeadline: {
134
+ cmdCustomHeadlineCookieDisclaimer: {
124
135
  type: Object,
125
- required: false
136
+ default() {
137
+ return {
138
+ show: true,
139
+ headlineText: "Cookie disclaimer",
140
+ headlineLevel: 2
141
+ }
142
+ }
143
+ },
144
+ /**
145
+ * properties for CmdCustomHeadline-component above required cookies
146
+ */
147
+ cmdCustomHeadlineRequiredCookies: {
148
+ type: Object,
149
+ default() {
150
+ return {
151
+ show: true,
152
+ headlineText: "Required cookies",
153
+ headlineLevel: 3
154
+ }
155
+ }
156
+ },
157
+ /**
158
+ * properties for CmdCustomHeadline-component above optional cookies
159
+ */
160
+ cmdCustomHeadlineOptionalCookies: {
161
+ type: Object,
162
+ default() {
163
+ return {
164
+ show: true,
165
+ headlineText: "Optional cookies",
166
+ headlineLevel: 3
167
+ }
168
+ }
126
169
  },
127
170
  /**
128
171
  * list of cookie-options
@@ -546,7 +546,40 @@ export default {
546
546
  tooltip: "Info"
547
547
  }
548
548
  }
549
- }
549
+ },
550
+ /**
551
+ * icon to toggle password-visibility
552
+ *
553
+ * element-property must me set to 'input'
554
+ * type-property must be set to 'password'
555
+ *
556
+ */
557
+ iconPasswordVisible: {
558
+ type: Object,
559
+ default() {
560
+ return {
561
+ show: true,
562
+ iconClass: "icon-visible",
563
+ tooltip: "Show password"
564
+ }
565
+ }
566
+ },
567
+ /**
568
+ * icon to toggle password-visibility
569
+ *
570
+ * element-property must me set to 'input'
571
+ * type-property must be set to 'password'
572
+ *
573
+ */
574
+ iconPasswordInvisible: {
575
+ type: Object,
576
+ default() {
577
+ return {
578
+ show: true,
579
+ iconClass: "icon-not-visible",
580
+ }
581
+ }
582
+ },
550
583
  },
551
584
  computed: {
552
585
  buttonAttrs() {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :class="['label', 'multiple-switch', {disabled: status === 'disabled', error: status === 'error'}]">
3
- <span :class="{hidden: !showLegend}">{{ labelText }}</span>
3
+ <span :class="{hidden: !showLabel}">{{ labelText }}</span>
4
4
  <span class="flex-container no-gap no-flex">
5
5
  <label :class="{disabled: status === 'disabled'}" :for="multipleswitch.id"
6
6
  v-for="(multipleswitch, index) in multipleSwitches" :key="index">
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <!-- begin advanced mode -->
3
3
  <fieldset v-if="advancedMode" :class="['cmd-upload-form flex-container', { 'upload-initiated': uploadInitiated }]">
4
+ <legend :class="{hidden : !showLegend}">{{ textLegend }}</legend>
4
5
  <!-- begin CmdCustomHeadlineFieldset -->
5
6
  <CmdCustomHeadline v-if="cmdCustomHeadlineFieldset"
6
7
  v-bind="cmdCustomHeadlineFieldset"
@@ -24,10 +25,10 @@
24
25
 
25
26
  <div :class="['box drop-area', { 'allow-drop': allowDrop }]" v-on="dragAndDropHandler">
26
27
  <template v-if="!listOfFiles.length">
27
- <CmdCustomHeadline v-if="allowMultipleFileUploads" v-bind="cmdCustomHeadline">
28
+ <CmdCustomHeadline v-if="allowMultipleFileUploads" v-bind="cmdCustomHeadlineNoFilesToUpload" headlineLevel="4">
28
29
  {{ getMessage("cmduploadform.no_files_to_upload") }}
29
30
  </CmdCustomHeadline>
30
- <CmdCustomHeadline v-else v-bind="cmdCustomHeadline">
31
+ <CmdCustomHeadline v-else v-bind="cmdCustomHeadlineNoFilesToUpload" headlineLevel="4">
31
32
  {{ getMessage("cmduploadform.no_file_to_upload") }}
32
33
  </CmdCustomHeadline>
33
34
  </template>
@@ -35,7 +36,9 @@
35
36
  <!-- begin total-upload information -->
36
37
  <template v-else>
37
38
  <template v-if="showTotalUpload && listOfFiles.length !== 1">
38
- <h4>{{ getMessage("cmduploadform.headline.summary_of_all_files") }}</h4>
39
+ <CmdCustomHeadline v-bind="cmdCustomHeadlineSummaryOfAllFiles" headlineLevel="4">
40
+ {{ getMessage("cmduploadform.headline.summary_of_all_files") }}
41
+ </CmdCustomHeadline>
39
42
  <ul v-if="showTotalUpload && listOfFiles.length !== 1" class="list-of-files">
40
43
  <li class="flex-container no-flex">
41
44
  <a
@@ -75,7 +78,9 @@
75
78
  <!-- end total-upload information -->
76
79
 
77
80
  <!-- begin list of selected files -->
78
- <h4>{{ getMessage("cmduploadform.headline.list_of_selected_files") }}</h4>
81
+ <CmdCustomHeadline v-bind="cmdCustomHeadlineListOfSelectedFiles" headlineLevel="4">
82
+ {{ getMessage("cmduploadform.headline.list_of_selected_files") }}
83
+ </CmdCustomHeadline>
79
84
  <ul class="list-of-files">
80
85
  <li
81
86
  v-for="(uploadFile, index) in listOfFiles"
@@ -124,12 +129,12 @@
124
129
  <!-- end list of selected files -->
125
130
 
126
131
  <!-- begin upload conditions -->
127
- <h4 v-if="allowMultipleFileUploads && listOfFiles.length">
132
+ <CmdCustomHeadline v-if="allowMultipleFileUploads && listOfFiles.length" v-bind="cmdCustomHeadlineSelectAdditionalFiles" headlineLevel="4">
128
133
  {{ getMessage("cmduploadform.headline.select_additional_files") }}
129
- </h4>
130
- <h4 v-if="!allowMultipleFileUploads && listOfFiles.length">
134
+ </CmdCustomHeadline>
135
+ <CmdCustomHeadline v-if="!allowMultipleFileUploads && listOfFiles.length" v-bind="cmdCustomHeadlineSelectNewFile" headlineLevel="4">
131
136
  {{ getMessage("cmduploadform.headline.select_new_file") }}
132
- </h4>
137
+ </CmdCustomHeadline>
133
138
  <dl class="small">
134
139
  <template v-if="maxTotalUploadSize > 0">
135
140
  <dt :class="{ error: totalSize > maxTotalUploadSize }">
@@ -169,6 +174,7 @@
169
174
  </dd>
170
175
  </dl>
171
176
  <!-- end upload conditions -->
177
+
172
178
  <button
173
179
  type="button"
174
180
  :class="['button upload primary', { disabled: uploadInitiated }]"
@@ -370,13 +376,6 @@ export default {
370
376
  type: String,
371
377
  default: ""
372
378
  },
373
- /**
374
- * properties for CmdCustomHeadline-component
375
- */
376
- cmdCustomHeadlineFieldset: {
377
- type: Object,
378
- required: false
379
- },
380
379
  /**
381
380
  * enable if files can also be dragged (and dropped) into upload-area
382
381
  */
@@ -501,12 +500,76 @@ export default {
501
500
  cancelIconClass: {
502
501
  type: String,
503
502
  default: "icon-cancel"
503
+ },
504
+ /**
505
+ * properties for CmdCustomHeadline-component at of the fieldset
506
+ */
507
+ cmdCustomHeadlineFieldset: {
508
+ type: Object,
509
+ required: false
510
+ },
511
+ /**
512
+ * properties for CmdCustomHeadline-component shown if no files for upload exist
513
+ */
514
+ cmdCustomHeadlineNoFilesToUpload: {
515
+ type: Object,
516
+ required: false
517
+ },
518
+ /**
519
+ * properties for CmdCustomHeadline-component shown if no file for upload exist
520
+ */
521
+ cmdCustomHeadlineNoFileToUpload: {
522
+ type: Object,
523
+ required: false
524
+ },
525
+ /**
526
+ * properties for CmdCustomHeadline-component for 'summary of all files'
527
+ */
528
+ cmdCustomHeadlineSummaryOfAllFiles: {
529
+ type: Object,
530
+ required: false
531
+ },
532
+ /**
533
+ * properties for CmdCustomHeadline-component for 'list of selected files'
534
+ */
535
+ cmdCustomHeadlineListOfSelectedFiles: {
536
+ type: Object,
537
+ required: false
538
+ },
539
+ /**
540
+ * properties for CmdCustomHeadline-component for 'select additional files'
541
+ */
542
+ cmdCustomHeadlineSelectAdditionalFiles: {
543
+ type: Object,
544
+ required: false
545
+ },
546
+ /**
547
+ * properties for CmdCustomHeadline-component for 'select new file'
548
+ */
549
+ cmdCustomHeadlineSelectNewFile: {
550
+ type: Object,
551
+ required: false
552
+ },
553
+ /**
554
+ * toggle visibility for legend-text
555
+ */
556
+ showLegend: {
557
+ type: Boolean,
558
+ default: true
559
+ },
560
+ /**
561
+ * text for legend
562
+ *
563
+ * @requiredForAccessibility: true
564
+ */
565
+ textLegend: {
566
+ type: String,
567
+ required: false
504
568
  }
505
569
  },
506
570
  computed: {
507
571
  fileTypeImage() {
508
572
  return this.allowedFileExtensions.some(extension => extension.includes('jpg'));
509
-
510
573
  },
511
574
  failedUpload() {
512
575
  return this.listOfFiles.some(file => file.error)
@@ -61,7 +61,7 @@ export default {
61
61
  * icon is also used in 'list-of-requirements' (showRequirements-property must be set to true)
62
62
  */
63
63
  iconHasStateError: {
64
- type: String,
64
+ type: Object,
65
65
  default() {
66
66
  return {
67
67
  iconClass: "icon-error-circle",
@@ -74,7 +74,7 @@ export default {
74
74
  * icon will be displayed inside the field on the left (in front of the input)
75
75
  */
76
76
  iconHasStateWarning: {
77
- type: String,
77
+ type: Object,
78
78
  default() {
79
79
  return {
80
80
  iconClass: "icon-exclamation-circle",
@@ -88,7 +88,7 @@ export default {
88
88
  * icon is also used in 'list-of-requirements' (showRequirements-property must be set to true)
89
89
  */
90
90
  iconHasStateSuccess: {
91
- type: String,
91
+ type: Object,
92
92
  default() {
93
93
  return {
94
94
  iconClass: "icon-check-circle",
@@ -101,7 +101,7 @@ export default {
101
101
  * icon will be displayed inside the field on the left (in front of the input)
102
102
  */
103
103
  iconHasStateInfo: {
104
- type: String,
104
+ type: Object,
105
105
  default() {
106
106
  return {
107
107
  iconClass: "icon-info-circle",
@@ -113,7 +113,7 @@ export default {
113
113
  * icon to show that caps-lock is activated
114
114
  */
115
115
  iconCapsLock: {
116
- type: String,
116
+ type: Object,
117
117
  default() {
118
118
  return {
119
119
  iconClass: "icon-home"
@@ -124,7 +124,7 @@ export default {
124
124
  * icon displayed if password-field is clicked to show password
125
125
  */
126
126
  iconPasswordVisible: {
127
- type: String,
127
+ type: Object,
128
128
  default() {
129
129
  return {
130
130
  iconClass: "icon-visible",
@@ -136,7 +136,7 @@ export default {
136
136
  * icon displayed to show password of a password-field
137
137
  */
138
138
  iconPasswordInvisible: {
139
- type: String,
139
+ type: Object,
140
140
  default() {
141
141
  return {
142
142
  iconClass: "icon-not-visible"