UNPKG

covid19-dashboard

Version:

Dashboard App displaying COVID-19 numbers by country

1 lines 19.6 kB
{"classData":[{"comment":"/**\n * Config object for the neo.mjs framework which will get passed to all workers\n * You can change the configs, e.g. inside the index.html of your app\n * @memberOf module:Neo\n * @name config\n * @type Object\n */","meta":{"filename":"DefaultConfig.mjs","lineno":12,"columnno":0,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Config object for the neo.mjs framework which will get passed to all workers<br />You can change the configs, e.g. inside the index.html of your app","memberof":"module:Neo","name":"config","type":{"names":["Object"]},"scope":"static","longname":"module:Neo.config","kind":"member","$longname":"Neo.config","$kind":"property","id":1433,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * true will apply 'neo-body' to the document.body classList\n * @default true\n * @memberOf! module:Neo\n * @name config.applyBodyCls\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":20,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"true will apply 'neo-body' to the document.body classList","defaultvalue":"true","memberof":"module:Neo.config","name":"config.applyBodyCls","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.applyBodyCls","kind":"member","$longname":"Neo.config.applyBodyCls","$kind":"property","id":1434,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Path to your app.mjs file. You can create multiple apps there if needed.\n * @default null\n * @memberOf! module:Neo\n * @name config.appPath\n * @type String|null\n */","meta":{"filename":"DefaultConfig.mjs","lineno":28,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Path to your app.mjs file. You can create multiple apps there if needed.","defaultvalue":"null","memberof":"module:Neo.config","name":"config.appPath","type":{"names":["String","null"]},"scope":"static","longname":"module:Neo.config.appPath","kind":"member","$longname":"Neo.config.appPath","$kind":"property","id":1435,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Path to the neo.mjs directory\n * @default './'\n * @memberOf! module:Neo\n * @name config.basePath\n * @type String\n */","meta":{"filename":"DefaultConfig.mjs","lineno":36,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Path to the neo.mjs directory","defaultvalue":"'./'","memberof":"module:Neo.config","name":"config.basePath","type":{"names":["String"]},"scope":"static","longname":"module:Neo.config.basePath","kind":"member","$longname":"Neo.config.basePath","$kind":"property","id":1436,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * The current environment. Valid values: 'development', 'dist/development', 'dist/production'\n * This config will get auto-generated\n * @default 'dist/production'\n * @memberOf! module:Neo\n * @name config.environment\n * @type String\n */","meta":{"filename":"DefaultConfig.mjs","lineno":45,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"The current environment. Valid values: 'development', 'dist/development', 'dist/production'<br />This config will get auto-generated","defaultvalue":"'dist/production'","memberof":"module:Neo.config","name":"config.environment","type":{"names":["String"]},"scope":"static","longname":"module:Neo.config.environment","kind":"member","$longname":"Neo.config.environment","$kind":"property","id":1437,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * In case you are using the GoogleAnalytics mainThreadAddon or useGoogleAnalytics: true,\n * you can change the gtag id here. Required for the online examples (gh pages)\n * @default 'UA-153734404-1'\n * @memberOf! module:Neo\n * @name config.gtagId\n * @type String\n */","meta":{"filename":"DefaultConfig.mjs","lineno":54,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"In case you are using the GoogleAnalytics mainThreadAddon or useGoogleAnalytics: true,<br />you can change the gtag id here. Required for the online examples (gh pages)","defaultvalue":"'UA-153734404-1'","memberof":"module:Neo.config","name":"config.gtagId","type":{"names":["String"]},"scope":"static","longname":"module:Neo.config.gtagId","kind":"member","$longname":"Neo.config.gtagId","$kind":"property","id":1438,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Flag for running on https://neomjs.github.io/pages/\n * => to use local images paths instead of raw.githubusercontent.com\n * @default false\n * @memberOf! module:Neo\n * @name config.isGitHubPages\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":63,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Flag for running on https://neomjs.github.io/pages/<br />=> to use local images paths instead of raw.githubusercontent.com","defaultvalue":"false","memberof":"module:Neo.config","name":"config.isGitHubPages","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.isGitHubPages","kind":"member","$longname":"Neo.config.isGitHubPages","$kind":"property","id":1439,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Flag for running the Neo main thread inside an iframe (Siesta Browser Harness)\n * @default false\n * @memberOf! module:Neo\n * @name config.isInsideSiesta\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":71,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Flag for running the Neo main thread inside an iframe (Siesta Browser Harness)","defaultvalue":"false","memberof":"module:Neo.config","name":"config.isInsideSiesta","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.isInsideSiesta","kind":"member","$longname":"Neo.config.isInsideSiesta","$kind":"property","id":1440,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Used by Intl.DateTimeFormat, for details take a look at:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n * @default 'default'\n * @memberOf! module:Neo\n * @name config.locale\n * @type String\n */","meta":{"filename":"DefaultConfig.mjs","lineno":80,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Used by Intl.DateTimeFormat, for details take a look at:<br />https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat","defaultvalue":"'default'","memberof":"module:Neo.config","name":"config.locale","type":{"names":["String"]},"scope":"static","longname":"module:Neo.config.locale","kind":"member","$longname":"Neo.config.locale","$kind":"property","id":1441,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * true will log the delta updates inside the main thread(s) as well as the requestAnimation frames\n * @default false\n * @memberOf! module:Neo\n * @name config.logDeltaUpdates\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":88,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"true will log the delta updates inside the main thread(s) as well as the requestAnimation frames","defaultvalue":"false","memberof":"module:Neo.config","name":"config.logDeltaUpdates","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.logDeltaUpdates","kind":"member","$longname":"Neo.config.logDeltaUpdates","$kind":"property","id":1442,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Add addons for the main thread\n * Possible values: AmCharts, AnalyticsByGoogle, DragDrop, HighlightJS, LocalStorage, MapboxGL, Markdown, Siesta, Stylesheet, WindowPosition\n * (src/main/addon)\n * @default ['DragDrop','Stylesheet']\n * @memberOf! module:Neo\n * @name config.mainThreadAddons\n * @type String[]\n */","meta":{"filename":"DefaultConfig.mjs","lineno":98,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Add addons for the main thread<br />Possible values: AmCharts, AnalyticsByGoogle, DragDrop, HighlightJS, LocalStorage, MapboxGL, Markdown, Siesta, Stylesheet, WindowPosition<br />(src/main/addon)","defaultvalue":"/**","memberof":"module:Neo.config","name":"config.mainThreadAddons","type":{"names":["Array.<String>"]},"scope":"static","longname":"module:Neo.config.mainThreadAddons","kind":"member","$longname":"Neo.config.mainThreadAddons","$kind":"property","id":1443,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * You can visually show the amount of delta updates per second using this config.\n * It expects a dom node with the id \"neo-delta-updates\" as the rendering target.\n * @default false\n * @memberOf! module:Neo\n * @name config.renderCountDeltas\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":107,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"You can visually show the amount of delta updates per second using this config.<br />It expects a dom node with the id \"neo-delta-updates\" as the rendering target.","defaultvalue":"false","memberof":"module:Neo.config","name":"config.renderCountDeltas","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.renderCountDeltas","kind":"member","$longname":"Neo.config.renderCountDeltas","$kind":"property","id":1444,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Add themes you want to use here. The first theme will get applied.\n * If config.useCssVars === true, other theme variables will get included as well\n * @default ['neo-theme-light', 'neo-theme-dark']\n * @memberOf! module:Neo\n * @name config.themes\n * @type String[]\n */","meta":{"filename":"DefaultConfig.mjs","lineno":116,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Add themes you want to use here. The first theme will get applied.<br />If config.useCssVars === true, other theme variables will get included as well","defaultvalue":"== true, other theme variables will get included as well","memberof":"module:Neo.config","name":"config.themes","type":{"names":["Array.<String>"]},"scope":"static","longname":"module:Neo.config.themes","kind":"member","$longname":"Neo.config.themes","$kind":"property","id":1445,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Flag for standalone Siesta module tests => prevent registerRemote worker messages\n * @default false\n * @memberOf! module:Neo\n * @name config.unitTestMode\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":124,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Flag for standalone Siesta module tests => prevent registerRemote worker messages","defaultvalue":"false","memberof":"module:Neo.config","name":"config.unitTestMode","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.unitTestMode","kind":"member","$longname":"Neo.config.unitTestMode","$kind":"property","id":1446,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Flag if CSS variable based stylesheets are in use (important for switching themes)\n * @default true\n * @memberOf! module:Neo\n * @name config.useCssVars\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":132,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Flag if CSS variable based stylesheets are in use (important for switching themes)","defaultvalue":"true","memberof":"module:Neo.config","name":"config.useCssVars","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useCssVars","kind":"member","$longname":"Neo.config.useCssVars","$kind":"property","id":1447,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Experimental flag if an offscreen canvas worker should get created.\n * @default false\n * @memberOf! module:Neo\n * @name config.useCssVars\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":140,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Experimental flag if an offscreen canvas worker should get created.","defaultvalue":"false","memberof":"module:Neo.config","name":"config.useCssVars","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useCssVars","kind":"member","$longname":"Neo.config.useCssVars","$kind":"property","id":1448,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Flag if vdom ids should get mapped into DOM element ids.\n * false will convert them into a \"data-neo-id\" attribute.\n * @default true\n * @memberOf! module:Neo\n * @name config.useDomIds\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":149,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Flag if vdom ids should get mapped into DOM element ids.<br />false will convert them into a \"data-neo-id\" attribute.","defaultvalue":"true","memberof":"module:Neo.config","name":"config.useDomIds","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useDomIds","kind":"member","$longname":"Neo.config.useDomIds","$kind":"property","id":1449,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * True will automatically include the stylesheet\n * @default true\n * @memberOf! module:Neo\n * @name config.useFontAwesome\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":157,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"True will automatically include the stylesheet","defaultvalue":"true","memberof":"module:Neo.config","name":"config.useFontAwesome","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useFontAwesome","kind":"member","$longname":"Neo.config.useFontAwesome","$kind":"property","id":1450,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Intended for the online examples where we need an easy way to add GA to every generated app\n * @default false\n * @memberOf! module:Neo\n * @name config.useGoogleAnalytics\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":165,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Intended for the online examples where we need an easy way to add GA to every generated app","defaultvalue":"false","memberof":"module:Neo.config","name":"config.useGoogleAnalytics","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useGoogleAnalytics","kind":"member","$longname":"Neo.config.useGoogleAnalytics","$kind":"property","id":1451,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Creates App, Data & VDom as SharedWorkers.\n * Set this one to true in case you want to connect multiple main threads.\n * @default false\n * @memberOf! module:Neo\n * @name config.useSharedWorkers\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":174,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Creates App, Data & VDom as SharedWorkers.<br />Set this one to true in case you want to connect multiple main threads.","defaultvalue":"false","memberof":"module:Neo.config","name":"config.useSharedWorkers","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useSharedWorkers","kind":"member","$longname":"Neo.config.useSharedWorkers","$kind":"property","id":1452,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Adds global dom event listeners for mobile related events like rotate, swipe, tap\n * @default true\n * @memberOf! module:Neo\n * @name config.useTouchEvents\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":182,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Adds global dom event listeners for mobile related events like rotate, swipe, tap","defaultvalue":"true","memberof":"module:Neo.config","name":"config.useTouchEvents","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useTouchEvents","kind":"member","$longname":"Neo.config.useTouchEvents","$kind":"property","id":1453,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * False will create the vdom.Helper within the App worker (experimental!)\n * @default true\n * @memberOf! module:Neo\n * @name config.useVdomWorker\n * @type Boolean\n */","meta":{"filename":"DefaultConfig.mjs","lineno":190,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"False will create the vdom.Helper within the App worker (experimental!)","defaultvalue":"true","memberof":"module:Neo.config","name":"config.useVdomWorker","type":{"names":["Boolean"]},"scope":"static","longname":"module:Neo.config.useVdomWorker","kind":"member","$longname":"Neo.config.useVdomWorker","$kind":"property","id":1454,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * Path to the top level neo.mjs resources folder\n * @default Neo.config.basePath + 'resources/'\n * @memberOf! module:Neo\n * @name config.resourcesPath\n * @type String\n */","meta":{"filename":"DefaultConfig.mjs","lineno":201,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"Path to the top level neo.mjs resources folder","defaultvalue":"Neo.config.basePath + 'resources/'","memberof":"module:Neo.config","name":"config.resourcesPath","type":{"names":["String"]},"scope":"static","longname":"module:Neo.config.resourcesPath","kind":"member","$longname":"Neo.config.resourcesPath","$kind":"property","id":1455,"neoClassName":"Neo.DefaultConfig"},{"comment":"/**\n * The default base URL for web worker entry points (App, Data, Vdom)\n * @default Neo.config.basePath + 'src/worker/'\n * @memberOf! module:Neo\n * @name config.workerBasePath\n * @type String\n */","meta":{"filename":"DefaultConfig.mjs","lineno":209,"columnno":4,"path":"/Users/Shared/github/neomjs/covid-dashboard/node_modules/neo.mjs/src","code":{}},"description":"The default base URL for web worker entry points (App, Data, Vdom)","defaultvalue":"Neo.config.basePath + 'src/worker/'","memberof":"module:Neo.config","name":"config.workerBasePath","type":{"names":["String"]},"scope":"static","longname":"module:Neo.config.workerBasePath","kind":"member","$longname":"Neo.config.workerBasePath","$kind":"property","id":1456,"neoClassName":"Neo.DefaultConfig"}]}