PageSourceSearch

https://portal.urbis.primaria-calimanesti.ro/assets/MapLightPreset-c7a94dfb.js

js primaria-calimanesti.ro collected 2026-09-25 02:08:31 UTC 1,724 bytes, 1 lines download raw bytes

1import{_ as l,al as i}from"./index-cc1a661b.js";import{M as p,h as c,d as o,e as r,s as u,f as m,F as d,p as v,l as h,n as g,g as b}from"./vendor-ea0043bb.js";import"./mapbox-v3-eadefc84.js";import"./geo-1391ac6a.js";import"./mapbox-addons-be198bf9.js";import"./primevue-ca313794.js";import"./editor-b65e0429.js";import"./pdf-7415fc80.js";const P=p({name:"MapLightPreset",components:{MapButton:i},props:{controller:{type:Object,required:!0},size:{type:String,default:"small"}},data(){return{presets:[{label:this.$t("Day"),value:"day",icon:"/icons/toolbox/sun.svg"},{label:this.$t("Dusk"),value:"dusk",icon:"/icons/toolbox/dusk.svg"},{label:this.$t("Dawn"),value:"dawn",icon:"/icons/toolbox/dawn.svg"},{label:this.$t("Night"),value:"night",icon:"/icons/toolbox/moon.svg"}],currentPreset:null,isOpen:!1}},mounted(){this.currentPreset=this.presets[0]},methods:{changePreset(e){this.currentPreset=e,this.controller.mapInstance.setConfigProperty("basemap","lightPreset",e.value)}}}),f={class:"map-light-presets-options"};function $(e,s,k,y,z,B){const n=c("MapButton");return e.currentPreset?(o(),r("div",{key:0,class:g(["map-light-presets",{open:e.isOpen}]),onClick:s[0]||(s[0]=t=>e.isOpen=!e.isOpen)},[u(n,{label:e.currentPreset.label,size:e.size,icon:e.currentPreset.icon,active:!0,"map-controller":e.controller},null,8,["label","size","icon","map-controller"]),m("div",f,[(o(!0),r(d,null,v(e.presets,(t,a)=>(o(),h(n,{key:a,label:t.label,size:e.size,icon:t.icon,active:e.currentPreset.value===t.value,onAction:M=>e.changePreset(t),"map-controller":e.controller,pos:{position:"left"}},null,8,["label","size","icon","active","onAction","map-controller"]))),128))])],2)):b("",!0)}const A=l(P,[["render",$]]);export{A 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.