comand-component-library 3.3.15 → 3.3.16
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.js +2649 -2577
- package/dist/comand-component-library.umd.cjs +4 -4
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-01.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-02.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-03.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-04.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-05.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-06.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-07.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-08.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-01.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-02.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-03.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-04.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-05.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-06.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-07.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-08.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-01.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-02.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-03.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-04.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-05.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-06.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-07.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-08.jpg +0 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +162 -103
- package/src/assets/data/address-data.json +39 -39
- package/src/assets/data/image-gallery.json +8 -8
- package/src/assets/data/thumbnail-scroller.json +16 -16
- package/src/components/CmdAddressData.vue +111 -35
- package/src/components/CmdBox.vue +16 -9
- package/src/components/CmdBoxWrapper.vue +8 -5
- package/src/components/CmdFakeSelect.vue +14 -4
- package/src/components/CmdFormElement.vue +16 -3
- package/src/components/CmdPager.vue +1 -1
- package/src/components/CmdShareButtons.vue +16 -0
- package/src/components/CmdThumbnailScroller.vue +3 -1
- package/src/components/CmdUploadForm.vue +2 -2
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-landscape-large.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-green-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-green-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-red-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-red-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-yellow-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-yellow-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-green-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-green-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-red-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-red-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-yellow-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-yellow-portrait.jpg +0 -0
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<!-- begin list with labels -->
|
|
10
10
|
<dl v-if="showLabels">
|
|
11
11
|
<!-- begin company (name) -->
|
|
12
|
-
<dt v-if="addressData.company?.
|
|
12
|
+
<dt v-if="addressData.company?.text">
|
|
13
13
|
<!-- begin CmdIcon -->
|
|
14
14
|
<CmdIcon
|
|
15
15
|
v-if="addressData.company.iconClass && showLabelIcons"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
<span v-if="showLabelTexts">{{ getMessage('cmdaddressdata.labeltext.company')}}</span>
|
|
23
23
|
</dt>
|
|
24
|
-
<dd v-if="addressData.company?.
|
|
24
|
+
<dd v-if="addressData.company?.text" class="org">{{ addressData.company.text }}</dd>
|
|
25
25
|
<!-- end company (name) -->
|
|
26
26
|
|
|
27
27
|
<!-- begin address -->
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
<!-- end street/number -->
|
|
76
76
|
|
|
77
77
|
<!-- begin zip/city -->
|
|
78
|
-
<span v-if="addressData.address.zip" class="postal-code">{{ addressData.address.zip }}
|
|
78
|
+
<span v-if="addressData.address.zip" class="postal-code">{{ addressData.address.zip }} </span>
|
|
79
79
|
<template v-if="addressData.address.city">
|
|
80
80
|
<span class="locality">{{ addressData.address.city }}</span><br/>
|
|
81
81
|
</template>
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
<!-- end address -->
|
|
98
98
|
|
|
99
99
|
<!-- begin telephone -->
|
|
100
|
-
<dt v-if="addressData.telephone?.
|
|
100
|
+
<dt v-if="addressData.telephone?.text">
|
|
101
101
|
<!-- begin CmdIcon -->
|
|
102
102
|
<CmdIcon
|
|
103
103
|
v-if="addressData.telephone.iconClass && showLabelIcons"
|
|
@@ -109,13 +109,13 @@
|
|
|
109
109
|
|
|
110
110
|
<span v-if="showLabelTexts">{{ getMessage('cmdaddressdata.labeltext.telephone')}}</span>
|
|
111
111
|
</dt>
|
|
112
|
-
<dd v-if="addressData.telephone?.
|
|
113
|
-
<a :href="'tel:' + addressData.telephone" title="Call number" class="tel" v-telephone="addressData.telephone.
|
|
112
|
+
<dd v-if="addressData.telephone?.text">
|
|
113
|
+
<a :href="'tel:' + addressData.telephone" title="Call number" class="tel" v-telephone="addressData.telephone.text">{{ addressData.telephone.text }}</a>
|
|
114
114
|
</dd>
|
|
115
115
|
<!-- end telephone -->
|
|
116
116
|
|
|
117
117
|
<!-- begin mobile phone -->
|
|
118
|
-
<dt v-if="addressData.mobilephone?.
|
|
118
|
+
<dt v-if="addressData.mobilephone?.text">
|
|
119
119
|
<!-- begin CmdIcon -->
|
|
120
120
|
<CmdIcon
|
|
121
121
|
v-if="addressData.mobilephone.iconClass && showLabelIcons"
|
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
|
|
128
128
|
<span v-if="showLabelTexts">{{ getMessage('cmdaddressdata.labeltext.mobile_phone')}}</span>
|
|
129
129
|
</dt>
|
|
130
|
-
<dd v-if="addressData.mobilephone?.
|
|
131
|
-
<a :href="'tel:' + addressData.mobilephone" title="Call number" class="tel" v-telephone="addressData.mobilephone.
|
|
130
|
+
<dd v-if="addressData.mobilephone?.text">
|
|
131
|
+
<a :href="'tel:' + addressData.mobilephone" title="Call number" class="tel" v-telephone="addressData.mobilephone.text">{{ addressData.mobilephone.text }}</a>
|
|
132
132
|
</dd>
|
|
133
133
|
<!-- end mobile phone -->
|
|
134
134
|
|
|
135
135
|
<!-- begin fax -->
|
|
136
|
-
<dt v-if="addressData.fax?.
|
|
136
|
+
<dt v-if="addressData.fax?.text">
|
|
137
137
|
<!-- begin CmdIcon -->
|
|
138
138
|
<CmdIcon
|
|
139
139
|
v-if="addressData.fax.iconClass && showLabelIcons"
|
|
@@ -145,11 +145,11 @@
|
|
|
145
145
|
|
|
146
146
|
<span v-if="showLabelTexts">{{ getMessage('cmdaddressdata.labeltext.fax')}}</span>
|
|
147
147
|
</dt>
|
|
148
|
-
<dd v-if="addressData.fax?.
|
|
148
|
+
<dd v-if="addressData.fax?.text" class="fax">{{ addressData.fax.text }}</dd>
|
|
149
149
|
<!-- end fax -->
|
|
150
150
|
|
|
151
151
|
<!-- begin email -->
|
|
152
|
-
<dt v-if="addressData.email?.
|
|
152
|
+
<dt v-if="addressData.email?.text">
|
|
153
153
|
<!-- begin CmdIcon -->
|
|
154
154
|
<CmdIcon
|
|
155
155
|
v-if="addressData.email.iconClass && showLabelIcons"
|
|
@@ -161,13 +161,13 @@
|
|
|
161
161
|
|
|
162
162
|
<span v-if="showLabelTexts">{{ getMessage('cmdaddressdata.labeltext.email')}}</span>
|
|
163
163
|
</dt>
|
|
164
|
-
<dd v-if="addressData.email?.
|
|
165
|
-
<a :href="'mailto:' + addressData.email?.
|
|
164
|
+
<dd v-if="addressData.email?.text" class="email" >
|
|
165
|
+
<a :href="'mailto:' + addressData.email?.text" class="email">{{ addressData.email.text }}</a>
|
|
166
166
|
</dd>
|
|
167
167
|
<!-- end email -->
|
|
168
168
|
|
|
169
169
|
<!-- begin web site -->
|
|
170
|
-
<dt v-if="addressData.website?.
|
|
170
|
+
<dt v-if="addressData.website?.text">
|
|
171
171
|
<!-- begin CmdIcon -->
|
|
172
172
|
<CmdIcon
|
|
173
173
|
v-if="addressData.website.iconClass && showLabelIcons"
|
|
@@ -178,13 +178,13 @@
|
|
|
178
178
|
|
|
179
179
|
<span v-if="showLabelTexts">{{ getMessage('cmdaddressdata.labeltext.website')}}</span>
|
|
180
180
|
</dt>
|
|
181
|
-
<dd v-if="addressData.website?.
|
|
182
|
-
<a :href="addressData.website.
|
|
181
|
+
<dd v-if="addressData.website?.text" >
|
|
182
|
+
<a :href="addressData.website.text" target="_blank" :title="getMessage('cmdaddressdata.title.visit_website')">{{ websiteUrlText }}</a>
|
|
183
183
|
</dd>
|
|
184
184
|
<!-- end web site -->
|
|
185
185
|
|
|
186
186
|
<!-- begin custom data -->
|
|
187
|
-
<dt v-if="addressData.custom?.
|
|
187
|
+
<dt v-if="addressData.custom?.text">
|
|
188
188
|
<!-- begin CmdIcon -->
|
|
189
189
|
<CmdIcon
|
|
190
190
|
v-if="addressData.custom.iconClass && showLabelIcons"
|
|
@@ -195,8 +195,8 @@
|
|
|
195
195
|
|
|
196
196
|
<span v-if="showLabelTexts">{{ getMessage('cmdaddressdata.labeltext.custom')}}</span>
|
|
197
197
|
</dt>
|
|
198
|
-
<dd v-if="addressData.custom?.
|
|
199
|
-
{{ addressData.custom.
|
|
198
|
+
<dd v-if="addressData.custom?.text" >
|
|
199
|
+
{{ addressData.custom.text }}
|
|
200
200
|
</dd>
|
|
201
201
|
<!-- end custom data -->
|
|
202
202
|
</dl>
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
<ul v-else class="flex-container">
|
|
207
207
|
<!-- begin company (name) -->
|
|
208
208
|
<li v-if="addressData.company">
|
|
209
|
-
<span class="org">{{ addressData.company.
|
|
209
|
+
<span class="org">{{ addressData.company.text }}</span>
|
|
210
210
|
</li>
|
|
211
211
|
<!-- end company (name) -->
|
|
212
212
|
<li>
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
|
|
221
221
|
<!-- begin zip/city -->
|
|
222
222
|
<template v-if="addressData.address.zip || addressData.address.city">
|
|
223
|
-
<span class="postal-code">{{ addressData.address.zip }}
|
|
223
|
+
<span class="postal-code">{{ addressData.address.zip }} </span>
|
|
224
224
|
<span class="locality">{{ addressData.address.city }}</span><br/>
|
|
225
225
|
</template>
|
|
226
226
|
<!-- end zip/city -->
|
|
@@ -247,10 +247,10 @@
|
|
|
247
247
|
|
|
248
248
|
<!-- begin zip/city -->
|
|
249
249
|
<template v-if="addressData.address.zip || addressData.address.city">
|
|
250
|
-
<span class="postal-code">{{ addressData.address.zip }}
|
|
250
|
+
<span class="postal-code">{{ addressData.address.zip }} </span>
|
|
251
251
|
<span class="locality">{{ addressData.address.city }}</span><br/>
|
|
252
252
|
</template>
|
|
253
|
-
<!-- end zip/
|
|
253
|
+
<!-- end zip/city -->
|
|
254
254
|
|
|
255
255
|
<!-- begin miscInfo -->
|
|
256
256
|
<template v-if="addressData.address.miscInfo">
|
|
@@ -264,23 +264,90 @@
|
|
|
264
264
|
</template>
|
|
265
265
|
<!-- end unlinked address -->
|
|
266
266
|
</li>
|
|
267
|
-
<li v-if="addressData.telephone?.
|
|
268
|
-
<a :href="'tel:' + addressData.telephone.
|
|
267
|
+
<li v-if="addressData.telephone?.text">
|
|
268
|
+
<a :href="'tel:' + addressData.telephone.text" :title="getMessage('cmdaddressdata.title.call_number')" class="tel">{{ addressData.telephone.text }}</a>
|
|
269
269
|
</li>
|
|
270
|
-
<li v-if="addressData.fax?.
|
|
271
|
-
<span class="fax">{{ addressData.fax.
|
|
270
|
+
<li v-if="addressData.fax?.text">
|
|
271
|
+
<span class="fax">{{ addressData.fax.text }}</span>
|
|
272
272
|
</li>
|
|
273
|
-
<li v-if="addressData.email?.
|
|
274
|
-
<a :href="'mailto:' + addressData.email.
|
|
273
|
+
<li v-if="addressData.email?.text" :title="getMessage('cmdaddressdata.title.send_email')">
|
|
274
|
+
<a :href="'mailto:' + addressData.email.text" class="email">{{ addressData.email.text }}</a>
|
|
275
275
|
</li>
|
|
276
|
-
<li v-if="addressData.website?.
|
|
277
|
-
<a :href="addressData.website.
|
|
276
|
+
<li v-if="addressData.website?.text" :title="getMessage('cmdaddressdata.title.visit_website')">
|
|
277
|
+
<a :href="addressData.website.text" target="_blank">{{ websiteUrlText }}</a>
|
|
278
278
|
</li>
|
|
279
|
-
<li v-if="addressData.custom?.
|
|
280
|
-
{{ addressData.custom.
|
|
279
|
+
<li v-if="addressData.custom?.text">
|
|
280
|
+
{{ addressData.custom.text }}
|
|
281
281
|
</li>
|
|
282
282
|
</ul>
|
|
283
283
|
<!-- end list without labels -->
|
|
284
|
+
<ul v-if="showIconsOnly">
|
|
285
|
+
<template v-if="addressData.company || addressData.address">
|
|
286
|
+
<!-- begin company (name) -->
|
|
287
|
+
<li v-if="addressData.company">
|
|
288
|
+
<span class="org">{{ addressData.company.text }}</span>
|
|
289
|
+
</li>
|
|
290
|
+
<!-- end company (name) -->
|
|
291
|
+
<li v-if="addressData.address">
|
|
292
|
+
<!-- begin linked address -->
|
|
293
|
+
<a v-if="linkGoogleMaps" :href="locateAddress" target="google-maps" :title="getMessage('cmdaddressdata.title.open_address_on_google_maps')">
|
|
294
|
+
<!-- begin street/number -->
|
|
295
|
+
<template v-if="addressData.address.streetNo">
|
|
296
|
+
<span class="street-address">{{ addressData.address.streetNo }}</span><br/>
|
|
297
|
+
</template>
|
|
298
|
+
<!-- end street/number -->
|
|
299
|
+
|
|
300
|
+
<!-- begin zip/city -->
|
|
301
|
+
<template v-if="addressData.address.zip || addressData.address.city">
|
|
302
|
+
<span class="postal-code">{{ addressData.address.zip }} </span>
|
|
303
|
+
<span class="locality">{{ addressData.address.city }}</span><br/>
|
|
304
|
+
</template>
|
|
305
|
+
<!-- end zip/city -->
|
|
306
|
+
|
|
307
|
+
<!-- begin miscInfo -->
|
|
308
|
+
<template v-if="addressData.address.miscInfo">
|
|
309
|
+
<span>{{ addressData.address.miscInfo }}</span><br/>
|
|
310
|
+
</template>
|
|
311
|
+
<!-- end miscInfo -->
|
|
312
|
+
|
|
313
|
+
<!-- begin country -->
|
|
314
|
+
<span v-if="addressData.address.country" class="country-name">{{ addressData.address.country }}</span>
|
|
315
|
+
<!-- end country -->
|
|
316
|
+
</a>
|
|
317
|
+
<!-- end linked address -->
|
|
318
|
+
|
|
319
|
+
<!-- begin unlinked address -->
|
|
320
|
+
<template v-else>
|
|
321
|
+
<!-- begin street/number -->
|
|
322
|
+
<template v-if="addressData.address.streetNo">
|
|
323
|
+
<span class="street-address">{{ addressData.address.streetNo }}</span><br/>
|
|
324
|
+
</template>
|
|
325
|
+
<!-- end street/number -->
|
|
326
|
+
|
|
327
|
+
<!-- begin zip/city -->
|
|
328
|
+
<template v-if="addressData.address.zip || addressData.address.city">
|
|
329
|
+
<span class="postal-code">{{ addressData.address.zip }} </span>
|
|
330
|
+
<span class="locality">{{ addressData.address.city }}</span><br/>
|
|
331
|
+
</template>
|
|
332
|
+
<!-- end zip/city -->
|
|
333
|
+
|
|
334
|
+
<!-- begin miscInfo -->
|
|
335
|
+
<template v-if="addressData.address.miscInfo">
|
|
336
|
+
<span>{{ addressData.address.miscInfo }}</span><br/>
|
|
337
|
+
</template>
|
|
338
|
+
<!-- end miscInfo -->
|
|
339
|
+
|
|
340
|
+
<!-- begin country -->
|
|
341
|
+
<span v-if="addressData.address.country" class="country-name">{{ addressData.address.country }}</span>
|
|
342
|
+
<!-- end country -->
|
|
343
|
+
</template>
|
|
344
|
+
<!-- end unlinked address -->
|
|
345
|
+
</li>
|
|
346
|
+
</template>
|
|
347
|
+
<template>
|
|
348
|
+
<!-- <CmdListOfLinks :links="modifiedAddressData" />-->
|
|
349
|
+
</template>
|
|
350
|
+
</ul>
|
|
284
351
|
</address>
|
|
285
352
|
<!-- end address-data in vCard microformat -->
|
|
286
353
|
</div>
|
|
@@ -295,6 +362,10 @@ export default {
|
|
|
295
362
|
name: "CmdAddressData",
|
|
296
363
|
mixins: [I18n, DefaultMessageProperties],
|
|
297
364
|
props: {
|
|
365
|
+
showIconsOnly: {
|
|
366
|
+
type: Boolean,
|
|
367
|
+
default: false
|
|
368
|
+
},
|
|
298
369
|
/**
|
|
299
370
|
* show a label-icon (if exists)
|
|
300
371
|
*/
|
|
@@ -343,8 +414,13 @@ export default {
|
|
|
343
414
|
return "https://www.google.com/maps/place/" + this.addressData.address.streetNo + ", " + this.addressData.address.zip + " " + this.addressData.address.city
|
|
344
415
|
},
|
|
345
416
|
websiteUrlText() {
|
|
346
|
-
return this.addressData.website?.
|
|
417
|
+
return this.addressData.website?.text.replace("https://", "")
|
|
347
418
|
}
|
|
419
|
+
// modifiedAddressData() {
|
|
420
|
+
// const contactDataWithoutAddress = this.addressData.map(item => () {
|
|
421
|
+
//
|
|
422
|
+
// })
|
|
423
|
+
// }
|
|
348
424
|
}
|
|
349
425
|
}
|
|
350
426
|
</script>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
'stretch-vertically': stretchVertically && !collapsible,
|
|
9
9
|
'stretch-horizontally': stretchHorizontally,
|
|
10
10
|
'row-view': isRowView
|
|
11
|
-
}
|
|
11
|
+
},
|
|
12
12
|
]"
|
|
13
13
|
>
|
|
14
14
|
<!-- begin collapsible header with slot -->
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
|
|
98
98
|
<!-- begin boxType 'product' -->
|
|
99
99
|
<a v-else-if="boxType === 'product' && product"
|
|
100
|
-
:class="['cmd-box box product', {'stretch-vertically': stretchVertically, 'stretch-horizontally': stretchHorizontally}]"
|
|
100
|
+
:class="['cmd-box box product', {'stretch-vertically': stretchVertically, 'stretch-horizontally': stretchHorizontally, 'row-view': isRowView}]"
|
|
101
101
|
href="#"
|
|
102
102
|
@click.prevent="clickOnProduct(product)">
|
|
103
103
|
<div class="box-header flex-container vertical">
|
|
@@ -132,10 +132,14 @@
|
|
|
132
132
|
'cmd-box box user',
|
|
133
133
|
profileType,
|
|
134
134
|
{
|
|
135
|
-
|
|
136
|
-
'stretch-horizontally': stretchHorizontally
|
|
137
|
-
|
|
135
|
+
'stretch-vertically': stretchVertically,
|
|
136
|
+
'stretch-horizontally': stretchHorizontally,
|
|
137
|
+
'row-view': isRowView
|
|
138
|
+
},
|
|
139
|
+
'row-view'
|
|
138
140
|
]">
|
|
141
|
+
isRowView {{isRowView}}<br />
|
|
142
|
+
rowView {{rowView}}
|
|
139
143
|
<div class="box-header flex-container vertical">
|
|
140
144
|
<figure v-if="user.image">
|
|
141
145
|
<img :src="user.image.src" :alt="user.image.alt"/>
|
|
@@ -143,11 +147,11 @@
|
|
|
143
147
|
</figure>
|
|
144
148
|
<div v-else>
|
|
145
149
|
<span :class="defaultProfileIconClass" :title="user.name"></span>
|
|
146
|
-
<p v-if="!
|
|
150
|
+
<p v-if="!isRowView">{{ user.name }}</p>
|
|
147
151
|
</div>
|
|
148
152
|
</div>
|
|
149
153
|
<div class="box-body">
|
|
150
|
-
<p v-if="
|
|
154
|
+
<p v-if="isRowView">{{ user.name }}</p>
|
|
151
155
|
<p v-if="user.profession">{{ user.profession }}</p>
|
|
152
156
|
<p v-if="user.position">{{ user.position }}</p>
|
|
153
157
|
<p v-if="user.description" class="description">{{ user.description }}</p>
|
|
@@ -390,8 +394,11 @@ export default {
|
|
|
390
394
|
this.open = this.collapsingBoxesOpen
|
|
391
395
|
}
|
|
392
396
|
},
|
|
393
|
-
|
|
394
|
-
|
|
397
|
+
rowView: {
|
|
398
|
+
handler() {
|
|
399
|
+
this.isRowView = this.rowView
|
|
400
|
+
},
|
|
401
|
+
immediate: true
|
|
395
402
|
}
|
|
396
403
|
}
|
|
397
404
|
}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
<div v-if="allowUserToToggleOrientation || allowTogglingCollapsingBoxes" class="options-wrapper">
|
|
9
9
|
<a v-if="allowTogglingCollapsingBoxes" href="#" @click.prevent="toggleCollapsingBoxes" :title="collapsingBoxesOpen ? collapseBoxesIcon.tooltip : expandBoxesIcon.tooltip">
|
|
10
10
|
<!-- begin CmdIcon -->
|
|
11
|
-
<CmdIcon :iconClass="collapsingBoxesOpen ? expandBoxesIcon.iconClass : collapseBoxesIcon.iconClass" :type="
|
|
11
|
+
<CmdIcon :iconClass="collapsingBoxesOpen ? expandBoxesIcon.iconClass : collapseBoxesIcon.iconClass" :type="rowView ? iconGridView.iconType : iconRowView.iconType" />
|
|
12
12
|
<!-- end CmdIcon -->
|
|
13
13
|
</a>
|
|
14
|
-
<a v-if="allowUserToToggleOrientation" href="#" @click.prevent="
|
|
14
|
+
<a v-if="allowUserToToggleOrientation" href="#" @click.prevent="rowView = !rowView" :title="rowView ? iconRowView.tooltip : iconGridView.tooltip">
|
|
15
15
|
<!-- begin CmdIcon -->
|
|
16
|
-
<CmdIcon :iconClass="
|
|
16
|
+
<CmdIcon :iconClass="rowView ? iconGridView.iconClass : iconRowView.iconClass" :type="rowView ? iconGridView.iconType : iconRowView.iconType" />
|
|
17
17
|
<!-- end CmdIcon -->
|
|
18
18
|
</a>
|
|
19
19
|
</div>
|
|
@@ -189,8 +189,11 @@ export default {
|
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
191
|
watch: {
|
|
192
|
-
useRowViewAsDefault
|
|
193
|
-
|
|
192
|
+
useRowViewAsDefault: {
|
|
193
|
+
handler() {
|
|
194
|
+
this.oneBoxPerRow = this.useRowViewAsDefault
|
|
195
|
+
},
|
|
196
|
+
immediate: true
|
|
194
197
|
}
|
|
195
198
|
}
|
|
196
199
|
}
|
|
@@ -517,6 +517,11 @@ export default {
|
|
|
517
517
|
height: inherit;
|
|
518
518
|
border: var(--default-border);
|
|
519
519
|
background: var(--color-scheme-background-color);
|
|
520
|
+
color: var(--text-color);
|
|
521
|
+
|
|
522
|
+
span, [class*="icon"] {
|
|
523
|
+
color: var(--text-color);
|
|
524
|
+
}
|
|
520
525
|
|
|
521
526
|
.option-name {
|
|
522
527
|
text-overflow: ellipsis;
|
|
@@ -529,7 +534,12 @@ export default {
|
|
|
529
534
|
}
|
|
530
535
|
|
|
531
536
|
&:hover, &:active, &:focus {
|
|
532
|
-
background: var(--
|
|
537
|
+
background: var(--pure-white);
|
|
538
|
+
border-color: var(--primary-color);
|
|
539
|
+
|
|
540
|
+
span, [class*="icon"] {
|
|
541
|
+
color: var(--text-color);
|
|
542
|
+
}
|
|
533
543
|
}
|
|
534
544
|
}
|
|
535
545
|
}
|
|
@@ -559,13 +569,13 @@ export default {
|
|
|
559
569
|
padding-top: .8rem;
|
|
560
570
|
outline: none;
|
|
561
571
|
border-bottom: var(--default-border);
|
|
562
|
-
color: var(--color-scheme-text-color);
|
|
563
572
|
text-decoration: none;
|
|
564
573
|
|
|
574
|
+
|
|
565
575
|
&:hover, &:active, &:focus {
|
|
566
576
|
background: var(--primary-color);
|
|
567
577
|
|
|
568
|
-
span {
|
|
578
|
+
span, [class*="icon"] {
|
|
569
579
|
color: var(--pure-white);
|
|
570
580
|
}
|
|
571
581
|
}
|
|
@@ -592,7 +602,7 @@ export default {
|
|
|
592
602
|
&:hover, &:active, &:focus {
|
|
593
603
|
background: var(--primary-color);
|
|
594
604
|
|
|
595
|
-
span {
|
|
605
|
+
span, [class*="icon"] {
|
|
596
606
|
color: var(--pure-white);
|
|
597
607
|
}
|
|
598
608
|
}
|
|
@@ -839,7 +839,7 @@ export default {
|
|
|
839
839
|
<style lang="scss">
|
|
840
840
|
/* begin cmd-form-element ------------------------------------------------------------------------------------------ */
|
|
841
841
|
.cmd-form-element {
|
|
842
|
-
input + .place-inside
|
|
842
|
+
input + .place-inside {
|
|
843
843
|
left: auto;
|
|
844
844
|
right: .5rem
|
|
845
845
|
}
|
|
@@ -849,10 +849,10 @@ export default {
|
|
|
849
849
|
color: var(--status-color);
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
-
|
|
852
|
+
span {
|
|
853
853
|
color: var(--status-color);
|
|
854
854
|
|
|
855
|
-
|
|
855
|
+
&.place-inside {
|
|
856
856
|
color: var(--status-color);
|
|
857
857
|
}
|
|
858
858
|
}
|
|
@@ -875,6 +875,19 @@ export default {
|
|
|
875
875
|
right: 1rem;
|
|
876
876
|
transform: translateY(-50%);
|
|
877
877
|
z-index: 100;
|
|
878
|
+
|
|
879
|
+
// set styles to avoid overwriting by has-state-colors
|
|
880
|
+
&.button {
|
|
881
|
+
span {
|
|
882
|
+
color: var(--pure-white);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
&:hover, &:active, &:focus {
|
|
886
|
+
span {
|
|
887
|
+
color: var(--text-color);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
}
|
|
878
891
|
}
|
|
879
892
|
|
|
880
893
|
input:not(:only-child) {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="['cmd-share-buttons', {'stretch': stretchButtons, 'align-right': align === 'right'}]">
|
|
3
|
+
<!-- begin CmdHeadline -->
|
|
4
|
+
<CmdHeadline v-if="cmdHeadline" v-bind="cmdHeadline" />
|
|
5
|
+
<!-- end CmdHeadline -->
|
|
6
|
+
|
|
7
|
+
<!-- begin CmdFormElement -->
|
|
3
8
|
<CmdFormElement
|
|
4
9
|
v-if="userMustAcceptDataPrivacy"
|
|
5
10
|
element="input"
|
|
@@ -9,6 +14,9 @@
|
|
|
9
14
|
:required="cmdFormElement.required"
|
|
10
15
|
v-model="dataPrivacyAccepted"
|
|
11
16
|
/>
|
|
17
|
+
<!-- end CmdFormElement -->
|
|
18
|
+
|
|
19
|
+
<!-- begin share buttons -->
|
|
12
20
|
<div class="share-button-wrapper">
|
|
13
21
|
<a v-for="shareButton in validShareButtons"
|
|
14
22
|
:key="shareButton.path" :class="['button', {disabled: userMustAcceptDataPrivacy && !dataPrivacyAccepted}]"
|
|
@@ -26,6 +34,7 @@
|
|
|
26
34
|
<!-- end CmdIcon -->
|
|
27
35
|
</a>
|
|
28
36
|
</div>
|
|
37
|
+
<!-- end share buttons -->
|
|
29
38
|
</div>
|
|
30
39
|
</template>
|
|
31
40
|
|
|
@@ -114,6 +123,13 @@ export default {
|
|
|
114
123
|
required: true
|
|
115
124
|
}
|
|
116
125
|
}
|
|
126
|
+
},
|
|
127
|
+
/**
|
|
128
|
+
* properties for CmdHeadline-component
|
|
129
|
+
*/
|
|
130
|
+
cmdHeadline: {
|
|
131
|
+
type: Object,
|
|
132
|
+
required: false
|
|
117
133
|
}
|
|
118
134
|
},
|
|
119
135
|
computed: {
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
<!-- begin list of images to slide -->
|
|
11
11
|
<transition-group name="slide" tag="ul">
|
|
12
|
-
<li v-for="(image, index) in thumbnails" :key="
|
|
12
|
+
<li v-for="(image, index) in thumbnails" :key="index" :class="{'active' : imgIndex === index}">
|
|
13
13
|
<a href="#" @click.prevent="showFancyBox(index)" :title="getMessage('cmdthumbnailscroller.tooltip.open_large_image')">
|
|
14
|
+
<!-- begin CmdImage -->
|
|
14
15
|
<CmdImage :image="image.image" :figcaption="image.figcaption" />
|
|
16
|
+
<!-- end CmdImage -->
|
|
15
17
|
</a>
|
|
16
18
|
</li>
|
|
17
19
|
</transition-group>
|
|
@@ -1171,7 +1171,7 @@ export default {
|
|
|
1171
1171
|
display: none;
|
|
1172
1172
|
}
|
|
1173
1173
|
|
|
1174
|
-
.drop-area {
|
|
1174
|
+
.drop-area, &.drop-area {
|
|
1175
1175
|
border: var(--default-border);
|
|
1176
1176
|
border-style: dashed;
|
|
1177
1177
|
background: var(--color-scheme-background-color);
|
|
@@ -1187,7 +1187,7 @@ export default {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
1189
|
|
|
1190
|
-
|
|
1190
|
+
&.drop-area {
|
|
1191
1191
|
display: inline-flex;
|
|
1192
1192
|
flex-direction: column;
|
|
1193
1193
|
text-decoration: none;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|