/* eslint-disable */
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
import { SortOrder } from "./enums/sort-order.enum";
import { UnitSystem } from "./enums/unit-system.enum";
import { Location } from "@mapsindoors/typescript-interfaces";
import { LocationBookingDuration } from "./enums/location-booking-duration.enum";
import { IPositionProvider, MapsIndoorsPosition } from "./types/position-provider.interface";
import { NotificationPosition } from "./enums/notification-position.enum";
import { NotificationMessage } from "./types/notification-message.interface";
import { NotificationType } from "./enums/notification-type.enum";
import { Route } from "./types/route.interface";
import { RouteTravelMode } from "./enums/route-travel-mode.enum";
import { DirectionsTranslations } from "./types/directions-translations.interface";
export { SortOrder } from "./enums/sort-order.enum";
export { UnitSystem } from "./enums/unit-system.enum";
export { Location } from "@mapsindoors/typescript-interfaces";
export { LocationBookingDuration } from "./enums/location-booking-duration.enum";
export { IPositionProvider, MapsIndoorsPosition } from "./types/position-provider.interface";
export { NotificationPosition } from "./enums/notification-position.enum";
export { NotificationMessage } from "./types/notification-message.interface";
export { NotificationType } from "./enums/notification-type.enum";
export { Route } from "./types/route.interface";
export { RouteTravelMode } from "./enums/route-travel-mode.enum";
export { DirectionsTranslations } from "./types/directions-translations.interface";
export namespace Components {
interface ComboBoxItem {
/**
* @default false
*/
"disabled": boolean;
/**
* @default false
*/
"excludefromall": boolean;
/**
* @default false
*/
"selected": boolean;
"text": string;
"value": string;
}
interface MiCard {
}
interface MiChip {
/**
* Checks if the chip is active and applies different styling to the component.
* @type {boolean}
* @default false
*/
"active": boolean;
/**
* The background color of the chip. The default #005655 HEX value refers to the --brand-colors-dark-pine-100 from MIDT
* @type {string}
* @default '#005655'
*/
"backgroundColor"?: string;
/**
* The chip content that is displayed in the component.
* @type {string}
*/
"content": string;
/**
* The icon source.
* @type {string}
*/
"icon"?: string;
}
interface MiColumn {
/**
* The alignContent property sets the alignment of the column's content.
* @type {('left'|'center'|'right')}
* @default 'left'
* @example
* @memberof Column
*/
"alignContent": string;
/**
* The name of the property on the row object which value will be displayed.
* @type {string}
* @memberof Column
*/
"binding": string;
/**
* If present, the column width is fitted the content.
* @type {boolean}
* @memberof Column
* @default false
*/
"fitContent": boolean;
/**
* The label that will be shown in the table header.
* @type {string}
* @memberof Column
*/
"label": string;
/**
* The monospace property sets the font-family to monospace.
* @type {boolean}
* @memberof Column
* @default false
*/
"monospace": boolean;
/**
* If present, the table will be pre-sorted by this column.
* @type {('asc'|'desc')}
* @memberof Column
*/
"sort": string;
/**
* If present, the column will be sortable. *For sorting dates use `sortable="date"`.
* @type {(''|'date'|'default')}
* @memberof Column
*/
"sortable": string;
/**
* The width property sets the column's width. All CSS length units are accepted.
* @example
* @type {string}
* @default 'auto'
* @memberof Column
*/
"width": string;
}
interface MiComboBox {
/**
* Sets the disabled state for the dropdown.
* @default false
*/
"disabled": boolean;
/**
* This attribute indicates that the items can be filtered using the input field present at the top. If it is not specified, the input field will not be visible, and filtering is not possible.
* @type {boolean}
* @default false
*/
"filterable": boolean;
/**
* Gets or sets the list items.
* @type {Array}
* @returns
* @default []
*/
"items": Array;
/**
* Sort order of items.
* @type {SortOrder}
*/
"itemsOrder": SortOrder;
/**
* Guiding message when presented with a content window that has no rows. Default language is English.
* @default 'No results found'
*/
"noResultsMessage": string;
/**
* Gets or sets the state of the dropdown. If the attribute is set to true then the dropdown will be expanded.
* @type {boolean}
* @default false
*/
"open": boolean;
/**
* Gets the selected items.
* @type {Array}
* @default []
*/
"selected": Array;
}
interface MiDataTable {
/**
* Guiding message when presented with a table that has no rows.
* @default 'No results found'
*/
"emptyPageHeader": string;
/**
* Guiding message for actionable steps to be performed in order to render new search results.
*/
"emptyPageSubheader": string;
/**
* Whether or not the table header should be sticky.
* @default true
*/
"isHeaderSticky": boolean;
/**
* The maximum number of rows to be displayed.
*/
"maxRows": number;
/**
* The page of rows to be displayed. Eg. If the maxRows is set to be less the total number of rows, the page property can specify which chunk of rows to show.
*/
"page": number;
/**
* Array of objects for each row in the table.
* @default []
*/
"rows": Array;
/**
* The selectable attribute specifies whether the first column in the table should be checkboxes. The header will be a select all or none checkbox.
* @default false
*/
"selectable": boolean;
/**
* The selected property contains a Set of all selected rows. This property is only relevant if the selectable attribute is present.
* @default new Set()
*/
"selected": Set;
}
interface MiDistance {
/**
* Distance in meters.
* @type {number}
*/
"meters": number;
/**
* Set imperial or metric as default unit system. Default is Metric unless the browser is running US English. In that case Imperial.
* @type {UnitSystem}
* @default navigator.language === 'en-US' ? UnitSystem.Imperial : UnitSystem.Metric
*/
"unit": UnitSystem;
}
interface MiDropdown {
/**
* Clear filter.
*/
"clearFilter": () => Promise;
/**
* Sets the disabled state for the dropdown.
* @default false
*/
"disabled": boolean;
/**
* Sets the alignment of the dropdown. The default alignment is 'left'.
* @type {('right' | 'left')}
* @default 'left'
*/
"dropdownAlignment": 'right' | 'left';
/**
* This attribute indicates that the items can be filtered using the input field present at the top. If it is not specified, the input field will not be visible, and filtering is not possible.
* @type {boolean}
* @default false
*/
"filterable": boolean;
/**
* Sets the alternative text for the icon.
*/
"iconAlt": string;
/**
* Sets the icon on the left-hand side of the component.
*/
"iconSrc": string;
/**
* Gets or sets the list items.
* @type {Array}
* @default []
*/
"items": Array;
/**
* Sort order of items.
* @type {SortOrder}
*/
"itemsOrder": SortOrder;
/**
* The label will be displayed in as the text of the dropdown if the attribute multiple is present. Only required if multiple is present.
* @type {string}
*/
"label": string;
/**
* This attribute indicates that multiple items can be selected in the list. If it is not specified, then only one item can be selected at a time.
* @type {boolean}
* @default false
*/
"multiple": boolean;
/**
* Guiding message when presented with a content window that has no rows. Default language is English.
* @default 'No results found'
*/
"noResultsMessage": string;
/**
* Gets or sets the state of the dropdown. If the attribute is set to true then the dropdown will be expanded.
* @type {boolean}
* @default false
*/
"open": boolean;
/**
* If present, it dictates placeholder for an filterable input field in the dropdown. Defaults to 'Type to filter...'.
* @type {string}
* @default 'Type to filter...'
*/
"placeholder": string;
/**
* Gets the selected items.
* @type {Array}
* @default []
*/
"selected": Array;
}
interface MiDropdownItem {
/**
* @default false
*/
"disabled": boolean;
/**
* @default false
*/
"excludefromall": boolean;
/**
* @default false
*/
"selected": boolean;
"text": string;
"value": string;
}
interface MiFloorSelector {
/**
* MapsIndoors instance.
*/
"mapsindoors": any;
/**
* The color to use as the primary color (as background color of the selected floor in the list).
* @type {string}
* @default '#005655'
*/
"primaryColor"?: string;
}
interface MiIcon {
/**
* The icon name. A list of supported icons can be found in the documentation.
* @type {string}
*/
"iconName": string;
}
interface MiKeyboard {
/**
* Clear the input field.
*/
"clearInputField": () => Promise;
/**
* The active input element.
* @type {HTMLInputElement}
*/
"inputElement": HTMLInputElement;
/**
* The keyboard layout to use, identified by language tag. Supported values: "en" / "en-us" (English), "da" / "da-dk" (Danish), "de" / "de-de" (German), "fr" / "fr-fr" (French), "it" / "it-it" (Italian), "es" / "es-es" (Spanish), "nl" / "nl-nl" (Dutch), "zh" / "zh-hans" / "zh-hant" / "zh-cn" / "zh-tw" (Chinese). Matching is case-insensitive. If omitted, the browser language is used; falls back to English.
*/
"language": string;
/**
* The keyboard layout to use. Defaults to alphabetic.
* @type {KeyboardLayout}
* @default KeyboardLayout.Alphabetic
*/
"layout": string;
}
interface MiList {
/**
* @description Determines if the MI Scroll Buttons Component should be rendered.
* @type {boolean}
* @default false
*/
"scrollButtonsEnabled": boolean;
/**
* @description Determines how far to scroll when clicking one of the buttons from the MI Scroll Buttons Component.
* @type {number}
* @default 100
*/
"scrollLength": number;
}
interface MiListItemCategory {
/**
* @description Array of Categories.
* @type {Array}
*/
"category": any;
/**
* @description List orientation. Accepts the following values: 'vertical' and 'horizontal'.
* @type {string}
* @default 'vertical'
*/
"orientation": string;
}
interface MiListItemLocation {
/**
* @description Optional URL to icon to render for the Location. If not set, imageURL on the Location data will be used.
* @type {string}
*/
"icon": string;
/**
* @description Add a badge to the location icon of the type given as value.
* @type {string}
*/
"iconBadge": string;
/**
* @description The value of the badge.
* @type {string} For availability, use "true" or "false".
*/
"iconBadgeValue": string;
/**
* @description The word used for "Level" when showing level info. When not passed, the nested `mi-location-info` resolves a localized default from the current MapsIndoors SDK language.
*/
"level": string;
/**
* @description Location object.
*/
"location": any;
/**
* Whether to show the External ID.
* @default true
*/
"showExternalId": boolean;
/**
* @description Set imperial or metric as unit for distance.
* @type {UnitSystem}
*/
"unit": UnitSystem;
}
interface MiLocationBooking {
/**
* The title of the created bookings. Defaults to "Booked".
* @type {string}
* @default 'Booked'
*/
"bookingTitle": string;
/**
* Wether booking should be performed for 30 or 60 minutes.
* @type {LocationBookingDuration}
* @default LocationBookingDuration.min30
*/
"duration": LocationBookingDuration;
/**
* MapsIndoors location to book.
* @type {Location} MapsIndoors location
*/
"location": Location;
/**
* How many time slots to show going forward in time. Default to 4.
* @default 4
*/
"show": number;
/**
* No bookings will be allowed before this hour. Default value is 8.
* @type {number} - the hour in 24h format
* @default 8
*/
"startHour": number;
/**
* No bookings will be allowed within and after this hour. Default value is 18.
* @type {number} - the hour (0-23)
* @default 18
*/
"stopHour": number;
/**
* Translations object for translatable strings.
* @default { book: 'Book', cancel: 'Cancel', booked: 'Booked' }
*/
"translations": {
book: string;
cancel: string;
booked: string;
};
}
interface MiLocationInfo {
/**
* @description The word used for "Level" when showing level info. When not passed, falls back to a localized default resolved from the current MapsIndoors SDK language (e.g. "楼层" for `zh-Hans`, "Etage" for `de`/`da`).
*/
"level"?: string;
/**
* @description Location object.
*/
"location": any;
/**
* @description Whether to show the External ID.
* @default true
*/
"showExternalId": boolean;
/**
* @description Whether to show the floor information. Default is true.
* @default true
*/
"showFloor": boolean;
}
interface MiMapGooglemaps {
/**
* Clear existing MapsIndoors location highlight.
* @returns
*/
"clearHighlightLocation": () => Promise;
/**
* Set to true to prevent external links on the map from opening. This can be useful when running the map on a kiosk where you never want the browser to navigate away.
* @type {boolean}
* @default false
*/
"disableExternalLinks": boolean;
/**
* Set or get the current floor index shown on the map.
* @type {string}
*/
"floorIndex": string;
/**
* Render the floor selector as a Map Control at the given position.
* @type {string}
*/
"floorSelectorControlPosition": string;
/**
* Get the MapsIndoors Directions Renderer Instance.
* @returns
*/
"getDirectionsRendererInstance": () => Promise;
/**
* Get the MapsIndoors Directions Service Instance.
* @returns
*/
"getDirectionsServiceInstance": () => Promise;
/**
* Get the map instance.
* @returns
*/
"getMapInstance": () => Promise;
/**
* Get the MapsIndoors instance.
* @returns
*/
"getMapsIndoorsInstance": () => Promise;
/**
* The Google Maps API key.
* @type {string}
* @default ''
*/
"gmApiKey": string;
/**
* Google Maps options. Defaults to zoom: 17, maxZoom: 21, center: { lat: 0, lng: 0 }, mapTypeControl: false, streetViewControl: false. https://developers.google.com/maps/documentation/javascript/reference/map#MapOptions
* @type {google.maps.MapOptions}
* @default { zoom: 17, maxZoom: 21, center: { lat: 0, lng: 0 }, mapTypeControl: false, streetViewControl: false }
*/
"gmOptions": google.maps.MapOptions;
/**
* Highlight a MapsIndoors location. Only a single location can be highlighted at the time.
* @param location
* @returns
*/
"highlightLocation": (location: Location) => Promise;
/**
* Set the component language. Default set to English (en). Will not react to changes.
* @default 'en'
*/
"language": string;
/**
* The MapsIndoors API key.
* @type {string}
* @default ''
*/
"miApiKey": string;
/**
* Render the My Position Control as a Map Control at the given position.
* @type {string}
*/
"myPositionControlPosition": string;
/**
* Styling of polygon highlight when a location is clicked. Set it to null to turn off highlighting.
* @type {object}
* @default { strokeColor: '#EF6CCE', strokeOpacity: 1, strokeWeight: 2, fillColor: '#EF6CCE', fillOpacity: 0.2 }
*/
"polygonHighlightOptions": { strokeColor: string; strokeOpacity: number; strokeWeight: number; fillColor: string; fillOpacity: number; };
/**
* Styling of how the polyline looks when getting a route. Color: The stroke color of direction polyline on the map. Accepts any legal HTML color value. Default: '#307ad9'. Opacity: The stroke opacity of directions polylines on the map. Numerical value between 0.0 and 1.0. Default: 1. Weight: The width of the direction polyline in pixels. Default: 4.
* @type {{ color: string, weight: number, opacity: number }}
* @default { color: '#3071d9', opacity: 1, weight: 4 }
*/
"polylineOptions": { color: string, weight: number, opacity: number };
}
interface MiMapMapbox {
/**
* The MapBox access token.
* @type {string}
* @default ''
*/
"accessToken": string;
/**
* Set or get the bearing of the map.
* @type {string}
* @default '0'
*/
"bearing": string;
/**
* Clear existing MapsIndoors location highlight.
* @returns
*/
"clearHighlightLocation": () => Promise;
/**
* Set to true to prevent external links on the map from opening. This can be useful when running the map on a kiosk where you never want the browser to navigate away.
* @type {boolean}
* @default false
*/
"disableExternalLinks": boolean;
/**
* Set or get the current floor index shown on the map.
* @type {string}
*/
"floorIndex": string;
/**
* Render the floor selector as a Map Control at the given position.
* @type {('top-left' | 'top-right' | 'bottom-left' | 'bottom-right')}
*/
"floorSelectorControlPosition": 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
/**
* Get the MapsIndoors Directions Renderer Instance.
* @returns
*/
"getDirectionsRendererInstance": () => Promise;
/**
* Get the MapsIndoors Directions Service Instance.
* @returns
*/
"getDirectionsServiceInstance": () => Promise;
/**
* Get the map instance.
* @returns
*/
"getMapInstance": () => Promise;
/**
* Get the MapsIndoors instance.
* @returns
*/
"getMapsIndoorsInstance": () => Promise;
/**
* Highlight a MapsIndoors location. Only a single location can be highlighted at the time.
* @param location
* @returns
*/
"highlightLocation": (location: Location) => Promise;
/**
* Set the component language. Default set to English (en). Will not react to changes.
* @default 'en'
*/
"language": string;
/**
* Set or get the max pitch of the map (0-85).
* @type {number}
* @default 60
*/
"maxPitch": number;
/**
* Set or get the max zoom level of the map.
* @type {string}
* @default undefined
*/
"maxZoom": string;
/**
* The MapsIndoors API key.
* @type {string}
* @default ''
*/
"miApiKey": string;
/**
* The minimum zoom level of the map.
* @type {number}
* @default 15
*/
"minZoom": number;
/**
* Render the My Position Control as a Map Control at the given position.
* @type {('top-left' | 'top-right' | 'bottom-left' | 'bottom-right')}
*/
"myPositionControlPosition": 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
/**
* Set or get the pitch (tilt) of the map. Measured in degrees (0-60).
* @type {string}
* @default '0'
*/
"pitch": string;
/**
* Styling of polygon highlight when a location is clicked. Set it to null to turn off highlighting.
* @type {object}
* @default { strokeColor: '#EF6CCE', strokeOpacity: 1, strokeWeight: 2, fillColor: '#EF6CCE', fillOpacity: 0.2 }
*/
"polygonHighlightOptions": { strokeColor: string; strokeOpacity: number; strokeWeight: number; fillColor: string; fillOpacity: number; };
/**
* Styling of how the polyline looks when getting a route. Color: The stroke color of direction polyline on the map. Accepts any legal HTML color value. Default: '#307ad9'. Opacity: The stroke opacity of directions polylines on the map. Numerical value between 0.0 and 1.0. Default: 1. Weight: The width of the direction polyline in pixels. Default: 4.
* @type {{ color: string, weight: number, opacity: number }}
* @default { color: '#3071d9', opacity: 1, weight: 4 }
*/
"polylineOptions": { color: string, weight: number, opacity: number };
/**
* Set or get the current zoom level of the map.
* @type {string}
* @default '17'
*/
"zoom": string;
}
interface MiMetricCard {
/**
* This can be used for displaying an error message if there are no data to be displayed.
* @type {string}
* @memberof MetricCard
*/
"error": string;
/**
* This is the metric title.
* @type {string}
* @memberof MetricCard
* @default ''
*/
"label": string;
/**
* When present a loading spinner will be displayed until the value or error attribute is set or the spinner attribute is removed
* @type {boolean}
* @memberof MetricCard
* @default false
*/
"spinner": boolean;
/**
* When present a info icon will be shown in the upper right corner of the card. When the mouse hovers over the icon tooltip will display the tip.
* @type {string}
* @memberof MetricCard
*/
"tip": string;
/**
* This is the metric value.
* @type {string}
* @memberof MetricCard
* @default ''
*/
"value": string;
}
interface MiMyPosition {
/**
* Accepts a custom position provider instance (supports both legacy and modern interfaces). This is the external API - what users pass to the component. It's optional and may be undefined or invalid.
*/
"customPositionProvider"?: IPositionProvider;
/**
* MapsIndoors instance.
*/
"mapsindoors": any;
/**
* Reference: https://app.mapsindoors.com/mapsindoors/js/sdk/latest/docs/PositionControlOptions.html.
*/
"myPositionOptions"?: any;
/**
* Sets a custom position. Works with any provider that implements setPosition. Uses this.positionProvider (the resolved provider) instead of this.customPositionProvider to ensure we're working with the validated, active provider.
*/
"setPosition": (position: MapsIndoorsPosition) => Promise;
/**
* Method for requesting the current position, emitting events and showing position on map based on result.
* @param selfInvoked - Used to track if call was invoked by clicking on position control or not.
*/
"watchPosition": (selfInvoked?: boolean) => Promise;
}
interface MiNotification {
/**
* Clear all notifications.
* @returns
*/
"clearAll": () => Promise;
/**
* Time the notification should be visible. Default value is 3.
* @type {number} - Duration in seconds.
* @default 3
*/
"duration": number;
/**
* Where the notifications should be positioned.
* @type {NotificationPosition}
* @default NotificationPosition.BOTTOM_RIGHT
*/
"position": NotificationPosition;
/**
* Show a notification.
* @param message - Message to display.
* @param type - Type of notification. Available types: 'info', 'warning', 'success', 'error' and 'none'.
* @param sticky - Set message as sticky to prevent it from disappearing.
* @returns
*/
"push": (message: string, type?: string, sticky?: boolean) => Promise;
}
interface MiRouteInstructions {
/**
* Set active step to populate it with an "active" class. Defaults to legIndex 0 and stepIndex 0.
* @type {{ legIndex: number, stepIndex: number }}
* @default { legIndex: 0, stepIndex: 0 }
*/
"activeStep": { legIndex: number, stepIndex: number };
/**
* If the end location is a MapsIndoors location, provide it to have the instructions present it. The destinationLocation attribute wins over the destinationName attribute.
* @type {Location}
*/
"destinationLocation": Location;
/**
* If the end location is a external location, provide a name to have the instructions present it. The destination name will not be rendered when the destinationLocation attribute is set.
* @type {string}
*/
"destinationName": string;
/**
* If indoor substeps/maneuvers should be hidden.
* @type {boolean}
* @default false
*/
"hideIndoorSubsteps": boolean;
/**
* If the origin location is a MapsIndoors location, provide it to have the instructions present it. The originLocation attribute wins over the originName attribute.
* @type {Location}
*/
"originLocation": Location;
/**
* If the origin location is a external location, provide a name to have the instructions present it. The origin name will not be rendered when the originLocation attribute is set.
* @type {string}
*/
"originName": string;
/**
* A MapsIndoors directions result object given from a getRoute call from DirectionsService.
* @type {Route}
*/
"route": Route;
/**
* Translations object for translatable labels.
* @default { walk: 'Walk', bike: 'Bike', transit: 'Transit', drive: 'Drive', leave: 'Leave', from: 'From', park: 'Park', at: 'at', building: 'Building', venue: 'Venue', takeStaircaseToLevel: 'Take staircase to level', takeLadderToLevel: 'Take the ladder to level', takeElevatorToLevel: 'Take elevator to level', takeEscalatorToLevel: 'Take escalator to level', takeWheelchairLiftToLevel: 'Take wheelchair lift to level', takeWheelchairRampToLevel: 'Take wheelchair ramp to level', exit: 'Exit', enter: 'Enter', stops: 'stops', andContinue: 'and continue', continueStraightAhead: 'Continue straight ahead', goLeft: 'Go left', goSharpLeft: 'Go sharp left', goSlightLeft: 'Go slight left', goRight: 'Go right', goSharpRight: 'Go sharp right', goSlightRight: 'Go slight right', turnAround: 'Turn around', days: 'd', hours: 'h', minutes: 'min', rideTheBus: 'Ride the bus' }
*/
"translations": DirectionsTranslations;
/**
* Set preferred travel mode. Defaults to "walking".
* @type {RouteTravelMode} 'walking', 'bicycling', 'transit', 'driving'.
* @default RouteTravelMode.Walking
*/
"travelMode": RouteTravelMode;
/**
* Set imperial or metric as default unit system.
* @type {UnitSystem} 'imperial' or 'metric'
* @default UnitSystem.Metric
*/
"unit": UnitSystem;
}
interface MiRouteInstructionsHeading {
/**
* The destination location name.
* @type {string}
*/
"destinationName": string;
/**
* The origin location name.
* @type {string}
*/
"originName": string;
/**
* The total travel duration in seconds.
* @type {number}
*/
"totalTravelTime": number;
/**
* The total walking distance in meters.
* @type {number}
*/
"totalWalkingDistance": number;
/**
* @default { from: 'From', to: 'To', avoidStairs: 'Avoid stairs', walk: 'Walk', walking: 'Walking', bike: 'Bike', bicycling: 'Bicycling', transit: 'Transit', car: 'Car', driving: 'Driving' }
*/
"translations": { from: string; to: string; avoidStairs: string; walk: string; walking: string; bike: string; bicycling: string; transit: string; car: string; driving: string; };
/**
* Set preferred travel mode. Defaults to "walking".
* @type {RouteTravelMode} 'walking', 'bicycling', 'transit', 'driving'.
* @default RouteTravelMode.Walking
*/
"travelMode": RouteTravelMode;
/**
* Set 'imperial' or 'metric' as default unit system.
* @type {UnitSystem} 'imperial' or 'metric'
* @default UnitSystem.Metric
*/
"unit": UnitSystem;
}
interface MiRouteInstructionsManeuver {
/**
* Maneuver to display given as stringified JSON.
* @type {string} - Maneuver/substep object passed as stringified JSON.
*/
"maneuver": string;
/**
* Object with translation strings as stringified JSON.
*/
"translations": string;
/**
* Set imperial or metric as default unit system.
* @type {UnitSystem} 'imperial' or 'metric'
* @default UnitSystem.Metric
*/
"unit": UnitSystem;
}
interface MiRouteInstructionsManeuverLegacy {
/**
* Maneuver to display given as stringified JSON.
* @type {string} - Maneuver/substep object passed as stringified JSON.
*/
"maneuver": string;
/**
* Object with translation strings as stringified JSON.
*/
"translations": string;
/**
* Set imperial or metric as default unit system.
* @type {UnitSystem} 'imperial' or 'metric'
* @default UnitSystem.Metric
*/
"unit": UnitSystem;
}
interface MiRouteInstructionsStep {
/**
* Programmatically close the substeps.
*/
"closeSubsteps": () => Promise;
/**
* The route context of previous step, if any.
* @type {string}
* @default ''
*/
"fromRouteContext": string;
/**
* The transit stop of previous step if any.
* @type {string}
*/
"fromTransitStop": string;
/**
* The travel mode of previous step, if any.
* @type {string}
*/
"fromTravelMode": string;
/**
* If indoor substeps/maneuvers should be hidden.
* @type {boolean}
* @default true
*/
"hideIndoorSubsteps": boolean;
/**
* Programmatically open the substeps.
*/
"openSubsteps": () => Promise;
/**
* @default true
*/
"showHeader": boolean;
/**
* Indicates if it should show the toggle button.
* @type {boolean}
* @default true
*/
"showToggleButton": boolean;
/**
* The step data object to render from. Must be passed as stringified JSON.
*/
"step": string;
/**
* Object with translation strings as stringified JSON.
*/
"translations": string;
/**
* Set imperial or metric as default unit system. Default is Metric unless the browser is running US English. In that case Imperial.
* @type {UnitSystem}
* @default navigator.language === 'en-US' ? UnitSystem.Imperial : UnitSystem.Metric
*/
"unit": UnitSystem;
}
interface MiRouteInstructionsStepHeader {
"closeSubsteps": () => Promise;
/**
* @default ''
*/
"fromRouteContext": string;
"fromTransitStop": string;
"fromTravelMode": string;
"openSubsteps": () => Promise;
/**
* @default true
*/
"showToggleButton": boolean;
"step": string;
"translations": string;
}
interface MiRouteInstructionsStepLegacy {
/**
* The route context of previous step, if any.
* @type {string}
* @default ''
*/
"fromRouteContext": string;
/**
* The transit stop of previous step if any.
* @type {string}
*/
"fromTransitStop": string;
/**
* The travel mode of previous step, if any.
* @type {string}
*/
"fromTravelMode": string;
/**
* If indoor substeps/maneuvers should be hidden.
* @type {boolean}
* @default true
*/
"hideIndoorSubsteps": boolean;
/**
* The step data object to render from. Must be passed as stringified JSON.
*/
"step": string;
/**
* Object with translation strings as stringified JSON.
*/
"translations": string;
/**
* Set imperial or metric as default unit system.
* @type {UnitSystem} 'imperial' or 'metric'
* @default UnitSystem.Metric
*/
"unit": UnitSystem;
}
interface MiScrollButtons {
/**
* Reference to the element with scroll on parent element.
* @type {HTMLDivElement}
*/
"scrollContainerElementRef": HTMLDivElement;
/**
* Determines how far to scroll when clicking one of the buttons. Default value is 100.
* @type {number}
* @default 100
*/
"scrollLength": number;
/**
* Update scroll buttons enabled/disabled states.
*/
"updateScrollButtons": () => Promise;
/**
* Updates enable/disable state for scroll up and down buttons.
* @returns
*/
"updateScrollButtonsState": () => Promise;
}
interface MiSearch {
/**
* Clear the input field.
*/
"clear": () => Promise;
/**
* Data attributes for the input field.
* @default {}
*/
"dataAttributes": { [key: string]: string };
/**
* Make the search field disabled
* @default false
*/
"disabled": boolean;
/**
* Set focus on the input field. The preventScroll boolean is passed as true to prevent the browser from scrolling the document to bring the newly-focused element into view.
*/
"focusInput": () => Promise;
/**
* Get hold of the search input field.
*/
"getInputField": () => Promise;
/**
* Restrict Google Places search to a specific country (two-character, ISO 3166-1 Alpha-2 compatible country code)
*/
"gmCountryCode": string;
/**
* If searching should include Google Places autocomplete suggestions. Remember to comply to Google's policy by showing a "Power By Google" badge somewhere on your page if not already showing a Google map: https://developers.google.com/places/web-service/policies
* @default false
*/
"google": boolean;
/**
* Id for the input field.
* @default ''
*/
"idAttribute": string;
/**
* The language used when retrieving Google Places or Mapbox autocomplete suggestions.
* @default 'en'
*/
"language": string;
/**
* If searching should include Mapbox autocomplete suggestions.
* @default false
*/
"mapbox": boolean;
/**
* If searching should include MapsIndoors locations.
* @default false
*/
"mapsindoors": boolean;
/**
* Search only Mapsindoors locations within given categories. Accepts comma separated list of categories, eg. 'toilet,office'
*/
"miCategories": string;
/**
* Which fields on MapsIndoors locations to search in. Comma separated string.
* @default 'name,description,aliases,categories,externalId'
*/
"miFields": string;
/**
* Search for MapsIndoors locations near a point. Can either be lat,lng coordinate as a string, eg. '-12.3456,45.6789' or a string in the format "type:id" e.g. "venue:586ca9f1bc1f5702406442b6"
*/
"miNear": string;
/**
* Specify Mapsindoors search ordering
*/
"miOrder": string;
/**
* Tell Mapsindoors to skip a number of results. Combine with miTake for pagination purposes.
*/
"miSkip": number;
/**
* Restrict how many Mapsindoors results to request.
*/
"miTake": number;
/**
* Restrict search results to a speficic venue (id or name)
*/
"miVenue": string;
/**
* Placeholder for the input field.
* @default ''
*/
"placeholder": string;
/**
* The Mapbox Session Token used for getting Mapbox autocomplete suggestions.
*/
"sessionToken": string;
/**
* Sets text to be shown in the search field. Setting it will not perform a search.
*/
"setDisplayText": (displayText: string) => Promise;
/**
* Programmatically trigger the search.
*/
"triggerSearch": () => Promise;
/**
* The user position which can determine the proximity for the Mapbox places results.
*/
"userPosition": string;
/**
* Get or set the entered value
*/
"value": string;
}
interface MiShareSms {
/**
* Default value for country code input field.
* @type {string}
* @default '1'
*/
"countryCode": string;
/**
* MapsIndoors id for destination location.
* @type {string}
*/
"destinationLocationId": string;
/**
* MapsIndoors id for origin location.
* @type {string}
*/
"originLocationId": string;
/**
* Placeholder text for phone number input field.
* @type {string}
* @default 'Enter phone number'
*/
"phoneNumberInputPlaceholder": string;
/**
* Label for submit button.
* @type {string}
* @default 'Send SMS'
*/
"submitButtonLabel": string;
/**
* MapsIndoors venue id.
* @type {string}
*/
"venueId": string;
}
interface MiSpinner {
/**
* The inverse attribute will inverse the color of the spinner.
* @type {boolean}
* @default false
*/
"inverse": boolean;
}
interface MiStepSwitcher {
/**
* Heading to display.
* @type {string}
*/
"heading": string;
/**
* Step index to show. Defaults to first step.
* @type {number}
* @default 0
*/
"stepIndex": number;
/**
* Steps to display dots for.
* @type {any[]}
* @default []
*/
"steps": any[];
}
interface MiTab {
"label": string;
"tabFor": string;
}
interface MiTabPanel {
"active": (active?: boolean) => Promise;
}
interface MiTabs {
/**
* @default 0
*/
"active": number;
/**
* Sets a border surrounding the content view.
* @default false
*/
"bordered": boolean;
}
interface MiTime {
/**
* Time in seconds.
* @type {string}
*/
"seconds": number;
/**
* Object with translation strings as stringified JSON. Default translations {days: 'd', hours: 'h', minutes: 'min'}.
*/
"translations": string;
}
}
export interface MiColumnCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiColumnElement;
}
export interface MiComboBoxCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiComboBoxElement;
}
export interface MiDataTableCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiDataTableElement;
}
export interface MiDropdownCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiDropdownElement;
}
export interface MiListItemCategoryCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiListItemCategoryElement;
}
export interface MiListItemLocationCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiListItemLocationElement;
}
export interface MiLocationBookingCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiLocationBookingElement;
}
export interface MiMapGooglemapsCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiMapGooglemapsElement;
}
export interface MiMapMapboxCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiMapMapboxElement;
}
export interface MiMyPositionCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiMyPositionElement;
}
export interface MiRouteInstructionsCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiRouteInstructionsElement;
}
export interface MiRouteInstructionsStepCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiRouteInstructionsStepElement;
}
export interface MiRouteInstructionsStepHeaderCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiRouteInstructionsStepHeaderElement;
}
export interface MiRouteInstructionsStepLegacyCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiRouteInstructionsStepLegacyElement;
}
export interface MiSearchCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiSearchElement;
}
export interface MiShareSmsCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiShareSmsElement;
}
export interface MiStepSwitcherCustomEvent extends CustomEvent {
detail: T;
target: HTMLMiStepSwitcherElement;
}
declare global {
interface HTMLComboBoxItemElement extends Components.ComboBoxItem, HTMLStencilElement {
}
var HTMLComboBoxItemElement: {
prototype: HTMLComboBoxItemElement;
new (): HTMLComboBoxItemElement;
};
interface HTMLMiCardElement extends Components.MiCard, HTMLStencilElement {
}
var HTMLMiCardElement: {
prototype: HTMLMiCardElement;
new (): HTMLMiCardElement;
};
interface HTMLMiChipElement extends Components.MiChip, HTMLStencilElement {
}
var HTMLMiChipElement: {
prototype: HTMLMiChipElement;
new (): HTMLMiChipElement;
};
interface HTMLMiColumnElementEventMap {
"clicked": object;
}
interface HTMLMiColumnElement extends Components.MiColumn, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiColumnElement, ev: MiColumnCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiColumnElement, ev: MiColumnCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiColumnElement: {
prototype: HTMLMiColumnElement;
new (): HTMLMiColumnElement;
};
interface HTMLMiComboBoxElementEventMap {
"change": any;
}
interface HTMLMiComboBoxElement extends Components.MiComboBox, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiComboBoxElement, ev: MiComboBoxCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiComboBoxElement, ev: MiComboBoxCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiComboBoxElement: {
prototype: HTMLMiComboBoxElement;
new (): HTMLMiComboBoxElement;
};
interface HTMLMiDataTableElementEventMap {
"selectionChanged": object;
}
interface HTMLMiDataTableElement extends Components.MiDataTable, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiDataTableElement, ev: MiDataTableCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiDataTableElement, ev: MiDataTableCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiDataTableElement: {
prototype: HTMLMiDataTableElement;
new (): HTMLMiDataTableElement;
};
interface HTMLMiDistanceElement extends Components.MiDistance, HTMLStencilElement {
}
var HTMLMiDistanceElement: {
prototype: HTMLMiDistanceElement;
new (): HTMLMiDistanceElement;
};
interface HTMLMiDropdownElementEventMap {
"change": any;
"cleared": void;
}
interface HTMLMiDropdownElement extends Components.MiDropdown, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiDropdownElement, ev: MiDropdownCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiDropdownElement, ev: MiDropdownCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiDropdownElement: {
prototype: HTMLMiDropdownElement;
new (): HTMLMiDropdownElement;
};
interface HTMLMiDropdownItemElement extends Components.MiDropdownItem, HTMLStencilElement {
}
var HTMLMiDropdownItemElement: {
prototype: HTMLMiDropdownItemElement;
new (): HTMLMiDropdownItemElement;
};
interface HTMLMiFloorSelectorElement extends Components.MiFloorSelector, HTMLStencilElement {
}
var HTMLMiFloorSelectorElement: {
prototype: HTMLMiFloorSelectorElement;
new (): HTMLMiFloorSelectorElement;
};
interface HTMLMiIconElement extends Components.MiIcon, HTMLStencilElement {
}
var HTMLMiIconElement: {
prototype: HTMLMiIconElement;
new (): HTMLMiIconElement;
};
interface HTMLMiKeyboardElement extends Components.MiKeyboard, HTMLStencilElement {
}
var HTMLMiKeyboardElement: {
prototype: HTMLMiKeyboardElement;
new (): HTMLMiKeyboardElement;
};
interface HTMLMiListElement extends Components.MiList, HTMLStencilElement {
}
var HTMLMiListElement: {
prototype: HTMLMiListElement;
new (): HTMLMiListElement;
};
interface HTMLMiListItemCategoryElementEventMap {
"categoryClicked": any;
"listItemDidRender": any;
}
interface HTMLMiListItemCategoryElement extends Components.MiListItemCategory, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiListItemCategoryElement, ev: MiListItemCategoryCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiListItemCategoryElement, ev: MiListItemCategoryCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiListItemCategoryElement: {
prototype: HTMLMiListItemCategoryElement;
new (): HTMLMiListItemCategoryElement;
};
interface HTMLMiListItemLocationElementEventMap {
"locationClicked": any;
"listItemDidRender": any;
}
interface HTMLMiListItemLocationElement extends Components.MiListItemLocation, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiListItemLocationElement, ev: MiListItemLocationCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiListItemLocationElement, ev: MiListItemLocationCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiListItemLocationElement: {
prototype: HTMLMiListItemLocationElement;
new (): HTMLMiListItemLocationElement;
};
interface HTMLMiLocationBookingElementEventMap {
"bookingCompleted": object;
"bookingFailed": Error;
"cancelCompleted": void;
"cancelFailed": Error;
}
interface HTMLMiLocationBookingElement extends Components.MiLocationBooking, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiLocationBookingElement, ev: MiLocationBookingCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiLocationBookingElement, ev: MiLocationBookingCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiLocationBookingElement: {
prototype: HTMLMiLocationBookingElement;
new (): HTMLMiLocationBookingElement;
};
interface HTMLMiLocationInfoElement extends Components.MiLocationInfo, HTMLStencilElement {
}
var HTMLMiLocationInfoElement: {
prototype: HTMLMiLocationInfoElement;
new (): HTMLMiLocationInfoElement;
};
interface HTMLMiMapGooglemapsElementEventMap {
"mapsIndoorsReady": any;
}
interface HTMLMiMapGooglemapsElement extends Components.MiMapGooglemaps, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiMapGooglemapsElement, ev: MiMapGooglemapsCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiMapGooglemapsElement, ev: MiMapGooglemapsCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiMapGooglemapsElement: {
prototype: HTMLMiMapGooglemapsElement;
new (): HTMLMiMapGooglemapsElement;
};
interface HTMLMiMapMapboxElementEventMap {
"mapsIndoorsReady": any;
}
interface HTMLMiMapMapboxElement extends Components.MiMapMapbox, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiMapMapboxElement, ev: MiMapMapboxCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiMapMapboxElement, ev: MiMapMapboxCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiMapMapboxElement: {
prototype: HTMLMiMapMapboxElement;
new (): HTMLMiMapMapboxElement;
};
interface HTMLMiMetricCardElement extends Components.MiMetricCard, HTMLStencilElement {
}
var HTMLMiMetricCardElement: {
prototype: HTMLMiMetricCardElement;
new (): HTMLMiMetricCardElement;
};
interface HTMLMiMyPositionElementEventMap {
"position_error": object;
"position_received": object;
}
interface HTMLMiMyPositionElement extends Components.MiMyPosition, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiMyPositionElement, ev: MiMyPositionCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiMyPositionElement, ev: MiMyPositionCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiMyPositionElement: {
prototype: HTMLMiMyPositionElement;
new (): HTMLMiMyPositionElement;
};
interface HTMLMiNotificationElement extends Components.MiNotification, HTMLStencilElement {
}
var HTMLMiNotificationElement: {
prototype: HTMLMiNotificationElement;
new (): HTMLMiNotificationElement;
};
interface HTMLMiRouteInstructionsElementEventMap {
"clicked": object;
}
interface HTMLMiRouteInstructionsElement extends Components.MiRouteInstructions, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiRouteInstructionsElement, ev: MiRouteInstructionsCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiRouteInstructionsElement, ev: MiRouteInstructionsCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiRouteInstructionsElement: {
prototype: HTMLMiRouteInstructionsElement;
new (): HTMLMiRouteInstructionsElement;
};
interface HTMLMiRouteInstructionsHeadingElement extends Components.MiRouteInstructionsHeading, HTMLStencilElement {
}
var HTMLMiRouteInstructionsHeadingElement: {
prototype: HTMLMiRouteInstructionsHeadingElement;
new (): HTMLMiRouteInstructionsHeadingElement;
};
interface HTMLMiRouteInstructionsManeuverElement extends Components.MiRouteInstructionsManeuver, HTMLStencilElement {
}
var HTMLMiRouteInstructionsManeuverElement: {
prototype: HTMLMiRouteInstructionsManeuverElement;
new (): HTMLMiRouteInstructionsManeuverElement;
};
interface HTMLMiRouteInstructionsManeuverLegacyElement extends Components.MiRouteInstructionsManeuverLegacy, HTMLStencilElement {
}
var HTMLMiRouteInstructionsManeuverLegacyElement: {
prototype: HTMLMiRouteInstructionsManeuverLegacyElement;
new (): HTMLMiRouteInstructionsManeuverLegacyElement;
};
interface HTMLMiRouteInstructionsStepElementEventMap {
"stepClicked": object;
"substepsToggled": void;
}
interface HTMLMiRouteInstructionsStepElement extends Components.MiRouteInstructionsStep, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiRouteInstructionsStepElement, ev: MiRouteInstructionsStepCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiRouteInstructionsStepElement, ev: MiRouteInstructionsStepCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiRouteInstructionsStepElement: {
prototype: HTMLMiRouteInstructionsStepElement;
new (): HTMLMiRouteInstructionsStepElement;
};
interface HTMLMiRouteInstructionsStepHeaderElementEventMap {
"substepsToggled": void;
}
interface HTMLMiRouteInstructionsStepHeaderElement extends Components.MiRouteInstructionsStepHeader, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiRouteInstructionsStepHeaderElement, ev: MiRouteInstructionsStepHeaderCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiRouteInstructionsStepHeaderElement, ev: MiRouteInstructionsStepHeaderCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiRouteInstructionsStepHeaderElement: {
prototype: HTMLMiRouteInstructionsStepHeaderElement;
new (): HTMLMiRouteInstructionsStepHeaderElement;
};
interface HTMLMiRouteInstructionsStepLegacyElementEventMap {
"stepClicked": object;
}
interface HTMLMiRouteInstructionsStepLegacyElement extends Components.MiRouteInstructionsStepLegacy, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiRouteInstructionsStepLegacyElement, ev: MiRouteInstructionsStepLegacyCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiRouteInstructionsStepLegacyElement, ev: MiRouteInstructionsStepLegacyCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiRouteInstructionsStepLegacyElement: {
prototype: HTMLMiRouteInstructionsStepLegacyElement;
new (): HTMLMiRouteInstructionsStepLegacyElement;
};
interface HTMLMiScrollButtonsElement extends Components.MiScrollButtons, HTMLStencilElement {
}
var HTMLMiScrollButtonsElement: {
prototype: HTMLMiScrollButtonsElement;
new (): HTMLMiScrollButtonsElement;
};
interface HTMLMiSearchElementEventMap {
"results": object[];
"cleared": void;
"componentRendered": void;
"shortInput": void;
"changed": void;
"focused": void;
}
interface HTMLMiSearchElement extends Components.MiSearch, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiSearchElement, ev: MiSearchCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiSearchElement, ev: MiSearchCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiSearchElement: {
prototype: HTMLMiSearchElement;
new (): HTMLMiSearchElement;
};
interface HTMLMiShareSmsElementEventMap {
"successfullySent": any;
"unsuccessfullySent": string;
}
interface HTMLMiShareSmsElement extends Components.MiShareSms, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiShareSmsElement, ev: MiShareSmsCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiShareSmsElement, ev: MiShareSmsCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiShareSmsElement: {
prototype: HTMLMiShareSmsElement;
new (): HTMLMiShareSmsElement;
};
interface HTMLMiSpinnerElement extends Components.MiSpinner, HTMLStencilElement {
}
var HTMLMiSpinnerElement: {
prototype: HTMLMiSpinnerElement;
new (): HTMLMiSpinnerElement;
};
interface HTMLMiStepSwitcherElementEventMap {
"stepIndexChanged": number;
}
interface HTMLMiStepSwitcherElement extends Components.MiStepSwitcher, HTMLStencilElement {
addEventListener(type: K, listener: (this: HTMLMiStepSwitcherElement, ev: MiStepSwitcherCustomEvent) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLMiStepSwitcherElement, ev: MiStepSwitcherCustomEvent) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLMiStepSwitcherElement: {
prototype: HTMLMiStepSwitcherElement;
new (): HTMLMiStepSwitcherElement;
};
interface HTMLMiTabElement extends Components.MiTab, HTMLStencilElement {
}
var HTMLMiTabElement: {
prototype: HTMLMiTabElement;
new (): HTMLMiTabElement;
};
interface HTMLMiTabPanelElement extends Components.MiTabPanel, HTMLStencilElement {
}
var HTMLMiTabPanelElement: {
prototype: HTMLMiTabPanelElement;
new (): HTMLMiTabPanelElement;
};
interface HTMLMiTabsElement extends Components.MiTabs, HTMLStencilElement {
}
var HTMLMiTabsElement: {
prototype: HTMLMiTabsElement;
new (): HTMLMiTabsElement;
};
interface HTMLMiTimeElement extends Components.MiTime, HTMLStencilElement {
}
var HTMLMiTimeElement: {
prototype: HTMLMiTimeElement;
new (): HTMLMiTimeElement;
};
interface HTMLElementTagNameMap {
"combo-box-item": HTMLComboBoxItemElement;
"mi-card": HTMLMiCardElement;
"mi-chip": HTMLMiChipElement;
"mi-column": HTMLMiColumnElement;
"mi-combo-box": HTMLMiComboBoxElement;
"mi-data-table": HTMLMiDataTableElement;
"mi-distance": HTMLMiDistanceElement;
"mi-dropdown": HTMLMiDropdownElement;
"mi-dropdown-item": HTMLMiDropdownItemElement;
"mi-floor-selector": HTMLMiFloorSelectorElement;
"mi-icon": HTMLMiIconElement;
"mi-keyboard": HTMLMiKeyboardElement;
"mi-list": HTMLMiListElement;
"mi-list-item-category": HTMLMiListItemCategoryElement;
"mi-list-item-location": HTMLMiListItemLocationElement;
"mi-location-booking": HTMLMiLocationBookingElement;
"mi-location-info": HTMLMiLocationInfoElement;
"mi-map-googlemaps": HTMLMiMapGooglemapsElement;
"mi-map-mapbox": HTMLMiMapMapboxElement;
"mi-metric-card": HTMLMiMetricCardElement;
"mi-my-position": HTMLMiMyPositionElement;
"mi-notification": HTMLMiNotificationElement;
"mi-route-instructions": HTMLMiRouteInstructionsElement;
"mi-route-instructions-heading": HTMLMiRouteInstructionsHeadingElement;
"mi-route-instructions-maneuver": HTMLMiRouteInstructionsManeuverElement;
"mi-route-instructions-maneuver-legacy": HTMLMiRouteInstructionsManeuverLegacyElement;
"mi-route-instructions-step": HTMLMiRouteInstructionsStepElement;
"mi-route-instructions-step-header": HTMLMiRouteInstructionsStepHeaderElement;
"mi-route-instructions-step-legacy": HTMLMiRouteInstructionsStepLegacyElement;
"mi-scroll-buttons": HTMLMiScrollButtonsElement;
"mi-search": HTMLMiSearchElement;
"mi-share-sms": HTMLMiShareSmsElement;
"mi-spinner": HTMLMiSpinnerElement;
"mi-step-switcher": HTMLMiStepSwitcherElement;
"mi-tab": HTMLMiTabElement;
"mi-tab-panel": HTMLMiTabPanelElement;
"mi-tabs": HTMLMiTabsElement;
"mi-time": HTMLMiTimeElement;
}
}
declare namespace LocalJSX {
type OneOf = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
interface ComboBoxItem {
/**
* @default false
*/
"disabled"?: boolean;
/**
* @default false
*/
"excludefromall"?: boolean;
/**
* @default false
*/
"selected"?: boolean;
"text"?: string;
"value"?: string;
}
interface MiCard {
}
interface MiChip {
/**
* Checks if the chip is active and applies different styling to the component.
* @type {boolean}
* @default false
*/
"active"?: boolean;
/**
* The background color of the chip. The default #005655 HEX value refers to the --brand-colors-dark-pine-100 from MIDT
* @type {string}
* @default '#005655'
*/
"backgroundColor"?: string;
/**
* The chip content that is displayed in the component.
* @type {string}
*/
"content"?: string;
/**
* The icon source.
* @type {string}
*/
"icon"?: string;
}
interface MiColumn {
/**
* The alignContent property sets the alignment of the column's content.
* @type {('left'|'center'|'right')}
* @default 'left'
* @example
* @memberof Column
*/
"alignContent"?: string;
/**
* The name of the property on the row object which value will be displayed.
* @type {string}
* @memberof Column
*/
"binding"?: string;
/**
* If present, the column width is fitted the content.
* @type {boolean}
* @memberof Column
* @default false
*/
"fitContent"?: boolean;
/**
* The label that will be shown in the table header.
* @type {string}
* @memberof Column
*/
"label"?: string;
/**
* The monospace property sets the font-family to monospace.
* @type {boolean}
* @memberof Column
* @default false
*/
"monospace"?: boolean;
/**
* Fired when clicking on content within a table cell for this column. Event detail contains the row data.
* @event clicked
* @type {EventEmitter}
*/
"onClicked"?: (event: MiColumnCustomEvent