{"_id":"@terminus/ui-cohort-date-range","_rev":"45-a1575caeceb97060b5c2ccae04eeb969","name":"@terminus/ui-cohort-date-range","dist-tags":{"latest":"4.0.0","next":"4.0.1"},"versions":{"0.0.1":{"name":"@terminus/ui-cohort-date-range","version":"0.0.1","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^1.0.10","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"*","@terminus/ui-input":"*","@terminus/ui-option":"*","@terminus/ui-selection-list":"*"},"main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@0.0.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-fDG67rbAKu9C0d4KWd9J0l6ffY7p1FVWwjj3VgQNqvotuqg8cyQOG/CN6mRAhHPE4dUDTboh/4ODCH6v2QG0kg==","shasum":"2980d6a138e9c50664dafc86b9be769156703f1c","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-0.0.1.tgz","fileCount":63,"unpackedSize":268966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1eTPCRA9TVsSAnZWagAAn/0P/1+I+FPr+sKD4cQyw17Q\nYA17yz+1QMyTBfUk/uc1GCOUAL24oj2zW5mNQ/U5Yy5z96+Cbd6sQlACDLm7\nVWDylY1LPCB80mWwwK+oj7PO3uwHzfDAQR83HC7p1ZoxUvrI2o3JbmhKt4kv\nqAXgFOWSlNkbVoCZ53pNIVAiz6d1pX7Y7ZxsgnKRwmlcsI/SCSVhmZcfDAMd\n16xKKJOBiSGpAk+8B7S/cuAK/agjle9yi67mji63k7uvC3cQvlMxsRI9r8Mn\nM1CG6EcdjqJIOjBDjNFe0ckT7TvK7g7wJ43bHB8Om/WybfGy3BS2y3kaX2SR\ny9ef4GJvJX3RAeKHVKXcw6Jq0x/YTAkLnV3NlGhZL+f4RzHMGWeeuineGbBb\nc3Gh2w9dPtFfm74eMiqKPB5t62mzTYH3eQzn3h+alYiS8l4VzMRceKmXKYH3\nrraO3anblbh+50qvFx0a13lIRf4n80fUpB5Jo4EfeE+vZSKMaO9dZu8LHNWx\naSdfhKCnHo3nIu9bUAy6X5qG1qVazC7QMPuetvSzoOLEUVQCyf0Dmur5G1GI\nytm8PbHBchZFzykOY7zT8IqvlNHYY9MWeRsWO03QXjTDssAwe9N3CTPXIqpU\nOj9KU8mL+m8+1ptvJkrtJvgEupp20uRBqBPsNL7IhsoE84rGXUNFxiWGqEst\nTyp4\r\n=tHra\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHBm+4puhyuG0tAyVdhpAjC3kN8T9vkRRYTqHz1zXvcAiAsyv0ghz0ysPF/+l9mMPDkNDLs8PvchUvSYNlxSutjIg=="}]},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmUser":{"name":"benjamincharity","email":"ben@benjamincharity.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_0.0.1_1591076046308_0.6438428096123003"},"_hasShrinkwrap":false},"1.0.0":{"name":"@terminus/ui-cohort-date-range","version":"1.0.0","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^1.0.10","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^0.0.1","@terminus/ui-input":"^0.0.1","@terminus/ui-option":"^0.0.1","@terminus/ui-selection-list":"^0.0.1","tslib":"^1.10.0"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Github release][gh-release-badge]][gh-releases] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/master/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/master/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[gh-release-badge]:    https://img.shields.io/github/release/GetTerminus/terminus-oss.svg\n[gh-releases]:         https://github.com/GetTerminus/terminus-ui/releases/\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/CI%20Release/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ctgTOykehAYcRq1wuv626hMpEw6FG41BgYD6nOoUIt6xR4ehmLEktVh+BdJxpbwQ/d3ORtU3JpJlKPrnwP+T7Q==","shasum":"e85a51eb3a693c27543b2c058fce552e8501f26d","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.0.tgz","fileCount":21,"unpackedSize":33140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2T8ACRA9TVsSAnZWagAAEV8P/03IPpmzWN461yuUEuyl\nrGRryUEgZoMgkdAgiJTIjha9kJSEGn4QR0FsIubEXBiy7fSH8zt6b66MmVfl\n37BT+k3+0saXSKjsJit/bUio8Z09Zg7OwFq4WLf+Orn8c6y6QBZlcH3o26oB\n4uHSjRqTz416HfRuq3y2kGVo4nJZC1QWHlNvZ5unsOYs99FIV+Re+vO6BrBE\n3tIsya2oaOBU73ORd/f5ju8Ea1b9r9Jl3ubtMgxNadB8DEn4RDJQCu1amv9n\nmBwi71aEuSyC7IYvHmH1EvMjOfk5mDBkxm+WLH8t/nmeixcILLSBFMYfTmfF\n0TUyRXyDsk5glo8VNfZ6iO8UwEbETyaddCJ3eHczarGD8xtSCiAZQjKO4kg4\nxL86KOMpg2zzygKK4/C1ZjXE8uKGD7HlH8q4UmdrZ7PHxQfupg6BoGT5ssSp\nZJiIAHL/79Ttlduu4fmFsGGMMWGQZ76Hdan2bPbDk4KoQfdUhXn/OL8cw8D4\nNKK/1j2vg39iUw6paUuYhTykV1nLEh6mogASiOvfNnsqNJOinXY0Pa+2/Z1b\noWHojG0CQOuAbLpO89z8jrVcwrRy5w5w3kE2DS7slz+0nzzxDEnfLWxAT6Q9\n0qhG/6eBCoFtSez1OFjUyYq5gEl/nUjUbJJx/b29K1UnqJND1QCDbTlQlK45\n0q41\r\n=XtUf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlYQttsF7RInV9rJXHht+wd6hYhU+nsTyUkbASJ4I17gIgUE0tvCeKmQPSxQkJZWDr05fRVp58e21O6mm6MB8HG7U="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.0_1591295743573_0.08102974051239409"},"_hasShrinkwrap":false},"1.0.1":{"name":"@terminus/ui-cohort-date-range","version":"1.0.1","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^1.0.10","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^0.0.1","@terminus/ui-input":"^0.0.1","@terminus/ui-option":"^0.0.1","@terminus/ui-selection-list":"^0.0.1","tslib":"^1.10.0"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-uOg4J5haKQJFrSONywD9LNzIHtrcIBKDzU/iR0DdSiQeqkv+MN6ZrBPpXBlNiid3MxTrMLzqBmsSpCtmY2rQWQ==","shasum":"cec426e694b9f29232aedc53e0dd0d221999a3a4","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.1.tgz","fileCount":22,"unpackedSize":33194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2aw5CRA9TVsSAnZWagAAMikP/Ru0wC7z7RyVdHT88oS5\nH85kV2EkBI4osom9z+2XCqsEPcq2hl0mkh0FKeGZRzatM2ZMCQGOe9UD2nuG\nMkrtEZrixckutrk1iTXItCdrzRaAvE3wYdzpI5pRv+UMoeFg7M5aIKKclcXS\nksKA14UxC/a04FCIVb8GaI8iXLq0YxEZEwwlTa5be9YvBSrMn1/syXaDpjQs\n8ln7cTtXggymVo/e761vs5jhaipHH+850/hPMl22eQbUiJmLlODZHq8pUfD8\n6/y3m+B/NwgiWnZ6gUxbwqt33Xdd5XrfExSnGqD7UX70WShXthksRq9INq6+\ngjDi7Fmy8LMVs4SPSozhS1erf3F3HGC31jL6yGzOUUYCNRhwbuqtiIVkqG8p\nFQ6w5ZygKFd03VADmKp4ZLyVMoJ3sruohyAw94AI9NZSDqIFlLr5XAw6sPrA\nNyEEq4xFastCWlFJEZIs3Ij4U9yKATg5KONJB9HFBfTVs8Z6G2RoB5Ev8t4d\nSwgHHHuu/doNVXQ7hl21VOM0tSIp3cNpJtFsQuD0MFm2mL8V5Vh6JeXfVR6R\nXEiM4I0EdqeHxoWi895igBx01UGLUmGRk5IPvbYOMJaR5N9zHWNKGKzEZCNp\nmLQIW7nwKhCFPPJB7eOg5hGxJYSvNN4n6jbdm52KEAUaQiM7dqWVOUU92lFs\nkLXr\r\n=kHmp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhhfnCOAbzR+ifsEjfYw7Vohkk0OqzP9dnCxHhHlLT3QIgOypCo7T+0+6Ty6nLqTTW1UcGhJ6arHl7Dn495pljwdQ="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.1_1591323705352_0.8413267542294174"},"_hasShrinkwrap":false},"1.0.3":{"name":"@terminus/ui-cohort-date-range","version":"1.0.3","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^2.0.2","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^1.0.0","@terminus/ui-input":"^1.0.0","@terminus/ui-option":"^1.0.0","@terminus/ui-selection-list":"^1.0.0"},"main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@terminus/ui-utilities":"1.0.3","@terminus/ui-form-field":"1.0.5","@terminus/ui-spacing":"1.0.3","@terminus/ui-validation-messages":"1.0.5","@terminus/ui-pipes":"1.0.3","date-fns":"2.14.0","rxjs":"6.5.5","@terminus/ui-icon":"1.0.3","@angular/material":"9.2.3","@terminus/ui-validators":"1.0.3","@angular/cdk":"9.2.3","text-mask-addons":"3.8.0","text-mask-core":"5.1.2","@terminus/ui-chip":"1.0.4","@terminus/ui-checkbox":"1.0.3"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.3","_nodeVersion":"12.18.0","_npmVersion":"lerna/3.22.1/node@v12.18.0+x64 (linux)","dist":{"integrity":"sha512-SVeYi3Odluqh9XNRqFgbcWTm2DdVQAsoGz/oev/Slobs60uz42Thu+z1L2/2ZoLC7NnPbE7ToxJrdPypnIMnUw==","shasum":"15d41e1503e3cf2a9b18782c31164f3a81e9fa9a","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.3.tgz","fileCount":65,"unpackedSize":265042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4j0UCRA9TVsSAnZWagAAyAIP/1FpL8eAU6QbWa+7UuSi\npOnvn3kr5IYVgXQV9g6sr0cUY/Gjc4J9kVgRP1PglRZw3Osw8UCSnRar6qhW\nS7bgbY05K7YNNGJr0kcwwgQIaZ6sJOWOZzZOOASNFDZdKQj57P+b2DpENPVd\nsfkBFCrvAdM1RVpuLyzfFOXxw6Q16yGX7aXeQJY5yF29N/0yqhYC8XVVq4bT\nwqSIqMdp2d5jb1hrfwYFqG2sO2z7U3H/1xYxNdlHDwaazbr8Q3Tr1MnZT6jL\nbF/kA3m36ExljbOKfZOGkoYQpQ8nm0A080lpA7HrzBLEtfDxPj2tuR+/viof\nl/X3NKrSnJ+b7D57t6AXXBim4C56xwpn0intZib52GJcbO0E+0VZNlm5FqOB\nifjSUqPVHupltkl/mfVXfSkHJFvlTIdDK4/Gdtl8Jr6Gn6rsZfY9x2hyd33H\nbT7S4MVXF2W3wNT10gVDOGj4wEupKrnF28Tud1/OBybdWNNIE1Q0S0x07BQX\nuYtvS/wqvvhXjCbubsWswwZBK2UKnQL1lZQAVDsAc/R3LgwaXTq5uZlHQatp\n1UZX7IAu9/WHv6gtHgru+qMck1xynv5ch3zPbwUWLqipdp62YQC1O48Dw/8C\nnoEaE71FpSSxx2a7/ks+4L6rGwvXClB09tzVGBoFpOtU8q8gRtUKJxDthL5F\nW+Ji\r\n=7+2z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpLoBfa5P6M1CRj8Wjq1VSdEg7Q8G1rPO6tXr4I3WajAiB5nQ8XutlOLmKY/dq37pzkMCIcZvaZVeXRmnXZWD0lPA=="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.3_1591885076222_0.836027434818174"},"_hasShrinkwrap":false},"1.0.4":{"name":"@terminus/ui-cohort-date-range","version":"1.0.4","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^2.0.2","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^1.0.0","@terminus/ui-input":"^1.0.0","@terminus/ui-option":"^1.0.0","@terminus/ui-selection-list":"^1.0.0"},"main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.4","_nodeVersion":"12.18.0","_npmVersion":"lerna/3.22.1/node@v12.18.0+x64 (linux)","dist":{"integrity":"sha512-6Y4acLhnMT0BlLk3VX00YK4gjPviMkrnGMQ0qIDn44wfAec+0ry9W2YcKQ+CZxiK5OnNCzkVzucm3b+pQ18npQ==","shasum":"5913418c20ddefa22619026f232068438218b2bb","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.4.tgz","fileCount":65,"unpackedSize":264621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8iEPCRA9TVsSAnZWagAA4RIQAJML+8yKwEJBXyy3GzwL\nYwN/4cI7ve08TxjSD+It0QWs80A45UpiAxXVAUEPveI/NwTkvaacWXHgPKb8\nd4qvkRPVKQ7rPya7rIDlRF3S9Zbl9+NMPSPW29/LYjmEeShpvzz6dLLgM/Ft\niFX5Y7YRwAj0vv5HlInWiOGxXh6PaR7OkwTpw/Ut7qSJmrnqUgB83Vzyb6qV\nwLSHKBJJe5TEV5bu8eY7m4QseqeswsZxJi3QVETHuqyGwH2qs13t7dCViZtv\nJZcqxoWuQLG29Tlvc4ot0hqK9ylZbLe8hGyumhZMhAFPKIgOZ6kqXa6PNlGr\nuItw6Un7EDQo0RgIcVetecZgCHsZ2UG+YTbrv/PmeLXQf0fWovhTuh/8sIa+\nMDy9wAiFxupNSlIz6KfTDhSf3ol5Qz0Ph6FzlYJmyhqE5Yw2Z8eMC2dCrPxK\nu9M2N/IwALZ1qs/ZfWymHZZemv+DPltDIMLAilJ4gMFUE6SPGIo5k+j/UHE/\nw374E1K7usaE0xHDna0MUXZgaIZbT6YS6O7m0mKFpo07VREOUc7hovKp34GO\nOhlR+xCuoL2wqhMHoFzN6uUamqFshL0b6+RGAxdkfwCfPgFFP+0aBDpLRJgC\nrbCBZciMrMcG9Q28q2jKrUwXOfSJpO27kB4yDEWaA+YyEkWH68zYVsVVNL1p\n5IRv\r\n=WIY9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCje535mBAR8OabYt2kYXbaS+rs6vmum7g5ZiLNeqzYLAIhAJtBm44t1UR/Yn7TEE7IGYcVeEyUJekEPABi/+RSj0Qf"}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.4_1592926479134_0.34758705699651227"},"_hasShrinkwrap":false},"1.0.5":{"name":"@terminus/ui-cohort-date-range","version":"1.0.5","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^2.0.2","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^1.0.0","@terminus/ui-input":"^1.0.0","@terminus/ui-option":"^1.0.0","@terminus/ui-selection-list":"^1.0.0"},"main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.5","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (linux)","dist":{"integrity":"sha512-9NDTwnzznqxXamlACW5ywiKsqWzebgB3S3OjowMZqwzRQDr+PdDf1A1OLnZeMH4QzXuKGcAamZAZnd/MLEdTPw==","shasum":"6b629dcd6c64f52bcc0738460b06dbcee2434cea","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.5.tgz","fileCount":65,"unpackedSize":264853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBJb7CRA9TVsSAnZWagAA2w4P/3hjS7bO02/gXzjAK2ai\nl5afwx+d0k/LS+m37VwotYnl7OzHYFTWC7+M7nhhpzY6rKVI+DoWgC4IHb4c\nF7oePqU/0r2OWmyJx7br8Lkj8tGGJB/r5Z79N2owT6EpBTRWpvNF57LuxSup\nkRRVJQ0agNbRqtZgtYwpHJSX2uxXUEw/70VnTxT4zuVUqjWd6pZubo/FN7hh\nKDnPCgQL4YOU7/fI5WolUMUgpCE3B0O2E+sR0oPVdwfTkowunH73+FJre3BT\nSYAI9qXB70omLTAwf0wJhXMaMxMw/j3XxJjJ7GZvV9fRE3PYjv3xKwxUHt0L\nUJWXipt1luW5N2bg1SiGSWXO6yVa03dFtD1xhb0SJYT4Ee8a/04bBQfGPDm7\nIvNnDQwZBeUBtLp0kIIQelKgNcj9IjZH/BlrlJJD2vYyr/CbK6P6wgnfuJ7o\nhJNNKTe0jn23IZYlgvDQAb1OgYeqwbqI86abfZDRdFX6aP5R9bgxouk8dKUw\nbS6Qcy5MfEHmVTzbw9hxUbMjKnYg9LhnLdQAmstyOMLjgQNsa6JCxFeYxOb1\nKasglVKgAqUNEECcKbA6WsDwsGPEOpoU3NIrGLLYMXYKljeO5vTb9+Eskb4J\n0eThjAeCeAq4nouPhV3RgU4YlgyX0J6dARcAddDiFIhdS4HwLupxCKz92uRR\nym5K\r\n=gxVn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJACb4JGO42cLHm3IJoqv1ehrcWD90gPdWAXmFaTql1AiAVNWU4SkTTBMdnVvnm0c/F3JQK2XlEADfeuOnXihGxUg=="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.5_1594136315127_0.834369896120688"},"_hasShrinkwrap":false},"1.0.6":{"name":"@terminus/ui-cohort-date-range","version":"1.0.6","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^2.0.2","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^1.0.0","@terminus/ui-input":"^1.0.0","@terminus/ui-option":"^1.0.0","@terminus/ui-selection-list":"^1.0.0"},"main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@terminus/ui-checkbox":"1.0.5","@terminus/ui-utilities":"1.0.5","@angular/material":"9.2.4","@angular/cdk":"9.2.4","rxjs":"6.5.5","@terminus/ui-chip":"1.0.7","@terminus/ui-icon":"1.0.5","@terminus/ui-form-field":"1.0.7","@terminus/ui-spacing":"1.0.7","@terminus/ui-validation-messages":"1.0.8","@terminus/ui-pipes":"1.0.5","date-fns":"2.14.0","@terminus/ui-validators":"1.0.5","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.6","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (linux)","dist":{"integrity":"sha512-ok3isEl07vXDr8D8mRj2CC7iuY2n/eHu6g1WjecH2SD+uH4PiWvX+D+3hua4MAGirBXqa8Axk33lw49XHD0xxw==","shasum":"ea69ccbd6b7970e2bfc4b8076710414bb86d01ee","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.6.tgz","fileCount":65,"unpackedSize":256678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDFCrCRA9TVsSAnZWagAApqQQAKCJvvNEVQEJOqh/M91z\nEnRQj8vDu76ZiT9sJm6WeKfQo5YtKkRDT9vhRzc//MRO8P9NDsLuuKz/Rt1+\nUuoMroOxWDRtSgwc68ndNXN2Is6zd27cNYairhkClwJZNASJite/P5v4DDzs\nRhvZfJueaWCovPvJ2AonioawWSughqrKvWURNqqKgUJFigANmjzdpcuS2sJE\nzSI88IyG6+tyaKsDaGUv1KCMKO/xzQS0aORJiPVDO96s1l+iysNya8zuxR9H\nk6gB8tmeIyZZCW24ysiTQxNAw7bPgLk8qXVmhElK3zCzBL8oFCb/Un7QW9x3\n0/8A5XKr8gShLGJnY2KJ3X7zCl5vZKxhbaZSEZOeeyzRQZydxlSUhVpwKRYp\nVSYWs99d77F6DC9UBluVMU5cKJ1mTqdDdVJG75h+InpQWNCUIeOQxShoHwkD\n5fdf+QrvC7z+YANB1my6PR6Bz+Mn7XgW9iEdS0IxmBh9tjPNE02oET/QBKjH\nXmWH8LVV8mJVBwsvts+rySgdHMpvNFSqAMa+5plSVk55cWKuXQrR061thy+f\ndJ0svtLvml/cQwPk1Jz7rxDcUsRmauSGRSZ0HRuq+v/oDutMEeibddN28c5/\n5O7TMUOh5vxII/b0cVb2IY+t1ZEy1vEyA2rREYc04o5BabIfLKzt6XmrrYP/\noMsb\r\n=PBhp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwKLS99VjfuuXVopelBg2J6sW8HukZ8zl//PEYYSOdwQIhAOOUrXgwzP0nLINoIerxkkvNF/97INMTdzL9TqA70tQk"}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.6_1594642603075_0.5065897964690267"},"_hasShrinkwrap":false},"1.0.7":{"name":"@terminus/ui-cohort-date-range","version":"1.0.7","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^2.0.2","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^1.0.0","@terminus/ui-input":"^1.0.0","@terminus/ui-option":"^1.0.0","@terminus/ui-selection-list":"^1.0.0"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@terminus/ui-checkbox":"1.0.6","@terminus/ui-utilities":"1.0.5","@angular-devkit/schematics":"9.1.9","@schematics/angular":"10.0.0","@angular/material":"9.2.4","@angular/cdk":"9.2.4","rxjs":"6.5.5","@terminus/ui-chip":"1.0.8","@terminus/ui-icon":"1.0.6","@terminus/ui-form-field":"1.0.8","@terminus/ui-spacing":"1.0.7","@terminus/ui-validation-messages":"1.0.9","@terminus/ui-pipes":"1.0.6","date-fns":"2.14.0","@terminus/ui-validators":"1.0.5","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.7","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (linux)","dist":{"integrity":"sha512-gJxv04Fx50cRvePPFr1fc1LjdOqSyD03PTUcHcMijLF7J6VlYH29sPXRmc7KTcF8Awy6J+GQUxkIGy1oMLThUw==","shasum":"b25283a67918b3c323e16d7bfcfed17b33258bfe","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.7.tgz","fileCount":65,"unpackedSize":258477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDLTACRA9TVsSAnZWagAAhcsP/1r0ZyedmMEdKhDCA6Jj\ngg3Mp9Y281GNFEPObdms9zZolUkI/cYSsXvq84Jww952kOUt3/pUa95I8Hd0\ncBLw5AP6OgaQkdoPAa/5jT20ryuX5broUkbYNfprFHXFakFJH3S/HdDLRbrw\nSAkOgok0FWDvYPQy3v5hk0XMC5BPp0pAD/fE8M1GHUVXNzuIbc8STeeti+NB\naFMR7nZFdTIKHQeICbkzOECWnWRBRFnx1cKAZvbPzK8UCLpxexu4YebP1qPj\nc51T0ntuLTKvZxN8bDtPGhsJ3ftB6PT+1ClqfaI/oMr5Op6GoWI9mE1REw4q\nEdrr33d4FzdHFf5xXG6/fIY4f3eNllKQIc5BHwLYeCJG+xi6KoXrQGmoVUAn\nCqbP2/4KlAoz3Kr/6RAOvbDOhI8MR6t2cpKAaKp1rLosWlFzKiCNI6BThnXN\nCliI8YHmtbXLwRAK9O0W6hSkVE+XNJNbNq4Edvv5aN66PRfxWqyCRgvBV2qt\npYqPrxhSFpWyyo1/utvSauDlxyldym2qIwYw5Q/hIlsLLJy3Oxh+ZMmNEYKy\n9uFaXBQRx33HMDzFJYSIodaECS6yvtXZfBCOId6EqHkkYtdSrkEGS7I9Bbap\nAQiPXgME/J3wFnfboTD06XOFPsVf+s8QqwVH0cgrVhNJpbzsCIe3tQjMxFR9\nvMf0\r\n=ccrz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7WYjOE55JtNkYiw1lADkqKqV47BI1dz9g8+WyQFVr4QIgeWv3KW33JwcdLMvvfgow53s69ko8EBswisojY2jZ/0A="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.7_1594668224186_0.7534178511547553"},"_hasShrinkwrap":false},"1.0.8":{"name":"@terminus/ui-cohort-date-range","version":"1.0.8","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^1.0.0","@terminus/ui-input":"^1.0.0","@terminus/ui-option":"^1.0.0","@terminus/ui-selection-list":"^1.0.0"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@terminus/ui-checkbox":"2.0.0","@terminus/ui-utilities":"1.0.7","@angular-devkit/schematics":"9.1.9","@schematics/angular":"10.0.0","@angular/material":"9.2.4","@angular/cdk":"9.2.4","rxjs":"6.5.5","@terminus/ui-chip":"2.0.0","@terminus/ui-icon":"2.0.0","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.0.0","@terminus/ui-spacing":"1.0.9","@terminus/ui-validation-messages":"1.0.11","@terminus/ui-pipes":"1.0.7","date-fns":"2.14.0","@terminus/ui-validators":"1.0.7","text-mask-addons":"3.8.0","text-mask-core":"5.1.2","@fortawesome/pro-regular-svg-icons":"5.14.0"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n**Table of Contents**\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/ngx-tools`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.8","_nodeVersion":"12.18.2","_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (linux)","dist":{"integrity":"sha512-w93bVmPGtgfHnsE9WVOUgIuQ7Y40yOe3eMMYRKIRRWOT+EIs/4EA6LBB+BbeSYub9x0JDHLRbLDrD7iw1Q57BA==","shasum":"7dfe0e022a82c04a72b182120ccf4a20555d69f2","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.8.tgz","fileCount":69,"unpackedSize":262172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHy19CRA9TVsSAnZWagAALR8P/RPv70FYu3W5rfomyDAj\nl+3guU7D9CESVdcFAd58kr/4gvQhI76qpayZY31tmuG6yCgB4ErFzOMVddAh\nARcD1y2IJ2V71u6nSEX1Aqy2ivT03yW/wI+5OrZ/M+zpy6qZ1lzkmL4rlrZP\nLkFhes/DNuqLw1/0lbBsG1OuSv3GtlBmFYPsR/RpzRaaVjsm2I3LUZzrxAWk\nmUK376G+oamSIqI5VmjlWxmljCc+EjYeypvszSJTzgD82TQiRpA0XxLzHJPw\n6EiMAcWZjusBrBhVJ2fobszFErudmq/5chXbBUWGmt7JfWX49K+MqqBHZxXE\n/6r7VN+7XP0ec9T8LWGdxqX7ZyhvMcFaH249+H8RWiKUcxnQLqo2uACLlbvG\nEvc9LXGo/8oOgs96L+Zc89838zf88M39I0DUV3zX/Wno4jSC8sH0x8tJEu+K\n1v+8kHWlLz5Kaf2U/5hVCG9TI2Fk+wkXYMQ3R4cagmUpI6TwQORllFH3IMog\nO31d22oqDISbUfT+1cy5QED13LrfEDh3T2rWzGXkEG6iofWvIG9PwSAQnoLz\n6jeDnjhvtzp+uFjFcrFHz802bRD2OTzpnANKCDV03FFhNqx5JZ5Gdid/wJvy\ndIBEcWCNqOvSB/lqDaGCpQo7ShpbsDG7dsmxZePOrzpc1APdGnDrzGtVi2fs\nXxjO\r\n=gf7k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhTtEOXvgsORk21aoIKfr5AKS2KFHGpgIULE+6AwlOnQIhALyC5Iyc5/3KpDPXizvoNjJabsOgwr+cfr4+NnGiXQfB"}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.8_1595878780725_0.5891046702194662"},"_hasShrinkwrap":false},"1.0.9":{"name":"@terminus/ui-cohort-date-range","version":"1.0.9","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/ngx-tools":"^8.0.5","@terminus/ui-date-range":"^1.0.7","@terminus/ui-input":"^2.0.0","@terminus/ui-option":"^1.0.8","@terminus/ui-selection-list":"^2.0.0"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@terminus/ui-checkbox":"2.0.1","@terminus/ui-utilities":"1.0.8","@angular-devkit/schematics":"9.1.9","@schematics/angular":"10.0.0","@angular/material":"9.2.4","@angular/cdk":"9.2.4","rxjs":"6.5.5","@terminus/ui-chip":"2.0.1","@terminus/ui-icon":"2.0.1","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.0.1","@terminus/ui-spacing":"1.0.10","@terminus/ui-validation-messages":"1.0.12","@terminus/ui-pipes":"1.0.8","date-fns":"2.14.0","@terminus/ui-validators":"1.0.8","text-mask-addons":"3.8.0","text-mask-core":"5.1.2","@fortawesome/pro-regular-svg-icons":"5.14.0"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.9","_nodeVersion":"12.18.2","_npmVersion":"lerna/3.22.1/node@v12.18.2+x64 (linux)","dist":{"integrity":"sha512-3UkrzQ17Hc3EuDTRFZ8f94SUT0bpE1A8NSB3/UMQ7jdAyUSBAZwKgViO+M5BoIpkH4sqE50oyhxZ2udACGzu7A==","shasum":"91193ce1aadfc217232ca554c4ac8dd2d42ed5cd","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.9.tgz","fileCount":69,"unpackedSize":262480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIEQ3CRA9TVsSAnZWagAAmXYP/21ks5FnkkSZ8YxJeJrp\nKuQCWLIstDT1vJyICe1y63LxSh5jHSBF3lSMcrwoJBBf+NX373gRXB5yWAkH\nwmSI1nKOOiD8aO37MZ38TcmksL00vCFFXiTzzpiOhRMmL5gxOCE97gRX8aze\nfbE9x9vKiWGn2YBG1H2OM70xg+Mfszue/ty29k1URl+hJX7G9SiCYKdKskZ6\nhjUE73CjWVg6tP9heIhaZWs8YwRISgt3KOUMxanZEpk3meudi50ADC7hDWVW\nMfZEzESuiKzfyCcy5XHJ4PfHb+wamKhRuMUbwyLypmcFI88kjk32A6trQK6J\nKeKyGiGiZMSorv4BwZKQSp5PB3G4L1NqnxFidMHfzrxm0TA3GP87L7g3t0Ra\nVMbWY/tOiyWK8soEUq3ADKoGArk3kjIS5w/7L6BqVS0p8d7vHrI6pQwHNfmC\n4IAGuO3EC+C2nD0R9cWX7dxHaDIXQn6802/AdhjsV6g0vReeVKdDRn3SF42N\nq+NLd6G52r2TDIcFAx7hRADRSG6yN3+80eq4n2/iXDfqiTnBX1VohfeiqjX1\nB7E5X2kfc0Fm8fE0RT+ufc9f+sGPP75p5lrUNLngXVpShNQ5QBI7icMwhPvE\nhdCZ8gnvXoxWLDDlylBQ8Xq5aTG7N8gxodxxS2C9WirgEOyp5LTTE3aChHYQ\nZaKV\r\n=Utq1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx6xgr65RLbm+AtI0mDX7Qc2iQeBXHiFH9Kclnk9nf8QIgD1QbRszuXcLEdbJ6LzUZhUjkdBgCZ5yF8eDVb2GGvq0="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.9_1595950135087_0.3992338790808656"},"_hasShrinkwrap":false},"1.0.10":{"name":"@terminus/ui-cohort-date-range","version":"1.0.10","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.7","@terminus/ui-input":"^2.0.0","@terminus/ui-option":"^1.0.8","@terminus/ui-selection-list":"^2.0.0"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.5.5","date-fns":"2.14.0","@terminus/ui-checkbox":"2.0.6","@terminus/ui-utilities":"1.0.9","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/material":"9.2.4","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.0.4","@terminus/ui-icon":"2.0.5","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.0.6","@terminus/ui-spacing":"1.0.11","@terminus/ui-validation-messages":"1.0.14","@terminus/ui-pipes":"1.0.9","@terminus/ui-validators":"1.0.9","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.10","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-9FYmjFI6uQoKDBH2D+EYQiCDGy2cuF0rMBkzclaSUyTc39SU5+IiS4HBAUBpiFID/VEC8knaXESf6enYFM0bYA==","shasum":"ca3a3ec461fa3e99a74b657e1441b7a196682102","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.10.tgz","fileCount":69,"unpackedSize":261872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJCP2CRA9TVsSAnZWagAApsgP/3qnURzr8X9kYPn3cou0\nF3jrDlqZ1trtsGVQaLF494PdeZD/hP7sRNxlzC09H10UlIguXg0IlMtVcDAN\n1yq19W6DRwLWix0wcw7kZNxNvCZlbwukiPKeCFAsSjurcAXbgx4Lae1prQom\nIScWsVSknjr5AxI3auWggP0P4c8GlbKDEdwuYNvP/tidxajK9ckFWfb/ZDBz\nHUJ9edYG4dDPHhA5SbWRAMfGytw9z91Q7t1Oi5VK7pGbYYirvCKOlH4/TPiA\nu8+ktkhJpjXGsp5ysKbAO25UpNciS62dgpNyxf6SywA+fvqPG2IK4BAM44YE\ncuDMpL7A+rk/sB5gqjQz0Bn86ccwPG84Hrc1Y8UZX1bcWpruWSykiH9THFbJ\nEpm2wicV9Riy3fL72gsQ5T2qt3nVcIUrt+2D2W9lr4tpyY/fixKvth0i+uoA\nfzeb0ICRumeIohB4MqUGArnM8JDQYLzUpnhlv2P0Wk18y5uSdFaqRhTicARB\nCJrkTRh9y+GfvbG16geyJIGKJZGf0v8n78eyYUP1YS7u1QR3TK9hXuUUayxX\n7efWAg1p6h4JnqRKgFXa+Qcmm7DQd6jMB8ZKAlf8koGISR0Gnf2AGfmL+Eju\nT4bvd57+HnPk4Hf8O2qP25t62R4AtPljUMhSvMnBCA0DOT6P2Cnxhm5Vh+qu\nzKIM\r\n=5w1y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVii3bhW8BBgCDJnDy6vfB4WUYa4XAbXSV3GHuErYJFAiAd6YlaVN0LckYm6sDpAHqUKOBZSmc+ed7LLt51a4Yy8w=="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.10_1596204021804_0.9007634483308846"},"_hasShrinkwrap":false},"1.0.11":{"name":"@terminus/ui-cohort-date-range","version":"1.0.11","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.2","date-fns":"2.15.0","@terminus/ui-checkbox":"2.0.7","@terminus/ui-utilities":"1.0.10","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/material":"9.2.4","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.0.5","@terminus/ui-icon":"2.0.6","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.0.9","@terminus/ui-spacing":"1.0.12","@terminus/ui-validation-messages":"1.0.15","@terminus/ui-pipes":"1.0.10","@terminus/ui-validators":"1.0.10","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.11","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-CxEsEtmzn2VW+DYbU43it7zPC7IcKy1INSy+S9HjlAVkPaJaf/12lWrWDiSiAP4sAWJK1E6iON3gGa+SbnBOXg==","shasum":"eebb8e8d2ac75b53df7f9359d334415e4343a032","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.11.tgz","fileCount":69,"unpackedSize":262113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMXO7CRA9TVsSAnZWagAALYwP/RChgxvTrRxADxv/wExk\nVfsexaoQCbat1P2aBIqDurubY6eKR8veRa2SM89fQh9O1piveX7lAuWFc8jd\nyEhr5LcB4vKjnsk3g1vtxYTmGwY3GemEGAeyL1Z5pwBL5NACKQtHPPJe7NqY\nIt03fc/kKOjhCz9u+HDKRx0n5uhHlvkMbivfQRDujlU51yoyIDKzbGSJM7Uw\nGLAyCKAjvl/lb/c41Y6izlp/YNuxMhLEY1ZAaPHPB4CIYQfjMHUB1Z6xDnFi\neSauxffk9jjIWGLe8htP7gws+wx47+imu+YpnP2dxrdxGT4myWCdYRwXQbnc\nuqSWMevJUAToezjZtQ9XppOApCvR4S9IM9RXVWwTPAfjkBLShc4mftGEtWL1\nyhYu0zagRRD0Zyf4yz26Kx7YBA7Njv244MLG4leFQta3Jm2EYCpxOm6ki/t2\nI4a2x92BHi0oY02/nCO7CwwvjzTgmIeJmKpV/OoxgldQejQKwhBtqZO3nWCd\n2yd/DO+UbELfrCGS9hHb0McpU4w9WYpJ36TQN/W+QRgjykkkyz4JiDxGlZLA\ns470Wu8KRjdMNh3SfjDW6cVuIew6e0Ndu/zbKw6SgknCXB2TfWs3wGE+NrgE\nhz8WnyHFWcRTYwZayBLDTGztMn337J3R/fQ44HxeTDJJ8PjYw1/H2s9NAd7r\nNLS3\r\n=CB+t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbpu+XTNHS8vTy1Pslovtxa37ycksHEonnYX4Riirj7QIhALQDpIsQGes+BHpBmbvcRGcpSqgt/Xrf2ACYv3+GMWLe"}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.11_1597076411261_0.19255573611977073"},"_hasShrinkwrap":false},"1.0.12":{"name":"@terminus/ui-cohort-date-range","version":"1.0.12","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.2","date-fns":"2.15.0","@terminus/ui-checkbox":"2.0.8","@terminus/ui-utilities":"1.0.12","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/material":"9.2.4","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.0.6","@terminus/ui-icon":"2.0.8","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.0.12","@terminus/ui-spacing":"1.0.14","@terminus/ui-validation-messages":"1.0.16","@terminus/ui-pipes":"1.0.12","@terminus/ui-validators":"1.0.12","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.12","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-yDCHY8QopMbLAl2Ia8nK1aAg8UeeWpoTeJ9fkj84s85xfwpenW1LIxE2tncd7XmcJ+WxKzJzq+uLQQo+Tv9vSQ==","shasum":"5e39566a3019019a88130435242c4e31461d5945","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.12.tgz","fileCount":69,"unpackedSize":262305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNq3aCRA9TVsSAnZWagAAaWgP/i5pGBRHhCpb0atTyOUI\nAe+4+/lJDl0YMdB4qU/TXnBPB+Vse/qOpod7qL/m8wBCUXOZu7D55tf+b/5+\nhj0wXsZGSkOOGoK2SR/vBoWriOWYrWrqe9XUYUSJZwBr7cRL44hfeQMoWqvZ\n+D56NxFeFWsezzBxR4mjUPajr3kYOQMglJc1x8KiWlJjo5Z9u09PzIOnpeKM\nJwchUBWkMhESYjLoxkqVVa8MJTpYyoxadl6x3i9EA5BNtUaIpfgQ7n6XnO9m\nzWjLfPGJRalgVIHk1CbzVIZp8kxuaBvPeJbiCnvQ2XiQHm4d7SlINHMuuwEH\nDByTRSbnJg5mWPPWzAMDuLfmhpmUCmcQu2uG4z7a1gyM7fSeoVUc1sxGFkbu\n1Hm+Oi+W+W1AyxkaZJmWk+4kVUYl+GE+xHae1vO6SbmaTnMiQR5BJZl9mKVi\n8isHe5YuiG1CBC42JX7QCmHjgVnTKaASXpgLMFMVGtyPndL6OcGi5XN2Ri8j\nyK09v4+bEF0v/8XBYaLZHxK00dsPMiop0AftB9XlX/0dzBy1qrf6E//voxRA\nvUV1Bw+dY6/dvHo/5AdF72XprqguEwzFxJzSP6nrPqHecR4wS9FzZ4wiltuQ\n8JMTIolL+Qf0vNU6Ga6zFU9Frjfnk5zkDUzIb628QMZL+kahLqUg9C0b7S1Z\n2EJG\r\n=HK9K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAlYt4gqFkloXJR/LhZo+bWYnynGUVgK0PUJoFXpHW6wIgJ7861pz12nEPeooqA3+sXCVP4GCFmxyKAuxlJsYNaTQ="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.12_1597418969994_0.5714509466862399"},"_hasShrinkwrap":false},"1.0.13":{"name":"@terminus/ui-cohort-date-range","version":"1.0.13","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.2","date-fns":"2.15.0","@terminus/ui-checkbox":"2.0.13","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@angular/material":"9.2.4","@terminus/ui-utilities":"1.0.13","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.0.9","@terminus/ui-spacing":"1.0.15","@terminus/ui-icon":"2.0.12","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.0.14","@terminus/ui-validation-messages":"1.0.17","@terminus/ui-pipes":"1.0.15","@terminus/ui-validators":"1.0.13","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.0.13","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-SqvxBRY6CkC+UA9C61yD/u5tQqTaIXccQG0FSeK12Gux3HoaCh6SOoyC/I8+q6RKDYoCEVT9lgHSOugW+XfjPQ==","shasum":"711f6d24074191b630741405a1ccc757cd29be86","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.0.13.tgz","fileCount":69,"unpackedSize":262532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUlbaCRA9TVsSAnZWagAAbTcQAIMOWOKms2ZNOEfyxM4e\n46U8A7tPz+RTWbiiLo8IF4gTwepKXECRc7z1O81F9eXTyDIxG+bwhP+MnUfP\nKicH6v3v6swkKxmdH0Rr7y0rEFOM139trQkTlmGRd/RRzV30w0EWRwmJ1a9D\na4Wr2IIux6o2+eM0JwsKE1uWrlwcIbB7SdzPAbbD6m54deqWAPLfiZ6JqySS\nOegYaezx5aZfkSa3s3FZ3eW7plMPOnmqnWhnu+kinm5y6Ug2m5xKcM3a+6Fi\nseXegtm/nCziOhZGL0hr1kj1sx/A0S6/RlXyZKb2ENlREfKmGRuejd6Au5kJ\nMxtJOaicZo62Hk5dac4y1lFE8leKmaBI7hdMBqV1CaEFZ1x0tsHj///Z/4bE\nvF9p+sz2dlmb2q1U3jVQGfwUW7FAqHbx80ExMCzvrcq6bv87hDVdc4ccfDgO\nc5exMDAv54KO2hLYVT8zGcSI7jEhv8fOnKIjzThhw+/UfhEA/CglRU2KBRWM\nCYewzD1Zt2qz4u1sbKYiOdAkbowwqqEqE531U6KAVYrHmCmcU8lpSUp0Qwdx\nomLmzXRM7axrffiLJzlQQ70a6YLyHCkibwZQKaQiVu2mozbg0mkYLZTB9ITc\nJ4Mn1YMYSNydDcJSgrqDhFVrtvl6ozTR1DqRJ+NVfFyGctRsBeGIUXc7RS+e\nIKXO\r\n=Scef\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4Mw3Q2T3kyI2G+yjG/pvNrxsDVquv/HsjdyHAc6ogFAiEA9rkD0r51hJf9p9+jgLu4n4J1wT+Z1ysA2IjGV9lMtZM="}]},"maintainers":[{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.0.13_1599231706188_0.8773386481850058"},"_hasShrinkwrap":false},"1.1.0":{"name":"@terminus/ui-cohort-date-range","version":"1.1.0","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.2","date-fns":"2.15.0","@terminus/ui-checkbox":"2.1.0","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@angular/material":"9.2.4","@terminus/ui-utilities":"1.1.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.1.0","@terminus/ui-spacing":"1.1.0","@terminus/ui-icon":"2.1.0","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.1.0","@terminus/ui-validation-messages":"1.1.0","@terminus/ui-pipes":"1.1.0","@terminus/ui-validators":"1.1.0","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.1.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-cRbUBl582AqvRANl0yJMT0oTXIvDAwoSZWPpsvh9BRvCZ2jPBoPp1UDDJek1grJ2jUslXqmCi3cWhRKRh8bwTg==","shasum":"825931a30cabd257e498cde30206400fb717944f","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.1.0.tgz","fileCount":69,"unpackedSize":263056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfV9LXCRA9TVsSAnZWagAAbn8P/02Tz/BNuh566r8zHNGC\nkxsnrFQVO92pVmRYxb/iyqHhZVk/8Tnb5/UYbOGwa2I/1scrAu+ln9G+5lF/\n+bCEKbuAVzZWm1v96KuUxTGGeht4mvMBS8rTYBlHO42HaTndoZAPqc5CdDDl\nYG0yjdZwvuDHMYa4VWt/qJFOUCvh9jRCBE6tF0mX9xlhIXy+UKhKxSky2PCo\ne5xiCac+wFvywsQFL48S8uiq9zKML0cCMZCHLGhTU2fJasjdUiARMJww8UpS\nO4kjhU2lt0AimVZH+cbsikaHcjZ3T8HRDG0MKhrHNZ4xQJRkCog28yAnGzdB\n5E6nPbskhnE5/soBf2ZWLSAPLiKjQgmjOErJdimkIF0kv/oYyfUQBp1hmxu+\npL3lqshTp8naqdFz8jgCXx9pmXOnZxsb6UNlO+0tXIJCAEDLMillBvN5RNyk\nN21Do4trpOY9m7uvbrEru4iyjGpVO4FHlxhg4/JkS0aDQc6Gsk4KLDA7fzsX\nSiwcRMO33xNA8Eg7bONtyZPfev+Xdn3aq8S6Evbf7IbGlBLcmAh9rBq1Ew2E\nEPDw4NAooDcFQbvIM9xucHSDdWDoxJ7EGBofcLFognYSkO2lP2k3Qj72hogE\nAhRFUhzTp857BW1+i7nmSywhCBVkeRFUv/xTpOnoeSI4c7fcJRSQ4PYibWGW\nvWXK\r\n=w2QH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpL5PMUmrtxKO/TkosE1RB6mv6hEX0Ytl1yAYLJG3BDQIhALiX8iZ99SkCAMj9t3sMLSeulScerXXtTP+/gs3fxSy0"}]},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.1.0_1599591126599_0.9328159750723162"},"_hasShrinkwrap":false},"1.1.1":{"name":"@terminus/ui-cohort-date-range","version":"1.1.1","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.2","date-fns":"2.15.0","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@angular/material":"9.2.4","@terminus/ui-checkbox":"2.1.0","@terminus/ui-utilities":"1.1.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.1.0","@terminus/ui-spacing":"1.1.0","@terminus/ui-icon":"2.1.0","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.1.0","@terminus/ui-validation-messages":"1.1.0","@terminus/ui-pipes":"1.1.0","@terminus/ui-validators":"1.1.0","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.1.1","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-LuGIm5gZvg5qS0laE569ClVYlZmLChDaB0/uLz9HyytsnVhG4tgFqP9CAiayX0eHB3mc4mJUaG1Y20qFPomU0g==","shasum":"8c7d6dacaac854614d4832bd6beeb3df9ccf2f02","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.1.1.tgz","fileCount":69,"unpackedSize":263226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW4oQCRA9TVsSAnZWagAAG0gP+wZ+ULyV8heyjHmEmVQH\n6JO5jCdgtF303akT8eLbb3OMZOuUc+Y4QzgSe9eucULtKTv3cmUYn4I48fE5\neslpHQ0Wowi0LGXAmhzmEr5Jave49sYrrgN9npa20P+SAc5dODoDjZLTYXJz\nuRpaRz8cqRuFD506K+GH+MGs+asPY+vHmks9VQz1Iyb+V4QPv0wi00kl1wkk\n431DsFyBgANTT1yZbXZCoWRkA5hfyIkwXIQ81LyNNmFJ5ro6Z7Qz+S4EH4V8\nDl6xaeB2fRQ2p8dQXlwIC/bdlLODH3+J7hg5sdX7fOMDWiSxnvARVONzqFdd\nV1nGzzRdUnR9hHdiHeNW4QIdX6RW+8XbZHgutxsWUa9u2uAmAhxxVKtHgBtG\nIfXmPp4kiP+LxnSwMNXuxxkV3a2dOgP5xtKioktYUfirythEHSxSzq/4JHOc\nUuaN0Z+2BWyGYrXBoB4IS/Kh3bJZCERahLQ/S0y+0ZqkKf8agW/WrDZvF9lP\nPly5c5u4RXqhOmxYt+wqVZ1KVNute6sTjvPaMlhoDMhmtIz8gKOhxT1BkJHE\nvrTiKBiSq1ALSeJTJFrAZA6BB4nD9085wAeIXS2m4YjIWk4Wn8oX27aSy7/n\nX0w7g4QqzwGh8Jjk+Tdfp/lOw1EEl19xDUJNIuWbBkJK8POuLjPRXdWGzQqu\n6310\r\n=wGe0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKK9hmqNMhAaacrFkp2uhuxlrlZa2hLvmDvcAgzIOaBQIhAKrGZ+DTKrOpLTt4cwjnmfGTycyrHPA6JEHynzdf4IRk"}]},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.1.1_1599834639996_0.5030991342536759"},"_hasShrinkwrap":false},"1.1.2":{"name":"@terminus/ui-cohort-date-range","version":"1.1.2","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.2","date-fns":"2.15.0","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@angular/material":"9.2.4","@terminus/ui-checkbox":"2.1.1","@terminus/ui-utilities":"1.1.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.1.1","@terminus/ui-spacing":"1.1.1","@terminus/ui-icon":"2.1.1","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.1.0","@terminus/ui-validation-messages":"1.1.0","@terminus/ui-pipes":"1.1.1","@terminus/ui-validators":"2.0.0","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.1.2","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-alrsgC/Iv6hwDoGiwe8RaK+OVAMdQIkvBLbONtpZqYTMvXXpajf1sPBqpWBuVFaIKHkc2Xk17U/1OcsPHPjYvg==","shasum":"7c20ece87e73ab3444398fa0bde6f9d8825be206","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.1.2.tgz","fileCount":69,"unpackedSize":263456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW7VDCRA9TVsSAnZWagAAjLYP/A5NuvyZIwU0R5v7Lzqu\nRXhNHDGGupVzB+qNpg63c2r6u9pitOKZT6Rl0WLPBHiiwHiDjGgiwX7ZMT+E\nskQr2BYH9onusLpMjfzJ2zst37rIXsY78P8PtrGnTNMtMSEZsFgmtIlzhnJv\nD93o+fYZLNM49JS3nuAuvx/aLm04J+A9rNQol2kyc0PfCQp6Ede9tAWyVTr+\n67q7W76KBhAvPPcFeI4o6s4aDphoA7AI5OJRh08uRQEUxKOwOW7XUK1oHPqY\ngQ86w75Iaho9wbiKJ2PoD2ECmfDEmiBgoY6Yws0VXJvUt0/wbP+R+TyE0lTa\nXH7RKjdUsVMGBC0XRavzcNFOiOxVKBnFVSxGtvMMSQPTEdCP65pQruKj/KGt\nBp0DfoW4eHuhYeOn8wT1sVLIWpP0wSbGzJLo0iv34EveqJbJaQW7+ieP+EGr\n6uPKdgdkrrZF8/2n+m9GVPWSAipoTpLX4yDkxJNfHiTfxEP0+xaN1YswmiCG\nnYsfbjfj2cmprwnsCl4AK661tbdkFBfb/LnxejRnhvhK8Dsg2voqj9Ky6HIM\n+M0v50LVMWPEW1CId3PgD63qnT4e8A3sGv9dwRvjrLtPSY61wRJmR4IXC3q7\n9jx9b87ltEb1Sz3sS0YBss98c3TH3KU3QHT68yiotXVfI6NUdImWIxSQKnl2\nBq0Y\r\n=fGow\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsy2NrMKfnZVbDRB8GtUBgJ7sLpnFZJB4N/5C/rHPl3AiBqNdFmk0BiO3A3qFrBXolYqQegdHTaFTNAg74ayqpSnA=="}]},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.1.2_1599845698573_0.6532148779402118"},"_hasShrinkwrap":false},"1.1.3":{"name":"@terminus/ui-cohort-date-range","version":"1.1.3","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.2","date-fns":"2.15.0","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@angular/material":"9.2.4","@terminus/ui-checkbox":"2.1.2","@terminus/ui-utilities":"1.1.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/cdk":"9.2.4","@terminus/ui-chip":"2.1.2","@terminus/ui-spacing":"1.1.2","@terminus/ui-icon":"2.1.2","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.1.0","@terminus/ui-validation-messages":"1.1.2","@terminus/ui-pipes":"1.1.2","@terminus/ui-validators":"2.0.1","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.1.3","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-JkBzzNYaJB2SLu8ZBSyBLs5GSgJ0EyfOn5q6RchWk8iiWj+7ya2oPkWYSoXanmEBoULWx4k71OKUe04J/IrnTQ==","shasum":"8e4855d7dc639d36b792c1f2615a037a443c5796","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.1.3.tgz","fileCount":69,"unpackedSize":264082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfX6qHCRA9TVsSAnZWagAAm0sQAI5FsXUNfTAS/1ChpsxH\nTwl8F90cPeSu7kHNwJM/E0Eyh30drshaWscALT5uIcA8hQU+PeOI1WyJUw3S\nT+jfoYppphZi2+LWxbfzbo5jI0IpG1lwpOUpmmlF6fxG0j5Fa+NY1205IpSZ\nDPtV+KEtFC0TFLiByphFQX67+CYU5z4JB/G6Dg/SNLiOZXxoaN2kUvc2AzDw\nFWAF0zOmBGK7BXhfkj17yM1EXqwUl0xtHS07VfSu2J5JD7Yjy/Q3UiU4+0YS\n0oMyMxQlmj2i7P2VOmZ/+BRh1ZGeeCppl1XowCqxYQ/7SUBtUSeOhKFq1FsB\nm9DLJLsz5g95jM2gfxJVpveOqEXmAHpdgh6XiqysHjFTQpA0XE9N0leroejb\nOFFRlVmgud3fwXH5LSe2/Fu0/v7FCbhFH8d66S5kPaBPbIBWZZgwLgRjXx17\nJ/rJWcWuHvlHyMP0PZPOMcYh0mgUiBQM4i1gf05WkD8PRN/WZZu8ZtnBBkrZ\nUKQ6RBDmkM1C33oXk279+LkHTBS61zfW1hx/05ArsTaCtfGM4tFc5WRtWxBj\n3udhg/X674dk3Wbxoq2Ni39VIavM3+Qfl3TR7kyz0IKrwKz08DuI8TtX8YYM\n/G09kne5FwdgXeQui7GUw+1/qSBpoaZYGD4J+QZ/wkkB3CJwFSR3f+IMzIyY\nXpeS\r\n=c2X6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh+xakynYN0Ax9Qguj1Io9AOzuk2DHqSogyYYASJJ7AwIhAIuYlnB/o4PSDixlqvTWe3DLVI8IThLoQFhWpRipi7h1"}]},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.1.3_1600105095329_0.30120715536285436"},"_hasShrinkwrap":false},"1.1.4":{"name":"@terminus/ui-cohort-date-range","version":"1.1.4","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.3","date-fns":"2.16.1","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@angular/material":"9.2.4","@terminus/ui-checkbox":"2.1.3","@terminus/ui-utilities":"1.1.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/cdk":"9.2.4","@terminus/ui-chip":"3.0.0","@terminus/ui-spacing":"1.1.2","@terminus/ui-icon":"2.1.2","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.1.0","@terminus/ui-validation-messages":"1.1.2","@terminus/ui-pipes":"1.1.3","@terminus/ui-validators":"2.0.2","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.1.4","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.22.1/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-Gb5TLaeuq3qdiaKQnOTlMvG+wJCc9vlGi6X2YpLqVmERWITnOHg9EB7PYcrBWpsUvEw2V/O0s58zvUu60Z2b4g==","shasum":"2167cf4b8fb30141224180a89168b518e879568b","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.1.4.tgz","fileCount":69,"unpackedSize":264992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbO/SCRA9TVsSAnZWagAANfoQAIx9Ut1aizpHkvXBezcf\nX9sc5MXcdtj48b3q9I6zhXvTVroOwEAqjUud9Hyu4DsrJTCHQnsOuWdWfooO\nBYMriqDJv/2j7SuTMrLx840u4jrKSoqoOO0InKAU9+i+wFXwHQlArYcpn/2O\nHfvKgUquYp6tlJAeHzqsqHDVs3nZ7ERPkdGGIlBG4fYxExLMbuAVXeCUtF7Y\njKQUs3LPrdh3uHQQv5xfgKlFbcC6Ut8/vP8onugihgsHLTQftHISO9H8Nxw6\n1WYOfhLv2mCxxV5vKH2XtA7og3qIAsfMgWsk9eZuNwX229+lqLm7F80KvuJT\n3vekhwASeFEA2oRrfYmRMQNlK5r8iKmNrROTpXCIdpX3pbN/+jBYXlkHE/cO\nKSmtIrlycqW88FfzxIjVYbG8nge9+gFGo4OxHVhS0CGR0WgvBYb8PZZA/Vas\nk2bEZlJGNQag2z96g17qK5YrXdd6wptq5DREagHuXYX6I8Lhfuld2ZsYMlW+\ngSnZogU1QiscvHtV+ly29U39Du1ectf0jiSizlLhUBd/P41AkXm8H+JHU8dW\nDHpMqFxVkcQwER4zOQU3kCMkDrUUTkeBHi+YHintyyCCXdYb+wuOz7DHlagy\n1gqpHd/4H708iW46TvBP6n3IpXMeHGsE7aiIIvpZ6zZcS9psCArAa6HPp8E6\nL5AV\r\n=z65D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwMkJVAngd9LnTzsUzZlQjD6ceYWbnXs9QtuYmuXXa2AiAPExcF7Jvr3QiEiaZU4WN30iWdj2vG5iM3+FhcwlHVsQ=="}]},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.1.4_1600974802359_0.653982437716601"},"_hasShrinkwrap":false},"1.1.5":{"name":"@terminus/ui-cohort-date-range","version":"1.1.5","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.0.0","@terminus/ui-date-range":"^1.0.9","@terminus/ui-input":"^2.0.7","@terminus/ui-option":"^1.0.10","@terminus/ui-selection-list":"^2.0.6"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.3","date-fns":"2.16.1","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@angular/material":"9.2.4","@terminus/ui-checkbox":"2.1.4","@terminus/ui-utilities":"1.1.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@angular/cdk":"9.2.4","@terminus/ui-chip":"3.0.1","@terminus/ui-spacing":"1.1.2","@terminus/ui-icon":"2.1.2","@fortawesome/fontawesome-svg-core":"1.2.30","@fortawesome/angular-fontawesome":"0.6.0","@fortawesome/pro-solid-svg-icons":"5.14.0","@terminus/ui-form-field":"2.1.0","@terminus/ui-validation-messages":"1.1.2","@terminus/ui-pipes":"1.1.3","@terminus/ui-validators":"2.0.2","text-mask-addons":"3.8.0","text-mask-core":"5.1.2"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@1.1.5","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.22.1/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-LN4xahXlQi0HBmJSJHFtZtfc1E9MtmSuGLXRgCOF/xUQfyuyNxOUZ+zc9R9Ysg59Boedq2NGT9+fE84t84f1XA==","shasum":"bf2d72b1f9a6dcf68c22bcad70dcb1049cfcd373","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-1.1.5.tgz","fileCount":69,"unpackedSize":265222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdgW/CRA9TVsSAnZWagAAoB0P/AkwGdEM5xHiQ7yqydvG\nTHzrNZOeYL3phPf7ghdAmnwfbSLP5At4bRfFf8G9vrdm0BMwdaiZZ3gHmH1i\nazduofI0NG9/aPxaF566JJ0of/oiV27XAWOYqDSHUlFPcu145vgvvX6cuZy7\ndsxETvhIYca+u0uQWW3sr2dJ/Af0V+wkvHAWTFxdn4UOueQVWh7jp7U4QjmR\n7JxLyaGqO1sce21uB6LuH1/19Jn+ly13+a10cPNyKCG+youNAssMtnHfAZyt\nRax/2UrJmLBtjsIuHnseNTKwPa8w5tUNc3lgmxxWBQOm6CM0RJprVJe5rUh5\nyN1uI+MFYjpegp4HoGoHzkoxEjjwY7ouzoT3xaWt6tb1Zw36yTF7gtqh7eoS\nanyq9cPRz6gPVADmuvI6xKxJuQCPGHdV4fHVvKz5vWSrD+ncqx8/MSfgKTVA\niooDnXx1r/E/m/rOu3WQJ1RJzHtgl2qBck7FV+Z68iA9l8Pwyb4qKV0qWDGQ\nBCMBCN9UYDYd7eNeBGYIKe3tXdBbtyuJoQFjEJ/l+oOEz6xQoyr9LDG9fuiw\nQ1OtluTDTJTvzhbetRGFXHiuQD4j8jDofi64yOVm+LFw587ZtSnn4Gb5PMAe\ngnbTVZH4aIEoPF0p5ZRJ6RzW/5OHJfMp60nX2ZDsQLkpOTH0imRFBPVcCNev\nBTWI\r\n=7N4S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzsMeuR4BfJ4gaZqCfZIj1oEgaGAvQtE/5Dx1n73Zb6AiEA6QxxjhAbOyamKd5KlKnD/QL4Eg7Z3S6KwcO6friDKeM="}]},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_1.1.5_1601570238923_0.706793111089181"},"_hasShrinkwrap":false},"2.0.0":{"name":"@terminus/ui-cohort-date-range","version":"2.0.0","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/cdk":"^9.2.4","@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/material":"^9.2.4","@angular/platform-browser":"^9.1.0","@fortawesome/angular-fontawesome":"^0.6.0","@fortawesome/fontawesome-svg-core":"^1.2.30","@fortawesome/pro-solid-svg-icons":"^5.14.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.1.0","@terminus/ui-form-field":"^2.1.0","@terminus/ui-icon":"^2.1.5","@terminus/ui-input":"^2.1.3","@terminus/ui-option":"^1.0.10","@terminus/ui-pipes":"^1.1.3","@terminus/ui-selection-list":"^2.0.6","@terminus/ui-spacing":"^1.1.2","@terminus/ui-utilities":"^1.1.0","@terminus/ui-validation-messages":"^1.1.2","@terminus/ui-validators":"^2.0.2","date-fns":"^2.16.1","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","rxjs":"6.6.3","@angular/router":"9.1.11","ngx-webstorage-service":"4.1.0","ngx-clipboard":"13.0.1","@terminus/ui-checkbox":"3.0.0","@terminus/ui-autofocus":"1.1.4","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12","@terminus/ui-chip":"3.0.3","@terminus/ui-date-range":"2.0.0"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@2.0.0","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-lckilngsqqw08ZmETKnGiEnvsX4NOCCJd2SZRaCZzlvW7X0VeduUkXqkttVAOCThuC4x4P7Q6k7CFissRHG/ug==","shasum":"0169637f91041faed4c4dc06c15e5861163556b6","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-2.0.0.tgz","fileCount":69,"unpackedSize":265701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqWhDCRA9TVsSAnZWagAAPTEP/3embgNvtZhNYMlNdCNs\naJdoSfCc8BjNMfm8lvRsA8yWmUeEa8H2hsR8fZ3Sk6vh2vhdTqxperNYhElQ\nWgqCNuT72jT+EsSTtu1EkGsvCodvKUCQLZM7UkWx5NpwJl0+t4fa2wFx+7Jc\n4mQAce2A2c6l8G23kZGI22dAZSa8I+jXBv5WFgR2p0fku2VPiMauRE7X2XhO\naqdC94aat2YeqpOHnpk0j6cwMD+DZAMfCHmZJR25rePhxrk1geBB9LAyIlRF\nc2K6sxgAtHyr5VRbPz4YThcShPc2CwASsEIJYvXJAjimFUYdqorJaFL0QGV3\nj1BfUXHsm5ktWehNeXbgoD6QainDjvGlzWf+lvZV+8RhsNApUDReIzx7M3QN\n1ufdwPx7SIwhZnstv43WNxa2cccTgeNCRwbPD6vWUl8KjsPzLQoS/ESor8h3\nm9bMV2uu+EHsW33HI8skOmHaok+Ha9M1A1wQIJX8mEVAcSFlQKO+EirLiRe/\nFzoWMbkcFY/hS4KiMwY1O0jAncsxwic/DovfM6XpfeZfqdP2LdI7CAgP1V0I\nF5Ej4TfzBQB9dgtaVlR69dE4yLdjKH1s4EFkbwJ3qOkYNnSedHo3qctZgJo4\n/sp27GvP/cL2FFa9TcYM+Dbf1z0aMeSzb9sbHIovFsOiE20UuiNMULy8Q2OQ\nNgpu\r\n=VpcL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTv3ZHeM7UImgGnXaVWBB4JbWREz5ChorWXgaG/3EMTAiA8Qf12FtXtpeibWDWgjJZjI1UkKtwlaXOvsJO06dHW0g=="}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_2.0.0_1604937795184_0.28241507770152596"},"_hasShrinkwrap":false},"2.0.1":{"name":"@terminus/ui-cohort-date-range","version":"2.0.1","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/cdk":"^9.2.4","@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/material":"^9.2.4","@angular/platform-browser":"^9.1.0","@fortawesome/angular-fontawesome":"^0.6.0","@fortawesome/fontawesome-svg-core":"^1.2.30","@fortawesome/pro-solid-svg-icons":"^5.14.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.1.0","@terminus/ui-checkbox":"^3.0.0","@terminus/ui-chip":"^3.0.3","@terminus/ui-date-range":"^1.1.5","@terminus/ui-form-field":"^2.1.0","@terminus/ui-icon":"^2.1.5","@terminus/ui-input":"^2.1.3","@terminus/ui-option":"^1.0.10","@terminus/ui-pipes":"^1.1.3","@terminus/ui-selection-list":"^2.0.6","@terminus/ui-spacing":"^1.1.2","@terminus/ui-utilities":"^1.1.0","@terminus/ui-validation-messages":"^1.1.2","@terminus/ui-validators":"^2.0.2","date-fns":"^2.16.1","rxjs":"^6.5.0","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@2.0.1","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-Dns+TJeeRiplK30IOZaXZYm7veFvoGtB+0V4588T+UpFiR8MJAiiS8YitlLdpB1wIhcJYK/9RvjnREXCQElzVQ==","shasum":"968a4e600437dd451cb7498849be01a153232282","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-2.0.1.tgz","fileCount":69,"unpackedSize":266283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq9L7CRA9TVsSAnZWagAARtUP/22qwq87F3xpuNKrmhEk\n8rpPt8jWWz4Dfj/YJV5ikzDWZX+ogTgonvAj06GTXElpjEU+Br0Sqk3t90Vk\nDvG4lEaj5VeOD8/+FwpogLOgnyd6J27qa0/7tpoZRBXI63vxiGwifCt6CnbU\nookXsZIUTOso2XMB8UUAKxzEu3T08grzblslvz0nYlGvOwA4pLdSOSzH4234\n6y/mRQFcJWQwhIgNMaOVanYLpGqOQ3g/Gc400nI2kEUuMGiVI2LaSUdi/cs3\npE3D0QwJjaK39uBhMkm3UTQpjfmcYibx1vJpivHK+hvMpXtNo9nXBWWoccSM\npSf6HrErGh6ARpBqAOGVZ254RjgqgY0VPvZfioxfIj+Ta+ssYjXeWoCvoWdS\nvT+R9QeUMjtwBeLFq74TvU/9eUwVJbAkgJrrJzJ3i1YBudB12UTsJI60Waw3\n9khZPGJR97LE0HnIBWPd56gHaKBfGZdY2Pwj4MbM0nBrf1sKJCfRXJw8FHTz\nPqbF4KOQQtEUDTm9E0Avj1OmeRUTHfF2KzN+2VVrlhC4nTwewVePkTe7DO5A\n0zSKXn7dY4jKdB7d5P2O7A73XFQxRxfgr048YqFaUbDQOFwSV/ked3WSfbht\nj3oXfxXjCGPEwG/pEWw5JGf/Kd5ye3qBJFtNnQdr+u6hfbsMhW7xmvNP06jj\n7duh\r\n=GW/+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/O2pCLTzOeKus3qbhm6EfhTIwpiO3pEOk4OBeI3btvAiA8XuYr1/1OU9f+wH7jwACkES8ah/f76Nni0btCU7dPMw=="}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_2.0.1_1605096187422_0.6304015397401967"},"_hasShrinkwrap":false},"2.0.2":{"name":"@terminus/ui-cohort-date-range","version":"2.0.2","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/cdk":"^9.2.4","@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/material":"^9.2.4","@angular/platform-browser":"^9.1.0","@fortawesome/angular-fontawesome":"^0.6.0","@fortawesome/fontawesome-svg-core":"^1.2.30","@fortawesome/pro-solid-svg-icons":"^5.14.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.1.0","@terminus/ui-checkbox":"^3.0.0","@terminus/ui-chip":"^3.0.3","@terminus/ui-date-range":"^1.1.5","@terminus/ui-form-field":"^2.1.0","@terminus/ui-icon":"^2.1.5","@terminus/ui-input":"^2.1.3","@terminus/ui-option":"^1.0.10","@terminus/ui-pipes":"^1.1.3","@terminus/ui-selection-list":"^2.0.6","@terminus/ui-spacing":"^1.1.2","@terminus/ui-utilities":"^1.1.0","@terminus/ui-validation-messages":"^1.1.2","@terminus/ui-validators":"^2.0.2","date-fns":"^2.16.1","rxjs":"^6.5.0","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12"},"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [Modules that need to be in NgModule](#modules-that-need-to-be-in-ngmodule)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\n- `@angular/cdk`\n- `@angular/flex-layout`\n- `@angular/material`\n- `@terminus/design-tokens`\n- `@terminus/fe-utilities`\n- `@terminus/ui-checkbox`\n- `@terminus/ui-chip`\n- `@terminus/ui-cohort-date-range`\n- `@terminus/ui-date-range`\n- `@terminus/ui-form-field`\n- `@terminus/ui-icon`\n- `@terminus/ui-input`\n- `@terminus/ui-option`\n- `@terminus/ui-pipes`\n- `@terminus/ui-selection-list`\n- `@terminus/ui-spacing`\n- `@terminus/ui-styles`\n- `@terminus/ui-utilities`\n- `@terminus/ui-validation-messages`\n- `@terminus/ui-validators`\n- `date-fns`\n- `text-mask-addons`\n- `text-mask-core`\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### Modules that need to be in NgModule\n\n- `BrowserAnimationsModule`\n- `TsCohortDateRangeModule`\n\n### CSS imports\n\nIn your top level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@2.0.2","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-/gtgJepY5/hHhWKWhuMLh0ey5Kob0KDbcYMpr7yymYFmyImISAS3985VKrZtYwR1k6UhIVUNRX7v5SzTOHn8sw==","shasum":"b979d01d333d48463601d2a12ee37f849140783c","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-2.0.2.tgz","fileCount":69,"unpackedSize":266404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq+7ACRA9TVsSAnZWagAA4s0QAIuH3G618LfGOVyQsXhE\nHVmKVAvzv9zqX+pKWVrm5XzT3Ja2bUSgEsBz6s+nAgTpKCWTOoZlUglCSNg8\nNrtJ/CtepoNoY2qB3PaDaFXDvThHdPZZJ/BRH/QcTr+7mgAakrpmEnAI6xpN\n4q0C9mfjHD/O0tkGN46iImvRJLxHFvKVpkwpzaqTVRwfb4ICBY+wTyli40SE\nhpN+wpeoHcayXxAHllBVeluts4ClSK07ci9CoY2MOT+SzEoSPbCq1KCkrcaI\nXpFi5OzC65FHV36ZhG4hOnE0cLVyxfMGZvSV+QQmuFQD20WzZ3kvKgp+8Zni\n150HW6iN+6cjemaL+YUnfTNkqy5etkycfANLWaafEmr2rFfeXO35rJm1sP1/\nAmpjwOKkr6eG59FSE3y5PtrDv/XuWyYspbZJwxezhJCORQQcFT/lP6u5WZkr\nDfJZLhwIdQjCJtJ2qPD04hXI4GLUNF9JnQ3Lxx5ERGOIWSZBd6bk8h4LOZLg\n3slEXSn1pIm5HWC0TvsG/9kn+eWRxyAMq2HMWbeXUTLaXffKqmbcztYtGSvX\nyr13Ipp5XK8Nj9MWw/UZmKlOTmlkkjAnlfcNBJV+tjvifZhcWe7u1dbHtUxh\nNZny62HElTA/D0VPBUy7GzaphbJbYzlzqdJoozQbGaiod+k40XgOAY/kLzYM\nCZBq\r\n=lSr8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxaxYVKlrFW6bbAe4hEBGKSd7iGE1LAbq+7C1Mf4tjYwIgf2tx9pIvhCxd/5iQpyitZBk0FNv8dW59cCYW4gaRMhA="}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_2.0.2_1605103296449_0.8990065742502278"},"_hasShrinkwrap":false},"2.0.3":{"name":"@terminus/ui-cohort-date-range","version":"2.0.3","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"peerDependencies":{"@angular/cdk":"^9.2.4","@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/flex-layout":"~9.0.0-beta.29","@angular/forms":"^9.1.0","@angular/material":"^9.2.4","@angular/platform-browser":"^9.1.0","@fortawesome/angular-fontawesome":"^0.6.0","@fortawesome/fontawesome-svg-core":"^1.2.30","@fortawesome/pro-solid-svg-icons":"^5.14.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.1.0","@terminus/ui-checkbox":"^3.0.0","@terminus/ui-chip":"^3.0.3","@terminus/ui-date-range":"^1.1.5","@terminus/ui-form-field":"^2.1.0","@terminus/ui-icon":"^2.1.5","@terminus/ui-input":"^2.1.3","@terminus/ui-option":"^1.0.10","@terminus/ui-pipes":"^1.1.3","@terminus/ui-selection-list":"^2.0.6","@terminus/ui-spacing":"^1.1.2","@terminus/ui-styles":"^1.1.0","@terminus/ui-utilities":"^1.1.0","@terminus/ui-validation-messages":"^1.1.2","@terminus/ui-validators":"^2.0.2","date-fns":"^2.16.1","rxjs":"^6.5.0","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.10.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12"},"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@2.0.3","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-D2fXwyHKXpZNA0phG90eZlhN5SRKN2KccAwLSVUZHozN0QK5mWIJPG0z3UobCyi3f63oTFwa73yHPWVKzUMLtg==","shasum":"b6b87640e3da4dfe970e9217ecf37f5457110a9a","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-2.0.3.tgz","fileCount":69,"unpackedSize":266822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrB2WCRA9TVsSAnZWagAAbegP/2VSsdxAK+45t/kq0DMV\nkE2pdN5j9x9fNy0RWBHLVN8fWJDwh0F1JxY6VEq8q5mLwggUuNz4PmBGQAhv\nrjc6tSKB1fFOso8uUF4eflZGI1Sxdgz1xh/2ClZ++MOwntgSB3AjdT8SjtZW\n7Dr5uMxhFxc14K6AwLvId09lDuaJ7OWEcrApa/ZybUxXMYpTbIVnoaFckNhV\nV7FRiZSKqDo767EC3n8/0JPdH4kd32F9AGNC6rQwbvO4M+kW0wh536pJr28h\nDeB+fHupDiT3loOfHhfiodZ2NJPG/5tbf03UFRsVi9ZGdBdBAP6EQs2C37hA\ndrOD5f0nuq6UtWYl5JP+8LKWnhzAYJa1c4cco1foqE1s0k3e3hcJkwakISpL\ngx+AFZaK3/a7wQfFXaWQNUHo/Qw1NTvUMPy8HHuesBudmJ3eSko4JNVX+pI+\nPbHYX3YXndlO3F2RghPRsiYTHfmrK8C2AV/qhz9m3UdMLR9/e41y33S+4DZ4\neWSpIzglN6BF/PFkn7T8jYD9M1H82xdRcfQ+iDM2U6SiSjq+yy1M1x3sakbC\nZv8qX/Cny8YyDv1gjbO9GO3tz/AMxC77hkxPxfUrf5CL5IdiJ7lXqfJN8Mzs\n+6JfgVVeMJ2e2e9qAZWqW1a+gedM6ze+4MCWc6l7r0IpYdUG7DtHP7kBaALS\nNzsa\r\n=rHTs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/yplrYfreysui5niq8FPv0RqjjJ3cgZ6KiK9dC+FbEAiAGZIrExxES3lFTVxetq3EBd5XwGnkwSQ5CFH/xg+NP2A=="}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_2.0.3_1605115285629_0.3765782542624334"},"_hasShrinkwrap":false},"3.0.0":{"name":"@terminus/ui-cohort-date-range","version":"3.0.0","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"dependencies":{"tslib":"^1.10.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12"},"peerDependencies":{"@angular/cdk":"^9.2.4","@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/forms":"^9.1.0","@angular/material":"^9.2.4","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.1.0","@terminus/ui-checkbox":"^3.0.0","@terminus/ui-chip":"^3.0.3","@terminus/ui-date-range":"^3.0.0","@terminus/ui-input":"^3.0.0","@terminus/ui-option":"^1.0.10","@terminus/ui-pipes":"^1.1.3","@terminus/ui-selection-list":"^4.0.0","@terminus/ui-styles":"^1.1.0","@terminus/ui-utilities":"^1.1.0","date-fns":"^2.16.1","rxjs":"^6.5.0","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@3.0.0","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-JEOUj/e6D+bhiorvf+km4+ceoe2NCFbdQYZ+0ZQzNqE+6tvuxsVe/hgQtw7IXTyb3AF6JJGYxArrFeWw8LlQEg==","shasum":"f995e0a2662ed4ee824b587c7faf4106c7ba1a5a","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-3.0.0.tgz","fileCount":69,"unpackedSize":279445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfykTfCRA9TVsSAnZWagAABoIP/0rhxYq4BD2xAmTP400J\nvvnA7KmqPzYTb+Dd9j6n26C1aSrSpC/Edp7pv9Zts4DTS5N6ESfJqwbcy4CJ\nxgXjn5b0nWBrErdUPmbar2WQszr/MfLCJzf6Hr/5xbhkfo5bK168eIr5wZv1\niJRsyncalL1DH6N2RSY858O/IoR8mFXH98Jh9ZCp71i2gNb7BEUFeOQSq322\n5XIL6Yvs+BIhEiSRyWl5PRbJJQOx+XzNNRsR2J8dsObDGko+0IMTJro0k6Rh\n+KuacEX45hkQ2IGXReq7S6meFxDYczCSDJEasLHzFP6UUp5LsnzMoIJgqflL\nJTF+13rsPMf/28QPcOSGZbYDuSSlybWzcPRYpJux0G1clee2hlWKd7IdRxwK\nO8ilBlyT/kZsP+cT36ScKSpTJ7hHZWxMJ3+pJPLgFAVa5d9jxNPIBnQyArIS\nFJqAACa+HDnJTtvOBroa+ZwR5Y+7+c4juVP5wp3jB60nNn566wRaBsPYAuO1\nU/zhmfCGjhir54RbizCBE0NXSNAg5Kd9pkMqG5wgVldpanzQzfCBnv5od65l\nHKfOYhZYXepBX/8BaT/pZOFDTcK9KWzzV3sByXsM/x82zqMqhuoD5AkgmDxe\nY63OTy9uo46W0sgav+7d8rQ2dwjc6s8En7yXd5IT8ObrORzFx9kNXfzLzwrf\nc90z\r\n=E4bI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzz3+zPbrQb1ZBX3DMVaw3Dd7uTg3s+OzlSA+AF4ABSgIgQGdVGN+9llK+E999y8Kyv034Cyuysv63z1pCtLmZlLg="}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_3.0.0_1607091422633_0.9090635404162746"},"_hasShrinkwrap":false},"3.0.1":{"name":"@terminus/ui-cohort-date-range","version":"3.0.1","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"dependencies":{"tslib":"^1.10.0","@angular-devkit/schematics":"9.1.9","@schematics/angular":"9.1.12"},"peerDependencies":{"@angular/cdk":"^9.2.4","@angular/common":"^9.1.0","@angular/core":"^9.1.0","@angular/forms":"^9.1.0","@angular/material":"^9.2.4","@angular/platform-browser":"^9.1.0","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^1.1.0","@terminus/ui-checkbox":"^3.0.0","@terminus/ui-chip":"^3.0.3","@terminus/ui-date-range":"^3.0.0","@terminus/ui-input":"^3.0.0","@terminus/ui-option":"^1.0.10","@terminus/ui-pipes":"^1.1.3","@terminus/ui-selection-list":"^4.0.0","@terminus/ui-styles":"^1.1.0","@terminus/ui-utilities":"^1.1.0","date-fns":"^2.16.1","rxjs":"^6.5.0","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm5/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm5":"esm5/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm5":"fesm5/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@3.0.1","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-yDu/CsRnBVCL/u8QUNFuq4tZetAGE+pTnkFe35l1vvHY6lMDa32C4uWPA6/ERv5FlANu0jkk7H5L79917J7O7w==","shasum":"7726f2570c5381953b1511cc4ab6517b376067aa","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-3.0.1.tgz","fileCount":69,"unpackedSize":280245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz41CCRA9TVsSAnZWagAAjoUP+gIyB3ln9B2TjtNdv+3G\nex1mymgGZmTi0scWq5NuRXdDuOaz4sVlERyFL54liLTb0ijAKOgUEYN6zZJK\nsQOL/KsLxicLui47M+L6QZSgvff3VMZXY1/sbgukWZsRGaDqrLpnzXIyoMvY\nL3Bimc1QKf8DYfcb7YppiFxp4VAuucH5dY5qWX4/R/kcj99ayzqPDclAMdux\nIzYMyYUM/RWlmWUmea7uufzPSA9SfDDRKgrzg7YmXqssfmApZXR6G9arTG4j\nVzMkoPeFr/qLd52VeKk6uIA5CvJzxAMxL4WnpdFrk1/635XwjyLUbGRfgxwl\nO+Kk2v+QTvSp1HCJPJ8afoxJjzzTNzTkkib1fT5VFmC3wTBWd5wKW6ew3ohP\nE9Tr7EcSAkTgbr7pKupnPTscitodUeDgH0Qu6yTRL2oU29bBScu1CZ8Klwye\nwkecJ/V0vboDILMINR0rjOO7TbUz3uBWXho+JtAc8DWmEL5ZigE7p4FH7mre\nLCTHEpbXSpNsm4Mqsu86B9WyNsn1DsSnzjZGIBmjUAIWGnDUj2HJzi58v9It\nTgWWqglou1vrUN/xI6npWUeoyh3zXmgrnBbMcK1AolzO4cLp46odlHT+ZLYy\n7qayhgFM+HgD6T9V3rx1J27WAToIs4HR+UNWtygF2gT/+uniVDj5Ql6WYLvK\n0Q0d\r\n=IoFX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHnDhpHhf3TzC6yM0ne9+apryHoThZpfWvFgymUXeXIAIgVnWVs2X2d0mZfyU/k9lpbgsUA8eLLR/4/yH+aDjiVu0="}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"terminus_devops","email":"devops@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"benjamincharity","email":"ben@benjamincharity.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_3.0.1_1607437633523_0.14116496969176762"},"_hasShrinkwrap":false},"4.0.0":{"name":"@terminus/ui-cohort-date-range","version":"4.0.0","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"dependencies":{"tslib":"^2.0.3","@angular-devkit/schematics":"11.0.4","@schematics/angular":"11.0.4"},"peerDependencies":{"@angular/cdk":"^11.0.3","@angular/common":"^11.0.4","@angular/core":"^11.0.4","@angular/forms":"^11.0.4","@angular/material":"^11.0.3","@angular/platform-browser":"^11.0.4","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^2.0.0","@terminus/ui-checkbox":"^4.0.0","@terminus/ui-chip":"^4.0.0","@terminus/ui-date-range":"^3.0.0","@terminus/ui-input":"^4.0.0","@terminus/ui-option":"^2.0.0","@terminus/ui-pipes":"^2.0.0","@terminus/ui-selection-list":"^5.0.0","@terminus/ui-styles":"^2.0.0","@terminus/ui-utilities":"^2.0.0","date-fns":"^2.16.1","rxjs":"^6.6.3","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm2015/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@4.0.0","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.22.1/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-0JEJ7ZYJAeTAQG8qo9gHz909BB4pOmn4Yn8sKE3le6eo5jdlb9ewyaiYTXcCVQkyr8viiKrwwjP6R+F/jOYv6Q==","shasum":"dac04db854ba0e762bb5b06a2665d32b39a720fb","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-4.0.0.tgz","fileCount":51,"unpackedSize":160209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2hezCRA9TVsSAnZWagAAp8QP/A22oDZ8BkNC0Wkiek0k\nGVdKLWO0g+mghPm3MTNkGsyl1MYqJbi/r1XO9GFOcKRBfQhNc6PN1rnp6DKd\nfmiMl3gv2t6xU7QERYcC8MWGFDz+NdbdyV+rd0siuYoyMy4g7UBXXvRMk8Bs\nA5ZtHIJUoHW9DmeQV3ub6830qas+neVuCOBs+V8Owecvm6MOWUplpwtWT3Hd\nZRJOGhbR5CJZPA8nqzRlYFoI8RuPGCk0tPW5fY4yMmj34XO41MYLrF7Tmmcx\nEqdQBl3URPUHJM0zrvrf5SvQLft6evf2Qgau1a+d4J1BFfwVTsFXZcv/N0dm\nQ2Th/0i64BCGBGujwmrtDMZKrglfWdLFHNWnzYqoz+QJRUOBdpP2eve/m+xD\nOSX2muaP6klw8soDEvRSG/nG1mtAoN745ISdsK8YswQ19YKMnScroc8vZjtx\nuUBy2wJ9G2FeOUjeLP4pZOkKzgUAoKLznKQCStEeqVwDNmlHOaLq6LAnZn4z\nfPLP1yuzcy8zF+0j4vZDw+hmwe3CFsougMC0fTcKFskKIf+ZnmeBl3dXQCPb\nIzoZrStlabU5GgHH9/7ONg5Z7/fWMnEEWe/uMuXM2Yj5F1kYCspZnB4WIkpC\n1S7GQlMpMWEhx3jkkMiCerhsX1AaPtma0+Kc8pFIUQRo3+zQY6nyhSLqzTcy\n2EK3\r\n=wzsf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAocYlse2eGeDBPcjae9JS/e8WW6QWSpnGKececoTTmCAiEAq9MkiIqE3V8FkKNOg3NdNVZWOxupEX436BxMyHHqVIo="}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"benjamincharity","email":"ben@benjamincharity.com"},{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_4.0.0_1608128434478_0.3401279139061557"},"_hasShrinkwrap":false},"4.0.1":{"name":"@terminus/ui-cohort-date-range","version":"4.0.1","license":"MIT","author":{"name":"@terminus"},"private":false,"homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"publishConfig":{"access":"public","tag":"next","directory":"../../../dist/libs/ui/cohort-date-range"},"dependencies":{"tslib":"^2.0.3","@angular-devkit/schematics":"11.0.4","@schematics/angular":"11.0.4"},"peerDependencies":{"@angular/cdk":"^11.0.3","@angular/common":"^11.0.4","@angular/core":"^11.0.4","@angular/forms":"^11.0.4","@angular/material":"^11.0.3","@angular/platform-browser":"^11.0.4","@terminus/design-tokens":"^3.1.0","@terminus/fe-utilities":"^2.0.0","@terminus/ui-checkbox":"^4.0.0","@terminus/ui-chip":"^4.0.0","@terminus/ui-date-range":"^3.0.0","@terminus/ui-input":"^4.0.0","@terminus/ui-option":"^2.0.0","@terminus/ui-pipes":"^2.0.0","@terminus/ui-selection-list":"^5.0.0","@terminus/ui-styles":"^2.0.0","@terminus/ui-utilities":"^2.0.0","date-fns":"^2.16.1","rxjs":"^6.6.3","text-mask-addons":"^3.8.0","text-mask-core":"^5.1.2"},"schematics":"./schematics/collection.json","main":"bundles/terminus-ui-cohort-date-range.umd.js","module":"fesm2015/terminus-ui-cohort-date-range.js","es2015":"fesm2015/terminus-ui-cohort-date-range.js","esm2015":"esm2015/terminus-ui-cohort-date-range.js","fesm2015":"fesm2015/terminus-ui-cohort-date-range.js","typings":"terminus-ui-cohort-date-range.d.ts","metadata":"terminus-ui-cohort-date-range.metadata.json","sideEffects":false,"readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n  - [Error message](#error-message)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### CSS imports\n\nIn your top-level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n### Error message\n\nA custom error message can be displayed:\n\n```html\n<ts-cohort-date-range errorMessage=\"My error message!\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md","description":"<h1>Cohort Date Range</h1>","_id":"@terminus/ui-cohort-date-range@4.0.1","_nodeVersion":"12.22.4","_npmVersion":"lerna/3.22.1/node@v12.22.4+x64 (linux)","dist":{"integrity":"sha512-2xL59uLX08Cie3I32Cq4cRJhfVHOrD9VXp/7ug/LL/32s9H8JhGwMvl8Tw6Mcqk9Zr8Q3q1FqvYvO5bMzNCZyg==","shasum":"41b9abfbe7d24df5c5d12995fdc7741c7126846d","tarball":"https://registry.npmjs.org/@terminus/ui-cohort-date-range/-/ui-cohort-date-range-4.0.1.tgz","fileCount":51,"unpackedSize":165436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEjYcCRA9TVsSAnZWagAA5SkP/3ARuS+CEOrYEXNkpw00\nPZCH1idtjT+3LoKEdOgH/aC+hps2lwlTZ493Ocg+ghfdJA1kefSbqJZZFyjZ\nRWcAhnNJ1WwarUVT5owxeYljksLjvNStVnPHecWlBx5+vfu61sQo+FZm4rWK\nGomfRtCvFpiBNKurJSN8KOEhrF4bWl/23foGYjm7RQmzJPbtozP5tx1+jKTH\nzwXv/42ISo9lGrj+Knv1geFm/7zRnPdoB13Xyy3y0DmH1gmf1IRXMwZu5H6L\nNX4gkF9Mswgfyi5YF2kQ6kTQUM4LHiGA2xiiFdZQ0vzgtrf72SH+CZ3I4lF5\nrzxBcCU5thjUse1mbtGxj51OdFBgQfihfA2ThZSkltza/oZ00KFMjT0tO93p\nr9RovQwntB3KlruHfloPxPpxlCwK6pUbTiUy4e3pGL/zxvCMKTbMBlsfTLLt\nJnWXBEJyT4Ti/ZE0180glP2hxjIxQQVTDMre9pfm4hnN+R0TXfKheFrMRmpN\n0ze3DZG2zIyBzeOAvse0cwMD78u2p1lt77UFungGsb+4Q8pGzuhS+Sf2Vam6\nZhHXu57HCkuW0BzOlSaRY2yWnF5/YL2grUcvx4TW/iZG69+uvekLvzVJS5SG\nIDLkYHDN0rl0C+3bnSpxnCiLBI8mJTXthtYhtHORz2phEVu/gR/0/WYwrVvL\nRGwp\r\n=daTF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsZzVnqXH9mWZQ3PKKNBmi1Fu14QvULUqvPHCRQVS3TwIhAMCD8d8Rto9fnFvUEUYTUI2hO3YIumGT5/Pd7O3uGEnT"}]},"_npmUser":{"name":"terminus_devops","email":"devops@terminus.com"},"directories":{},"maintainers":[{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-cohort-date-range_4.0.1_1628583452209_0.4101959300227822"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-02T05:34:06.171Z","0.0.1":"2020-06-02T05:34:06.530Z","modified":"2022-04-07T05:16:08.024Z","1.0.0":"2020-06-04T18:35:43.684Z","1.0.1":"2020-06-05T02:21:45.520Z","1.0.3":"2020-06-11T14:17:56.414Z","1.0.4":"2020-06-23T15:34:39.251Z","1.0.5":"2020-07-07T15:38:35.264Z","1.0.6":"2020-07-13T12:16:43.196Z","1.0.7":"2020-07-13T19:23:44.290Z","1.0.8":"2020-07-27T19:39:40.907Z","1.0.9":"2020-07-28T15:28:55.267Z","1.0.10":"2020-07-31T14:00:21.923Z","1.0.11":"2020-08-10T16:20:11.435Z","1.0.12":"2020-08-14T15:29:30.112Z","1.0.13":"2020-09-04T15:01:46.281Z","1.1.0":"2020-09-08T18:52:06.747Z","1.1.1":"2020-09-11T14:30:40.131Z","1.1.2":"2020-09-11T17:34:58.820Z","1.1.3":"2020-09-14T17:38:15.484Z","1.1.4":"2020-09-24T19:13:22.538Z","1.1.5":"2020-10-01T16:37:19.082Z","2.0.0":"2020-11-09T16:03:15.365Z","2.0.1":"2020-11-11T12:03:07.591Z","2.0.2":"2020-11-11T14:01:36.674Z","2.0.3":"2020-11-11T17:21:25.796Z","3.0.0":"2020-12-04T14:17:02.841Z","3.0.1":"2020-12-08T14:27:13.659Z","4.0.0":"2020-12-16T14:20:34.655Z","4.0.1":"2021-08-10T08:17:32.348Z"},"maintainers":[{"name":"bmalinconico-terminus","email":"brian.malinconico@terminus.com"},{"name":"atlwendy","email":"atlwendy@gmail.com"},{"name":"terminus_devops","email":"devops@terminus.com"}],"description":"<h1>Cohort Date Range</h1>","homepage":"https://github.com/GetTerminus/terminus-oss","repository":{"type":"git","url":"git+https://github.com/GetTerminus/terminus-oss.git"},"author":{"name":"@terminus"},"bugs":{"url":"https://github.com/GetTerminus/terminus-oss/issues"},"license":"MIT","readme":"<h1>Cohort Date Range</h1>\n\n[![CI/CD Status][github-action-badge]][github-action-link] [![Codecov][codecov-badge]][codecov-project] [![MIT License][license-image]][license-url]  \n[![NPM version][npm-version-image]][npm-package] [![Library size][file-size-badge]][raw-distribution-js]\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n## Table of Contents\n\n- [Installation](#installation)\n  - [CSS imports](#css-imports)\n  - [CSS resources](#css-resources)\n- [Usage](#usage)\n  - [Defaulting to a specific cohort](#defaulting-to-a-specific-cohort)\n  - [Event driven](#event-driven)\n  - [allowCustomDates](#allowcustomdates)\n  - [Date range boundaries](#date-range-boundaries)\n  - [Disable](#disable)\n  - [Error message](#error-message)\n- [Test Helpers](#test-helpers)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## Installation\n\nUse the `ng add` command to quickly install all the needed dependencies:\n\n```bash\nng add @terminus/ui-cohort-date-range\n```\n\n### CSS imports\n\nIn your top-level stylesheet, add these imports:\n\n```css\n@import '~@terminus/design-tokens/css/library-design-tokens.css';\n@import '~@terminus/ui-styles/terminus-ui.css';\n```  \n\n### CSS resources\n\nLoad the needed font families by adding this link to the `<head>` of your application:\n\n```css\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap\" rel=\"stylesheet\">\n```\n\n## Usage\n\nPass in the cohorts:\n\n```html\n<ts-cohort-date-range [cohorts]=\"cohorts\"></ts-cohort-date-range>\n```\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\nThe keys inside the passed in `cohorts` object must match the `TsDateCohort` interface:\n\n```typescript\n{\n  active?: boolean;\n  display: string,\n  range: {\n    start: Date | string,\n    end: Date | string,\n  }\n}\n```\n\n### Defaulting to a specific cohort\n\nThe first `TsDateCohort` that has the `active` key set to `true` will be selected by default.\n\n```typescript\ncohorts: TsDateCohort[] = [\n  {\n    display: 'Last full year',\n    range: {\n      start: new Date(2018, 1, 1),\n      end: new Date(2018, 12, 31),\n    },\n  },\n  {\n    active: true, // Now this cohort will be selected on load!\n    display: 'Last full month',\n    range: {\n      start: new Date(2019, 8, 1),\n      end: new Date(2019, 8, 31),\n    },\n  },\n];\n```\n\n### Event driven\n\nAnytime the date range is changed, `cohortDateRangeChanged` is emitted.\n\n```html\n<ts-cohort-date-range\n  [cohorts]=\"myCohorts\"\n  (cohortDateRangeChanged)=\"printRange($event)\"\n></ts-cohort-date-range>\n```\n\n### allowCustomDates\n\nWhen `allowCustomDates` is set to `false`, the date range is readonly (this defaults to `true`).\n\n```html\n<ts-cohort-date-range\n  [allowCustomDates]=\"false\"\n  [cohorts]=\"cohorts\"\n></ts-cohort-date-range>\n```\n\nNOTE: When set to `true`, a `Custom Dates` option will be added to the dropdown.\n\n### Date range boundaries\n\nTo define bounds for custom date selection, pass in a valid `Date` to each of these `@Inputs`:\n\n1. `endMaxDate`\n1. `endMinDate`\n1. `startMaxDate`\n1. `startMinDate`\n\n```html\n<ts-cohort-date-range\n  [startMinDate]=\"startDate1\"\n  [startMaxDate]=\"startDate2\"\n  [endMinDate]=\"endDate1\"\n  [endMaxDate]=\"endDate2\"\n></ts-cohort-date-range>\n```\n\n```typescript\nstartDate1 = new Date(2017, 1, 1);\nstartDate2 = new Date(2017, 8, 1);\nendDate1 = new Date(2017, 1, 2);\nendDate2 = new Date(2017, 8, 2;\n```\n\n### Disable\n\nThe entire component can be disabled:\n\n```html\n<ts-cohort-date-range [isDisabled]=\"true\"></ts-cohort-date-range>\n```\n\n### Error message\n\nA custom error message can be displayed:\n\n```html\n<ts-cohort-date-range errorMessage=\"My error message!\"></ts-cohort-date-range>\n```\n\n## Test Helpers\n\nSome helpers are exposed to assist with testing. These are imported from `@terminus/ui-cohort-date-range/testing`;\n\n[[source]][test-helpers-src]\n\n|        Function         |\n|-------------------------|\n| `getFormFieldElement`   |\n| `getCohortDebugElement` |\n\n<!-- Links -->\n[test-helpers-src]:    testing/src/test-helpers.ts\n[license-url]:         https://github.com/GetTerminus/terminus-oss/blob/release/LICENSE\n[license-image]:       http://img.shields.io/badge/license-MIT-blue.svg\n[codecov-project]:     https://codecov.io/gh/GetTerminus/terminus-oss\n[codecov-badge]:       https://codecov.io/gh/GetTerminus/terminus-oss/branch/release/graph/badge.svg\n[npm-version-image]:   http://img.shields.io/npm/v/@terminus/ui-button.svg\n[npm-package]:         https://www.npmjs.com/package/@terminus/ui-button\n[github-action-badge]: https://github.com/GetTerminus/terminus-oss/workflows/Release%20CI/badge.svg\n[github-action-link]:  https://github.com/GetTerminus/terminus-oss/actions?query=workflow%3A%22CI+Release%22\n[file-size-badge]:     http://img.badgesize.io/https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.min.js?compression=gzip\n[raw-distribution-js]: https://unpkg.com/@terminus/ui-button/bundles/terminus-ui-button.umd.js\n","readmeFilename":"README.md"}