@invoice-sdk/widget 1.120.3 → 1.120.4

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.
@@ -5098,7 +5098,7 @@ function id(e) {
5098
5098
  function Hd(e) {
5099
5099
  return S(this, null, function* () {
5100
5100
  if (pe(e), !ie) {
5101
- const { InvoiceRegisterWidget: i } = yield import("./widget-a9FOiF4X.js");
5101
+ const { InvoiceRegisterWidget: i } = yield import("./widget-ZsY1bAeo.js");
5102
5102
  ie = i;
5103
5103
  }
5104
5104
  const A = me(e.selector), t = yield ie(
@@ -5121,7 +5121,7 @@ function Hd(e) {
5121
5121
  function jd(e) {
5122
5122
  return S(this, null, function* () {
5123
5123
  if (pe(e), !te) {
5124
- const { EContractWidget: t } = yield import("./widget-a9FOiF4X.js");
5124
+ const { EContractWidget: t } = yield import("./widget-ZsY1bAeo.js");
5125
5125
  te = t;
5126
5126
  }
5127
5127
  const A = me(e.selector);
@@ -5172,7 +5172,7 @@ function Yd(e) {
5172
5172
  })
5173
5173
  };
5174
5174
  }
5175
- ne || (ne = (yield import("./index-DgDF2RGv.js")).createInvoiceRequestFlow);
5175
+ ne || (ne = (yield import("./index-D0eb-zMe.js")).createInvoiceRequestFlow);
5176
5176
  const i = ne({
5177
5177
  uuid: t,
5178
5178
  orderInfo: e.orderInfo || { code: "", address: "", total: "" },
@@ -25,8 +25,8 @@ var j = (r, t, e) => new Promise((n, l) => {
25
25
  }, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(s, a);
26
26
  g((e = e.apply(r, t)).next());
27
27
  });
28
- import { c as G, f as te, e as oe, b as le, o as ne, s as de } from "./loading-XFy-I2ys.js";
29
- import { t as i, c as J, j as ce } from "./index-DOx-LBdB.js";
28
+ import { c as G, f as te, e as oe, b as le, o as ne, s as de } from "./loading-CD2ay4JG.js";
29
+ import { t as i, c as J, j as ce } from "./index-83IevlN6.js";
30
30
  function z(r) {
31
31
  const t = r.trim();
32
32
  return t ? t.length < 2 || t.length > 250 ? { valid: !1, error: i("length_2_250") } : /[<>:"\/\\|?*@#$%!^]/.test(t) ? { valid: !1, error: i("invalid_characters") } : { valid: !0 } : { valid: !1, error: i("required_name") };
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as s, x as e, u as i, w as n, D as o, z as r, y as g, A as c } from "./index-DOx-LBdB.js";
1
+ import { B as s, x as e, u as i, w as n, D as o, z as r, y as g, A as c } from "./index-83IevlN6.js";
2
2
  export {
3
3
  s as checkContractStatus,
4
4
  e as getSettings,
package/dist/index.umd.js CHANGED
@@ -126,7 +126,7 @@
126
126
  </svg>`:`<svg width="18" height="18" viewBox="0 0 24 24" fill="none">
127
127
  <path d="M9 6L15 12L9 18" stroke="#0E121B" stroke-width="2"
128
128
  stroke-linecap="round" stroke-linejoin="round"/>
129
- </svg>`,B}const m=g("prev"),C=g("next");m.style.left="8px",C.style.right="8px",s.appendChild(m),s.appendChild(C);let E=n,v=A,x=a;const p=()=>window.matchMedia("(max-width: 414px)").matches;function w(){const N=u.getBoundingClientRect(),B=s.getBoundingClientRect(),k=N.top-B.top+N.height/2;m.style.top=`${k}px`,C.style.top=`${k}px`,m.style.transform="translateY(-50%)",C.style.transform="translateY(-50%)"}function y(){const N=u.firstElementChild;return N?N.getBoundingClientRect().width+24:300}function X(N){u.scrollBy({left:N*y(),behavior:"smooth"})}function f(){if(p())return;const N=u.scrollWidth-u.clientWidth;m.disabled=u.scrollLeft<=0,C.disabled=u.scrollLeft>=N-2}m.addEventListener("click",()=>X(-1)),C.addEventListener("click",()=>X(1)),u.addEventListener("scroll",f);function Q(){if(u.innerHTML="",!E||E.length===0){const N=document.createElement("div");N.className="wgt:col-span-full wgt:text-center wgt:py-8 wgt:text-text-sub-600",N.innerText=q("noPackageFound")||"Không tìm thấy gói phù hợp",u.appendChild(N);return}E.forEach(N=>{const B=N._id===x,k=v.includes(N.code),{container:b}=v1({pkg:N,type:t,isDiscounted:k,promotion:e,isSelected:B,isRenew:i,onSelect:()=>{c((h||i)&&B?"":N._id)}});b.classList.add("wgt:snap-start"),u.appendChild(b)}),requestAnimationFrame(()=>{w(),f()})}Q();let M=!1,H=0,z=0;u.addEventListener("mousedown",N=>{M=!0,u.classList.replace("wgt:cursor-grab","wgt:cursor-grabbing"),H=N.pageX,z=u.scrollLeft});const L=()=>{M&&(M=!1,u.classList.replace("wgt:cursor-grabbing","wgt:cursor-grab"))};document.addEventListener("mouseup",L),u.addEventListener("mouseleave",L),u.addEventListener("mousemove",N=>{M&&(N.preventDefault(),u.scrollLeft=z-(N.pageX-H)*1.5)}),u.addEventListener("wheel",N=>{N.preventDefault(),u.scrollLeft+=N.deltaY},{passive:!1});const T=new ResizeObserver(()=>w());return T.observe(u),T.observe(s),{container:o,render:Q,setSelectedPackageId(N){x=N,Q()},updateData(N,B=null,k=null){E=N||E,B!==null&&(v=B),k!==null&&(x=k),Q()},updateDiscountedOnly(N){v=N,Q()}}}const M1="1.120.3";function k1(A){return _(this,arguments,function*({search:t,bank:n}){return(yield At.get(`${$A}`,{params:{isActive:!0,search:t||null,type:"service",bank:n}})).data})}function N1(n){return _(this,arguments,function*({bank:t}){return(yield At.get(`${$A}`,{params:{isActive:!0,type:"initial_fee",bank:t}})).data})}function X1(e){return _(this,arguments,function*({bank:t,hasRenew:n,isCashRegister:A}){return(yield At.get(`${$A}`,{params:{isActive:!0,type:"service",bank:t,hasRenew:n,limit:99,isCashRegister:A}})).data})}function H1(n){return _(this,arguments,function*({bank:t}){return(yield At.get(`${$A}`,{params:{isActive:!0,type:"signature",bank:t,limit:99}})).data})}function S1(t){return _(this,null,function*(){const n=new FormData;return n.append("eInvoiceRegistration",JSON.stringify(t.eInvoiceRegistration)),n.append("provider",t.provider),n.append("bank",t.bank),n.append("packages",JSON.stringify(t.packages)),n.append("promotionCodes",JSON.stringify(t.promotionCodes)),n.append("logo",t.logo),n.append("organizationRegistrationCert",t.organizationRegistrationCert),t.legalRepresentativeIdCard.forEach(e=>{n.append("legalRepresentativeIdCard",e)}),n.append("isRenew",t.isRenew),n.append("isCashRegister",t.isCashRegister),yield At.post(Gi,n,{headers:{"Content-Type":"multipart/form-data","X-Invoice-Widget-Mode":UA(),"X-Invoice-Widget-Version":M1}})})}function L1(t){return _(this,null,function*(){return yield At.get(`${Vi}/${t}/status`)})}function J1(){return _(this,arguments,function*({isRenewable:t,serialNumber:n}={}){const A={isRenewable:!!t,serialNumber:(n!=null?n:"").trim()};return console.log("PROMO params:",A),(yield At.get(Ui,{params:A})).data})}function b1(t){return _(this,null,function*(){return yield At.post(`${_i}/${t}`)})}function kh(t){return _(this,null,function*(){return yield At.get(`${$i}/${encodeURIComponent(t)}`)})}function P1(t,n){return _(this,null,function*(){try{return yield At.post(`${no}/${encodeURIComponent(t)}`,n)}catch(A){throw A}})}function z1({name:t,value:n,feeLabel:A,required:e,description:a,isChecked:h=!0,onChange:c=null}){const i=document.createElement("label");i.className=["wgt:relative","wgt:flex","wgt:items-start","wgt:gap-3","wgt:px-4","wgt:py-3","wgt:-mt-4","wgt:@max-2xl:px-0"].join(" ");const o=Ce({name:t,value:n,checked:h,onChange:g=>{console.log("Checkbox state changed to:",g),c&&c(g)}});i.appendChild(o.container);const s=document.createElement("div");s.className="wgt:flex wgt:flex-col wgt:gap-1";const r=document.createElement("div");r.className="wgt:flex wgt:items-center wgt:gap-2 wgt:@max-2xl:flex-col wgt:@max-2xl:items-start";const u=document.createElement("span");u.className="wgt:text-base wgt:font-semibold wgt:text-text-sub-600",u.textContent=A,r.appendChild(u);{const g=document.createElement("span");g.className=["wgt:bg-soft-200","wgt:text-text-sub-600","wgt:text-xs","wgt:font-semibold","wgt:px-1.5","wgt:py-1","wgt:rounded-sm"].join(" "),g.textContent=q("required"),r.appendChild(g)}s.appendChild(r);const l=document.createElement("p");return l.className="wgt:text-text-soft-400 wgt:text-sm",l.textContent=a,s.appendChild(l),i.appendChild(s),{container:i}}function KA(){const t=document.createElement("div");t.className="wgt:absolute wgt:inset-0 wgt:bg-white/80 wgt:items-center wgt:justify-center wgt:z-50 wgt:w-full wgt:h-full wgt:backdrop-blur-sm",t.style.display="none";const n=document.createElement("div");n.className="wgt:flex wgt:flex-col wgt:items-center wgt:gap-4 wgt:bg-white wgt:rounded-lg wgt:p-6 wgt:shadow-lg";const A=document.createElement("div");return A.className="wgt:h-12 wgt:w-12 wgt:animate-spin wgt:rounded-full wgt:border-4 wgt:border-solid wgt:border-primary wgt:border-t-transparent",n.appendChild(A),t.appendChild(n),{container:t,open:()=>{t.style.display="flex"},close:()=>{t.style.display="none"}}}function K1({promotion:t,onSelect:n,isHidden:A=!1,isSelectable:e=!0}){const a=document.createElement("div");if(A)return a.style.display="none",{container:a};e&&t.isSelected,a.className="wgt:w-full wgt:flex wgt:items-center wgt:relative wgt:h-[6.75rem]";const h=document.createElement("div");h.className="wgt:absolute wgt:top-0 wgt:left-0 wgt:z-0",h.innerHTML=`<svg width="177" height="108" viewBox="0 0 177 108" fill="none" xmlns="http://www.w3.org/2000/svg">
129
+ </svg>`,B}const m=g("prev"),C=g("next");m.style.left="8px",C.style.right="8px",s.appendChild(m),s.appendChild(C);let E=n,v=A,x=a;const p=()=>window.matchMedia("(max-width: 414px)").matches;function w(){const N=u.getBoundingClientRect(),B=s.getBoundingClientRect(),k=N.top-B.top+N.height/2;m.style.top=`${k}px`,C.style.top=`${k}px`,m.style.transform="translateY(-50%)",C.style.transform="translateY(-50%)"}function y(){const N=u.firstElementChild;return N?N.getBoundingClientRect().width+24:300}function X(N){u.scrollBy({left:N*y(),behavior:"smooth"})}function f(){if(p())return;const N=u.scrollWidth-u.clientWidth;m.disabled=u.scrollLeft<=0,C.disabled=u.scrollLeft>=N-2}m.addEventListener("click",()=>X(-1)),C.addEventListener("click",()=>X(1)),u.addEventListener("scroll",f);function Q(){if(u.innerHTML="",!E||E.length===0){const N=document.createElement("div");N.className="wgt:col-span-full wgt:text-center wgt:py-8 wgt:text-text-sub-600",N.innerText=q("noPackageFound")||"Không tìm thấy gói phù hợp",u.appendChild(N);return}E.forEach(N=>{const B=N._id===x,k=v.includes(N.code),{container:b}=v1({pkg:N,type:t,isDiscounted:k,promotion:e,isSelected:B,isRenew:i,onSelect:()=>{c((h||i)&&B?"":N._id)}});b.classList.add("wgt:snap-start"),u.appendChild(b)}),requestAnimationFrame(()=>{w(),f()})}Q();let M=!1,H=0,z=0;u.addEventListener("mousedown",N=>{M=!0,u.classList.replace("wgt:cursor-grab","wgt:cursor-grabbing"),H=N.pageX,z=u.scrollLeft});const L=()=>{M&&(M=!1,u.classList.replace("wgt:cursor-grabbing","wgt:cursor-grab"))};document.addEventListener("mouseup",L),u.addEventListener("mouseleave",L),u.addEventListener("mousemove",N=>{M&&(N.preventDefault(),u.scrollLeft=z-(N.pageX-H)*1.5)}),u.addEventListener("wheel",N=>{N.preventDefault(),u.scrollLeft+=N.deltaY},{passive:!1});const T=new ResizeObserver(()=>w());return T.observe(u),T.observe(s),{container:o,render:Q,setSelectedPackageId(N){x=N,Q()},updateData(N,B=null,k=null){E=N||E,B!==null&&(v=B),k!==null&&(x=k),Q()},updateDiscountedOnly(N){v=N,Q()}}}const M1="1.120.4";function k1(A){return _(this,arguments,function*({search:t,bank:n}){return(yield At.get(`${$A}`,{params:{isActive:!0,search:t||null,type:"service",bank:n}})).data})}function N1(n){return _(this,arguments,function*({bank:t}){return(yield At.get(`${$A}`,{params:{isActive:!0,type:"initial_fee",bank:t}})).data})}function X1(e){return _(this,arguments,function*({bank:t,hasRenew:n,isCashRegister:A}){return(yield At.get(`${$A}`,{params:{isActive:!0,type:"service",bank:t,hasRenew:n,limit:99,isCashRegister:A}})).data})}function H1(n){return _(this,arguments,function*({bank:t}){return(yield At.get(`${$A}`,{params:{isActive:!0,type:"signature",bank:t,limit:99}})).data})}function S1(t){return _(this,null,function*(){const n=new FormData;return n.append("eInvoiceRegistration",JSON.stringify(t.eInvoiceRegistration)),n.append("provider",t.provider),n.append("bank",t.bank),n.append("packages",JSON.stringify(t.packages)),n.append("promotionCodes",JSON.stringify(t.promotionCodes)),n.append("logo",t.logo),n.append("organizationRegistrationCert",t.organizationRegistrationCert),t.legalRepresentativeIdCard.forEach(e=>{n.append("legalRepresentativeIdCard",e)}),n.append("isRenew",t.isRenew),n.append("isCashRegister",t.isCashRegister),yield At.post(Gi,n,{headers:{"Content-Type":"multipart/form-data","X-Invoice-Widget-Mode":UA(),"X-Invoice-Widget-Version":M1}})})}function L1(t){return _(this,null,function*(){return yield At.get(`${Vi}/${t}/status`)})}function J1(){return _(this,arguments,function*({isRenewable:t,serialNumber:n}={}){const A={isRenewable:!!t,serialNumber:(n!=null?n:"").trim()};return console.log("PROMO params:",A),(yield At.get(Ui,{params:A})).data})}function b1(t){return _(this,null,function*(){return yield At.post(`${_i}/${t}`)})}function kh(t){return _(this,null,function*(){return yield At.get(`${$i}/${encodeURIComponent(t)}`)})}function P1(t,n){return _(this,null,function*(){try{return yield At.post(`${no}/${encodeURIComponent(t)}`,n)}catch(A){throw A}})}function z1({name:t,value:n,feeLabel:A,required:e,description:a,isChecked:h=!0,onChange:c=null}){const i=document.createElement("label");i.className=["wgt:relative","wgt:flex","wgt:items-start","wgt:gap-3","wgt:px-4","wgt:py-3","wgt:-mt-4","wgt:@max-2xl:px-0"].join(" ");const o=Ce({name:t,value:n,checked:h,onChange:g=>{console.log("Checkbox state changed to:",g),c&&c(g)}});i.appendChild(o.container);const s=document.createElement("div");s.className="wgt:flex wgt:flex-col wgt:gap-1";const r=document.createElement("div");r.className="wgt:flex wgt:items-center wgt:gap-2 wgt:@max-2xl:flex-col wgt:@max-2xl:items-start";const u=document.createElement("span");u.className="wgt:text-base wgt:font-semibold wgt:text-text-sub-600",u.textContent=A,r.appendChild(u);{const g=document.createElement("span");g.className=["wgt:bg-soft-200","wgt:text-text-sub-600","wgt:text-xs","wgt:font-semibold","wgt:px-1.5","wgt:py-1","wgt:rounded-sm"].join(" "),g.textContent=q("required"),r.appendChild(g)}s.appendChild(r);const l=document.createElement("p");return l.className="wgt:text-text-soft-400 wgt:text-sm",l.textContent=a,s.appendChild(l),i.appendChild(s),{container:i}}function KA(){const t=document.createElement("div");t.className="wgt:absolute wgt:inset-0 wgt:bg-white/80 wgt:items-center wgt:justify-center wgt:z-50 wgt:w-full wgt:h-full wgt:backdrop-blur-sm",t.style.display="none";const n=document.createElement("div");n.className="wgt:flex wgt:flex-col wgt:items-center wgt:gap-4 wgt:bg-white wgt:rounded-lg wgt:p-6 wgt:shadow-lg";const A=document.createElement("div");return A.className="wgt:h-12 wgt:w-12 wgt:animate-spin wgt:rounded-full wgt:border-4 wgt:border-solid wgt:border-primary wgt:border-t-transparent",n.appendChild(A),t.appendChild(n),{container:t,open:()=>{t.style.display="flex"},close:()=>{t.style.display="none"}}}function K1({promotion:t,onSelect:n,isHidden:A=!1,isSelectable:e=!0}){const a=document.createElement("div");if(A)return a.style.display="none",{container:a};e&&t.isSelected,a.className="wgt:w-full wgt:flex wgt:items-center wgt:relative wgt:h-[6.75rem]";const h=document.createElement("div");h.className="wgt:absolute wgt:top-0 wgt:left-0 wgt:z-0",h.innerHTML=`<svg width="177" height="108" viewBox="0 0 177 108" fill="none" xmlns="http://www.w3.org/2000/svg">
130
130
  <path fill-rule="evenodd" clip-rule="evenodd" d="M35.0743 3.375H37.1375V0H166.603C172.3 0 176.919 5.65535 176.919 12.6316V95.3684C176.919 102.345 172.3 108 166.603 108H37.1375V104.625H35.0743V108H10.316C4.61862 108 4.15411e-08 102.345 0 95.3684V93.4737C3.41841 93.4737 6.18958 90.0805 6.18958 85.8947C6.18958 81.709 3.41841 78.3158 0 78.3158V72C3.41841 72 6.18958 68.6068 6.18958 64.4211C6.18958 60.2353 3.41841 56.8421 0 56.8421V50.5263C3.41841 50.5263 6.18958 47.1331 6.18958 42.9474C6.18958 38.7616 3.41841 35.3684 0 35.3684V29.0526C3.41841 29.0526 6.18958 25.6594 6.18958 21.4737C6.18958 17.2879 3.41841 13.8947 0 13.8947V12.6316C0 5.65535 4.61862 0 10.316 0H35.0743V3.375ZM35.0743 97.875H37.1375V91.125H35.0743V97.875ZM35.0743 84.375H37.1375V77.625H35.0743V84.375ZM35.0743 70.875H37.1375V64.125H35.0743V70.875ZM35.0743 57.375H37.1375V50.625H35.0743V57.375ZM35.0743 43.875H37.1375V37.125H35.0743V43.875ZM35.0743 30.375H37.1375V23.625H35.0743V30.375ZM35.0743 16.875H37.1375V10.125H35.0743V16.875Z" fill="#C0D5FF"/>
131
131
  </svg>
132
132
  `;const c=document.createElement("div");c.className="wgt:w-full wgt:relative wgt:z-10 wgt:h-full wgt:bg-white wgt:rounded-tr wgt:rounded-br wgt:px-4 wgt:py-3 wgt:ml-9 wgt:flex wgt:flex-col wgt:justify-between";const i=document.createElement("div");i.className="wgt:flex wgt:items-start wgt:flex-col wgt:relative";const o=document.createElement("h3");o.className=["wgt:text-base","wgt:font-semibold","wgt:text-gray-500","wgt:mb-1","wgt:text-primary"].join(" "),o.textContent=t.code,i.appendChild(o);const s=document.createElement("p");s.className=["wgt:text-sm","wgt:text-text-sub-600","wgt:mb-2"].join(" ");const r=zA(_t());s.textContent=t[r],i.appendChild(s);const{container:u}=Ce({checked:t.isSelected,onChange:()=>{let g=!t.isSelected;n(t.code,g)},isIconCheckbox:!0});e||(u.style.display="none"),u.className="wgt:absolute wgt:top-0 wgt:right-0",i.appendChild(u),c.appendChild(i);const l=document.createElement("p");return l.className=["wgt:text-xs","wgt:font-normal","wgt:text-right","wgt:text-[#335CFF]","wgt:italic"].join(" "),l.textContent=`${q("validityPeriod")}: ${q("expiredDate")} ${t.expiredAt.split("T")[0]}`,c.appendChild(l),a.appendChild(h),a.appendChild(c),{container:a}}function D1({value:t="",placeholder:n="",onInputChange:A=void 0}){const e=n||q("searchUnits"),a=document.createElement("div");a.className="wgt:flex wgt:flex-col";const h=document.createElement("div");h.className="wgt:flex wgt:rounded-lg wgt:border wgt:border-gray-300 wgt:overflow-hidden",a.appendChild(h);const c=document.createElement("input");return c.type="text",c.inputMode="numeric",c.value=t,c.placeholder=e,c.className="wgt:flex-1 wgt:px-4 wgt:py-2 wgt:text-text-sub-600 wgt:placeholder-gray-400 wgt:bg-white wgt:focus:outline-none",typeof A=="function"&&c.addEventListener("input",A),h.appendChild(c),{container:a}}function O1({theme:t,debounceTimer:n,typedUnits:A,onSearchComplete:e}){let a=[],h=[];const c=document.createElement("div");c.className="wgt:flex wgt:flex-col wgt:gap-3";const i=document.createElement("div");i.className="wgt:flex wgt:flex-col wgt:gap-4",c.appendChild(i);const o=document.createElement("h2");o.className="wgt:text-xl wgt:font-bold wgt:text-text-black",o.innerText=q("selectInvoicePackage");const s=document.createElement("span");s.className="wgt:text-sm wgt:text-red-500 wgt:ml-1",s.innerText="*",o.appendChild(s),i.appendChild(o);function r(){return _(this,null,function*(){n&&clearTimeout(n),A!==""?n=setTimeout(()=>_(null,null,function*(){try{const x=A.trim().toLowerCase().replace(/\B(?=(\d{3})+(?!\d))/g,"."),p=yield k1({search:x,bank:t});p&&(h=p),e&&e()}catch(x){console.error("Error searching packages:",x),Vt.error(q("errorSearchingPackages"),{autoClose:5e3,closeButton:!0,icon:!0})}}),500):(h=a,e&&e())})}const u=D1({value:"",placeholder:q("searchUnits"),onInputChange:x=>{A=x.target.value.replace(/\D/g,""),r()}});i.appendChild(u.container);const l=document.createElement("div");l.className="wgt:flex wgt:flex-col wgt:gap-2",c.appendChild(l);const g=document.createElement("h3");g.className="wgt:text-sm wgt:font-semibold wgt:text-[#525866]",g.innerText=q("mostSuitablePackage"),l.appendChild(g);const m=document.createElement("div");l.appendChild(m);const C=document.createElement("div");C.className="wgt:flex wgt:items-center wgt:justify-center wgt:py-8",C.innerHTML=`
@@ -165,10 +165,10 @@
165
165
  </clipPath>
166
166
  </defs>
167
167
  </svg>
168
- `,A.appendChild(e);const a=document.createElement("span");return a.className="wgt:text-base wgt:font-semibold wgt:leading-5 wgt:text-strong-950",a.innerText=q("qrPayment"),A.appendChild(a),{container:t}}function R1(){const t=document.createElement("div");t.className="wgt:flex wgt:flex-col wgt:gap-2 wgt:-mt-4";const n=document.createElement("h3");n.className="wgt:text-lg wgt:font-bold wgt:text-text-black wgt:@max-2xl:text-xl wgt:@max-2xl:mb-3",n.innerText=q("selectedProducts"),t.appendChild(n);const A=document.createElement("div");A.className="wgt:overflow-x-auto wgt:border wgt:border-soft-200 wgt:rounded-lg wgt:@max-2xl:overflow-x-visible wgt:@max-2xl:border-0 wgt:@max-2xl:bg-transparent",t.appendChild(A);const e=document.createElement("table");e.className="wgt:min-w-full wgt:table-auto wgt:border-separate wgt:@max-2xl:border-collapse wgt:@max-2xl:w-full",A.appendChild(e);const a=document.createElement("thead");a.className="wgt:bg-soft-150 wgt:@max-2xl:hidden";const h=document.createElement("tr");[q("product"),q("unit"),q("quantity"),q("unitPrice"),q("totalPrice")].forEach(i=>{const o=document.createElement("th");o.className="wgt:whitespace-nowrap wgt:px-3 wgt:py-3 wgt:text-left wgt:text-sm wgt:font-semibold wgt:text-text-sub-600",o.innerText=i,h.appendChild(o)}),a.appendChild(h),e.appendChild(a);const c=document.createElement("tbody");return c.className="wgt:divide-y wgt:divide-gray-200 wgt:bg-white wgt:@max-2xl:divide-y-0 wgt:@max-2xl:bg-transparent",e.appendChild(c),{container:t,tbody:c}}const Y1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFmSURBVHgBjVJLUsJAEH2dTAzu4gmEG+gNYKFxGU9gbqAuLaEqVVDllhuAJyDuQBfEE1CeADiBcaESyWTsJCKfIOXbzPT3db9qAkN5VQvG3iUUVUEoYxcUJlDJC+TcIy8IReY0zA4STKHp15gnYeYTKuCGLiQXrEJnAmK/MHts1Uh5jgXxMab648EaUcv2EUduyrJ1kJb9yvGKgDmzEFMhieoDB7vxBpQsDVEphMYdm/Y402LB0Dxpr9ob7Ff8HKZ/jTw/pNtBBaSeeS93OYLmpAyF4uapw0KmgtfI60/EWjShrftu4IgTH6jxFKSGyEQ0PkdI1BTJzF9SqS4QFRtqwkciezxJCPnVJnV3VkashtTgNf6JrEaqEYt/nItIqrhry+78JSLd9Cf5bxbST/KQH74weQ8Z50Fh8iFJ99dewDAsKO2Cqyp8O04uYrx/Dv3d4wU9LiwvqfQuhL5OnyhuSAFk5KbmN7eYmgg1dFx4AAAAAElFTkSuQmCC";function j1(X){return _(this,arguments,function*({onNext:t,onPrev:n,selectedInitPackage:A,selectedInvoiceOtp:e,selectedSignatureOtp:a,setSelectedInitPackage:h,setSelectedInvoiceOtp:c,setSelectedSignatureOtp:i,setOrderId:o,setTotalAmount:s,setOrderAmount:r,theme:u,selectedProvider:l,selectedPromotions:g,registrationData:m,setSelectedPromotions:C,setPackages:E,setPromotionCodes:v,isNewCustomer:x,savedQuantities:p,setSavedQuantities:w,isRenewal:y}){var TA;const f=((TA=m==null?void 0:m.eInvoiceRegistration)==null?void 0:TA.invoiceSymbol)||"";console.log("Invoice Symbol",f);const Q=(f==null?void 0:f[4])==="M";let M=[];function H(j,An){return Array.isArray(j)?An==="household"?j.filter(tn=>{var cn;return(cn=tn==null?void 0:tn.code)==null?void 0:cn.includes("HKD")}):j.filter(tn=>{var cn;return!((cn=tn==null?void 0:tn.code)!=null&&cn.includes("HKD"))}):[]}let z="",L={company:e?e._id:null,household:null},T=e?e._id:null,N=a?a._id:null,B=g?g.map(j=>j):[],k=[],b=[],I=[],d=[],S=null,J=(p==null?void 0:p.qtyRegFee)||1,P=(p==null?void 0:p.qtyInvoicePkg)||1,D=(p==null?void 0:p.qtySignaturePkg)||1;function K(){w&&w({qtyRegFee:J,qtyInvoicePkg:P,qtySignaturePkg:D})}function $(j){return j.find(An=>d.includes(An.code))}function nn({registrationData:j,onChange:An}){var Tn;let tn=((Tn=j==null?void 0:j.eInvoiceRegistration)==null?void 0:Tn.businessType)||"company";const cn=document.createElement("div");cn.className="wgt:flex wgt:items-center wgt:gap-4 wgt:flex-wrap";const un=document.createElement("div");un.className="wgt:text-sm wgt:font-medium wgt:text-black",un.innerHTML=`${q("businessRegistrationType")||"Hình thức đăng ký kinh doanh"} <span class="wgt:text-red-500">*</span>`,cn.appendChild(un);const an=document.createElement("div");an.className="wgt:inline-flex wgt:items-center wgt:gap-3",cn.appendChild(an);function gn(Sn,ut,oA,fA){const dt=document.createElement("button");dt.type="button",dt.className="wgt:flex wgt:items-center wgt:gap-3 wgt:px-4 wgt:py-3 wgt:rounded-xl wgt:text-sm wgt:font-medium wgt:transition wgt:border-2 wgt:min-w-[200px]";const Nt=document.createElement("span");Nt.className="wgt:h-10 wgt:w-10 wgt:rounded wgt:flex wgt:items-center wgt:justify-center wgt:border-[#232A751A] wgt:border",Nt.style.backgroundColor="#232A751A",Nt.innerHTML=oA;const Xt=document.createElement("span");Xt.className="wgt:text-base wgt:font-semibold",Xt.innerText=Sn;const Y=document.createElement("span");Y.className="wgt:ml-auto wgt:h-5 wgt:w-5 wgt:rounded-full wgt:border-2 wgt:flex wgt:items-center wgt:justify-center";const ln=document.createElement("span");return ln.className="wgt:h-2.5 wgt:w-2.5 wgt:rounded-full",ln.style.backgroundColor="#1e2a7b",ln.style.opacity="0",Y.appendChild(ln),dt.appendChild(Nt),dt.appendChild(Xt),dt.appendChild(Y),dt.addEventListener("click",()=>{tn=ut,tt(),j!=null&&j.eInvoiceRegistration&&(j.eInvoiceRegistration.businessType=tn),An==null||An(tn)}),{btn:dt,radioInner:ln,radio:Y,textSpan:Xt,value:ut}}const on=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
168
+ `,A.appendChild(e);const a=document.createElement("span");return a.className="wgt:text-base wgt:font-semibold wgt:leading-5 wgt:text-strong-950",a.innerText=q("qrPayment"),A.appendChild(a),{container:t}}function R1(){const t=document.createElement("div");t.className="wgt:flex wgt:flex-col wgt:gap-2 wgt:-mt-4";const n=document.createElement("h3");n.className="wgt:text-lg wgt:font-bold wgt:text-text-black wgt:@max-2xl:text-xl wgt:@max-2xl:mb-3",n.innerText=q("selectedProducts"),t.appendChild(n);const A=document.createElement("div");A.className="wgt:overflow-x-auto wgt:border wgt:border-soft-200 wgt:rounded-lg wgt:@max-2xl:overflow-x-visible wgt:@max-2xl:border-0 wgt:@max-2xl:bg-transparent",t.appendChild(A);const e=document.createElement("table");e.className="wgt:min-w-full wgt:table-auto wgt:border-separate wgt:@max-2xl:border-collapse wgt:@max-2xl:w-full",A.appendChild(e);const a=document.createElement("thead");a.className="wgt:bg-soft-150 wgt:@max-2xl:hidden";const h=document.createElement("tr");[q("product"),q("unit"),q("quantity"),q("unitPrice"),q("totalPrice")].forEach(i=>{const o=document.createElement("th");o.className="wgt:whitespace-nowrap wgt:px-3 wgt:py-3 wgt:text-left wgt:text-sm wgt:font-semibold wgt:text-text-sub-600",o.innerText=i,h.appendChild(o)}),a.appendChild(h),e.appendChild(a);const c=document.createElement("tbody");return c.className="wgt:divide-y wgt:divide-gray-200 wgt:bg-white wgt:@max-2xl:divide-y-0 wgt:@max-2xl:bg-transparent",e.appendChild(c),{container:t,tbody:c}}const Y1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFmSURBVHgBjVJLUsJAEH2dTAzu4gmEG+gNYKFxGU9gbqAuLaEqVVDllhuAJyDuQBfEE1CeADiBcaESyWTsJCKfIOXbzPT3db9qAkN5VQvG3iUUVUEoYxcUJlDJC+TcIy8IReY0zA4STKHp15gnYeYTKuCGLiQXrEJnAmK/MHts1Uh5jgXxMab648EaUcv2EUduyrJ1kJb9yvGKgDmzEFMhieoDB7vxBpQsDVEphMYdm/Y402LB0Dxpr9ob7Ff8HKZ/jTw/pNtBBaSeeS93OYLmpAyF4uapw0KmgtfI60/EWjShrftu4IgTH6jxFKSGyEQ0PkdI1BTJzF9SqS4QFRtqwkciezxJCPnVJnV3VkashtTgNf6JrEaqEYt/nItIqrhry+78JSLd9Cf5bxbST/KQH74weQ8Z50Fh8iFJ99dewDAsKO2Cqyp8O04uYrx/Dv3d4wU9LiwvqfQuhL5OnyhuSAFk5KbmN7eYmgg1dFx4AAAAAElFTkSuQmCC";function j1(X){return _(this,arguments,function*({onNext:t,onPrev:n,selectedInitPackage:A,selectedInvoiceOtp:e,selectedSignatureOtp:a,setSelectedInitPackage:h,setSelectedInvoiceOtp:c,setSelectedSignatureOtp:i,setOrderId:o,setTotalAmount:s,setOrderAmount:r,theme:u,selectedProvider:l,selectedPromotions:g,registrationData:m,setSelectedPromotions:C,setPackages:E,setPromotionCodes:v,isNewCustomer:x,savedQuantities:p,setSavedQuantities:w,isRenewal:y}){var TA;const f=((TA=m==null?void 0:m.eInvoiceRegistration)==null?void 0:TA.invoiceSymbol)||"";console.log("Invoice Symbol",f);const Q=(f==null?void 0:f[4])==="M";let M=[];function H(j,An){return Array.isArray(j)?An==="household"?j.filter(tn=>{var cn;return(cn=tn==null?void 0:tn.code)==null?void 0:cn.includes("HKD")}):j.filter(tn=>{var cn;return!((cn=tn==null?void 0:tn.code)!=null&&cn.includes("HKD"))}):[]}let z="",L={company:e?e._id:null,household:null},T=e?e._id:null,N=a?a._id:null,B=g?g.map(j=>j):[],k=[],b=[],I=[],d=[],S=null,J=(p==null?void 0:p.qtyRegFee)||1,P=(p==null?void 0:p.qtyInvoicePkg)||1,D=(p==null?void 0:p.qtySignaturePkg)||1;function K(){w&&w({qtyRegFee:J,qtyInvoicePkg:P,qtySignaturePkg:D})}function $(j){return j.find(An=>d.includes(An.code))}function nn({registrationData:j,onChange:An}){var Tn;let tn=((Tn=j==null?void 0:j.eInvoiceRegistration)==null?void 0:Tn.businessType)||"company";const cn=document.createElement("div");cn.className="wgt:flex wgt:items-center wgt:gap-4 wgt:flex-wrap";const un=document.createElement("div");un.className="wgt:text-sm wgt:font-medium wgt:text-black",un.innerHTML=`${q("businessRegistrationType")||"Hình thức đăng ký kinh doanh"} <span class="wgt:text-red-500">*</span>`,cn.appendChild(un);const an=document.createElement("div");an.className="wgt:inline-flex wgt:items-center wgt:gap-3",cn.appendChild(an);function gn(Sn,ut,oA,fA){const dt=document.createElement("button");dt.type="button",dt.className="wgt:flex wgt:items-center wgt:gap-3 wgt:px-4 wgt:py-3 wgt:rounded-xl wgt:text-sm wgt:font-medium wgt:transition wgt:border-2 wgt:min-w-[200px]";const Nt=document.createElement("span");Nt.className="wgt:h-8 wgt:w-8 wgt:rounded wgt:flex wgt:items-center wgt:justify-center wgt:border-[#232A751A] wgt:border",Nt.style.backgroundColor="#232A751A",Nt.innerHTML=oA;const Xt=document.createElement("span");Xt.className="wgt:text-sm wgt:font-semibold",Xt.innerText=Sn;const Y=document.createElement("span");Y.className="wgt:ml-auto wgt:h-5 wgt:w-5 wgt:rounded-full wgt:border-2 wgt:flex wgt:items-center wgt:justify-center";const ln=document.createElement("span");return ln.className="wgt:h-2.5 wgt:w-2.5 wgt:rounded-full",ln.style.backgroundColor="#1e2a7b",ln.style.opacity="0",Y.appendChild(ln),dt.appendChild(Nt),dt.appendChild(Xt),dt.appendChild(Y),dt.addEventListener("click",()=>{tn=ut,tt(),j!=null&&j.eInvoiceRegistration&&(j.eInvoiceRegistration.businessType=tn),An==null||An(tn)}),{btn:dt,radioInner:ln,radio:Y,textSpan:Xt,value:ut}}const on=`<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
169
169
  <path d="M4.80029 4.65039H13.8003C13.8399 4.65044 13.8777 4.66637 13.9058 4.69434C13.9339 4.72247 13.9497 4.761 13.9497 4.80078V19.0508H17.2505V10.0508H19.1997C19.2395 10.0508 19.278 10.0666 19.3062 10.0947C19.3341 10.1228 19.35 10.1606 19.3501 10.2002V19.0508H21.1499V19.3506H2.8501V19.0508H4.6499V4.80078C4.6499 4.76104 4.66578 4.72246 4.69385 4.69434C4.72198 4.66621 4.76051 4.65039 4.80029 4.65039ZM6.75049 13.6504H11.8501V10.3506H6.75049V13.6504ZM6.75049 10.0508H11.8501V6.75H6.75049V10.0508Z" fill="#232A75" stroke="#232A75" stroke-width="1.5"/>
170
170
  </svg>
171
- `,dn=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
171
+ `,dn=`<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
172
172
  <path d="M9.2998 15.4492H14.7002C15.6946 15.4493 16.6484 15.8447 17.3516 16.5479C18.0547 17.251 18.4501 18.2048 18.4502 19.1992V20.25H5.5498V19.1992C5.54991 18.2048 5.94527 17.251 6.64844 16.5479C7.35168 15.8447 8.30533 15.4492 9.2998 15.4492ZM12 2.84961C13.2332 2.84966 14.4161 3.33992 15.2881 4.21191C16.1599 5.08393 16.6494 6.26688 16.6494 7.5C16.6493 8.73312 16.16 9.91613 15.2881 10.7881C14.4161 11.66 13.2331 12.1494 12 12.1494C11.3895 12.1494 10.7848 12.0295 10.2207 11.7959C9.65667 11.5623 9.14365 11.2197 8.71191 10.7881C8.2802 10.3564 7.93778 9.84334 7.7041 9.2793C7.47047 8.71525 7.34966 8.11051 7.34961 7.5C7.34961 6.88935 7.47042 6.28389 7.7041 5.71973C7.93776 5.15579 8.28029 4.64357 8.71191 4.21191C9.14371 3.78012 9.65654 3.43681 10.2207 3.20312C10.7847 2.96957 11.3895 2.84961 12 2.84961Z" fill="#232A75" stroke="#232A75" stroke-width="1.5"/>
173
173
  </svg>
174
174
  `,Bn=gn(q("company")||"Doanh nghiệp","company",on),Jn=gn(q("householdBusiness")||"Hộ kinh doanh","household",dn);an.appendChild(Bn.btn),an.appendChild(Jn.btn);function Gn(Sn,ut){ut?Sn.btn.style.backgroundColor="#232A751A":Sn.btn.style.backgroundColor="#FFFFFF",ut?Sn.btn.style.borderColor="#1e2a7b":Sn.btn.style.borderColor="#E5E7EB",Sn.radioInner.style.opacity=ut?"1":"0",ut?Sn.radio.style.borderColor="#1e2a7b":Sn.radio.style.borderColor="#D1D5DB",Sn.textSpan.style.color=ut?"#1e2a7b":"#6B7280"}function tt(){Gn(Bn,tn==="company"),Gn(Jn,tn==="household")}return tt(),{container:cn,getValue:()=>tn,setValue:Sn=>{tn=Sn,tt()}}}function U(j){return k.find(An=>An._id===j)||null}const Z=document.createElement("div");Z.className="wgt:relative wgt:flex wgt:w-full wgt:h-full wgt:flex-col wgt:gap-4 wgt:py-6";const{container:V,open:en,close:En}=KA();Z.appendChild(V);let Nn=null;if(Q){Nn=nn({registrationData:m,onChange:An=>{var un;const tn=H(M,An);$n(tn||[]),kt(tn||[]);const cn=An==="company"?"household":"company";if(L[cn]=T,L[An])T=L[An];else{const an=$(tn);T=an?an._id:((un=tn==null?void 0:tn[0])==null?void 0:un._id)||null,L[An]=T}B=[],Kt(),cA(),Et(),it(),Vn()}});const j=document.createElement("div");j.className="wgt:mx-auto wgt:w-full wgt:max-w-[1072px] wgt:px-6 wgt:@max-2xl:px-3",j.appendChild(Nn.container),Z.appendChild(j)}const Cn=document.createElement("div");Cn.className="wgt:mx-auto wgt:w-full wgt:max-w-[1072px] wgt:flex wgt:flex-col wgt:gap-8 wgt:rounded-3xl wgt:bg-weak-50 wgt:px-6 wgt:py-4 wgt:@max-2xl:px-3 wgt:@max-2xl:py-3 wgt:@max-2xl:gap-6 wgt:@max-2xl:rounded-none",Z.appendChild(Cn);const{container:lt,invoiceSelectorWrapper:ht,setInvoicePackages:$n,getInvoicePackages:vn,getFilteredInvoiceOptions:It,setFilteredInvoiceOptions:kt,findInvoiceById:mt,removeLoading:St}=O1({theme:u,debounceTimer:S,typedUnits:z,onSearchComplete:()=>{cA(),Vn()}});Cn.appendChild(lt);let nt=null,qt=null;if(!y){const j=V1(y);qt=j.container,nt=j.signatureSelectorWrapper,Cn.appendChild(qt)}const ct=document.createElement("div");ct.className="wgt:flex wgt:items-center wgt:justify-center wgt:py-4",ct.innerHTML=`
@@ -14,7 +14,7 @@ var n = (e, t, r) => new Promise((o, c) => {
14
14
  }, g = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(s, d);
15
15
  g((r = r.apply(e, t)).next());
16
16
  });
17
- import { k as l, g as w, l as f, C as m, G as y, n as E, I as R, S as v, o as C, a as h, p as I, q as p, r as O, O as T } from "./index-DOx-LBdB.js";
17
+ import { k as l, g as w, l as f, C as m, G as y, n as E, I as R, S as v, o as C, a as h, p as I, q as p, r as O, O as T } from "./index-83IevlN6.js";
18
18
  function k({
19
19
  title: e,
20
20
  isDisabled: t = !1,
@@ -95,7 +95,7 @@ function $(e, t) {
95
95
  })).data;
96
96
  });
97
97
  }
98
- const A = (e) => new Intl.NumberFormat("vi-VN").format(e), S = "1.120.3";
98
+ const A = (e) => new Intl.NumberFormat("vi-VN").format(e), S = "1.120.4";
99
99
  function U(r) {
100
100
  return n(this, arguments, function* ({ search: e, bank: t }) {
101
101
  return (yield a.get(`${p}`, {
@@ -35,8 +35,8 @@ var mn = (t, n, e) => new Promise((c, h) => {
35
35
  }, o = (u) => u.done ? c(u.value) : Promise.resolve(u.value).then(a, A);
36
36
  o((e = e.apply(t, n)).next());
37
37
  });
38
- import { t as g, g as _h, a as $h, b as vt, s as n0, c as Ot, d as T1, e as x1, f as d1, m as w1, h as p1, i as C1, v as f1 } from "./index-DOx-LBdB.js";
39
- import { c as Qt, a as c0, g as t0, b as X1, f as bn, d as B1, e as e0, h as N1, i as E1, j as H1, k as y1, l as k1, m as P1, n as v1 } from "./loading-XFy-I2ys.js";
38
+ import { t as g, g as _h, a as $h, b as vt, s as n0, c as Ot, d as T1, e as x1, f as d1, m as w1, h as p1, i as C1, v as f1 } from "./index-83IevlN6.js";
39
+ import { c as Qt, a as c0, g as t0, b as X1, f as bn, d as B1, e as e0, h as N1, i as E1, j as H1, k as y1, l as k1, m as P1, n as v1 } from "./loading-CD2ay4JG.js";
40
40
  import { g as n1 } from "./_commonjsHelpers-bAxELxBV.js";
41
41
  function lh({ steps: t = [], currentStep: n = 1 } = {}) {
42
42
  const e = document.createElement("div");
@@ -3465,9 +3465,9 @@ function Ec(B) {
3465
3465
  const $n = document.createElement("button");
3466
3466
  $n.type = "button", $n.className = "wgt:flex wgt:items-center wgt:gap-3 wgt:px-4 wgt:py-3 wgt:rounded-xl wgt:text-sm wgt:font-medium wgt:transition wgt:border-2 wgt:min-w-[200px]";
3467
3467
  const et = document.createElement("span");
3468
- et.className = "wgt:h-10 wgt:w-10 wgt:rounded wgt:flex wgt:items-center wgt:justify-center wgt:border-[#232A751A] wgt:border", et.style.backgroundColor = "#232A751A", et.innerHTML = kt;
3468
+ et.className = "wgt:h-8 wgt:w-8 wgt:rounded wgt:flex wgt:items-center wgt:justify-center wgt:border-[#232A751A] wgt:border", et.style.backgroundColor = "#232A751A", et.innerHTML = kt;
3469
3469
  const At = document.createElement("span");
3470
- At.className = "wgt:text-base wgt:font-semibold", At.innerText = Xn;
3470
+ At.className = "wgt:text-sm wgt:font-semibold", At.innerText = Xn;
3471
3471
  const O = document.createElement("span");
3472
3472
  O.className = "wgt:ml-auto wgt:h-5 wgt:w-5 wgt:rounded-full wgt:border-2 wgt:flex wgt:items-center wgt:justify-center";
3473
3473
  const An = document.createElement("span");
@@ -3475,10 +3475,10 @@ function Ec(B) {
3475
3475
  Z = Fn, Mn(), Y != null && Y.eInvoiceRegistration && (Y.eInvoiceRegistration.businessType = Z), j == null || j(Z);
3476
3476
  }), { btn: $n, radioInner: An, radio: O, textSpan: At, value: Fn };
3477
3477
  }
3478
- const hn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3478
+ const hn = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3479
3479
  <path d="M4.80029 4.65039H13.8003C13.8399 4.65044 13.8777 4.66637 13.9058 4.69434C13.9339 4.72247 13.9497 4.761 13.9497 4.80078V19.0508H17.2505V10.0508H19.1997C19.2395 10.0508 19.278 10.0666 19.3062 10.0947C19.3341 10.1228 19.35 10.1606 19.3501 10.2002V19.0508H21.1499V19.3506H2.8501V19.0508H4.6499V4.80078C4.6499 4.76104 4.66578 4.72246 4.69385 4.69434C4.72198 4.66621 4.76051 4.65039 4.80029 4.65039ZM6.75049 13.6504H11.8501V10.3506H6.75049V13.6504ZM6.75049 10.0508H11.8501V6.75H6.75049V10.0508Z" fill="#232A75" stroke="#232A75" stroke-width="1.5"/>
3480
3480
  </svg>
3481
- `, qn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3481
+ `, qn = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3482
3482
  <path d="M9.2998 15.4492H14.7002C15.6946 15.4493 16.6484 15.8447 17.3516 16.5479C18.0547 17.251 18.4501 18.2048 18.4502 19.1992V20.25H5.5498V19.1992C5.54991 18.2048 5.94527 17.251 6.64844 16.5479C7.35168 15.8447 8.30533 15.4492 9.2998 15.4492ZM12 2.84961C13.2332 2.84966 14.4161 3.33992 15.2881 4.21191C16.1599 5.08393 16.6494 6.26688 16.6494 7.5C16.6493 8.73312 16.16 9.91613 15.2881 10.7881C14.4161 11.66 13.2331 12.1494 12 12.1494C11.3895 12.1494 10.7848 12.0295 10.2207 11.7959C9.65667 11.5623 9.14365 11.2197 8.71191 10.7881C8.2802 10.3564 7.93778 9.84334 7.7041 9.2793C7.47047 8.71525 7.34966 8.11051 7.34961 7.5C7.34961 6.88935 7.47042 6.28389 7.7041 5.71973C7.93776 5.15579 8.28029 4.64357 8.71191 4.21191C9.14371 3.78012 9.65654 3.43681 10.2207 3.20312C10.7847 2.96957 11.3895 2.84961 12 2.84961Z" fill="#232A75" stroke="#232A75" stroke-width="1.5"/>
3483
3483
  </svg>
3484
3484
  `, gn = en(
package/package.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "prepare": "npm run build"
47
47
  },
48
48
  "type": "module",
49
- "version": "1.120.3",
49
+ "version": "1.120.4",
50
50
  "repository": {},
51
51
  "dependencies": {
52
52
  "@invoice-sdk/id_extraction_qr": "^1.8.3",