comand-component-library 3.1.59 → 3.1.60
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/dist/comand-component-library.css +1 -1
- package/dist/comand-component-library.umd.min.js +1 -1
- package/package.json +2 -2
- package/src/App.vue +13 -2
- package/src/assets/data/table-small.json +1 -1
- package/src/components/CmdFakeSelect.vue +1 -1
- package/src/components/CmdFormElement.vue +24 -22
- package/src/components/CmdGoogleMaps.vue +9 -1
- package/src/components/CmdLoginForm.vue +1 -7
- package/src/components/CmdTable.vue +74 -33
- package/src/components/CmdTabs.vue +1 -2
- package/src/components/CmdUploadForm.vue +79 -23
- package/src/mixins/CmdFakeSelect/DefaultMessageProperties.js +5 -1
- package/src/mixins/CmdFormElement/DefaultMessageProperties.js +5 -1
- package/src/mixins/FieldValidation.js +81 -18
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "comand-component-library",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.60",
|
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.
|
21
|
+
"comand-frontend-framework": "^3.2.46",
|
22
22
|
"core-js": "^3.20.1",
|
23
23
|
"prismjs": "^1.27.0",
|
24
24
|
"vue": "^3.2.31",
|
package/src/App.vue
CHANGED
@@ -414,6 +414,15 @@
|
|
414
414
|
id="inputfield-date"
|
415
415
|
v-model="inputDate"
|
416
416
|
:status="formElementStatus"/>
|
417
|
+
<CmdFormElement element="input"
|
418
|
+
labelText="Label (inline) for inputfield (search) without search-button:"
|
419
|
+
:displayLabelInline="true"
|
420
|
+
type="search"
|
421
|
+
id="inputfield-search"
|
422
|
+
placeholder="Keyword(s)"
|
423
|
+
v-model="inputSearch"
|
424
|
+
:showSearchButton="false"
|
425
|
+
:status="formElementStatus"/>
|
417
426
|
<CmdFormElement element="input"
|
418
427
|
labelText="Label (inline) for inputfield (search):"
|
419
428
|
:displayLabelInline="true"
|
@@ -835,8 +844,10 @@
|
|
835
844
|
<a id="section-tables"></a>
|
836
845
|
<CmdWidthLimitationWrapper>
|
837
846
|
<h2 class="headline-demopage">Tables</h2>
|
838
|
-
<h3>Table as wide as its content</h3>
|
839
|
-
<CmdTable :collapsible="true" :fullWidthOnDefault="false"
|
847
|
+
<h3>Table as wide as its content (with caption)</h3>
|
848
|
+
<CmdTable :collapsible="true" :fullWidthOnDefault="false" :userCanToggleWidth="true" :table-data="tableDataSmall"/>
|
849
|
+
<h3>Table as wide as its content (without caption)</h3>
|
850
|
+
<CmdTable :collapsible="true" :fullWidthOnDefault="false" :userCanToggleWidth="true" :caption="{ text: 'Hidden caption', show: false}" :table-data="tableDataSmall"/>
|
840
851
|
<h3>Table as wide as possible</h3>
|
841
852
|
<CmdTable :collapsible="true" :fullWidthOnDefault="false" :userCanToggleWidth="true" :table-data="tableDataLarge"/>
|
842
853
|
</CmdWidthLimitationWrapper>
|
@@ -69,12 +69,12 @@
|
|
69
69
|
<!-- begin show-password-icon -->
|
70
70
|
<a v-if="$attrs.type === 'password'"
|
71
71
|
href="#"
|
72
|
-
class="place-inside
|
72
|
+
:class="['place-inside', iconPasswordVisible.iconClass]"
|
73
73
|
@mousedown.prevent="showPassword"
|
74
74
|
@mouseup.prevent="hidePassword"
|
75
75
|
@mouseleave.prevent="hidePassword"
|
76
76
|
@click.prevent
|
77
|
-
title="
|
77
|
+
:title="iconPasswordVisible.tooltip">
|
78
78
|
</a>
|
79
79
|
<!-- end show-password-icon -->
|
80
80
|
|
@@ -145,21 +145,23 @@
|
|
145
145
|
<!-- end textarea -->
|
146
146
|
|
147
147
|
<!-- begin searchfield -->
|
148
|
-
<
|
149
|
-
<
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
148
|
+
<template v-else-if="element === 'input' && $attrs.type === 'search'">
|
149
|
+
<div class="search-field-wrapper flex-container no-gap">
|
150
|
+
<a v-if="iconDelete.show" href="#" @click.prevent="$emit('update:modelValue', '')" :class="iconDelete.iconClass" :title="iconDelete.tooltip"/>
|
151
|
+
<input
|
152
|
+
v-bind="$attrs"
|
153
|
+
:id="id"
|
154
|
+
@input="onInput"
|
155
|
+
:maxlength="$attrs.maxlength > 0 ? $attrs.maxlength : 255"
|
156
|
+
:value="modelValue"
|
157
|
+
/>
|
158
|
+
</div>
|
157
159
|
<button v-if="showSearchButton" class="no-flex" type="button" :title="iconSearch.tooltip">
|
158
160
|
<span :class="iconSearch.iconClass"></span>
|
159
161
|
</button>
|
160
|
-
</
|
161
|
-
<!-- end searchfield -->
|
162
|
+
</template>
|
162
163
|
</label>
|
164
|
+
<!-- end searchfield -->
|
163
165
|
|
164
166
|
<!-- begin button -->
|
165
167
|
<button v-else class="button" v-bind="buttonAttrs">
|
@@ -193,8 +195,8 @@
|
|
193
195
|
<template v-for="(requirement, index) in inputRequirements" :key="index">
|
194
196
|
<dt aria-live="assertive" :class="requirement.valid(modelValue, $attrs) ? 'success' : 'error'">{{ requirement.message }}:</dt>
|
195
197
|
<dd :class="requirement.valid(modelValue, $attrs) ? 'success' : 'error'">
|
196
|
-
<span aria-live="assertive" :class="requirement.valid(modelValue, $attrs) ?
|
197
|
-
:title="requirement.valid(modelValue, $attrs) ?
|
198
|
+
<span aria-live="assertive" :class="requirement.valid(modelValue, $attrs) ? iconHasStateSuccess.iconClass : iconHasStateError.iconClass"
|
199
|
+
:title="requirement.valid(modelValue, $attrs) ? iconHasStateSuccess.tooltip : iconHasStateError.tooltip"></span>
|
198
200
|
</dd>
|
199
201
|
</template>
|
200
202
|
</dl>
|
@@ -243,7 +245,7 @@ export default {
|
|
243
245
|
},
|
244
246
|
props: {
|
245
247
|
/**
|
246
|
-
* set value for v-model (must be
|
248
|
+
* set value for v-model (must be named modelValue in vue3 if default v-model should be used)
|
247
249
|
*/
|
248
250
|
modelValue: {
|
249
251
|
type: [String, Boolean, Array, Number],
|
@@ -521,13 +523,13 @@ export default {
|
|
521
523
|
|
522
524
|
// set default-tooltip if customTooltip is not set
|
523
525
|
if (this.validationStatus === 'error') {
|
524
|
-
return "
|
526
|
+
return this.getMessage("cmdformelement.validationTooltip.an_error_occurred")
|
525
527
|
} else if (this.validationStatus === 'success') {
|
526
|
-
return "
|
528
|
+
return this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly")
|
527
529
|
} else if (this.capsLockActivated) {
|
528
|
-
return "
|
530
|
+
return this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated")
|
529
531
|
}
|
530
|
-
return "
|
532
|
+
return this.getMessage("cmdformelement.validationTooltip.open_field_requirements")
|
531
533
|
}
|
532
534
|
},
|
533
535
|
methods: {
|
@@ -599,14 +601,14 @@ export default {
|
|
599
601
|
const password = passwordField.value
|
600
602
|
|
601
603
|
// toggle input-type to make password visible
|
602
|
-
passwordField.nextElementSibling.classList.replace(
|
604
|
+
passwordField.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass, this.iconPasswordInvisible.iconClass)
|
603
605
|
passwordField.setAttribute("type", "text")
|
604
606
|
|
605
607
|
// assign saved password back to field
|
606
608
|
passwordField.setAttribute("value", password)
|
607
609
|
},
|
608
610
|
hidePassword() {
|
609
|
-
this.$refs.input.nextElementSibling.classList.replace(
|
611
|
+
this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass, this.iconPasswordVisible.iconClass)
|
610
612
|
this.$refs.input.setAttribute("type", "password")
|
611
613
|
}
|
612
614
|
},
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="cmd-google-maps
|
2
|
+
<div class="cmd-google-maps">
|
3
3
|
<iframe :src="locateAddress"></iframe>
|
4
4
|
</div>
|
5
5
|
</template>
|
@@ -34,6 +34,14 @@ export default {
|
|
34
34
|
/* begin cmd-google-maps ---------------------------------------------------------------------------------------- */
|
35
35
|
.cmd-google-maps {
|
36
36
|
border: var(--default-border);
|
37
|
+
|
38
|
+
aspect-ratio: 16/9;
|
39
|
+
|
40
|
+
iframe {
|
41
|
+
display: block;
|
42
|
+
width: 100%;
|
43
|
+
height: 100%;
|
44
|
+
}
|
37
45
|
}
|
38
46
|
|
39
47
|
/* end cmd-google-maps ------------------------------------------------------------------------------------------ */
|
@@ -274,13 +274,7 @@ export default {
|
|
274
274
|
*/
|
275
275
|
cmdCustomHeadlineLoginForm: {
|
276
276
|
type: Object,
|
277
|
-
|
278
|
-
return {
|
279
|
-
show: true,
|
280
|
-
headlineText: "Login",
|
281
|
-
headlineLevel: 2
|
282
|
-
}
|
283
|
-
}
|
277
|
+
required: false
|
284
278
|
},
|
285
279
|
/**
|
286
280
|
* properties for CmdCustomHeadline-component for send-login-form
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<template>
|
2
|
-
<div :class="['cmd-table-wrapper', {'collapsed': !showTableData, 'full-width': fullWidth}]">
|
2
|
+
<div :class="['cmd-table-wrapper', {'collapsed': !showTableData, 'full-width': fullWidth, 'has-caption': hasCaption}]">
|
3
3
|
<div v-if="collapsible || userCanToggleWidth" class="button-wrapper">
|
4
4
|
<a v-if="userCanToggleWidth" class="button"
|
5
5
|
href="#" @click.prevent="fullWidth = !fullWidth"
|
6
|
-
:title="
|
6
|
+
:title="iconToggleWidth.tooltip"
|
7
7
|
>
|
8
|
-
<span :class="
|
8
|
+
<span :class="iconToggleWidth.iconClass"></span>
|
9
9
|
</a>
|
10
10
|
<a v-if="collapsible" class="button"
|
11
11
|
href="#" @click.prevent="showTableData = !showTableData"
|
@@ -14,34 +14,38 @@
|
|
14
14
|
<span :class="showTableData ? iconCollapse.iconClass : iconExpand.iconClass"></span>
|
15
15
|
</a>
|
16
16
|
</div>
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
17
|
+
<div class="inner-wrapper">
|
18
|
+
<table :class="{'full-width': fullWidth}">
|
19
|
+
<caption v-if="tableData.caption?.text || caption?.text" :class="{ hidden: hideCaption }">
|
20
|
+
{{ caption?.text || tableData.caption?.text }}
|
21
|
+
</caption>
|
22
|
+
<thead>
|
20
23
|
<tr>
|
21
24
|
<th v-for="(tablehead, indexHead) in tableData.thead" :key="indexHead">
|
22
25
|
{{ tablehead }}
|
23
26
|
</th>
|
24
27
|
</tr>
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
+
</thead>
|
29
|
+
<transition name="fade">
|
30
|
+
<tbody v-show="showTableData" aria-expanded="true">
|
28
31
|
<tr :class="{'highlighted' : tableData.rowIndexHighlighted === indexRows}" v-for="(tablerows, indexRows) in tableData.tbody" :key="indexRows">
|
29
32
|
<td :class="{'highlighted' : tableData.columnIndexHighlighted === indexData}" v-for="(tabledata, indexData) in tablerows" :key="indexData">
|
30
33
|
{{ tabledata }}
|
31
34
|
</td>
|
32
35
|
</tr>
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
36
|
+
</tbody>
|
37
|
+
</transition>
|
38
|
+
<transition name="fade">
|
39
|
+
<tfoot v-if="tableData.tfoot && tableData.tfoot.length && showTableData" aria-expanded="true">
|
37
40
|
<tr>
|
38
41
|
<td :class="{'highlighted' : tableData.columnIndexHighlighted === indexFoot}" v-for="(tablefoot, indexFoot) in tableData.tfoot" :key="indexFoot">
|
39
42
|
{{ tablefoot }}
|
40
43
|
</td>
|
41
44
|
</tr>
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
+
</tfoot>
|
46
|
+
</transition>
|
47
|
+
</table>
|
48
|
+
</div>
|
45
49
|
</div>
|
46
50
|
</template>
|
47
51
|
|
@@ -62,6 +66,15 @@ export default {
|
|
62
66
|
type: Object,
|
63
67
|
required: true
|
64
68
|
},
|
69
|
+
/**
|
70
|
+
* caption for table (shown above table)
|
71
|
+
*
|
72
|
+
* @requiredForAccessibility: true
|
73
|
+
*/
|
74
|
+
caption: {
|
75
|
+
type: Object,
|
76
|
+
required: false
|
77
|
+
},
|
65
78
|
/**
|
66
79
|
* activate if table should be collapsible
|
67
80
|
*/
|
@@ -116,12 +129,12 @@ export default {
|
|
116
129
|
*
|
117
130
|
* @requiredForAccessibility: partial
|
118
131
|
*/
|
119
|
-
|
132
|
+
iconToggleWidth: {
|
120
133
|
type: Object,
|
121
134
|
default: function () {
|
122
135
|
return {
|
123
|
-
iconClass: "icon-
|
124
|
-
tooltip: "
|
136
|
+
iconClass: "icon-table",
|
137
|
+
tooltip: "Toggle table width"
|
125
138
|
}
|
126
139
|
}
|
127
140
|
},
|
@@ -139,6 +152,19 @@ export default {
|
|
139
152
|
}
|
140
153
|
}
|
141
154
|
}
|
155
|
+
},
|
156
|
+
computed: {
|
157
|
+
hasCaption() {
|
158
|
+
if (this.hideCaption) {
|
159
|
+
return false
|
160
|
+
}
|
161
|
+
|
162
|
+
// check is a caption-text is defined
|
163
|
+
return this.tableData.caption?.text || this.caption?.text
|
164
|
+
},
|
165
|
+
hideCaption() {
|
166
|
+
return this.caption?.show === false || (this.caption?.show !== true && !this.tableData.caption?.show)
|
167
|
+
}
|
142
168
|
}
|
143
169
|
}
|
144
170
|
</script>
|
@@ -147,9 +173,10 @@ export default {
|
|
147
173
|
/* begin cmd-table-wrapper ---------------------------------------------------------------------------------------- */
|
148
174
|
.cmd-table-wrapper {
|
149
175
|
display: inline-flex;
|
176
|
+
flex-direction: column;
|
150
177
|
max-width: 100%;
|
151
|
-
overflow-x: auto;
|
152
178
|
margin-bottom: var(--default-margin);
|
179
|
+
gap: calc(var(--default-margin) / 2);
|
153
180
|
|
154
181
|
&.collapsed, &.full-width {
|
155
182
|
overflow: hidden;
|
@@ -162,7 +189,6 @@ export default {
|
|
162
189
|
}
|
163
190
|
|
164
191
|
> .button-wrapper {
|
165
|
-
position: absolute;
|
166
192
|
right: 0;
|
167
193
|
z-index: 100;
|
168
194
|
gap: calc(var(--default-gap) / 2);
|
@@ -172,6 +198,7 @@ export default {
|
|
172
198
|
padding: 0;
|
173
199
|
min-width: 2rem;
|
174
200
|
min-height: 2rem;
|
201
|
+
background: var(--pure-white);
|
175
202
|
|
176
203
|
span[class*="icon"] {
|
177
204
|
color: var(--primary-color);
|
@@ -182,25 +209,39 @@ export default {
|
|
182
209
|
}
|
183
210
|
}
|
184
211
|
}
|
185
|
-
|
186
|
-
& + table {
|
187
|
-
margin-top: calc(var(--default-margin) / 2);
|
188
|
-
}
|
189
212
|
}
|
190
213
|
|
191
|
-
|
192
|
-
|
193
|
-
|
214
|
+
.inner-wrapper {
|
215
|
+
overflow-x: auto;
|
216
|
+
width: 100%;
|
217
|
+
|
218
|
+
table {
|
219
|
+
table-layout: fixed;
|
220
|
+
margin: 0;
|
194
221
|
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
222
|
+
th {
|
223
|
+
a[class*='icon-'] {
|
224
|
+
&, &:hover, &:active, &:focus {
|
225
|
+
font-size: 1rem;
|
226
|
+
color: var(--pure-white);
|
227
|
+
}
|
200
228
|
}
|
201
229
|
}
|
202
230
|
}
|
203
231
|
}
|
232
|
+
|
233
|
+
&.has-caption {
|
234
|
+
flex-direction: row;
|
235
|
+
|
236
|
+
.button-wrapper {
|
237
|
+
position: absolute;
|
238
|
+
}
|
239
|
+
|
240
|
+
table {
|
241
|
+
margin-top: calc(var(--default-margin) / 2);
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
204
245
|
}
|
205
246
|
|
206
247
|
/* end cmd-table-wrapper ------------------------------------------------------------------------------------------ */
|
@@ -9,7 +9,7 @@
|
|
9
9
|
</li>
|
10
10
|
</ul>
|
11
11
|
<template v-if="useSlot">
|
12
|
-
<div v-show="showTab === index" v-for="
|
12
|
+
<div v-show="showTab === index" v-for="index in tabs.length" :key="index" aria-live="assertive">
|
13
13
|
<!-- begin slot-content -->
|
14
14
|
<slot :name="'tab-content-' + index"></slot>
|
15
15
|
<!-- end slot-content -->
|
@@ -23,7 +23,6 @@
|
|
23
23
|
:headlineLevel="tabs[showTab].headlineLevel"
|
24
24
|
/>
|
25
25
|
<!-- end CmdCustomHeadline -->
|
26
|
-
|
27
26
|
<div v-html="tabs[showTab].htmlContent"></div>
|
28
27
|
</div>
|
29
28
|
</div>
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<template>
|
2
2
|
<!-- begin advanced mode -->
|
3
3
|
<fieldset v-if="advancedMode" :class="['cmd-upload-form flex-container', { 'upload-initiated': uploadInitiated }]">
|
4
|
-
<!-- begin
|
5
|
-
<CmdCustomHeadline v-if="
|
6
|
-
v-bind="
|
4
|
+
<!-- begin CmdCustomHeadlineFieldset -->
|
5
|
+
<CmdCustomHeadline v-if="cmdCustomHeadlineFieldset"
|
6
|
+
v-bind="cmdCustomHeadlineFieldset"
|
7
7
|
/>
|
8
|
-
<!-- end
|
8
|
+
<!-- end CmdCustomHeadlineFieldset -->
|
9
9
|
|
10
10
|
<!-- begin CmdSystemMessage -->
|
11
11
|
<CmdSystemMessage
|
@@ -24,12 +24,12 @@
|
|
24
24
|
|
25
25
|
<div :class="['box drop-area', { 'allow-drop': allowDrop }]" v-on="dragAndDropHandler">
|
26
26
|
<template v-if="!listOfFiles.length">
|
27
|
-
<
|
27
|
+
<CmdCustomHeadline v-if="allowMultipleFileUploads" v-bind="cmdCustomHeadline">
|
28
28
|
{{ getMessage("cmduploadform.no_files_to_upload") }}
|
29
|
-
</
|
30
|
-
<
|
29
|
+
</CmdCustomHeadline>
|
30
|
+
<CmdCustomHeadline v-else v-bind="cmdCustomHeadline">
|
31
31
|
{{ getMessage("cmduploadform.no_file_to_upload") }}
|
32
|
-
</
|
32
|
+
</CmdCustomHeadline>
|
33
33
|
</template>
|
34
34
|
|
35
35
|
<!-- begin total-upload information -->
|
@@ -150,7 +150,7 @@
|
|
150
150
|
</dt>
|
151
151
|
<dd>
|
152
152
|
<a
|
153
|
-
:class="showListOfFileExtensions ? '
|
153
|
+
:class="showListOfFileExtensions ? 'invisibleIconClass' : 'visibleIconClass'"
|
154
154
|
href="#"
|
155
155
|
@click.prevent="showListOfFileExtensions = !showListOfFileExtensions"
|
156
156
|
:title="getMessage('cmduploadform.tooltip.toggle_list_of_allowed_file_types')"
|
@@ -175,7 +175,7 @@
|
|
175
175
|
:disabled="uploadInitiated"
|
176
176
|
@click="selectFiles()"
|
177
177
|
>
|
178
|
-
<span class="
|
178
|
+
<span :class="fileUploadIconClass"></span>
|
179
179
|
<span v-if="allowMultipleFileUploads">{{
|
180
180
|
getMessage("cmduploadform.labeltext.select_files")
|
181
181
|
}}</span>
|
@@ -226,14 +226,14 @@
|
|
226
226
|
"
|
227
227
|
@click="uploadFiles"
|
228
228
|
>
|
229
|
-
<span class="
|
229
|
+
<span :class="uploadIconClass"></span>
|
230
230
|
<span v-if="listOfFiles.length === 1 || !allowMultipleFileUploads">
|
231
231
|
{{ getMessage("cmduploadform.buttontext.upload_file") }}
|
232
232
|
</span>
|
233
233
|
<span v-else>{{ getMessage("cmduploadform.buttontext.upload_files") }}</span>
|
234
234
|
</button>
|
235
235
|
<button :class="['button', { disabled: listOfFiles.length === 0 }]" @click="cancel">
|
236
|
-
<span class="
|
236
|
+
<span :class="cancelIconClass"></span>
|
237
237
|
<span>{{ getMessage("cmduploadform.buttontext.cancel") }}</span>
|
238
238
|
</button>
|
239
239
|
</div>
|
@@ -256,16 +256,16 @@
|
|
256
256
|
<template v-if="enableDragAndDrop">
|
257
257
|
<template v-if="fileTypeImage">
|
258
258
|
<span>{{ getMessage("cmduploadform.select_image") }}</span>
|
259
|
-
<span class="
|
259
|
+
<span :class="imageIconClass"></span>
|
260
260
|
</template>
|
261
261
|
<template v-else>
|
262
262
|
<span>{{ getMessage("cmduploadform.select_file") }}</span>
|
263
|
-
<span class="
|
263
|
+
<span :class="fileUploadIconClass"></span>
|
264
264
|
</template>
|
265
265
|
</template>
|
266
266
|
<template v-else>
|
267
267
|
<span>{{ getMessage("cmduploadform.drag_and_drop_file_here") }}</span>
|
268
|
-
<span class="
|
268
|
+
<span :class="dragAndDropIconClass"></span>
|
269
269
|
</template>
|
270
270
|
<small>{{ getMessage("cmduploadform.max_upload_size") }} {{ formatSize(maxFileUploadSize) }}</small>
|
271
271
|
<small>{{ getMessage("cmduploadform.allowed_file_types") }} {{ allowedFileExtensions }}</small>
|
@@ -331,13 +331,6 @@ export default {
|
|
331
331
|
this.resetForm.systemMessageStatus = this.systemMessageStatus
|
332
332
|
},
|
333
333
|
props: {
|
334
|
-
/**
|
335
|
-
* set icon class for delete-icons
|
336
|
-
*/
|
337
|
-
deleteIconClass: {
|
338
|
-
type: String,
|
339
|
-
default: "icon-delete"
|
340
|
-
},
|
341
334
|
/**
|
342
335
|
* toggle visibility of total upload (number of files, total size, total progress
|
343
336
|
*/
|
@@ -380,7 +373,7 @@ export default {
|
|
380
373
|
/**
|
381
374
|
* properties for CmdCustomHeadline-component
|
382
375
|
*/
|
383
|
-
|
376
|
+
cmdCustomHeadlineFieldset: {
|
384
377
|
type: Object,
|
385
378
|
required: false
|
386
379
|
},
|
@@ -445,6 +438,69 @@ export default {
|
|
445
438
|
advancedMode: {
|
446
439
|
type: Boolean,
|
447
440
|
default: true
|
441
|
+
},
|
442
|
+
/**
|
443
|
+
* set icon class for delete-icons
|
444
|
+
*/
|
445
|
+
deleteIconClass: {
|
446
|
+
type: String,
|
447
|
+
default: "icon-delete"
|
448
|
+
},
|
449
|
+
/**
|
450
|
+
* set icon class for file-upload-icon
|
451
|
+
*/
|
452
|
+
fileUploadIconClass: {
|
453
|
+
type: String,
|
454
|
+
default: "icon-file-upload"
|
455
|
+
},
|
456
|
+
/**
|
457
|
+
* set icon class for file-icon
|
458
|
+
*/
|
459
|
+
fileIconClass: {
|
460
|
+
type: String,
|
461
|
+
default: "icon-file"
|
462
|
+
},
|
463
|
+
/**
|
464
|
+
* set icon class for invisible-icon
|
465
|
+
*/
|
466
|
+
invisibleIconClass: {
|
467
|
+
type: String,
|
468
|
+
default: "icon-not-visible"
|
469
|
+
},
|
470
|
+
/**
|
471
|
+
* set icon class for visible-icon
|
472
|
+
*/
|
473
|
+
visibleIconClass: {
|
474
|
+
type: String,
|
475
|
+
default: "icon-visible"
|
476
|
+
},
|
477
|
+
/**
|
478
|
+
* set icon class for image-icon
|
479
|
+
*/
|
480
|
+
imageIconClass: {
|
481
|
+
type: String,
|
482
|
+
default: "icon-image"
|
483
|
+
},
|
484
|
+
/**
|
485
|
+
* set icon class for upload-icon
|
486
|
+
*/
|
487
|
+
uploadIconClass: {
|
488
|
+
type: String,
|
489
|
+
default: "icon-upload"
|
490
|
+
},
|
491
|
+
/**
|
492
|
+
* set icon class for drag-and-drop-icon
|
493
|
+
*/
|
494
|
+
dragAndDropIconClass: {
|
495
|
+
type: String,
|
496
|
+
default: "icon-drag-and-drop"
|
497
|
+
},
|
498
|
+
/**
|
499
|
+
* set icon class for cancel-icon
|
500
|
+
*/
|
501
|
+
cancelIconClass: {
|
502
|
+
type: String,
|
503
|
+
default: "icon-cancel"
|
448
504
|
}
|
449
505
|
},
|
450
506
|
computed: {
|
@@ -2,7 +2,11 @@ export default {
|
|
2
2
|
data() {
|
3
3
|
return {
|
4
4
|
defaultMessageProperties: {
|
5
|
-
"cmdfakeselect.headline.requirement_for_input": "Requirement for input"
|
5
|
+
"cmdfakeselect.headline.requirement_for_input": "Requirement for input",
|
6
|
+
"cmdfakeselect.linktext.deselect_all_options": "Deselect all options",
|
7
|
+
"cmdfakeselect.linktext.select_all_options": "Select all options",
|
8
|
+
"cmdfakeselect.headline.": "An option is selected",
|
9
|
+
|
6
10
|
}
|
7
11
|
}
|
8
12
|
}
|
@@ -2,7 +2,11 @@ export default {
|
|
2
2
|
data() {
|
3
3
|
return {
|
4
4
|
defaultMessageProperties: {
|
5
|
-
"cmdformelement.headline.requirement_for_input": "Requirement for input"
|
5
|
+
"cmdformelement.headline.requirement_for_input": "Requirement for input",
|
6
|
+
"cmdformelement.validationTooltip.an_error_occurred": "An error occurred!",
|
7
|
+
"cmdformelement.validationTooltip.information_is_filled_correctly": "This information is filled correctly!",
|
8
|
+
"cmdformelement.validationTooltip.caps_lock_is_activated": "Attention: Caps lock is activated!",
|
9
|
+
"cmdformelement.validationTooltip.open_field_requirements": "Open field requirements!"
|
6
10
|
}
|
7
11
|
}
|
8
12
|
}
|