PageSourceSearch

https://static3.industrybuying.com/wakanda-turbo/assets/RELEASE-v1.255/static/browser/chunk-ZOQENVHF.js

js industrybuying.com collected 2026-09-24 09:38:02 UTC 5,127 bytes, 22 lines download raw bytes

1import{C as T,c as k,h as B,m as D}from"./chunk-V4RBVOVY.js";import{z as W}from"./chunk-HVHJBPYH.js";import"./chunk-HGDZ6AMD.js";import"./chunk-LSBESHNF.js";import"./chunk-BVHX55FD.js";import"./chunk-XKES3XAV.js";import{U as M,ua as I}from"./chunk-MI6MLOSR.js";import{Ac as b,Bc as F,Fc as Q,Gc as E,Hc as S,Nb as c,Ob as h,Pc as q,Tb as v,Ub as l,Vb as i,_a as s,ic as r,kc as x,ob as w,tb as y,ua as f,xc as C,yc as _,zc as e}from"./chunk-EOSBAT63.js";import"./chunk-UGY2Q5IC.js";import{a as g}from"./chunk-ZGVHDELW.js";var j=(a,p)=>({"hover:bg-[#ff0000] hover:text-[#fff] hover:shadow-lg cursor-pointer":a,"cursor-not-allowed opacity-[0.3]":p});function N(a,p){if(a&1&&(e(0,`
2    `),l(1,"div",8),e(2,`
3      `),l(3,"span"),e(4),i(),e(5,`
4    `),i(),e(6,`
5  `)),a&2){let n=x();s(4),b(n.slot==null||n.slot.widget==null||n.slot.widget.data==null||n.slot.widget.data.value==null?null:n.slot.widget.data.value.message)}}var z=(()=>{class a extends W{ngOnInit(){this.quantity=this.slot?.widget?.data?.value?.value,this.action=this.slot?.widget?.data?.action}quantityChangeManually(n,o){let d=n.target.value,u=parseInt(d)>0?parseInt(d):this.slot?.widget?.data?.value?.moq,m=o;m.params.quantity=u,this.actionEvent({actionData:g({},m)})}quantityChange(n){this.actionEvent({actionData:g({},n)})}static{this.\u0275fac=(()=>{let n;return function(t){return(n||(n=f(a)))(t||a)}})()}static{this.\u0275cmp=w({type:a,selectors:[["quantity-change"]],hostVars:4,hostBindings:function(o,t){o&2&&(C(t.ngStyle),_(t.ngClass))},inputs:{ngClass:"ngClass",ngStyle:"ngStyle",actionEvent:"actionEvent",slot:"slot"},features:[y],decls:27,vars:7,consts:[[1,"flex","gap-[5px]","items-center","mt-[0px]"],[1,"flex","flex-row","relative","mt-[3px]","bg-[#ffffff]","rounded-full","p-[5px]","md:w-[140px]","w-[115px]","md:h-[42px]","h-[42px]","border-gray-300","border-solid","border-[2px]","items-center","justify-center","mb-[10px]","md:mb-[0px]"],[1,"bg-[#FFFFFF]","flex","items-center","justify-center","border-[#dfdfdf]","border-solid","border-[1px]","text-gray-700","hover:text-[#fff]","hover:bg-[#ff0000]","rounded-full","cursor-pointer","outline-none","md:w-[30px]","w-[30px]","md:h-[30px]","h-[30px]","shadow-sm","hover:shadow-lg","transition-all",3,"click"],[1,"text-2xl","text-[20px]","leading-[20px]"],["type","tel","inputmode","numeric","name","custom-input-number","min","1","step","1","autocomplete","new-password",1,"qty-input","text-center","w-[45px]","md:w-[65px]","bg-transparent","h-[35px]","font-semibold","text-md","flex","items-center","text-gray-700","border-hidden","ng-untouched","ng-pristine","ng-valid",3,"ngModelChange","change","ngModel"],[1,"bg-[#FFFFFF]","flex","items-center","justify-center","border-[#dfdfdf]","border-solid","border-[1px]","text-gray-700","rounded-full","cursor-pointer","outline-none","md:w-[30px]","w-[30px]","md:h-[30px]","h-[30px]","shadow-sm","transition-all",3,"click","ngClass"],[1,"m-auto","text-2xl","text-[20px]","leading-[20px]"],[1,"text-[12px]"],[1,"text-[12px]","text-[#945700]","bg-[#fef7e0]","rounded-[10px]","p-[10px]","mt-[10px]"]],template:function(o,t){o&1&&(l(0,"div"),e(1,`
6  `),l(2,"div",0),e(3,`
7    `),l(4,"div",1),e(5,`
8      `),l(6,"button",2),r("click",function(){return t.quantityChange(t.slot==null||t.slot.widget==null||t.slot.widget.data==null||t.slot.widget.data.value==null||t.slot.widget.data.value.decreaseQuantity==null?null:t.slot.widget.data.value.decreaseQuantity.action)}),e(7,`
9        `),l(8,"span",3),e(9,"-"),i(),e(10,`
10      `),i(),e(11,`
11      `),l(12,"input",4),S("ngModelChange",function(u){return E(t.quantity,u)||(t.quantity=u),u}),r("change",function(u){return t.quantityChangeManually(u,t.slot==null||t.slot.widget==null||t.slot.widget.data==null?null:t.slot.widget.data.action)}),i(),e(13,`
12      `),l(14,"button",5),r("click",function(){return t.quantityChange(t.slot==null||t.slot.widget==null||t.slot.widget.data==null||t.slot.widget.data.value==null||t.slot.widget.data.value.increaseQuantity==null?null:t.slot.widget.data.value.increaseQuantity.action)}),e(15,`
13        `),l(16,"span",6),e(17,"+"),i(),e(18,`
14      `),i(),e(19,`
15    `),i(),e(20,`
16    `),l(21,"div",7),e(22),i(),e(23,`
17  `),i(),e(24,`
18  `),c(25,N,7,1),i(),e(26,`
19`)),o&2&&(s(12),Q("ngModel",t.quantity),s(2),v("ngClass",q(4,j,t.slot==null||t.slot.widget==null||t.slot.widget.data==null||t.slot.widget.data.value==null||t.slot.widget.data.value.increaseQuantity==null?null:t.slot.widget.data.value.increaseQuantity.action,!(!(t.slot==null||t.slot.widget==null||t.slot.widget.data==null||t.slot.widget.data.value==null||t.slot.widget.data.value.increaseQuantity==null)&&t.slot.widget.data.value.increaseQuantity.action))),s(8),F(`
20      Minimum Order Quantity- `,t.slot==null||t.slot.widget==null||t.slot.widget.data==null||t.slot.widget.data.value==null?null:t.slot.widget.data.value.moq,`
21    `),s(3),h(!(t.slot==null||t.slot.widget==null||t.slot.widget.data==null||t.slot.widget.data.value==null)&&t.slot.widget.data.value.message?25:-1))},dependencies:[I,M,T,k,B,D],encapsulation:2})}}return a})();export{z as QuantityChangeComponent};
22//# sourceMappingURL=chunk-ZOQENVHF.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.