PageSourceSearch

https://metrics-wh.com/build/assets/OptionIEEECopyrightConfig-BIQCD_Nb.js

js metrics-wh.com collected 2026-10-04 19:21:46 UTC 4,693 bytes, 1 lines download raw bytes

1import{a as b}from"./password.esm-DPiJK_BX.js";import{s as _}from"./inputtext.esm-BcsU69e6.js";import{s as E}from"./inputswitch.esm-C-JLG1_K.js";import{w as g,o as V,j as d,q as u,s as l,y as a,H as r,x as I,r as x}from"./basedirective.esm-CYb1S43y.js";import"./basecomponent.esm-CyGjr3Z_.js";import"./index.esm-CscM2XuP.js";import"./ripple.esm-yaZzTaAT.js";import"./virtualscroller.esm-C9fv91PN.js";import"./button.esm-BK7iqm90.js";import"./portal.esm-CKFFSOar.js";const y={class:"mt-4"},C={class:"flex align-items-center justify-content-between p-3 border-round bg-gray-50 mb-4"},w={key:0,class:"flex flex-column gap-3"},A={class:"grid"},U={class:"col-12 md:col-6"},z={class:"col-12 md:col-6"},P={class:"grid"},N={class:"col-12"},T={class:"grid"},k={class:"col-12"},S={class:"col-12 md:col-6"},L={class:"col-12 md:col-6"},M={__name:"OptionIEEECopyrightConfig",props:{option_value:String},emits:["fields-change"],setup(c,{emit:p}){const m=p,i=c,o=x({enabled:0,api_base_url:"",client_id:"",client_secret:"",conference_record_number:"",publication_title:"",ecf_form_url:""});return g(o,s=>{m("fields-change",JSON.stringify(s))},{deep:!0}),V(()=>{if(i.option_value)try{const s=JSON.parse(i.option_value);o.value={enabled:s.enabled??0,api_base_url:s.api_base_url??"",client_id:s.client_id??"",client_secret:s.client_secret??"",conference_record_number:s.conference_record_number??"",publication_title:s.publication_title??"",ecf_form_url:s.ecf_form_url??""}}catch{}}),(s,e)=>{const f=E,n=_,v=b;return d(),u("div",y,[l("div",C,[e[7]||(e[7]=l("span",{class:"font-bold text-lg"},"Abilita integrazione IEEE eCopyright",-1)),a(f,{modelValue:o.value.enabled,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value.enabled=t),trueValue:1,falseValue:0},null,8,["modelValue"])]),o.value.enabled?(d(),u("div",w,[e[19]||(e[19]=l("div",{class:"font-bold text-sm uppercase text-color-secondary mt-2"},"Trasferimento copyright (firma autore)",-1)),l("div",A,[l("div",U,[e[8]||(e[8]=l("label",null,"Conference Record Number",-1)),a(n,{modelValue:o.value.conference_record_number,"onUpdate:modelValue":e[1]||(e[1]=t=>o.value.conference_record_number=t),class:"w-full",placeholder:"es. 68378"},null,8,["modelValue"]),e[9]||(e[9]=l("small",{class:"text-color-secondary"},[r("Codice "),l("code",null,"ArtSource"),r(" del form IEEE (e parametro "),l("code",null,"source"),r(" delle API).")],-1))]),l("div",z,[e[10]||(e[10]=l("label",null,"Titolo pubblicazione evento",-1)),a(n,{modelValue:o.value.publication_title,"onUpdate:modelValue":e[2]||(e[2]=t=>o.value.publication_title=t),class:"w-full",placeholder:"es. 2026 Workshop ... (ETECH4D)"},null,8,["modelValue"]),e[11]||(e[11]=l("small",{class:"text-color-secondary"},[r("Campo "),l("code",null,"PubTitle"),r(": deve coincidere col titolo ufficiale della Letter of Acquisition.")],-1))])]),l("div",P,[l("div",N,[e[12]||(e[12]=l("label",null,"URL form eCopyright IEEE (opzionale)",-1)),a(n,{modelValue:o.value.ecf_form_url,"onUpdate:modelValue":e[3]||(e[3]=t=>o.value.ecf_form_url=t),class:"w-full",placeholder:"https://ecopyright.ieee.org/ECTT/IntroPage.jsp"},null,8,["modelValue"]),e[13]||(e[13]=l("small",{class:"text-color-secondary"},[r("Lasciare vuoto per usare l'endpoint standard IEEE ("),l("code",null,"IntroPage.jsp"),r("). Compilare solo per forzare un URL diverso.")],-1))])]),e[20]||(e[20]=l("div",{class:"font-bold text-sm uppercase text-color-secondary mt-3"},"API verifica stato (opzionale)",-1)),l("div",T,[l("div",k,[e[14]||(e[14]=l("label",null,"URL base API IEEE",-1)),a(n,{modelValue:o.value.api_base_url,"onUpdate:modelValue":e[4]||(e[4]=t=>o.value.api_base_url=t),class:"w-full",placeholder:"https://services11.ieee.org"},null,8,["modelValue"]),e[15]||(e[15]=l("small",{class:"text-color-secondary"},[r("Endpoint base delle API IEEE, senza path finale (es. "),l("code",null,"https://services11.ieee.org"),r(" per test, "),l("code",null,"https://services13.ieee.org"),r(" per produzione).")],-1))]),l("div",S,[e[16]||(e[16]=l("label",null,"Client ID (OAuth)",-1)),a(n,{modelValue:o.value.client_id,"onUpdate:modelValue":e[5]||(e[5]=t=>o.value.client_id=t),class:"w-full",placeholder:"Fornito da IEEE"},null,8,["modelValue"])]),l("div",L,[e[17]||(e[17]=l("label",null,"Client Secret (OAuth)",-1)),a(v,{modelValue:o.value.client_secret,"onUpdate:modelValue":e[6]||(e[6]=t=>o.value.client_secret=t),class:"w-full",feedback:!1,"toggle-mask":"","
1input-class":"w-full",placeholder:"Fornito da IEEE"},null,8,["modelValue"])]),e[18]||(e[18]=l("div",{class:"col-12"},[l("small",{class:"text-color-secondary"},"Necessari solo per leggere via API lo stato della cessione. Il pulsante di firma funziona anche senza.")],-1))])])):I("",!0)])}}};export{M as default};

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.