<template>
  <div class="map-wrapper">
    <div v-once :id="container" ref="container" />
    <slot v-if="initialized" />
  </div>
</template>

<script>
import withEvents from "../../lib/withEvents";
import mapEvents from "./events";
import options from "./options";
import withWatchers from "./mixins/withWatchers";
import withPrivateMethods from "./mixins/withPrivateMethods";
import withAsyncActions from "./mixins/withAsyncActions";
import mainPackage from "../../../package.json";

export default {
  name: "Map",
  mixins: [withWatchers, withAsyncActions, withPrivateMethods, withEvents],
  props: {
    mapboxGl: {
      type: Object,
      default: null
    },
    ...options
  },

  provide() {
    const self = this;
    return {
      get mapbox() {
        return self.mapbox;
      },
      get map() {
        return self.map;
      },
      get actions() {
        return self.actions;
      }
    };
  },

  data() {
    return {
      initial: true,
      initialized: false,
    };
  },

  computed: {
    loaded() {
      return this.map ? this.map.loaded() : false;
    },
    version() {
      return this.map ? this.map.version : null;
    },
    isStyleLoaded() {
      return this.map ? this.map.isStyleLoaded() : false;
    },
    areTilesLoaded() {
      return this.map ? this.map.areTilesLoaded() : false;
    },
    isMoving() {
      return this.map ? this.map.isMoving() : false;
    },
    canvas() {
      return this.map ? this.map.getCanvas() : null;
    },
    canvasContainer() {
      return this.map ? this.map.getCanvasContainer() : null;
    },
    images() {
      return this.map ? this.map.listImages() : null;
    },
    vueVersion() {
      let vueversion;
      Object.keys(mainPackage)
        .filter(i => i.includes("pendenc"))
        .forEach(item => {
          if (mainPackage[item]["vue"] != undefined)
            vueversion = mainPackage[item]["vue"];
        });
      vueversion = vueversion ? vueversion : ''; 
      return vueversion.slice(1);
    },
    componentVersion() {
      return mainPackage.version;
    }
  },

  created() {
    this.map = null;
    this.propsIsUpdating = {};
    this.mapboxPromise = this.mapboxGl
      ? Promise.resolve(this.mapboxGl)
      : import("mapbox-gl");
  },

  mounted() {
    let _this = this;
    this.$_loadMap().then(map => {
      this.map = map;
      let validStatuses = ['unavailable', 'error'];
      if (validStatuses.includes(_this.mapbox.getRTLTextPluginStatus())) {
        if (this.RTLTextPluginUrl !== undefined) {
          this.mapbox.setRTLTextPlugin (
            this.RTLTextPluginUrl,
            this.$_RTLTextPluginError
          );
        }
      }

      const eventNames = Object.keys(mapEvents);
      this.$_bindMapEvents(eventNames);
      this.$_registerAsyncActions(map);
      this.$_bindPropsUpdateEvents();
      this.initial = false;
      this.initialized = true;
      this.$emit("load", { map, component: this });
    });

    let holder = document.createElement("div");
    holder.className = "holder-logo";
    let link = document.createElement("a");
    link.href = "http://corp.map.ir/";
    link.target = "_blank";
    link.className = "map-logo";

    holder.appendChild(link);
    this.$refs.container.appendChild(holder);
  },

  beforeDestroy() {
    this.$nextTick(() => {
      if (this.map) this.map.remove();
    });
  }
};
</script>

<style>
/* @import url("https://api.mapbox.com/mapbox-gl-js/v1.6.0/mapbox-gl.css"); */

.mapboxgl-ctrl.mapboxgl-ctrl-attrib {
    padding: 0 5px;
    background-color: unset;
    margin: 7px;
}

.map-wrapper {
  height: 100%;
  position: relative;
  width: 100%;
}

.map-wrapper .mapboxgl-map {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.holder-logo {
  position: absolute;
  /* left: 50%; */
  bottom: 5px;
  -webkit-transform: translateX(20%);
  transform: translateX(20%);
  z-index: 850;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.holder-logo .map-logo {
  width: 60px;
  height: 20px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAREAAABLCAYAAABX9rOrAAAACXBIWXMAACE3AAAhNwEzWJ96AAAeBUlEQVR4nO1dC3RV1ZneJDeQhEcCvTw6iklrB5egBS0K2NVCly+cWo1StJ0OrxoKWi2BsRatlcQnPgqh4/ioqIDtrBmtAn2BVlfBWgPWKlTRpTNVGOy0hBRzkTyABGZ9O/s//HeffR733nMfwf2tdRbkvO45+/Gd/737HD16VGQRU9Q2Tgh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fWMouF5IFRE0iIlMisQRiERVQY2P+t+bS3RJZqC3zsYfIEomIdInEEohFVIBH5s7bGvYxKaTR1tnNDrJFIiJVIrEEYhEVoMKseWxlJyuovNnW2c0ewtQTyRSB9UgsgVikCTl4UULyoUdWDp84YcJfJp59Vnl5eTlfXS+yiuwWZuSCRIQfkVgCscgAQYM3sKCyRebIFYkIE5FgASpLIBYZwDR4E8oLU29tILlBLklE6ETCCjFbArFIB3ph6p2WOHKPXJOI4ESi/rYEYmHRi5EPEhGMSLZZArGw6MUQQvw/JxGnr48iTSAAAAAASUVORK5CYII=);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  bottom: 5px;
  position: relative;
}
</style>
