@invoice-sdk/widget 1.102.3 → 1.103.1

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.
@@ -2649,6 +2649,11 @@ const uE = "data:image/svg+xml,%3csvg%20width='79'%20height='32'%20viewBox='0%20
2649
2649
  fpt: { isActive: !0 },
2650
2650
  misa: { isActive: !0 },
2651
2651
  viettel: { isActive: !0 }
2652
+ },
2653
+ nama: {
2654
+ fpt: { isActive: !0 },
2655
+ misa: { isActive: !0 },
2656
+ viettel: { isActive: !0 }
2652
2657
  }
2653
2658
  }, Ve = {
2654
2659
  pilot: {
@@ -4556,7 +4561,8 @@ function rB(e) {
4556
4561
  ocb: "#008c44",
4557
4562
  bvb: "#1e2a7b",
4558
4563
  shb: "#F58220",
4559
- agr: "#AE1C40"
4564
+ agr: "#AE1C40",
4565
+ nama: "#ffdd00"
4560
4566
  }[e];
4561
4567
  }
4562
4568
  function CB({
@@ -4578,7 +4584,7 @@ function CB({
4578
4584
  let I = C;
4579
4585
  if (!I) {
4580
4586
  const w = document.body.className;
4581
- w.includes("bvb") ? I = "bvb" : w.includes("shb") ? I = "shb" : w.includes("agr") ? I = "agr" : I = "ocb";
4587
+ w.includes("bvb") ? I = "bvb" : w.includes("shb") ? I = "shb" : w.includes("agr") ? I = "agr" : w.includes("nama") ? I = "nama" : I = "ocb";
4582
4588
  }
4583
4589
  const a = rB(I), g = document.createElement("div");
4584
4590
  g.style.cssText = `
@@ -4914,7 +4920,7 @@ let ee = null, te = null;
4914
4920
  function xB(e) {
4915
4921
  return k(this, null, function* () {
4916
4922
  if (e.mode && mt(e.mode), e.baseUrl && ht(e.mode, e.baseUrl), e.language && Tt(e.language), e.onRefreshToken && gB(e.onRefreshToken), e.accessTokenKey && aB(e.accessTokenKey), e.refreshTokenKey && (e.refreshTokenKey, void 0), !te) {
4917
- const { InvoiceRegisterWidget: i } = yield import("./widget-2JiOU7Ki.js");
4923
+ const { InvoiceRegisterWidget: i } = yield import("./widget--oSsI4cW.js");
4918
4924
  te = i;
4919
4925
  }
4920
4926
  const A = typeof e.selector == "string" ? document.querySelector(e.selector) : e.selector;
@@ -4940,7 +4946,7 @@ function xB(e) {
4940
4946
  function PB(e) {
4941
4947
  return k(this, null, function* () {
4942
4948
  if (e.mode && mt(e.mode), e.baseUrl && ht(e.mode, e.baseUrl), e.language && Tt(e.language), !ee) {
4943
- const { EContractWidget: t } = yield import("./widget-2JiOU7Ki.js");
4949
+ const { EContractWidget: t } = yield import("./widget--oSsI4cW.js");
4944
4950
  ee = t;
4945
4951
  }
4946
4952
  const A = typeof e.selector == "string" ? document.querySelector(e.selector) : e.selector;
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { z as s, u as e, q as n, r as i, x as r, w as g, y as o } from "./index-CTgrw9XZ.js";
1
+ import { z as s, u as e, q as n, r as i, x as r, w as g, y as o } from "./index-HVnBG38y.js";
2
2
  export {
3
3
  s as checkContractStatus,
4
4
  e as getSettings,