@everymatrix/stage-mm-verification-report 1.0.12 → 1.0.14

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.
@@ -46,6 +46,7 @@ import {
46
46
  PendingTasksInternal,
47
47
  RendererFactory2,
48
48
  RendererStyleFlags2,
49
+ ReplaySubject,
49
50
  RuntimeError,
50
51
  SecurityContext,
51
52
  SkipSelf,
@@ -28430,6 +28431,42 @@ var SendingService = class _SendingService {
28430
28431
  }], null, null);
28431
28432
  })();
28432
28433
 
28434
+ // libs/shared/data-access/utils/src/lib/services/tracing-info.service.ts
28435
+ var TracingInfoService = class _TracingInfoService {
28436
+ tracingInfoSubject = new ReplaySubject(1);
28437
+ constructor() {
28438
+ this.setupTracingInfo();
28439
+ }
28440
+ getTracingInfo() {
28441
+ window.postMessage({ type: "GetTracingInfo" }, "*");
28442
+ window.addEventListener("message", this.listener);
28443
+ }
28444
+ listener = (e) => {
28445
+ if (e.data?.type === "SetTracingInfo") {
28446
+ window.removeEventListener("message", this.listener);
28447
+ this.tracingInfoSubject.next(e.data.payload);
28448
+ }
28449
+ };
28450
+ get tracingSubj() {
28451
+ return this.tracingInfoSubject;
28452
+ }
28453
+ setupTracingInfo() {
28454
+ interval(12e5).pipe(startWith(0)).subscribe(() => this.getTracingInfo());
28455
+ }
28456
+ static \u0275fac = function TracingInfoService_Factory(__ngFactoryType__) {
28457
+ return new (__ngFactoryType__ || _TracingInfoService)();
28458
+ };
28459
+ static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _TracingInfoService, factory: _TracingInfoService.\u0275fac, providedIn: "root" });
28460
+ };
28461
+ (() => {
28462
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(TracingInfoService, [{
28463
+ type: Injectable,
28464
+ args: [{
28465
+ providedIn: "root"
28466
+ }]
28467
+ }], () => [], null);
28468
+ })();
28469
+
28433
28470
  // node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs
28434
28471
  var GenericBrowserDomAdapter = class extends DomAdapter {
28435
28472
  supportsDOMEvents = true;
@@ -37126,16 +37163,15 @@ var VerificationRequestBodyStrategy = class _VerificationRequestBodyStrategy {
37126
37163
  sessionService = inject(SessionService);
37127
37164
  csvLimit = 1e7;
37128
37165
  pageLimit = 100;
37129
- buildRequestBody(config) {
37166
+ buildRequestBody(config, tracingInfo) {
37130
37167
  const { offset = 0, limit, allFilters, formData, columns, executionType, isGrandTotal = false, sorting, template } = config;
37131
37168
  const result = {
37132
37169
  p_columns: columns,
37133
37170
  p_additional_params: {},
37134
- p_tracing_info: {
37171
+ p_tracing_info: Object.assign({
37135
37172
  p_template_name: template ? template.template_name : null,
37136
- p_template_id: template ? template.template_id : null,
37137
- p_user_id: this.sessionService.sessionData?.Username
37138
- },
37173
+ p_template_id: template ? template.template_id : null
37174
+ }, tracingInfo),
37139
37175
  p_advanced_filtering: {
37140
37176
  p_offset: offset || 0,
37141
37177
  p_limit: executionType === "csv_load" ? this.csvLimit : limit === null ? this.pageLimit : limit,
@@ -37756,6 +37792,7 @@ export {
37756
37792
  DAY_OF_MONTH_OPTIONS,
37757
37793
  DAY_OF_WEEK_OPTIONS,
37758
37794
  SendingService,
37795
+ TracingInfoService,
37759
37796
  appConfig,
37760
37797
  patchDomHandlerGetScrollableParents,
37761
37798
  downloadURL,
@@ -37819,4 +37856,4 @@ crypto-js/mode-ctr-gladman.js:
37819
37856
  * License: MIT
37820
37857
  *)
37821
37858
  */
37822
- //# sourceMappingURL=chunk-WBKHZ3PI.js.map
37859
+ //# sourceMappingURL=chunk-S6DMBQOC.js.map