{"id":41329483,"url":"https://github.com/mybricks/comlib-pc-normal","last_synced_at":"2026-01-23T06:13:09.283Z","repository":{"id":52789264,"uuid":"341897262","full_name":"mybricks/comlib-pc-normal","owner":"mybricks","description":"PC端通用组件库","archived":false,"fork":false,"pushed_at":"2026-01-12T14:26:00.000Z","size":16308,"stargazers_count":18,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-12T19:35:57.279Z","etag":null,"topics":["low-code","mybricks","no-code"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mybricks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-24T12:43:08.000Z","updated_at":"2026-01-12T14:26:04.000Z","dependencies_parsed_at":"2024-03-25T08:39:10.890Z","dependency_job_id":"987106a3-383c-4b28-8027-b355ae1652d0","html_url":"https://github.com/mybricks/comlib-pc-normal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mybricks/comlib-pc-normal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybricks%2Fcomlib-pc-normal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybricks%2Fcomlib-pc-normal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybricks%2Fcomlib-pc-normal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybricks%2Fcomlib-pc-normal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mybricks","download_url":"https://codeload.github.com/mybricks/comlib-pc-normal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybricks%2Fcomlib-pc-normal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["low-code","mybricks","no-code"],"created_at":"2026-01-23T06:13:08.599Z","updated_at":"2026-01-23T06:13:09.277Z","avatar_url":"https://github.com/mybricks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mybricks-PC端通用组件库\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://mybricks.world/\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/77093461/192469708-107ed96d-66d0-4eb2-861a-f97ac384ee15.png\" height=\"300\" width=\"300\"/\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n## ✨ 特性\n- 所见即所得的开发体验\n- 通用无代码，通过图形化编排的方式可实现复杂的功能\n- 方便且强大的即时调试能力\n\n## ✨ 依赖的 Env 方法\n```typeScript\n// 引入连接器，仓库地址 https://github.com/mybricks/plugin-connector-http\nimport { call as callConnectorHttp } from '@mybricks/plugin-connector-http'\n\nconst env = {\n  i18n (text: string) {\n    // 多语言定制\n    return text\n  },\n  callConnector (connector, params) {\n    //调用连接器\n    if (connector.type === 'http') {\n      //服务接口类型\n      return callConnectorHttp({ script: connector.script }, params)\n    } else {\n      return Promise.reject('错误的连接器类型.')\n    }\n  },\n  vars: {\n    getQuery: () =\u003e {\n      // 返回页面路由参数\n      return {}\n    },\n    get hasPermission() {\n      return ({ key }) =\u003e {\n        // TOD 操作权限校验\n        return true\n      })\n    },\n    get getRouter () {\n      return () =\u003e {\n        reload: () =\u003e {\n          // TOD 刷新页面\n        },\n        redirect: ({ url }: { url: string }) =\u003e {\n          // TOD 重定向\n        },\n        back: () =\u003e {\n          // TOD 后退\n        },\n        forward: () =\u003e {\n          // TOD 前进\n        },\n        pushState: ({\n          state,\n          title,\n          url,\n        }: {\n          state: any;\n          title: string;\n          url: string;\n        }) =\u003e {\n           // TOD 路由跳转\n        },\n        openTab: ({ url, title }: { url: string; title: string }) =\u003e {\n          // TOD 打开新标签页\n        }\n      }\n    }\n  }\n\n}\n\n```\n\n## 🤝 社区互助\n如果您在使用过程中碰到问题，可以加入Mybricks社区，获得产品与服务支持！  \n\u003cimg width=\"121\" src=\"https://user-images.githubusercontent.com/77093461/192530868-113b794a-0fa5-480e-b18b-50f12d83897b.png\"\u003e\n\n## ❤️ 贡献者\n感谢所有为Mybricks做出贡献的伙伴们！\n\u003cdiv\u003e\n  \u003ca href=\"https://github.com/GodStream\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/23089466?s=64\u0026amp;v=4\" alt=\"@GodStream\" border-radius=\"50%\" size=\"32\" height=\"32\" width=\"32\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/zzfzfz\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/59550023?s=64\u0026amp;v=4\" alt=\"@zzfzfz\" size=\"32\" height=\"32\" width=\"32\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/z35635\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/71205096?s=64\u0026amp;v=4\" alt=\"@z35635\" size=\"32\" height=\"32\" width=\"32\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/dawujiang\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/17929180?s=64\u0026amp;v=4\" alt=\"@dawujiang\" size=\"32\" height=\"32\" width=\"32\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Bigbig-Huang\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/77093461?s=64\u0026amp;v=4\" alt=\"@Bigbig-Huang\" size=\"32\" height=\"32\" width=\"32\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybricks%2Fcomlib-pc-normal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmybricks%2Fcomlib-pc-normal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybricks%2Fcomlib-pc-normal/lists"}