PageSourceSearch

https://globaltradealert.org/_nuxt/B7lQFYN42.js

js globaltradealert.org collected 2026-10-01 09:04:20 UTC 4,545 bytes, 1 lines download raw bytes

1import{Bt as e,H as t,Lt as n,f as r,p as i,r as a,u as o,v as s,z as c}from"./Bsvs8Lbu.js";import{t as l}from"./BDNMzG2s.js";var u={name:`ExportDropdown`,props:{buttonText:{type:String,default:`Export`},buttonClass:{type:String,default:`ml-auto`},formats:{type:Array,default:()=>[{label:`csv`,value:`csv`},{label:`xlsx`,value:`xlsx`}]},source:{type:String,default:``}},data(){return{isOpen:!1}},mounted(){document.addEventListener(`click`,this.handleClickOutside)},beforeUnmount(){document.removeEventListener(`click`,this.handleClickOutside)},methods:{toggleDropdown(){this.isOpen=!this.isOpen},handleClickOutside(e){let t=this.$refs.exportDropdown;t&&!t.contains(e.target)&&(this.isOpen=!1)},handleExport(e){this.$emit(`export`,{format:e,source:this.source}),this.isOpen=!1}}},d={class:`relative inline-block`,ref:`exportDropdown`},f={key:0,class:`border absolute right-0 mt-1 w-auto bg-white rounded-md shadow-lg z-[9999]`},p={class:`py-1`},m=[`onClick`],h={class:`text-14 font-medium w-3`};function g(l,u,g,_,v,y){return c(),i(`div`,d,[o(`button`,{type:`button`,class:n([`btn`,g.buttonClass]),onClick:u[0]||=(...e)=>y.toggleDropdown&&y.toggleDropdown(...e)},[s(e(g.buttonText)+` `,1),u[1]||=o(`svg`,{width:`10`,height:`13`,viewBox:`0 0 10 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},[o(`path`,{opacity:`0.9`,d:`M9.327 5.00733H9.057V3.70733C9.05748 3.699 9.05748 3.69065 9.057 3.68233C9.05759 3.62993 9.0391 3.57911 9.005 3.53933L6.835 1.06133C6.82204 1.0471 6.80724 1.03466 6.791 1.02433L6.775 1.01433C6.76099 1.00684 6.74625 1.00081 6.731 0.996328H6.719C6.70278 0.991059 6.686 0.987703 6.669 0.986328L1.341 0.986328C1.28309 0.986328 1.22574 0.997735 1.17224 1.0199C1.11873 1.04206 1.07012 1.07454 1.02917 1.11549C0.988215 1.15644 0.955731 1.20506 0.933569 1.25856C0.911407 1.31207 0.9 1.36942 0.9 1.42733V5.00733H0.630001C0.462915 5.00733 0.302671 5.0737 0.184523 5.19185C0.0663747 5.31 0 5.47024 0 5.63733V8.91433C0 9.08141 0.0663747 9.24166 0.184523 9.35981C0.302671 9.47795 0.462915 9.54433 0.630001 9.54433H0.9V11.7863C0.9 11.8442 0.911407 11.9016 0.933569 11.9551C0.955731 12.0086 0.988215 12.0572 1.02917 12.0982C1.07012 12.1391 1.11873 12.1716 1.17224 12.1938C1.22574 12.2159 1.28309 12.2273 1.341 12.2273H8.615C8.73196 12.2273 8.84413 12.1809 8.92684 12.0982C9.00954 12.0155 9.056 11.9033 9.056 11.7863V9.54433H9.326C9.49309 9.54433 9.65333 9.47795 9.77148 9.35981C9.88963 9.24166 9.956 9.08141 9.956 8.91433V5.63733C9.956 5.47042 9.88976 5.31032 9.77183 5.1922C9.6539 5.07408 9.49391 5.00759 9.327 5.00733ZM1.341 1.42733H6.447V3.68633C6.447 3.74468 6.47018 3.80063 6.51144 3.84189C6.5527 3.88315 6.60865 3.90633 6.667 3.90633H8.614V5.00633H1.341V1.42733ZM5.807 7.43833C5.374 7.28733 5.091 7.04833 5.091 6.66833C5.091 6.22333 5.462 5.88333 6.078 5.88333C6.30648 5.879 6.53323 5.92367 6.743 6.01433L6.612 6.49033C6.44213 6.40809 6.25573 6.36568 6.067 6.36633C5.812 6.36633 5.688 6.48233 5.688 6.61733C5.688 6.78333 5.835 6.85733 6.171 6.98433C6.631 7.15433 6.848 7.39433 6.848 7.76233C6.848 8.19933 6.511 8.57133 5.796 8.57133C5.54086 8.57446 5.28828 8.52012 5.057 8.41233L5.177 7.92533C5.37989 8.02837 5.60348 8.0841 5.831 8.08833C6.102 8.08833 6.245 7.97633 6.245 7.80633C6.245 7.63633 6.12 7.55033 5.807 7.43833ZM4.807 8.03833V8.53833H3.181V5.92533H3.773V8.03733L4.807 8.03833ZM1.287 8.53833H0.614L1.368 7.21933L0.641001 5.92533H1.318L1.546 6.40133C1.623 6.56033 1.681 6.68733 1.746 6.83433H1.754C1.816 6.66833 1.866 6.55233 1.932 6.40133L2.153 5.92533H2.826L2.091 7.19733L2.865 8.53233H2.184L1.948 8.06033C1.848 7.87833 1.79 7.74333 1.716 7.59233H1.708C1.654 7.74333 1.588 7.87833 1.508 8.06033L1.287 8.53833ZM8.613 11.6733H1.341V9.54433H8.615V11.6683L8.613 11.6733ZM8.613 8.53833L8.377 8.06633C8.277 7.88433 8.218 7.74933 8.145 7.59833H8.141C8.087 7.74933 8.021 7.88433 7.941 8.06633L7.725 8.53833H7.052L7.806 7.21933L7.079 5.93133H7.756L7.984 6.40733C8.061 6.56633 8.119 6.69333 8.184 6.84033H8.192C8.254 6.67433 8.304 6.55833 8.37 6.40733L8.59 5.93133H9.263L8.528 7.20433L9.302 8.53933H8.621L8.613 8.53833Z`})],-1)],2),v.isOpen?(c(),i(`div`,f,[o(`div`,p,[(c(!0),i(a,null,t(g.formats,t=>(c(),i(`button`,{key:t.value,onClick:e=>y.handleExport(t.value),class:`flex items-center justify-between w-full text-14 text-gray-700 hover:bg-gray-100 text-left px-2 py-0.5`},[o(`span`,h,e(t.label),1),u[2]||=o(`span`,{class:`text-12 mdi mdi-file-excel-outline pl-1`},null,-1)],8,m))),128))])])):r(``,!0)],512)}var _=Object.assign(l(u,[[`render`,g],[`__scopeId`,`data-v-a63e9ede`]]),{__name:`CommonExportDropdown`});export{_ as t};

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.