{"_id":"@aligov/common-form-drawer","_rev":"15-21f30938569adccb0f145f6c8fe71110","name":"@aligov/common-form-drawer","description":"intro component","dist-tags":{"latest":"1.0.2-1"},"versions":{"1.0.0":{"name":"@aligov/common-form-drawer","version":"1.0.0","keywords":["ice","react","component"],"license":"MIT","_id":"@aligov/common-form-drawer@1.0.0","maintainers":[{"name":"tao1991123","email":"tao360907796@gmail.com"},{"name":"itrip","email":"1198488651@qq.com"},{"name":"liunian","email":"dengjij@gmail.com"},{"name":"xiazhiqiang","email":"xiazhiqiangcuc@126.com"},{"name":"jerrywang12","email":"463174595@qq.com"},{"name":"zhousufa","email":"zhousufa@gmail.com"},{"name":"mo.zhou","email":"bjfuzm@163.com"},{"name":"guoliang.hgl","email":"guoliang.hgl@alibaba-inc.com"},{"name":"zwhu","email":"zwhu2014@foxmail.com"},{"name":"zhangcong52","email":"386333321@qq.com"},{"name":"ccs0118","email":"ccs19871030@gmail.com"},{"name":"daip","email":"15858208586@163.com"},{"name":"zhaojian6516","email":"zhaojian6516@163.com"},{"name":"baizhao","email":"ethan.cqw@alibaba-inc.com"},{"name":"leezq","email":"lizhenq2009@gmail.com"},{"name":"jasoncapricorn","email":"17682318001@163.com"}],"homepage":"https://unpkg.com/@aligov/common-form-drawer@1.0.0/build/index.html","dist":{"shasum":"f60f2a51239d8dcad32b35b71c793c7c7d56e486","tarball":"https://registry.npmjs.org/@aligov/common-form-drawer/-/common-form-drawer-1.0.0.tgz","fileCount":22,"integrity":"sha512-uRiRGQpWk+SoN8t+cFd6kQf0hVeKqc6tJN3tfeQoffic+m1znyJx0gsLGa8Y87eY/+2ry1QEPjbYYgafLqoF3Q==","signatures":[{"sig":"MEYCIQD0Tnzf2BLgCPrs0UNav7D5aNBpW/Kti+X2/AIMgvV/WwIhAKUSzsFvG+0r2hiDyk767AXAKwthhIFuF9DREN3nUT9z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1599001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIjlkCRA9TVsSAnZWagAAMGwQAKJvO0wiARFV677RmkR3\n9lrSBTeGOZ58KgFFPyyhYKXkOkfr7f+8mK6c5fuVZHGELrF5MAcNnkg9dJFW\n/azgy+uTyL3GfxkuisHrcYuMj4FMCbhA/78yZQGQbn3BLmjy8plj0H4IJqh5\nWzjY0k3x9yN4ZC12oLfmBjpsK9OrhBQQHE8yTylrrdgyENgJJ7G6rqDfbPKT\np1J3Z7xRaIP5rxwGEB0cQMoFD15wIPA0Za0L3b6XOzxBzJnvq5TB+QjYtInt\n98CLatS/6cvD/z4VQCZlgQvl4vcQhxViWpopbP0mrHj3aN4+dbuP3JIXTjQU\nC3ABYL2xzhsppRlWYrPbWFirSc0fUv+bICoz5ZLezFDjC6djcr+a5wFYkrJ5\n8tmoYjMxiP0ztDTqFuELlYJzjmnQ7DlQfz5emhRt//FtPXTqwiybSlXk8X+g\nIZBvHq+lPoq8CCgcRaWhjekOGKDJ7mcLckjxJYO+4ckO7RnL2b8eGmwXxizE\ntJp4dH4r4Znuqjn8tSr55Pf+GPF4TLMiNBSnS6Ma7B7h3rI1GSb8RuiCN/01\nHo83KLYygbb/GQAVRDQrE9D02cdhMdCH5Bo49H5m9GpbIh4nuXnpTvzT1Zyy\nO9BTcBhouxjMISCdNQRKNJSN9RxoBUc+D3joQWYH0sUaG0JZ29X/yBT5m3fQ\nn69X\r\n=yndg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"es/index.js","scripts":{"lint":"npm run eslint && npm run stylelint","test":"build-scripts test","build":"build-scripts build","start":"build-scripts start","eslint":"eslint --cache --ext .js,.jsx ./","stylelint":"stylelint \"**/*.{css,scss,less}\"","eslint:fix":"npm run eslint -- --fix","prepublishOnly":"npm run build"},"_npmUser":{"name":"mo.zhou","email":"bjfuzm@163.com"},"stylePath":"style.js","_npmVersion":"6.13.4","description":"intro component","directories":{},"_nodeVersion":"12.16.1","dependencies":{"prop-types":"^15.5.8","@formily/next":"^1.3.12","@formily/next-components":"^1.3.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"componentConfig":{"name":"CommonFormDrawer","title":"CommonFormDrawer","category":"DataDisplay"},"devDependencies":{"react":"^16.3.0","enzyme":"^3.10.0","eslint":"^6.8.0","react-dom":"^16.3.0","stylelint":"^13.7.2","@alifd/next":"1.x","@types/react":"^16.9.13","@iceworks/spec":"^1.0.0","@types/react-dom":"^16.9.4","@alib/build-scripts":"^0.1.3","build-plugin-fusion":"^0.1.0","build-plugin-component":"^1.0.0","@alifd/adaptor-generate":"^0.1.3","enzyme-adapter-react-16":"^1.14.0","build-plugin-fusion-cool":"^0.1.0","build-plugin-moment-locales":"^0.1.0"},"peerDependencies":{"react":"^16.3.0","@alifd/next":"1.x"},"_npmOperationalInternal":{"tmp":"tmp/common-form-drawer_1.0.0_1612855652374_0.2098037466986702","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aligov/common-form-drawer","version":"1.0.1","keywords":["ice","react","component"],"license":"MIT","_id":"@aligov/common-form-drawer@1.0.1","maintainers":[{"name":"tao1991123","email":"tao360907796@gmail.com"},{"name":"itrip","email":"1198488651@qq.com"},{"name":"liunian","email":"dengjij@gmail.com"},{"name":"xiazhiqiang","email":"xiazhiqiangcuc@126.com"},{"name":"jerrywang12","email":"463174595@qq.com"},{"name":"zhousufa","email":"zhousufa@gmail.com"},{"name":"mo.zhou","email":"bjfuzm@163.com"},{"name":"guoliang.hgl","email":"guoliang.hgl@alibaba-inc.com"},{"name":"zwhu","email":"zwhu2014@foxmail.com"},{"name":"zhangcong52","email":"386333321@qq.com"},{"name":"ccs0118","email":"ccs19871030@gmail.com"},{"name":"daip","email":"15858208586@163.com"},{"name":"zhaojian6516","email":"zhaojian6516@163.com"},{"name":"baizhao","email":"ethan.cqw@alibaba-inc.com"},{"name":"leezq","email":"lizhenq2009@gmail.com"},{"name":"jasoncapricorn","email":"17682318001@163.com"}],"homepage":"https://unpkg.com/@aligov/common-form-drawer@1.0.1/build/index.html","dist":{"shasum":"ef4082bb4d241bb02ee36897bb60c51d8aea16d3","tarball":"https://registry.npmjs.org/@aligov/common-form-drawer/-/common-form-drawer-1.0.1.tgz","fileCount":22,"integrity":"sha512-t0+5nD10TEN+H5MuatZrfUatImWnbZUmJ8pQWI9ePKZDH8Gv3xgc4RXzrh6O698UHIpNBbb2i3Z2lX83D+jp1A==","signatures":[{"sig":"MEUCIEFAAFYE0hBsfCoULrRG+wbCzv24hCpZrxrOnYfaU1uLAiEA2eTPY0JHdn7xIFdAqdtkyV0B8Y0O7YjR45MyHbPPE1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2105506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM3vjCRA9TVsSAnZWagAA1jAP/iLPFl9oDat52yK9Mxxh\nHOe+b4UOfDSzuUeZefjSWibEsWaAHBleNgpnciTpvJgR6qeUXxgmzA2EZXLU\nYtPJb3ilSYYbDLaVM40Slr88Xu2Ps5mbOUdHw1jiRAOB4A611QiaHVz+Sv4D\nLdxnjZh75Tg6CQeJ3+u1yRmucTICljWvQJj+clN6JwJ2+sqFKcpFD31MfKlJ\nYabJTA6Ru9gzWUt/ItVohWbRozaKjPA7e59UcYs5uSDDCxetmgMaqg8TpB/X\nIi2HbnCivaOx6jo06k4sZpqMzrn5DDgaQOwTu1h2tW/ITXAAULOcK7+0JjL7\nuTP1+JeB7iZiHrfdqbAlLNUcOtrzVvpXzXPl8s5+DmWpc/lEEz39uejtoZY1\nqWAJxu0zxWB4c8f+6ge2KHq1WTr3YusFjZjeJaltfofFMoLGF7AWPM+4D3vl\npCqWKSE6ZdlsGCcCEtFbfxS1s6+HuPpPlDkvo0jrcFc4NGSpFeGji1Bc97nL\nyevnbc+zBDG7phdAx9xvw9AguGa5LzEQ968/g68S7ovXRrXa7KtGYTa7U32H\naA7+HUtFcKKnFVIFlhfXBEnGKGtChBvkAxhCrCfBrLlz48eJjwivY4xGLAbl\nW/kRO1z9i931x3odZZOn7Apv1dv0HhhgNOReTJZnWc45bt5J8kaUvDDG3kXz\nvL95\r\n=0Me0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"es/index.js","scripts":{"lint":"npm run eslint && npm run stylelint","test":"build-scripts test","build":"build-scripts build","start":"build-scripts start","eslint":"eslint --cache --ext .js,.jsx ./","stylelint":"stylelint \"**/*.{css,scss,less}\"","eslint:fix":"npm run eslint -- --fix","prepublishOnly":"npm run build"},"_npmUser":{"name":"mo.zhou","email":"bjfuzm@163.com"},"stylePath":"style.js","_npmVersion":"6.13.4","description":"intro component","directories":{},"_nodeVersion":"12.16.1","dependencies":{"prop-types":"^15.5.8","@formily/next":"^1.3.12","@formily/next-components":"^1.3.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"componentConfig":{"name":"CommonFormDrawer","title":"CommonFormDrawer","category":"DataDisplay"},"devDependencies":{"react":"^16.3.0","enzyme":"^3.10.0","eslint":"^6.8.0","react-dom":"^16.3.0","stylelint":"^13.7.2","@alifd/next":"1.x","@types/react":"^16.9.13","@iceworks/spec":"^1.0.0","@types/react-dom":"^16.9.4","@alib/build-scripts":"^0.1.3","build-plugin-fusion":"^0.1.0","build-plugin-component":"^1.0.0","@alifd/adaptor-generate":"^0.1.3","enzyme-adapter-react-16":"^1.14.0","build-plugin-fusion-cool":"^0.1.0","build-plugin-moment-locales":"^0.1.0"},"peerDependencies":{"react":"^16.3.0","@alifd/next":"1.x"},"_npmOperationalInternal":{"tmp":"tmp/common-form-drawer_1.0.1_1613986787086_0.021947818456140133","host":"s3://npm-registry-packages"}},"1.0.2-1":{"name":"@aligov/common-form-drawer","version":"1.0.2-1","keywords":["ice","react","component"],"license":"MIT","_id":"@aligov/common-form-drawer@1.0.2-1","maintainers":[{"name":"tao1991123","email":"tao360907796@gmail.com"},{"name":"itrip","email":"1198488651@qq.com"},{"name":"liunian","email":"dengjij@gmail.com"},{"name":"xiazhiqiang","email":"xiazhiqiangcuc@126.com"},{"name":"jerrywang12","email":"463174595@qq.com"},{"name":"zhousufa","email":"zhousufa@gmail.com"},{"name":"mo.zhou","email":"bjfuzm@163.com"},{"name":"guoliang.hgl","email":"guoliang.hgl@alibaba-inc.com"},{"name":"zwhu","email":"zwhu2014@foxmail.com"},{"name":"zhangcong52","email":"386333321@qq.com"},{"name":"ccs0118","email":"ccs19871030@gmail.com"},{"name":"daip","email":"15858208586@163.com"},{"name":"zhaojian6516","email":"zhaojian6516@163.com"},{"name":"baizhao","email":"ethan.cqw@alibaba-inc.com"},{"name":"leezq","email":"lizhenq2009@gmail.com"},{"name":"jasoncapricorn","email":"17682318001@163.com"}],"homepage":"https://unpkg.com/@aligov/common-form-drawer@1.0.2-1/build/index.html","dist":{"shasum":"2d0ac82dc23e021141ad30b3b7f72abedb040dda","tarball":"https://registry.npmjs.org/@aligov/common-form-drawer/-/common-form-drawer-1.0.2-1.tgz","fileCount":22,"integrity":"sha512-27yrkiP+FF2ZS04gvhxAFu4yL4/tZUmiuHFOXedPdVnjs1cQyc4zGh2GtjPsC4OXKl76QWLLLN8WmGtcIkn/IQ==","signatures":[{"sig":"MEYCIQDu4XPLKoCE05TV7ivnxsWtEB8yJCxAETozQMHI5VzlTQIhAPh4wgtxTGscVRgwlB2hRchMCNYReYArpXhFRouj8v6j","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2117948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh11UKCRA9TVsSAnZWagAA+3oP/jsK+16M91YCH2WHNhDO\noKIfyUOMfna80vYv3wntRTsLcpWmOdyJY1kAc8FgApFSiVQxUF0AjkC6uBxR\nSQZz+OzcIIuejxA9VHJIUTzd1Zfot1vkO/2WZA1LHRLMaK0/H9NEOX6re31b\nxcybqME3pOeE44iqG7L2PCDnR462PrnLx+lI+pFAHZv6/Ezk6kILeSDgIc8T\nh+chNGrFA0+o+U5A2NuwkSOwx9RkLbvakC6wvolAxSG5bUijXPTgwFXDfVDl\nSaUqzji/Cbh30JeBoIC6SL6IHxi5lK6VLePHy0Lb0Nria8SAJTfzZQg86egQ\nsDHFglV7RgukNehA9yMralpD1/+gq5RwQPYhKm/sDQmH/iF3DuruWpLm1edL\nC6Di0NLxoB3rBjsKaATzUmFudG9QZgCJDSG5xcE4XV+ZmcRwedaTlKpdbB6i\nlmrtXobKZK+pJQrdnjJNUeZrW76iTSGmy6FAF/wWEDYHOF/gg04OPIhFm1LN\n5yXeSO4V1rUE1RZv/0ru4rbHGXCXbdeZiYe6fWmvexN4FeWBZUg3nNHUmHst\nBM7i8Brms3+mngVapLrs7BuQTQJ+bgPmBfZfBiR0+fqKHUfox9r811PBBeAY\nzIpvw2nXQlaSwLKwtZx3ctAm5Hgnq/PYQh/pWqJ653igOYowY6qPXZdwtvNF\ngJgg\r\n=L/m+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"es/index.js","scripts":{"lint":"npm run eslint && npm run stylelint","test":"build-scripts test","build":"build-scripts build","start":"build-scripts start","eslint":"eslint --cache --ext .js,.jsx ./","stylelint":"stylelint \"**/*.{css,scss,less}\"","eslint:fix":"npm run eslint -- --fix","prepublishOnly":"npm run build"},"_npmUser":{"name":"mo.zhou","email":"bjfuzm@163.com"},"stylePath":"style.js","_npmVersion":"6.13.4","description":"intro component","directories":{},"_nodeVersion":"12.16.1","dependencies":{"prop-types":"^15.5.8","@formily/next":"^1.3.12","@formily/next-components":"^1.3.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"componentConfig":{"name":"CommonFormDrawer","title":"CommonFormDrawer","category":"DataDisplay"},"devDependencies":{"react":"^16.3.0","enzyme":"^3.10.0","eslint":"^6.8.0","react-dom":"^16.3.0","stylelint":"^13.7.2","@alifd/next":"1.x","@types/react":"^16.9.13","@iceworks/spec":"^1.0.0","@types/react-dom":"^16.9.4","@alib/build-scripts":"^0.1.3","build-plugin-fusion":"^0.1.0","build-plugin-component":"^1.0.0","@alifd/adaptor-generate":"^0.1.3","enzyme-adapter-react-16":"^1.14.0","build-plugin-fusion-cool":"^0.1.0","build-plugin-moment-locales":"^0.1.0"},"peerDependencies":{"react":"^16.3.0","@alifd/next":"1.x"},"_npmOperationalInternal":{"tmp":"tmp/common-form-drawer_1.0.2-1_1614740140356_0.01991166160161706","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-02-09T07:27:32.141Z","modified":"2024-07-04T09:18:20.249Z","1.0.0":"2021-02-09T07:27:32.624Z","1.0.1":"2021-02-22T09:39:47.299Z","1.0.2-1":"2021-03-03T02:55:40.530Z"},"maintainers":[{"email":"wanyi.css@alibaba-inc.com","name":"wanyi.css"},{"email":"17682318001@163.com","name":"jasoncapricorn"},{"email":"chris_jun@aliyun.com","name":"qingkaili"},{"email":"hgxjyh@163.com","name":"huguoxin"},{"email":"shenyu.wsy@alibaba-inc.com","name":"shenyu.wsy"},{"email":"dengjij@gmail.com","name":"liunian"},{"email":"tao360907796@gmail.com","name":"tao1991123"},{"email":"1198488651@qq.com","name":"itrip"},{"email":"xiazhiqiangcuc@126.com","name":"xiazhiqiang"},{"email":"bjfuzm@163.com","name":"mo.zhou"},{"email":"guoliang.hgl@alibaba-inc.com","name":"guoliang.hgl"},{"email":"15858208586@163.com","name":"daip"},{"email":"ethan.cqw@gmail.com","name":"baizhao"}],"keywords":["ice","react","component"],"license":"MIT","homepage":"https://unpkg.com/@aligov/common-form-drawer@1.0.2-1/build/index.html","readme":"# CommonFormDrawer\n\n@aligov/common-form-drawer\n\nintro component\n\n## API\n\n| 参数名        | 说明                    | 必填  | 类型     | 默认值   | 备注                     |\n| ------------- | ----------------------- | ----- | -------- | -------- | ------------------------ |\n| visible       | 是否显示                | true  | boolean  | false    |                          |\n| dialogValue   | 表单值                  | false | any      |          |                          |\n| title         | 标题                    | false | string   | 编辑数据 |                          |\n| mode          | 模式                    | false | number   | 0        | 新增：0 编辑：1 详情：2  |\n| onOk          | 提交函数                | true  | Function | 0        |                          |\n| onClose       | 关闭函数                | true  | Function | 0        |                          |\n| schema        | 表单 schema，同 formily | false | any      |          |                          |\n| submitLabel   | 提交按钮文案            | false | string   | 保存     |                          |\n| customButtons | 底部按钮                | false | any      | null     |                          |\n| children      | 子元素                  | false | any      | null     | 不用 schema 的话写 Field |\n\n## 用法\n\n配合@aligov/use-drawer-hook 使用更佳\n\n```jsx\nimport React, { Component } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport {\n  SchemaMarkupField as Field,\n  createFormActions,\n  FormEffectHooks,\n} from \"@formily/next\";\nimport { Input } from \"@formily/next-components\";\nimport CommonFormDrawer from \"@aligov/common-form-drawer\";\n\nclass App extends Component {\n  render() {\n    return (\n      <div>\n        <CommonFormDrawer\n          visible={false}\n          components={{ Input }}\n          onOk={console.log}\n        >\n          <Field\n            name=\"name\"\n            title=\"Field用法\"\n            type=\"string\"\n            required={true}\n            x-component=\"Input\"\n          />\n        </CommonFormDrawer>\n        <CommonFormDrawer\n          visible\n          components={{ Input }}\n          onOk={console.log}\n          schema={{\n            type: \"object\",\n            \"x-component-props\": {\n              labelCol: 7,\n              wrapperCol: 12,\n            },\n            properties: {\n              string: {\n                type: \"string\",\n                title: \"Schema用法\",\n                \"x-component\": \"Input\",\n              },\n            },\n          }}\n        />\n      </div>\n    );\n  }\n}\n\nReactDOM.render(<App />, mountNode);\n```\n","readmeFilename":"README.md"}