@factoringplus/pl-components-pack-v3 1.8.22-pre-new-project-pre-03 → 1.8.22-pre-new-project-pre-05

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.
@@ -33551,7 +33551,10 @@ const PZ = {
33551
33551
  }
33552
33552
  }), u = O([]), c = async () => {
33553
33553
  try {
33554
- const D = await import("crypto-pro");
33554
+ const D = await import(
33555
+ /* @vite-ignore */
33556
+ "crypto-pro"
33557
+ ).catch(() => require("crypto-pro"));
33555
33558
  if (D != null && D.isValidSystemSetup)
33556
33559
  return await D.isValidSystemSetup();
33557
33560
  throw new Error("Метод isValidSystemSetup отсутствует в crypto-pro");
@@ -33560,7 +33563,10 @@ const PZ = {
33560
33563
  }
33561
33564
  }, d = async () => new Promise((D, b) => {
33562
33565
  l.value = !0, c().then(async () => {
33563
- const { getUserCertificates: x } = await import("crypto-pro");
33566
+ const { getUserCertificates: x } = await import(
33567
+ /* @vite-ignore */
33568
+ "crypto-pro"
33569
+ ).catch(() => require("crypto-pro"));
33564
33570
  let A = await x(!0);
33565
33571
  r.certificatesThumbprint && (A = A.filter(
33566
33572
  (T) => r.certificatesThumbprint.includes(T.thumbprint)
@@ -33623,7 +33629,10 @@ const PZ = {
33623
33629
  const x = [];
33624
33630
  for (const A of b)
33625
33631
  try {
33626
- const { createDetachedSignature: T } = await import("crypto-pro"), I = await T(D, A.fileDigest, {
33632
+ const { createDetachedSignature: T } = await import(
33633
+ /* @vite-ignore */
33634
+ "crypto-pro"
33635
+ ).catch(() => require("crypto-pro")), I = await T(D, A.fileDigest, {
33627
33636
  hashedAlgorithm: A.fileDigestAlgorithmOid === "1.2.643.7.1.1.2.3" ? 102 : 101
33628
33637
  });
33629
33638
  x.push({
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "require": "./dist/pl-components-pack-v3.cjs.js"
16
16
  }
17
17
  },
18
- "version": "1.8.22-pre-new-project-pre-03",
18
+ "version": "1.8.22-pre-new-project-pre-05",
19
19
  "scripts": {
20
20
  "dev": "vite",
21
21
  "build": "vite build",
@@ -53,7 +53,8 @@
53
53
  "vue": "3.4.31",
54
54
  "vue-currency-input": "3.1.0",
55
55
  "vue-inline-svg": "3.1.3",
56
- "vuex": "4.1.0"
56
+ "vuex": "4.1.0",
57
+ "crypto-pro": "2.5.2"
57
58
  },
58
59
  "peerDependencies": {
59
60
  "crypto-pro": "2.5.2"