comand-component-library 4.0.50 → 4.0.51
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 +5 -8
- package/dist/comand-component-library.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/ComponentLibrary.vue +1 -1
- package/src/assets/data/social-networks-page-by-json.json +32 -30
- package/src/assets/data/social-networks-page-by-property.json +32 -30
- package/src/components/CmdPageFooter.vue +4 -2
- package/src/components/CmdSiteSearch.vue +3 -3
package/package.json
CHANGED
package/src/ComponentLibrary.vue
CHANGED
@@ -1738,7 +1738,7 @@
|
|
1738
1738
|
<CmdSocialNetworks
|
1739
1739
|
ref="CmdSocialNetworks"
|
1740
1740
|
v-bind="cmdSocialNetworksSettingsData"
|
1741
|
-
:networks="socialNetworksData"
|
1741
|
+
:networks="socialNetworksData.networks"
|
1742
1742
|
/>
|
1743
1743
|
</CmdWidthLimitationWrapper>
|
1744
1744
|
<!-- end social-networks ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
@@ -1,30 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
1
|
+
{
|
2
|
+
"networks": [
|
3
|
+
{
|
4
|
+
"id": "social-network-facebook",
|
5
|
+
"path": "https://www.facebook.com/sharer/sharer.php?u=",
|
6
|
+
"tooltip": "Share this page on facebook",
|
7
|
+
"iconClass": "icon-facebook",
|
8
|
+
"linkText": "Share"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "social-network-x",
|
12
|
+
"path": "https://twitter.com/home?status=",
|
13
|
+
"tooltip": "Share this page on X",
|
14
|
+
"iconClass": "icon-x",
|
15
|
+
"linkText": "Share"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"id": "social-network-xing",
|
19
|
+
"path": "https://www.xing.com/spi/shares/new?sc_p=b7910_cb&url=",
|
20
|
+
"tooltip": "Share this page on xing",
|
21
|
+
"iconClass": "icon-xing",
|
22
|
+
"linkText": "Share"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"id": "social-network-linkedin",
|
26
|
+
"path": "https://www.linkedin.com/cws/share?url=",
|
27
|
+
"tooltip": "Share this page on linkedin",
|
28
|
+
"iconClass": "icon-linkedin",
|
29
|
+
"linkText": "Share"
|
30
|
+
}
|
31
|
+
]
|
32
|
+
}
|
@@ -1,30 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
1
|
+
{
|
2
|
+
"networks": [
|
3
|
+
{
|
4
|
+
"id": "social-network-facebook",
|
5
|
+
"path": "https://www.facebook.com/sharer/sharer.php?u=",
|
6
|
+
"tooltip": "Share this page on facebook",
|
7
|
+
"iconClass": "icon-facebook",
|
8
|
+
"linkText": "Share"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "social-network-twitter",
|
12
|
+
"path": "https://twitter.com/home?status=",
|
13
|
+
"tooltip": "Share this page on twitter",
|
14
|
+
"iconClass": "icon-x",
|
15
|
+
"linkText": "Share"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"id": "social-network-xing",
|
19
|
+
"path": "https://www.xing.com/spi/shares/new?sc_p=b7910_cb&url=",
|
20
|
+
"tooltip": "Share this page on xing",
|
21
|
+
"iconClass": "icon-xing",
|
22
|
+
"linkText": "Share"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"id": "social-network-linkedin",
|
26
|
+
"path": "https://www.linkedin.com/cws/share?url=",
|
27
|
+
"tooltip": "Share this page on linkedin",
|
28
|
+
"iconClass": "icon-linkedin",
|
29
|
+
"linkText": "Share"
|
30
|
+
}
|
31
|
+
]
|
32
|
+
}
|
@@ -1,8 +1,10 @@
|
|
1
1
|
<template>
|
2
2
|
<footer :class="['cmd-page-footer flex-container', {'small-buttons': useSmallButtons}]">
|
3
3
|
<!-- begin CmdSocialNetworks -->
|
4
|
-
<CmdSocialNetworks v-if="cmdSocialNetworks"
|
4
|
+
<CmdSocialNetworks v-if="cmdSocialNetworks" v-bind="cmdSocialNetworks">
|
5
|
+
<!-- begin named slot for cmd-social-networks -->
|
5
6
|
<slot name="cmd-social-networks"></slot>
|
7
|
+
<!-- end named slot for cmd-social-networks -->
|
6
8
|
</CmdSocialNetworks>
|
7
9
|
<!-- end CmdSocialNetworks -->
|
8
10
|
|
@@ -61,7 +63,7 @@ export default {
|
|
61
63
|
* properties for CmdSocialNetworks-component
|
62
64
|
*/
|
63
65
|
cmdSocialNetworks: {
|
64
|
-
type:
|
66
|
+
type: Object,
|
65
67
|
required: false
|
66
68
|
},
|
67
69
|
/**
|
@@ -338,7 +338,7 @@ export default {
|
|
338
338
|
buttonSearchDisabled() {
|
339
339
|
const validInput1 = !this.cmdFormElementInput1.required || this.searchValue1.trim()
|
340
340
|
const validInput2 = !this.cmdFormElementInput2.show || !this.cmdFormElementInput2.required || this.searchValue2.trim()
|
341
|
-
const validInputRadius = !this.
|
341
|
+
const validInputRadius = !this.cmdFormElementRadiusOptions.show || !this.cmdFormElementRadiusOptions.required || this.radius
|
342
342
|
|
343
343
|
return !(validInput1 && validInput2 && validInputRadius)
|
344
344
|
}
|
@@ -364,8 +364,8 @@ export default {
|
|
364
364
|
watch: {
|
365
365
|
cmdFormElementRadius: {
|
366
366
|
handler() {
|
367
|
-
if (this.
|
368
|
-
this.radius = this.
|
367
|
+
if (this.cmdFormElementRadiusOptions?.selectOptions && this.cmdFormElementRadiusOptions?.selectOptions.length && this.modelValueRadius == null) {
|
368
|
+
this.radius = this.cmdFormElementRadiusOptions.selectOptions[0].value
|
369
369
|
}
|
370
370
|
},
|
371
371
|
immediate: true,
|