import React from "react";
import { getTopics } from "../../config/topics";
const topics = getTopics();
const defaultAttributes = [{
  name: "topic",
  type: "string",
  comp: "select",
  pathname: true,
  defaultValue: "ch.sbb.netzkarte",
  values: topics.wkp.map(t => t.key),
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, "Topic to display");
  }
}, {
  name: "layersVisibility",
  type: "array<string>",
  comp: "select",
  defaultValue: "",
  values: [],
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, "Layers to display, values available are depending on the topic selected.");
  }
}, {
  name: "elements",
  type: "array<string>",
  defaultValue: "",
  comp: "select",
  values: ["baseLayerSwitcher", "drawMenu", "exportMenu", "footer", "geolocationButton", "header", "mapControls", "menu", "overlay", "permalink(disabled)", "shareMenu", "search", "trackerMenu"],
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("div", null, "UI elements to hide:"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("li", null, "baseLayerSwitcher"), /*#__PURE__*/React.createElement("li", null, "drawMenu"), /*#__PURE__*/React.createElement("li", null, "exportMenu"), /*#__PURE__*/React.createElement("li", null, "footer"), /*#__PURE__*/React.createElement("li", null, "geolocationButton"), /*#__PURE__*/React.createElement("li", null, "header"), /*#__PURE__*/React.createElement("li", null, "mapControls"), /*#__PURE__*/React.createElement("li", null, "menu"), /*#__PURE__*/React.createElement("li", null, "overlay "), /*#__PURE__*/React.createElement("li", null, "permalink"), /*#__PURE__*/React.createElement("li", null, "shareMenu"), /*#__PURE__*/React.createElement("li", null, "search"), /*#__PURE__*/React.createElement("li", null, "trackerMenu"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("div", null, "Functionalities to deactivate:"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("li", null, "permalink - deactivates auto update of the window url (permalink disabled in this example)"));
  }
}, {
  name: "language",
  type: "string",
  comp: "select",
  defaultValue: "de",
  values: ["de", "fr", "it", "en"],
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, "Language of the application.");
  },
  props: {
    type: "text"
  }
}, {
  name: "center",
  type: "string",
  comp: "input",
  defaultValue: "[925472,5920000]",
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, "Initial map center. Needs to be a stringified JSON array with WGS84 coordinates");
  },
  props: {
    type: "text"
  }
}, {
  name: "zoom",
  type: "number",
  comp: "input",
  defaultValue: 9,
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, "Zoom level.");
  },
  props: {
    type: "number",
    inputProps: {
      min: 0,
      max: 20
    }
  }
}, {
  name: "embedded",
  type: "boolean",
  comp: "checkbox",
  defaultValue: false,
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, "If true, it improves mouse/touch interactions to avoid conflict with parent page.");
  },
  props: {
    type: "checkbox"
  }
}, {
  name: "lineName",
  type: "string",
  comp: "input",
  defaultValue: "",
  description: () => {
    return /*#__PURE__*/React.createElement("span", null, "Comma-separated list of line's name to display. Only works with the topic ch.sbb.direktverbindungen.single.");
  },
  props: {
    type: "text"
  }
}];
export default defaultAttributes;
//# sourceMappingURL=webComponentAttributes.js.map