comand-component-library 3.3.41 → 3.3.42

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.
@@ -1281,7 +1281,7 @@ const fs = {
1281
1281
  },
1282
1282
  computed: {
1283
1283
  getHeadlineTag() {
1284
- return this.headlineLevel ? "h" + this.headlineLevel : "h3";
1284
+ return this.headlineLevel ? "h" + this.headlineLevel : "";
1285
1285
  },
1286
1286
  getTextAlign() {
1287
1287
  return this.textAlign ? "text-" + this.textAlign : "";
@@ -1708,6 +1708,12 @@ const cl = {
1708
1708
  },
1709
1709
  methods: {
1710
1710
  copyToClipboard(e) {
1711
+ navigator.permissions.query({ name: "clipboard-write" }).then((i) => {
1712
+ if (i.state === "granted" || i.state === "prompt") {
1713
+ const t = e.replace(/\s/g, "");
1714
+ navigator.clipboard.writeText(t), alert(t + " was copied to clipboard");
1715
+ }
1716
+ }).catch((i) => console.error(i));
1711
1717
  }
1712
1718
  }
1713
1719
  }, ul = { class: "cmd-bank-account-data" }, dl = { key: 0 }, ml = ["onClick", "title"], hl = { key: 1 };
@@ -2407,7 +2413,7 @@ const Jl = {
2407
2413
  },
2408
2414
  cmdHeadline: {
2409
2415
  type: Object,
2410
- required: !1
2416
+ default: {}
2411
2417
  },
2412
2418
  links: {
2413
2419
  type: Array,