{"id":19345564,"url":"https://github.com/future-team/jq-calendar","last_synced_at":"2026-06-13T13:32:01.442Z","repository":{"id":57281875,"uuid":"62543093","full_name":"future-team/jq-calendar","owner":"future-team","description":"jquery calendar with es6","archived":false,"fork":false,"pushed_at":"2017-04-10T06:14:45.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-05-15T10:39:32.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/future-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-04T08:02:08.000Z","updated_at":"2016-07-04T08:34:06.000Z","dependencies_parsed_at":"2022-08-31T10:52:59.789Z","dependency_job_id":null,"html_url":"https://github.com/future-team/jq-calendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/future-team/jq-calendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-team%2Fjq-calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-team%2Fjq-calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-team%2Fjq-calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-team%2Fjq-calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/future-team","download_url":"https://codeload.github.com/future-team/jq-calendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-team%2Fjq-calendar/sbom","scorecard":{"id":414720,"data":{"date":"2025-08-11","repo":{"name":"github.com/future-team/jq-calendar","commit":"8fc4f8e7478da2c7b1ee92106c16ba185aef67a4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-MIT:0","Info: FSF or OSI recognized license: MIT License: LICENSE-MIT:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T23:32:30.882Z","repository_id":57281875,"created_at":"2025-08-18T23:32:30.882Z","updated_at":"2025-08-18T23:32:30.882Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34286975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T04:07:04.511Z","updated_at":"2026-06-13T13:32:01.425Z","avatar_url":"https://github.com/future-team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jq-calendar\n calendar for jQuery \n 日历组件   \n 目前老的cortex项目不支持引其他项目包所以如果在老项目中使用的话只能通过script引入dist下的生成文件。\n## UI展示\n - 具体图如下：    \n    选择日期：  \n       \n   \u003cimg src=\"./img/day.png\" /\u003e      \n   选择月份：     \n   \n   \u003cimg src=\"./img/year.png\" /\u003e       \n   选择年：  \n   \n   \u003cimg src=\"./img/month.png\" /\u003e\n        \n## 使用\n - 使用时，应指定在何处插入日历，即传入root对应的选择器，配置项如下：\n \n ```\n       /**\n          * 日期插入的标记位置\n          * */\n         root: '.calendar',\n         /**\n          * 周显示样式\n          * */\n         weeks:['日','一','二','三','四','五','六'],\n         /**\n          * 默认选中时间\n          * */\n         defaultDate:'',\n         /**\n          * 可用时间的起始时间\n          * */\n         beginDate:'',\n         /**\n          * 可用时间的终止时间\n          * */\n         endDate:'',\n         /**\n          * 选择时间之后的回调，返回参数为选择日期值\n          * */\n         selectHandler: function(date){\n             console.log(date);\n         }\n       \n ```\n 提供动态设置开始，结束时间的方法（即不在初始化时设置）\n 建议selectHandler时调用，实现多日历联动\n \n ```\n \n       let a = new Calendar();\n       a.setBeginDate(date);\n       a.setEndDate(date) \n       \n ```\n 使用实例：\n js:\n \n ```\n   import { Calendar } from 'jq-calendar';\n   import $ from 'jquery';\n    (()=\u003e{\n       new Calendar({\n             root:'.calendar',   \n             beginDate:'2016-07-06',\n             endDate:'2016-07-10'\n          });\n    })();\n    //或作为jquery插件引入\n    $.Calendar({\n    });\n    //或者require的方式引入\n    let Calendar =  require('jq-calendar').Calendar\n    //使用同上\n ```\n html:\n \n ```\n \n    \u003cdiv id=\"root\" style=\"padding: 10px\"\u003e\n        \u003cinput type=\"text\" class=\"calendar\" /\u003e\n    \u003c/div\u003e\n    \n ```\n- 注：若要兼容ie8及以下版本请引入es5-shim。    \n  在html中判断版本，ie9一下引入    \n \n ```\n    \u003c!--[if lt IE 9] \u003e\n    \u003cscript src=\"http://cdn.bootcss.com/es5-shim/4.5.9/es5-shim.js\"\u003e\u003c/script\u003e\n    \u003c!--[endif]--\u003e\n \n ```\n   \n## update\n   \n   - 1.0.4 修复不支持require方式\n   - 1.0.2 增加图片说明\n   - 之前版本 init及修复 \n\n## Command\n\n```\n\t#测试\t\n\tnpm run test\t\n\t#打包\t\n\tnpm run build\t\n\t#例子演示\t\n\tnpm run demo\t\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-team%2Fjq-calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuture-team%2Fjq-calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-team%2Fjq-calendar/lists"}