@factoringplus/pl-components-pack-v3 0.1.47 → 0.1.50

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.
@@ -22248,7 +22248,7 @@ var lodash = { exports: {} };
22248
22248
  }
22249
22249
  }).call(commonjsGlobal);
22250
22250
  })(lodash, lodash.exports);
22251
- var _$1 = lodash.exports;
22251
+ var _ = lodash.exports;
22252
22252
  //! moment.js
22253
22253
  //! version : 2.29.1
22254
22254
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -29677,6 +29677,7 @@ function getErrorMessage(ex2) {
29677
29677
  return value;
29678
29678
  }
29679
29679
  }
29680
+ var plCertDialog_vue_vue_type_style_index_0_lang = "";
29680
29681
  const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { class: "sp-dialog__title" }, [
29681
29682
  /* @__PURE__ */ createElementVNode("div", { class: "title-text" }, "\u041F\u043E\u0434\u043F\u0438\u0441\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430")
29682
29683
  ], -1);
@@ -29690,7 +29691,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
29690
29691
  emits: ["cert-selected"],
29691
29692
  setup(__props, { expose, emit }) {
29692
29693
  const form2 = ref(null);
29693
- const visible = ref(false);
29694
+ const visible = ref(true);
29694
29695
  const loading2 = ref(false);
29695
29696
  const certs = ref([]);
29696
29697
  const fileList = ref([]);
@@ -29714,7 +29715,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
29714
29715
  }
29715
29716
  ]
29716
29717
  });
29717
- const validCerts = computed(() => _$1.filter(certs.value, "valid"));
29718
+ const validCerts = computed(() => _.filter(certs.value, "valid"));
29718
29719
  const formatCertInfo = (item, id) => {
29719
29720
  var _a2, _b2;
29720
29721
  const regexCn = new RegExp("CN=([^,]+)", "i");
@@ -29758,7 +29759,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
29758
29759
  loading2.value = true;
29759
29760
  fileList.value = files;
29760
29761
  cryptoPro.exports.getUserCertificates().then((response2) => {
29761
- certs.value = _$1.chain(response2).map(formatCertInfo).filter((cert) => `${_$1.get(cert, "companyInn", "")}`.indexOf("\u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442") === -1).value();
29762
+ certs.value = _.chain(response2).map(formatCertInfo).filter((cert) => `${_.get(cert, "companyInn", "")}`.indexOf("\u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442") === -1).value();
29762
29763
  visible.value = true;
29763
29764
  }).catch((ex2) => {
29764
29765
  ElMessage.error(getErrorMessage(ex2));
@@ -29775,7 +29776,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
29775
29776
  form2.value.validate((isFormValid) => {
29776
29777
  if (isFormValid) {
29777
29778
  hide2();
29778
- const certInfo = _$1.find(validCerts.value, ["thumbprint", dataForm.thumbprint]);
29779
+ const certInfo = _.find(validCerts.value, ["thumbprint", dataForm.thumbprint]);
29779
29780
  if (certInfo == null) {
29780
29781
  ElMessage.error("\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043E \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0435.");
29781
29782
  } else {