{"id":13805554,"url":"https://github.com/viewweiwu/amiya","last_synced_at":"2025-05-13T19:31:25.452Z","repository":{"id":43051882,"uuid":"287226567","full_name":"viewweiwu/amiya","owner":"viewweiwu","description":"让 antd4 用起来更省心","archived":false,"fork":false,"pushed_at":"2023-12-02T05:43:19.000Z","size":11426,"stargazers_count":136,"open_issues_count":8,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-09T13:04:52.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://viewweiwu.github.io/amiya/","language":"TypeScript","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/viewweiwu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-08-13T08:40:56.000Z","updated_at":"2024-10-11T09:05:26.000Z","dependencies_parsed_at":"2024-04-09T21:47:36.928Z","dependency_job_id":"8ceaff1f-c814-4681-961e-422019c578e7","html_url":"https://github.com/viewweiwu/amiya","commit_stats":{"total_commits":421,"total_committers":3,"mean_commits":"140.33333333333334","dds":0.004750593824228044,"last_synced_commit":"1ca0b1b8f22fcdbe840aaf2fa61c67dbb042642a"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewweiwu%2Famiya","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewweiwu%2Famiya/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewweiwu%2Famiya/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewweiwu%2Famiya/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viewweiwu","download_url":"https://codeload.github.com/viewweiwu/amiya/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225254350,"owners_count":17445166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-04T01:01:02.274Z","updated_at":"2024-11-18T21:31:22.199Z","avatar_url":"https://github.com/viewweiwu.png","language":"TypeScript","funding_links":[],"categories":["Components"],"sub_categories":["Themes"],"readme":"# Amiya\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"200\" src=\"./public/images/logo_mini.png\"\u003e\n\u003c/p\u003e\n\n通过对 antd 的表格、表单、按钮等组件的二次封装，在保留原有功能的情况下，对其进行封装简化使用，用起来更方便。\n\n![阿米娅对比](./public/images/22.svg)\n\n只需要 30% 左右的代码就可以实现带有增删改查的表格，且比 antd 原本功能更加丰富。\n\n![阿米娅表格](./public/images/1.png)\n\n![阿米娅表单](./public/images/2.jpg)\n\n## 📖 文档\n\n文档地址：https://viewweiwu.github.io/amiya/\n\n国内地址：https://minisunflower.vip/amiya/\n\n## 🎉 特性\n\n1. 表格“小购物车”，可以跨页批量操作，如跨页批量删除。\n2. 表格自带工具栏，可以全屏，刷新，设置别名。\n3. 表格顶部查询区域可以根据分辨率改变大小。\n4. 表单只带只读模式。\n5. 表单只带弹窗模式。\n6. 表单可以和表格共享一个配置。\n7. 可全局扩展表单项类型，表格列类型。\n\n## 📦 安装\n\n需要提前安装 antd v4。\n\n```bash\nnpm install amiya -S\n```\n\n## 🗝 使用\n\n```tsx\nimport { AyButton } from 'amiya'\n\nexport default function Demo() {\n  return \u003cAyButton\u003eamiya\u003c/AyButton\u003e\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewweiwu%2Famiya","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviewweiwu%2Famiya","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewweiwu%2Famiya/lists"}