@invoice-sdk/widget 1.59.4 → 1.60.0

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.
@@ -2433,7 +2433,8 @@ const Pa = "data:image/svg+xml,%3csvg%20width='79'%20height='32'%20viewBox='0%20
2433
2433
  name: "fpt",
2434
2434
  onboarding: !1,
2435
2435
  sso: !1,
2436
- logoUrl: Sa
2436
+ logoUrl: Sa,
2437
+ features: ["export", "invoices", "sign", "view"]
2437
2438
  },
2438
2439
  "m-invoice": {
2439
2440
  email: "info@minvoice.vn",
@@ -2444,7 +2445,8 @@ const Pa = "data:image/svg+xml,%3csvg%20width='79'%20height='32'%20viewBox='0%20
2444
2445
  name: "m-invoice",
2445
2446
  onboarding: !0,
2446
2447
  sso: !1,
2447
- logoUrl: wa
2448
+ logoUrl: wa,
2449
+ features: ["check_status", "serial", "export", "invoices", "view", "sign"]
2448
2450
  },
2449
2451
  misa: {
2450
2452
  email: "",
@@ -2455,7 +2457,8 @@ const Pa = "data:image/svg+xml,%3csvg%20width='79'%20height='32'%20viewBox='0%20
2455
2457
  name: "misa",
2456
2458
  onboarding: !1,
2457
2459
  sso: !1,
2458
- logoUrl: Pa
2460
+ logoUrl: Pa,
2461
+ features: ["serial", "export_sign"]
2459
2462
  },
2460
2463
  viettel: {
2461
2464
  email: "hoadondientu@sinvoice.vn",
@@ -2466,7 +2469,8 @@ const Pa = "data:image/svg+xml,%3csvg%20width='79'%20height='32'%20viewBox='0%20
2466
2469
  name: "viettel",
2467
2470
  onboarding: !1,
2468
2471
  sso: !1,
2469
- logoUrl: Oa
2472
+ logoUrl: Oa,
2473
+ features: ["serial", "export_sign", "invoices", "view"]
2470
2474
  }
2471
2475
  }, VA = {
2472
2476
  dev: {
@@ -2569,7 +2573,7 @@ function F(i, A) {
2569
2573
  return e;
2570
2574
  }
2571
2575
  function ka(i, A) {
2572
- const e = ["email", "hotline", "invoiceLookupUrl", "isActive", "link", "name", "onboarding", "sso"];
2576
+ const e = ["email", "hotline", "invoiceLookupUrl", "isActive", "link", "name", "onboarding", "sso", "features"];
2573
2577
  for (const t of e)
2574
2578
  if (!(t in i))
2575
2579
  return console.warn(`[SettingsManager] Missing field '${t}' in provider '${A}'`), !1;
@@ -2621,7 +2625,7 @@ let CA = null, IA = null;
2621
2625
  function Ua(i) {
2622
2626
  return oA(this, null, function* () {
2623
2627
  if (i.mode && re(i.mode), i.language && se(i.language), !IA) {
2624
- const { InvoiceRegisterWidget: t } = yield import("./widget-CgHxLTUE.js");
2628
+ const { InvoiceRegisterWidget: t } = yield import("./widget-CqWQCI8V.js");
2625
2629
  IA = t;
2626
2630
  }
2627
2631
  const A = typeof i.selector == "string" ? document.querySelector(i.selector) : i.selector;
@@ -2644,7 +2648,7 @@ function Ua(i) {
2644
2648
  function za(i) {
2645
2649
  return oA(this, null, function* () {
2646
2650
  if (i.mode && re(i.mode), i.language && se(i.language), !CA) {
2647
- const { EContractWidget: t } = yield import("./widget-CgHxLTUE.js");
2651
+ const { EContractWidget: t } = yield import("./widget-CqWQCI8V.js");
2648
2652
  CA = t;
2649
2653
  }
2650
2654
  const A = typeof i.selector == "string" ? document.querySelector(i.selector) : i.selector;
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e as i, i as s, d as a, r as g, s as r, u as n } from "./index-B7JcX7nQ.js";
1
+ import { e as i, i as s, d as a, r as g, s as r, u as n } from "./index-CwX-eSny.js";
2
2
  export {
3
3
  i as getSettings,
4
4
  s as init,