@factoringplus/pl-components-pack-v3 1.10.4-pre-dialog → 1.10.4-pre-spinner

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
- import { g as getDefaultExportFromCjs } from "./entry-d9f33a4f.js";
1
+ import { g as getDefaultExportFromCjs } from "./entry-46ac0ffa.js";
2
2
  function _mergeNamespaces(R, n) {
3
3
  for (var s = 0; s < n.length; s++) {
4
4
  const o = n[s];
@@ -1,4 +1,4 @@
1
- "use strict";const entry=require("./entry-21817941.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-6cfac9f8.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>
@@ -28961,11 +28961,11 @@ const rW = ["id"], oW = { class: "pl-dialog-plus-header_icon-block" }, sW = {
28961
28961
  emits: ["update:modelValue", "close-modal"],
28962
28962
  setup(e, { expose: t, emit: n }) {
28963
28963
  Or((L) => ({
28964
- "7143e702": d.value,
28965
- "70caf728": x.value,
28966
- "8964a22e": v.value,
28967
- "3fe789c9": y.value,
28968
- "5f699cd2": g.value
28964
+ db40d654: d.value,
28965
+ "44d488d4": x.value,
28966
+ "679e8a95": v.value,
28967
+ 42419675: y.value,
28968
+ a3d4692a: g.value
28969
28969
  }));
28970
28970
  const r = vr(), { width: o } = sr(), a = O(() => o.value < 768), l = mr(), 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" : r.footer ? "pt-2 pb-3 px-4" : "pt-2 pb-6 px-4");
28971
28971
  Tt(() => {
@@ -28973,9 +28973,9 @@ const rW = ["id"], oW = { class: "pl-dialog-plus-header_icon-block" }, sW = {
28973
28973
  });
28974
28974
  const y = k("calc(100% + 12px)"), v = k("0.26s"), h = k(0), b = k(""), N = k("100%"), x = k("0px");
28975
28975
  r.footer ? x.value = "24px" : x.value = "0px";
28976
- const S = async () => {
28976
+ const S = () => {
28977
28977
  var re, se, F, V, G, Q, J;
28978
- await et(), (re = document.getElementById(l)) == null || re.scrollTo({ top: 0 }), y.value = "0";
28978
+ (re = document.getElementById(l)) == null || re.scrollTo({ top: 0 }), y.value = "0";
28979
28979
  const L = (F = (se = document.getElementById(l)) == null ? void 0 : se.querySelector(".pl-dialog-plus-header")) == null ? void 0 : F.getBoundingClientRect().height;
28980
28980
  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;
28981
28981
  B = B || 0, H = H || -24, u.value && u.value.scrollTo({ top: 0 }), a.value ? (H = H === -24 ? -48 : H, N.value = `calc(100dvh - 145px - ${L}px - ${H}px - ${B}px)`) : c.innerScroll ? N.value = `calc(100dvh - 200px - ${L}px - ${H + 24}px - ${B}px)` : c.type === "side" ? N.value = `calc(100dvh - 48px - ${L}px - ${H}px - ${B}px)` : N.value = "fit-content";
@@ -29014,17 +29014,16 @@ const rW = ["id"], oW = { class: "pl-dialog-plus-header_icon-block" }, sW = {
29014
29014
  },
29015
29015
  c.modelValue ? 0 : 300
29016
29016
  );
29017
- }, E = n;
29017
+ };
29018
29018
  he(
29019
29019
  () => c.modelValue,
29020
29020
  (L) => {
29021
29021
  L || (y.value = "calc(100% + 12px)", v.value = "0.380s", E("close-modal")), et(() => {
29022
29022
  _(), L && (S(), u.value && u.value.scrollTo({ top: 0 }));
29023
29023
  });
29024
- },
29025
- { immediate: !0 }
29024
+ }
29026
29025
  );
29027
- const $ = () => {
29026
+ const E = n, $ = () => {
29028
29027
  c.beforeClose && c.beforeClose(), c.manualClose || E("update:modelValue", !1);
29029
29028
  }, C = (L) => {
29030
29029
  if (!c.closeOnOverlay)
@@ -35201,7 +35200,7 @@ const GZ = {
35201
35200
  try {
35202
35201
  b.value = await import(
35203
35202
  /* @vite-ignore */
35204
- "./crypto-pro-actual-cades-plugin-313dde98.js"
35203
+ "./crypto-pro-actual-cades-plugin-1a383bea.js"
35205
35204
  ).then((S) => S.c);
35206
35205
  } catch (S) {
35207
35206
  return console.warn("crypto-pro не установлен или не доступен:", S), !1;