import {
  ClientDatatableComponent
} from "./chunk-3RTU34A3.js";
import "./chunk-YWQICJL7.js";
import "./chunk-BP5JJWGC.js";
import "./chunk-IGGXREIH.js";
import {
  LoaderComponent
} from "./chunk-X5XWBDVM.js";
import {
  ToastrService
} from "./chunk-2YLAF7RI.js";
import {
  CommonSharedModule,
  DynamicFontSizeDirective,
  Store
} from "./chunk-7NQGM4EA.js";
import {
  TranslatePipe,
  TranslateService
} from "./chunk-NLYGDKUR.js";
import "./chunk-ZEL7H2AL.js";
import {
  ActivatedRoute,
  GridApiService,
  LocalStorageService,
  Router
} from "./chunk-P7K2QEDI.js";
import {
  Location,
  NgForOf,
  NgIf,
  Title,
  ɵsetClassDebugInfo,
  ɵɵStandaloneFeature,
  ɵɵadvance,
  ɵɵdefineComponent,
  ɵɵdirectiveInject,
  ɵɵelement,
  ɵɵelementEnd,
  ɵɵelementStart,
  ɵɵgetCurrentView,
  ɵɵlistener,
  ɵɵnextContext,
  ɵɵpipe,
  ɵɵpipeBind1,
  ɵɵproperty,
  ɵɵresetView,
  ɵɵrestoreView,
  ɵɵtemplate,
  ɵɵtext,
  ɵɵtextInterpolate,
  ɵɵtextInterpolate1
} from "./chunk-GKZIWABI.js";
import {
  __async,
  __spreadProps,
  __spreadValues
} from "./chunk-CVWHNZRK.js";

// src/app/@lcp-framework/pages/import-job-details/import-job-details.component.ts
function ImportJobDetailsComponent_div_54_tr_20_span_3_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "span", 23);
    \u0275\u0275text(1, "*");
    \u0275\u0275elementEnd();
  }
}
function ImportJobDetailsComponent_div_54_tr_20_ul_7_li_1_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "li");
    \u0275\u0275text(1);
    \u0275\u0275elementEnd();
  }
  if (rf & 2) {
    const error_r1 = ctx.$implicit;
    \u0275\u0275advance();
    \u0275\u0275textInterpolate1(" ", error_r1.message, " ");
  }
}
function ImportJobDetailsComponent_div_54_tr_20_ul_7_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "ul", 24);
    \u0275\u0275template(1, ImportJobDetailsComponent_div_54_tr_20_ul_7_li_1_Template, 2, 1, "li", 17);
    \u0275\u0275elementEnd();
  }
  if (rf & 2) {
    const fieldKey_r2 = \u0275\u0275nextContext().$implicit;
    const ctx_r2 = \u0275\u0275nextContext(2);
    \u0275\u0275advance();
    \u0275\u0275property("ngForOf", ctx_r2.sheet_data.ind_row_datas.errors[fieldKey_r2]);
  }
}
function ImportJobDetailsComponent_div_54_tr_20_ul_9_li_1_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "li");
    \u0275\u0275text(1);
    \u0275\u0275elementEnd();
  }
  if (rf & 2) {
    const warning_r4 = ctx.$implicit;
    \u0275\u0275advance();
    \u0275\u0275textInterpolate1(" ", warning_r4.message, " ");
  }
}
function ImportJobDetailsComponent_div_54_tr_20_ul_9_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "ul", 25);
    \u0275\u0275template(1, ImportJobDetailsComponent_div_54_tr_20_ul_9_li_1_Template, 2, 1, "li", 17);
    \u0275\u0275elementEnd();
  }
  if (rf & 2) {
    const fieldKey_r2 = \u0275\u0275nextContext().$implicit;
    const ctx_r2 = \u0275\u0275nextContext(2);
    \u0275\u0275advance();
    \u0275\u0275property("ngForOf", ctx_r2.sheet_data.ind_row_datas.warnings[fieldKey_r2]);
  }
}
function ImportJobDetailsComponent_div_54_tr_20_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "tr")(1, "td", 18);
    \u0275\u0275text(2);
    \u0275\u0275template(3, ImportJobDetailsComponent_div_54_tr_20_span_3_Template, 2, 0, "span", 19);
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(4, "td", 20);
    \u0275\u0275text(5);
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(6, "td", 20);
    \u0275\u0275template(7, ImportJobDetailsComponent_div_54_tr_20_ul_7_Template, 2, 1, "ul", 21);
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(8, "td", 20);
    \u0275\u0275template(9, ImportJobDetailsComponent_div_54_tr_20_ul_9_Template, 2, 1, "ul", 22);
    \u0275\u0275elementEnd()();
  }
  if (rf & 2) {
    const fieldKey_r2 = ctx.$implicit;
    const ctx_r2 = \u0275\u0275nextContext(2);
    \u0275\u0275advance(2);
    \u0275\u0275textInterpolate1(" ", ctx_r2.sheet_data.individual_header_details[fieldKey_r2].display_name || fieldKey_r2, " ");
    \u0275\u0275advance();
    \u0275\u0275property("ngIf", !(ctx_r2.sheet_data.individual_header_details[fieldKey_r2] == null ? null : ctx_r2.sheet_data.individual_header_details[fieldKey_r2].is_nullable));
    \u0275\u0275advance(2);
    \u0275\u0275textInterpolate1(" ", ctx_r2.sheet_data.ind_row_datas.columns[fieldKey_r2] || "N/A", " ");
    \u0275\u0275advance(2);
    \u0275\u0275property("ngIf", (ctx_r2.sheet_data.ind_row_datas.errors[fieldKey_r2] == null ? null : ctx_r2.sheet_data.ind_row_datas.errors[fieldKey_r2].length) || 0 > 0);
    \u0275\u0275advance(2);
    \u0275\u0275property("ngIf", (ctx_r2.sheet_data.ind_row_datas.warnings[fieldKey_r2] == null ? null : ctx_r2.sheet_data.ind_row_datas.warnings[fieldKey_r2].length) || 0 > 0);
  }
}
function ImportJobDetailsComponent_div_54_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "div", 13)(1, "h2", 14);
    \u0275\u0275text(2);
    \u0275\u0275pipe(3, "translate");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(4, "table", 15)(5, "thead")(6, "tr")(7, "th", 16);
    \u0275\u0275text(8);
    \u0275\u0275pipe(9, "translate");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(10, "th", 16);
    \u0275\u0275text(11);
    \u0275\u0275pipe(12, "translate");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(13, "th", 16);
    \u0275\u0275text(14);
    \u0275\u0275pipe(15, "translate");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(16, "th", 16);
    \u0275\u0275text(17);
    \u0275\u0275pipe(18, "translate");
    \u0275\u0275elementEnd()()();
    \u0275\u0275elementStart(19, "tbody");
    \u0275\u0275template(20, ImportJobDetailsComponent_div_54_tr_20_Template, 10, 5, "tr", 17);
    \u0275\u0275elementEnd()()();
  }
  if (rf & 2) {
    const ctx_r2 = \u0275\u0275nextContext();
    \u0275\u0275advance(2);
    \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 6, "individual_fields_data"));
    \u0275\u0275advance(6);
    \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(9, 8, "field"));
    \u0275\u0275advance(3);
    \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 10, "value"));
    \u0275\u0275advance(3);
    \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(15, 12, "errors"));
    \u0275\u0275advance(3);
    \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(18, 14, "warnings"));
    \u0275\u0275advance(3);
    \u0275\u0275property("ngForOf", ctx_r2.getIndividualFieldKeys());
  }
}
function ImportJobDetailsComponent_div_55_Template(rf, ctx) {
  if (rf & 1) {
    const _r5 = \u0275\u0275getCurrentView();
    \u0275\u0275elementStart(0, "div", 26)(1, "app-client-datatable", 27);
    \u0275\u0275listener("dataChange", function ImportJobDetailsComponent_div_55_Template_app_client_datatable_dataChange_1_listener($event) {
      \u0275\u0275restoreView(_r5);
      const ctx_r2 = \u0275\u0275nextContext();
      return \u0275\u0275resetView(ctx_r2.onItemsDataChange($event));
    })("sortChange", function ImportJobDetailsComponent_div_55_Template_app_client_datatable_sortChange_1_listener($event) {
      \u0275\u0275restoreView(_r5);
      const ctx_r2 = \u0275\u0275nextContext();
      return \u0275\u0275resetView(ctx_r2.onItemsSortChange($event));
    });
    \u0275\u0275elementEnd()();
  }
  if (rf & 2) {
    const ctx_r2 = \u0275\u0275nextContext();
    \u0275\u0275advance();
    \u0275\u0275property("data", ctx_r2.commonItems)("config", ctx_r2.commonItemsConfig);
  }
}
function ImportJobDetailsComponent_app_loader_56_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275element(0, "app-loader");
  }
}
var _ImportJobDetailsComponent = class _ImportJobDetailsComponent {
  constructor(gridApiService, toastr, router, route, localStorageService, storeData, location, translate, titleService) {
    this.gridApiService = gridApiService;
    this.toastr = toastr;
    this.router = router;
    this.route = route;
    this.localStorageService = localStorageService;
    this.storeData = storeData;
    this.location = location;
    this.translate = translate;
    this.titleService = titleService;
    this.sheet_data = null;
    this.loading = false;
    this.id = null;
    this.commonData = {
      items: []
    };
    this._originalItems = [];
    this.initStore();
  }
  ngOnInit() {
    this.id = this.route.snapshot.params["uuid"] || null;
    console.log(this.id);
    if (this.id) {
      console.log(this.id);
      this.loadData(this.id);
    }
  }
  initStore() {
    return __async(this, null, function* () {
      this.storeData.select((d) => d.index).subscribe((d) => {
        this.store = d;
      });
    });
  }
  // Update onItemsDataChange to handle data updates like export template
  onItemsDataChange(data) {
    if (!data || data.length === 0) {
      this.commonData.items = [...this._originalItems];
    } else {
      this.commonData.items = data;
    }
  }
  // Update onItemsSortChange to be consistent with export template
  onItemsSortChange(sort) {
    if (sort?.column && sort?.direction) {
      const items = [...this.commonData.items];
      items.sort((a, b) => {
        const aVal = a[sort.column] ?? "";
        const bVal = b[sort.column] ?? "";
        if (typeof aVal === "string" && typeof bVal === "string") {
          return sort.direction === "asc" ? aVal.localeCompare(bVal) : bVal.localeCompare(aVal);
        }
        const numA = Number(aVal);
        const numB = Number(bVal);
        return sort.direction === "asc" ? numA - numB : numB - numA;
      });
      this.onItemsDataChange(items);
    }
  }
  getIndividualFieldKeys() {
    return this.sheet_data ? Object.keys(this.sheet_data.ind_row_datas.columns) : [];
  }
  getSheetDatas(cdata) {
    console.log(cdata);
    return cdata?.map((row) => {
      const errorMessages = Object.values(row.row_object.errors).flat().map((error) => error.message).join(", ");
      const warnMessages = Object.values(row.row_object.warnings).flat().map((warning) => warning.message).join(", ");
      const status = row.row_object.warning ? '<span class="badge text-xs badge-outline-warning">warning</span>' : '<span class="badge text-xs badge-outline-success">valid</span>';
      const errorstatus = row.row_object.error ? `<span class="badge text-xs badge-outline-danger">invalid</span>` : status;
      const fStatusMesg = errorMessages ? errorMessages : warnMessages;
      const final_status = row.job_status == "processed" ? '<span class="badge text-xs badge-outline-success">Processed</span>' : errorstatus;
      const final_message = row.job_status == "processed" ? "This item has been processed successfully" : fStatusMesg;
      return __spreadProps(__spreadValues({}, row.row_object.columns), {
        errors: row.job_status == "processed" ? {} : row.row_object.errors,
        warnings: row.job_status == "processed" ? {} : row.row_object.warnings,
        errorstatus: final_status,
        // Add error status
        errorMessages: final_message
        // Add combined error messages
      });
    });
  }
  /*
    loadData(id: any) {
      this.loading = true;
      const params = {
        company_id: 1,
        print_query: true,
        primary_table: 'import_jobs',
        start_index: 0,
        limit_range: 1,
        sort_columns: [['import_jobs.id', 'asc']],
        search_all: [
          {
            column_name: 'import_jobs.uuid',
            value: id,
            operator: '=',
          },
        ],
        select_columns: [
          ['import_jobs.*'],
          [
            "CASE WHEN COUNT(import_job_line_items.id) = 0 THEN null ELSE COALESCE(Json_agg(DISTINCT jsonb_build_object('row_object', import_job_line_items.row_object,'job_status', import_job_line_items.job_status))) END",
            'items',
          ],
        ],
        includes: [
          {
            join_type: 'LEFT',
            table_name: 'import_job_line_items',
            join_condition: 'import_jobs.id = import_job_line_items.import_job_id',
          },
        ],
        group_by: ['import_jobs.id'],
      };
  
      this.gridApiService.getAllList(params).subscribe(
        (response) => {
          if (response.status && response.code === 200) {
            const data = response.data.records[0];
  
            console.log(data);
            this.commonData = data;
            if (Object.keys(data.header_details.ind_row_datas.columns).length > 0) {
              this.sheet_data = data.header_details;
            }
            const allitems: any = data.items;
          
            this.commonItems = this.getSheetDatas(allitems);
            console.log(this.commonItems);
            this.commonItemsConfig = data.table_config;
            this.commonItemsConfig.columns.filter((item: any) => (item.label = item.label.replace(`<span class="text-danger">*</span>`, '')));
            this.commonItemsConfig.pageSizes = [5, 10, 25, 50];
            this.commonItemsConfig.defaultPageSize = 10;
            this.commonItemsConfig.searchable = true;
            this.commonItemsConfig.headerConfig = {
              title: 'Line Items',
              showHeader: true,
  
              enableFilter: true,
              enableColumnSelector: true,
              enableExport: false,
            };
            this.loading = false;
            //this.commonData.items = data.items.sort((a: any, b: any) => a.mtr_sequence_number - b.mtr_sequence_number);
            //this._originalItems = data.items.sort((a: any, b: any) => a.mtr_sequence_number - b.mtr_sequence_number);
          } else {
            this.loading = false;
          }
        },
        (error) => {
          const key = 'error';
          const errorMessage = this.translate.instant(key);
          this.toastr.error(errorMessage, 'Error');
          this.loading = false;
        }
      );
    }*/
  loadData(id) {
    this.loading = true;
    this.loadImportJob(id).then((jobData) => {
      if (jobData) {
        this.loadImportJobLineItems(jobData.id);
      }
    });
  }
  loadImportJob(uuid) {
    const params = {
      company_id: 1,
      print_query: true,
      primary_table: "import_jobs",
      start_index: 0,
      limit_range: 1,
      sort_columns: [["import_jobs.id", "asc"]],
      search_all: [
        {
          column_name: "import_jobs.uuid",
          value: uuid,
          operator: "="
        }
      ],
      select_columns: [["import_jobs.*"]]
    };
    return new Promise((resolve) => {
      this.gridApiService.getAllList(params).subscribe({
        next: (response) => {
          if (response.status && response.code === 200) {
            const data = response.data.records[0];
            this.commonData = data;
            if (Object.keys(data.header_details.ind_row_datas.columns).length > 0) {
              this.sheet_data = data.header_details;
            }
            this.commonItemsConfig = data.table_config;
            resolve(data);
          } else {
            this.loading = false;
            resolve(null);
          }
        },
        error: (error) => {
          const errorMessage = this.translate.instant("error");
          this.toastr.error(errorMessage, "Error");
          this.loading = false;
          resolve(null);
        }
      });
    });
  }
  loadImportJobLineItems(jobId) {
    this.setupGridConfig();
    const params = {
      company_id: 1,
      print_query: true,
      primary_table: "import_job_line_items",
      search_all: [
        {
          column_name: "import_job_line_items.import_job_id",
          value: jobId,
          operator: "="
        }
      ],
      select_columns: [["import_job_line_items.*"]],
      group_by: ["import_job_line_items.id order by import_job_line_items.id asc"]
    };
    this.gridApiService.getAllList(params).subscribe({
      next: (response) => {
        if (response.status && response.code === 200) {
          const allItems = response.data.records;
          this.commonItems = this.getSheetDatas(allItems);
        }
        this.loading = false;
      },
      error: (error) => {
        const errorMessage = this.translate.instant("error");
        this.toastr.error(errorMessage, "Error");
        this.loading = false;
      }
    });
  }
  setupGridConfig() {
    this.commonItemsConfig.columns.forEach((item) => {
      item.label = item.label.replace(`<span class="text-danger">*</span>`, "");
    });
    this.commonItemsConfig.pageSizes = [5, 10, 25, 50];
    this.commonItemsConfig.defaultPageSize = 10;
    this.commonItemsConfig.searchable = true;
    this.commonItemsConfig.headerConfig = {
      title: "Line Items",
      showHeader: true,
      enableFilter: true,
      enableColumnSelector: true,
      enableExport: false
    };
  }
};
_ImportJobDetailsComponent.\u0275fac = function ImportJobDetailsComponent_Factory(t) {
  return new (t || _ImportJobDetailsComponent)(\u0275\u0275directiveInject(GridApiService), \u0275\u0275directiveInject(ToastrService), \u0275\u0275directiveInject(Router), \u0275\u0275directiveInject(ActivatedRoute), \u0275\u0275directiveInject(LocalStorageService), \u0275\u0275directiveInject(Store), \u0275\u0275directiveInject(Location), \u0275\u0275directiveInject(TranslateService), \u0275\u0275directiveInject(Title));
};
_ImportJobDetailsComponent.\u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _ImportJobDetailsComponent, selectors: [["app-import-job-details"]], standalone: true, features: [\u0275\u0275StandaloneFeature], decls: 57, vars: 12, consts: [[1, "container", "mx-auto", "p-4"], [1, "panel"], [1, "flex", "flex-wrap", "justify-between"], ["appDynamicFontSize", "title", 1, "font-bold", "dark:text-white-light"], [1, "relative", "inline-flex", "align-middle"], ["appDynamicFontSize", "body", "type", "button", 1, "btn", "btn-danger", "mr-5", 3, "click"], [1, "grid", "grid-cols-1", "gap-6", "p-4", "sm:grid-cols-2", "md:grid-cols-3", "lg:grid-cols-4"], [1, "flex", "flex-col"], [1, "mb-1", "font-medium", "text-gray-700", "dark:text-gray-300"], [1, "rounded-md", "bg-gray-100", "p-2", "text-gray-900", "dark:bg-gray-800", "dark:text-white-light"], ["class", "rounded-lg bg-white shadow-md", 4, "ngIf"], ["class", "panel mt-5", 4, "ngIf"], [4, "ngIf"], [1, "rounded-lg", "bg-white", "shadow-md"], [1, "mb-4", "text-lg", "font-bold"], [1, "w-full", "border", "border-gray-300"], [1, "border", "px-4", "py-2", "text-left"], [4, "ngFor", "ngForOf"], [1, "border", "px-4", "py-2", "font-medium", "text-gray-700"], ["class", "text-danger", 4, "ngIf"], [1, "border", "px-4", "py-2"], ["class", "list-inside list-disc text-red-500", 4, "ngIf"], ["class", "list-inside list-disc text-yellow-500", 4, "ngIf"], [1, "text-danger"], [1, "list-inside", "list-disc", "text-red-500"], [1, "list-inside", "list-disc", "text-yellow-500"], [1, "panel", "mt-5"], [3, "dataChange", "sortChange", "data", "config"]], template: function ImportJobDetailsComponent_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3);
    \u0275\u0275text(4, "Import Job Details");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(5, "div", 4)(6, "button", 5);
    \u0275\u0275listener("click", function ImportJobDetailsComponent_Template_button_click_6_listener() {
      return ctx.location.back();
    });
    \u0275\u0275text(7, "Back");
    \u0275\u0275elementEnd()()();
    \u0275\u0275elementStart(8, "div", 6)(9, "div", 7)(10, "label", 8);
    \u0275\u0275text(11, "Name:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(12, "div", 9);
    \u0275\u0275text(13);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(14, "div", 7)(15, "label", 8);
    \u0275\u0275text(16, "Description:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(17, "div", 9);
    \u0275\u0275text(18);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(19, "div", 7)(20, "label", 8);
    \u0275\u0275text(21, "Sequence Number:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(22, "div", 9);
    \u0275\u0275text(23);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(24, "div", 7)(25, "label", 8);
    \u0275\u0275text(26, "Total Rows:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(27, "div", 9);
    \u0275\u0275text(28);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(29, "div", 7)(30, "label", 8);
    \u0275\u0275text(31, "Completed Rows:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(32, "div", 9);
    \u0275\u0275text(33);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(34, "div", 7)(35, "label", 8);
    \u0275\u0275text(36, "Error Rows:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(37, "div", 9);
    \u0275\u0275text(38);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(39, "div", 7)(40, "label", 8);
    \u0275\u0275text(41, "Batch Process Count:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(42, "div", 9);
    \u0275\u0275text(43);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(44, "div", 7)(45, "label", 8);
    \u0275\u0275text(46, "Job Status:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(47, "div", 9);
    \u0275\u0275text(48);
    \u0275\u0275elementEnd()();
    \u0275\u0275elementStart(49, "div", 7)(50, "label", 8);
    \u0275\u0275text(51, "Last Processed Row ID:");
    \u0275\u0275elementEnd();
    \u0275\u0275elementStart(52, "div", 9);
    \u0275\u0275text(53);
    \u0275\u0275elementEnd()()()();
    \u0275\u0275template(54, ImportJobDetailsComponent_div_54_Template, 21, 16, "div", 10)(55, ImportJobDetailsComponent_div_55_Template, 2, 2, "div", 11);
    \u0275\u0275elementEnd();
    \u0275\u0275template(56, ImportJobDetailsComponent_app_loader_56_Template, 1, 0, "app-loader", 12);
  }
  if (rf & 2) {
    \u0275\u0275advance(13);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.name, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.description, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.sequence_number, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.total_rows, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.completed_rows, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.error_rows, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.batch_process_count, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.job_status, " ");
    \u0275\u0275advance(5);
    \u0275\u0275textInterpolate1(" ", ctx.commonData == null ? null : ctx.commonData.last_processed_row_id, " ");
    \u0275\u0275advance();
    \u0275\u0275property("ngIf", ctx.sheet_data && (ctx.sheet_data == null ? null : ctx.sheet_data.ind_row_datas));
    \u0275\u0275advance();
    \u0275\u0275property("ngIf", ctx.commonItems);
    \u0275\u0275advance();
    \u0275\u0275property("ngIf", ctx.loading);
  }
}, dependencies: [CommonSharedModule, NgForOf, NgIf, DynamicFontSizeDirective, TranslatePipe, ClientDatatableComponent, LoaderComponent] });
var ImportJobDetailsComponent = _ImportJobDetailsComponent;
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(ImportJobDetailsComponent, { className: "ImportJobDetailsComponent", filePath: "src\\app\\@lcp-framework\\pages\\import-job-details\\import-job-details.component.ts", lineNumber: 22 });
})();
export {
  ImportJobDetailsComponent
};
//# sourceMappingURL=chunk-UM4VX223.js.map
