comand-component-library 4.0.49 → 4.0.51

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.0.49",
3
+ "version": "4.0.51",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-only",
@@ -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
- "id": "social-network-facebook",
4
- "path": "https://www.facebook.com/sharer/sharer.php?u=",
5
- "tooltip": "Share this page on facebook",
6
- "iconClass": "icon-facebook",
7
- "linkText": "Share"
8
- },
9
- {
10
- "id": "social-network-x",
11
- "path": "https://twitter.com/home?status=",
12
- "tooltip": "Share this page on X",
13
- "iconClass": "icon-x",
14
- "linkText": "Share"
15
- },
16
- {
17
- "id": "social-network-xing",
18
- "path": "https://www.xing.com/spi/shares/new?sc_p=b7910_cb&amp;url=",
19
- "tooltip": "Share this page on xing",
20
- "iconClass": "icon-xing",
21
- "linkText": "Share"
22
- },
23
- {
24
- "id": "social-network-linkedin",
25
- "path": "https://www.linkedin.com/cws/share?url=",
26
- "tooltip": "Share this page on linkedin",
27
- "iconClass": "icon-linkedin",
28
- "linkText": "Share"
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&amp;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
- "id": "social-network-facebook",
4
- "path": "https://www.facebook.com/sharer/sharer.php?u=",
5
- "tooltip": "Share this page on facebook",
6
- "iconClass": "icon-facebook",
7
- "linkText": "Share"
8
- },
9
- {
10
- "id": "social-network-twitter",
11
- "path": "https://twitter.com/home?status=",
12
- "tooltip": "Share this page on twitter",
13
- "iconClass": "icon-x",
14
- "linkText": "Share"
15
- },
16
- {
17
- "id": "social-network-xing",
18
- "path": "https://www.xing.com/spi/shares/new?sc_p=b7910_cb&amp;url=",
19
- "tooltip": "Share this page on xing",
20
- "iconClass": "icon-xing",
21
- "linkText": "Share"
22
- },
23
- {
24
- "id": "social-network-linkedin",
25
- "path": "https://www.linkedin.com/cws/share?url=",
26
- "tooltip": "Share this page on linkedin",
27
- "iconClass": "icon-linkedin",
28
- "linkText": "Share"
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&amp;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
+ }
@@ -154,7 +154,7 @@ export default {
154
154
  type: "submit",
155
155
  position: "insideFieldset",
156
156
  primary: true,
157
- ...submitButton
157
+ ...this.submitButton
158
158
  }
159
159
  }
160
160
  },
@@ -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" :networks="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: Array,
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.cmdFormElementRadius.show || !this.cmdFormElementRadius.required || this.radius
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.cmdFormElementRadius?.selectOptions && this.cmdFormElementRadius?.selectOptions.length && this.modelValueRadius == null) {
368
- this.radius = this.cmdFormElementRadius.selectOptions[0].value
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,