@everymatrix/stage-mm-verification-report 1.0.49 → 1.1.1

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,6 +1,6 @@
1
1
  import {
2
2
  DmButtonLibComponent
3
- } from "./chunk-5RQ247ER.js";
3
+ } from "./chunk-TLKY6L5A.js";
4
4
  import {
5
5
  BaseComponent,
6
6
  BaseStyle,
@@ -450,4 +450,4 @@ export {
450
450
  ProgressSpinnerModule,
451
451
  DeleteTemplateModalComponent
452
452
  };
453
- //# sourceMappingURL=chunk-HKFBICBE.js.map
453
+ //# sourceMappingURL=chunk-3AQTIC45.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DomainsOverloadModalComponent
3
- } from "./chunk-FV65HN4Q.js";
4
- import "./chunk-5RQ247ER.js";
3
+ } from "./chunk-HCIJ4DBZ.js";
4
+ import "./chunk-TLKY6L5A.js";
5
5
  import "./chunk-2SMQV2OO.js";
6
6
  import "./chunk-57JN4OKS.js";
7
7
  export {
8
8
  DomainsOverloadModalComponent
9
9
  };
10
- //# sourceMappingURL=chunk-ORMI2PEU.js.map
10
+ //# sourceMappingURL=chunk-4M25FGA6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DmButtonLibComponent
3
- } from "./chunk-5RQ247ER.js";
3
+ } from "./chunk-TLKY6L5A.js";
4
4
  import {
5
5
  Dialog,
6
6
  DialogModule,
@@ -219,4 +219,4 @@ var DomainsOverloadModalComponent = class _DomainsOverloadModalComponent {
219
219
  export {
220
220
  DomainsOverloadModalComponent
221
221
  };
222
- //# sourceMappingURL=chunk-FV65HN4Q.js.map
222
+ //# sourceMappingURL=chunk-HCIJ4DBZ.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeleteTemplateModalComponent
3
- } from "./chunk-HKFBICBE.js";
4
- import "./chunk-5RQ247ER.js";
3
+ } from "./chunk-3AQTIC45.js";
4
+ import "./chunk-TLKY6L5A.js";
5
5
  import "./chunk-2SMQV2OO.js";
6
6
  import "./chunk-57JN4OKS.js";
7
7
  export {
8
8
  DeleteTemplateModalComponent
9
9
  };
10
- //# sourceMappingURL=chunk-EHYSURWH.js.map
10
+ //# sourceMappingURL=chunk-RKNM3CPU.js.map
@@ -29766,6 +29766,13 @@ var TemplateService = class _TemplateService {
29766
29766
  return list;
29767
29767
  });
29768
29768
  }
29769
+ baseTemplate() {
29770
+ const url = new URL(window.location.href);
29771
+ const templateName = url.searchParams.get("templateName");
29772
+ const modificationId = url.searchParams.get("modificationId");
29773
+ const templateId = url.searchParams.get("templateId");
29774
+ return templateName && modificationId && templateId ? this.templatesList().find((item) => item.template_id === templateId && !item.is_temporary) : null;
29775
+ }
29769
29776
  get templateChangedSubject() {
29770
29777
  return this.templateChanged;
29771
29778
  }
@@ -37309,7 +37316,7 @@ var DATE_HINTS = [
37309
37316
 
37310
37317
  // libs/shared/data-access/utils/src/lib/functions/date-transform.ts
37311
37318
  var dateTransform = (dateType, key) => {
37312
- let updatedTime = DATE_HINTS.find((item) => item.dateAlias === dateType);
37319
+ const updatedTime = DATE_HINTS.find((item) => item.dateAlias === dateType);
37313
37320
  return updatedTime?.interval[key];
37314
37321
  };
37315
37322
 
@@ -37364,13 +37371,13 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
37364
37371
  }
37365
37372
  const prefixedKey = field_id === "merchant_name" ? "p_domains" : `p_${field_id}`;
37366
37373
  if (field.field_data_type === "TIMESTAMP" && value) {
37367
- const { start, end, dateAlias } = value;
37368
- if (start && end || dateAlias) {
37374
+ const { start, end, alias } = value;
37375
+ if (start && end || alias) {
37369
37376
  let startDate = start;
37370
37377
  let endDate = end;
37371
- if (dateAlias && dateAlias !== "custom") {
37372
- startDate = dateTransform(dateAlias, "start");
37373
- endDate = dateTransform(dateAlias, "end");
37378
+ if (alias && alias !== "custom") {
37379
+ startDate = dateTransform(alias, "start");
37380
+ endDate = dateTransform(alias, "end");
37374
37381
  }
37375
37382
  value = [
37376
37383
  (0, import_moment3.default)(startDate).format("YYYY-MM-DD HH:mm:ss.SSS"),
@@ -37645,4 +37652,4 @@ crypto-js/mode-ctr-gladman.js:
37645
37652
  * License: MIT
37646
37653
  *)
37647
37654
  */
37648
- //# sourceMappingURL=chunk-5RQ247ER.js.map
37655
+ //# sourceMappingURL=chunk-TLKY6L5A.js.map