UNPKG

@nova-ui/dashboards

Version:

Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and

1,678 lines 129 kB
"use strict"; // © 2022 SolarWinds Worldwide, LLC. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. Object.defineProperty(exports, "__esModule", { value: true }); exports.GRAPH_DATA_MOCK = void 0; const bits_1 = require("@nova-ui/bits"); exports.GRAPH_DATA_MOCK = { data: { countries: [ { name: "Andorra", code: "AD", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Andorra la Vella", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Catalan", }, ], }, { name: "United Arab Emirates", code: "AE", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Abu Dhabi", continent: { name: "Asia", }, currency: "AED", languages: [ { name: "Arabic", }, ], }, { name: "Afghanistan", code: "AF", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Kabul", continent: { name: "Asia", }, currency: "AFN", languages: [ { name: "Pashto", }, { name: "Uzbek", }, { name: "Turkmen", }, ], }, { name: "Antigua and Barbuda", code: "AG", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Saint John's", continent: { name: "North America", }, currency: "XCD", languages: [ { name: "English", }, ], }, { name: "Anguilla", code: "AI", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "The Valley", continent: { name: "North America", }, currency: "XCD", languages: [ { name: "English", }, ], }, { name: "Albania", code: "AL", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Tirana", continent: { name: "Europe", }, currency: "ALL", languages: [ { name: "Albanian", }, ], }, { name: "Armenia", code: "AM", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Yerevan", continent: { name: "Asia", }, currency: "AMD", languages: [ { name: "Armenian", }, { name: "Russian", }, ], }, { name: "Angola", code: "AO", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Luanda", continent: { name: "Africa", }, currency: "AOA", languages: [ { name: "Portuguese", }, ], }, { name: "Antarctica", code: "AQ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: null, continent: { name: "Antarctica", }, currency: null, languages: [], }, { name: "Argentina", code: "AR", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Buenos Aires", continent: { name: "South America", }, currency: "ARS", languages: [ { name: "Spanish", }, { name: "Guarani", }, ], }, { name: "American Samoa", code: "AS", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Pago Pago", continent: { name: "Oceania", }, currency: "USD", languages: [ { name: "English", }, { name: "Samoan", }, ], }, { name: "Austria", code: "AT", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Vienna", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "German", }, ], }, { name: "Australia", code: "AU", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Canberra", continent: { name: "Oceania", }, currency: "AUD", languages: [ { name: "English", }, ], }, { name: "Aruba", code: "AW", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Oranjestad", continent: { name: "North America", }, currency: "AWG", languages: [ { name: "Dutch", }, { name: "Panjabi / Punjabi", }, ], }, { name: "Åland", code: "AX", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Mariehamn", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Swedish", }, ], }, { name: "Azerbaijan", code: "AZ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Baku", continent: { name: "Asia", }, currency: "AZN", languages: [ { name: "Azerbaijani", }, ], }, { name: "Bosnia and Herzegovina", code: "BA", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Sarajevo", continent: { name: "Europe", }, currency: "BAM", languages: [ { name: "Bosnian", }, { name: "Croatian", }, { name: "Serbian", }, ], }, { name: "Barbados", code: "BB", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Bridgetown", continent: { name: "North America", }, currency: "BBD", languages: [ { name: "English", }, ], }, { name: "Bangladesh", code: "BD", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Dhaka", continent: { name: "Asia", }, currency: "BDT", languages: [ { name: "Bengali", }, ], }, { name: "Belgium", code: "BE", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Brussels", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Dutch", }, { name: "French", }, { name: "German", }, ], }, { name: "Burkina Faso", code: "BF", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Ouagadougou", continent: { name: "Africa", }, currency: "XOF", languages: [ { name: "French", }, { name: "Peul", }, ], }, { name: "Bulgaria", code: "BG", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Sofia", continent: { name: "Europe", }, currency: "BGN", languages: [ { name: "Bulgarian", }, ], }, { name: "Bahrain", code: "BH", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Manama", continent: { name: "Asia", }, currency: "BHD", languages: [ { name: "Arabic", }, ], }, { name: "Burundi", code: "BI", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Bujumbura", continent: { name: "Africa", }, currency: "BIF", languages: [ { name: "French", }, { name: "Kirundi", }, ], }, { name: "Benin", code: "BJ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Porto-Novo", continent: { name: "Africa", }, currency: "XOF", languages: [ { name: "French", }, ], }, { name: "Saint Barthélemy", code: "BL", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Gustavia", continent: { name: "North America", }, currency: "EUR", languages: [ { name: "French", }, ], }, { name: "Bermuda", code: "BM", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Hamilton", continent: { name: "North America", }, currency: "BMD", languages: [ { name: "English", }, ], }, { name: "Brunei", code: "BN", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Bandar Seri Begawan", continent: { name: "Asia", }, currency: "BND", languages: [ { name: "Malay", }, ], }, { name: "Bolivia", code: "BO", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Sucre", continent: { name: "South America", }, currency: "BOB,BOV", languages: [ { name: "Spanish", }, { name: "Aymara", }, { name: "Quechua", }, ], }, { name: "Bonaire", code: "BQ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Kralendijk", continent: { name: "North America", }, currency: "USD", languages: [ { name: "Dutch", }, ], }, { name: "Brazil", code: "BR", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Brasília", continent: { name: "South America", }, currency: "BRL", languages: [ { name: "Portuguese", }, ], }, { name: "Bahamas", code: "BS", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Nassau", continent: { name: "North America", }, currency: "BSD", languages: [ { name: "English", }, ], }, { name: "Bhutan", code: "BT", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Thimphu", continent: { name: "Asia", }, currency: "BTN,INR", languages: [ { name: "Dzongkha", }, ], }, { name: "Bouvet Island", code: "BV", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: null, continent: { name: "Antarctica", }, currency: "NOK", languages: [ { name: "Norwegian", }, { name: "Norwegian Bokmål", }, { name: "Norwegian Nynorsk", }, ], }, { name: "Botswana", code: "BW", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Gaborone", continent: { name: "Africa", }, currency: "BWP", languages: [ { name: "English", }, { name: "Tswana", }, ], }, { name: "Belarus", code: "BY", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Minsk", continent: { name: "Europe", }, currency: "BYN", languages: [ { name: "Belarusian", }, { name: "Russian", }, ], }, { name: "Belize", code: "BZ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Belmopan", continent: { name: "North America", }, currency: "BZD", languages: [ { name: "English", }, { name: "Spanish", }, ], }, { name: "Canada", code: "CA", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Ottawa", continent: { name: "North America", }, currency: "CAD", languages: [ { name: "English", }, { name: "French", }, ], }, { name: "Cocos [Keeling] Islands", code: "CC", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "West Island", continent: { name: "Asia", }, currency: "AUD", languages: [ { name: "English", }, ], }, { name: "Democratic Republic of the Congo", code: "CD", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Kinshasa", continent: { name: "Africa", }, currency: "CDF", languages: [ { name: "French", }, { name: "Lingala", }, { name: "Kongo", }, { name: "Swahili", }, { name: "Luba-Katanga", }, ], }, { name: "Central African Republic", code: "CF", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Bangui", continent: { name: "Africa", }, currency: "XAF", languages: [ { name: "French", }, { name: "Sango", }, ], }, { name: "Republic of the Congo", code: "CG", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Brazzaville", continent: { name: "Africa", }, currency: "XAF", languages: [ { name: "French", }, { name: "Lingala", }, ], }, { name: "Switzerland", code: "CH", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Bern", continent: { name: "Europe", }, currency: "CHE,CHF,CHW", languages: [ { name: "German", }, { name: "French", }, { name: "Italian", }, ], }, { name: "Ivory Coast", code: "CI", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Yamoussoukro", continent: { name: "Africa", }, currency: "XOF", languages: [ { name: "French", }, ], }, { name: "Cook Islands", code: "CK", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Avarua", continent: { name: "Oceania", }, currency: "NZD", languages: [ { name: "English", }, ], }, { name: "Chile", code: "CL", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Santiago", continent: { name: "South America", }, currency: "CLF,CLP", languages: [ { name: "Spanish", }, ], }, { name: "Cameroon", code: "CM", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Yaoundé", continent: { name: "Africa", }, currency: "XAF", languages: [ { name: "English", }, { name: "French", }, ], }, { name: "China", code: "CN", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Beijing", continent: { name: "Asia", }, currency: "CNY", languages: [ { name: "Chinese", }, ], }, { name: "Colombia", code: "CO", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Bogotá", continent: { name: "South America", }, currency: "COP", languages: [ { name: "Spanish", }, ], }, { name: "Costa Rica", code: "CR", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "San José", continent: { name: "North America", }, currency: "CRC", languages: [ { name: "Spanish", }, ], }, { name: "Cuba", code: "CU", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Havana", continent: { name: "North America", }, currency: "CUC,CUP", languages: [ { name: "Spanish", }, ], }, { name: "Cape Verde", code: "CV", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Praia", continent: { name: "Africa", }, currency: "CVE", languages: [ { name: "Portuguese", }, ], }, { name: "Curacao", code: "CW", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Willemstad", continent: { name: "North America", }, currency: "ANG", languages: [ { name: "Dutch", }, { name: "Panjabi / Punjabi", }, { name: "English", }, ], }, { name: "Christmas Island", code: "CX", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Flying Fish Cove", continent: { name: "Asia", }, currency: "AUD", languages: [ { name: "English", }, ], }, { name: "Cyprus", code: "CY", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Nicosia", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Greek", }, { name: "Turkish", }, { name: "Armenian", }, ], }, { name: "Czech Republic", code: "CZ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Prague", continent: { name: "Europe", }, currency: "CZK", languages: [ { name: "Czech", }, { name: "Slovak", }, ], }, { name: "Germany", code: "DE", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Berlin", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "German", }, ], }, { name: "Djibouti", code: "DJ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Djibouti", continent: { name: "Africa", }, currency: "DJF", languages: [ { name: "French", }, { name: "Arabic", }, ], }, { name: "Denmark", code: "DK", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Copenhagen", continent: { name: "Europe", }, currency: "DKK", languages: [ { name: "Danish", }, ], }, { name: "Dominica", code: "DM", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Roseau", continent: { name: "North America", }, currency: "XCD", languages: [ { name: "English", }, ], }, { name: "Dominican Republic", code: "DO", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Santo Domingo", continent: { name: "North America", }, currency: "DOP", languages: [ { name: "Spanish", }, ], }, { name: "Algeria", code: "DZ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Algiers", continent: { name: "Africa", }, currency: "DZD", languages: [ { name: "Arabic", }, ], }, { name: "Ecuador", code: "EC", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Quito", continent: { name: "South America", }, currency: "USD", languages: [ { name: "Spanish", }, ], }, { name: "Estonia", code: "EE", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Tallinn", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Estonian", }, ], }, { name: "Egypt", code: "EG", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Cairo", continent: { name: "Africa", }, currency: "EGP", languages: [ { name: "Arabic", }, ], }, { name: "Western Sahara", code: "EH", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "El Aaiún", continent: { name: "Africa", }, currency: "MAD,DZD,MRU", languages: [ { name: "Spanish", }, ], }, { name: "Eritrea", code: "ER", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Asmara", continent: { name: "Africa", }, currency: "ERN", languages: [ { name: "Tigrinya", }, { name: "Arabic", }, { name: "English", }, ], }, { name: "Spain", code: "ES", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Madrid", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Spanish", }, { name: "Basque", }, { name: "Catalan", }, { name: "Galician", }, { name: "Occitan", }, ], }, { name: "Ethiopia", code: "ET", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Addis Ababa", continent: { name: "Africa", }, currency: "ETB", languages: [ { name: "Amharic", }, ], }, { name: "Finland", code: "FI", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Helsinki", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Finnish", }, { name: "Swedish", }, ], }, { name: "Fiji", code: "FJ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Suva", continent: { name: "Oceania", }, currency: "FJD", languages: [ { name: "English", }, { name: "Fijian", }, { name: "Hindi", }, { name: "Urdu", }, ], }, { name: "Falkland Islands", code: "FK", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Stanley", continent: { name: "South America", }, currency: "FKP", languages: [ { name: "English", }, ], }, { name: "Micronesia", code: "FM", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Palikir", continent: { name: "Oceania", }, currency: "USD", languages: [ { name: "English", }, ], }, { name: "Faroe Islands", code: "FO", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Tórshavn", continent: { name: "Europe", }, currency: "DKK", languages: [ { name: "Faroese", }, ], }, { name: "France", code: "FR", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Paris", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "French", }, ], }, { name: "Gabon", code: "GA", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Libreville", continent: { name: "Africa", }, currency: "XAF", languages: [ { name: "French", }, ], }, { name: "United Kingdom", code: "GB", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "London", continent: { name: "Europe", }, currency: "GBP", languages: [ { name: "English", }, ], }, { name: "Grenada", code: "GD", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "St. George's", continent: { name: "North America", }, currency: "XCD", languages: [ { name: "English", }, ], }, { name: "Georgia", code: "GE", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Tbilisi", continent: { name: "Asia", }, currency: "GEL", languages: [ { name: "Georgian", }, ], }, { name: "French Guiana", code: "GF", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Cayenne", continent: { name: "South America", }, currency: "EUR", languages: [ { name: "French", }, ], }, { name: "Guernsey", code: "GG", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "St. Peter Port", continent: { name: "Europe", }, currency: "GBP", languages: [ { name: "English", }, { name: "French", }, ], }, { name: "Ghana", code: "GH", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Accra", continent: { name: "Africa", }, currency: "GHS", languages: [ { name: "English", }, ], }, { name: "Gibraltar", code: "GI", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Gibraltar", continent: { name: "Europe", }, currency: "GIP", languages: [ { name: "English", }, ], }, { name: "Greenland", code: "GL", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Nuuk", continent: { name: "North America", }, currency: "DKK", languages: [ { name: "Greenlandic", }, ], }, { name: "Gambia", code: "GM", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Banjul", continent: { name: "Africa", }, currency: "GMD", languages: [ { name: "English", }, ], }, { name: "Guinea", code: "GN", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Conakry", continent: { name: "Africa", }, currency: "GNF", languages: [ { name: "French", }, { name: "Peul", }, ], }, { name: "Guadeloupe", code: "GP", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Basse-Terre", continent: { name: "North America", }, currency: "EUR", languages: [ { name: "French", }, ], }, { name: "Equatorial Guinea", code: "GQ", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Malabo", continent: { name: "Africa", }, currency: "XAF", languages: [ { name: "Spanish", }, { name: "French", }, ], }, { name: "Greece", code: "GR", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Athens", continent: { name: "Europe", }, currency: "EUR", languages: [ { name: "Greek", }, ], }, { name: "South Georgia and the South Sandwich Islands", code: "GS", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "King Edward Point", continent: { name: "Antarctica", }, currency: "GBP", languages: [ { name: "English", }, ], }, { name: "Guatemala", code: "GT", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Guatemala City", continent: { name: "North America", }, currency: "GTQ", languages: [ { name: "Spanish", }, ], }, { name: "Guam", code: "GU", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Hagåtña", continent: { name: "Oceania", }, currency: "USD", languages: [ { name: "English", }, { name: "Chamorro", }, { name: "Spanish", }, ], }, { name: "Guinea-Bissau", code: "GW", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Bissau", continent: { name: "Africa", }, currency: "XOF", languages: [ { name: "Portuguese", }, ], }, { name: "Guyana", code: "GY", icon: "virtual-host", icon_status: bits_1.IconStatus.Up, capital: "Georgetown", continent: { name: "South America", }, currency: "GYD", languages: [ { name: "English", }, ], }, { name: "Hong Kong"