{"_id":"@anmed/flex-business-form","_rev":"11-a86d7d0e8704fa8ca6e622bcb63095f9","name":"@anmed/flex-business-form","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.1":{"name":"@anmed/flex-business-form","version":"0.0.1","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.0.1","maintainers":[{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"}],"dist":{"shasum":"799cdd39bc24c104f5d7380bacb2e16b935971e2","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.0.1.tgz","fileCount":14,"integrity":"sha512-7JHGezUa+Y4JFwsmgUI70YtO5G/OM1/HpCG1V5halyVrtMKPHlPi6FIzJc+BfkNv3yyf8682aKvFkjK7l0/G4w==","signatures":[{"sig":"MEYCIQCmQe5MsFD60wEgo6SEEqs9i73DIrnSAOMhNffYP2Eb1gIhAKKq9K6mcQXSeHGbFCMvAFF2usfMaq5bOCBCu+orAt45","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25249},"main":"index.js","type":"module","types":"index.d.ts","exports":{"./package.json":"./package.json","./lib/PageAction":"./lib/PageAction.js","./FlexFormCard.svelte":"./FlexFormCard.svelte","./CellFormField.svelte":"./CellFormField.svelte","./flex-business-form.css":"./flex-business-form.css","./FlexBusinessForm.svelte":"./FlexBusinessForm.svelte","./flex-business-form.scss":"./flex-business-form.scss","./FlexBusinessSection.svelte":"./FlexBusinessSection.svelte"},"gitHead":"12cc94dcf4aa4b93b08283994229c03e3d921d2a","private":false,"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"9.5.1","description":"## 动态卡片","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"4.0.4","dayjs":"^1.11.11","tslib":"^2.3.1","svelte":"^3.44.0","typescript":"^4.7.4","svelte-check":"^2.7.1","@sveltejs/kit":"next","@sveltejs/package":"next","svelte-preprocess":"^4.10.6","@hanmotec/uniface-web":"^0.1.12","@sveltejs/adapter-auto":"next","@hanmotec/uniface-icons":"^0.1.3","@hanmotec/flex-common-api":"^0.0.2","@anmed/flex-business-query":"^0.0.3","@anmed/flex-form-component":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.0.1_1718699998617_0.9905381180123689","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@anmed/flex-business-form","version":"0.0.2","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.0.2","maintainers":[{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"}],"dist":{"shasum":"5d745a5c26bdad8c1c6e8d99fdc744097f19562a","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.0.2.tgz","fileCount":14,"integrity":"sha512-jROqABzOgw9ipGT+3RB5ZQFHV+URxPGD1+s1PJprg60YXFEpmZMBPQTGz0U6HRlBDzlKOa6GdCGjPl0p+n+CEw==","signatures":[{"sig":"MEQCIAmNEgP97sjgJiTh8dMc3MryxeKAoJHkWClmf8UpoO4UAiAUcNQSYJens6XKhUU8luuyBulrWxAtnzSJsI5W9zwzjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24407},"main":"index.js","type":"module","types":"index.d.ts","exports":{"./package.json":"./package.json","./lib/PageAction":"./lib/PageAction.js","./FlexFormCard.svelte":"./FlexFormCard.svelte","./CellFormField.svelte":"./CellFormField.svelte","./flex-business-form.css":"./flex-business-form.css","./FlexBusinessForm.svelte":"./FlexBusinessForm.svelte","./flex-business-form.scss":"./flex-business-form.scss","./FlexBusinessSection.svelte":"./FlexBusinessSection.svelte"},"gitHead":"12cc94dcf4aa4b93b08283994229c03e3d921d2a","private":false,"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"9.5.1","description":"## 动态卡片","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"4.0.4","dayjs":"^1.11.11","tslib":"^2.3.1","svelte":"^3.44.0","typescript":"^4.7.4","svelte-check":"^2.7.1","@sveltejs/kit":"next","@sveltejs/package":"next","svelte-preprocess":"^4.10.6","@hanmotec/uniface-web":"^0.1.12","@sveltejs/adapter-auto":"next","@hanmotec/uniface-icons":"^0.1.3","@hanmotec/flex-common-api":"^0.0.3","@anmed/flex-business-query":"^0.0.3","@anmed/flex-form-component":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.0.2_1718749228322_0.12741710420399044","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@anmed/flex-business-form","version":"0.0.3","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.0.3","maintainers":[{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"}],"dist":{"shasum":"fe232f21cd096593d418008b8d4371ceb26ca636","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.0.3.tgz","fileCount":14,"integrity":"sha512-HeN3uNEuzT+u4QfkP4MoT36IzbemvRHHDVKJPRd51TlwmoTblSQ5qkBy0i35//0uhwNE7ta7KQYG+xEU0H3hUA==","signatures":[{"sig":"MEUCIDX55NmJmXkv87LAXflTC1I4tlsgqNoukM6KCUWapqH5AiEAwIjPHiJKWvm/idTOxWtK9F5kNVjiJ5raPj2AVazOKw0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24407},"main":"index.js","type":"module","types":"index.d.ts","exports":{"./package.json":"./package.json","./lib/PageAction":"./lib/PageAction.js","./FlexFormCard.svelte":"./FlexFormCard.svelte","./CellFormField.svelte":"./CellFormField.svelte","./flex-business-form.css":"./flex-business-form.css","./FlexBusinessForm.svelte":"./FlexBusinessForm.svelte","./flex-business-form.scss":"./flex-business-form.scss","./FlexBusinessSection.svelte":"./FlexBusinessSection.svelte"},"gitHead":"12cc94dcf4aa4b93b08283994229c03e3d921d2a","private":false,"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"9.5.1","description":"## 动态卡片","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"4.0.4","dayjs":"^1.11.11","tslib":"^2.3.1","svelte":"^3.44.0","typescript":"^4.7.4","svelte-check":"^2.7.1","@sveltejs/kit":"next","@sveltejs/package":"next","svelte-preprocess":"^4.10.6","@hanmotec/uniface-web":"^0.1.12","@sveltejs/adapter-auto":"next","@hanmotec/uniface-icons":"^0.1.3","@hanmotec/flex-common-api":"^0.0.5","@anmed/flex-business-query":"^0.0.3","@anmed/flex-form-component":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.0.3_1718793433877_0.33765559848995785","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@anmed/flex-business-form","version":"0.0.5","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.0.5","dist":{"shasum":"4bcb1ecdb387402667e90233fd170674edb2869d","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.0.5.tgz","fileCount":14,"integrity":"sha512-Q9uc0LnMcVG6vXilFOVGBy29pnXc/7nqYYm66yixFz2j25pVOA4NpyGcWj4thiUAXI51f3s36F6EVzTwyn5rxQ==","signatures":[{"sig":"MEUCIQD833oqWcxZ0fBpi/dBxy/X3e2S7myGMbKC2natq87RKgIgAYUFuey5F/b892fRFZhJ3RmBPmhnCehyLCtM4DK60Io=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24677},"main":"index.js","type":"module","types":"index.d.ts","exports":{"./package.json":"./package.json","./lib/PageAction":"./lib/PageAction.js","./FlexFormCard.svelte":"./FlexFormCard.svelte","./CellFormField.svelte":"./CellFormField.svelte","./flex-business-form.css":"./flex-business-form.css","./FlexBusinessForm.svelte":"./FlexBusinessForm.svelte","./flex-business-form.scss":"./flex-business-form.scss","./FlexBusinessSection.svelte":"./FlexBusinessSection.svelte"},"gitHead":"12cc94dcf4aa4b93b08283994229c03e3d921d2a","private":false,"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"9.5.1","description":"## 动态卡片","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"4.0.4","dayjs":"^1.11.11","tslib":"^2.3.1","svelte":"^3.44.0","typescript":"^4.7.4","svelte-check":"^2.7.1","@sveltejs/kit":"next","@sveltejs/package":"next","svelte-preprocess":"^4.10.6","@hanmotec/uniface-web":"^0.1.12","@sveltejs/adapter-auto":"next","@hanmotec/uniface-icons":"^0.1.3","@hanmotec/flex-common-api":"^0.0.11","@anmed/flex-business-query":"^0.0.3","@anmed/flex-form-component":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.0.5_1719794559483_0.7061953894879487","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@anmed/flex-business-form","version":"0.0.6","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.0.6","dist":{"shasum":"7f2217b18184dce5d31cafa24416f5e4e8e66fce","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.0.6.tgz","fileCount":14,"integrity":"sha512-Tx8PUWg3cMNJM4uU/LEhynghWYZXcS80/7uZTWveWKm7CawnB0JsipKXzPinCvUy2dzPtXkylFnGTOz95Uqppg==","signatures":[{"sig":"MEUCIQCTq8BpNKw3q03zQmGao1qaZpDKvBwY8l3QUddfGyBcUwIgL/GlpYaf09R/c+QLQQQLJJuAJ26oQW7U+KER0skvtZE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24677},"main":"index.js","type":"module","types":"index.d.ts","exports":{"./package.json":"./package.json","./lib/PageAction":"./lib/PageAction.js","./FlexFormCard.svelte":"./FlexFormCard.svelte","./CellFormField.svelte":"./CellFormField.svelte","./flex-business-form.css":"./flex-business-form.css","./FlexBusinessForm.svelte":"./FlexBusinessForm.svelte","./flex-business-form.scss":"./flex-business-form.scss","./FlexBusinessSection.svelte":"./FlexBusinessSection.svelte"},"gitHead":"6418a986c8dff82344a899c6c8dba8aa4924e2a8","private":false,"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"9.5.1","description":"## 动态卡片","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"4.0.4","dayjs":"^1.11.11","tslib":"^2.3.1","svelte":"^3.44.0","typescript":"^4.7.4","svelte-check":"^2.7.1","@sveltejs/kit":"next","@sveltejs/package":"next","svelte-preprocess":"^4.10.6","@hanmotec/uniface-web":"^0.1.12","@sveltejs/adapter-auto":"next","@hanmotec/uniface-icons":"^0.1.3","@hanmotec/flex-common-api":"^0.0.11","@anmed/flex-business-query":"^0.0.3","@anmed/flex-form-component":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.0.6_1719830103640_0.05945055543361377","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@anmed/flex-business-form","version":"0.1.0","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.1.0","maintainers":[{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"},{"name":"wangzh2024","email":"1307486168@qq.com"}],"dist":{"shasum":"644f4c3d76fba1e7d18220cb435a22ee9cba3db5","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.1.0.tgz","fileCount":16,"integrity":"sha512-7+B57icqcfcTSI4Na9knNFc4vI7GYKMKYB3bF7etpT7dVX8FmgZCHwfzRNNs/LQL2B6vjBcDn+XkxMTxU8+uSQ==","signatures":[{"sig":"MEQCIGr01vnQAkYyICKkSsIAD9aOYVJOaovzr3WXzuQXBRBuAiACiovuWz1SkAs7FdismFAJFei0RKoSvHtPm9h+vhhvFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25985},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"6418a986c8dff82344a899c6c8dba8aa4924e2a8","private":false,"scripts":{"dev":"vite dev","build":"svelte-kit sync && svelte-package","build:css":"sass src/lib/flex-business-form.scss:src/lib/flex-business-form.css --no-source-map","publish:public":"npm publish --access public"},"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"10.8.1","description":"## 动态卡片","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"^5.0.11","dayjs":"^1.11.11","tslib":"^2.4.1","svelte":"^5.0.0","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.0.0","@sveltejs/package":"^2.0.0","svelte-preprocess":"^6.0.3","@hanmotec/uniface-web":"^0.1.24","@sveltejs/adapter-auto":"^3.0.0","@hanmotec/uniface-icons":"^0.1.3","@rollup/plugin-commonjs":"^28.0.1","@hanmotec/flex-common-api":"^0.1.0","@anmed/flex-form-component":"^0.1.7","@sveltejs/vite-plugin-svelte":"^4.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.1.0_1733972172146_0.3993585450364141","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@anmed/flex-business-form","version":"0.1.1","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.1.1","maintainers":[{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"},{"name":"wangzh2024","email":"1307486168@qq.com"}],"dist":{"shasum":"d52e2472cf78315e83c9b7ce7743b8ed8cf8deda","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.1.1.tgz","fileCount":16,"integrity":"sha512-jafHiPif2JP3uV1Kck8WeNYu0dCplzSueAghDjq/UGTBFmJIutfw1pwzDbiaSyrSkM6t7fQdWu6N/gRoiDHBPQ==","signatures":[{"sig":"MEUCIQC8GAEf8+78bxrA+Wxvlhsed1XATJPRyo4XVToWCovuCAIgV+BRPPhZXSJF1bP8KFMZCVeN/r2tqayoqLcotLnLM5s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26223},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","require":"./dist/index.cjs"},"./lib/PageAction":{"types":"./dist/lib/PageAction.d.ts","import":"./dist/lib/PageAction.js"},"./flex-business-form.css":"./dist/flex-business-form.css"},"gitHead":"6418a986c8dff82344a899c6c8dba8aa4924e2a8","private":false,"scripts":{"dev":"vite dev","build":"svelte-kit sync && svelte-package","build:css":"sass src/lib/flex-business-form.scss:src/lib/flex-business-form.css --no-source-map","publish:public":"npm publish --access public"},"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"10.8.1","description":"## 动态卡片","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"^5.0.11","dayjs":"^1.11.11","tslib":"^2.4.1","svelte":"^5.0.0","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.0.0","@sveltejs/package":"^2.0.0","svelte-preprocess":"^6.0.3","@hanmotec/uniface-web":"^0.1.25","@sveltejs/adapter-auto":"^3.0.0","@hanmotec/uniface-icons":"^0.1.3","@rollup/plugin-commonjs":"^28.0.1","@hanmotec/flex-common-api":"^0.1.0","@anmed/flex-form-component":"^0.1.7","@sveltejs/vite-plugin-svelte":"^4.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.1.1_1734341926343_0.156226947318717","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@anmed/flex-business-form","version":"0.1.2","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.1.2","maintainers":[{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"},{"name":"wangzh2024","email":"1307486168@qq.com"}],"dist":{"shasum":"fdea80ffa07196c78bd8b782b57556aa51df1e1c","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.1.2.tgz","fileCount":16,"integrity":"sha512-nBGomD3Gf8afTXnUY6ckkdiyGJ3ep1U+brb0roRe++p2WpHnnDnAIco1Uc/QnV0GnkNclTlW1V2KYcv4GuQbYA==","signatures":[{"sig":"MEQCIDRhi4mY7KQ0ckKldMJOC92+Nq7EO1iYyNMHocF4k1w0AiBKe3iiBOuHWbm2HKSQaa1c3sRP6ZjLAxOtXq1ul48UZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26392},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","require":"./dist/index.cjs"},"./lib/PageAction":{"types":"./dist/lib/PageAction.d.ts","import":"./dist/lib/PageAction.js"},"./FlexBusinessForm":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./flex-business-form.css":"./dist/flex-business-form.css"},"gitHead":"a4241fb1a308a4ffac4e2d540b5495ddc04f1b77","private":false,"scripts":{"dev":"vite dev","build":"svelte-kit sync && svelte-package","package":"svelte-kit sync && svelte-package","build:css":"sass src/lib/flex-business-form.scss:src/lib/flex-business-form.css --no-source-map","publish:public":"npm publish --access public"},"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"10.8.1","description":"## 动态卡片","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"^5.0.11","dayjs":"^1.11.11","tslib":"^2.4.1","svelte":"^5.0.0","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.0.0","@sveltejs/package":"^2.0.0","svelte-preprocess":"^6.0.3","@hanmotec/uniface-web":"^0.1.28","@sveltejs/adapter-auto":"^3.0.0","@hanmotec/uniface-icons":"^0.1.3","@rollup/plugin-commonjs":"^28.0.1","@hanmotec/flex-common-api":"^0.1.0","@anmed/flex-form-component":"^0.1.9","@sveltejs/vite-plugin-svelte":"^4.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.1.2_1742270220647_0.1633128751387265","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@anmed/flex-business-form","version":"0.1.3","author":{"name":"Henry Feng"},"license":"MIT","_id":"@anmed/flex-business-form@0.1.3","maintainers":[{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"},{"name":"wangzh2024","email":"1307486168@qq.com"}],"dist":{"shasum":"5a7bce16cc2e64c4cf3a99a747dff72283a07493","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.1.3.tgz","fileCount":16,"integrity":"sha512-sCejJwO6IGYxS/GU2nL6IV+swBYeeK1bId97/9zqFkam+arA1mDg6sc7eBnWzX7d8w3zGyDuFeP734CP7I3fMw==","signatures":[{"sig":"MEUCIQDufiN0k/rD1rKlFzpJTeAuGefBBXuQPrjn9AWlk6fPLgIgCrxi+TdUNGdoLxZNJxT2EDkRD/Wv5ivjyWET/ln9YCo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26483},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","require":"./dist/index.cjs"},"./lib/PageAction":{"types":"./dist/lib/PageAction.d.ts","import":"./dist/lib/PageAction.js"},"./FlexBusinessForm":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./flex-business-form.css":"./dist/flex-business-form.css"},"gitHead":"a4241fb1a308a4ffac4e2d540b5495ddc04f1b77","private":false,"scripts":{"dev":"vite dev","build":"svelte-kit sync && svelte-package","package":"svelte-kit sync && svelte-package","build:css":"sass src/lib/flex-business-form.scss:src/lib/flex-business-form.css --no-source-map","publish:public":"npm publish --access public"},"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"_npmVersion":"10.8.1","description":"## 动态卡片","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"sass":"^1.57.1","vite":"^5.0.11","dayjs":"^1.11.11","tslib":"^2.4.1","svelte":"^5.0.0","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.0.0","@sveltejs/package":"^2.0.0","svelte-preprocess":"^6.0.3","@hanmotec/uniface-web":"^0.1.28","@sveltejs/adapter-auto":"^3.0.0","@hanmotec/uniface-icons":"^0.1.3","@rollup/plugin-commonjs":"^28.0.1","@hanmotec/flex-common-api":"^0.1.0","@anmed/flex-form-component":"^0.1.9","@sveltejs/vite-plugin-svelte":"^4.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/flex-business-form_0.1.3_1742286167792_0.07121616895330041","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@anmed/flex-business-form","version":"0.1.4","description":"## 动态卡片","type":"module","main":"index.js","types":"index.d.ts","scripts":{"dev":"vite dev","build:css":"sass src/lib/flex-business-form.scss:src/lib/flex-business-form.css --no-source-map","build":"svelte-kit sync && svelte-package","package":"svelte-kit sync && svelte-package","publish:public":"npm publish --access public"},"exports":{".":{"svelte":"./dist/index.js","import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/index.d.ts"},"./flex-business-form.css":"./dist/flex-business-form.css","./lib/PageAction":{"import":"./dist/lib/PageAction.js","types":"./dist/lib/PageAction.d.ts"},"./FlexBusinessForm":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"peerDependencies":{"svelte":"^5.0.0"},"devDependencies":{"@anmed/flex-form-component":"^0.1.9","@hanmotec/flex-common-api":"^0.1.0","@hanmotec/uniface-icons":"^0.1.3","@hanmotec/uniface-web":"^0.1.28","@rollup/plugin-commonjs":"^28.0.1","@sveltejs/adapter-auto":"^3.0.0","@sveltejs/kit":"^2.0.0","@sveltejs/package":"^2.0.0","@sveltejs/vite-plugin-svelte":"^4.0.0","dayjs":"^1.11.11","sass":"^1.57.1","svelte":"^5.0.0","svelte-check":"^4.0.0","svelte-preprocess":"^6.0.3","tslib":"^2.4.1","typescript":"^5.0.0","vite":"^5.0.11"},"author":{"name":"Henry Feng"},"license":"MIT","private":false,"_id":"@anmed/flex-business-form@0.1.4","gitHead":"a4241fb1a308a4ffac4e2d540b5495ddc04f1b77","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-0sAHUvjRxTp5i4WgqBppZc+NOkcc6ONXA1W60G4UNwnVuu9AbhjWdBYWt0MMoHfxXPkb4mIebuFswovpc7OEjA==","shasum":"9d8a69648b5144daae988a51fd51f4e6ad754a73","tarball":"https://registry.npmjs.org/@anmed/flex-business-form/-/flex-business-form-0.1.4.tgz","fileCount":16,"unpackedSize":26477,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCF6Ob/G/HehG0JQ106NtR7J1j1LgtvfoU2Pm+WjyTX+AIgNAFo8BgJ8AppQ35S8LzQ6vwjPdL3dtNHD7Y2Kef8wTE="}]},"_npmUser":{"name":"henry.feng","email":"huili.feng@outlook.com"},"directories":{},"maintainers":[{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"},{"name":"wangzh2024","email":"1307486168@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/flex-business-form_0.1.4_1742287241341_0.44268623606925495"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-18T08:39:58.490Z","modified":"2025-03-18T08:40:41.726Z","0.0.1":"2024-06-18T08:39:58.773Z","0.0.2":"2024-06-18T22:20:28.514Z","0.0.3":"2024-06-19T10:37:14.053Z","0.0.5":"2024-07-01T00:42:39.638Z","0.0.6":"2024-07-01T10:35:03.802Z","0.1.0":"2024-12-12T02:56:12.332Z","0.1.1":"2024-12-16T09:38:46.512Z","0.1.2":"2025-03-18T03:57:00.841Z","0.1.3":"2025-03-18T08:22:47.988Z","0.1.4":"2025-03-18T08:40:41.537Z"},"author":{"name":"Henry Feng"},"license":"MIT","description":"## 动态卡片","maintainers":[{"name":"xiang.feng","email":"763290622@qq.com"},{"name":"qiguiding","email":"2791023257@qq.com"},{"name":"henry.feng","email":"huili.feng@outlook.com"},{"name":"wangzh2024","email":"1307486168@qq.com"}],"readme":"# 动态表单公共库\n\n## 动态卡片\n\n### 字段定义\n\n每个字段包括以下属性\n\n| 名称    | 说明                           | 类型和默认值              |\n|-------|------------------------------|---------------------|\n| name  | 字段名称                         | 字符型                 |\n| label | 标签文字                         | 字符型                 |\n| code  | 字段编码，备用的关联对象的属性值             | 字符型                 |\n| mdmCode | 标准编码，关联的数据值，如果不存在，将使用code值关联 | 字符型                 |\n| required  | 必填                           | 布尔，默认为false         |\n| type | 类型                           | 枚举型，系统支持的各种类型       |\n| colSpan  | 跨列数                          | 整数，默认为1             |\n| visibility | 展示方式                         | 枚举，参考枚举值 Visibility |\n| readonly  | 只读                           | 布尔型，默认为false        |\n| enable | 是否可用                         | 布尔型，默认为true         |\n| onChange  | 值变化的处理函数名                    | 字符型                 |\n| attrs | 字段的其他属性                      | 字符型                 |\n\n### 布局\n\n卡片的布局，支持3中，分别为：\n* 0 - 行列布局（暂时不支持）\n* 1 - 流动布局\n* 2 - 网格布局（暂时不支持）\n\n\n### 流动布局\n\n#### 字段布局属性\n| 名称  | 说明  | 类型和默认值 |\n|-----|-----|--------|\n| -   | -   | -      |\n\n\n<b>流动布局示意<b>\n```json\n{\n  \"mode\": 1,\n  \"layouts\": [\n    {\n      \"name\": \"证件类型\",\n      \"label\": \"证件类型\",\n      \"code\": \"idCardType\",\n      \"mdmCode\": \"A00005\",\n      \"required\": true,\n      \"type\": \"OptionsSelector\",\n      \"colSpan\": 3,\n      \"visibility\": 2,\n      \"readonly\": false,\n      \"enable\": true,\n      \"onChange\": \"onCardTypeChange\",\n      \"attrs\": {\n        \"options\": \"ops-card-type\"\n      }\n    },\n    {\n      \"name\": \"证件号码\",\n      \"label\": \"证件号码\",\n      \"code\": \"idCardNo\",\n      \"mdmCode\": \"A00002\",\n      \"required\": true,\n      \"type\": \"TextEditor\",\n      \"colSpan\": 3,\n      \"visibility\": 2,\n      \"readonly\": false,\n      \"enable\": true,\n      \"onChange\": \"onCardNoChange\",\n      \"attrs\": {\n        \"options\": \"ops-card-type\"\n      }\n    },\n    {\n      \"name\": \"性别\",\n      \"label\": \"性别\",\n      \"code\": \"gender\",\n      \"mdmCode\": \"A00006\",\n      \"required\": true,\n      \"type\": \"OptionsSelector\",\n      \"colSpan\": 3,\n      \"visibility\": 2,\n      \"readonly\": false,\n      \"enable\": true,\n      \"attrs\": {\n        \"options\": [\n          {\n            \"code\": \"M\",\n            \"text\": \"男性\"\n          },\n          {\n            \"code\": \"F\",\n            \"text\": \"女性\"\n          }\n        ]\n      }\n    },\n    {\n      \"name\": \"出生日期\",\n      \"label\": \"生日\",\n      \"code\": \"dob\",\n      \"mdmCode\": \"A00008\",\n      \"required\": true,\n      \"type\": \"DateInput\",\n      \"colSpan\": 3,\n      \"visibility\": 2,\n      \"readonly\": false,\n      \"enable\": true,\n      \"attrs\": {\n        \n      }\n    },\n    {\n      \"name\": \"年龄\",\n      \"label\": \"年龄\",\n      \"code\": \"age\",\n      \"mdmCode\": \"A00007\",\n      \"required\": true,\n      \"type\": \"NumberInput\",\n      \"colSpan\": 3,\n      \"visibility\": 2,\n      \"readonly\": true,\n      \"enable\": true,\n      \"attrs\": {\n        \n      }\n    }\n  ]\n}\n```\n\n### 脚本\n\n```js\n\nconst NaIDCard = 1; // 身份证类型的编码\n\nclass PatientInfoCard extends BaseCard {\n    constructor (data, form) {\n        super(layouts, form);\n        this.data = data;\n    }\n\n    /**\n     * 当卡片类型发生变化的时候，根据类型设置生日和性别为只读或可编辑\n     * @param value\n     */\n    onCardTypeChange(value) {\n        if (value == NaIDCard) {\n            this.card['dob'].readonly = true;\n            this.card['gender'].readonly = true;\n            this.data.dob = utils.parseDobFromCardNo(this.data.cardNo);\n            this.data.gender = utils.parseGenderFromCardNo(this.data.cardNo);\n            this.data.age = utils.calculateAge(this.data.dob);\n        } else {\n            this.card['dob'].readonly = false;\n            this.card['gender'].readonly = false;\n        }\n    }\n    \n    onCardNoChange(value) {\n        if (this.card.idCardType == NaIDCard) {\n            this.data.dob = utils.parseDobFromCardNo(this.data.cardNo);\n            this.data.gender = utils.parseGenderFromCardNo(this.data.cardNo);\n            this.data.age = utils.calculateAge(this.data.dob);\n        }\n    }\n    \n    onDobChange(value) {\n        this.data.age = utils.calculateAge(this.data.dob);\n    }\n    \n    onNumOfBabiesChange(value) {\n        if (numOfBabies > this.formData.babies) {\n            for (let i = this.formData.babies.length; i<numOfBabies; i++) {\n                let newborn = {};\n                this.formData.babies.push(newborn);\n                this.newbornCards.push(new ctx.NewbornCard(newborn), this);\n            }\n        } else if (numOfBabies < this.formData.babies) {\n            this.formData.babies.splice(numOfBabies);\n            this.newbornCard.splice(numOfBabies);\n        }\n    }\n}\n\nregister('PatientInfoCard', PatientInfoCard);\n\n```\n\n## 动态表单\n\n### 表单脚本\n\n```js\n\nrequire(['PatientInfoCard', 'PatientHistoryCard', 'PatientContactCard', 'NewbornCard']);\n\nclass PatientForm extends BaseForm {\n    \n    constructor(formData) {\n        super(formData);\n        this.infoCard = new ctx.PatientInfoCard(formData.baseInfo, this);\n        this.historyCard = new ctx.PatientHistoryCard(formData.history, this);\n        this.contactInfoCard = new ctx.PatientContactCard(formData.contactInfo, this);\n        this.newbornCards = this.buildNewbornCards(formData.babies);\n    }\n    \n    getFormCards() {\n        return [\n            {\n                title: '基本信息',\n                cards: [this.infoCard, this.historyCard]\n            },\n            {\n                title: '病史',\n                cards: [this.historyCard]\n            },\n            {\n                title: '新生儿信息',\n                cards: [...this.newbornCards]\n            }\n        ]\n    }\n    \n}\n\n```\n\n## API接口\n\n## 读取动态表单脚本\n\n* URL: /flex-business-form/api/script?code=${your-form-code}&auxCode={your-aux-code}  \n* 返回数据\n\n```js\nclass PatientInfoCard extends BaseCard {\n  \n}\n\nclass PatientHistoryCard extends BaseCard {\n  \n}\n\nclass PatientContactCard extends BaseCard {\n    \n}\n\nclass NewbornCard extends BaseCard {\n    \n}\n\nclass QCStrokeForm extends BaseForm {\n    \n}\n\nreturn QCStrokeForm;\n```\n\n## 读取动态表单布局\n* URL: /flex-business-form/api/layouts?code=${your-form-code}&auxCode={your-aux-code}  \n* 返回数据\n\n```json\n{\n  \"PatientInfoCard\": \"{\\\"mode\\\":\\\"0\\\"}\",\n  \"PatientHistoryCard\": \"{\\\"mode\\\": \\\"0\\\"}\"\n}\n```\n","readmeFilename":"README.md"}