{"_id":"grapesjs-component-countdown","_rev":"6-f639344dc0c96152f5f9bde472d57364","name":"grapesjs-component-countdown","description":"Simple countdown component for the GrapesJS Editor","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.1":{"name":"grapesjs-component-countdown","version":"0.1.1","description":"Simple countdown component for the GrapesJS Editor","main":"dist/grapesjs-component-countdown.min.js","scripts":{"lint":"eslint src","build":"npm run v:patch && webpack --env.production","v:patch":"npm version --no-git-tag-version patch","start":"webpack-dev-server --open --progress --colors"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-component-countdown.git"},"keywords":["grapesjs","plugin","component","countdown","wysiwyg"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","babel":{"presets":["env"],"plugins":["transform-object-rest-spread"]},"peerDependencies":{"grapesjs":"0.x"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","html-webpack-plugin":"^2.30.1","eslint":"^4.1.1","webpack":"^3.8.1","webpack-dev-server":"^2.9.4"},"gitHead":"5b24a61c213784a3adac1d01c04f90ada388fbcc","bugs":{"url":"https://github.com/artf/grapesjs-component-countdown/issues"},"homepage":"https://github.com/artf/grapesjs-component-countdown#readme","_id":"grapesjs-component-countdown@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"7.6.0","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"integrity":"sha512-adLzTs2fXUZpPrOR9ncvZ/KYgjHVmieP+jH/SWxORPRE4KaYkR1GRJbcSN+kXnmI56GzcdRnH/XB/TyuWYecgw==","shasum":"ef050d52f4fe787737ef301bf88078b3f31f0725","tarball":"https://registry.npmjs.org/grapesjs-component-countdown/-/grapesjs-component-countdown-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPYzMVPRrSCb1j4wTbCzXQoAyU2MTTjsqEUaOhYw1IKAiBBugewvSYalVwc9QmNYFr61KqNGb0gW6pSk2N8UCwbpw=="}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-component-countdown-0.1.1.tgz_1511094843683_0.48441747738979757"},"directories":{}},"0.1.2":{"name":"grapesjs-component-countdown","version":"0.1.2","description":"Simple countdown component for the GrapesJS Editor","main":"dist/grapesjs-component-countdown.min.js","scripts":{"lint":"eslint src","build":"npm run v:patch && webpack --env.production","v:patch":"npm version --no-git-tag-version patch","start":"webpack-dev-server --open --progress --colors"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-component-countdown.git"},"keywords":["grapesjs","plugin","component","countdown","wysiwyg"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","babel":{"presets":["env"],"plugins":["transform-object-rest-spread"]},"peerDependencies":{"grapesjs":"0.x"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","html-webpack-plugin":"^2.30.1","eslint":"^4.1.1","webpack":"^3.8.1","webpack-dev-server":"^2.9.4"},"gitHead":"3229324b5fc2d577fb9426e6a1b6cde418347721","bugs":{"url":"https://github.com/artf/grapesjs-component-countdown/issues"},"homepage":"https://github.com/artf/grapesjs-component-countdown#readme","_id":"grapesjs-component-countdown@0.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"integrity":"sha512-0OfyXOf94T/eRX0woCO2K6TDIeGReIv5lCE9uKZOgofW7IHcUC0EovUogr1btoXyDdXXCEGVMDskgi+o31qMZg==","shasum":"6bcbbd87ffec3ae01791d04bb3a2265a69033410","tarball":"https://registry.npmjs.org/grapesjs-component-countdown/-/grapesjs-component-countdown-0.1.2.tgz","fileCount":10,"unpackedSize":18832,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHePk9ZNToY5r/pvtV9XXohLVtjdm1nXgVkB5ES3Q2ZvAiEA973IaFQpU/kAaDKG5RppfvXwqE0DLlow+NBwVMOtBfc="}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-component-countdown_0.1.2_1522579398568_0.9713933943631685"},"_hasShrinkwrap":false},"0.1.3":{"name":"grapesjs-component-countdown","version":"0.1.3","description":"Simple countdown component for the GrapesJS Editor","main":"dist/grapesjs-component-countdown.min.js","scripts":{"lint":"eslint src","build":"npm run v:patch && webpack --env.production","v:patch":"npm version --no-git-tag-version patch","start":"webpack-dev-server --open --progress --colors"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-component-countdown.git"},"keywords":["grapesjs","plugin","component","countdown","wysiwyg"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","babel":{"presets":["env"],"plugins":["transform-object-rest-spread"]},"peerDependencies":{"grapesjs":"0.x"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","html-webpack-plugin":"^2.30.1","eslint":"^4.1.1","webpack":"^3.8.1","webpack-dev-server":"^2.9.4"},"gitHead":"1b6cde4bf0b36872e227520944b0187e8121c7be","bugs":{"url":"https://github.com/artf/grapesjs-component-countdown/issues"},"homepage":"https://github.com/artf/grapesjs-component-countdown#readme","_id":"grapesjs-component-countdown@0.1.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"dist":{"integrity":"sha512-TmxDETedUDv1jGqNLn6E768iyp+xAK/XcTId5WpLrmKPFB6aCuWqfTowhtSvyRJJs83OAFMiQIwIu+tEtSWOeA==","shasum":"7df54b2a6c0bdf3275370f974ac9bd732188aae3","tarball":"https://registry.npmjs.org/grapesjs-component-countdown/-/grapesjs-component-countdown-0.1.3.tgz","fileCount":10,"unpackedSize":18833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4FFUCRA9TVsSAnZWagAAmi8QAI7/4nSuEm6CfX8Ly338\ntewQEqCOQAInf2xwDvSYJGZ0zHU3fwT1v2gV8+VKExRRpSugV0ro3OD6K+p6\n+RmP6UEGNq+oWFh+WfUJAs9h3rEm9shuovXxl1LdScgKvCGcs/pT2WgcKdk+\nT5MkNYSoiMtlF7hZfu26gDwOJQgnQwXJXNaMuTC3fLFjbyH2yn61eu1olI+r\niuD2MZU7yyHTtLe1LkZdTlJykbWM8wnAQh6Zk+EM5p9ehx40QM5W5omahzD3\nGEtv7BgUQCisYu9xVWWGsx/EyaFRKUpnq2j8NRhC40h32sMm9WCwVAKh5LpW\nl4M1d2rik2mhuBzWqJzuhdEGyX4oTKHce2//aEqi+m7Sro4zEPN0pHb5GF8c\nO1DDnAJzt/8aJ2dhb2tJzRicwzPrJIpzuC8s6FlUmKG++uDTqW1KCMWA3cB1\nIWqvdLfkiNhI4eISpKWfrp1qAgnsCdbAYeA9LaxGB19V7JiSt1CMWEk6hCzP\nbNZRPbLRx+gspkElpVqpEHr4MNFo7hXHVzkgJerx0cx4qGKYVXkr950h9u9q\nyuP//2nrF3JCTujQjT9K78YxcjditgMUIIMzzKW0Pbf+qjD6z2GyJD6siVNV\n6vveCJlF86Ve+4O0pO7C+9h0P9DxQdReLJaiU64ZGAevPHF31ESx8dt6WNdS\nAetm\r\n=YoMk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqpgDcwxSwmbAGnUFdCqXzu6CCZft0+18vHALzBBJT3AiB3RxFRGelDfe1AqPIbmWRSYAVc55c6Ul+ilI7stqOpDw=="}]},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-component-countdown_0.1.3_1524650324552_0.012037464762406191"},"_hasShrinkwrap":false},"1.0.1":{"name":"grapesjs-component-countdown","version":"1.0.1","description":"Simple countdown component for the GrapesJS Editor","main":"dist/index.js","scripts":{"build":"grapesjs-cli build","start":"grapesjs-cli serve"},"repository":{"type":"git","url":"git+https://github.com/artf/grapesjs-component-countdown.git"},"keywords":["grapesjs","plugin","component","countdown","wysiwyg"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","devDependencies":{"grapesjs":"^0.19.5","grapesjs-cli":"^3.0.1"},"gitHead":"0bda33b7a7267c8d88e37bbe5964197b98d87234","bugs":{"url":"https://github.com/artf/grapesjs-component-countdown/issues"},"homepage":"https://github.com/artf/grapesjs-component-countdown#readme","_id":"grapesjs-component-countdown@1.0.1","_nodeVersion":"12.22.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-avBhe8cHhCLFzgPBwF7ytGZTI1UniJDyoLL87g7MoBIuHFfS2nrJdHE3WlWiqNdnHjKE3AADqXBd0qbfa29w9Q==","shasum":"fcf61a2976a6c39dc36cf9239c4f99bd77117aea","tarball":"https://registry.npmjs.org/grapesjs-component-countdown/-/grapesjs-component-countdown-1.0.1.tgz","fileCount":6,"unpackedSize":25446,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERypTQIp79k0W+QcyiFO5DksqvngvGBTXb+LiiEFDmQAiB8DChoAqTwovQKo4mPykTI3r2kVCAVdnxrQaYXnsNqkg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDNKJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7og/7B4i+wXP6yrs2QrONdNy9Kv/DH7bWW4+HEqwO7ifbUf6ZuoO8\r\ngHNHlZlZemMqFyBA6hJPt9y7ZQNn0jsGs5nsbj1lmL/cH5QGt0Ia2tdDOwiN\r\nJ8HSL7lj+1lumXePwcTHe+q1QxnMfee4b9RCDG2I7HbMgf6a5u9AsDcMJECC\r\n8icaLacIWL6Adia8qwkdntTnw4xiqJWB6LeI5wc3AII3D68oDqxPMtXRJh5n\r\nG8GjRA9nf0BjGI6Wgmd1HPFjpUqjXQ/QB9iQswNxKSeS6ZAj3pls38gxAn7w\r\nw3kYp1mIt7zVg1pLuFhME0PjQ8K3UGzmif6tjDxF1VGGb8AOx+QYHcEZAapc\r\n4vGdVG1fxZCs7JZiLdf23PzX8M3s+VsZpYHTO6LZPQ4s42uGaSqomQdaE3/X\r\n+zkI0wybg5zlHlwoT2h9G9mX9xN6VKi1giMZ38q6iUPWBtCS5cjSI2/MkX/n\r\nW91rxMRjtHt88IBK26ME3Xsd5zackaflMpFnT52DlsPQoyBCABcC9ok4IQO6\r\nOM/KubUGJOSWU8O6pwBMKR8bFTbAdFG6lt41kTj9x1txVdIbpsnWwHdH0I2S\r\nkt5gOkMCVNoQ4tjo3ZZnEA9Q3QS9TIP9Od25E3dp9AOBp49sl+UgflcK+2h9\r\nABMAJcCkkAzcgwM4EQ6Bs07kAC0OTvi34aY=\r\n=y8p5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"directories":{},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-component-countdown_1.0.1_1661784712886_0.4915381488068813"},"_hasShrinkwrap":false},"1.0.2":{"name":"grapesjs-component-countdown","version":"1.0.2","description":"Simple countdown component for the GrapesJS Editor","main":"dist/index.js","scripts":{"build":"grapesjs-cli build","start":"grapesjs-cli serve"},"repository":{"type":"git","url":"git+https://github.com/GrapesJS/components-countdown.git"},"keywords":["grapesjs","plugin","component","countdown","wysiwyg"],"author":{"name":"Artur Arseniev"},"license":"BSD-3-Clause","devDependencies":{"grapesjs":"^0.21.2","grapesjs-cli":"^4.1.0"},"gitHead":"d8d9da76fb444e71c135888239a3834d59ade433","bugs":{"url":"https://github.com/GrapesJS/components-countdown/issues"},"homepage":"https://github.com/GrapesJS/components-countdown#readme","_id":"grapesjs-component-countdown@1.0.2","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-YEDlDY8AxUvNNHojDgOFv76jqDwo49LyFf9ES/Yrda1ou0ohQfoouxRXS+3RzDDN5NEBKkM1PggZlcbiIQfr8Q==","shasum":"ede0e31f431f41389e9b5241b008a94bf2657523","tarball":"https://registry.npmjs.org/grapesjs-component-countdown/-/grapesjs-component-countdown-1.0.2.tgz","fileCount":6,"unpackedSize":25489,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmI4G4ah6yFoETvc8Dp1pUk4uHxfCx4eVXFlPI132XWwIgX6oUDq6VEvv6CuczGSkE30MBcyh0NUtSZUTz578GamI="}]},"_npmUser":{"name":"artf","email":"artur.catch@hotmail.it"},"directories":{},"maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grapesjs-component-countdown_1.0.2_1686056466004_0.29715854962560595"},"_hasShrinkwrap":false}},"readme":"# GrapesJS Countdown\n\nSimple countdown component for GrapesJS Editor\n\n<p align=\"center\"><img src=\"https://artf.github.io/grapesjs/img/countdown.gif\" alt=\"GrapesJS\" align=\"center\"/></p>\n<br/>\n\n# [Demo](http://grapesjs.com/demo.html)\n\n\n\n\n\n## Summary\n\n* Plugin name: `grapesjs-component-countdown`\n* Components: `countdown`\n* Blocks: `countdown`\n\n\n## Options\n\n| Option | Description | Default |\n|-|-|-\n| `id` | The ID used to create the block and component. | `countdown` |\n| `label` | The label used for the block and the component. | `Countdown` |\n| `block` | Object to extend the default block, eg. `{ label: 'Countdown', category: 'Extra', ... }`. Pass a falsy value to avoid adding the block. | `{}` |\n| `props` | Object to extend the default component properties., eg. `{ name: 'Countdown', droppable: false, ... }`. | `{}` |\n| `style` | Custom CSS styles for the component. This will replace the default one. | `''` |\n| `styleAdditional` | Additional CSS styles for the component. These will be appended to the default one. | `''` |\n| `startTime` | Default start time, eg. `2030-01-25 00:00`. | `''` |\n| `endText` | Text to show when the countdown is ended. | `'EXPIRED'` |\n| `dateInputType` | Date input type, eg. `date`, `datetime-local` | `'date'` |\n| `labelDays` | Days label text used in component. | `'days'` |\n| `labelHours` | Hours label text used in component. | `'hours'` |\n| `labelMinutes` | Minutes label text used in component. | `'minutes'` |\n| `labelSeconds` | Seconds label text used in component. | `'seconds'` |\n| `classPrefix` | Countdown component class prefix. | `'countdown'` |\n\n\n\n\n\n## Download\n\n* CDN\n  * `https://unpkg.com/grapesjs-component-countdown`\n* NPM\n  * `npm i grapesjs-component-countdown`\n* GIT\n  * `git clone https://github.com/artf/grapesjs-component-countdown.git`\n\n\n\n\n\n\n## Usage\n\nDirectly in the browser\n```html\n<link href=\"https://unpkg.com/grapesjs/dist/css/grapes.min.css\" rel=\"stylesheet\"/>\n<script src=\"https://unpkg.com/grapesjs\"></script>\n<script src=\"path/to/grapesjs-component-countdown.min.js\"></script>\n\n<div id=\"gjs\"></div>\n\n<script type=\"text/javascript\">\n  var editor = grapesjs.init({\n      container : '#gjs',\n      // ...\n      plugins: ['grapesjs-component-countdown'],\n      pluginsOpts: {\n        'grapesjs-component-countdown': { /* options */ }\n      }\n  });\n</script>\n```\n\nModern javascript\n```js\nimport grapesjs from 'grapesjs';\nimport pluginCountdown from 'grapesjs-component-countdown';\n\nconst editor = grapesjs.init({\n  container : '#gjs',\n  // ...\n  plugins: [pluginCountdown],\n  pluginsOpts: {\n    [pluginCountdown]: { /* options */ }\n  }\n  // or\n  plugins: [\n    editor => pluginCountdown(editor, { /* options */ }),\n  ],\n});\n```\n\n\n\n\n\n## Development\n\nClone the repository\n\n```sh\n$ git clone https://github.com/artf/grapesjs-component-countdown.git\n$ cd grapesjs-component-countdown\n```\n\nInstall it\n\n```sh\n$ npm i\n```\n\nStart the dev server\n\n```sh\n$ npm start\n```\n\nBuild before the commit. This will also increase the patch level version of the package\n\n```sh\n$ npm run build\n```\n\n\n\n\n\n## License\n\nBSD 3-Clause\n","maintainers":[{"name":"artf","email":"artur.catch@hotmail.it"}],"time":{"modified":"2023-06-06T13:01:06.445Z","created":"2017-11-19T12:34:04.587Z","0.1.1":"2017-11-19T12:34:04.587Z","0.1.2":"2018-04-01T10:43:19.213Z","0.1.3":"2018-04-25T09:58:44.708Z","1.0.1":"2022-08-29T14:51:53.071Z","1.0.2":"2023-06-06T13:01:06.297Z"},"homepage":"https://github.com/GrapesJS/components-countdown#readme","keywords":["grapesjs","plugin","component","countdown","wysiwyg"],"repository":{"type":"git","url":"git+https://github.com/GrapesJS/components-countdown.git"},"author":{"name":"Artur Arseniev"},"bugs":{"url":"https://github.com/GrapesJS/components-countdown/issues"},"license":"BSD-3-Clause","readmeFilename":"README.md"}