@egovernments/digit-ui-libraries 1.3.4 → 1.3.8

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.
@@ -61,24 +61,28 @@ function _arrayLikeToArray(arr, len) {
61
61
  }
62
62
 
63
63
  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
64
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
65
- if (it) return (it = it.call(o)).next.bind(it);
66
-
67
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
68
- if (it) o = it;
69
- var i = 0;
70
- return function () {
71
- if (i >= o.length) return {
72
- done: true
73
- };
74
- return {
75
- done: false,
76
- value: o[i++]
64
+ var it;
65
+
66
+ if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
67
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
68
+ if (it) o = it;
69
+ var i = 0;
70
+ return function () {
71
+ if (i >= o.length) return {
72
+ done: true
73
+ };
74
+ return {
75
+ done: false,
76
+ value: o[i++]
77
+ };
77
78
  };
78
- };
79
+ }
80
+
81
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
79
82
  }
80
83
 
81
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
84
+ it = o[Symbol.iterator]();
85
+ return it.next.bind(it);
82
86
  }
83
87
 
84
88
  var Pages = Object.freeze({
@@ -217,7 +221,6 @@ var actionHandler = function actionHandler(action, id, fieldList) {
217
221
  var index = getIndex(id, fieldList);
218
222
 
219
223
  if (!action) {
220
- console.log("no action found");
221
224
  return;
222
225
  }
223
226
 
@@ -2552,7 +2555,6 @@ var StoreService = {
2552
2555
  },
2553
2556
  defaultData: function (stateCode, moduleCode, language) {
2554
2557
  try {
2555
- console.log(moduleCode, stateCode);
2556
2558
  var LocalePromise = LocalizationService.getLocale({
2557
2559
  modules: ["rainmaker-" + moduleCode.toLowerCase()],
2558
2560
  locale: language,
@@ -3623,7 +3625,7 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
3623
3625
  (function () {
3624
3626
 
3625
3627
  var enableSchedulerDebugging = false;
3626
- var enableProfiling = false;
3628
+ var enableProfiling = true;
3627
3629
 
3628
3630
  var _requestHostCallback;
3629
3631
 
@@ -3862,13 +3864,167 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
3862
3864
  return diff !== 0 ? diff : a.id - b.id;
3863
3865
  }
3864
3866
 
3867
+ var NoPriority = 0;
3865
3868
  var ImmediatePriority = 1;
3866
3869
  var UserBlockingPriority = 2;
3867
3870
  var NormalPriority = 3;
3868
3871
  var LowPriority = 4;
3869
3872
  var IdlePriority = 5;
3873
+ var runIdCounter = 0;
3874
+ var mainThreadIdCounter = 0;
3875
+ var profilingStateSize = 4;
3876
+ var sharedProfilingBuffer = typeof SharedArrayBuffer === 'function' ? new SharedArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : typeof ArrayBuffer === 'function' ? new ArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : null;
3877
+ var profilingState = sharedProfilingBuffer !== null ? new Int32Array(sharedProfilingBuffer) : [];
3878
+ var PRIORITY = 0;
3879
+ var CURRENT_TASK_ID = 1;
3880
+ var CURRENT_RUN_ID = 2;
3881
+ var QUEUE_SIZE = 3;
3882
+ {
3883
+ profilingState[PRIORITY] = NoPriority;
3884
+ profilingState[QUEUE_SIZE] = 0;
3885
+ profilingState[CURRENT_TASK_ID] = 0;
3886
+ }
3887
+ var INITIAL_EVENT_LOG_SIZE = 131072;
3888
+ var MAX_EVENT_LOG_SIZE = 524288;
3889
+ var eventLogSize = 0;
3890
+ var eventLogBuffer = null;
3891
+ var eventLog = null;
3892
+ var eventLogIndex = 0;
3893
+ var TaskStartEvent = 1;
3894
+ var TaskCompleteEvent = 2;
3895
+ var TaskErrorEvent = 3;
3896
+ var TaskCancelEvent = 4;
3897
+ var TaskRunEvent = 5;
3898
+ var TaskYieldEvent = 6;
3899
+ var SchedulerSuspendEvent = 7;
3900
+ var SchedulerResumeEvent = 8;
3901
+
3902
+ function logEvent(entries) {
3903
+ if (eventLog !== null) {
3904
+ var offset = eventLogIndex;
3905
+ eventLogIndex += entries.length;
3906
+
3907
+ if (eventLogIndex + 1 > eventLogSize) {
3908
+ eventLogSize *= 2;
3909
+
3910
+ if (eventLogSize > MAX_EVENT_LOG_SIZE) {
3911
+ console['error']("Scheduler Profiling: Event log exceeded maximum size. Don't " + 'forget to call `stopLoggingProfilingEvents()`.');
3912
+ stopLoggingProfilingEvents();
3913
+ return;
3914
+ }
3915
+
3916
+ var newEventLog = new Int32Array(eventLogSize * 4);
3917
+ newEventLog.set(eventLog);
3918
+ eventLogBuffer = newEventLog.buffer;
3919
+ eventLog = newEventLog;
3920
+ }
3921
+
3922
+ eventLog.set(entries, offset);
3923
+ }
3924
+ }
3925
+
3926
+ function startLoggingProfilingEvents() {
3927
+ eventLogSize = INITIAL_EVENT_LOG_SIZE;
3928
+ eventLogBuffer = new ArrayBuffer(eventLogSize * 4);
3929
+ eventLog = new Int32Array(eventLogBuffer);
3930
+ eventLogIndex = 0;
3931
+ }
3932
+
3933
+ function stopLoggingProfilingEvents() {
3934
+ var buffer = eventLogBuffer;
3935
+ eventLogSize = 0;
3936
+ eventLogBuffer = null;
3937
+ eventLog = null;
3938
+ eventLogIndex = 0;
3939
+ return buffer;
3940
+ }
3941
+
3942
+ function markTaskStart(task, ms) {
3943
+ {
3944
+ profilingState[QUEUE_SIZE]++;
3945
+
3946
+ if (eventLog !== null) {
3947
+ logEvent([TaskStartEvent, ms * 1000, task.id, task.priorityLevel]);
3948
+ }
3949
+ }
3950
+ }
3870
3951
 
3871
- function markTaskErrored(task, ms) {}
3952
+ function markTaskCompleted(task, ms) {
3953
+ {
3954
+ profilingState[PRIORITY] = NoPriority;
3955
+ profilingState[CURRENT_TASK_ID] = 0;
3956
+ profilingState[QUEUE_SIZE]--;
3957
+
3958
+ if (eventLog !== null) {
3959
+ logEvent([TaskCompleteEvent, ms * 1000, task.id]);
3960
+ }
3961
+ }
3962
+ }
3963
+
3964
+ function markTaskCanceled(task, ms) {
3965
+ {
3966
+ profilingState[QUEUE_SIZE]--;
3967
+
3968
+ if (eventLog !== null) {
3969
+ logEvent([TaskCancelEvent, ms * 1000, task.id]);
3970
+ }
3971
+ }
3972
+ }
3973
+
3974
+ function markTaskErrored(task, ms) {
3975
+ {
3976
+ profilingState[PRIORITY] = NoPriority;
3977
+ profilingState[CURRENT_TASK_ID] = 0;
3978
+ profilingState[QUEUE_SIZE]--;
3979
+
3980
+ if (eventLog !== null) {
3981
+ logEvent([TaskErrorEvent, ms * 1000, task.id]);
3982
+ }
3983
+ }
3984
+ }
3985
+
3986
+ function markTaskRun(task, ms) {
3987
+ {
3988
+ runIdCounter++;
3989
+ profilingState[PRIORITY] = task.priorityLevel;
3990
+ profilingState[CURRENT_TASK_ID] = task.id;
3991
+ profilingState[CURRENT_RUN_ID] = runIdCounter;
3992
+
3993
+ if (eventLog !== null) {
3994
+ logEvent([TaskRunEvent, ms * 1000, task.id, runIdCounter]);
3995
+ }
3996
+ }
3997
+ }
3998
+
3999
+ function markTaskYield(task, ms) {
4000
+ {
4001
+ profilingState[PRIORITY] = NoPriority;
4002
+ profilingState[CURRENT_TASK_ID] = 0;
4003
+ profilingState[CURRENT_RUN_ID] = 0;
4004
+
4005
+ if (eventLog !== null) {
4006
+ logEvent([TaskYieldEvent, ms * 1000, task.id, runIdCounter]);
4007
+ }
4008
+ }
4009
+ }
4010
+
4011
+ function markSchedulerSuspended(ms) {
4012
+ {
4013
+ mainThreadIdCounter++;
4014
+
4015
+ if (eventLog !== null) {
4016
+ logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
4017
+ }
4018
+ }
4019
+ }
4020
+
4021
+ function markSchedulerUnsuspended(ms) {
4022
+ {
4023
+ if (eventLog !== null) {
4024
+ logEvent([SchedulerResumeEvent, ms * 1000, mainThreadIdCounter]);
4025
+ }
4026
+ }
4027
+ }
3872
4028
 
3873
4029
  var maxSigned31BitInt = 1073741823;
3874
4030
  var IMMEDIATE_PRIORITY_TIMEOUT = -1;
@@ -3895,6 +4051,10 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
3895
4051
  pop(timerQueue);
3896
4052
  timer.sortIndex = timer.expirationTime;
3897
4053
  push(taskQueue, timer);
4054
+ {
4055
+ markTaskStart(timer, currentTime);
4056
+ timer.isQueued = true;
4057
+ }
3898
4058
  } else {
3899
4059
  return;
3900
4060
  }
@@ -3923,6 +4083,9 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
3923
4083
  }
3924
4084
 
3925
4085
  function flushWork(hasTimeRemaining, initialTime) {
4086
+ {
4087
+ markSchedulerUnsuspended(initialTime);
4088
+ }
3926
4089
  isHostCallbackScheduled = false;
3927
4090
 
3928
4091
  if (isHostTimeoutScheduled) {
@@ -3953,6 +4116,11 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
3953
4116
  currentTask = null;
3954
4117
  currentPriorityLevel = previousPriorityLevel;
3955
4118
  isPerformingWork = false;
4119
+ {
4120
+ var _currentTime = exports.unstable_now();
4121
+
4122
+ markSchedulerSuspended(_currentTime);
4123
+ }
3956
4124
  }
3957
4125
  }
3958
4126
 
@@ -3972,12 +4140,19 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
3972
4140
  currentTask.callback = null;
3973
4141
  currentPriorityLevel = currentTask.priorityLevel;
3974
4142
  var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
4143
+ markTaskRun(currentTask, currentTime);
3975
4144
  var continuationCallback = callback(didUserCallbackTimeout);
3976
4145
  currentTime = exports.unstable_now();
3977
4146
 
3978
4147
  if (typeof continuationCallback === 'function') {
3979
4148
  currentTask.callback = continuationCallback;
4149
+ markTaskYield(currentTask, currentTime);
3980
4150
  } else {
4151
+ {
4152
+ markTaskCompleted(currentTask, currentTime);
4153
+ currentTask.isQueued = false;
4154
+ }
4155
+
3981
4156
  if (currentTask === peek(taskQueue)) {
3982
4157
  pop(taskQueue);
3983
4158
  }
@@ -4116,6 +4291,9 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
4116
4291
  expirationTime: expirationTime,
4117
4292
  sortIndex: -1
4118
4293
  };
4294
+ {
4295
+ newTask.isQueued = false;
4296
+ }
4119
4297
 
4120
4298
  if (startTime > currentTime) {
4121
4299
  newTask.sortIndex = startTime;
@@ -4133,6 +4311,10 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
4133
4311
  } else {
4134
4312
  newTask.sortIndex = expirationTime;
4135
4313
  push(taskQueue, newTask);
4314
+ {
4315
+ markTaskStart(newTask, currentTime);
4316
+ newTask.isQueued = true;
4317
+ }
4136
4318
 
4137
4319
  if (!isHostCallbackScheduled && !isPerformingWork) {
4138
4320
  isHostCallbackScheduled = true;
@@ -4159,6 +4341,13 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
4159
4341
  }
4160
4342
 
4161
4343
  function unstable_cancelCallback(task) {
4344
+ {
4345
+ if (task.isQueued) {
4346
+ var currentTime = exports.unstable_now();
4347
+ markTaskCanceled(task, currentTime);
4348
+ task.isQueued = false;
4349
+ }
4350
+ }
4162
4351
  task.callback = null;
4163
4352
  }
4164
4353
 
@@ -4167,7 +4356,11 @@ var scheduler_development = createCommonjsModule(function (module, exports) {
4167
4356
  }
4168
4357
 
4169
4358
  var unstable_requestPaint = requestPaint;
4170
- var unstable_Profiling = null;
4359
+ var unstable_Profiling = {
4360
+ startLoggingProfilingEvents: startLoggingProfilingEvents,
4361
+ stopLoggingProfilingEvents: stopLoggingProfilingEvents,
4362
+ sharedProfilingBuffer: sharedProfilingBuffer
4363
+ };
4171
4364
  exports.unstable_IdlePriority = IdlePriority;
4172
4365
  exports.unstable_ImmediatePriority = ImmediatePriority;
4173
4366
  exports.unstable_LowPriority = LowPriority;
@@ -11772,7 +11965,7 @@ var vk = {
11772
11965
  wk = {
11773
11966
  findFiberByHostInstance: wc,
11774
11967
  bundleType: 0,
11775
- version: "17.0.2",
11968
+ version: "17.0.1",
11776
11969
  rendererPackageName: "react-dom"
11777
11970
  };
11778
11971
  var xk = {
@@ -11870,7 +12063,7 @@ var unstable_renderSubtreeIntoContainer = function unstable_renderSubtreeIntoCon
11870
12063
  return tk(a, b, c, !1, d);
11871
12064
  };
11872
12065
 
11873
- var version = "17.0.2";
12066
+ var version = "17.0.1";
11874
12067
  var reactDom_production_min = {
11875
12068
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
11876
12069
  createPortal: createPortal,
@@ -21337,7 +21530,7 @@ var reactDom_development = createCommonjsModule(function (module, exports) {
21337
21530
  }
21338
21531
  }
21339
21532
 
21340
- var ReactVersion = '17.0.2';
21533
+ var ReactVersion = '17.0.1';
21341
21534
  var NoMode = 0;
21342
21535
  var StrictMode = 1;
21343
21536
  var BlockingMode = 2;
@@ -28394,14 +28587,14 @@ var reactDom_development = createCommonjsModule(function (module, exports) {
28394
28587
  cutOffTailIfNeeded(renderState, true);
28395
28588
 
28396
28589
  if (renderState.tail === null && renderState.tailMode === 'hidden' && !renderedTail.alternate && !getIsHydrating()) {
28397
- var lastEffect = workInProgress.lastEffect = renderState.lastEffect;
28590
+ var lastEffect = workInProgress.lastEffect = renderState.lastEffect;
28398
28591
 
28399
- if (lastEffect !== null) {
28400
- lastEffect.nextEffect = null;
28401
- }
28592
+ if (lastEffect !== null) {
28593
+ lastEffect.nextEffect = null;
28594
+ }
28402
28595
 
28403
- return null;
28404
- }
28596
+ return null;
28597
+ }
28405
28598
  } else if (now() * 2 - renderState.renderingStartTime > getRenderTargetTime() && renderLanes !== OffscreenLane) {
28406
28599
  workInProgress.flags |= DidCapture;
28407
28600
  didSuspendAlready = true;
@@ -36250,9 +36443,7 @@ var useSessionStorage = function useSessionStorage(key, initialValue) {
36250
36443
  var valueToStore = value instanceof Function ? value(storedValue) : value;
36251
36444
  setStoredValue(valueToStore);
36252
36445
  Digit.SessionStorage.set(key, valueToStore);
36253
- } catch (err) {
36254
- console.log(err);
36255
- }
36446
+ } catch (err) {}
36256
36447
  };
36257
36448
 
36258
36449
  var clearValue = function clearValue() {
@@ -36295,14 +36486,11 @@ var useOnClickOutside = function useOnClickOutside(ref, handler, isActive) {
36295
36486
  };
36296
36487
  };
36297
36488
 
36298
- var _excluded = ["businessService"],
36299
- _excluded2 = ["tenantId", "businessService"],
36300
- _excluded3 = ["tenantId", "businessService"];
36301
36489
  var useFetchCitizenBillsForBuissnessService = function useFetchCitizenBillsForBuissnessService(_ref, config) {
36302
36490
  var _Digit$UserService$ge;
36303
36491
 
36304
36492
  var businessService = _ref.businessService,
36305
- filters = _objectWithoutPropertiesLoose(_ref, _excluded);
36493
+ filters = _objectWithoutPropertiesLoose(_ref, ["businessService"]);
36306
36494
 
36307
36495
  if (config === void 0) {
36308
36496
  config = {};
@@ -36349,7 +36537,7 @@ var useFetchBillsForBuissnessService = function useFetchBillsForBuissnessService
36349
36537
 
36350
36538
  var tenantId = _ref3.tenantId,
36351
36539
  businessService = _ref3.businessService,
36352
- filters = _objectWithoutPropertiesLoose(_ref3, _excluded2);
36540
+ filters = _objectWithoutPropertiesLoose(_ref3, ["tenantId", "businessService"]);
36353
36541
 
36354
36542
  if (config === void 0) {
36355
36543
  config = {};
@@ -36368,7 +36556,6 @@ var useFetchBillsForBuissnessService = function useFetchBillsForBuissnessService
36368
36556
  return Digit.PaymentService.fetchBill(_tenantId, params);
36369
36557
  }, _extends({
36370
36558
  retry: function retry(count, err) {
36371
- console.log(err, "inside the payment hook");
36372
36559
  return false;
36373
36560
  }
36374
36561
  }, config)),
@@ -36480,7 +36667,7 @@ var useDemandSearch = function useDemandSearch(_ref6, config) {
36480
36667
  var useRecieptSearch = function useRecieptSearch(_ref7, config) {
36481
36668
  var tenantId = _ref7.tenantId,
36482
36669
  businessService = _ref7.businessService,
36483
- params = _objectWithoutPropertiesLoose(_ref7, _excluded3);
36670
+ params = _objectWithoutPropertiesLoose(_ref7, ["tenantId", "businessService"]);
36484
36671
 
36485
36672
  if (config === void 0) {
36486
36673
  config = {};
@@ -36953,9 +37140,6 @@ var getSearchFields = function getSearchFields(isInbox) {
36953
37140
  return isInbox ? inboxSearchFields : searchFieldsForSearch;
36954
37141
  };
36955
37142
 
36956
- var _excluded$1 = ["totalCount"],
36957
- _excluded2$1 = ["totalCount"];
36958
-
36959
37143
  var inboxConfig = function inboxConfig(tenantId, filters) {
36960
37144
  return {
36961
37145
  PT: {
@@ -36996,7 +37180,7 @@ var inboxConfig = function inboxConfig(tenantId, filters) {
36996
37180
 
36997
37181
  var defaultCombineResponse = function defaultCombineResponse(_ref, wf) {
36998
37182
  var totalCount = _ref.totalCount,
36999
- d = _objectWithoutPropertiesLoose(_ref, _excluded$1);
37183
+ d = _objectWithoutPropertiesLoose(_ref, ["totalCount"]);
37000
37184
 
37001
37185
  return {
37002
37186
  totalCount: totalCount,
@@ -37009,7 +37193,7 @@ var defaultRawSearchHandler = function defaultRawSearchHandler(_ref2, searchKey,
37009
37193
  var _ref3;
37010
37194
 
37011
37195
  var totalCount = _ref2.totalCount,
37012
- data = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
37196
+ data = _objectWithoutPropertiesLoose(_ref2, ["totalCount"]);
37013
37197
 
37014
37198
  return _ref3 = {}, _ref3[searchKey] = data[searchKey].map(function (e) {
37015
37199
  return _extends({
@@ -37019,12 +37203,11 @@ var defaultRawSearchHandler = function defaultRawSearchHandler(_ref2, searchKey,
37019
37203
  };
37020
37204
 
37021
37205
  var defaultCatchSearch = function defaultCatchSearch(Err) {
37022
- var _Err$response, _Err$response$data, _Err$response$data$Er, _Err$response2;
37206
+ var _Err$response, _Err$response$data, _Err$response$data$Er;
37023
37207
 
37024
37208
  if (Err !== null && Err !== void 0 && (_Err$response = Err.response) !== null && _Err$response !== void 0 && (_Err$response$data = _Err$response.data) !== null && _Err$response$data !== void 0 && (_Err$response$data$Er = _Err$response$data.Errors) !== null && _Err$response$data$Er !== void 0 && _Err$response$data$Er.some(function (e) {
37025
37209
  return e.code === "EG_PT_INVALID_SEARCH" && e.message === " Search is not allowed on empty Criteria, Atleast one criteria should be provided with tenantId for EMPLOYEE";
37026
37210
  })) return [];
37027
- console.log(Err === null || Err === void 0 ? void 0 : (_Err$response2 = Err.response) === null || _Err$response2 === void 0 ? void 0 : _Err$response2.data, " this is error");
37028
37211
  throw Err;
37029
37212
  };
37030
37213
 
@@ -37608,7 +37791,6 @@ var fetchComplaintDetails = function fetchComplaintDetails(tenantId, id) {
37608
37791
  }) : null;
37609
37792
  return ids ? Promise.resolve(getThumbnails(ids, service.tenantId)).then(_temp2) : _temp2(null);
37610
37793
  } else {
37611
- console.log("error fetching complaint details or service defs");
37612
37794
  return {};
37613
37795
  }
37614
37796
  });
@@ -38309,6 +38491,9 @@ var useMDMS$1 = function useMDMS(tenantId, moduleCode, type, config, payload) {
38309
38491
 
38310
38492
  case "PostFieldsConfig":
38311
38493
  return usePostFieldsConfig();
38494
+
38495
+ default:
38496
+ return null;
38312
38497
  }
38313
38498
  };
38314
38499
 
@@ -39628,6 +39813,9 @@ var usePTGenderMDMS = function usePTGenderMDMS(tenantId, moduleCode, type, confi
39628
39813
  switch (type) {
39629
39814
  case "GenderType":
39630
39815
  return usePTGenders();
39816
+
39817
+ default:
39818
+ return null;
39631
39819
  }
39632
39820
  };
39633
39821
 
@@ -39740,6 +39928,9 @@ var useMCollectMDMS = function useMCollectMDMS(tenantId, moduleCode, type, filte
39740
39928
 
39741
39929
  case "applicationStatus":
39742
39930
  return useMCollectApplcationStatus();
39931
+
39932
+ default:
39933
+ return null;
39743
39934
  }
39744
39935
  };
39745
39936
 
@@ -40483,6 +40674,9 @@ var useTLGenderMDMS = function useTLGenderMDMS(tenantId, moduleCode, type, confi
40483
40674
  switch (type) {
40484
40675
  case "GenderType":
40485
40676
  return useTLGenders();
40677
+
40678
+ default:
40679
+ return null;
40486
40680
  }
40487
40681
  };
40488
40682
 
@@ -40790,7 +40984,6 @@ var ReceiptsService = {
40790
40984
  }
40791
40985
  };
40792
40986
 
40793
- var _excluded$2 = ["isLoading", "error", "data"];
40794
40987
  var useReceiptsSearch = function useReceiptsSearch(searchparams, tenantId, filters, isupdated, config) {
40795
40988
  if (config === void 0) {
40796
40989
  config = {};
@@ -40805,7 +40998,7 @@ var useReceiptsSearch = function useReceiptsSearch(searchparams, tenantId, filte
40805
40998
  isLoading = _useQuery.isLoading,
40806
40999
  error = _useQuery.error,
40807
41000
  data = _useQuery.data,
40808
- rest = _objectWithoutPropertiesLoose(_useQuery, _excluded$2);
41001
+ rest = _objectWithoutPropertiesLoose(_useQuery, ["isLoading", "error", "data"]);
40809
41002
 
40810
41003
  return _extends({
40811
41004
  isLoading: isLoading,
@@ -40976,6 +41169,9 @@ var useReceiptsMDMS = function useReceiptsMDMS(tenantId, type, config) {
40976
41169
 
40977
41170
  case "CancelReceiptReasonAndStatus":
40978
41171
  return useCancelReceiptReasonAndStatus();
41172
+
41173
+ default:
41174
+ return null;
40979
41175
  }
40980
41176
  };
40981
41177
 
@@ -41135,7 +41331,6 @@ var mobileCheck = function mobileCheck() {
41135
41331
  if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4))) check = true;
41136
41332
  })(navigator.userAgent || navigator.vendor || window.opera);
41137
41333
 
41138
- console.log("check", check);
41139
41334
  return check;
41140
41335
  };
41141
41336