@factoringplus/pl-components-pack-v3 1.10.4 → 1.10.6-pre-01

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.
@@ -1,4 +1,4 @@
1
- "use strict";const entry=require("./entry-48984681.cjs");function _mergeNamespaces(R,n){for(var s=0;s<n.length;s++){const o=n[s];if(typeof o!="string"&&!Array.isArray(o)){for(const C in o)if(C!=="default"&&!(C in R)){const c=Object.getOwnPropertyDescriptor(o,C);c&&Object.defineProperty(R,C,c.get?c:{enumerable:!0,get:()=>o[C]})}}}return Object.freeze(Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}))}var cryptoProActualCadesPlugin$2={exports:{}};(function(module,exports){(function(n,s){module.exports=s()})(window,function(){return function(R){var n={};function s(o){if(n[o])return n[o].exports;var C=n[o]={i:o,l:!1,exports:{}};return R[o].call(C.exports,C,C.exports,s),C.l=!0,C.exports}return s.m=R,s.c=n,s.d=function(o,C,c){s.o(o,C)||Object.defineProperty(o,C,{enumerable:!0,get:c})},s.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},s.t=function(o,C){if(C&1&&(o=s(o)),C&8||C&4&&typeof o=="object"&&o&&o.__esModule)return o;var c=Object.create(null);if(s.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:o}),C&2&&typeof o!="string")for(var A in o)s.d(c,A,(function(f){return o[f]}).bind(null,A));return c},s.n=function(o){var C=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(C,"a",C),C},s.o=function(o,C){return Object.prototype.hasOwnProperty.call(o,C)},s.p="",s(s.s="./crypto-pro-actual-cades-plugin.ts")}({"../node_modules/base64-js/index.js":function(R,n,s){n.byteLength=i,n.toByteArray=p,n.fromByteArray=S;for(var o=[],C=[],c=typeof Uint8Array<"u"?Uint8Array:Array,A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,l=A.length;f<l;++f)o[f]=A[f],C[A.charCodeAt(f)]=f;C["-".charCodeAt(0)]=62,C["_".charCodeAt(0)]=63;function d(O){var M=O.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=O.indexOf("=");P===-1&&(P=M);var w=P===M?0:4-P%4;return[P,w]}function i(O){var M=d(O),P=M[0],w=M[1];return(P+w)*3/4-w}function I(O,M,P){return(M+P)*3/4-P}function p(O){var M,P=d(O),w=P[0],U=P[1],v=new c(I(O,w,U)),Y=0,k=U>0?w-4:w,G;for(G=0;G<k;G+=4)M=C[O.charCodeAt(G)]<<18|C[O.charCodeAt(G+1)]<<12|C[O.charCodeAt(G+2)]<<6|C[O.charCodeAt(G+3)],v[Y++]=M>>16&255,v[Y++]=M>>8&255,v[Y++]=M&255;return U===2&&(M=C[O.charCodeAt(G)]<<2|C[O.charCodeAt(G+1)]>>4,v[Y++]=M&255),U===1&&(M=C[O.charCodeAt(G)]<<10|C[O.charCodeAt(G+1)]<<4|C[O.charCodeAt(G+2)]>>2,v[Y++]=M>>8&255,v[Y++]=M&255),v}function t(O){return o[O>>18&63]+o[O>>12&63]+o[O>>6&63]+o[O&63]}function N(O,M,P){for(var w,U=[],v=M;v<P;v+=3)w=(O[v]<<16&16711680)+(O[v+1]<<8&65280)+(O[v+2]&255),U.push(t(w));return U.join("")}function S(O){for(var M,P=O.length,w=P%3,U=[],v=16383,Y=0,k=P-w;Y<k;Y+=v)U.push(N(O,Y,Y+v>k?k:Y+v));return w===1?(M=O[P-1],U.push(o[M>>2]+o[M<<4&63]+"==")):w===2&&(M=(O[P-2]<<8)+O[P-1],U.push(o[M>>10]+o[M>>4&63]+o[M<<2&63]+"=")),U.join("")}},"../node_modules/buffer/index.js":function(R,n,s){(function(o){/*!
1
+ "use strict";const entry=require("./entry-ba12c9ff.cjs");function _mergeNamespaces(R,n){for(var s=0;s<n.length;s++){const o=n[s];if(typeof o!="string"&&!Array.isArray(o)){for(const C in o)if(C!=="default"&&!(C in R)){const c=Object.getOwnPropertyDescriptor(o,C);c&&Object.defineProperty(R,C,c.get?c:{enumerable:!0,get:()=>o[C]})}}}return Object.freeze(Object.defineProperty(R,Symbol.toStringTag,{value:"Module"}))}var cryptoProActualCadesPlugin$2={exports:{}};(function(module,exports){(function(n,s){module.exports=s()})(window,function(){return function(R){var n={};function s(o){if(n[o])return n[o].exports;var C=n[o]={i:o,l:!1,exports:{}};return R[o].call(C.exports,C,C.exports,s),C.l=!0,C.exports}return s.m=R,s.c=n,s.d=function(o,C,c){s.o(o,C)||Object.defineProperty(o,C,{enumerable:!0,get:c})},s.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},s.t=function(o,C){if(C&1&&(o=s(o)),C&8||C&4&&typeof o=="object"&&o&&o.__esModule)return o;var c=Object.create(null);if(s.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:o}),C&2&&typeof o!="string")for(var A in o)s.d(c,A,(function(f){return o[f]}).bind(null,A));return c},s.n=function(o){var C=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(C,"a",C),C},s.o=function(o,C){return Object.prototype.hasOwnProperty.call(o,C)},s.p="",s(s.s="./crypto-pro-actual-cades-plugin.ts")}({"../node_modules/base64-js/index.js":function(R,n,s){n.byteLength=i,n.toByteArray=p,n.fromByteArray=S;for(var o=[],C=[],c=typeof Uint8Array<"u"?Uint8Array:Array,A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,l=A.length;f<l;++f)o[f]=A[f],C[A.charCodeAt(f)]=f;C["-".charCodeAt(0)]=62,C["_".charCodeAt(0)]=63;function d(O){var M=O.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=O.indexOf("=");P===-1&&(P=M);var w=P===M?0:4-P%4;return[P,w]}function i(O){var M=d(O),P=M[0],w=M[1];return(P+w)*3/4-w}function I(O,M,P){return(M+P)*3/4-P}function p(O){var M,P=d(O),w=P[0],U=P[1],v=new c(I(O,w,U)),Y=0,k=U>0?w-4:w,G;for(G=0;G<k;G+=4)M=C[O.charCodeAt(G)]<<18|C[O.charCodeAt(G+1)]<<12|C[O.charCodeAt(G+2)]<<6|C[O.charCodeAt(G+3)],v[Y++]=M>>16&255,v[Y++]=M>>8&255,v[Y++]=M&255;return U===2&&(M=C[O.charCodeAt(G)]<<2|C[O.charCodeAt(G+1)]>>4,v[Y++]=M&255),U===1&&(M=C[O.charCodeAt(G)]<<10|C[O.charCodeAt(G+1)]<<4|C[O.charCodeAt(G+2)]>>2,v[Y++]=M>>8&255,v[Y++]=M&255),v}function t(O){return o[O>>18&63]+o[O>>12&63]+o[O>>6&63]+o[O&63]}function N(O,M,P){for(var w,U=[],v=M;v<P;v+=3)w=(O[v]<<16&16711680)+(O[v+1]<<8&65280)+(O[v+2]&255),U.push(t(w));return U.join("")}function S(O){for(var M,P=O.length,w=P%3,U=[],v=16383,Y=0,k=P-w;Y<k;Y+=v)U.push(N(O,Y,Y+v>k?k:Y+v));return w===1?(M=O[P-1],U.push(o[M>>2]+o[M<<4&63]+"==")):w===2&&(M=(O[P-2]<<8)+O[P-1],U.push(o[M>>10]+o[M>>4&63]+o[M<<2&63]+"=")),U.join("")}},"../node_modules/buffer/index.js":function(R,n,s){(function(o){/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <http://feross.org>
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./entry-18919446.js";
1
+ import { g as getDefaultExportFromCjs } from "./entry-b4a5a10d.js";
2
2
  function _mergeNamespaces(R, n) {
3
3
  for (var s = 0; s < n.length; s++) {
4
4
  const o = n[s];
@@ -28959,11 +28959,11 @@ const tW = ["id"], nW = { class: "pl-dialog-plus-header_icon-block" }, oW = {
28959
28959
  emits: ["update:modelValue", "close-modal"],
28960
28960
  setup(e, { expose: t, emit: n }) {
28961
28961
  zo((L) => ({
28962
- db40d654: d.value,
28963
- "44d488d4": S.value,
28964
- "679e8a95": v.value,
28965
- 42419675: m.value,
28966
- a3d4692a: g.value
28962
+ "5bf5c594": d.value,
28963
+ "21a6b756": S.value,
28964
+ "1ad1a817": v.value,
28965
+ a91d0512: m.value,
28966
+ "61465e29": g.value
28967
28967
  }));
28968
28968
  const o = lo(), { width: r } = Rn(), a = O(() => r.value < 768), l = Mo(), u = k(), c = e, d = k(c.width), g = k(""), f = O(() => c.type === "side" ? "p-6" : "pt-2 pb-3 px-6"), M = O(() => c.calendar ? "py-4" : o.footer ? "pt-2 pb-3 px-4" : "pt-2 pb-6 px-4");
28969
28969
  wt(() => {
@@ -28971,9 +28971,9 @@ const tW = ["id"], nW = { class: "pl-dialog-plus-header_icon-block" }, oW = {
28971
28971
  });
28972
28972
  const m = k("calc(100% + 12px)"), v = k("0.26s"), h = k(0), b = k(""), D = k("100%"), S = k("0px");
28973
28973
  o.footer ? S.value = "24px" : S.value = "0px";
28974
- const x = () => {
28974
+ const x = async () => {
28975
28975
  var oe, se, W, V, G, Q, J;
28976
- (oe = document.getElementById(l)) == null || oe.scrollTo({ top: 0 }), m.value = "0";
28976
+ await et(), (oe = document.getElementById(l)) == null || oe.scrollTo({ top: 0 }), m.value = "0";
28977
28977
  const L = (W = (se = document.getElementById(l)) == null ? void 0 : se.querySelector(".pl-dialog-plus-header")) == null ? void 0 : W.getBoundingClientRect().height;
28978
28978
  let H = (G = (V = document.getElementById(l)) == null ? void 0 : V.querySelector(".pl-dialog-plus-footer")) == null ? void 0 : G.getBoundingClientRect().height, B = ((J = (Q = document.getElementById(l)) == null ? void 0 : Q.querySelector(".pl-dialog-plus-additional")) == null ? void 0 : J.getBoundingClientRect().height) + 24;
28979
28979
  B = B || 0, H = H || -24, u.value && u.value.scrollTo({ top: 0 }), a.value ? (H = H === -24 ? -48 : H, D.value = `calc(100dvh - 145px - ${L}px - ${H}px - ${B}px)`) : c.innerScroll ? D.value = `calc(100dvh - 200px - ${L}px - ${H + 24}px - ${B}px)` : c.type === "side" ? D.value = `calc(100dvh - 48px - ${L}px - ${H}px - ${B}px)` : D.value = "fit-content";
@@ -29005,23 +29005,26 @@ const tW = ["id"], nW = { class: "pl-dialog-plus-header_icon-block" }, oW = {
29005
29005
  }, _ = k([]), w = () => {
29006
29006
  setTimeout(
29007
29007
  () => {
29008
- _.value = [], document.querySelectorAll(".pl-dialog-plus-overlay").forEach((H) => {
29008
+ if (_.value = [], !document)
29009
+ return;
29010
+ document.querySelectorAll(".pl-dialog-plus-overlay").forEach((H) => {
29009
29011
  const B = window.getComputedStyle(H).getPropertyValue("display");
29010
29012
  H.classList.remove("dark-overlay"), B === "block" && _.value.push(H);
29011
29013
  }), _.value.length ? (_.value[0].classList.add("dark-overlay"), document.body.classList.add("pl-dialog-plus-overflow-hidden")) : document.body.classList.remove("pl-dialog-plus-overflow-hidden");
29012
29014
  },
29013
29015
  c.modelValue ? 0 : 300
29014
29016
  );
29015
- };
29017
+ }, E = n;
29016
29018
  ve(
29017
29019
  () => c.modelValue,
29018
29020
  (L) => {
29019
29021
  L || (m.value = "calc(100% + 12px)", v.value = "0.380s", E("close-modal")), et(() => {
29020
29022
  w(), L && (x(), u.value && u.value.scrollTo({ top: 0 }));
29021
29023
  });
29022
- }
29024
+ },
29025
+ { immediate: !0 }
29023
29026
  );
29024
- const E = n, $ = () => {
29027
+ const $ = () => {
29025
29028
  c.beforeClose && c.beforeClose(), c.manualClose || E("update:modelValue", !1);
29026
29029
  }, C = (L) => {
29027
29030
  if (!c.closeOnOverlay)
@@ -35198,7 +35201,7 @@ const WZ = {
35198
35201
  try {
35199
35202
  b.value = await import(
35200
35203
  /* @vite-ignore */
35201
- "./crypto-pro-actual-cades-plugin-63b56f57.js"
35204
+ "./crypto-pro-actual-cades-plugin-d7177c28.js"
35202
35205
  ).then((x) => x.c);
35203
35206
  } catch (x) {
35204
35207
  return console.warn("crypto-pro не установлен или не доступен:", x), !1;