{"_id":"@cumul.io/dashboard-sdk","_rev":"13-16b3a91e0706d529171230a19f3ca563","name":"@cumul.io/dashboard-sdk","dist-tags":{"latest":"0.0.1-alpha.6"},"versions":{"0.0.1-alpha.1":{"name":"@cumul.io/dashboard-sdk","version":"0.0.1-alpha.1","keywords":["dashboard","visualization","embedded","analytics"],"author":{"url":"https://cumul.io","name":"Karel Callens","email":"karel@cumul.io"},"_id":"@cumul.io/dashboard-sdk@0.0.1-alpha.1","maintainers":[{"name":"cumul.io","email":"info@cumul.io"}],"homepage":"https://cumul.io","bugs":{"email":"support@cumul.io"},"dist":{"shasum":"19a5c5d00ebca93890dbae96884aed8066fffc96","tarball":"https://registry.npmjs.org/@cumul.io/dashboard-sdk/-/dashboard-sdk-0.0.1-alpha.1.tgz","fileCount":62,"integrity":"sha512-krpuk91Az0A+lin0wfpKJg9Zym2zIGByV211XqknLxlZ6xdAKhofIJOJYo3Tft8Zoy0GsuyGPi0BZMCECfUdKA==","signatures":[{"sig":"MEUCIQCTQofuQdrv7q83SlYcYXRpSsFTtXcHzH/Wj96TbgF49AIgUqHbptL4v6uQopIV6HRnM5RFodxhSzr+M4LAAfVSuvA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":229932,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFuWaCRA9TVsSAnZWagAAt7cP/RwG2vai6ij9KIyOhXiX\n65tuIs3QvuAJeYKdyuEfwAHF/QlFwm7CBGXTmFXlkPV767r87zU0pJEIXGnY\newx6k5urJPdxLHbq62RhFJxUjaxa5RJ8hfo5LZFeQq9n/YYBZG2graabAb4D\nwhoZmVzMeUkKWpVPzssnFO2tN7CG8B66AnH1eMXbCdmQQsVLfgRC4PWUMS02\nczy44H6MuOcZw9tMRsm+ya4VDkB2ZYvzY6JCnm8B8W+e9p3nCcJ0ca6pG2Oy\nMsVv7RHeMulebqTi08J5D0uMs8wSWARDx05Y2RPKAVGj/cE6d/bpPwhBmKtH\nP7zfmTdo84PtBtEy19EHXK5uHore/Yukehymo3qjf/b/Yhv1HnLP/sCX18rG\nhTRcRbfI9CBsPzT06XVQxcbVSGWiSf50pL7PRXwVgkk3sdZN5PB92DJrY1nf\nd1L/+lU1wRjh4QPlghD9xWG6Qm9japVV1SeVoNH7rgEgjgsuhyfi/svv3ZsK\nuWdH0yJgYFi4wNcKwb1z4j9M7vZOGxmOiStWySBjsBd6cM0oUD9/xVrSxoBB\nzc4FZ+WbJt/Kusg3ytSoomb0pnHGAoncOEwbiYb4zMsTiHw2Cr1qSeHk9X1A\n+pa5xvGreeK53V3xV/o3z+gp5MhHu5ODu4BHlT9Yta6VvfN5HBzP7VDlRiyS\nOPok\r\n=Fd/r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","browser":"./dist/index.bundle.js","gitHead":"25c7b36de9d49d9c4576fe7f6ff651b357d9ddbc","scripts":{"clean":"cd scripts && rm -f generate-interfaces.js generate-interfaces.d.ts","build:dev":" cd example && rimraf dist && mkdir dist && cd .. && rollup --config rollup.config.dev.js -w & node example/server.js","build:lib":"rimraf dist && mkdir dist && rollup --config rollup.config.lib.js","prepublish":"npm run build:lib","build:interfaces":"npm run clean && ./node_modules/typescript/bin/tsc ./scripts/generate-interfaces.ts && node scripts/generate-interfaces.js"},"_npmUser":{"name":"cumul.io","email":"info@cumul.io"},"_npmVersion":"6.14.8","description":"Cumul.io dashboard SDK - An SDK for creating Cumul.io dashboard definitions","directories":{},"_nodeVersion":"12.18.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"cors":"^2.8.5","tslib":"^2.0.3","dotenv":"^8.2.0","eslint":"^7.15.0","rimraf":"^3.0.2","rollup":"^2.34.2","cumulio":"^1.0.1","express":"^4.17.1","request":"^2.88.2","codelyzer":"^6.0.1","typescript":"^4.1.3","@babel/core":"^7.12.10","body-parser":"^1.19.0","json2module":"0.0.3","@types/lodash":"^4.14.165","babel-preset-env":"^1.7.0","@babel/preset-env":"^7.12.10","@rollup/plugin-json":"^4.1.0","eslint-plugin-jsdoc":"^30.7.8","rollup-plugin-serve":"^1.1.0","tslint-eslint-rules":"^5.4.0","@rollup/plugin-babel":"^5.2.2","eslint-plugin-import":"^2.22.1","rollup-plugin-terser":"^7.0.2","@babel/preset-typescript":"^7.12.7","rollup-plugin-livereload":"^2.0.0","@typescript-eslint/parser":"^4.9.1","json-schema-to-typescript":"^10.0.0","rollup-plugin-typescript2":"^0.29.0","eslint-plugin-prefer-arrow":"^1.2.2","@rollup/plugin-node-resolve":"^11.0.0","babel-plugin-external-helpers":"^6.22.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/eslint-plugin-tslint":"^4.9.1"},"_npmOperationalInternal":{"tmp":"tmp/dashboard-sdk_0.0.1-alpha.1_1612113305746_0.5563829590101255","host":"s3://npm-registry-packages"}},"0.0.1-alpha.3":{"name":"@cumul.io/dashboard-sdk","version":"0.0.1-alpha.3","keywords":["dashboard","visualization","embedded","analytics"],"author":{"url":"https://cumul.io","name":"Karel Callens","email":"karel@cumul.io"},"_id":"@cumul.io/dashboard-sdk@0.0.1-alpha.3","maintainers":[{"name":"cumul.io_team","email":"info@cumul.io"}],"homepage":"https://cumul.io","bugs":{"email":"support@cumul.io"},"dist":{"shasum":"ee2bdc2a70237bd6715d91fee3dc9136479793d1","tarball":"https://registry.npmjs.org/@cumul.io/dashboard-sdk/-/dashboard-sdk-0.0.1-alpha.3.tgz","fileCount":62,"integrity":"sha512-3coMk+oD/P4tevylJ+wji+Cxg57/dlslH9bucnNZgeR8lQv3kj/ZqXFi/0tJgY9kjb+74gBBwAOC4ePavb9h3g==","signatures":[{"sig":"MEUCIQCXhZlqo5Z5VC6dnkifZZITv0QX5/YLPmLnNsrIF0jwCwIgco0eUSc13pi6vkoRWfHDBUCSj/rwF1GaGXF4ry6xezo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":232134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbBvNCRA9TVsSAnZWagAAWcYP/3kCpSpbNkIWSC9kvhx6\nQPL+axn2Bxiux9c+tTjfh5jzAegDFy5nWR+4WYOhqVKXcAgDafGfCdzIjSlo\nQXqYcMF0SvuYeOpTSrppT97+L7Got75/OrKJfwgO6+RnoiTxF/m1zgAzp1n9\nYxcmkx5M9CGyIIvM3YVTHfvb/sFwFgYS/7FVuJ1F1g/07DJkebviLmJ++bFA\n/9UZefQ0fHjkzezZHm7ve+4lXtzPTWR8Q68V4w3i3FjzGt0VTftc76s4gVc/\nLQDmfSvK268ifa9CR1JDqiAPwZguOWwdOQG3VXJ5MkftVN+OpYrJU/a60B54\nZCJ0jI8+4l/FU6owV8h3VCMk3RYHqfQ9uV5bIwEUlUHNrZ0KQ3XIwxc1URIA\nYHd4NIZnOicoLPWA+csfceg1EomVcPim6+9GHj8uxeiW0xbhRrg8vB4Go1ca\nR9Pfxl/4UzbS3JHqVq2YIPCpiiTjTTTJ/H1nsu4+yk+hb+dadhZIVrCHHhr8\nZ+irZAR7hc00dGaUS4P7QkVVcT2hAFwHByBj0ywLTo8ukCR+kJ6zyvkDh16D\ngOlkO5nPnvA23l7qfy51+AxPDIFKm4bzfPEwCZL4y9MzNLxMfFDhUH7Ob0fM\nXwx+VPhO9Y//YyTqG/erztT4liRxV0JHblwTo6b5O39IomZGhfx+JD2HWDmh\n6zhx\r\n=WTg3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","browser":"./dist/index.bundle.js","gitHead":"ddb111d524ba4b0f0f08695dd8f4b4e1db133953","scripts":{"clean":"cd scripts && rm -f generate-interfaces.js generate-interfaces.d.ts","pretest":"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c","build:dev":" cd example && rimraf dist && mkdir dist && cd .. && rollup --config rollup.config.dev.js -w & node example/server.js","build:lib":"rimraf dist && mkdir dist && rollup --config rollup.config.lib.js","publish:public":"npm publish --access public","build:interfaces":"npm run clean && ./node_modules/typescript/bin/tsc ./scripts/generate-interfaces.ts && node scripts/generate-interfaces.js","prepublish:public":"npm run build:lib"},"_npmUser":{"name":"cumul.io_team","email":"info@cumul.io"},"_npmVersion":"6.14.11","description":"Cumul.io dashboard SDK - An SDK for creating Cumul.io dashboard definitions","directories":{},"_nodeVersion":"12.18.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"cors":"^2.8.5","tslib":"^2.0.3","dotenv":"^8.2.0","eslint":"^7.15.0","rimraf":"^3.0.2","rollup":"^2.34.2","cumulio":"^1.0.1","express":"^4.17.1","request":"^2.88.2","codelyzer":"^6.0.1","typescript":"^4.1.3","@babel/core":"^7.12.10","body-parser":"^1.19.0","json2module":"0.0.3","@types/lodash":"^4.14.165","babel-preset-env":"^1.7.0","@babel/preset-env":"^7.12.10","@rollup/plugin-json":"^4.1.0","eslint-plugin-jsdoc":"^30.7.8","rollup-plugin-serve":"^1.1.0","tslint-eslint-rules":"^5.4.0","@rollup/plugin-babel":"^5.2.2","eslint-plugin-import":"^2.22.1","rollup-plugin-terser":"^7.0.2","@babel/preset-typescript":"^7.12.7","rollup-plugin-livereload":"^2.0.0","@typescript-eslint/parser":"^4.9.1","json-schema-to-typescript":"^10.0.0","rollup-plugin-typescript2":"^0.29.0","eslint-plugin-prefer-arrow":"^1.2.2","@rollup/plugin-node-resolve":"^11.0.0","babel-plugin-external-helpers":"^6.22.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/eslint-plugin-tslint":"^4.9.1"},"_npmOperationalInternal":{"tmp":"tmp/dashboard-sdk_0.0.1-alpha.3_1617697740993_0.6023272214092601","host":"s3://npm-registry-packages"}},"0.0.1-alpha.4":{"name":"@cumul.io/dashboard-sdk","version":"0.0.1-alpha.4","keywords":["dashboard","visualization","embedded","analytics"],"author":{"url":"https://cumul.io","name":"Karel Callens","email":"karel@cumul.io"},"_id":"@cumul.io/dashboard-sdk@0.0.1-alpha.4","maintainers":[{"name":"tuanacelik","email":"tuana@cumul.io"},{"name":"cumul.io_team","email":"info@cumul.io"}],"homepage":"https://cumul.io","bugs":{"email":"support@cumul.io"},"dist":{"shasum":"d35d99216b7d24d20cc302e083664336c91c5808","tarball":"https://registry.npmjs.org/@cumul.io/dashboard-sdk/-/dashboard-sdk-0.0.1-alpha.4.tgz","fileCount":62,"integrity":"sha512-wsrUD+eHAW8SWn55GhAvvK8+GjBX1V2qCDTJnGvI7fHjG6shk5vdTU+OVsmIqT4Gp3w9NPWcrZ2YfaR0uzLlKQ==","signatures":[{"sig":"MEYCIQD2Wc19P9YWvFEuBzWyizdJ0yObjbPtHLRTWlo/wTHrJwIhAJhOdn/ThygmT9HF0iTlNBjltjtv3Nqmwuu9i++QLpN6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":232301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg01kxCRA9TVsSAnZWagAAuLAP/0Bg0LWwUxA6Z1pLI+5O\n/7czlYJh2WLIIUjKrPwwnKVOSV9Opqzs5WmsbWYQClOzptzXmiq9FDjrzB/j\nzmZHxRaEvlPs7qLNBvlInLDA8ezKV7H/CFCOTUfLZt41VjpCiImS/etSdWcQ\nDB6E7HKPYDeH6SZ4kkL6hiRIY3V0mj4p3vlujngAyqCTZGYxX6LjvzVnKWZg\nBqTAn6B0+uT/JhiNvt2KV84TGCjo0MrsYgGlyJ0zItpczTT9JwqEuOiiGrZD\nme4+VRs18jsEQycfGEyAn0M9SzsWOlHFmUffaWSg9D7bAVbFgo+Cs+rnwqQv\n2ryP9nlbuSb+y+0GKOKh5EbLFWdnR0Ylom/sczWRxAjq2PTcsuDlf3RovITX\n62467rIWIuQuGvIzm9ZB43VDso1i8K9aXtikuYu5+KfWxLRwrawpsPleS0/6\nrcdQyrlvHOfUjPsOq4dvdyz/sT/FQ4+kdTeXMguSAxMNU19qOR0rpidDvS62\nGB6HQGbgN3LRxOKbQq8uGPcF6bU6x0h7csXaljZuTZ0JNeSlaCIgAxbMvDXT\nfaXCPca41XnoUpJxVhWkPRz+rEgXtURQRGqMfPDsS/I48snSst7m81NKFLCE\nlAPHxC6TFZ3qVKaG09HK82crjmK3ZtpFFg1MJRRoo/hCuBm9UymxybJG/VrH\n0EkJ\r\n=OaF4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","browser":"./dist/index.bundle.js","gitHead":"d98caf4f4a90b0f16371a49c6c364d42f46b0836","scripts":{"clean":"cd scripts && rm -f generate-interfaces.js generate-interfaces.d.ts","pretest":"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c","build:dev":" cd example && rimraf dist && mkdir dist && cd .. && rollup --config rollup.config.dev.js -w & node example/server.js","build:lib":"rimraf dist && mkdir dist && rollup --config rollup.config.lib.js","publish:public":"npm publish --access public","build:interfaces":"npm run clean && ./node_modules/typescript/bin/tsc ./scripts/generate-interfaces.ts && node scripts/generate-interfaces.js","prepublish:public":"npm run build:lib"},"_npmUser":{"name":"cumul.io_team","email":"info@cumul.io"},"_npmVersion":"6.14.11","description":"Cumul.io dashboard SDK - An SDK for creating Cumul.io dashboard definitions","directories":{},"_nodeVersion":"12.21.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"cors":"^2.8.5","tslib":"^2.0.3","dotenv":"^8.2.0","eslint":"^7.15.0","rimraf":"^3.0.2","rollup":"^2.34.2","cumulio":"^1.0.1","express":"^4.17.1","request":"^2.88.2","codelyzer":"^6.0.1","typescript":"^4.1.3","@babel/core":"^7.12.10","body-parser":"^1.19.0","json2module":"0.0.3","@types/lodash":"^4.14.165","babel-preset-env":"^1.7.0","@babel/preset-env":"^7.12.10","@rollup/plugin-json":"^4.1.0","eslint-plugin-jsdoc":"^30.7.8","rollup-plugin-serve":"^1.1.0","tslint-eslint-rules":"^5.4.0","@rollup/plugin-babel":"^5.2.2","eslint-plugin-import":"^2.22.1","rollup-plugin-terser":"^7.0.2","@babel/preset-typescript":"^7.12.7","rollup-plugin-livereload":"^2.0.0","@typescript-eslint/parser":"^4.9.1","json-schema-to-typescript":"^10.0.0","rollup-plugin-typescript2":"^0.29.0","eslint-plugin-prefer-arrow":"^1.2.2","@rollup/plugin-node-resolve":"^11.0.0","babel-plugin-external-helpers":"^6.22.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/eslint-plugin-tslint":"^4.9.1"},"_npmOperationalInternal":{"tmp":"tmp/dashboard-sdk_0.0.1-alpha.4_1624463664646_0.2273851160019853","host":"s3://npm-registry-packages"}},"0.0.1-alpha.5":{"name":"@cumul.io/dashboard-sdk","version":"0.0.1-alpha.5","keywords":["dashboard","visualization","embedded","analytics"],"author":{"url":"https://cumul.io","name":"Karel Callens","email":"karel@cumul.io"},"_id":"@cumul.io/dashboard-sdk@0.0.1-alpha.5","maintainers":[{"name":"tuanacelik","email":"tuana@cumul.io"},{"name":"cumul.io_team","email":"info@cumul.io"}],"homepage":"https://cumul.io","bugs":{"email":"support@cumul.io"},"dist":{"shasum":"4bdf8aa5d4177053913d727f61dc8894781987b2","tarball":"https://registry.npmjs.org/@cumul.io/dashboard-sdk/-/dashboard-sdk-0.0.1-alpha.5.tgz","fileCount":62,"integrity":"sha512-DdEnp+s6Es+6JClv84szOilCxNsgvJVIGFmGdhPzhYcUrkSnSF5FkviwIBgDjl3oIEL70EBocObgO+byWmHsnA==","signatures":[{"sig":"MEUCIAGr1EYkHzkHkkGoM4ejd/P7WLxbtGclu8fHHi+1WlRyAiEAriCoExyzwcu0xXUXtFKQVysyOASc7405P7l1UNVFnds=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":232294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg01sBCRA9TVsSAnZWagAAti8QAIpkVisZ2haH0RX9eT+X\n1bnrHi93OmJmfO89KiJi4VhnsUS2SxnbirTkK9Ib5UZE5NvUEjaIZnwWYFJF\nrwNpIuhG0sUyO0I3tlpF4aH7T91+Tph1X+hnSx1dQUYu6p5WRBaITHeuEqCP\nHf77CukZ0l/HfPZjTwjKwpmQu38HKwz0nkD9tDRQhxTECaJU9cbGJBwddDH9\nkg2I4NSgJ4zCPtAhnvRVqvWS6r3cuG3eCGt4GV8Kw2nSrJydY4alLvkZ7Qu+\nmmYh2R6nUVch2RAb3KW2XNsJOqlUOXEEhJP4IUpSWtWvhdSyNqaVkuQB13MH\nDWnBlse2uXjCqMl/Ip2r0m2Bd4+7VNtaJmVjjvv7ke9Lu/xzg+qJ54Cf4HOl\nZ61CP439IupEsa/hyQXwDtMC5tUk1tqwdnZcTx+C6gjRCL8S7e0LnK5JuVA6\nNo/TMJxz1RHGQA2q/aBnEeYwwZ3rYsztUEQ9OrHTn544dEwlskUpiXXB1cwp\nflD539fvcamVoZKEA7rBpkVVQclG+UCJccXqiOKAKiZoaEUOjL19AjJ9DiJv\nK9cZusNRHygzgVOfq5qYkxlNDAr1SutHhdBMNbiCykn+eo5o5srWWmngIgKm\n3sOoUUCv4TTMUvFO7NWrZEfYFwEAL7228XQiLPiTfPizM8dpE1KqOS6aINCS\nUq/0\r\n=A/3S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","browser":"./dist/index.bundle.js","gitHead":"d98caf4f4a90b0f16371a49c6c364d42f46b0836","scripts":{"clean":"cd scripts && rm -f generate-interfaces.js generate-interfaces.d.ts","pretest":"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c","build:dev":" cd example && rimraf dist && mkdir dist && cd .. && rollup --config rollup.config.dev.js -w & node example/server.js","build:lib":"rimraf dist && mkdir dist && rollup --config rollup.config.lib.js","publish:public":"npm publish --access public","build:interfaces":"npm run clean && ./node_modules/typescript/bin/tsc ./scripts/generate-interfaces.ts && node scripts/generate-interfaces.js","prepublish:public":"npm run build:lib"},"_npmUser":{"name":"cumul.io_team","email":"info@cumul.io"},"_npmVersion":"6.14.11","description":"Cumul.io dashboard SDK - An SDK for creating Cumul.io dashboard definitions","directories":{},"_nodeVersion":"12.21.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"cors":"^2.8.5","tslib":"^2.0.3","dotenv":"^8.2.0","eslint":"^7.15.0","rimraf":"^3.0.2","rollup":"^2.34.2","cumulio":"^1.0.1","express":"^4.17.1","request":"^2.88.2","codelyzer":"^6.0.1","typescript":"^4.1.3","@babel/core":"^7.12.10","body-parser":"^1.19.0","json2module":"0.0.3","@types/lodash":"^4.14.165","babel-preset-env":"^1.7.0","@babel/preset-env":"^7.12.10","@rollup/plugin-json":"^4.1.0","eslint-plugin-jsdoc":"^30.7.8","rollup-plugin-serve":"^1.1.0","tslint-eslint-rules":"^5.4.0","@rollup/plugin-babel":"^5.2.2","eslint-plugin-import":"^2.22.1","rollup-plugin-terser":"^7.0.2","@babel/preset-typescript":"^7.12.7","rollup-plugin-livereload":"^2.0.0","@typescript-eslint/parser":"^4.9.1","json-schema-to-typescript":"^10.0.0","rollup-plugin-typescript2":"^0.29.0","eslint-plugin-prefer-arrow":"^1.2.2","@rollup/plugin-node-resolve":"^11.0.0","babel-plugin-external-helpers":"^6.22.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/eslint-plugin-tslint":"^4.9.1"},"_npmOperationalInternal":{"tmp":"tmp/dashboard-sdk_0.0.1-alpha.5_1624464129084_0.16280303483476222","host":"s3://npm-registry-packages"}},"0.0.1-alpha.6":{"name":"@cumul.io/dashboard-sdk","version":"0.0.1-alpha.6","keywords":["dashboard","visualization","embedded","analytics"],"author":{"url":"https://cumul.io","name":"Karel Callens","email":"karel@cumul.io"},"_id":"@cumul.io/dashboard-sdk@0.0.1-alpha.6","maintainers":[{"name":"tuanacelik","email":"tuana@cumul.io"},{"name":"cumul.io_team","email":"info@cumul.io"}],"homepage":"https://cumul.io","bugs":{"email":"support@cumul.io"},"dist":{"shasum":"7275c837631a075ceef179ffaf1afa9f4333cbca","tarball":"https://registry.npmjs.org/@cumul.io/dashboard-sdk/-/dashboard-sdk-0.0.1-alpha.6.tgz","fileCount":62,"integrity":"sha512-4MV0yD8ILQfqow6BPQxQUrHQPhI/Wdqb4erIGyQuh2S6I/KQKWRLJCX95J1coerBm3p00UjhMTT/eWF0Xoi9UQ==","signatures":[{"sig":"MEUCIQD42AOgphOtXG23WpL//y+N6BGfqKKXfx656VcLPCxyxwIgbFuIiVoHq2mS6YwxbvTFrQLdeljRLBPgqdaWwhETYlI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":232319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2tbKCRA9TVsSAnZWagAAUm8P/RLkAjuMf25w3+KrKawi\nIfhuTNoB0LSP5t6FJlUjUsujXEOI00IbGvOhKU2GHrLVTSQyHvvEHUXcL/m+\nhjH9YMmCYQkTXlejM+KscX6OqYdlnvpD9SSlteZa8FmZjW6LK9MlChJaiPYX\nCXkPnYa0uDt9NdGH+/VnaJfWSw/sp/Sjuqt0eXPCKEcKsTtjrMZHu2mY5Cj7\n9pYpTFez25s3EcUf2gFomRtDrRxNH6gAjiiPh/fp/bYYICOdri8gkRXps45+\nxZesm4/ITJhUHkuihC6VSsYwBxp6qR9qzvgH1OK5WiWtoXycO0qt6nBjLRUM\nij32Dmr1RBidPW5MVzVsJhK1l6M+6DlZn9xkAHuIRTvRS4AJH+SLt+5mabUq\ntMDIOnl+2Rsjt9BKQlgK5SlcpSDu8GdCdyHL3lljxbTwl72e98lLRmmTTC84\nphehJ3eqoN/yyZF084VDQmS6GIVURZguk/PbhohAR7oGrdI+OrWqmH418tU1\nsXIIgwYEuyU1VxRqmj2QNXW4mbr26boKCr2sItSxSl9jBOBn3UW43LNwJful\nWvrEE0SUAWR50BHr4s7WxWFtOr7DibGrpROFS5iDvxtppxxhT8oJD/8BmTQS\nrAtZ16FjqBUlNecqjUGWHhG9AOY+5dBYG4aoB4gGSJTPqMXrN9PjnFSuLE/P\nRJK3\r\n=gAIH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","browser":"./dist/index.bundle.js","gitHead":"235a0e3dc0f522ba4a78217ea450c1ca5978af35","scripts":{"clean":"cd scripts && rm -f generate-interfaces.js generate-interfaces.d.ts","pretest":"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c","build:dev":" cd example && rimraf dist && mkdir dist && cd .. && rollup --config rollup.config.dev.js -w & node example/server.js","build:lib":"rimraf dist && mkdir dist && rollup --config rollup.config.lib.js","publish:public":"npm publish --access public","build:interfaces":"npm run clean && ./node_modules/typescript/bin/tsc ./scripts/generate-interfaces.ts && node scripts/generate-interfaces.js","prepublish:public":"npm run build:lib"},"_npmUser":{"name":"cumul.io_team","email":"info@cumul.io"},"_npmVersion":"6.14.11","description":"Cumul.io dashboard SDK - An SDK for creating Cumul.io dashboard definitions","directories":{},"_nodeVersion":"12.21.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"cors":"^2.8.5","tslib":"^2.0.3","dotenv":"^8.2.0","eslint":"^7.15.0","rimraf":"^3.0.2","rollup":"^2.34.2","cumulio":"^1.0.1","express":"^4.17.1","request":"^2.88.2","codelyzer":"^6.0.1","typescript":"^4.1.3","@babel/core":"^7.12.10","body-parser":"^1.19.0","json2module":"0.0.3","@types/lodash":"^4.14.165","babel-preset-env":"^1.7.0","@babel/preset-env":"^7.12.10","@rollup/plugin-json":"^4.1.0","eslint-plugin-jsdoc":"^30.7.8","rollup-plugin-serve":"^1.1.0","tslint-eslint-rules":"^5.4.0","@rollup/plugin-babel":"^5.2.2","eslint-plugin-import":"^2.22.1","rollup-plugin-terser":"^7.0.2","@babel/preset-typescript":"^7.12.7","rollup-plugin-livereload":"^2.0.0","@typescript-eslint/parser":"^4.9.1","json-schema-to-typescript":"^10.0.0","rollup-plugin-typescript2":"^0.29.0","eslint-plugin-prefer-arrow":"^1.2.2","@rollup/plugin-node-resolve":"^11.0.0","babel-plugin-external-helpers":"^6.22.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/eslint-plugin-tslint":"^4.9.1"},"_npmOperationalInternal":{"tmp":"tmp/dashboard-sdk_0.0.1-alpha.6_1624954569855_0.4946026426913399","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-01-31T17:15:05.745Z","modified":"2025-12-04T09:35:51.794Z","0.0.1-alpha.1":"2021-01-31T17:15:05.880Z","0.0.1-alpha.2":"2021-04-04T18:48:18.809Z","0.0.1-alpha.3":"2021-04-06T08:29:01.155Z","0.0.1-alpha.4":"2021-06-23T15:54:24.741Z","0.0.1-alpha.5":"2021-06-23T16:02:09.397Z","0.0.1-alpha.6":"2021-06-29T08:16:10.041Z"},"bugs":{"email":"support@cumul.io"},"author":{"url":"https://cumul.io","name":"Karel Callens","email":"karel@cumul.io"},"homepage":"https://cumul.io","keywords":["dashboard","visualization","embedded","analytics"],"description":"Cumul.io dashboard SDK - An SDK for creating Cumul.io dashboard definitions","maintainers":[{"email":"haroen@luzmo.com","name":"haroenvermylen"}],"readme":"# Cumul.io dashboard SDK\n\nThis is a JavaScript library for generating dashboard definitions for the Cumul.io platform\n\n## This library is in alpha state\nThis is an alpha release. Breaking changes and renaming is expected in future releases. Very much work in progress.\n\n## Cumul.io Dashboard SDK\n<a href=\"https://cumul.io\"><img src=\"https://cumul.io/assets/logo_with_text.svg\" align=\"left\" hspace=\"24\" vspace=\"4\" height=\"48px\"></a>\n\nThis SDK allows you to programatically generate dashboards for use in the Cumul.io platform.  The SDK abstracts away a lot of complexity and enables you to build interactive, multi-tenant & multi-lingual, multi-device dashboards with code just as if they would have been created using the UI. \n\n**Why?** Cumul.io is API-first and a heavy believer of powerful, convenient API's. Being able to quickly generate interactive dashboards with just a few lines of code is extremely powerful. It allows you to do things like: \n* *Context-aware dashboards*: Show your users a dashboard with information that is relevant for them at that specific time, using their specific situation and any other context.\n* *In-platform dashboard generator*: Allow your users to create dashboards in a playground in your platform. This can be via a UI, a form, a stepper, ... The input from these elements can then be used to generate a dashboard 'on-the-fly' for your users to digest.\n* *Exception management dashboards*: Only show and or highlight information that crossed certain thresholds.  \n* *Change/update dashboards in batch*: Did your organization theme change and you do not want to adapt all dashboards manually one by one? Use this SDK to load the existing dashboards, adapt them and update them using Cumul.io's core API.\n* ... and so much more\n\n## Installation\n\nIf you use npm, `npm install @cumul.io/dashboard-sdk` or yarn `yarn install @cumul.io/dashboard-sdk`.\n\nThis SDK is written using [ES6 modules](http://www.2ality.com/2014/09/es6-modules-final.html). To import this SDK into an ES2015 application, import everything into a namespace (here, `cio`):\n\n```js\nimport * as cio from \"@cumul.io/dashboard-sdk\";\n```\nIn Node:\n\n```js\nconst cio = require(\"@cumul.io/dashboard-sdk\");\n```\n  \n\n## Entities\n\nThis SDK uses 6 entities (classes) for building dashboards:\n\n* **Dashboard**: the dashboard itself\n* **Item**: A chart, filter item, text, image, video or spacer.\n* **Column**: A data column used to specify what data is used in an item or filter\n* **Filter**: A filter is used to filter the data used in a dashboard or in an item. Can be used on dashboard or item level.\n* **Parameter**: A parameter is often used in multi-tenant dashboards to adapt filters or the dashboard itself to the parameter value supplied.\n* **Theme**: A theme can be used to style a dashboard or an item. Can be used on dashboard or item level.\n\n  \n\nWhat you can do with these entities is described in the following sections.\n## Dashboard\n\n**Create** a new empty dashboard\n```js\nconst dashboard = new cio.Dashboard();\n```\n\n**Use** an existing dashboard definition retrieved via [Cumul.io's API](https://cumul.io)\n```js\nconst dashboard = new cio.Dashboard(definition);\n```\n\n**Dashboard name**\nGet name:\n```js\nconst nameI18n = dashboard.getName();\n```\nSet name:\n```js\ndashboard.setName('On the fly generated dashboard'); // Sets the name to the dashboards default language\ndashboard.setName('On the fly generated dashboard', 'en'); // Sets english name of the dashboard\ndashboard.setName({\n  en: 'On the fly generated dashboard',\n  fr: 'Dashboard généré à la volée'\n});  // Sets the full localized name of the dashboard\n```\n\n**Set description**\nGet description:\n```js\nconst descriptionI18n = dashboard.getDescription();\n```\nSet description:\n```js\ndashboard.setDescription('This is an example of an SDK generated dashboard'); // Sets the description to the dashboards default language\ndashboard.setDescription('This is an example of an SDK generated dashboard', 'en'); // Sets english description of the dashboard\ndashboard.setDescription({\n  en: 'This is an example of an SDK generated dashboard.',\n  fr: 'Ceci est un dashboard généré par un SDK.'\n});  // Sets the full localized description of the dashboard\n```\n**Screen modes**\nGet screen modes:\n```js\nconst screenModes = dashboard.getScreenModes();\n```\nSet screen modes in sync:\n```js\ndashboard.setSyncScreenModes(true);\n```\nDesync screen modes:\n```js\ndashboard.setSyncScreenModes(false);\n```\nAdd a screen mode:\n```js\ndashboard.addScreenMode('mobile'); // adds an empty mobile screen mode (if screen modes are not synced)\ndashboard.addScreenMode('tablet', 'desktop'); // adds a tablet screen mode (based on the desktop screen mode)\n```\nRemove a screen mode:\n```js\ndashboard.removeScreenMode('tablet');\n```\n**Columns**\nA dashboard screen mode consists of columns and rows, for positioning of its items. These can differ across screen modes.\nGet columns:\n```js\nconst dashboardColumns = dashboard.getColumns(); // Retrieves number of columns for abitrary first screen mode\nconst mobileColumns = dashboard.getColumns('mobile'); // Retrieves number of columns for mobile mode\n```\nSet columns:\n```js\ndashboard.setColumns('24'); // Sets number of columns to 24 for all screen modes\ndashboard.setColumns('6', 'mobile'); // Sets number of columns to 6 for mobile screen mode\n```\n**RowHeight**\nA dashboard screen mode consists of columns and rows, for positioning of its items. These can differ across screen modes.\nGet row height:\n```js\nconst dashboardRowHeight = dashboard.getRowHeight(); // Retrieves number of columns for abitrary first screen mode\nconst mobileRowHeight = dashboard.getRowHeight('mobile'); // Retrieves number of columns for mobile mode\n```\nSet row height:\n```js\ndashboard.setRowHeight('16'); // Sets row height to 16px for all screen modes\ndashboard.setRowHeight('24', 'mobile'); // Sets row height to 24px for mobile screen mode\n```\n**Timezone**\nGet dashboard timezone:\n```js\nconst dashboardTimezone = dashboard.getTimezone();\n```\nSet dashboard timezone:\n```js\ndashboard.setTimezone('Etc/GMT+11');\n```\n**Manage filters**\nGet dashboard filters:\n```js\nconst dashboardFilters = dashboard.getFilters();\n```\nAdd filter instance to a dashboard, see [Filter](https://cumul.io) how to create one:\n```js\ndashboard.addFilter(filter); // adds the filter to all screenmodes\ndashboard.addFilter(filter, 'tablet'); // adds the filter only to screenmode 'tablet'\n```\nRemove filter from a dashboard, you can use the filter id or the filter instance:\n```js\ndashboard.removeFilter(filterId); // removes the filter using the filter id\ndashboard.removeFilter(filter); // removes the filter using the filter instance\n```\n\n**Manage parameters**\nList all dashboard parameters instances:\n```js\nconst dashboardParameters = dashboard.getParameters();\n```\nAdd a parameter to a dashboard, see [Parameter](https://cumul.io) how to create one:\n```js\nconst dashboard.addParameter(parameter);\n```\nRemove a parameter from a dashboard:\n```js\ndashboard.removeParameter(parameterName); // removes a parameter based on it's name\ndashboard.removeParameter(parameter); // removes a parameter using the instance\n```\n\n**Export JSON definition**\nTo export the json definition for creation with [Cumul.io's API](https://cumul.io) or integration  [Cumul.io's Integration API](https://cumul.io):\n```js\nconst json = dashboard.toJSON();\n```\nYou can then use this json object to create a dashboard with [Cumul.io's API](https://cumul.io) OR just use the contents and [integrate](https://cumul.io) the dashboard in a webpage.\n\n## Item\n\n**Create** a new chart: eg.\n```js\nconst barChart = new cio.BarChart();\n```\nCheck the list of items for all available charts.\n\n**Set title**\nUse a string:\n```js\nbarChart.setTitle('My bar chart');\n```\nUse a localized object:\n```js\nbarChart.setTitle({\n  en: 'My bar chart',\n  fr: 'Ma graphique à barres'\n});\n```\n\n**Add data**\n```js\nbarChart\n  .setData('measure', measureColumn, { format:  '.f2', aggregation:  'median' })\n  .setData('category', categoryColumn, { label: { en: 'category' } });\n```\nCheck [the Column section](https://cumul.io) how to create a column definition. \nCheck [the list of items](https://cumul.io) for data slot possibilities in a chart.\nWhen setting data you can supply optional settings such as:\n* *format*: The format you wish to use in case of numeric or datetime data.\n* *aggregation*: The aggregation function you wish to use in case of numeric data. Possibilities are: sum, min, max, median, (TO DO supply all info)\n* *label*: an internationalized string. The label will be used in tooltips when hovering the cursor over a chart.\n* *level*: Numeric. The level of a datetime column (1 to 9: year to millisecond) or of a hierarchy column.\n\n**Set an option**\n```js\nbarChart\n  .setOption('categories.colored', true)\n  .setOption('display.title', false);\n```\nCheck [the list of items](https://cumul.io)  for all possibilities in a chart.\n\n**Add to a dashboard**\nFrom the dashboard:\n```js\ndashboard.addItem(barChart);\n```\n\nFrom the item:\n```js\nbarChart.appendTo(dashboard);\n```\n\n**Retrieve the dashboard the item was linked to**\n```js\nbarChart.getDashboard();\n```\n> This returns the dashboard instance linked to the item. This is very useful for chaining.\n\n**Set Size**\nSet width & height (in columns & rows):\n```js\nbarChart.setSize({width: 24, height:20}); // if screen modes are synced, sets the size in all screen modes\n```\nSet width & height (in columns & rows) in a specific screen modes:\n```js\nbarChart\n  .setSize({width: 16, height:16}, 'mobile')\n  .setSize({width: 24, height:20}, 'tablet');\n```\nYou can also only set width or height:\n```js\nbarChart\n  .setSize({width: 24}, 'tablet')\n  .setSize({height: 20}, 'tablet');\n```\n\n**Set Position**\nSet width & height (in columns & rows):\n```js\nbarChart.setPosition({row: 0, column: 12}); // if screen modes are synced, sets the size in all screen modes\n```\nSet width & height (in columns & rows) in a specific screen modes:\n```js\nbarChart\n  .setPosition({row: 0, column: 12}, 'mobile')\n  .setPosition({row: 12, column: 12}, 'tablet');\n```\nYou can also only set width or height:\n```js\nbarChart\n  .setPosition({row: 0}, 'tablet')\n  .setPosition({column: 12}, 'tablet');\n```\n\n**Clone**\n```js\nconst barChartCloned = barChart.clone();\n```\n> This function returns the *cloned item*.\n\n## Column\n**Create**\nCreate an empty column instance\n```js\nconst column = new cio.Column();\n```\nCreate a column instance immediately setting its attributes\n```js\nconst definedColumn = new  cio.Column({\n  columnId:  columnId,\n  datasetId:  datasetId,\n  label: { en:  'Column label' },\n  type:  'numeric'\n});\n```\n\n**Column id**\nGet column  id\n```js\nconst columnId = column.getColumnId();\n```\nSet column  id to an existing column id:\n```js\ncolumn.setColumnId(columnId);\n```\n**Dataset Id**\nGet column  id\n```js\nconst datasetId = column.getDatasetId();\n```\nSet dataset  id to an existing dataset id:\n```js\ncolumn.setDatasetId(columnId);\n```\n**Label**  \nUse a string:\n```js\nconst columnLabelI18n = column.getLabel();\n```\nUse a localized object:\n```js\ncolumn.setLabel('Column Label'); // Sets the label to the default language\ncolumn.setLabel('Column Label', 'en'); // Sets english label of the column\ncolumn.setLabel({\n  en: 'Column Label',\n  fr: 'Libellé de la colonne'\n});  // Sets the full localized label of the column\n```\nThe column label is an internationalized string. The label will be used in tooltips when hovering the cursor over a chart.\n\n**Type** \nGet column  type\n```js\nconst columnType = column.getType();\n```\nSet column type:\n```js\ncolumn.setType('numeric');\n```\nType can be of: \"numeric\", \"hierarchy\", \"datetime\", \"spatial\".\n\n**Subtype**\nGet column  subtype\n```js\nconst columnSubtype = column.getSubtype();\n```\nSet column subtype:\n```js\ncolumn.setSubtype('duration');\n```\nType can be of: \n* for *numeric* type: \"duration\", \"currency\"\n* for *spatial* type: \"topography\", \"currency\"\n\n**Set aggregation**  \nGet column  aggregation\n```js\nconst columnAggregation = column.getAggregation();\n```\nSet column aggregation:\n```js\ncolumn.setAggregation('median');\n```\nAggregation can be: *\"sum\", \"cumulativesum\", \"average\", \"median\", \"count\", \"distinctcount\", \"min\", \"max\", \"stddev\" or \"rate\"*\n\n**Set format**\nGet column format\n```js\nconst columnFormat = column.getFormat();\n```\nSet column format:\n```js\ncolumn.setFormat('.f0');\n```\n**Set level**\nGet column  level\n```js\nconst columnFormat = column.getLevel();\n```\nSet column level:\n```js\ncolumn.setLevel(4);\n```\nThe level of a datetime column (1 to 9: year to millisecond) or of a hierarchy column.\n\n**Clone**\n```js\nconst clonedColumn = column.clone();\n```\n\n## Filter\n**Create**\n\nCreate an empty filter instance\n```js\nconst filter = new cio.Filter();\n```\nCreate a filter instance immediately setting its attributes\n```js\nconst definedFilter = new cio.Filter({\n\tcolumn: measureColumn,\n\texpression: '? > ?',\n\tvalue: 100\n});\n```\n\n**Filter column**\nGet column:\n```js\nfilter.getColumn();\n```\nSet a column:\n```js\nfilter.setColumn(measureColumn);\n```\n**Filter expression** \nGet expression:\n```js\nfilter.getExpression();\n```\nSet expression:\n```js\nfilter.setExpression('? > ?');\n```\nExpressions can be: \n* for any column: \"? is null\" or \"? is not null\"\n* with numeric column: \"? = ?\", \"? != ?\", \"? in ?\", \"? not in ?\", \"? like ?\", \"? not like ?\", \"? < ?\", \"? <= ?\", \"? > ?\", \"? >= ?\"\n* with hierarchy column: \"? = ?\", \"? != ?\", \"? in ?\", \"? not in ?\", \"? starts with ?\", \"? not starts with ?\", \"? ends with ?\", \"? not ends with ?\"\n* with datetime column: \"last_now\", \"last_available\", \"last_completed\", \"to_date\", \"WTD\", \"MTD\", \"QTD\", \"YTD\", \"? within ?\",\n\n**Filter value** \nGet value:\n```js\nconst filterValue = filter.getValue();\n```\nSet value:\n```js\nfilterA.setValue(100); // Example for numeric Column\nfilterA.setValue([100, 150]); // Example for numeric Column with \"? in ?\" or \"? not in ?\" expression\nfilterC.setValue('Awesome Company'); // Example for hierarchy Column\nfilterD.setValue(['Burrito', 'Fajita']); // Example for hierarchy Column with \"? in ?\" or \"? not in ?\" expression\nfilterE.setValue(column); // Example for value set to a column\nfilterF.setValue(parameter); // Example for value set to a parameter\n```\nFilter value can be of type: number, string, array of numbers, array of strings, Column instance or Parameter instance.\n**Clone** \n```js\nconst clonedFilter = filter.clone();\n```\n**Item filter** \nAdd filter to an item:\n```js\nbarChart.addFilter(filter);\n```\nRemove filter from an item, you can use the filter id or the filter object:\n```js\nbarChart.removeFilter(filterId); // removes the filter using the filter id\nbarChart.removeFilter(filter); // removes the filter using the filter instance\n```\nGet item filters:\n```js\nconst barChartFilters = barChart.getFilters();\n```\n**Dashboard filters**\nAdd filter to a dashboard:\n```js\ndashboard.addFilter(filter); // adds the filter to all screenmodes\ndashboard.addFilter(filter, 'tablet'); // adds the filter only to screenmode 'tablet'\n```\nRemove filter from a dashboard, you can use the filter id or the filter object:\n```js\ndashboard.removeFilter(filterId); // removes the filter using the filter id\ndashboard.removeFilter(filter); // removes the filter using the filter instance\n```\n\nGet dashboard filters:\n```js\nconst dashboardFilters = dashboard.getFilters();\n```\n## Parameter\n**Create**\nCreate an empty parameter instance\n```js\nconst parameter = new cio.Parameter();\n```\nCreate a parameter instance immediately setting its attributes\n```js\nconst definedParameter = new cio.Parameter({\n  parameter:  'userId',\n  type:  'hierarchy',\n  value:  '123'\n});\n```\n\n**Name**\nGet name:\n```js\nconst parameterName = parameter.getName();\n```\nSet name:\n```js\nparameter.setName('company'); // Sets the parameter name to company. Use in multi-tenant embedding.\n```\n**Default value** \nGet default value:\n```js\nconst parameterDefault = parameter.getDefaultValue();\n```\nSet default value:\n```js\nparameter.setDefaultValue('Awesome company'); // Sets the parameter default value to 'Awesome company'. Use in multi-tenant embedding.\n```\n**Type** \nGet type:\n```js\nconst parameterType = parameter.getType();\n```\nSet type:\n```js\nparameter.setType('hierarchy'); // Sets the parameter type to hierarchy. Use in multi-tenant embedding.\n```\nTypes can be: *\"numeric\", \"datetime\", \"hierarchy\", \"array[hierarchy]\" or \"array[numeric]\"*\n\n**Dashboard**\nAdd a parameter to a dashboard:\n\nRemove a parameter from a dashboard:\n```js\ndashboard.removeParameter(parameterName); // removes a parameter based on it's name\ndashboard.removeParameter(parameter); // removes a parameter using the instance\n```\n\nList all dashboard parameters instances:\n```js\nconst dashboardParameters = dashboard.getParameters();\n```\n\n## Theme\n**Create**\n```js\nconst customTheme = new cio.Theme();\n```\n\n**Set options**\n```js\ncustomTheme\n  .setOption('background','#262732')\n  .setOption('itemsBackground','#343544');\n```\n\n**Dashboard theme** \nSetting a theme:\n```js\ndashboard.setTheme(themeId); // sets a platorm or organization theme using the id\ndashboard.setTheme(customTheme); // sets a custom theme using the custom theme instance\n```\nGetting a theme:\n```js\nconst dashboardTheme = dashboard.getTheme();\n```\n**Item theme**  \nSetting a theme:\n```js\nbarChart.setTheme(themeId); // sets a platorm or organization theme using the id\nbarChart.setTheme(customTheme); // sets a custom theme using the custom theme instance\n```\nGetting a theme:\n```js\nconst barChartTheme = barChart.getTheme();\n```\n\n## Examples\n```js\nconst  measureColumn = new  cio.Column({\n  datasetId:  '5b952cc9-0a44-47b8-bc5a-20edcabca925',\n  columnId:  '4125af6f-044a-445e-a392-ca80676fc20c',\n  label: { en:  'Volume' },\n  type:  'numeric'\n}); \n\nconst  dashboard = new  cio.Dashboard();\ndashboard\n  .setName('Testing the SDK') // uses default 'en'\n  .setName('En we zingen met zen allen hip hip hoera', 'nl') // or use a language\n  .setDescription({ fr:  'Should create a dashboard json definition' }) // also allows internationalized strings\n  .addParameter(new  cio.Parameter({ parameter:  'company', type:  'array[hierarchy]', value: ['Coca-Cola']})) // set Parameter\n  .removeParameter('company')\n  .addParameter({ parameter:  'companyNew', type:  'array[hierarchy]', value: ['Coca-Cola']})\n  .setTimezone('Etc/GMT+11')\n  .addItem(\n    new  cio.BarChart()\n      .setTitle('Chart 1')\n      .setSize({ width:  24, height:  20 })\n      .setOption('categories.colored', true)\n      .setOption('display.title', false)\n      .setData('measure', measureColumn, { format:  '.f2', aggregation:  'median' })\n  )\n  .addItem(\n    new  cio.Donut()\n     .setTitle('Chart 2')\n     .setSize({ width:  24, height:  20 })\n  )\n  .removeScreenMode('tablet');\n\nconst json = dashboard.toJSON();\n```\n## Remarks\n## Changelog\n## List of items\n**AreaChart**\n**BarChart**\n**BubbleChart**\n**Bullet**\n**Choropleth**\n**CircleGauge**\n**CirclePack**\n**ColumnChart**\n**CombinationChart**\n**Datefilter**\n**Donut**\n**Funnel**\n**Heatmap**\n**Hexbinmap**\n**Imageobject**\n**LineChart**\n**Markermap**\n**NumberConditional**\n**Ohlc**\n**OneNumber**\n**ParallelCoord**\n**PivotTable**\n**Pyramid**\n**RadarChart**\n**RegularTable**\n**Routemap**\n**Sankey**\n**ScatterPlot**\n**Selectbox**\n**Slicer**\n**Slider**\n**Spacer**\n**Speedometer**\n**StripPlot**\n**Sunburst**\n**Symbolmap**\n**Textobject**\n**Treemap**\n**Videoobject**\n","readmeFilename":"README.md"}