{"_id":"@redsift/ui-rs-schedule","_rev":"103-b010a213cc8dbfa5131acaeecdc64d73","name":"@redsift/ui-rs-schedule","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@redsift/ui-rs-schedule","version":"0.1.0","keywords":["redsift-ui-component","redsift-ui","redsift"],"author":{"name":"Martin Hecher"},"license":"MIT","_id":"@redsift/ui-rs-schedule@0.1.0","maintainers":[{"name":"martinhecher","email":"martin@redsift.io"}],"homepage":"https://github.com/redsift/ui-rs-schedule","bugs":{"url":"https://github.com/redsift/ui-rs-schedule/issues"},"dist":{"shasum":"ba5b1128171e137921f6f1e3b54992d1ca0429b9","tarball":"https://registry.npmjs.org/@redsift/ui-rs-schedule/-/ui-rs-schedule-0.1.0.tgz","integrity":"sha512-k8zWXEVvzh0gIR3PSNzXhWtQEj+D3M2JqOeK6dn/7mKnk2vEAoigf9Gg3B4agSM0N9Lx/BT/4nnS6XELGsNtjw==","signatures":[{"sig":"MEUCIQC/caNRaLshJ7dgp62cVC0U4/uiR4yhhM9R0hSgF2Z+6wIgSA5/TVcbb4uHWOrnzJIWjiFD6hbvt7BfQazyjWlnOt0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/js/ui-rs-schedule.umd-es2015.js","_from":".","_shasum":"ba5b1128171e137921f6f1e3b54992d1ca0429b9","scripts":{"test":"echo \"No test specified\" && exit 0","build":"node ./node_modules/gulp/bin/gulp.js build","serve":"node ./node_modules/gulp/bin/gulp.js serve","prepublish":"npm run build"},"_npmUser":{"name":"martinhecher","email":"martin@redsift.io"},"repository":{"url":"git+https://github.com/redsift/ui-rs-schedule.git","type":"git"},"_npmVersion":"3.9.0","description":"A customizable schedule component.","directories":{},"jsnext:main":"./src/index.js","_nodeVersion":"5.10.1","dependencies":{"@redsift/d3-rs-core":"^0.1.5"},"devDependencies":{"del":"*","gulp":"^3.9.0","bower":"*","jshint":"*","lodash":"^4.12.0","rollup":"^0.26.2","rupture":"^0.6.1","gulp-util":"^3.0.7","browserify":"*","gulp-babel":"*","gulp-concat":"*","gulp-jshint":"*","gulp-notify":"*","gulp-rename":"*","gulp-stylus":"*","gulp-uglify":"*","browser-sync":"^2.11.1","gulp-plumber":"^1.0.1","merge-stream":"^1.0.0","babel-runtime":"^6.6.1","gulp-cleancss":"^0.2.2","normalize.css":"^3.0.3","babel-polyfill":"^6.0.16","gulp-sourcemaps":"*","gulp-autoprefixer":"*","rollup-plugin-json":"^2.0.0","babel-preset-es2015":"*","rollup-plugin-babel":"^2.4.0","rollup-plugin-buble":"^0.7.0","rollup-plugin-string":"^1.0.1","rollup-plugin-uglify":"^0.3.1","gulp-closure-compiler":"*","rollup-plugin-commonjs":"^2.2.1","rollup-plugin-filesize":"^0.3.4","babel-preset-es2015-rollup":"^1.1.1","rollup-plugin-includepaths":"^0.1.5","rollup-plugin-node-resolve":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/ui-rs-schedule-0.1.0.tgz_1463419170636_0.8050909179728478","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-05-16T17:19:33.422Z","modified":"2026-09-15T11:14:44.815Z","0.1.0":"2016-05-16T17:19:33.422Z"},"bugs":{"url":"https://github.com/redsift/ui-rs-schedule/issues"},"author":{"name":"Martin Hecher"},"license":"MIT","homepage":"https://github.com/redsift/ui-rs-schedule","keywords":["redsift-ui-component","redsift-ui","redsift"],"repository":{"url":"git+https://github.com/redsift/ui-rs-schedule.git","type":"git"},"description":"A customizable schedule component.","maintainers":[{"email":"operations@redsift.io","name":"redsift_operations"},{"email":"rahul@redsift.io","name":"rahulpowar"},{"email":"randal@redsift.io","name":"randalpinto"},{"email":"nicolas.jaremek@redsift.io","name":"njaremek"},{"email":"eduardo.arada@redsift.io","name":"earada"},{"email":"jose.cabrera@redsift.io","name":"jmccanal"},{"email":"bernat.mayolas@redsift.io","name":"bmayolasredsift"},{"email":"raul.lorenzo@redsift.io","name":"raul.lorenzo.redsift"},{"email":"pidupuis@protonmail.com","name":"pierredupuis"},{"email":"caluminus@hotmail.co.uk","name":"luminous_cal"},{"email":"hector.ortega@redsift.io","name":"hortega_rs"},{"email":"asim.gunes@smartbee.uk","name":"asimgunes"},{"email":"dmitry@redsift.io","name":"sometimesitbetterstepasideandnotusejavascript"},{"email":"serhii.trofimenko@redsift.io","name":"sega057"},{"email":"julian.picht@redsift.io","name":"julian.picht"},{"email":"pedro.jimenez@redsift.io","name":"pedro.lop.j"},{"email":"anne.shackelford@redsift.io","name":"anneshackeford"},{"email":"piero.nima@redsift.io","name":"pieronima"},{"email":"bhushan.lokhande@redsift.io","name":"bhushan-redsift"},{"email":"mike.cardwell@redsift.io","name":"mikehardenize"},{"email":"jay.singh@redsift.io","name":"jaydsingh11"},{"email":"antony.seedhouse@redsift.io","name":"synotnars"},{"email":"nadim.lahoud@redsift.io","name":"lahoud"},{"email":"juan.baquero@redsift.io","name":"jmbaquero_redsift"}],"readme":"# ui-rs-schedule\n\n`ui-rs-schedule` is a component for creating a customizable scheduler component for your application, e.g. to show events on a timeline. It is provided as a [custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Custom_Elements) for easy integration into your projects.\n\n> If your browser does *NOT* support *custom elements* natively (see [caniuse](http://caniuse.com/#feat=custom-elements)) you have to install the [web components shim](http://webcomponents.org/) and include it in your project before including this component!\n\nThe component is part of the [RedsiftUI](https://github.com/redsift/redsift-ui) library. For a documentation of the hero unit see the [official RedsiftUI documentation](https://docs.redsift.io/docs/client-code-redsift-ui).\n\n## Builds\n\n[![Circle CI](https://circleci.com/gh/Redsift/ui-rs-schedule.svg?style=svg)](https://circleci.com/gh/Redsift/ui-rs-schedule)\n\nA UMD build is available from //static.redsift.io/reusable/ui-rs-schedule/latest/ui-rs-schedule.umd-es2015.min.js.\n\nTo build locally checkout this repository and\n\n```bash\n> cd ui-rs-schedule\n> npm install\n> npm run build\n```\n\nThis will create a `./dist` folder with the Javascript and CSS files.\n\n## Browser Usage\n\nInclude the Javascript on the bottom of the `<body>`:\n\n```html\n<script src=\"https://d3js.org/d3.v4.0.0-alpha.35.js\"></script>\n<script src=\"//static.redsift.io/reusable/ui-rs-schedule/latest/js/ui-rs-schedule.umd-es2015.min.js\"></script>\n```\n\nIncluding the Javascript already registers the custom element `rs-schedule` with the browser. Make sure to include [D3v4](https://d3js.org/) *before* the component, as it depends on it!\n\nUse the following HTML code to create a `rs-schedule` element:\n\n```html\n<rs-schedule></rs-schedule>\n```\n\nData is added to the chart via Javascript in the following form:\n\n```Javascript\nvar data = [\n    {\n        \"start\": Date.parse(\"2016-04-13T14:30:00+01:00\")\n    },\n    {\n        \"end\": Date.parse(\"2016-04-13T18:30:00+01:00\")\n    },\n    {\n        \"status\":\"confirmed\",\n        \"summary\": \"Confirmed overlap event\",\n        \"self\": true,\n        \"start\": Date.parse(\"2016-04-13T16:30:00+01:00\"),\n        \"end\": Date.parse(\"2016-04-13T18:30:00+01:00\")\n    },\n    {\n        \"status\":\"tentative\",\n        \"summary\": \"Tentative event\",\n        \"self\": false,\n        \"start\": Date.parse(\"2016-04-13T15:00:00+01:00\"),\n        \"end\": Date.parse(\"2016-04-13T16:00:00+01:00\")\n    },\n    {\n        \"status\":\"proposed\",\n        \"summary\": \"Suggested event of some significant length\",\n        \"self\": false,\n        \"start\": Date.parse(\"2016-04-13T16:00:00+01:00\"),\n        \"end\": Date.parse(\"2016-04-13T17:00:00+01:00\")\n    },\n];\n\nvar chart = document.querySelector('rs-schedule');\nchart.width = 600;\nchart.data = data;\n```\n\n#### CAUTION:\n\nIf your browser does not support *custom elements* (and only then!) make sure to wrap the above code into the following code:\n\n```javascript\nwindow.addEventListener('WebComponentsReady', function(e) {\n  // setup code ...\n});\n```\n\nSee a description of why this is necessary [here](https://www.polymer-project.org/1.0/docs/migration.html#polymer-ready).\n\n# Development Setup\n\nFor development run\n\n```bash\n> npm run serve\n```\n\nwithin the repository folder. It will start a web server serving the content of `./samples` and supports live-reloading when a source file is changed.\n","readmeFilename":"README.md"}