@schemx/vue 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +491 -326
  2. package/dist/analyze.html +1 -1
  3. package/dist/bridge/formBridge.d.ts +4 -4
  4. package/dist/bridge/formBridge.d.ts.map +1 -1
  5. package/dist/bridge/formInstance.d.ts +4 -3
  6. package/dist/bridge/formInstance.d.ts.map +1 -1
  7. package/dist/bridge/index.d.ts +1 -2
  8. package/dist/bridge/index.d.ts.map +1 -1
  9. package/dist/bridge/types.d.ts +4 -6
  10. package/dist/bridge/types.d.ts.map +1 -1
  11. package/dist/components/Col/index.d.ts +29 -6
  12. package/dist/components/Col/index.d.ts.map +1 -1
  13. package/dist/components/ConfigProvider/index.d.ts +32 -5
  14. package/dist/components/ConfigProvider/index.d.ts.map +1 -1
  15. package/dist/components/Dynamic/index.d.ts +19 -15
  16. package/dist/components/Dynamic/index.d.ts.map +1 -1
  17. package/dist/components/Field/index.d.ts.map +1 -1
  18. package/dist/components/Field/slot.d.ts +2 -1
  19. package/dist/components/Field/slot.d.ts.map +1 -1
  20. package/dist/components/Group/index.d.ts +23 -4
  21. package/dist/components/Group/index.d.ts.map +1 -1
  22. package/dist/components/Icon/index.d.ts +29 -0
  23. package/dist/components/Icon/index.d.ts.map +1 -0
  24. package/dist/components/Row/index.d.ts +30 -0
  25. package/dist/components/Row/index.d.ts.map +1 -0
  26. package/dist/components/SchemaList/index.d.ts +8 -8
  27. package/dist/components/SchemaList/index.d.ts.map +1 -1
  28. package/dist/config/defaultVueSchemaConfig.d.ts +25 -3
  29. package/dist/config/defaultVueSchemaConfig.d.ts.map +1 -1
  30. package/dist/config/index.d.ts +0 -4
  31. package/dist/config/index.d.ts.map +1 -1
  32. package/dist/config/vueConfig.d.ts +10 -6
  33. package/dist/config/vueConfig.d.ts.map +1 -1
  34. package/dist/context/configProviderContext.d.ts +56 -5
  35. package/dist/context/configProviderContext.d.ts.map +1 -1
  36. package/dist/context/formContext.d.ts +127 -36
  37. package/dist/context/formContext.d.ts.map +1 -1
  38. package/dist/context/index.d.ts +2 -2
  39. package/dist/context/index.d.ts.map +1 -1
  40. package/dist/form.d.ts +2 -2
  41. package/dist/form.d.ts.map +1 -1
  42. package/dist/hooks/index.d.ts +2 -4
  43. package/dist/hooks/index.d.ts.map +1 -1
  44. package/dist/hooks/useDictionary.d.ts +1 -1
  45. package/dist/hooks/useForm.d.ts +4 -16
  46. package/dist/hooks/useForm.d.ts.map +1 -1
  47. package/dist/index.cjs +1 -1
  48. package/dist/index.cjs.map +1 -1
  49. package/dist/index.d.ts +5 -5
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.mjs +554 -287
  52. package/dist/index.mjs.map +1 -1
  53. package/dist/style.css +1 -1
  54. package/dist/types/definition.d.ts +116 -21
  55. package/dist/types/definition.d.ts.map +1 -1
  56. package/dist/types/field.d.ts +4 -27
  57. package/dist/types/field.d.ts.map +1 -1
  58. package/dist/types/form.d.ts +41 -6
  59. package/dist/types/form.d.ts.map +1 -1
  60. package/dist/types/icon.d.ts +15 -0
  61. package/dist/types/icon.d.ts.map +1 -0
  62. package/dist/types/index.d.ts +2 -0
  63. package/dist/types/index.d.ts.map +1 -1
  64. package/dist/types/layout.d.ts +73 -22
  65. package/dist/types/layout.d.ts.map +1 -1
  66. package/dist/utils/index.d.ts +4 -0
  67. package/dist/utils/index.d.ts.map +1 -1
  68. package/dist/utils/layout.d.ts +17 -0
  69. package/dist/utils/layout.d.ts.map +1 -0
  70. package/dist/utils/rendererProvider.d.ts +10 -3
  71. package/dist/utils/rendererProvider.d.ts.map +1 -1
  72. package/package.json +2 -2
  73. package/dist/config/appConfig.d.ts +0 -29
  74. package/dist/config/appConfig.d.ts.map +0 -1
  75. package/dist/utils/colProvider.d.ts +0 -22
  76. package/dist/utils/colProvider.d.ts.map +0 -1
package/dist/analyze.html CHANGED
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
4929
4929
  </script>
4930
4930
  <script>
4931
4931
  /*<!--*/
4932
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.cjs","children":[{"name":"src","children":[{"name":"styles/index.css","uid":"a7708775-1"},{"name":"bridge","children":[{"uid":"a7708775-3","name":"helpers.ts"},{"uid":"a7708775-5","name":"fieldBridge.ts"},{"uid":"a7708775-7","name":"formInstance.ts"},{"uid":"a7708775-9","name":"viewSchemaBridge.ts"},{"uid":"a7708775-11","name":"formBridge.ts"}]},{"name":"context","children":[{"uid":"a7708775-13","name":"formContext.ts"},{"uid":"a7708775-15","name":"fieldContext.ts"},{"uid":"a7708775-17","name":"configProviderContext.ts"}]},{"name":"config","children":[{"uid":"a7708775-19","name":"appConfig.ts"},{"uid":"a7708775-25","name":"vueConfig.ts"},{"uid":"a7708775-27","name":"defaultVueSchemaConfig.ts"}]},{"name":"utils","children":[{"uid":"a7708775-21","name":"presetRuleProvider.ts"},{"uid":"a7708775-23","name":"rendererProvider.ts"},{"uid":"a7708775-37","name":"equal.ts"},{"uid":"a7708775-45","name":"validation.ts"},{"uid":"a7708775-47","name":"slot.ts"},{"uid":"a7708775-49","name":"helpers.ts"},{"uid":"a7708775-59","name":"colProvider.ts"}]},{"name":"hooks","children":[{"uid":"a7708775-29","name":"useForm.ts"},{"uid":"a7708775-31","name":"useField.ts"},{"uid":"a7708775-33","name":"useWatch.ts"},{"uid":"a7708775-35","name":"useDictionary.ts"},{"uid":"a7708775-39","name":"useStableRef.ts"},{"uid":"a7708775-41","name":"useViewSchemas.ts"},{"uid":"a7708775-43","name":"useFormSelector.ts"}]},{"name":"components","children":[{"name":"Field","children":[{"uid":"a7708775-51","name":"slot.tsx"},{"uid":"a7708775-53","name":"index.tsx"}]},{"name":"Button","children":[{"uid":"a7708775-55","name":"index.vue?vue&type=script&setup=true&lang.ts"},{"uid":"a7708775-57","name":"index.vue?vue&type=style&index=0&lang.css"}]},{"name":"Col/index.tsx","uid":"a7708775-61"},{"name":"Group","children":[{"uid":"a7708775-63","name":"slot.tsx"},{"uid":"a7708775-65","name":"index.tsx"}]},{"name":"Dynamic/index.tsx","uid":"a7708775-67"},{"name":"SchemaList/index.tsx","uid":"a7708775-69"},{"name":"Wrapper","children":[{"uid":"a7708775-77","name":"index.vue?vue&type=script&setup=true&lang.ts"},{"uid":"a7708775-79","name":"index.vue?vue&type=style&index=0&lang.css"}]},{"name":"ConfigProvider/index.tsx","uid":"a7708775-81"}]},{"uid":"a7708775-71","name":"form.vue?vue&type=script&setup=true&lang.ts"},{"uid":"a7708775-73","name":"form.ts"},{"name":"hocs/withRemoteOptions.ts","uid":"a7708775-75"},{"uid":"a7708775-83","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"a7708775-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"a7708775-0"},"a7708775-3":{"renderedLength":409,"gzipLength":232,"brotliLength":188,"metaUid":"a7708775-2"},"a7708775-5":{"renderedLength":1163,"gzipLength":386,"brotliLength":331,"metaUid":"a7708775-4"},"a7708775-7":{"renderedLength":1626,"gzipLength":371,"brotliLength":307,"metaUid":"a7708775-6"},"a7708775-9":{"renderedLength":1042,"gzipLength":401,"brotliLength":371,"metaUid":"a7708775-8"},"a7708775-11":{"renderedLength":4200,"gzipLength":1071,"brotliLength":946,"metaUid":"a7708775-10"},"a7708775-13":{"renderedLength":2262,"gzipLength":585,"brotliLength":485,"metaUid":"a7708775-12"},"a7708775-15":{"renderedLength":421,"gzipLength":253,"brotliLength":197,"metaUid":"a7708775-14"},"a7708775-17":{"renderedLength":775,"gzipLength":338,"brotliLength":295,"metaUid":"a7708775-16"},"a7708775-19":{"renderedLength":1348,"gzipLength":504,"brotliLength":433,"metaUid":"a7708775-18"},"a7708775-21":{"renderedLength":59,"gzipLength":64,"brotliLength":50,"metaUid":"a7708775-20"},"a7708775-23":{"renderedLength":65,"gzipLength":72,"brotliLength":52,"metaUid":"a7708775-22"},"a7708775-25":{"renderedLength":346,"gzipLength":193,"brotliLength":168,"metaUid":"a7708775-24"},"a7708775-27":{"renderedLength":636,"gzipLength":299,"brotliLength":227,"metaUid":"a7708775-26"},"a7708775-29":{"renderedLength":755,"gzipLength":322,"brotliLength":300,"metaUid":"a7708775-28"},"a7708775-31":{"renderedLength":965,"gzipLength":336,"brotliLength":296,"metaUid":"a7708775-30"},"a7708775-33":{"renderedLength":573,"gzipLength":228,"brotliLength":190,"metaUid":"a7708775-32"},"a7708775-35":{"renderedLength":4330,"gzipLength":1327,"brotliLength":1159,"metaUid":"a7708775-34"},"a7708775-37":{"renderedLength":206,"gzipLength":156,"brotliLength":122,"metaUid":"a7708775-36"},"a7708775-39":{"renderedLength":240,"gzipLength":168,"brotliLength":143,"metaUid":"a7708775-38"},"a7708775-41":{"renderedLength":320,"gzipLength":174,"brotliLength":145,"metaUid":"a7708775-40"},"a7708775-43":{"renderedLength":468,"gzipLength":261,"brotliLength":230,"metaUid":"a7708775-42"},"a7708775-45":{"renderedLength":788,"gzipLength":325,"brotliLength":267,"metaUid":"a7708775-44"},"a7708775-47":{"renderedLength":1278,"gzipLength":491,"brotliLength":404,"metaUid":"a7708775-46"},"a7708775-49":{"renderedLength":1283,"gzipLength":490,"brotliLength":419,"metaUid":"a7708775-48"},"a7708775-51":{"renderedLength":4882,"gzipLength":1680,"brotliLength":1379,"metaUid":"a7708775-50"},"a7708775-53":{"renderedLength":5623,"gzipLength":2059,"brotliLength":1684,"metaUid":"a7708775-52"},"a7708775-55":{"renderedLength":2486,"gzipLength":914,"brotliLength":795,"metaUid":"a7708775-54"},"a7708775-57":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"a7708775-56"},"a7708775-59":{"renderedLength":128,"gzipLength":105,"brotliLength":91,"metaUid":"a7708775-58"},"a7708775-61":{"renderedLength":1428,"gzipLength":711,"brotliLength":580,"metaUid":"a7708775-60"},"a7708775-63":{"renderedLength":1830,"gzipLength":779,"brotliLength":634,"metaUid":"a7708775-62"},"a7708775-65":{"renderedLength":5343,"gzipLength":1746,"brotliLength":1492,"metaUid":"a7708775-64"},"a7708775-67":{"renderedLength":2668,"gzipLength":1141,"brotliLength":931,"metaUid":"a7708775-66"},"a7708775-69":{"renderedLength":3618,"gzipLength":1285,"brotliLength":1064,"metaUid":"a7708775-68"},"a7708775-71":{"renderedLength":13258,"gzipLength":3408,"brotliLength":2923,"metaUid":"a7708775-70"},"a7708775-73":{"renderedLength":395,"gzipLength":274,"brotliLength":215,"metaUid":"a7708775-72"},"a7708775-75":{"renderedLength":1052,"gzipLength":455,"brotliLength":378,"metaUid":"a7708775-74"},"a7708775-77":{"renderedLength":1664,"gzipLength":634,"brotliLength":574,"metaUid":"a7708775-76"},"a7708775-79":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"a7708775-78"},"a7708775-81":{"renderedLength":1562,"gzipLength":650,"brotliLength":515,"metaUid":"a7708775-80"},"a7708775-83":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"a7708775-82"}},"nodeMetas":{"a7708775-0":{"id":"/src/styles/index.css","moduleParts":{"index.cjs":"a7708775-1"},"imported":[],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-70"}]},"a7708775-2":{"id":"/src/bridge/helpers.ts","moduleParts":{"index.cjs":"a7708775-3"},"imported":[{"uid":"a7708775-93"}],"importedBy":[{"uid":"a7708775-10"},{"uid":"a7708775-4"}]},"a7708775-4":{"id":"/src/bridge/fieldBridge.ts","moduleParts":{"index.cjs":"a7708775-5"},"imported":[{"uid":"a7708775-2"}],"importedBy":[{"uid":"a7708775-102"},{"uid":"a7708775-10"}]},"a7708775-6":{"id":"/src/bridge/formInstance.ts","moduleParts":{"index.cjs":"a7708775-7"},"imported":[],"importedBy":[{"uid":"a7708775-10"}]},"a7708775-8":{"id":"/src/bridge/viewSchemaBridge.ts","moduleParts":{"index.cjs":"a7708775-9"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"}],"importedBy":[{"uid":"a7708775-10"}]},"a7708775-10":{"id":"/src/bridge/formBridge.ts","moduleParts":{"index.cjs":"a7708775-11"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-92"},{"uid":"a7708775-4"},{"uid":"a7708775-6"},{"uid":"a7708775-2"},{"uid":"a7708775-8"}],"importedBy":[{"uid":"a7708775-102"}]},"a7708775-12":{"id":"/src/context/formContext.ts","moduleParts":{"index.cjs":"a7708775-13"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-102"}],"importedBy":[{"uid":"a7708775-85"},{"uid":"a7708775-30"},{"uid":"a7708775-32"},{"uid":"a7708775-34"}]},"a7708775-14":{"id":"/src/context/fieldContext.ts","moduleParts":{"index.cjs":"a7708775-15"},"imported":[{"uid":"a7708775-93"}],"importedBy":[{"uid":"a7708775-85"},{"uid":"a7708775-74"}]},"a7708775-16":{"id":"/src/context/configProviderContext.ts","moduleParts":{"index.cjs":"a7708775-17"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"}],"importedBy":[{"uid":"a7708775-85"},{"uid":"a7708775-24"}]},"a7708775-18":{"id":"/src/config/appConfig.ts","moduleParts":{"index.cjs":"a7708775-19"},"imported":[{"uid":"a7708775-93"}],"importedBy":[{"uid":"a7708775-90"},{"uid":"a7708775-24"}]},"a7708775-20":{"id":"/src/utils/presetRuleProvider.ts","moduleParts":{"index.cjs":"a7708775-21"},"imported":[{"uid":"a7708775-88"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-24"}]},"a7708775-22":{"id":"/src/utils/rendererProvider.ts","moduleParts":{"index.cjs":"a7708775-23"},"imported":[{"uid":"a7708775-92"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-24"}]},"a7708775-24":{"id":"/src/config/vueConfig.ts","moduleParts":{"index.cjs":"a7708775-25"},"imported":[{"uid":"a7708775-88"},{"uid":"a7708775-16"},{"uid":"a7708775-20"},{"uid":"a7708775-22"},{"uid":"a7708775-18"}],"importedBy":[{"uid":"a7708775-90"}]},"a7708775-26":{"id":"/src/config/defaultVueSchemaConfig.ts","moduleParts":{"index.cjs":"a7708775-27"},"imported":[],"importedBy":[{"uid":"a7708775-90"},{"uid":"a7708775-70"}]},"a7708775-28":{"id":"/src/hooks/useForm.ts","moduleParts":{"index.cjs":"a7708775-29"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-102"},{"uid":"a7708775-90"}],"importedBy":[{"uid":"a7708775-84"}]},"a7708775-30":{"id":"/src/hooks/useField.ts","moduleParts":{"index.cjs":"a7708775-31"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-12"}],"importedBy":[{"uid":"a7708775-84"}]},"a7708775-32":{"id":"/src/hooks/useWatch.ts","moduleParts":{"index.cjs":"a7708775-33"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-12"}],"importedBy":[{"uid":"a7708775-84"},{"uid":"a7708775-34"}]},"a7708775-34":{"id":"/src/hooks/useDictionary.ts","moduleParts":{"index.cjs":"a7708775-35"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-12"},{"uid":"a7708775-32"}],"importedBy":[{"uid":"a7708775-84"},{"uid":"a7708775-74"}]},"a7708775-36":{"id":"/src/utils/equal.ts","moduleParts":{"index.cjs":"a7708775-37"},"imported":[],"importedBy":[{"uid":"a7708775-38"}]},"a7708775-38":{"id":"/src/hooks/useStableRef.ts","moduleParts":{"index.cjs":"a7708775-39"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-36"}],"importedBy":[{"uid":"a7708775-84"}]},"a7708775-40":{"id":"/src/hooks/useViewSchemas.ts","moduleParts":{"index.cjs":"a7708775-41"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-102"}],"importedBy":[{"uid":"a7708775-84"},{"uid":"a7708775-52"}]},"a7708775-42":{"id":"/src/hooks/useFormSelector.ts","moduleParts":{"index.cjs":"a7708775-43"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-102"}],"importedBy":[{"uid":"a7708775-84"}]},"a7708775-44":{"id":"/src/utils/validation.ts","moduleParts":{"index.cjs":"a7708775-45"},"imported":[],"importedBy":[{"uid":"a7708775-95"}]},"a7708775-46":{"id":"/src/utils/slot.ts","moduleParts":{"index.cjs":"a7708775-47"},"imported":[],"importedBy":[{"uid":"a7708775-95"}]},"a7708775-48":{"id":"/src/utils/helpers.ts","moduleParts":{"index.cjs":"a7708775-49"},"imported":[{"uid":"a7708775-88"}],"importedBy":[{"uid":"a7708775-95"},{"uid":"a7708775-70"}]},"a7708775-50":{"id":"/src/components/Field/slot.tsx","moduleParts":{"index.cjs":"a7708775-51"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-95"}],"importedBy":[{"uid":"a7708775-52"}]},"a7708775-52":{"id":"/src/components/Field/index.tsx","moduleParts":{"index.cjs":"a7708775-53"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-94"},{"uid":"a7708775-85"},{"uid":"a7708775-84"},{"uid":"a7708775-40"},{"uid":"a7708775-95"},{"uid":"a7708775-50"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-72"},{"uid":"a7708775-64"},{"uid":"a7708775-68"},{"uid":"a7708775-66"}]},"a7708775-54":{"id":"/src/components/Button/index.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"a7708775-55"},"imported":[{"uid":"a7708775-93"}],"importedBy":[{"uid":"a7708775-108"}]},"a7708775-56":{"id":"/src/components/Button/index.vue?vue&type=style&index=0&lang.css","moduleParts":{"index.cjs":"a7708775-57"},"imported":[],"importedBy":[{"uid":"a7708775-108"}]},"a7708775-58":{"id":"/src/utils/colProvider.ts","moduleParts":{"index.cjs":"a7708775-59"},"imported":[{"uid":"a7708775-93"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-60"},{"uid":"a7708775-70"}]},"a7708775-60":{"id":"/src/components/Col/index.tsx","moduleParts":{"index.cjs":"a7708775-61"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-58"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-68"}]},"a7708775-62":{"id":"/src/components/Group/slot.tsx","moduleParts":{"index.cjs":"a7708775-63"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-94"},{"uid":"a7708775-95"}],"importedBy":[{"uid":"a7708775-64"}]},"a7708775-64":{"id":"/src/components/Group/index.tsx","moduleParts":{"index.cjs":"a7708775-65"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-94"},{"uid":"a7708775-95"},{"uid":"a7708775-52"},{"uid":"a7708775-62"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-68"},{"uid":"a7708775-66"}]},"a7708775-66":{"id":"/src/components/Dynamic/index.tsx","moduleParts":{"index.cjs":"a7708775-67"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-95"},{"uid":"a7708775-52"},{"uid":"a7708775-64"}],"importedBy":[{"uid":"a7708775-68"}]},"a7708775-68":{"id":"/src/components/SchemaList/index.tsx","moduleParts":{"index.cjs":"a7708775-69"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-95"},{"uid":"a7708775-60"},{"uid":"a7708775-66"},{"uid":"a7708775-52"},{"uid":"a7708775-64"}],"importedBy":[{"uid":"a7708775-70"}]},"a7708775-70":{"id":"/src/form.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"a7708775-71"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-88"},{"uid":"a7708775-105"},{"uid":"a7708775-107"},{"uid":"a7708775-68"},{"uid":"a7708775-90"},{"uid":"a7708775-26"},{"uid":"a7708775-85"},{"uid":"a7708775-84"},{"uid":"a7708775-58"},{"uid":"a7708775-48"},{"uid":"a7708775-0"}],"importedBy":[{"uid":"a7708775-101"}]},"a7708775-72":{"id":"/src/form.ts","moduleParts":{"index.cjs":"a7708775-73"},"imported":[{"uid":"a7708775-52"},{"uid":"a7708775-90"},{"uid":"a7708775-91"}],"importedBy":[{"uid":"a7708775-82"}]},"a7708775-74":{"id":"/src/hocs/withRemoteOptions.ts","moduleParts":{"index.cjs":"a7708775-75"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-14"},{"uid":"a7708775-34"}],"importedBy":[{"uid":"a7708775-86"}]},"a7708775-76":{"id":"/src/components/Wrapper/index.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"a7708775-77"},"imported":[{"uid":"a7708775-93"}],"importedBy":[{"uid":"a7708775-87"}]},"a7708775-78":{"id":"/src/components/Wrapper/index.vue?vue&type=style&index=0&lang.css","moduleParts":{"index.cjs":"a7708775-79"},"imported":[],"importedBy":[{"uid":"a7708775-87"}]},"a7708775-80":{"id":"/src/components/ConfigProvider/index.tsx","moduleParts":{"index.cjs":"a7708775-81"},"imported":[{"uid":"a7708775-93"},{"uid":"a7708775-85"}],"importedBy":[{"uid":"a7708775-82"}]},"a7708775-82":{"id":"/src/index.ts","moduleParts":{"index.cjs":"a7708775-83"},"imported":[{"uid":"a7708775-0"},{"uid":"a7708775-72"},{"uid":"a7708775-22"},{"uid":"a7708775-58"},{"uid":"a7708775-20"},{"uid":"a7708775-84"},{"uid":"a7708775-85"},{"uid":"a7708775-86"},{"uid":"a7708775-52"},{"uid":"a7708775-64"},{"uid":"a7708775-60"},{"uid":"a7708775-87"},{"uid":"a7708775-80"},{"uid":"a7708775-88"},{"uid":"a7708775-89"}],"importedBy":[],"isEntry":true},"a7708775-84":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-28"},{"uid":"a7708775-30"},{"uid":"a7708775-32"},{"uid":"a7708775-34"},{"uid":"a7708775-38"},{"uid":"a7708775-40"},{"uid":"a7708775-42"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-52"},{"uid":"a7708775-70"}]},"a7708775-85":{"id":"/src/context/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-12"},{"uid":"a7708775-14"},{"uid":"a7708775-16"}],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-52"},{"uid":"a7708775-80"},{"uid":"a7708775-70"}]},"a7708775-86":{"id":"/src/hocs/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-74"}],"importedBy":[{"uid":"a7708775-82"}]},"a7708775-87":{"id":"/src/components/Wrapper/index.vue","moduleParts":{},"imported":[{"uid":"a7708775-76"},{"uid":"a7708775-78"}],"importedBy":[{"uid":"a7708775-82"}]},"a7708775-88":{"id":"@schemx/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-82"},{"uid":"a7708775-20"},{"uid":"a7708775-52"},{"uid":"a7708775-64"},{"uid":"a7708775-28"},{"uid":"a7708775-30"},{"uid":"a7708775-32"},{"uid":"a7708775-16"},{"uid":"a7708775-24"},{"uid":"a7708775-48"},{"uid":"a7708775-70"},{"uid":"a7708775-68"},{"uid":"a7708775-8"},{"uid":"a7708775-66"}],"isExternal":true},"a7708775-89":{"id":"/src/types/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-96"},{"uid":"a7708775-97"},{"uid":"a7708775-98"},{"uid":"a7708775-99"},{"uid":"a7708775-100"}],"importedBy":[{"uid":"a7708775-82"}]},"a7708775-90":{"id":"/src/config/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-18"},{"uid":"a7708775-24"},{"uid":"a7708775-26"}],"importedBy":[{"uid":"a7708775-72"},{"uid":"a7708775-28"},{"uid":"a7708775-70"}]},"a7708775-91":{"id":"/src/formRuntime.js","moduleParts":{},"imported":[{"uid":"a7708775-101"}],"importedBy":[{"uid":"a7708775-72"}]},"a7708775-92":{"id":"@schemx/core/adapter","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-22"},{"uid":"a7708775-10"}],"isExternal":true},"a7708775-93":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-58"},{"uid":"a7708775-52"},{"uid":"a7708775-64"},{"uid":"a7708775-60"},{"uid":"a7708775-80"},{"uid":"a7708775-28"},{"uid":"a7708775-30"},{"uid":"a7708775-32"},{"uid":"a7708775-34"},{"uid":"a7708775-38"},{"uid":"a7708775-40"},{"uid":"a7708775-42"},{"uid":"a7708775-12"},{"uid":"a7708775-14"},{"uid":"a7708775-16"},{"uid":"a7708775-74"},{"uid":"a7708775-50"},{"uid":"a7708775-62"},{"uid":"a7708775-76"},{"uid":"a7708775-18"},{"uid":"a7708775-70"},{"uid":"a7708775-10"},{"uid":"a7708775-68"},{"uid":"a7708775-2"},{"uid":"a7708775-8"},{"uid":"a7708775-66"},{"uid":"a7708775-54"}],"isExternal":true},"a7708775-94":{"id":"classnames","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-52"},{"uid":"a7708775-64"},{"uid":"a7708775-62"}],"isExternal":true},"a7708775-95":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-103"},{"uid":"a7708775-44"},{"uid":"a7708775-46"},{"uid":"a7708775-48"},{"uid":"a7708775-104"}],"importedBy":[{"uid":"a7708775-52"},{"uid":"a7708775-64"},{"uid":"a7708775-50"},{"uid":"a7708775-62"},{"uid":"a7708775-68"},{"uid":"a7708775-66"}]},"a7708775-96":{"id":"/src/types/definition.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-89"}]},"a7708775-97":{"id":"/src/types/dictionary.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-89"}]},"a7708775-98":{"id":"/src/types/form.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-89"}]},"a7708775-99":{"id":"/src/types/field.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-89"}]},"a7708775-100":{"id":"/src/types/layout.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-89"}]},"a7708775-101":{"id":"/src/form.vue","moduleParts":{},"imported":[{"uid":"a7708775-70"}],"importedBy":[{"uid":"a7708775-91"}]},"a7708775-102":{"id":"/src/bridge/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-10"},{"uid":"a7708775-4"}],"importedBy":[{"uid":"a7708775-28"},{"uid":"a7708775-40"},{"uid":"a7708775-42"},{"uid":"a7708775-12"}]},"a7708775-103":{"id":"/src/utils/dynamic.ts","moduleParts":{},"imported":[{"uid":"a7708775-105"}],"importedBy":[{"uid":"a7708775-95"}]},"a7708775-104":{"id":"/src/utils/diff.ts","moduleParts":{},"imported":[{"uid":"a7708775-106"}],"importedBy":[{"uid":"a7708775-95"}]},"a7708775-105":{"id":"es-toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-103"},{"uid":"a7708775-70"}],"isExternal":true},"a7708775-106":{"id":"es-toolkit/compat","moduleParts":{},"imported":[],"importedBy":[{"uid":"a7708775-104"}],"isExternal":true},"a7708775-107":{"id":"/src/components/Button/index.ts","moduleParts":{},"imported":[{"uid":"a7708775-108"}],"importedBy":[{"uid":"a7708775-70"}]},"a7708775-108":{"id":"/src/components/Button/index.vue","moduleParts":{},"imported":[{"uid":"a7708775-54"},{"uid":"a7708775-56"}],"importedBy":[{"uid":"a7708775-107"}]}},"env":{"rollup":"4.14.3"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4932
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.cjs","children":[{"name":"src","children":[{"name":"styles/index.css","uid":"342a96e8-1"},{"name":"bridge","children":[{"uid":"342a96e8-3","name":"helpers.ts"},{"uid":"342a96e8-5","name":"fieldBridge.ts"},{"uid":"342a96e8-7","name":"formInstance.ts"},{"uid":"342a96e8-9","name":"viewSchemaBridge.ts"},{"uid":"342a96e8-11","name":"formBridge.ts"}]},{"name":"context","children":[{"uid":"342a96e8-13","name":"formContext.ts"},{"uid":"342a96e8-15","name":"fieldContext.ts"},{"uid":"342a96e8-17","name":"configProviderContext.ts"}]},{"name":"utils","children":[{"uid":"342a96e8-19","name":"presetRuleProvider.ts"},{"uid":"342a96e8-21","name":"rendererProvider.ts"},{"uid":"342a96e8-35","name":"equal.ts"},{"uid":"342a96e8-43","name":"validation.ts"},{"uid":"342a96e8-45","name":"slot.ts"},{"uid":"342a96e8-47","name":"helpers.ts"},{"uid":"342a96e8-49","name":"layout.ts"}]},{"name":"config","children":[{"uid":"342a96e8-23","name":"vueConfig.ts"},{"uid":"342a96e8-25","name":"defaultVueSchemaConfig.ts"}]},{"name":"hooks","children":[{"uid":"342a96e8-27","name":"useForm.ts"},{"uid":"342a96e8-29","name":"useField.ts"},{"uid":"342a96e8-31","name":"useWatch.ts"},{"uid":"342a96e8-33","name":"useDictionary.ts"},{"uid":"342a96e8-37","name":"useStableRef.ts"},{"uid":"342a96e8-39","name":"useViewSchemas.ts"},{"uid":"342a96e8-41","name":"useFormSelector.ts"}]},{"name":"components","children":[{"name":"Col/index.tsx","uid":"342a96e8-51"},{"name":"Icon/index.tsx","uid":"342a96e8-53"},{"name":"Field","children":[{"uid":"342a96e8-55","name":"slot.tsx"},{"uid":"342a96e8-57","name":"index.tsx"}]},{"name":"Button","children":[{"uid":"342a96e8-59","name":"index.vue?vue&type=script&setup=true&lang.ts"},{"uid":"342a96e8-61","name":"index.vue?vue&type=style&index=0&lang.css"}]},{"name":"Dynamic/index.tsx","uid":"342a96e8-63"},{"name":"Group","children":[{"uid":"342a96e8-65","name":"slot.tsx"},{"uid":"342a96e8-67","name":"index.tsx"}]},{"name":"Row/index.tsx","uid":"342a96e8-69"},{"name":"SchemaList","children":[{"uid":"342a96e8-71","name":"index.css"},{"uid":"342a96e8-73","name":"index.tsx"}]},{"name":"Wrapper","children":[{"uid":"342a96e8-81","name":"index.vue?vue&type=script&setup=true&lang.ts"},{"uid":"342a96e8-83","name":"index.vue?vue&type=style&index=0&lang.css"}]},{"name":"ConfigProvider/index.tsx","uid":"342a96e8-85"}]},{"uid":"342a96e8-75","name":"form.vue?vue&type=script&setup=true&lang.ts"},{"uid":"342a96e8-77","name":"form.ts"},{"name":"hocs/withRemoteOptions.ts","uid":"342a96e8-79"},{"uid":"342a96e8-87","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"342a96e8-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"342a96e8-0"},"342a96e8-3":{"renderedLength":409,"gzipLength":232,"brotliLength":188,"metaUid":"342a96e8-2"},"342a96e8-5":{"renderedLength":1163,"gzipLength":386,"brotliLength":331,"metaUid":"342a96e8-4"},"342a96e8-7":{"renderedLength":1626,"gzipLength":371,"brotliLength":307,"metaUid":"342a96e8-6"},"342a96e8-9":{"renderedLength":1042,"gzipLength":401,"brotliLength":371,"metaUid":"342a96e8-8"},"342a96e8-11":{"renderedLength":4200,"gzipLength":1071,"brotliLength":946,"metaUid":"342a96e8-10"},"342a96e8-13":{"renderedLength":2185,"gzipLength":562,"brotliLength":471,"metaUid":"342a96e8-12"},"342a96e8-15":{"renderedLength":421,"gzipLength":253,"brotliLength":197,"metaUid":"342a96e8-14"},"342a96e8-17":{"renderedLength":1974,"gzipLength":632,"brotliLength":575,"metaUid":"342a96e8-16"},"342a96e8-19":{"renderedLength":59,"gzipLength":64,"brotliLength":50,"metaUid":"342a96e8-18"},"342a96e8-21":{"renderedLength":65,"gzipLength":72,"brotliLength":52,"metaUid":"342a96e8-20"},"342a96e8-23":{"renderedLength":381,"gzipLength":200,"brotliLength":165,"metaUid":"342a96e8-22"},"342a96e8-25":{"renderedLength":1040,"gzipLength":495,"brotliLength":377,"metaUid":"342a96e8-24"},"342a96e8-27":{"renderedLength":771,"gzipLength":331,"brotliLength":290,"metaUid":"342a96e8-26"},"342a96e8-29":{"renderedLength":965,"gzipLength":336,"brotliLength":296,"metaUid":"342a96e8-28"},"342a96e8-31":{"renderedLength":573,"gzipLength":228,"brotliLength":190,"metaUid":"342a96e8-30"},"342a96e8-33":{"renderedLength":4330,"gzipLength":1327,"brotliLength":1159,"metaUid":"342a96e8-32"},"342a96e8-35":{"renderedLength":206,"gzipLength":156,"brotliLength":122,"metaUid":"342a96e8-34"},"342a96e8-37":{"renderedLength":240,"gzipLength":168,"brotliLength":143,"metaUid":"342a96e8-36"},"342a96e8-39":{"renderedLength":320,"gzipLength":174,"brotliLength":145,"metaUid":"342a96e8-38"},"342a96e8-41":{"renderedLength":468,"gzipLength":261,"brotliLength":230,"metaUid":"342a96e8-40"},"342a96e8-43":{"renderedLength":788,"gzipLength":325,"brotliLength":267,"metaUid":"342a96e8-42"},"342a96e8-45":{"renderedLength":1278,"gzipLength":491,"brotliLength":404,"metaUid":"342a96e8-44"},"342a96e8-47":{"renderedLength":1283,"gzipLength":490,"brotliLength":419,"metaUid":"342a96e8-46"},"342a96e8-49":{"renderedLength":333,"gzipLength":178,"brotliLength":149,"metaUid":"342a96e8-48"},"342a96e8-51":{"renderedLength":2765,"gzipLength":1173,"brotliLength":976,"metaUid":"342a96e8-50"},"342a96e8-53":{"renderedLength":1167,"gzipLength":633,"brotliLength":505,"metaUid":"342a96e8-52"},"342a96e8-55":{"renderedLength":5520,"gzipLength":1957,"brotliLength":1634,"metaUid":"342a96e8-54"},"342a96e8-57":{"renderedLength":5726,"gzipLength":2209,"brotliLength":1807,"metaUid":"342a96e8-56"},"342a96e8-59":{"renderedLength":2486,"gzipLength":914,"brotliLength":795,"metaUid":"342a96e8-58"},"342a96e8-61":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"342a96e8-60"},"342a96e8-63":{"renderedLength":1779,"gzipLength":877,"brotliLength":709,"metaUid":"342a96e8-62"},"342a96e8-65":{"renderedLength":1830,"gzipLength":779,"brotliLength":634,"metaUid":"342a96e8-64"},"342a96e8-67":{"renderedLength":6309,"gzipLength":2065,"brotliLength":1751,"metaUid":"342a96e8-66"},"342a96e8-69":{"renderedLength":2960,"gzipLength":1219,"brotliLength":995,"metaUid":"342a96e8-68"},"342a96e8-71":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"342a96e8-70"},"342a96e8-73":{"renderedLength":3085,"gzipLength":1159,"brotliLength":958,"metaUid":"342a96e8-72"},"342a96e8-75":{"renderedLength":14448,"gzipLength":3603,"brotliLength":3093,"metaUid":"342a96e8-74"},"342a96e8-77":{"renderedLength":395,"gzipLength":274,"brotliLength":215,"metaUid":"342a96e8-76"},"342a96e8-79":{"renderedLength":1052,"gzipLength":455,"brotliLength":378,"metaUid":"342a96e8-78"},"342a96e8-81":{"renderedLength":1664,"gzipLength":634,"brotliLength":574,"metaUid":"342a96e8-80"},"342a96e8-83":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"342a96e8-82"},"342a96e8-85":{"renderedLength":2208,"gzipLength":821,"brotliLength":669,"metaUid":"342a96e8-84"},"342a96e8-87":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"342a96e8-86"}},"nodeMetas":{"342a96e8-0":{"id":"/src/styles/index.css","moduleParts":{"index.cjs":"342a96e8-1"},"imported":[],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-74"}]},"342a96e8-2":{"id":"/src/bridge/helpers.ts","moduleParts":{"index.cjs":"342a96e8-3"},"imported":[{"uid":"342a96e8-97"}],"importedBy":[{"uid":"342a96e8-10"},{"uid":"342a96e8-4"}]},"342a96e8-4":{"id":"/src/bridge/fieldBridge.ts","moduleParts":{"index.cjs":"342a96e8-5"},"imported":[{"uid":"342a96e8-2"}],"importedBy":[{"uid":"342a96e8-106"},{"uid":"342a96e8-10"}]},"342a96e8-6":{"id":"/src/bridge/formInstance.ts","moduleParts":{"index.cjs":"342a96e8-7"},"imported":[],"importedBy":[{"uid":"342a96e8-10"}]},"342a96e8-8":{"id":"/src/bridge/viewSchemaBridge.ts","moduleParts":{"index.cjs":"342a96e8-9"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"}],"importedBy":[{"uid":"342a96e8-10"}]},"342a96e8-10":{"id":"/src/bridge/formBridge.ts","moduleParts":{"index.cjs":"342a96e8-11"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-96"},{"uid":"342a96e8-4"},{"uid":"342a96e8-6"},{"uid":"342a96e8-2"},{"uid":"342a96e8-8"}],"importedBy":[{"uid":"342a96e8-106"}]},"342a96e8-12":{"id":"/src/context/formContext.ts","moduleParts":{"index.cjs":"342a96e8-13"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-106"}],"importedBy":[{"uid":"342a96e8-90"},{"uid":"342a96e8-50"},{"uid":"342a96e8-68"},{"uid":"342a96e8-28"},{"uid":"342a96e8-30"},{"uid":"342a96e8-32"}]},"342a96e8-14":{"id":"/src/context/fieldContext.ts","moduleParts":{"index.cjs":"342a96e8-15"},"imported":[{"uid":"342a96e8-97"}],"importedBy":[{"uid":"342a96e8-90"},{"uid":"342a96e8-78"}]},"342a96e8-16":{"id":"/src/context/configProviderContext.ts","moduleParts":{"index.cjs":"342a96e8-17"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"}],"importedBy":[{"uid":"342a96e8-76"},{"uid":"342a96e8-90"},{"uid":"342a96e8-22"}]},"342a96e8-18":{"id":"/src/utils/presetRuleProvider.ts","moduleParts":{"index.cjs":"342a96e8-19"},"imported":[{"uid":"342a96e8-93"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-22"}]},"342a96e8-20":{"id":"/src/utils/rendererProvider.ts","moduleParts":{"index.cjs":"342a96e8-21"},"imported":[{"uid":"342a96e8-96"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-22"}]},"342a96e8-22":{"id":"/src/config/vueConfig.ts","moduleParts":{"index.cjs":"342a96e8-23"},"imported":[{"uid":"342a96e8-93"},{"uid":"342a96e8-16"},{"uid":"342a96e8-18"},{"uid":"342a96e8-20"}],"importedBy":[{"uid":"342a96e8-107"}]},"342a96e8-24":{"id":"/src/config/defaultVueSchemaConfig.ts","moduleParts":{"index.cjs":"342a96e8-25"},"imported":[],"importedBy":[{"uid":"342a96e8-107"},{"uid":"342a96e8-74"}]},"342a96e8-26":{"id":"/src/hooks/useForm.ts","moduleParts":{"index.cjs":"342a96e8-27"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"},{"uid":"342a96e8-106"},{"uid":"342a96e8-107"}],"importedBy":[{"uid":"342a96e8-89"}]},"342a96e8-28":{"id":"/src/hooks/useField.ts","moduleParts":{"index.cjs":"342a96e8-29"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"},{"uid":"342a96e8-12"}],"importedBy":[{"uid":"342a96e8-89"}]},"342a96e8-30":{"id":"/src/hooks/useWatch.ts","moduleParts":{"index.cjs":"342a96e8-31"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"},{"uid":"342a96e8-12"}],"importedBy":[{"uid":"342a96e8-89"},{"uid":"342a96e8-32"}]},"342a96e8-32":{"id":"/src/hooks/useDictionary.ts","moduleParts":{"index.cjs":"342a96e8-33"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-12"},{"uid":"342a96e8-30"}],"importedBy":[{"uid":"342a96e8-89"},{"uid":"342a96e8-78"}]},"342a96e8-34":{"id":"/src/utils/equal.ts","moduleParts":{"index.cjs":"342a96e8-35"},"imported":[],"importedBy":[{"uid":"342a96e8-36"}]},"342a96e8-36":{"id":"/src/hooks/useStableRef.ts","moduleParts":{"index.cjs":"342a96e8-37"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-34"}],"importedBy":[{"uid":"342a96e8-89"}]},"342a96e8-38":{"id":"/src/hooks/useViewSchemas.ts","moduleParts":{"index.cjs":"342a96e8-39"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-106"}],"importedBy":[{"uid":"342a96e8-89"},{"uid":"342a96e8-56"}]},"342a96e8-40":{"id":"/src/hooks/useFormSelector.ts","moduleParts":{"index.cjs":"342a96e8-41"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-106"}],"importedBy":[{"uid":"342a96e8-89"}]},"342a96e8-42":{"id":"/src/utils/validation.ts","moduleParts":{"index.cjs":"342a96e8-43"},"imported":[],"importedBy":[{"uid":"342a96e8-99"}]},"342a96e8-44":{"id":"/src/utils/slot.ts","moduleParts":{"index.cjs":"342a96e8-45"},"imported":[],"importedBy":[{"uid":"342a96e8-99"}]},"342a96e8-46":{"id":"/src/utils/helpers.ts","moduleParts":{"index.cjs":"342a96e8-47"},"imported":[{"uid":"342a96e8-93"}],"importedBy":[{"uid":"342a96e8-99"},{"uid":"342a96e8-74"}]},"342a96e8-48":{"id":"/src/utils/layout.ts","moduleParts":{"index.cjs":"342a96e8-49"},"imported":[],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-68"},{"uid":"342a96e8-99"}]},"342a96e8-50":{"id":"/src/components/Col/index.tsx","moduleParts":{"index.cjs":"342a96e8-51"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-12"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-56"},{"uid":"342a96e8-66"},{"uid":"342a96e8-62"}]},"342a96e8-52":{"id":"/src/components/Icon/index.tsx","moduleParts":{"index.cjs":"342a96e8-53"},"imported":[{"uid":"342a96e8-97"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-54"}]},"342a96e8-54":{"id":"/src/components/Field/slot.tsx","moduleParts":{"index.cjs":"342a96e8-55"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-98"},{"uid":"342a96e8-99"},{"uid":"342a96e8-52"}],"importedBy":[{"uid":"342a96e8-56"}]},"342a96e8-56":{"id":"/src/components/Field/index.tsx","moduleParts":{"index.cjs":"342a96e8-57"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"},{"uid":"342a96e8-98"},{"uid":"342a96e8-90"},{"uid":"342a96e8-89"},{"uid":"342a96e8-38"},{"uid":"342a96e8-99"},{"uid":"342a96e8-50"},{"uid":"342a96e8-54"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-76"},{"uid":"342a96e8-66"},{"uid":"342a96e8-72"}]},"342a96e8-58":{"id":"/src/components/Button/index.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"342a96e8-59"},"imported":[{"uid":"342a96e8-97"}],"importedBy":[{"uid":"342a96e8-113"}]},"342a96e8-60":{"id":"/src/components/Button/index.vue?vue&type=style&index=0&lang.css","moduleParts":{"index.cjs":"342a96e8-61"},"imported":[],"importedBy":[{"uid":"342a96e8-113"}]},"342a96e8-62":{"id":"/src/components/Dynamic/index.tsx","moduleParts":{"index.cjs":"342a96e8-63"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-50"}],"importedBy":[{"uid":"342a96e8-72"}]},"342a96e8-64":{"id":"/src/components/Group/slot.tsx","moduleParts":{"index.cjs":"342a96e8-65"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-98"},{"uid":"342a96e8-99"}],"importedBy":[{"uid":"342a96e8-66"}]},"342a96e8-66":{"id":"/src/components/Group/index.tsx","moduleParts":{"index.cjs":"342a96e8-67"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"},{"uid":"342a96e8-98"},{"uid":"342a96e8-99"},{"uid":"342a96e8-50"},{"uid":"342a96e8-56"},{"uid":"342a96e8-64"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-72"}]},"342a96e8-68":{"id":"/src/components/Row/index.tsx","moduleParts":{"index.cjs":"342a96e8-69"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-12"},{"uid":"342a96e8-48"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-72"}]},"342a96e8-70":{"id":"/src/components/SchemaList/index.css","moduleParts":{"index.cjs":"342a96e8-71"},"imported":[],"importedBy":[{"uid":"342a96e8-72"}]},"342a96e8-72":{"id":"/src/components/SchemaList/index.tsx","moduleParts":{"index.cjs":"342a96e8-73"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"},{"uid":"342a96e8-99"},{"uid":"342a96e8-62"},{"uid":"342a96e8-56"},{"uid":"342a96e8-66"},{"uid":"342a96e8-68"},{"uid":"342a96e8-70"}],"importedBy":[{"uid":"342a96e8-74"}]},"342a96e8-74":{"id":"/src/form.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"342a96e8-75"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-93"},{"uid":"342a96e8-110"},{"uid":"342a96e8-112"},{"uid":"342a96e8-72"},{"uid":"342a96e8-24"},{"uid":"342a96e8-90"},{"uid":"342a96e8-89"},{"uid":"342a96e8-46"},{"uid":"342a96e8-0"}],"importedBy":[{"uid":"342a96e8-105"}]},"342a96e8-76":{"id":"/src/form.ts","moduleParts":{"index.cjs":"342a96e8-77"},"imported":[{"uid":"342a96e8-56"},{"uid":"342a96e8-16"},{"uid":"342a96e8-95"}],"importedBy":[{"uid":"342a96e8-86"}]},"342a96e8-78":{"id":"/src/hocs/withRemoteOptions.ts","moduleParts":{"index.cjs":"342a96e8-79"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-14"},{"uid":"342a96e8-32"}],"importedBy":[{"uid":"342a96e8-91"}]},"342a96e8-80":{"id":"/src/components/Wrapper/index.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"342a96e8-81"},"imported":[{"uid":"342a96e8-97"}],"importedBy":[{"uid":"342a96e8-92"}]},"342a96e8-82":{"id":"/src/components/Wrapper/index.vue?vue&type=style&index=0&lang.css","moduleParts":{"index.cjs":"342a96e8-83"},"imported":[],"importedBy":[{"uid":"342a96e8-92"}]},"342a96e8-84":{"id":"/src/components/ConfigProvider/index.tsx","moduleParts":{"index.cjs":"342a96e8-85"},"imported":[{"uid":"342a96e8-97"},{"uid":"342a96e8-90"}],"importedBy":[{"uid":"342a96e8-86"}]},"342a96e8-86":{"id":"/src/index.ts","moduleParts":{"index.cjs":"342a96e8-87"},"imported":[{"uid":"342a96e8-0"},{"uid":"342a96e8-88"},{"uid":"342a96e8-76"},{"uid":"342a96e8-20"},{"uid":"342a96e8-48"},{"uid":"342a96e8-18"},{"uid":"342a96e8-89"},{"uid":"342a96e8-90"},{"uid":"342a96e8-91"},{"uid":"342a96e8-56"},{"uid":"342a96e8-66"},{"uid":"342a96e8-50"},{"uid":"342a96e8-68"},{"uid":"342a96e8-52"},{"uid":"342a96e8-92"},{"uid":"342a96e8-84"},{"uid":"342a96e8-93"},{"uid":"342a96e8-94"}],"importedBy":[],"isEntry":true},"342a96e8-88":{"id":"/src/types/definition.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-94"}]},"342a96e8-89":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-26"},{"uid":"342a96e8-28"},{"uid":"342a96e8-30"},{"uid":"342a96e8-32"},{"uid":"342a96e8-36"},{"uid":"342a96e8-38"},{"uid":"342a96e8-40"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-56"},{"uid":"342a96e8-74"}]},"342a96e8-90":{"id":"/src/context/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-12"},{"uid":"342a96e8-14"},{"uid":"342a96e8-16"}],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-56"},{"uid":"342a96e8-84"},{"uid":"342a96e8-74"}]},"342a96e8-91":{"id":"/src/hocs/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-78"}],"importedBy":[{"uid":"342a96e8-86"}]},"342a96e8-92":{"id":"/src/components/Wrapper/index.vue","moduleParts":{},"imported":[{"uid":"342a96e8-80"},{"uid":"342a96e8-82"}],"importedBy":[{"uid":"342a96e8-86"}]},"342a96e8-93":{"id":"@schemx/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-86"},{"uid":"342a96e8-18"},{"uid":"342a96e8-56"},{"uid":"342a96e8-66"},{"uid":"342a96e8-16"},{"uid":"342a96e8-26"},{"uid":"342a96e8-28"},{"uid":"342a96e8-30"},{"uid":"342a96e8-46"},{"uid":"342a96e8-74"},{"uid":"342a96e8-22"},{"uid":"342a96e8-72"},{"uid":"342a96e8-8"}],"isExternal":true},"342a96e8-94":{"id":"/src/types/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-88"},{"uid":"342a96e8-100"},{"uid":"342a96e8-101"},{"uid":"342a96e8-102"},{"uid":"342a96e8-103"},{"uid":"342a96e8-104"}],"importedBy":[{"uid":"342a96e8-86"}]},"342a96e8-95":{"id":"/src/formRuntime.js","moduleParts":{},"imported":[{"uid":"342a96e8-105"}],"importedBy":[{"uid":"342a96e8-76"}]},"342a96e8-96":{"id":"@schemx/core/adapter","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-20"},{"uid":"342a96e8-10"}],"isExternal":true},"342a96e8-97":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-56"},{"uid":"342a96e8-66"},{"uid":"342a96e8-50"},{"uid":"342a96e8-68"},{"uid":"342a96e8-52"},{"uid":"342a96e8-84"},{"uid":"342a96e8-16"},{"uid":"342a96e8-26"},{"uid":"342a96e8-28"},{"uid":"342a96e8-30"},{"uid":"342a96e8-32"},{"uid":"342a96e8-36"},{"uid":"342a96e8-38"},{"uid":"342a96e8-40"},{"uid":"342a96e8-12"},{"uid":"342a96e8-14"},{"uid":"342a96e8-78"},{"uid":"342a96e8-54"},{"uid":"342a96e8-64"},{"uid":"342a96e8-80"},{"uid":"342a96e8-74"},{"uid":"342a96e8-10"},{"uid":"342a96e8-72"},{"uid":"342a96e8-2"},{"uid":"342a96e8-8"},{"uid":"342a96e8-62"},{"uid":"342a96e8-58"}],"isExternal":true},"342a96e8-98":{"id":"classnames","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-56"},{"uid":"342a96e8-66"},{"uid":"342a96e8-54"},{"uid":"342a96e8-64"}],"isExternal":true},"342a96e8-99":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-108"},{"uid":"342a96e8-42"},{"uid":"342a96e8-44"},{"uid":"342a96e8-46"},{"uid":"342a96e8-48"},{"uid":"342a96e8-109"}],"importedBy":[{"uid":"342a96e8-56"},{"uid":"342a96e8-66"},{"uid":"342a96e8-54"},{"uid":"342a96e8-64"},{"uid":"342a96e8-72"}]},"342a96e8-100":{"id":"/src/types/dictionary.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-94"}]},"342a96e8-101":{"id":"/src/types/form.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-94"}]},"342a96e8-102":{"id":"/src/types/field.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-94"}]},"342a96e8-103":{"id":"/src/types/layout.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-94"}]},"342a96e8-104":{"id":"/src/types/icon.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-94"}]},"342a96e8-105":{"id":"/src/form.vue","moduleParts":{},"imported":[{"uid":"342a96e8-74"}],"importedBy":[{"uid":"342a96e8-95"}]},"342a96e8-106":{"id":"/src/bridge/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-10"},{"uid":"342a96e8-4"}],"importedBy":[{"uid":"342a96e8-26"},{"uid":"342a96e8-38"},{"uid":"342a96e8-40"},{"uid":"342a96e8-12"}]},"342a96e8-107":{"id":"/src/config/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-22"},{"uid":"342a96e8-24"}],"importedBy":[{"uid":"342a96e8-26"}]},"342a96e8-108":{"id":"/src/utils/dynamic.ts","moduleParts":{},"imported":[{"uid":"342a96e8-110"}],"importedBy":[{"uid":"342a96e8-99"}]},"342a96e8-109":{"id":"/src/utils/diff.ts","moduleParts":{},"imported":[{"uid":"342a96e8-111"}],"importedBy":[{"uid":"342a96e8-99"}]},"342a96e8-110":{"id":"es-toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-108"},{"uid":"342a96e8-74"}],"isExternal":true},"342a96e8-111":{"id":"es-toolkit/compat","moduleParts":{},"imported":[],"importedBy":[{"uid":"342a96e8-109"}],"isExternal":true},"342a96e8-112":{"id":"/src/components/Button/index.ts","moduleParts":{},"imported":[{"uid":"342a96e8-113"}],"importedBy":[{"uid":"342a96e8-74"}]},"342a96e8-113":{"id":"/src/components/Button/index.vue","moduleParts":{},"imported":[{"uid":"342a96e8-58"},{"uid":"342a96e8-60"}],"importedBy":[{"uid":"342a96e8-112"}]}},"env":{"rollup":"4.14.3"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4933
4933
 
4934
4934
  const run = () => {
4935
4935
  const width = window.innerWidth;
@@ -1,4 +1,4 @@
1
- import { VueFormRuntime, VueSchemxInstance } from './types';
1
+ import { VueFormRuntime } from './types';
2
2
  import { SchemxInstance, Values } from '@schemx/core';
3
3
  /**
4
4
  * 在当前 Vue effect scope 中获取共享 Runtime。
@@ -7,7 +7,7 @@ import { SchemxInstance, Values } from '@schemx/core';
7
7
  * 释放该 owner;最后一个 owner 释放后,字段和表单级响应式资源才会回收。
8
8
  *
9
9
  * @typeParam TValues - 表单值类型。
10
- * @param form - 要桥接的 Core Form 或 Vue Form Instance。
10
+ * @param form - 要桥接或复用 Runtime 的表单实例。
11
11
  * @returns 当前 Form 对应的共享 Runtime。
12
12
  * @throws 当前没有活动的 Vue effect scope 时抛出错误。
13
13
  *
@@ -26,7 +26,7 @@ export declare function useVueFormRuntime<TValues extends Values = Values>(form:
26
26
  * 释放后只销毁响应式资源,Runtime 和 Instance 身份保持稳定。
27
27
  *
28
28
  * @typeParam TValues - 表单值类型。
29
- * @param form - 要桥接的 Core Form 或 Vue Form Instance。
29
+ * @param form - 要桥接或复用 Runtime 的表单实例。
30
30
  * @returns 共享 Runtime 及与当前 owner 对应的释放函数。
31
31
  *
32
32
  * @example
@@ -39,7 +39,7 @@ export declare function useVueFormRuntime<TValues extends Values = Values>(form:
39
39
  * }
40
40
  * ```
41
41
  */
42
- export declare function acquireVueFormRuntime<TValues extends Values = Values>(form: SchemxInstance<TValues> | VueSchemxInstance<TValues>): {
42
+ export declare function acquireVueFormRuntime<TValues extends Values = Values>(form: SchemxInstance<TValues>): {
43
43
  runtime: VueFormRuntime<TValues>;
44
44
  release: () => void;
45
45
  };
@@ -1 +1 @@
1
- {"version":3,"file":"formBridge.d.ts","sourceRoot":"","sources":["../../src/bridge/formBridge.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAWH,OAAO,KAAK,EAKV,cAAc,EACd,iBAAiB,EAClB,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAY,cAAc,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAOpE;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,EAC/D,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,GAC5B,cAAc,CAAC,OAAO,CAAC,CAUzB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,EACnE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAAC,OAAO,CAAC,GACzD;IACD,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CASA"}
1
+ {"version":3,"file":"formBridge.d.ts","sourceRoot":"","sources":["../../src/bridge/formBridge.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAWH,OAAO,KAAK,EAKV,cAAc,EACf,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAY,cAAc,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAOpE;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,EAC/D,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,GAC5B,cAAc,CAAC,OAAO,CAAC,CAUzB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,EACnE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,GAC5B;IACD,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CASA"}
@@ -1,9 +1,9 @@
1
- import { VueFieldDependency, VueFormDependency, VueSchemxInstance } from './types';
1
+ import { VueFieldDependency, VueFormDependency } from './types';
2
2
  import { NamePath, SchemxInstance, Values } from '@schemx/core';
3
3
  /**
4
4
  * 创建 Instance 所需的 Runtime 追踪能力。
5
5
  */
6
- export interface VueFormInstanceDependencies<TValues extends Values> {
6
+ interface VueFormInstanceDependencies<TValues extends Values> {
7
7
  /**
8
8
  * 追踪单个字段的指定状态依赖。
9
9
  */
@@ -33,5 +33,6 @@ export interface VueFormInstanceDependencies<TValues extends Values> {
33
33
  * const instance = createVueFormInstance(coreForm, runtimeDependencies)
34
34
  * ```
35
35
  */
36
- export declare function createVueFormInstance<TValues extends Values>(form: SchemxInstance<TValues>, dependencies: VueFormInstanceDependencies<TValues>): VueSchemxInstance<TValues>;
36
+ export declare function createVueFormInstance<TValues extends Values>(form: SchemxInstance<TValues>, dependencies: VueFormInstanceDependencies<TValues>): SchemxInstance<TValues>;
37
+ export {};
37
38
  //# sourceMappingURL=formInstance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formInstance.d.ts","sourceRoot":"","sources":["../../src/bridge/formInstance.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AACvF,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAEpE;;GAEG;AACH,MAAM,WAAW,2BAA2B,CAAC,OAAO,SAAS,MAAM;IACjE;;OAEG;IACH,UAAU,CAAC,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,EACxC,IAAI,EAAE,KAAK,EACX,UAAU,EAAE,kBAAkB,GAC7B,IAAI,CAAA;IACP;;OAEG;IACH,gBAAgB,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,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2
2
  * Vue Runtime 的内部统一入口。
3
3
  *
4
4
  * 该目录消费 Core 的 `FormStateAdapter`,并将快照投影为 Vue Instance、字段
5
- * 状态和 ViewSchema 状态。除 `VueSchemxInstance` 外不形成
6
- * 包根公开 API。
5
+ * 状态和 ViewSchema 状态,不形成包根公开 API。
7
6
  *
8
7
  * @module vue/bridge
9
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bridge/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bridge/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
@@ -2,11 +2,9 @@ import { ComputedRef, ShallowRef } from 'vue';
2
2
  import { FieldValue, NamePath, SchemxInstance, SchemxViewSchema, Values } from '@schemx/core';
3
3
  import { FormStateAdapter } from '@schemx/core/adapter';
4
4
  /**
5
- * 可在 Vue effect 中直接读取 Form 方法的结构兼容实例类型。
5
+ * Vue 可追踪的表单实例旧类型名。
6
6
  *
7
- * Instance Core Form 不是同一引用,但保留完整的 `SchemxInstance` API
8
- *
9
- * @typeParam TValues - Form 的值类型。
7
+ * @deprecated 请改用 {@link SchemxInstance}
10
8
  */
11
9
  export type VueSchemxInstance<TValues extends Values = Values> = SchemxInstance<TValues>;
12
10
  /**
@@ -116,13 +114,13 @@ export interface VueFormRuntime<TValues extends Values = Values> {
116
114
  /**
117
115
  * 原始 Core Form 实例。
118
116
  *
119
- * @deprecated 请使用 `instance`;该字段仅为兼容旧版 Runtime 消费者保留。
117
+ * @deprecated 请使用 {@link VueFormRuntime.instance};该字段仅为兼容旧版 Runtime 消费者保留。
120
118
  */
121
119
  readonly core: SchemxInstance<TValues>;
122
120
  /**
123
121
  * 对外提供的 Vue 响应式 Form Instance。
124
122
  */
125
- readonly instance: VueSchemxInstance<TValues>;
123
+ readonly instance: SchemxInstance<TValues>;
126
124
  /**
127
125
  * 增加一个资源 owner,并返回对应的释放函数。
128
126
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/bridge/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAElD,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,MAAM,EACP,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,IAAI,cAAc,CAAC,OAAO,CAAC,CAAA;AAExF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,CAAC,OAAO,SAAS,MAAM,IAAI,SAAS,UAAU,CAC7E,cAAc,CAAC,OAAO,CAAC,CAAC,kBAAkB,CAAC,CAC5C,CAAC,MAAM,CAAC,EAAE,CAAA;AAEX;;;;;GAKG;AACH,MAAM,WAAW,aAAa,CAC5B,OAAO,SAAS,MAAM,GAAG,MAAM,EAC/B,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC;IAEnD;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,C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CAAC,OAAO,CAAC,CAAA;IACtC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC1C;;OAEG;IACH,MAAM,IAAI,MAAM,IAAI,CAAA;IACpB;;OAEG;IACH,UAAU,CAAC,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,EACxC,IAAI,EAAE,KAAK,EACX,UAAU,EAAE,kBAAkB,GAC7B,IAAI,CAAA;IACP;;OAEG;IACH,gBAAgB,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,IAAI,CAAA;IACnD;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC9C;;OAEG;IACH,YAAY,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;IACnC;;OAEG;IACH,aAAa,CAAC,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,EAC3C,IAAI,EAAE,KAAK,GACV,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;IAChC;;OAEG;IACH,kBAAkB,IAAI,kBAAkB,CAAC,OAAO,CAAC,CAAA;IACjD;;OAEG;IACH,OAAO,IAAI,IAAI,CAAA;CAChB"}
@@ -1,29 +1,52 @@
1
1
  import { PropType, VNodeChild } from 'vue';
2
- import { SchemxColComponent, SchemxVueLayout } from '../../types/layout';
2
+ import { SchemxColComponent, SchemxColConfig, SchemxLayout } from '../../types/layout';
3
3
  declare const Col: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- layout: {
5
- type: PropType<SchemxVueLayout>;
4
+ col: {
5
+ type: PropType<SchemxColConfig>;
6
6
  required: false;
7
7
  default: undefined;
8
8
  };
9
+ /**
10
+ * @deprecated 请在 Form 或 ConfigProvider 的 `colComponent` 中配置实现,见 {@link import("@schemx/core").SchemxConfig}。
11
+ */
9
12
  component: {
10
13
  type: PropType<SchemxColComponent>;
11
14
  required: false;
12
15
  default: undefined;
13
16
  };
14
- }>, () => VNodeChild, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ /**
18
+ * @deprecated 请改用 {@link import("../../types/layout").SchemxColProps.col}。
19
+ */
15
20
  layout: {
16
- type: PropType<SchemxVueLayout>;
21
+ type: PropType<SchemxLayout>;
22
+ required: false;
23
+ default: undefined;
24
+ };
25
+ }>, () => VNodeChild, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
+ col: {
27
+ type: PropType<SchemxColConfig>;
17
28
  required: false;
18
29
  default: undefined;
19
30
  };
31
+ /**
32
+ * @deprecated 请在 Form 或 ConfigProvider 的 `colComponent` 中配置实现,见 {@link import("@schemx/core").SchemxConfig}。
33
+ */
20
34
  component: {
21
35
  type: PropType<SchemxColComponent>;
22
36
  required: false;
23
37
  default: undefined;
24
38
  };
39
+ /**
40
+ * @deprecated 请改用 {@link import("../../types/layout").SchemxColProps.col}。
41
+ */
42
+ layout: {
43
+ type: PropType<SchemxLayout>;
44
+ required: false;
45
+ default: undefined;
46
+ };
25
47
  }>> & Readonly<{}>, {
26
- layout: SchemxVueLayout;
48
+ layout: SchemxLayout;
49
+ col: SchemxColConfig;
27
50
  component: SchemxColComponent;
28
51
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
52
  export default Col;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Col/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAyC,KAAK,QAAQ,EAAS,MAAM,KAAK,CAAA;AACjF,OAAO,KAAK,EAA0B,UAAU,EAAE,MAAM,KAAK,CAAA;AAI7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAE7E,QAAA,MAAM,GAAG;;cAMa,QAAQ,CAAC,eAAe,CAAC;;;;;cAKb,QAAQ,CAAC,kBAAkB,CAAC;;;;UAa/C,UAAU;;cAlBH,QAAQ,CAAC,eAAe,CAAC;;;;;cAKb,QAAQ,CAAC,kBAAkB,CAAC;;;;;;;4EAyC5D,CAAA;AAEF,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Col/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAyC,KAAK,QAAQ,EAAS,MAAM,KAAK,CAAA;AACjF,OAAO,KAAK,EAA0B,UAAU,EAAE,MAAM,KAAK,CAAA;AAI7D,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,YAAY,EACb,MAAM,oBAAoB,CAAA;AAE3B,QAAA,MAAM,GAAG;;cAMa,QAAQ,CAAC,eAAe,CAAC;;;;IAI3C;;OAEG;;cAE2B,QAAQ,CAAC,kBAAkB,CAAC;;;;IAI1D;;OAEG;;cAEe,QAAQ,CAAC,YAAY,CAAC;;;;UAuB7B,UAAU;;cAvCH,QAAQ,CAAC,eAAe,CAAC;;;;IAI3C;;OAEG;;cAE2B,QAAQ,CAAC,kBAAkB,CAAC;;;;IAI1D;;OAEG;;cAEe,QAAQ,CAAC,YAAY,CAAC;;;;;;;;4EAkF1C,CAAA;AAEF,eAAe,GAAG,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
- import { SchemxColComponent, SchemxVueConfig } from '../../types';
3
- import { PresetRuleRegistry, RendererRegistry, SchemxRendererKey, SchemxRendererPropsMap, SchemxSchemaConfig, ValidationAdapterOption, Values } from '@schemx/core';
2
+ import { SchemxColComponent, SchemxIconComponent, SchemxRowComponent, SchemxRowConfig } from '../../types';
3
+ import { PresetRuleRegistry, RendererRegistry, SchemxConfig, SchemxRendererKey, SchemxRendererPropsMap, SchemxSchemaConfig, ValidationAdapterOption, Values } from '@schemx/core';
4
4
  /**
5
5
  * ConfigProvider 的公开 Props。
6
6
  *
@@ -8,7 +8,7 @@ import { PresetRuleRegistry, RendererRegistry, SchemxRendererKey, SchemxRenderer
8
8
  *
9
9
  * @typeParam TValues - 表单值类型。
10
10
  */
11
- export type ConfigProviderProps<TValues extends Values = Values> = SchemxVueConfig<TValues>;
11
+ export type ConfigProviderProps<TValues extends Values = Values> = SchemxConfig<TValues>;
12
12
  declare const ConfigProvider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
13
  schemaConfig: {
14
14
  type: PropType<Partial<SchemxSchemaConfig>>;
@@ -38,6 +38,18 @@ declare const ConfigProvider: import('vue').DefineComponent<import('vue').Extrac
38
38
  type: PropType<SchemxColComponent>;
39
39
  default: undefined;
40
40
  };
41
+ rowComponent: {
42
+ type: PropType<SchemxRowComponent>;
43
+ default: undefined;
44
+ };
45
+ iconComponent: {
46
+ type: PropType<SchemxIconComponent>;
47
+ default: undefined;
48
+ };
49
+ row: {
50
+ type: PropType<SchemxRowConfig>;
51
+ default: undefined;
52
+ };
41
53
  }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
42
54
  [key: string]: any;
43
55
  }>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -69,16 +81,31 @@ declare const ConfigProvider: import('vue').DefineComponent<import('vue').Extrac
69
81
  type: PropType<SchemxColComponent>;
70
82
  default: undefined;
71
83
  };
84
+ rowComponent: {
85
+ type: PropType<SchemxRowComponent>;
86
+ default: undefined;
87
+ };
88
+ iconComponent: {
89
+ type: PropType<SchemxIconComponent>;
90
+ default: undefined;
91
+ };
92
+ row: {
93
+ type: PropType<SchemxRowConfig>;
94
+ default: undefined;
95
+ };
72
96
  }>> & Readonly<{}>, {
73
- colComponent: SchemxColComponent;
97
+ row: SchemxRowConfig;
74
98
  schemaConfig: Partial<SchemxSchemaConfig>;
75
99
  rendererProps: Partial<{
76
100
  [x: string]: Partial<Omit<import('@schemx/core').SchemxComponentProps<Values, string>, "value" | "onUpdate:value" | "formInstance" | "formItemProps">>;
77
101
  }>;
78
102
  validatorAdapters: readonly ValidationAdapterOption[];
79
103
  defaultRendererType: string;
80
- rendererRegistry: RendererRegistry<string, unknown>;
104
+ rendererRegistry: RendererRegistry;
81
105
  presetRuleRegistry: PresetRuleRegistry;
106
+ colComponent: SchemxColComponent;
107
+ rowComponent: SchemxRowComponent;
108
+ iconComponent: SchemxIconComponent;
82
109
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
83
110
  export default ConfigProvider;
84
111
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigProvider/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAA6B,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAI9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACtE,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,MAAM,EACP,MAAM,cAAc,CAAA;AAErB;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,IAC7D,eAAe,CAAC,OAAO,CAAC,CAAA;AAE1B,QAAA,MAAM,cAAc;;cAME,QAAQ,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;;;;cAIrC,QAAQ,CAAC,sBAAsB,CAAC;;;;cAIjC,QAAQ,CAAC,SAAS,uBAAuB,EAAE,CAAC;;;;cAI3C,QAAQ,CAAC,iBAAiB,CAAC;;;;cAI3B,QAAQ,CAAC,gBAAgB,CAAC;;;;cAI1B,QAAQ,CAAC,kBAAkB,CAAC;;;;cAIhB,QAAQ,CAAC,kBAAkB,CAA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,CAAC;;;;cAI5B,QAAQ,CAAC,mBAAmB,CAAC;;;;cAIzC,QAAQ,CAAC,eAAe,CAAC;;;;;;;cApCzB,QAAQ,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;;;;cAIrC,QAAQ,CAAC,sBAAsB,CAAC;;;;cAIjC,QAAQ,CAAC,SAAS,uBAAuB,EAAE,CAAC;;;;cAI3C,QAAQ,CAAC,iBAAiB,CAAC;;;;cAI3B,QAAQ,CAAC,gBAAgB,CAAC;;;;cAI1B,QAAQ,CAAC,kBAAkB,CAAC;;;;cAIhB,QAAQ,CAAC,kBAAkB,CAAC;;;;cAI5B,QAAQ,CAAC,kBAAkB,CAAC;;;;cAI5B,QAAQ,CAAC,mBAAmB,CAAC;;;;cAIzC,QAAQ,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;4EAgC7C,CAAA;AAEF,eAAe,cAAc,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { PropType, VNodeChild } from 'vue';
2
+ import { SchemxRowConfig } from '../../types/layout';
2
3
  import { SchemxViewDynamicSchema, SchemxViewSchema } from '@schemx/core';
3
4
  /**
4
5
  * Dynamic 组件属性。
@@ -9,44 +10,47 @@ export interface SchemxDynamicProps {
9
10
  */
10
11
  schema: SchemxViewDynamicSchema;
11
12
  /**
12
- * 当前 Form 根级 ViewSchema,用于计算字段区段样式。
13
+ * Form 或父级 Schema 继承的 Row 配置。
13
14
  */
14
- viewSchemas: readonly SchemxViewSchema[];
15
+ rowConfig?: SchemxRowConfig;
15
16
  /**
16
- * 内部 SchemaList 递归渲染数组行子节点的回调;未提供时使用 Dynamic 自身的兼容渲染器。
17
+ * SchemaList 提供的子级 Schema 渲染回调。
18
+ *
19
+ * @param schemas - 当前数组项的子级 ViewSchema。
20
+ * @param rowConfig - 当前数组项继承到的 Row 配置。
17
21
  */
18
- renderChildren?: (schemas: readonly SchemxViewSchema[]) => VNodeChild;
22
+ renderChildren: (schemas: readonly SchemxViewSchema[], rowConfig?: SchemxRowConfig) => VNodeChild;
19
23
  }
20
24
  declare const Dynamic: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
21
25
  schema: {
22
26
  type: PropType<SchemxViewDynamicSchema>;
23
27
  required: true;
24
28
  };
25
- viewSchemas: {
26
- type: PropType<readonly SchemxViewSchema[]>;
27
- required: true;
29
+ rowConfig: {
30
+ type: PropType<SchemxRowConfig>;
31
+ required: false;
32
+ default: undefined;
28
33
  };
29
34
  renderChildren: {
30
35
  type: PropType<SchemxDynamicProps["renderChildren"]>;
31
- required: false;
32
- default: undefined;
36
+ required: true;
33
37
  };
34
38
  }>, () => VNodeChild, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
39
  schema: {
36
40
  type: PropType<SchemxViewDynamicSchema>;
37
41
  required: true;
38
42
  };
39
- viewSchemas: {
40
- type: PropType<readonly SchemxViewSchema[]>;
41
- required: true;
43
+ rowConfig: {
44
+ type: PropType<SchemxRowConfig>;
45
+ required: false;
46
+ default: undefined;
42
47
  };
43
48
  renderChildren: {
44
49
  type: PropType<SchemxDynamicProps["renderChildren"]>;
45
- required: false;
46
- default: undefined;
50
+ required: true;
47
51
  };
48
52
  }>> & Readonly<{}>, {
49
- renderChildren: ((schemas: readonly SchemxViewSchema[]) => VNodeChild) | undefined;
53
+ rowConfig: SchemxRowConfig;
50
54
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
55
  export default Dynamic;
52
56
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dynamic/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAA6B,QAAQ,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAQrE,OAAO,KAAK,EACV,uBAAuB,EAEvB,gBAAgB,EACjB,MAAM,cAAc,CAAA;AAErB;;GAEG;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AQ,CAAC,uBAAuB,CAAC;;;;cAIjC,QAAQ,CAAC,eAAe,CAAC;;;;;cAKvB,QAAQ,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;;;UAWvD,UAAU;;cApBH,QAAQ,CAAC,uBAAuB,CAAC;;;;cAIjC,QAAQ,CAAC,eAAe,CAAC;;;;;cAKvB,QAAQ,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;;;;;4EAqCpE,CAAA;AAEF,eAAe,OAAO,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAmBxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,EAKV,MAAM,EACP,MAAM,cAAc,CAAA;AAErB;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;AAED,QAAA,MAAM,KAAK;;cAMW,QAAQ,CAAC,OAAO,CAAC;;;;cAIS,QAAQ,CAAC,UAAU,CAAC;;;;;cAK7B,QAAQ,CAAC,UAAU,CAAC;;;;UA8I5C,UAAU;;cAvJH,QAAQ,CAAC,OAAO,CAAC;;;;cAIS,QAAQ,CAAC,UAAU,CAAC;;;;;cAK7B,QAAQ,CAAC,UAAU,CAAC;;;;;;;6GA6LzD,CAAA;AAEF,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAoBxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,EAKV,MAAM,EACP,MAAM,cAAc,CAAA;AAErB;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;AAED,QAAA,MAAM,KAAK;;cAMW,QAAQ,CAAC,OAAO,CAAC;;;;cAIS,QAAQ,CAAC,UAAU,CAAC;;;;;cAK7B,QAAQ,CAAC,UAAU,CAAC;;;;UAoI5C,UAAU;;cA7IH,QAAQ,CAAC,OAAO,CAAC;;;;cAIS,QAAQ,CAAC,UAAU,CAAC;;;;;cAK7B,QAAQ,CAAC,UAAU,CAAC;;;;;;;6GA6LzD,CAAA;AAEF,eAAe,KAAK,CAAA"}
@@ -34,7 +34,8 @@ interface FieldSlotRendererOptions<TValues extends Values = Values> {
34
34
  /**
35
35
  * 创建 Field 各区域的插槽渲染函数。
36
36
  *
37
- * `Before`、`Content`、`After` 依次包裹 Renderer;`Error` 位于控件之后。
37
+ * 字段依次渲染 Before、主体(Label + Content)、Error、After。
38
+ * Label 和 Error 插槽只替换各自容器内的内容。
38
39
  *
39
40
  * @param options - Field 插槽渲染所需的响应式状态和 Vue 插槽集合。
40
41
  * @returns 各字段区域的插槽渲染函数及统一 Slot Props 构造器。
@@ -1 +1 @@
1
- {"version":3,"file":"slot.d.ts","sourceRoot":"","sources":["../../../src/components/Field/slot.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE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