PageSourceSearch

https://www.pixartprinting.fr/js/init-initPixartproView-js.a4b9291eca15e9233d0e.js

js pixartprinting.fr collected 2026-09-24 09:55:50 UTC 8,287 bytes, 1 lines download raw bytes

1export const __webpack_esm_id__=4604;export const __webpack_esm_ids__=[4604];export const __webpack_esm_modules__={26001(o,t,n){n.d(t,{A:()=>a});var e=n(82124),r=n(87264),i=n(75289),c=n(50716);const a={name:"CurrencyHandler",data:()=>({overrideCurrency:null}),computed:{finalActiveCurrency(){return this.overrideCurrency??this.activeCurrency},finalDefaultCurrency(){return this.overrideCurrency??this.defaultCurrency},displayReverseConversionPrice(){return this.showCurrencySelectorForDomain&&this.finalActiveCurrency!==this.finalDefaultCurrency&&"EUR"===this.finalActiveCurrency},...(0,e.L8)("preference",["defaultCurrency","activeCurrency","currencyExchangeRate","showCurrencySelectorForDomain"]),...(0,e.L8)("prices",["isProductOutOfStock"])},methods:{convertAmount(o){return(0,i.A)(this.finalDefaultCurrency,this.finalActiveCurrency,o,this.currencyExchangeRate)},formatPriceWithCurrency(o){const t=this.convertAmount(o);return(0,r.A)(t,this.finalActiveCurrency)},formatPriceObjectWithCurrency(o){return!(0,c.A)(o)&&!(0,c.A)(o?.amount)&&!(0,c.A)(o?.currencyCode)?this.isProductOutOfStock?this.formatPriceWithCurrency(0):this.formatPriceWithCurrency(o.amount):""},formatPriceWithCurrencyNoDecimals(o){const t=this.convertAmount(o);return(0,r.A)(t,this.finalActiveCurrency,!0)}}}},66262(o,t){t.A=(o,t)=>{const n=o.__vccOpts||o;for(const[o,e]of t)n[o]=e;return n}},74629(o,t,n){n.d(t,{A:()=>u});var e=n(31963),r=n(49835),i=n(56887),c=n(85575);var a=n(49120),s=n(21956);const u=(o,t,n)=>{if(!o||!(0,a.A)(t))return;const u=n?.useStore??!0,d=n?.useCommonComponents??!0;u&&o.use(s.A),o.config.performance=!window.mstPrd,o.config.compilerOptions.whitespace="condense",o.use((0,i.n)({breadcrumb:!1,modalController:!1,modalManager:!0,rtl:!1,toast:!1,popover:!1})),d&&(o.component("b-modal",r.i),o.component("b-button",e.PF)),o.mount(t),(o=>{if(window.mstPrd)return;const t=window.__VUE_DEVTOOLS_GLOBAL_HOOK__;if(t){c.A.log("not development env - enabling vue devtools");const{version:n}=o;t.enabled=!0,t?.emit("app:init",o,n,{})}})(o)}},75289(o,t,n){function e(o,t,n,e){return null!=n&&o!==t?n/e:n}n.d(t,{A:()=>e})},87264(o,t,n){function e(o,t,n=!1){let e={style:"currency",currency:t};return!0===n&&(e={...e,minimumFractionDigits:0,maximumFractionDigits:0}),t&&t.length>0?Number(o).toLocaleString(document.documentElement.lang,e):""}n.d(t,{A:()=>e})},89775(o,t,n){n.d(t,{default:()=>q}),n.r(t);var e=n(41425);const r={class:"pixartpro-table-container"},i={class:"table-title"},c={class:"row"},a={class:"col-12 col-md-6"},s={class:"border-left"},u={class:"title"},d={class:"col-12 col-md-6"},l={class:"border-left"},p={class:"title"},m={class:"row head d-none d-md-flex transactions"},v={class:"col-3"},_={class:"col-3"},y={class:"col-3"},g={class:"col-3"},f={class:"col-12 col-md-3"},h={class:"col-12 col-md-3"},C={class:"col-12 col-md-3 text-green"},k={class:"col-12 col-md-3"},A={class:"col-12 col-md-3 text-red"};var L=n(82124),x=n(26001),O=n(85575);const b={name:"PixartproTable",mixins:[x.A],data:()=>({history:{},transactions:{},dataLoaded:!1}),computed:{...(0,L.L8)("dictionary",["getDictionaryVoice"]),monthBalance(){return this.history?.totale_accrediti_mese??0},monthRemaining(){return this.history?.residuo_mese??0}},mounted(){axios.post("/pixartpro/history/",{}).then(o=>{"success"===o.data.status&&(this.history=o.data.data,this.transactions=this.history?.transazioni,this.dataLoaded=!0)}).catch(o=>{O.A.log(o,"ajax ko")})}};var E=n(66262);const D=(0,E.A)(b,[["render",function(o,t,n,L,x,O){return(0,e.uX)(),(0,e.CE)("div",r,[(0,e.Lk)("div",i,(0,e.v_)(o.getDictionaryVoice("subscription","pixartpro_check")),1),(0,e.Lk)("div",c,[(0,e.Lk)("div",a,[(0,e.Lk)("div",s,[(0,e.Lk)("div",u,(0,e.v_)(o.getDictionaryVoice("subscription","pixartpro_saldo")),1),x.dataLoaded?((0,e.uX)(),(0,e.CE)(e.FK,{key:0},[(0,e.eW)((0,e.v_)(o.formatPriceWithCurrency(O.monthBalance)),1)],64)):((0,e.uX)(),(0,e.CE)(e.FK,{key:1},[(0,e.eW)(" --- ")],64))])]),(0,e.Lk)("div",d,[(0,e.Lk)("div",l,[(0,e.Lk)("div",p,(0,e.v_)(o.getDictionaryVoice("subscription","pixartpro_residuo")),1),x.dataLoaded?((0,e.uX)(),(0,e.CE)(e.FK,{key:0},[(0,e.eW)((0,e.v_)(o.formatPriceWithCurrency(O.monthRemaining)),1
1)],64)):((0,e.uX)(),(0,e.CE)(e.FK,{key:1},[(0,e.eW)(" --- ")],64))])])]),x.transactions&&x.transactions.length>0?((0,e.uX)(),(0,e.CE)(e.FK,{key:0},[(0,e.Lk)("div",m,[(0,e.Lk)("div",v,(0,e.v_)(o.getDictionaryVoice("subscription","nr_ordine")),1),(0,e.Lk)("div",_,(0,e.v_)(o.getDictionaryVoice("personal_area","pixartpro_data")),1),(0,e.Lk)("div",y,(0,e.v_)(o.getDictionaryVoice("common","lordo")),1),(0,e.Lk)("div",g,(0,e.v_)(o.getDictionaryVoice("subscription","pixartpro_buono")),1)]),((0,e.uX)(!0),(0,e.CE)(e.FK,null,(0,e.pI)(x.transactions,o=>((0,e.uX)(),(0,e.CE)("div",{class:"row body",key:o},[(0,e.Lk)("div",f,[(0,e.Lk)("strong",null,(0,e.v_)(o.id_ordine),1)]),(0,e.Lk)("div",h,(0,e.v_)(o.data),1),"accredito"===o.tipo?((0,e.uX)(),(0,e.CE)(e.FK,{key:0},[t[0]||(t[0]=(0,e.Lk)("div",{class:"col-12 col-md-3"},"-",-1)),(0,e.Lk)("div",C," + "+(0,e.v_)(Math.round(100*(o.importo+1e-5))/100),1)],64)):((0,e.uX)(),(0,e.CE)(e.FK,{key:1},[(0,e.Lk)("div",k,(0,e.v_)(Math.round(100*(o.costo_ordine+1e-5))/100),1),(0,e.Lk)("div",A," - "+(0,e.v_)(Math.round(100*(o.sconto_ordine+1e-5))/100),1)],64))]))),128))],64)):(0,e.Q3)("",!0)])}],["__scopeId","data-v-f068c61c"]]),X={class:"pixartpro-table-container"},I={class:"table-title"},P={class:"row"},W={class:"col-12 col-md-6"},V={class:"border-left"},F={class:"title"},w={class:"info-details"},K={key:0,class:"icon icon-c-plus_32px"},S={key:1,class:"icon icon-c-close_32px"},R={key:0},B={class:"col-12 col-md-6"},M={class:"border-left"},j={class:"title"},Q={class:"info-details"},T={key:0,class:"icon icon-c-plus_32px"},H={key:1,class:"icon icon-c-close_32px"},N={key:0};const U={name:"PixartproOngoing",mixins:[x.A],data:()=>({ongoing:0,current:0,dataLoaded:!1,isCurrentAmountInfoOpen:!1,isOngoingAmountInfoOpen:!1}),computed:{...(0,L.L8)("dictionary",["getDictionaryVoice"])},methods:{openCurrentAmountInfo(){this.isCurrentAmountInfoOpen=!this.isCurrentAmountInfoOpen},openOngoingAmountInfo(){this.isOngoingAmountInfoOpen=!this.isOngoingAmountInfoOpen}},mounted(){axios.get("/pixartpro/ongoing/",{}).then(o=>
1{200===o.status?(this.ongoing=o.data.ongoingAmount,this.current=o.data.currentAmount,this.dataLoaded=!0):O.A.log("Pixartpro ongoing ko")}).catch(o=>{O.A.log(o,"ajax ko")})}},z=(0,E.A)(U,[["render",function(o,t,n,r,i,c){return(0,e.uX)(),(0,e.CE)("div",X,[(0,e.Lk)("div",I,(0,e.v_)(o.getDictionaryVoice("pixartpro","pixartpro_ongoing_title")),1),(0,e.Lk)("div",P,[(0,e.Lk)("div",W,[(0,e.Lk)("div",V,[(0,e.Lk)("div",F,(0,e.v_)(o.getDictionaryVoice("pixartpro","pixartpro_current_amount_for")),1),i.dataLoaded?((0,e.uX)(),(0,e.CE)(e.FK,{key:0},[(0,e.eW)((0,e.v_)(o.formatPriceWithCurrency(i.current)),1)],64)):((0,e.uX)(),(0,e.CE)(e.FK,{key:1},[(0,e.eW)(" --- ")],64)),(0,e.Lk)("div",w,[(0,e.Lk)("a",{onClick:t[0]||(t[0]=(...o)=>c.openCurrentAmountInfo&&c.openCurrentAmountInfo(...o))},[i.isCurrentAmountInfoOpen?((0,e.uX)(),(0,e.CE)("span",S)):((0,e.uX)(),(0,e.CE)("span",K)),(0,e.eW)(" "+(0,e.v_)(o.getDictionaryVoice("pixartpro","info")),1)]),i.isCurrentAmountInfoOpen?((0,e.uX)(),(0,e.CE)("div",R,(0,e.v_)(o.getDictionaryVoice("pixartpro","pixartpro_current_amount_for_info")),1)):(0,e.Q3)("",!0)])])]),(0,e.Lk)("div",B,[(0,e.Lk)("div",M,[(0,e.Lk)("div",j,(0,e.v_)(o.getDictionaryVoice("pixartpro","pixartpro_ongoing_amount")),1),i.dataLoaded?((0,e.uX)(),(0,e.CE)(e.FK,{key:0},[(0,e.eW)((0,e.v_)(o.formatPriceWithCurrency(i.ongoing)),1)],64)):((0,e.uX)(),(0,e.CE)(e.FK,{key:1},[(0,e.eW)(" --- ")],64)),(0,e.Lk)("div",Q,[(0,e.Lk)("a",{onClick:t[1]||(t[1]=(...o)=>c.openOngoingAmountInfo&&c.openOngoingAmountInfo(...o))},[i.isOngoingAmountInfoOpen?((0,e.uX)(),(0,e.CE)("span",H)):((0,e.uX)(),(0,e.CE)("span",T)),(0,e.eW)(" "+(0,e.v_)(o.getDictionaryVoice("pixartpro","info")),1)]),i.isOngoingAmountInfoOpen?((0,e.uX)(),(0,e.CE)("div",N,(0,e.v_)(o.getDictionaryVoice("pixartpro","pixartpro_ongoing_amount_info")),1)):(0,e.Q3)("",!0)])])])])])}],["__scopeId","data-v-0bd1e62a"]]);var G=n(74629);const q=()=>{if(document.getElementById("pixartpro-user-data")){const o=(0,e.Ef)({components:{PixartproTable:D,PixartproOngoing:z}});(0,G.A)(o,"#pixartpro-user-data")}}}};

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.