@sabstravtech/obtservices 0.2.2503181655 → 0.2.2503191158

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.
@@ -56,7 +56,6 @@ import { BaseValidateBasketMiFetcher, ValidateBasketMiFetcher } from '../fetcher
56
56
  import { BaseValidateBasketItemMiFetcher, ValidateBasketItemMiFetcher } from '../fetchers/validate-basket-item-mi.fetcher';
57
57
  import { BaseSetMIValuesUpdater, SetMIValuesUpdater } from '../updaters/set-mi-values.updater';
58
58
  import { BaseStorageService } from './storage.service';
59
- import { EventEmitter } from '@angular/core';
60
59
  import { BaseBeforeAmendCabSearchQuoteFetcher, BeforeAmendCabSearchQuoteFetcherType } from '../fetchers/before-amend-cab-search-quote-fetcher';
61
60
  import { BaseSendBackToQueueUpdater, SendBackToQueueMutationType } from '../updaters/send-back-to-queue-updater';
62
61
  import { BaseGetBasketCo2InfoFetcher, GetBasketCo2FetcherInfoType } from '../fetchers/basket-co2.fetcher';
@@ -223,7 +222,6 @@ export declare abstract class BaseEnterpriseBasketService<ANPU_Q extends AcceptN
223
222
  basketList: BasketPricesList[];
224
223
  basketPrices: BehaviorSubject<BasketPrices>;
225
224
  menuState: MenuSlideEnum;
226
- checkApproverModalClosed: EventEmitter<any>;
227
225
  private requiresService;
228
226
  private requiresOverrideService;
229
227
  private userCurrency;
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('rxjs/operators'), require('moment'), require('lodash'), require('ajv'), require('ajv-formats'), require('@angular/core')) :
3
- typeof define === 'function' && define.amd ? define('@sabstravtech/obtservices/base', ['exports', 'rxjs', 'rxjs/operators', 'moment', 'lodash', 'ajv', 'ajv-formats', '@angular/core'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.sabstravtech = global.sabstravtech || {}, global.sabstravtech.obtservices = global.sabstravtech.obtservices || {}, global.sabstravtech.obtservices.base = {}), global.rxjs, global.rxjs.operators, global.moment, global._, global.Ajv, global.addFormats, global.ng.core));
5
- })(this, (function (exports, rxjs, operators, moment, _, Ajv, addFormats, core) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('rxjs/operators'), require('moment'), require('lodash'), require('ajv'), require('ajv-formats')) :
3
+ typeof define === 'function' && define.amd ? define('@sabstravtech/obtservices/base', ['exports', 'rxjs', 'rxjs/operators', 'moment', 'lodash', 'ajv', 'ajv-formats'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.sabstravtech = global.sabstravtech || {}, global.sabstravtech.obtservices = global.sabstravtech.obtservices || {}, global.sabstravtech.obtservices.base = {}), global.rxjs, global.rxjs.operators, global.moment, global._, global.Ajv, global.addFormats));
5
+ })(this, (function (exports, rxjs, operators, moment, _, Ajv, addFormats) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -13338,7 +13338,7 @@
13338
13338
  .getAirlinesList(preferredCarry)
13339
13339
  .subscribe(function (items) {
13340
13340
  items.map(function (item) {
13341
- if (item.code === preferredCarry) {
13341
+ if ((item === null || item === void 0 ? void 0 : item.code) === preferredCarry) {
13342
13342
  preferredCarriers_1.push(item);
13343
13343
  }
13344
13344
  });
@@ -13776,7 +13776,7 @@
13776
13776
  .getAirlinesList(preferredCarry)
13777
13777
  .subscribe(function (items) {
13778
13778
  items.map(function (item) {
13779
- if (item.code === preferredCarry) {
13779
+ if ((item === null || item === void 0 ? void 0 : item.code) === preferredCarry) {
13780
13780
  preferredCarriers_2.push(item);
13781
13781
  }
13782
13782
  });
@@ -31877,7 +31877,6 @@
31877
31877
  list: this.basketList
31878
31878
  });
31879
31879
  this.menuState = exports.MenuSlideEnum.OUT;
31880
- this.checkApproverModalClosed = new core.EventEmitter();
31881
31880
  this.userCurrency = 'GBP';
31882
31881
  this.requiresService = new BaseRequiresReasonService(modalService, this);
31883
31882
  this.requiresOverrideService = new BaseRequiresOverrideReasonService(modalService, this);