gotrip-fx-transaction-form 1.0.34 → 1.0.35

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.
package/index.js CHANGED
@@ -26555,7 +26555,7 @@ const ew = (e) => {
26555
26555
  ) })
26556
26556
  ] }) })
26557
26557
  ] }) });
26558
- }, vt = {
26558
+ }, yt = {
26559
26559
  API_URL: void 0,
26560
26560
  BUILD_FOR: "GUEST",
26561
26561
  BOOKER_URL: "https://booker.247gotrip.com",
@@ -28390,7 +28390,7 @@ const hA = () => nm({
28390
28390
  md: !1
28391
28391
  });
28392
28392
  var yu = /* @__PURE__ */ ((e) => (e.SINGULAR = "SINGULAR", e.GROUP = "GROUP", e.EDUCATION = "EDUCATION", e.MEDICAL = "MEDICAL", e.INHERITANCE = "INHERITANCE", e.SUBSIDY = "SUBSIDY", e.IMMIGRATION = "IMMIGRATION", e.BUSINESS = "BUSINESS", e))(yu || {});
28393
- vt.BUILD_FOR, od.GUEST;
28393
+ yt.BUILD_FOR, od.GUEST;
28394
28394
  const lw = [
28395
28395
  {
28396
28396
  name: "Mua ngoại tệ",
@@ -32990,66 +32990,67 @@ const {
32990
32990
  mergeConfig: C1e
32991
32991
  } = $r, pi = {
32992
32992
  auth: {
32993
- login: `${vt.API_URL}/auth/login`,
32994
- register: `${vt.API_URL}/auth/register`,
32995
- registerSupervisor: `${vt.API_URL}/auth/register-supervisor`,
32996
- forgotPassword: `${vt.API_URL}/auth/forgot-password`,
32997
- resetPassword: `${vt.API_URL}/auth/reset-password`,
32998
- verifyResetToken: `${vt.API_URL}/auth/reset-password`
32993
+ login: `${yt.API_URL}/auth/login`,
32994
+ register: `${yt.API_URL}/auth/register`,
32995
+ registerSupervisor: `${yt.API_URL}/auth/register-supervisor`,
32996
+ forgotPassword: `${yt.API_URL}/auth/forgot-password`,
32997
+ resetPassword: `${yt.API_URL}/auth/reset-password`,
32998
+ verifyResetToken: `${yt.API_URL}/auth/reset-password`
32999
32999
  },
33000
33000
  transactionHandlers: {
33001
- list: `${vt.API_URL}/transaction-handlers/list`,
33002
- create: `${vt.API_URL}/transaction-handlers/create`,
33003
- createMany: `${vt.API_URL}/transaction-handlers/create-many`,
33004
- confirm: `${vt.API_URL}/transaction-handlers/confirm`,
33005
- sendBankTransaction: `${vt.API_URL}/transaction-handlers/send-bank-transaction`,
33006
- checkTicketStatus: `${vt.API_URL}/transaction-handlers/check-ticket-status`,
33007
- getByBankTransactionId: (e) => `${vt.API_URL}/transaction-handlers/${e}`,
33008
- guestCreateEducationTransaction: `${vt.API_URL}/transaction-handlers/guest-education`,
33009
- updateGroupTransactionStatus: `${vt.API_URL}/transaction-handlers/update-group-transaction`,
33010
- checkInfoSuccess: `${vt.API_URL}/transaction-handlers/check-info-success`,
33011
- cancelTransaction: `${vt.API_URL}/transaction-handlers/cancel`,
33012
- updateCustomerInfo: `${vt.API_URL}/transaction-handlers/update-customer-info`,
33013
- updateTicketInfo: `${vt.API_URL}/transaction-handlers/update-ticket-info`
33001
+ list: `${yt.API_URL}/transaction-handlers/list`,
33002
+ create: `${yt.API_URL}/transaction-handlers/create`,
33003
+ createMany: `${yt.API_URL}/transaction-handlers/create-many`,
33004
+ confirm: `${yt.API_URL}/transaction-handlers/confirm`,
33005
+ sendBankTransaction: `${yt.API_URL}/transaction-handlers/send-bank-transaction`,
33006
+ checkTicketStatus: `${yt.API_URL}/transaction-handlers/check-ticket-status`,
33007
+ getByBankTransactionId: (e) => `${yt.API_URL}/transaction-handlers/${e}`,
33008
+ guestCreateEducationTransaction: `${yt.API_URL}/transaction-handlers/guest-education`,
33009
+ updateGroupTransactionStatus: `${yt.API_URL}/transaction-handlers/update-group-transaction`,
33010
+ checkInfoSuccess: `${yt.API_URL}/transaction-handlers/check-info-success`,
33011
+ cancelTransaction: `${yt.API_URL}/transaction-handlers/cancel`,
33012
+ updateCustomerInfo: `${yt.API_URL}/transaction-handlers/update-customer-info`,
33013
+ updateTicketInfo: `${yt.API_URL}/transaction-handlers/update-ticket-info`
33014
33014
  },
33015
33015
  currency: {
33016
- list: `${vt.API_URL}/currency-handlers`
33016
+ list: `${yt.API_URL}/currency-handlers`
33017
33017
  },
33018
33018
  bank: {
33019
- list: `${vt.API_URL}/bank-handlers`
33019
+ list: `${yt.API_URL}/bank-handlers`
33020
33020
  },
33021
33021
  travelport: {
33022
- getFlightInfo: `${vt.API_URL}/travel-port/flight-info`
33022
+ getFlightInfo: `${yt.API_URL}/travel-port/flight-info`
33023
33023
  },
33024
33024
  upload: {
33025
- signedUrl: `${vt.API_URL}/upload/signed-url`
33025
+ signedUrl: `${yt.API_URL}/upload/signed-url`
33026
33026
  },
33027
33027
  image: {
33028
- extractFlightTicket: `${vt.API_URL}/image-handlers/extract-flight-ticket`
33028
+ extractFlightTicket: `${yt.API_URL}/image-handlers/extract-flight-ticket`
33029
33029
  },
33030
33030
  bid: {
33031
- list: `${vt.API_URL}/bid-handlers/bids`
33031
+ list: `${yt.API_URL}/bid-handlers/bids`
33032
33032
  },
33033
33033
  userHandlers: {
33034
- userProfile: `${vt.API_URL}/user-handlers/user-profile`,
33035
- changePassword: `${vt.API_URL}/user-handlers/change-password`,
33036
- list: `${vt.API_URL}/user-handlers/list`,
33037
- approveUser: `${vt.API_URL}/user-handlers/approve`,
33038
- bookerList: `${vt.API_URL}/user-handlers/booker/list`,
33039
- createBooker: `${vt.API_URL}/user-handlers/booker/create`,
33040
- createManyBooker: `${vt.API_URL}/user-handlers/booker/create-many`,
33041
- getBooker: `${vt.API_URL}/user-handlers/booker`,
33042
- updateBooker: `${vt.API_URL}/user-handlers/booker`,
33043
- getCommissionRate: `${vt.API_URL}/user-handlers/commission-rate`,
33044
- updateCommissionRate: `${vt.API_URL}/user-handlers/commission-rate`,
33045
- getBookersOfSupervisor: `${vt.API_URL}/user-handlers/supervisor/booker-list`
33034
+ userProfile: `${yt.API_URL}/user-handlers/user-profile`,
33035
+ changePassword: `${yt.API_URL}/user-handlers/change-password`,
33036
+ list: `${yt.API_URL}/user-handlers/list`,
33037
+ approveUser: `${yt.API_URL}/user-handlers/approve`,
33038
+ bookerList: `${yt.API_URL}/user-handlers/booker/list`,
33039
+ createBooker: `${yt.API_URL}/user-handlers/booker/create`,
33040
+ createManyBooker: `${yt.API_URL}/user-handlers/booker/create-many`,
33041
+ getBooker: `${yt.API_URL}/user-handlers/booker`,
33042
+ updateBooker: `${yt.API_URL}/user-handlers/booker`,
33043
+ getCommissionRate: `${yt.API_URL}/user-handlers/commission-rate`,
33044
+ updateCommissionRate: `${yt.API_URL}/user-handlers/commission-rate`,
33045
+ getBookersOfSupervisor: `${yt.API_URL}/user-handlers/supervisor/booker-list`,
33046
+ impersonateToken: `${yt.API_URL}/user-handlers/impersonate-token`
33046
33047
  },
33047
33048
  dashboardHandlers: {
33048
- getTotalCommissionAmount: `${vt.API_URL}/dashboard-handlers/get-total-commission-amount`,
33049
- getTotalTransaction: `${vt.API_URL}/dashboard-handlers/get-total-transaction`,
33050
- getTransactionCountGroupByType: `${vt.API_URL}/dashboard-handlers/get-transaction-count-by-type`,
33051
- getTransactionCountByStatus: `${vt.API_URL}/dashboard-handlers/get-transaction-count-by-status`,
33052
- getTransactionCountByDate: `${vt.API_URL}/dashboard-handlers/get-transaction-count-by-date`
33049
+ getTotalCommissionAmount: `${yt.API_URL}/dashboard-handlers/get-total-commission-amount`,
33050
+ getTotalTransaction: `${yt.API_URL}/dashboard-handlers/get-total-transaction`,
33051
+ getTransactionCountGroupByType: `${yt.API_URL}/dashboard-handlers/get-transaction-count-by-type`,
33052
+ getTransactionCountByStatus: `${yt.API_URL}/dashboard-handlers/get-transaction-count-by-status`,
33053
+ getTransactionCountByDate: `${yt.API_URL}/dashboard-handlers/get-transaction-count-by-date`
33053
33054
  }
33054
33055
  };
33055
33056
  //! moment.js
@@ -39263,7 +39264,7 @@ const Wde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
39263
39264
  }
39264
39265
  );
39265
39266
  let jm = [];
39266
- vt.BUILD_FOR === od.AGENCY && (jm = [
39267
+ yt.BUILD_FOR === od.AGENCY && (jm = [
39267
39268
  {
39268
39269
  label: "Mua ngoại tệ",
39269
39270
  icon: cp,
@@ -39295,12 +39296,12 @@ vt.BUILD_FOR === od.AGENCY && (jm = [
39295
39296
  forRoles: [Ea.BOOKER, Ea.SUPERVISOR]
39296
39297
  }
39297
39298
  ]);
39298
- vt.BUILD_FOR === od.PARTNER && (jm = [
39299
+ yt.BUILD_FOR === od.PARTNER && (jm = [
39299
39300
  { label: "Danh sách yêu cầu", icon: cp, path: "/" },
39300
39301
  { label: "Quản lý nhân viên", icon: fm, path: "/members" },
39301
39302
  { label: "Chính sách hoa hồng", icon: aq, path: "/commission-policies" }
39302
39303
  ]);
39303
- vt.BUILD_FOR === od.ADMIN && (jm = [
39304
+ yt.BUILD_FOR === od.ADMIN && (jm = [
39304
39305
  { label: "Người dùng", icon: fm, path: "/" },
39305
39306
  { label: "Lịch sử giao dịch", icon: cp, path: "/transaction-list" }
39306
39307
  ]);
@@ -39381,12 +39382,12 @@ const jde = () => {
39381
39382
  /* @__PURE__ */ S.jsx(Kde, {}),
39382
39383
  /* @__PURE__ */ S.jsx(Ue, { minH: 0, flex: 1, overflowY: "auto", w: "100%", p: 2, children: e })
39383
39384
  ] }) : /* @__PURE__ */ S.jsx(S.Fragment, { children: e }), la = $r.create({
39384
- baseURL: vt.API_URL
39385
+ baseURL: yt.API_URL
39385
39386
  }), PD = $r.create({
39386
- baseURL: vt.API_URL
39387
+ baseURL: yt.API_URL
39387
39388
  });
39388
39389
  la.interceptors.request.use((e) => {
39389
- if (vt.BUILD_FOR === od.GUEST)
39390
+ if (yt.BUILD_FOR === od.GUEST)
39390
39391
  return e;
39391
39392
  const t = El.get("token");
39392
39393
  return t && (e.headers.Authorization = `Bearer ${t}`), e;
@@ -56949,23 +56950,23 @@ function yfe() {
56949
56950
  var l = this.__wrapped__.value(), f = this.__dir__, v = Ot(l), C = f < 0, O = v ? l.length : 0, L = $B(0, O, this.__views__), Y = L.start, ee = L.end, ie = ee - Y, we = C ? ee : Y - 1, Re = this.__iteratees__, Pe = Re.length, Ye = 0, it = Vn(ie, this.__takeCount__);
56950
56951
  if (!v || !C && O == ie && it == ie)
56951
56952
  return PE(l, this.__actions__);
56952
- var yt = [];
56953
+ var St = [];
56953
56954
  e:
56954
56955
  for (; ie-- && Ye < it; ) {
56955
56956
  we += f;
56956
- for (var Lt = -1, St = l[we]; ++Lt < Pe; ) {
56957
- var Gt = Re[Lt], Kt = Gt.iteratee, Ma = Gt.type, ra = Kt(St);
56957
+ for (var Lt = -1, vt = l[we]; ++Lt < Pe; ) {
56958
+ var Gt = Re[Lt], Kt = Gt.iteratee, Ma = Gt.type, ra = Kt(vt);
56958
56959
  if (Ma == se)
56959
- St = ra;
56960
+ vt = ra;
56960
56961
  else if (!ra) {
56961
56962
  if (Ma == ge)
56962
56963
  continue e;
56963
56964
  break e;
56964
56965
  }
56965
56966
  }
56966
- yt[Ye++] = St;
56967
+ St[Ye++] = vt;
56967
56968
  }
56968
- return yt;
56969
+ return St;
56969
56970
  }
56970
56971
  Wt.prototype = ql(n0.prototype), Wt.prototype.constructor = Wt;
56971
56972
  function Vc(l) {
@@ -57184,14 +57185,14 @@ function yfe() {
57184
57185
  var it = L.get(l);
57185
57186
  if (it)
57186
57187
  return it;
57187
- L.set(l, Y), RC(l) ? l.forEach(function(St) {
57188
- Y.add(ri(St, f, v, St, l, L));
57189
- }) : IC(l) && l.forEach(function(St, Gt) {
57190
- Y.set(Gt, ri(St, f, v, Gt, l, L));
57188
+ L.set(l, Y), RC(l) ? l.forEach(function(vt) {
57189
+ Y.add(ri(vt, f, v, vt, l, L));
57190
+ }) : IC(l) && l.forEach(function(vt, Gt) {
57191
+ Y.set(Gt, ri(vt, f, v, Gt, l, L));
57191
57192
  });
57192
- var yt = we ? ie ? jy : Wy : ie ? ma : An, Lt = Re ? r : yt(l);
57193
- return Qa(Lt || l, function(St, Gt) {
57194
- Lt && (Gt = St, St = l[Gt]), wd(Y, Gt, ri(St, f, v, Gt, l, L));
57193
+ var St = we ? ie ? jy : Wy : ie ? ma : An, Lt = Re ? r : St(l);
57194
+ return Qa(Lt || l, function(vt, Gt) {
57195
+ Lt && (Gt = vt, vt = l[Gt]), wd(Y, Gt, ri(vt, f, v, Gt, l, L));
57195
57196
  }), Y;
57196
57197
  }
57197
57198
  function cB(l) {
@@ -57316,14 +57317,14 @@ function yfe() {
57316
57317
  var Pe = -1, Ye = ee[0];
57317
57318
  e:
57318
57319
  for (; ++Pe < O && we.length < ie; ) {
57319
- var it = Re[Pe], yt = f ? f(it) : it;
57320
- if (it = v || it !== 0 ? it : 0, !(Ye ? Ad(Ye, yt) : C(we, yt, v))) {
57320
+ var it = Re[Pe], St = f ? f(it) : it;
57321
+ if (it = v || it !== 0 ? it : 0, !(Ye ? Ad(Ye, St) : C(we, St, v))) {
57321
57322
  for (Y = L; --Y; ) {
57322
57323
  var Lt = ee[Y];
57323
- if (!(Lt ? Ad(Lt, yt) : C(l[Y], yt, v)))
57324
+ if (!(Lt ? Ad(Lt, St) : C(l[Y], St, v)))
57324
57325
  continue e;
57325
57326
  }
57326
- Ye && Ye.push(yt), we.push(it);
57327
+ Ye && Ye.push(St), we.push(it);
57327
57328
  }
57328
57329
  }
57329
57330
  return we;
@@ -57362,10 +57363,10 @@ function yfe() {
57362
57363
  if (Ye && !Re)
57363
57364
  return L || (L = new wi()), Y || ru(l) ? XE(l, f, v, C, O, L) : jB(l, f, ie, v, C, O, L);
57364
57365
  if (!(v & p)) {
57365
- var it = Re && fr.call(l, "__wrapped__"), yt = Pe && fr.call(f, "__wrapped__");
57366
- if (it || yt) {
57367
- var Lt = it ? l.value() : l, St = yt ? f.value() : f;
57368
- return L || (L = new wi()), O(Lt, St, v, C, L);
57366
+ var it = Re && fr.call(l, "__wrapped__"), St = Pe && fr.call(f, "__wrapped__");
57367
+ if (it || St) {
57368
+ var Lt = it ? l.value() : l, vt = St ? f.value() : f;
57369
+ return L || (L = new wi()), O(Lt, vt, v, C, L);
57369
57370
  }
57370
57371
  }
57371
57372
  return Ye ? (L || (L = new wi()), zB(l, f, v, C, O, L)) : !1;
@@ -57471,8 +57472,8 @@ function yfe() {
57471
57472
  }
57472
57473
  var Re = L ? L(ee, ie, v + "", l, f, Y) : r, Pe = Re === r;
57473
57474
  if (Pe) {
57474
- var Ye = Ot(ie), it = !Ye && Qs(ie), yt = !Ye && !it && ru(ie);
57475
- Re = ie, Ye || it || yt ? Ot(ee) ? Re = ee : Jr(ee) ? Re = ga(ee) : it ? (Pe = !1, Re = FE(ie, !0)) : yt ? (Pe = !1, Re = ME(ie, !0)) : Re = [] : Md(ie) || Kc(ie) ? (Re = ee, Kc(ee) ? Re = PC(ee) : (!Dr(ee) || Yo(ee)) && (Re = QE(ie))) : Pe = !1;
57475
+ var Ye = Ot(ie), it = !Ye && Qs(ie), St = !Ye && !it && ru(ie);
57476
+ Re = ie, Ye || it || St ? Ot(ee) ? Re = ee : Jr(ee) ? Re = ga(ee) : it ? (Pe = !1, Re = FE(ie, !0)) : St ? (Pe = !1, Re = ME(ie, !0)) : Re = [] : Md(ie) || Kc(ie) ? (Re = ee, Kc(ee) ? Re = PC(ee) : (!Dr(ee) || Yo(ee)) && (Re = QE(ie))) : Pe = !1;
57476
57477
  }
57477
57478
  Pe && (Y.set(ie, Re), O(Re, ie, C, L, Y), Y.delete(ie)), Ey(l, v, Re);
57478
57479
  }
@@ -57619,11 +57620,11 @@ function yfe() {
57619
57620
  return 0;
57620
57621
  f = v(f);
57621
57622
  for (var Y = f !== f, ee = f === null, ie = Fa(f), we = f === r; O < L; ) {
57622
- var Re = e0((O + L) / 2), Pe = v(l[Re]), Ye = Pe !== r, it = Pe === null, yt = Pe === Pe, Lt = Fa(Pe);
57623
+ var Re = e0((O + L) / 2), Pe = v(l[Re]), Ye = Pe !== r, it = Pe === null, St = Pe === Pe, Lt = Fa(Pe);
57623
57624
  if (Y)
57624
- var St = C || yt;
57625
- else we ? St = yt && (C || Ye) : ee ? St = yt && Ye && (C || !it) : ie ? St = yt && Ye && !it && (C || !Lt) : it || Lt ? St = !1 : St = C ? Pe <= f : Pe < f;
57626
- St ? O = Re + 1 : L = Re;
57625
+ var vt = C || St;
57626
+ else we ? vt = St && (C || Ye) : ee ? vt = St && Ye && (C || !it) : ie ? vt = St && Ye && !it && (C || !Lt) : it || Lt ? vt = !1 : vt = C ? Pe <= f : Pe < f;
57627
+ vt ? O = Re + 1 : L = Re;
57627
57628
  }
57628
57629
  return Vn(L, F);
57629
57630
  }
@@ -57954,19 +57955,19 @@ function yfe() {
57954
57955
  });
57955
57956
  }
57956
57957
  function d0(l, f, v, C, O, L, Y, ee, ie, we) {
57957
- var Re = f & I, Pe = f & x, Ye = f & A, it = f & (b | w), yt = f & P, Lt = Ye ? r : _d(l);
57958
- function St() {
57958
+ var Re = f & I, Pe = f & x, Ye = f & A, it = f & (b | w), St = f & P, Lt = Ye ? r : _d(l);
57959
+ function vt() {
57959
57960
  for (var Gt = arguments.length, Kt = xe(Gt), Ma = Gt; Ma--; )
57960
57961
  Kt[Ma] = arguments[Ma];
57961
57962
  if (it)
57962
- var ra = tu(St), La = qU(Kt, ra);
57963
+ var ra = tu(vt), La = qU(Kt, ra);
57963
57964
  if (C && (Kt = DE(Kt, C, O, it)), L && (Kt = UE(Kt, L, Y, it)), Gt -= La, it && Gt < we) {
57964
57965
  var Xr = $s(Kt, ra);
57965
57966
  return KE(
57966
57967
  l,
57967
57968
  f,
57968
57969
  d0,
57969
- St.placeholder,
57970
+ vt.placeholder,
57970
57971
  v,
57971
57972
  Kt,
57972
57973
  Xr,
@@ -57976,9 +57977,9 @@ function yfe() {
57976
57977
  );
57977
57978
  }
57978
57979
  var ki = Pe ? v : this, Xo = Ye ? ki[l] : l;
57979
- return Gt = Kt.length, ee ? Kt = o5(Kt, ee) : yt && Gt > 1 && Kt.reverse(), Re && ie < Gt && (Kt.length = ie), this && this !== Rn && this instanceof St && (Xo = Lt || _d(Xo)), Xo.apply(ki, Kt);
57980
+ return Gt = Kt.length, ee ? Kt = o5(Kt, ee) : St && Gt > 1 && Kt.reverse(), Re && ie < Gt && (Kt.length = ie), this && this !== Rn && this instanceof vt && (Xo = Lt || _d(Xo)), Xo.apply(ki, Kt);
57980
57981
  }
57981
- return St;
57982
+ return vt;
57982
57983
  }
57983
57984
  function jE(l, f) {
57984
57985
  return function(v, C) {
@@ -58038,7 +58039,7 @@ function yfe() {
58038
58039
  };
58039
58040
  }
58040
58041
  function KE(l, f, v, C, O, L, Y, ee, ie, we) {
58041
- var Re = f & b, Pe = Re ? Y : r, Ye = Re ? r : Y, it = Re ? L : r, yt = Re ? r : L;
58042
+ var Re = f & b, Pe = Re ? Y : r, Ye = Re ? r : Y, it = Re ? L : r, St = Re ? r : L;
58042
58043
  f |= Re ? T : R, f &= ~(Re ? R : T), f & E || (f &= -4);
58043
58044
  var Lt = [
58044
58045
  l,
@@ -58046,13 +58047,13 @@ function yfe() {
58046
58047
  O,
58047
58048
  it,
58048
58049
  Pe,
58049
- yt,
58050
+ St,
58050
58051
  Ye,
58051
58052
  ee,
58052
58053
  ie,
58053
58054
  we
58054
- ], St = v.apply(r, Lt);
58055
- return Jy(l) && aC(St, Lt), St.placeholder = C, iC(St, l, f);
58055
+ ], vt = v.apply(r, Lt);
58056
+ return Jy(l) && aC(vt, Lt), vt.placeholder = C, iC(vt, l, f);
58056
58057
  }
58057
58058
  function Hy(l) {
58058
58059
  var f = fn[l];
@@ -58095,10 +58096,10 @@ function yfe() {
58095
58096
  ee
58096
58097
  ];
58097
58098
  if (Ye && n5(it, Ye), l = it[0], f = it[1], v = it[2], C = it[3], O = it[4], ee = it[9] = it[9] === r ? ie ? 0 : l.length : hn(it[9] - we, 0), !ee && f & (b | w) && (f &= -25), !f || f == x)
58098
- var yt = BB(l, f, v);
58099
- else f == b || f == w ? yt = VB(l, f, ee) : (f == T || f == (x | T)) && !O.length ? yt = GB(l, f, v, C) : yt = d0.apply(r, it);
58099
+ var St = BB(l, f, v);
58100
+ else f == b || f == w ? St = VB(l, f, ee) : (f == T || f == (x | T)) && !O.length ? St = GB(l, f, v, C) : St = d0.apply(r, it);
58100
58101
  var Lt = Ye ? wE : aC;
58101
- return iC(Lt(yt, it), l, f);
58102
+ return iC(Lt(St, it), l, f);
58102
58103
  }
58103
58104
  function YE(l, f, v, C) {
58104
58105
  return l === r || Ri(l, Jl[v]) && !fr.call(C, v) ? f : l;
@@ -58118,24 +58119,24 @@ function yfe() {
58118
58119
  return we == f && Re == l;
58119
58120
  var Pe = -1, Ye = !0, it = v & y ? new Gc() : r;
58120
58121
  for (L.set(l, f), L.set(f, l); ++Pe < ee; ) {
58121
- var yt = l[Pe], Lt = f[Pe];
58122
+ var St = l[Pe], Lt = f[Pe];
58122
58123
  if (C)
58123
- var St = Y ? C(Lt, yt, Pe, f, l, L) : C(yt, Lt, Pe, l, f, L);
58124
- if (St !== r) {
58125
- if (St)
58124
+ var vt = Y ? C(Lt, St, Pe, f, l, L) : C(St, Lt, Pe, l, f, L);
58125
+ if (vt !== r) {
58126
+ if (vt)
58126
58127
  continue;
58127
58128
  Ye = !1;
58128
58129
  break;
58129
58130
  }
58130
58131
  if (it) {
58131
58132
  if (!fy(f, function(Gt, Kt) {
58132
- if (!Ad(it, Kt) && (yt === Gt || O(yt, Gt, v, C, L)))
58133
+ if (!Ad(it, Kt) && (St === Gt || O(St, Gt, v, C, L)))
58133
58134
  return it.push(Kt);
58134
58135
  })) {
58135
58136
  Ye = !1;
58136
58137
  break;
58137
58138
  }
58138
- } else if (!(yt === Lt || O(yt, Lt, v, C, L))) {
58139
+ } else if (!(St === Lt || O(St, Lt, v, C, L))) {
58139
58140
  Ye = !1;
58140
58141
  break;
58141
58142
  }
@@ -58186,12 +58187,12 @@ function yfe() {
58186
58187
  if (!(Y ? Ye in f : fr.call(f, Ye)))
58187
58188
  return !1;
58188
58189
  }
58189
- var it = L.get(l), yt = L.get(f);
58190
- if (it && yt)
58191
- return it == f && yt == l;
58190
+ var it = L.get(l), St = L.get(f);
58191
+ if (it && St)
58192
+ return it == f && St == l;
58192
58193
  var Lt = !0;
58193
58194
  L.set(l, f), L.set(f, l);
58194
- for (var St = Y; ++Pe < ie; ) {
58195
+ for (var vt = Y; ++Pe < ie; ) {
58195
58196
  Ye = ee[Pe];
58196
58197
  var Gt = l[Ye], Kt = f[Ye];
58197
58198
  if (C)
@@ -58200,9 +58201,9 @@ function yfe() {
58200
58201
  Lt = !1;
58201
58202
  break;
58202
58203
  }
58203
- St || (St = Ye == "constructor");
58204
+ vt || (vt = Ye == "constructor");
58204
58205
  }
58205
- if (Lt && !St) {
58206
+ if (Lt && !vt) {
58206
58207
  var ra = l.constructor, La = f.constructor;
58207
58208
  ra != La && "constructor" in l && "constructor" in f && !(typeof ra == "function" && ra instanceof ra && typeof La == "function" && La instanceof La) && (Lt = !1);
58208
58209
  }
@@ -59019,20 +59020,20 @@ function yfe() {
59019
59020
  var ki = C, Xo = O;
59020
59021
  return C = O = r, we = Xr, Y = l.apply(Xo, ki), Y;
59021
59022
  }
59022
- function yt(Xr) {
59023
+ function St(Xr) {
59023
59024
  return we = Xr, ee = Fd(Gt, f), Re ? it(Xr) : Y;
59024
59025
  }
59025
59026
  function Lt(Xr) {
59026
59027
  var ki = Xr - ie, Xo = Xr - we, HC = f - ki;
59027
59028
  return Pe ? Vn(HC, L - Xo) : HC;
59028
59029
  }
59029
- function St(Xr) {
59030
+ function vt(Xr) {
59030
59031
  var ki = Xr - ie, Xo = Xr - we;
59031
59032
  return ie === r || ki >= f || ki < 0 || Pe && Xo >= L;
59032
59033
  }
59033
59034
  function Gt() {
59034
59035
  var Xr = x0();
59035
- if (St(Xr))
59036
+ if (vt(Xr))
59036
59037
  return Kt(Xr);
59037
59038
  ee = Fd(Gt, Lt(Xr));
59038
59039
  }
@@ -59046,10 +59047,10 @@ function yfe() {
59046
59047
  return ee === r ? Y : Kt(x0());
59047
59048
  }
59048
59049
  function La() {
59049
- var Xr = x0(), ki = St(Xr);
59050
+ var Xr = x0(), ki = vt(Xr);
59050
59051
  if (C = arguments, O = this, ie = Xr, ki) {
59051
59052
  if (ee === r)
59052
- return yt(ie);
59053
+ return St(ie);
59053
59054
  if (Pe)
59054
59055
  return NE(ee), ee = Fd(Gt, f), it(ie);
59055
59056
  }
@@ -59599,26 +59600,26 @@ function yfe() {
59599
59600
  "g"
59600
59601
  ), it = "//# sourceURL=" + (fr.call(f, "sourceURL") ? (f.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++MU + "]") + `
59601
59602
  `;
59602
- l.replace(Ye, function(St, Gt, Kt, Ma, ra, La) {
59603
+ l.replace(Ye, function(vt, Gt, Kt, Ma, ra, La) {
59603
59604
  return Kt || (Kt = Ma), Pe += l.slice(we, La).replace(He, t3), Gt && (ee = !0, Pe += `' +
59604
59605
  __e(` + Gt + `) +
59605
59606
  '`), ra && (ie = !0, Pe += `';
59606
59607
  ` + ra + `;
59607
59608
  __p += '`), Kt && (Pe += `' +
59608
59609
  ((__t = (` + Kt + `)) == null ? '' : __t) +
59609
- '`), we = La + St.length, St;
59610
+ '`), we = La + vt.length, vt;
59610
59611
  }), Pe += `';
59611
59612
  `;
59612
- var yt = fr.call(f, "variable") && f.variable;
59613
- if (!yt)
59613
+ var St = fr.call(f, "variable") && f.variable;
59614
+ if (!St)
59614
59615
  Pe = `with (obj) {
59615
59616
  ` + Pe + `
59616
59617
  }
59617
59618
  `;
59618
- else if (V.test(yt))
59619
+ else if (V.test(St))
59619
59620
  throw new It(s);
59620
- Pe = (ie ? Pe.replace(Ci, "") : Pe).replace(Bn, "$1").replace(Vo, "$1;"), Pe = "function(" + (yt || "obj") + `) {
59621
- ` + (yt ? "" : `obj || (obj = {});
59621
+ Pe = (ie ? Pe.replace(Ci, "") : Pe).replace(Bn, "$1").replace(Vo, "$1;"), Pe = "function(" + (St || "obj") + `) {
59622
+ ` + (St ? "" : `obj || (obj = {});
59622
59623
  `) + "var __t, __p = ''" + (ee ? ", __e = _.escape" : "") + (ie ? `, __j = Array.prototype.join;
59623
59624
  function print() { __p += __j.call(arguments, '') }
59624
59625
  ` : `;
@@ -59927,13 +59928,13 @@ function print() { __p += __j.call(arguments, '') }
59927
59928
  return C && Ye ? Kt[0] : Kt;
59928
59929
  };
59929
59930
  Re && v && typeof we == "function" && we.length != 1 && (ie = Re = !1);
59930
- var Ye = this.__chain__, it = !!this.__actions__.length, yt = L && !Ye, Lt = ie && !it;
59931
+ var Ye = this.__chain__, it = !!this.__actions__.length, St = L && !Ye, Lt = ie && !it;
59931
59932
  if (!L && Re) {
59932
59933
  Y = Lt ? Y : new Wt(this);
59933
- var St = l.apply(Y, ee);
59934
- return St.__actions__.push({ func: S0, args: [Pe], thisArg: r }), new ti(St, Ye);
59934
+ var vt = l.apply(Y, ee);
59935
+ return vt.__actions__.push({ func: S0, args: [Pe], thisArg: r }), new ti(vt, Ye);
59935
59936
  }
59936
- return yt && Lt ? l.apply(this, ee) : (St = this.thru(Pe), yt ? C ? St.value()[0] : St.value() : St);
59937
+ return St && Lt ? l.apply(this, ee) : (vt = this.thru(Pe), St ? C ? vt.value()[0] : vt.value() : vt);
59937
59938
  });
59938
59939
  }), Qa(["pop", "push", "shift", "sort", "splice", "unshift"], function(l) {
59939
59940
  var f = jh[l], v = /^(?:push|sort|unshift)$/.test(l) ? "tap" : "thru", C = /^(?:pop|shift)$/.test(l);
@@ -82407,7 +82408,7 @@ const Axe = Us().shape({
82407
82408
  window.parent.postMessage(
82408
82409
  {
82409
82410
  type: "open-transaction-create",
82410
- url: `${vt.BOOKER_URL}/transaction/create`
82411
+ url: `${yt.BOOKER_URL}/transaction/create`
82411
82412
  },
82412
82413
  "*"
82413
82414
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -53,6 +53,7 @@ export declare const ApiUrls: {
53
53
  getCommissionRate: string;
54
54
  updateCommissionRate: string;
55
55
  getBookersOfSupervisor: string;
56
+ impersonateToken: string;
56
57
  };
57
58
  dashboardHandlers: {
58
59
  getTotalCommissionAmount: string;
@@ -9,4 +9,5 @@ export declare const useUserList: () => {
9
9
  approveUser: (user: IUser) => Promise<void>;
10
10
  setPage: import('react').Dispatch<import('react').SetStateAction<number>>;
11
11
  setLimit: (limit: number) => void;
12
+ impersonate: (user: IUser) => Promise<void>;
12
13
  };
@@ -1,2 +1,2 @@
1
- export declare const setAuthCookies: (token: string, user: any, rememberMe: boolean) => void;
1
+ export declare const setAuthCookies: (token: string, user: any, rememberMe: boolean, domain?: string) => void;
2
2
  export declare const removeAuthCookies: () => void;