@schemx/vue 1.0.0-next.2 → 1.0.0-next.4

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 (88) hide show
  1. package/README.md +292 -293
  2. package/dist/analyze.html +1 -1
  3. package/dist/bridge/fieldBridge.d.ts +10 -0
  4. package/dist/bridge/fieldBridge.d.ts.map +1 -0
  5. package/dist/bridge/formBridge.d.ts +13 -0
  6. package/dist/bridge/formBridge.d.ts.map +1 -0
  7. package/dist/bridge/formInstance.d.ts +18 -0
  8. package/dist/bridge/formInstance.d.ts.map +1 -0
  9. package/dist/bridge/helpers.d.ts +39 -0
  10. package/dist/bridge/helpers.d.ts.map +1 -0
  11. package/dist/bridge/index.d.ts +13 -0
  12. package/dist/bridge/index.d.ts.map +1 -0
  13. package/dist/bridge/types.d.ts +69 -0
  14. package/dist/bridge/types.d.ts.map +1 -0
  15. package/dist/bridge/viewSchemaBridge.d.ts +5 -0
  16. package/dist/bridge/viewSchemaBridge.d.ts.map +1 -0
  17. package/dist/components/Button/index.vue.d.ts +30 -0
  18. package/dist/components/Button/index.vue.d.ts.map +1 -0
  19. package/dist/components/Button/types.d.ts.map +1 -1
  20. package/dist/components/ConfigProvider/index.d.ts +68 -0
  21. package/dist/components/ConfigProvider/index.d.ts.map +1 -0
  22. package/dist/components/Dynamic/index.d.ts +30 -0
  23. package/dist/components/Dynamic/index.d.ts.map +1 -0
  24. package/dist/components/Field/index.d.ts +47 -0
  25. package/dist/components/Field/index.d.ts.map +1 -0
  26. package/dist/components/Field/slot.d.ts +40 -0
  27. package/dist/components/Field/slot.d.ts.map +1 -0
  28. package/dist/components/Group/index.d.ts +46 -0
  29. package/dist/components/Group/index.d.ts.map +1 -0
  30. package/dist/components/Group/slot.d.ts +34 -0
  31. package/dist/components/Group/slot.d.ts.map +1 -0
  32. package/dist/config/index.d.ts +2 -0
  33. package/dist/config/index.d.ts.map +1 -1
  34. package/dist/config/providerConfig.d.ts +15 -0
  35. package/dist/config/providerConfig.d.ts.map +1 -0
  36. package/dist/config/vueConfig.d.ts +12 -0
  37. package/dist/config/vueConfig.d.ts.map +1 -0
  38. package/dist/form.d.ts +2 -2
  39. package/dist/form.d.ts.map +1 -1
  40. package/dist/hocs/withRemoteOptions.d.ts.map +1 -1
  41. package/dist/hooks/index.d.ts +3 -3
  42. package/dist/hooks/index.d.ts.map +1 -1
  43. package/dist/hooks/provideFieldContext.d.ts +2 -2
  44. package/dist/hooks/provideFormContext.d.ts +13 -46
  45. package/dist/hooks/provideFormContext.d.ts.map +1 -1
  46. package/dist/hooks/useDictionary.d.ts.map +1 -1
  47. package/dist/hooks/useField.d.ts +1 -1
  48. package/dist/hooks/useField.d.ts.map +1 -1
  49. package/dist/hooks/useForm.d.ts +3 -3
  50. package/dist/hooks/useForm.d.ts.map +1 -1
  51. package/dist/hooks/useFormSelector.d.ts +4 -0
  52. package/dist/hooks/useFormSelector.d.ts.map +1 -1
  53. package/dist/hooks/useViewSchemas.d.ts +2 -34
  54. package/dist/hooks/useViewSchemas.d.ts.map +1 -1
  55. package/dist/hooks/useWatch.d.ts.map +1 -1
  56. package/dist/index.cjs +1 -1
  57. package/dist/index.cjs.map +1 -1
  58. package/dist/index.d.ts +5 -6
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.mjs +923 -557
  61. package/dist/index.mjs.map +1 -1
  62. package/dist/style.css +1 -1
  63. package/dist/types/dictionary.d.ts +1 -1
  64. package/dist/types/dictionary.d.ts.map +1 -1
  65. package/dist/types/field.d.ts +38 -2
  66. package/dist/types/field.d.ts.map +1 -1
  67. package/dist/types/form.d.ts +11 -7
  68. package/dist/types/form.d.ts.map +1 -1
  69. package/dist/types/index.d.ts +4 -4
  70. package/dist/types/index.d.ts.map +1 -1
  71. package/dist/utils/helpers.d.ts +4 -0
  72. package/dist/utils/helpers.d.ts.map +1 -1
  73. package/dist/utils/index.d.ts +2 -0
  74. package/dist/utils/index.d.ts.map +1 -1
  75. package/dist/utils/presetRuleProvider.d.ts +16 -0
  76. package/dist/utils/presetRuleProvider.d.ts.map +1 -0
  77. package/dist/utils/rendererProvider.d.ts.map +1 -1
  78. package/package.json +3 -3
  79. package/dist/components/FormGroup/index.d.ts +0 -16
  80. package/dist/components/FormGroup/index.d.ts.map +0 -1
  81. package/dist/components/FormItem/index.d.ts +0 -22
  82. package/dist/components/FormItem/index.d.ts.map +0 -1
  83. package/dist/components/FormItem/slot.d.ts +0 -48
  84. package/dist/components/FormItem/slot.d.ts.map +0 -1
  85. package/dist/formBridge.d.ts +0 -188
  86. package/dist/formBridge.d.ts.map +0 -1
  87. package/dist/utils/rulesProvider.d.ts +0 -16
  88. package/dist/utils/rulesProvider.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":"409cd899-1"},{"name":"config/appConfig.ts","uid":"409cd899-3"},{"uid":"409cd899-5","name":"formBridge.ts"},{"name":"utils","children":[{"uid":"409cd899-7","name":"rendererProvider.ts"},{"uid":"409cd899-9","name":"rulesProvider.ts"},{"uid":"409cd899-25","name":"equal.ts"},{"uid":"409cd899-33","name":"validation.ts"},{"uid":"409cd899-35","name":"slot.ts"},{"uid":"409cd899-47","name":"helpers.ts"}]},{"name":"hooks","children":[{"uid":"409cd899-11","name":"useForm.ts"},{"uid":"409cd899-13","name":"provideFormContext.ts"},{"uid":"409cd899-15","name":"useField.ts"},{"uid":"409cd899-17","name":"provideFieldContext.ts"},{"uid":"409cd899-19","name":"useWatch.ts"},{"uid":"409cd899-21","name":"useDictionary.ts"},{"uid":"409cd899-23","name":"provideFormConfigContext.ts"},{"uid":"409cd899-27","name":"useStableRef.ts"},{"uid":"409cd899-29","name":"useViewSchemas.ts"},{"uid":"409cd899-31","name":"useFormSelector.ts"}]},{"name":"components","children":[{"name":"FormGroup/index.tsx","uid":"409cd899-37"},{"name":"FormItem","children":[{"uid":"409cd899-39","name":"slot.tsx"},{"uid":"409cd899-41","name":"index.tsx"}]},{"name":"Button","children":[{"uid":"409cd899-43","name":"index.vue?vue&type=script&setup=true&lang.ts"},{"uid":"409cd899-45","name":"index.vue?vue&type=style&index=0&lang.css"}]}]},{"uid":"409cd899-49","name":"form.vue?vue&type=script&setup=true&lang.ts"},{"uid":"409cd899-51","name":"form.ts"},{"name":"hocs/withRemoteOptions.ts","uid":"409cd899-53"},{"uid":"409cd899-55","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"409cd899-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"409cd899-0"},"409cd899-3":{"renderedLength":1317,"gzipLength":489,"brotliLength":422,"metaUid":"409cd899-2"},"409cd899-5":{"renderedLength":6908,"gzipLength":1387,"brotliLength":1226,"metaUid":"409cd899-4"},"409cd899-7":{"renderedLength":65,"gzipLength":72,"brotliLength":52,"metaUid":"409cd899-6"},"409cd899-9":{"renderedLength":67,"gzipLength":68,"brotliLength":53,"metaUid":"409cd899-8"},"409cd899-11":{"renderedLength":1079,"gzipLength":482,"brotliLength":400,"metaUid":"409cd899-10"},"409cd899-13":{"renderedLength":628,"gzipLength":340,"brotliLength":290,"metaUid":"409cd899-12"},"409cd899-15":{"renderedLength":1038,"gzipLength":344,"brotliLength":307,"metaUid":"409cd899-14"},"409cd899-17":{"renderedLength":410,"gzipLength":249,"brotliLength":198,"metaUid":"409cd899-16"},"409cd899-19":{"renderedLength":564,"gzipLength":229,"brotliLength":192,"metaUid":"409cd899-18"},"409cd899-21":{"renderedLength":2879,"gzipLength":953,"brotliLength":814,"metaUid":"409cd899-20"},"409cd899-23":{"renderedLength":483,"gzipLength":288,"brotliLength":239,"metaUid":"409cd899-22"},"409cd899-25":{"renderedLength":206,"gzipLength":156,"brotliLength":122,"metaUid":"409cd899-24"},"409cd899-27":{"renderedLength":240,"gzipLength":168,"brotliLength":143,"metaUid":"409cd899-26"},"409cd899-29":{"renderedLength":1781,"gzipLength":706,"brotliLength":590,"metaUid":"409cd899-28"},"409cd899-31":{"renderedLength":594,"gzipLength":306,"brotliLength":266,"metaUid":"409cd899-30"},"409cd899-33":{"renderedLength":788,"gzipLength":325,"brotliLength":267,"metaUid":"409cd899-32"},"409cd899-35":{"renderedLength":1278,"gzipLength":491,"brotliLength":404,"metaUid":"409cd899-34"},"409cd899-37":{"renderedLength":3726,"gzipLength":1330,"brotliLength":1126,"metaUid":"409cd899-36"},"409cd899-39":{"renderedLength":4194,"gzipLength":1528,"brotliLength":1268,"metaUid":"409cd899-38"},"409cd899-41":{"renderedLength":5674,"gzipLength":2071,"brotliLength":1707,"metaUid":"409cd899-40"},"409cd899-43":{"renderedLength":2486,"gzipLength":913,"brotliLength":789,"metaUid":"409cd899-42"},"409cd899-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"409cd899-44"},"409cd899-47":{"renderedLength":1052,"gzipLength":382,"brotliLength":332,"metaUid":"409cd899-46"},"409cd899-49":{"renderedLength":10188,"gzipLength":2759,"brotliLength":2326,"metaUid":"409cd899-48"},"409cd899-51":{"renderedLength":384,"gzipLength":269,"brotliLength":214,"metaUid":"409cd899-50"},"409cd899-53":{"renderedLength":1052,"gzipLength":455,"brotliLength":378,"metaUid":"409cd899-52"},"409cd899-55":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"409cd899-54"}},"nodeMetas":{"409cd899-0":{"id":"/src/styles/index.css","moduleParts":{"index.cjs":"409cd899-1"},"imported":[],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-48"}]},"409cd899-2":{"id":"/src/config/appConfig.ts","moduleParts":{"index.cjs":"409cd899-3"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-61"}]},"409cd899-4":{"id":"/src/formBridge.ts","moduleParts":{"index.cjs":"409cd899-5"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-63"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-10"},{"uid":"409cd899-12"},{"uid":"409cd899-14"},{"uid":"409cd899-18"},{"uid":"409cd899-28"},{"uid":"409cd899-30"}]},"409cd899-6":{"id":"/src/utils/rendererProvider.ts","moduleParts":{"index.cjs":"409cd899-7"},"imported":[{"uid":"409cd899-63"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-10"}]},"409cd899-8":{"id":"/src/utils/rulesProvider.ts","moduleParts":{"index.cjs":"409cd899-9"},"imported":[{"uid":"409cd899-59"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-10"}]},"409cd899-10":{"id":"/src/hooks/useForm.ts","moduleParts":{"index.cjs":"409cd899-11"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-61"},{"uid":"409cd899-4"},{"uid":"409cd899-6"},{"uid":"409cd899-8"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-12":{"id":"/src/hooks/provideFormContext.ts","moduleParts":{"index.cjs":"409cd899-13"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-4"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-14"},{"uid":"409cd899-18"},{"uid":"409cd899-20"}]},"409cd899-14":{"id":"/src/hooks/useField.ts","moduleParts":{"index.cjs":"409cd899-15"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-4"},{"uid":"409cd899-12"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-16":{"id":"/src/hooks/provideFieldContext.ts","moduleParts":{"index.cjs":"409cd899-17"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-52"}]},"409cd899-18":{"id":"/src/hooks/useWatch.ts","moduleParts":{"index.cjs":"409cd899-19"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-4"},{"uid":"409cd899-12"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-20"}]},"409cd899-20":{"id":"/src/hooks/useDictionary.ts","moduleParts":{"index.cjs":"409cd899-21"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-12"},{"uid":"409cd899-18"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-52"}]},"409cd899-22":{"id":"/src/hooks/provideFormConfigContext.ts","moduleParts":{"index.cjs":"409cd899-23"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-24":{"id":"/src/utils/equal.ts","moduleParts":{"index.cjs":"409cd899-25"},"imported":[],"importedBy":[{"uid":"409cd899-26"}]},"409cd899-26":{"id":"/src/hooks/useStableRef.ts","moduleParts":{"index.cjs":"409cd899-27"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-24"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-28":{"id":"/src/hooks/useViewSchemas.ts","moduleParts":{"index.cjs":"409cd899-29"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-4"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-40"}]},"409cd899-30":{"id":"/src/hooks/useFormSelector.ts","moduleParts":{"index.cjs":"409cd899-31"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-4"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-32":{"id":"/src/utils/validation.ts","moduleParts":{"index.cjs":"409cd899-33"},"imported":[],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-34":{"id":"/src/utils/slot.ts","moduleParts":{"index.cjs":"409cd899-35"},"imported":[],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-36":{"id":"/src/components/FormGroup/index.tsx","moduleParts":{"index.cjs":"409cd899-37"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-66"},{"uid":"409cd899-40"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-40"}]},"409cd899-38":{"id":"/src/components/FormItem/slot.tsx","moduleParts":{"index.cjs":"409cd899-39"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-67"}],"importedBy":[{"uid":"409cd899-40"}]},"409cd899-40":{"id":"/src/components/FormItem/index.tsx","moduleParts":{"index.cjs":"409cd899-41"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-66"},{"uid":"409cd899-56"},{"uid":"409cd899-28"},{"uid":"409cd899-67"},{"uid":"409cd899-36"},{"uid":"409cd899-38"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-50"},{"uid":"409cd899-36"},{"uid":"409cd899-48"}]},"409cd899-42":{"id":"/src/components/Button/index.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"409cd899-43"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-64"}]},"409cd899-44":{"id":"/src/components/Button/index.vue?vue&type=style&index=0&lang.css","moduleParts":{"index.cjs":"409cd899-45"},"imported":[],"importedBy":[{"uid":"409cd899-64"}]},"409cd899-46":{"id":"/src/utils/helpers.ts","moduleParts":{"index.cjs":"409cd899-47"},"imported":[{"uid":"409cd899-59"}],"importedBy":[{"uid":"409cd899-48"}]},"409cd899-48":{"id":"/src/form.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"409cd899-49"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-74"},{"uid":"409cd899-40"},{"uid":"409cd899-58"},{"uid":"409cd899-56"},{"uid":"409cd899-46"},{"uid":"409cd899-0"}],"importedBy":[{"uid":"409cd899-71"}]},"409cd899-50":{"id":"/src/form.ts","moduleParts":{"index.cjs":"409cd899-51"},"imported":[{"uid":"409cd899-40"},{"uid":"409cd899-61"},{"uid":"409cd899-62"}],"importedBy":[{"uid":"409cd899-54"}]},"409cd899-52":{"id":"/src/hocs/withRemoteOptions.ts","moduleParts":{"index.cjs":"409cd899-53"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-16"},{"uid":"409cd899-20"}],"importedBy":[{"uid":"409cd899-57"}]},"409cd899-54":{"id":"/src/index.ts","moduleParts":{"index.cjs":"409cd899-55"},"imported":[{"uid":"409cd899-0"},{"uid":"409cd899-50"},{"uid":"409cd899-6"},{"uid":"409cd899-8"},{"uid":"409cd899-56"},{"uid":"409cd899-57"},{"uid":"409cd899-58"},{"uid":"409cd899-40"},{"uid":"409cd899-36"},{"uid":"409cd899-59"},{"uid":"409cd899-60"}],"importedBy":[],"isEntry":true},"409cd899-56":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-10"},{"uid":"409cd899-4"},{"uid":"409cd899-12"},{"uid":"409cd899-14"},{"uid":"409cd899-16"},{"uid":"409cd899-18"},{"uid":"409cd899-20"},{"uid":"409cd899-22"},{"uid":"409cd899-26"},{"uid":"409cd899-28"},{"uid":"409cd899-30"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-40"},{"uid":"409cd899-48"}]},"409cd899-57":{"id":"/src/hocs/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-52"}],"importedBy":[{"uid":"409cd899-54"}]},"409cd899-58":{"id":"/src/components/Button/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-64"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-48"}]},"409cd899-59":{"id":"@schemx/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-8"},{"uid":"409cd899-40"},{"uid":"409cd899-10"},{"uid":"409cd899-14"},{"uid":"409cd899-18"},{"uid":"409cd899-28"},{"uid":"409cd899-48"},{"uid":"409cd899-46"}],"isExternal":true},"409cd899-60":{"id":"/src/types/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-68"},{"uid":"409cd899-69"},{"uid":"409cd899-70"}],"importedBy":[{"uid":"409cd899-54"}]},"409cd899-61":{"id":"/src/config/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-2"}],"importedBy":[{"uid":"409cd899-50"},{"uid":"409cd899-10"}]},"409cd899-62":{"id":"/src/formRuntime.js","moduleParts":{},"imported":[{"uid":"409cd899-71"}],"importedBy":[{"uid":"409cd899-50"}]},"409cd899-63":{"id":"@schemx/core/adapter","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-6"},{"uid":"409cd899-4"}],"isExternal":true},"409cd899-64":{"id":"/src/components/Button/index.vue","moduleParts":{},"imported":[{"uid":"409cd899-42"},{"uid":"409cd899-44"}],"importedBy":[{"uid":"409cd899-58"}]},"409cd899-65":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-40"},{"uid":"409cd899-36"},{"uid":"409cd899-10"},{"uid":"409cd899-4"},{"uid":"409cd899-12"},{"uid":"409cd899-14"},{"uid":"409cd899-16"},{"uid":"409cd899-18"},{"uid":"409cd899-20"},{"uid":"409cd899-22"},{"uid":"409cd899-26"},{"uid":"409cd899-28"},{"uid":"409cd899-30"},{"uid":"409cd899-52"},{"uid":"409cd899-38"},{"uid":"409cd899-2"},{"uid":"409cd899-42"},{"uid":"409cd899-48"}],"isExternal":true},"409cd899-66":{"id":"classnames","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-40"},{"uid":"409cd899-36"}],"isExternal":true},"409cd899-67":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-72"},{"uid":"409cd899-32"},{"uid":"409cd899-34"},{"uid":"409cd899-73"}],"importedBy":[{"uid":"409cd899-40"},{"uid":"409cd899-38"}]},"409cd899-68":{"id":"/src/types/dictionary.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-60"}]},"409cd899-69":{"id":"/src/types/form.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-60"}]},"409cd899-70":{"id":"/src/types/field.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-60"}]},"409cd899-71":{"id":"/src/form.vue","moduleParts":{},"imported":[{"uid":"409cd899-48"}],"importedBy":[{"uid":"409cd899-62"}]},"409cd899-72":{"id":"/src/utils/dynamic.ts","moduleParts":{},"imported":[{"uid":"409cd899-74"}],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-73":{"id":"/src/utils/diff.ts","moduleParts":{},"imported":[{"uid":"409cd899-75"}],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-74":{"id":"es-toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-72"},{"uid":"409cd899-48"}],"isExternal":true},"409cd899-75":{"id":"es-toolkit/compat","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-73"}],"isExternal":true}},"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":"05b4bbfd-1"},{"name":"bridge","children":[{"uid":"05b4bbfd-3","name":"helpers.ts"},{"uid":"05b4bbfd-5","name":"fieldBridge.ts"},{"uid":"05b4bbfd-7","name":"formInstance.ts"},{"uid":"05b4bbfd-9","name":"viewSchemaBridge.ts"},{"uid":"05b4bbfd-11","name":"formBridge.ts"}]},{"name":"config","children":[{"uid":"05b4bbfd-13","name":"appConfig.ts"},{"uid":"05b4bbfd-15","name":"providerConfig.ts"},{"uid":"05b4bbfd-21","name":"vueConfig.ts"}]},{"name":"utils","children":[{"uid":"05b4bbfd-17","name":"presetRuleProvider.ts"},{"uid":"05b4bbfd-19","name":"rendererProvider.ts"},{"uid":"05b4bbfd-37","name":"equal.ts"},{"uid":"05b4bbfd-45","name":"validation.ts"},{"uid":"05b4bbfd-47","name":"slot.ts"},{"uid":"05b4bbfd-49","name":"helpers.ts"}]},{"name":"hooks","children":[{"uid":"05b4bbfd-23","name":"useForm.ts"},{"uid":"05b4bbfd-25","name":"provideFormContext.ts"},{"uid":"05b4bbfd-27","name":"useField.ts"},{"uid":"05b4bbfd-29","name":"provideFieldContext.ts"},{"uid":"05b4bbfd-31","name":"useWatch.ts"},{"uid":"05b4bbfd-33","name":"useDictionary.ts"},{"uid":"05b4bbfd-35","name":"provideFormConfigContext.ts"},{"uid":"05b4bbfd-39","name":"useStableRef.ts"},{"uid":"05b4bbfd-41","name":"useViewSchemas.ts"},{"uid":"05b4bbfd-43","name":"useFormSelector.ts"}]},{"name":"components","children":[{"name":"Field","children":[{"uid":"05b4bbfd-51","name":"slot.tsx"},{"uid":"05b4bbfd-53","name":"index.tsx"}]},{"name":"Button","children":[{"uid":"05b4bbfd-55","name":"index.vue?vue&type=script&setup=true&lang.ts"},{"uid":"05b4bbfd-57","name":"index.vue?vue&type=style&index=0&lang.css"}]},{"name":"Group","children":[{"uid":"05b4bbfd-59","name":"slot.tsx"},{"uid":"05b4bbfd-61","name":"index.tsx"}]},{"name":"Dynamic/index.tsx","uid":"05b4bbfd-63"},{"name":"ConfigProvider/index.tsx","uid":"05b4bbfd-71"}]},{"uid":"05b4bbfd-65","name":"form.vue?vue&type=script&setup=true&lang.ts"},{"uid":"05b4bbfd-67","name":"form.ts"},{"name":"hocs/withRemoteOptions.ts","uid":"05b4bbfd-69"},{"uid":"05b4bbfd-73","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"05b4bbfd-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"05b4bbfd-0"},"05b4bbfd-3":{"renderedLength":409,"gzipLength":232,"brotliLength":188,"metaUid":"05b4bbfd-2"},"05b4bbfd-5":{"renderedLength":1163,"gzipLength":386,"brotliLength":331,"metaUid":"05b4bbfd-4"},"05b4bbfd-7":{"renderedLength":1626,"gzipLength":371,"brotliLength":307,"metaUid":"05b4bbfd-6"},"05b4bbfd-9":{"renderedLength":1042,"gzipLength":401,"brotliLength":371,"metaUid":"05b4bbfd-8"},"05b4bbfd-11":{"renderedLength":4071,"gzipLength":1009,"brotliLength":891,"metaUid":"05b4bbfd-10"},"05b4bbfd-13":{"renderedLength":1309,"gzipLength":491,"brotliLength":424,"metaUid":"05b4bbfd-12"},"05b4bbfd-15":{"renderedLength":534,"gzipLength":277,"brotliLength":228,"metaUid":"05b4bbfd-14"},"05b4bbfd-17":{"renderedLength":59,"gzipLength":64,"brotliLength":50,"metaUid":"05b4bbfd-16"},"05b4bbfd-19":{"renderedLength":65,"gzipLength":72,"brotliLength":52,"metaUid":"05b4bbfd-18"},"05b4bbfd-21":{"renderedLength":345,"gzipLength":189,"brotliLength":171,"metaUid":"05b4bbfd-20"},"05b4bbfd-23":{"renderedLength":820,"gzipLength":340,"brotliLength":310,"metaUid":"05b4bbfd-22"},"05b4bbfd-25":{"renderedLength":1044,"gzipLength":411,"brotliLength":348,"metaUid":"05b4bbfd-24"},"05b4bbfd-27":{"renderedLength":961,"gzipLength":333,"brotliLength":297,"metaUid":"05b4bbfd-26"},"05b4bbfd-29":{"renderedLength":410,"gzipLength":249,"brotliLength":198,"metaUid":"05b4bbfd-28"},"05b4bbfd-31":{"renderedLength":569,"gzipLength":226,"brotliLength":192,"metaUid":"05b4bbfd-30"},"05b4bbfd-33":{"renderedLength":4330,"gzipLength":1327,"brotliLength":1159,"metaUid":"05b4bbfd-32"},"05b4bbfd-35":{"renderedLength":483,"gzipLength":288,"brotliLength":239,"metaUid":"05b4bbfd-34"},"05b4bbfd-37":{"renderedLength":206,"gzipLength":156,"brotliLength":122,"metaUid":"05b4bbfd-36"},"05b4bbfd-39":{"renderedLength":240,"gzipLength":168,"brotliLength":143,"metaUid":"05b4bbfd-38"},"05b4bbfd-41":{"renderedLength":482,"gzipLength":209,"brotliLength":184,"metaUid":"05b4bbfd-40"},"05b4bbfd-43":{"renderedLength":593,"gzipLength":308,"brotliLength":288,"metaUid":"05b4bbfd-42"},"05b4bbfd-45":{"renderedLength":788,"gzipLength":325,"brotliLength":267,"metaUid":"05b4bbfd-44"},"05b4bbfd-47":{"renderedLength":1278,"gzipLength":491,"brotliLength":404,"metaUid":"05b4bbfd-46"},"05b4bbfd-49":{"renderedLength":1283,"gzipLength":490,"brotliLength":419,"metaUid":"05b4bbfd-48"},"05b4bbfd-51":{"renderedLength":4105,"gzipLength":1432,"brotliLength":1177,"metaUid":"05b4bbfd-50"},"05b4bbfd-53":{"renderedLength":5139,"gzipLength":1957,"brotliLength":1603,"metaUid":"05b4bbfd-52"},"05b4bbfd-55":{"renderedLength":2486,"gzipLength":913,"brotliLength":789,"metaUid":"05b4bbfd-54"},"05b4bbfd-57":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"05b4bbfd-56"},"05b4bbfd-59":{"renderedLength":1535,"gzipLength":683,"brotliLength":555,"metaUid":"05b4bbfd-58"},"05b4bbfd-61":{"renderedLength":4886,"gzipLength":1573,"brotliLength":1353,"metaUid":"05b4bbfd-60"},"05b4bbfd-63":{"renderedLength":2042,"gzipLength":988,"brotliLength":800,"metaUid":"05b4bbfd-62"},"05b4bbfd-65":{"renderedLength":13196,"gzipLength":3208,"brotliLength":2723,"metaUid":"05b4bbfd-64"},"05b4bbfd-67":{"renderedLength":375,"gzipLength":268,"brotliLength":204,"metaUid":"05b4bbfd-66"},"05b4bbfd-69":{"renderedLength":1052,"gzipLength":455,"brotliLength":378,"metaUid":"05b4bbfd-68"},"05b4bbfd-71":{"renderedLength":1292,"gzipLength":531,"brotliLength":423,"metaUid":"05b4bbfd-70"},"05b4bbfd-73":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"05b4bbfd-72"}},"nodeMetas":{"05b4bbfd-0":{"id":"/src/styles/index.css","moduleParts":{"index.cjs":"05b4bbfd-1"},"imported":[],"importedBy":[{"uid":"05b4bbfd-72"},{"uid":"05b4bbfd-64"}]},"05b4bbfd-2":{"id":"/src/bridge/helpers.ts","moduleParts":{"index.cjs":"05b4bbfd-3"},"imported":[{"uid":"05b4bbfd-81"}],"importedBy":[{"uid":"05b4bbfd-10"},{"uid":"05b4bbfd-4"}]},"05b4bbfd-4":{"id":"/src/bridge/fieldBridge.ts","moduleParts":{"index.cjs":"05b4bbfd-5"},"imported":[{"uid":"05b4bbfd-2"}],"importedBy":[{"uid":"05b4bbfd-88"},{"uid":"05b4bbfd-10"}]},"05b4bbfd-6":{"id":"/src/bridge/formInstance.ts","moduleParts":{"index.cjs":"05b4bbfd-7"},"imported":[],"importedBy":[{"uid":"05b4bbfd-10"}]},"05b4bbfd-8":{"id":"/src/bridge/viewSchemaBridge.ts","moduleParts":{"index.cjs":"05b4bbfd-9"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"}],"importedBy":[{"uid":"05b4bbfd-10"}]},"05b4bbfd-10":{"id":"/src/bridge/formBridge.ts","moduleParts":{"index.cjs":"05b4bbfd-11"},"imported":[{"uid":"05b4bbfd-80"},{"uid":"05b4bbfd-4"},{"uid":"05b4bbfd-6"},{"uid":"05b4bbfd-2"},{"uid":"05b4bbfd-8"}],"importedBy":[{"uid":"05b4bbfd-88"}]},"05b4bbfd-12":{"id":"/src/config/appConfig.ts","moduleParts":{"index.cjs":"05b4bbfd-13"},"imported":[{"uid":"05b4bbfd-81"}],"importedBy":[{"uid":"05b4bbfd-78"},{"uid":"05b4bbfd-20"}]},"05b4bbfd-14":{"id":"/src/config/providerConfig.ts","moduleParts":{"index.cjs":"05b4bbfd-15"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"}],"importedBy":[{"uid":"05b4bbfd-78"},{"uid":"05b4bbfd-20"}]},"05b4bbfd-16":{"id":"/src/utils/presetRuleProvider.ts","moduleParts":{"index.cjs":"05b4bbfd-17"},"imported":[{"uid":"05b4bbfd-76"}],"importedBy":[{"uid":"05b4bbfd-72"},{"uid":"05b4bbfd-20"}]},"05b4bbfd-18":{"id":"/src/utils/rendererProvider.ts","moduleParts":{"index.cjs":"05b4bbfd-19"},"imported":[{"uid":"05b4bbfd-80"}],"importedBy":[{"uid":"05b4bbfd-72"},{"uid":"05b4bbfd-20"}]},"05b4bbfd-20":{"id":"/src/config/vueConfig.ts","moduleParts":{"index.cjs":"05b4bbfd-21"},"imported":[{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-16"},{"uid":"05b4bbfd-18"},{"uid":"05b4bbfd-12"},{"uid":"05b4bbfd-14"}],"importedBy":[{"uid":"05b4bbfd-78"}]},"05b4bbfd-22":{"id":"/src/hooks/useForm.ts","moduleParts":{"index.cjs":"05b4bbfd-23"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-88"},{"uid":"05b4bbfd-78"}],"importedBy":[{"uid":"05b4bbfd-74"}]},"05b4bbfd-24":{"id":"/src/hooks/provideFormContext.ts","moduleParts":{"index.cjs":"05b4bbfd-25"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-88"}],"importedBy":[{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-26"},{"uid":"05b4bbfd-30"},{"uid":"05b4bbfd-32"}]},"05b4bbfd-26":{"id":"/src/hooks/useField.ts","moduleParts":{"index.cjs":"05b4bbfd-27"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-24"}],"importedBy":[{"uid":"05b4bbfd-74"}]},"05b4bbfd-28":{"id":"/src/hooks/provideFieldContext.ts","moduleParts":{"index.cjs":"05b4bbfd-29"},"imported":[{"uid":"05b4bbfd-81"}],"importedBy":[{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-68"}]},"05b4bbfd-30":{"id":"/src/hooks/useWatch.ts","moduleParts":{"index.cjs":"05b4bbfd-31"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-24"}],"importedBy":[{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-32"}]},"05b4bbfd-32":{"id":"/src/hooks/useDictionary.ts","moduleParts":{"index.cjs":"05b4bbfd-33"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-24"},{"uid":"05b4bbfd-30"}],"importedBy":[{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-68"}]},"05b4bbfd-34":{"id":"/src/hooks/provideFormConfigContext.ts","moduleParts":{"index.cjs":"05b4bbfd-35"},"imported":[{"uid":"05b4bbfd-81"}],"importedBy":[{"uid":"05b4bbfd-74"}]},"05b4bbfd-36":{"id":"/src/utils/equal.ts","moduleParts":{"index.cjs":"05b4bbfd-37"},"imported":[],"importedBy":[{"uid":"05b4bbfd-38"}]},"05b4bbfd-38":{"id":"/src/hooks/useStableRef.ts","moduleParts":{"index.cjs":"05b4bbfd-39"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-36"}],"importedBy":[{"uid":"05b4bbfd-74"}]},"05b4bbfd-40":{"id":"/src/hooks/useViewSchemas.ts","moduleParts":{"index.cjs":"05b4bbfd-41"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-88"}],"importedBy":[{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-52"}]},"05b4bbfd-42":{"id":"/src/hooks/useFormSelector.ts","moduleParts":{"index.cjs":"05b4bbfd-43"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-88"}],"importedBy":[{"uid":"05b4bbfd-74"}]},"05b4bbfd-44":{"id":"/src/utils/validation.ts","moduleParts":{"index.cjs":"05b4bbfd-45"},"imported":[],"importedBy":[{"uid":"05b4bbfd-83"}]},"05b4bbfd-46":{"id":"/src/utils/slot.ts","moduleParts":{"index.cjs":"05b4bbfd-47"},"imported":[],"importedBy":[{"uid":"05b4bbfd-83"}]},"05b4bbfd-48":{"id":"/src/utils/helpers.ts","moduleParts":{"index.cjs":"05b4bbfd-49"},"imported":[{"uid":"05b4bbfd-76"}],"importedBy":[{"uid":"05b4bbfd-83"},{"uid":"05b4bbfd-64"}]},"05b4bbfd-50":{"id":"/src/components/Field/slot.tsx","moduleParts":{"index.cjs":"05b4bbfd-51"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-83"}],"importedBy":[{"uid":"05b4bbfd-52"}]},"05b4bbfd-52":{"id":"/src/components/Field/index.tsx","moduleParts":{"index.cjs":"05b4bbfd-53"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-82"},{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-40"},{"uid":"05b4bbfd-83"},{"uid":"05b4bbfd-50"}],"importedBy":[{"uid":"05b4bbfd-72"},{"uid":"05b4bbfd-66"},{"uid":"05b4bbfd-60"},{"uid":"05b4bbfd-64"},{"uid":"05b4bbfd-62"}]},"05b4bbfd-54":{"id":"/src/components/Button/index.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"05b4bbfd-55"},"imported":[{"uid":"05b4bbfd-81"}],"importedBy":[{"uid":"05b4bbfd-94"}]},"05b4bbfd-56":{"id":"/src/components/Button/index.vue?vue&type=style&index=0&lang.css","moduleParts":{"index.cjs":"05b4bbfd-57"},"imported":[],"importedBy":[{"uid":"05b4bbfd-94"}]},"05b4bbfd-58":{"id":"/src/components/Group/slot.tsx","moduleParts":{"index.cjs":"05b4bbfd-59"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-82"},{"uid":"05b4bbfd-83"}],"importedBy":[{"uid":"05b4bbfd-60"}]},"05b4bbfd-60":{"id":"/src/components/Group/index.tsx","moduleParts":{"index.cjs":"05b4bbfd-61"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-82"},{"uid":"05b4bbfd-83"},{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-58"}],"importedBy":[{"uid":"05b4bbfd-72"},{"uid":"05b4bbfd-64"},{"uid":"05b4bbfd-62"}]},"05b4bbfd-62":{"id":"/src/components/Dynamic/index.tsx","moduleParts":{"index.cjs":"05b4bbfd-63"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-83"},{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-60"}],"importedBy":[{"uid":"05b4bbfd-64"}]},"05b4bbfd-64":{"id":"/src/form.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"05b4bbfd-65"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-91"},{"uid":"05b4bbfd-93"},{"uid":"05b4bbfd-62"},{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-60"},{"uid":"05b4bbfd-78"},{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-48"},{"uid":"05b4bbfd-0"}],"importedBy":[{"uid":"05b4bbfd-87"}]},"05b4bbfd-66":{"id":"/src/form.ts","moduleParts":{"index.cjs":"05b4bbfd-67"},"imported":[{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-78"},{"uid":"05b4bbfd-79"}],"importedBy":[{"uid":"05b4bbfd-72"}]},"05b4bbfd-68":{"id":"/src/hocs/withRemoteOptions.ts","moduleParts":{"index.cjs":"05b4bbfd-69"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-28"},{"uid":"05b4bbfd-32"}],"importedBy":[{"uid":"05b4bbfd-75"}]},"05b4bbfd-70":{"id":"/src/components/ConfigProvider/index.tsx","moduleParts":{"index.cjs":"05b4bbfd-71"},"imported":[{"uid":"05b4bbfd-81"},{"uid":"05b4bbfd-78"}],"importedBy":[{"uid":"05b4bbfd-72"}]},"05b4bbfd-72":{"id":"/src/index.ts","moduleParts":{"index.cjs":"05b4bbfd-73"},"imported":[{"uid":"05b4bbfd-0"},{"uid":"05b4bbfd-66"},{"uid":"05b4bbfd-18"},{"uid":"05b4bbfd-16"},{"uid":"05b4bbfd-74"},{"uid":"05b4bbfd-75"},{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-60"},{"uid":"05b4bbfd-70"},{"uid":"05b4bbfd-76"},{"uid":"05b4bbfd-77"}],"importedBy":[],"isEntry":true},"05b4bbfd-74":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-22"},{"uid":"05b4bbfd-24"},{"uid":"05b4bbfd-26"},{"uid":"05b4bbfd-28"},{"uid":"05b4bbfd-30"},{"uid":"05b4bbfd-32"},{"uid":"05b4bbfd-34"},{"uid":"05b4bbfd-38"},{"uid":"05b4bbfd-40"},{"uid":"05b4bbfd-42"}],"importedBy":[{"uid":"05b4bbfd-72"},{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-64"}]},"05b4bbfd-75":{"id":"/src/hocs/index.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-68"}],"importedBy":[{"uid":"05b4bbfd-72"}]},"05b4bbfd-76":{"id":"@schemx/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-72"},{"uid":"05b4bbfd-16"},{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-60"},{"uid":"05b4bbfd-22"},{"uid":"05b4bbfd-26"},{"uid":"05b4bbfd-30"},{"uid":"05b4bbfd-14"},{"uid":"05b4bbfd-20"},{"uid":"05b4bbfd-48"},{"uid":"05b4bbfd-64"},{"uid":"05b4bbfd-62"},{"uid":"05b4bbfd-8"}],"isExternal":true},"05b4bbfd-77":{"id":"/src/types/index.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-84"},{"uid":"05b4bbfd-85"},{"uid":"05b4bbfd-86"}],"importedBy":[{"uid":"05b4bbfd-72"}]},"05b4bbfd-78":{"id":"/src/config/index.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-12"},{"uid":"05b4bbfd-14"},{"uid":"05b4bbfd-20"}],"importedBy":[{"uid":"05b4bbfd-66"},{"uid":"05b4bbfd-70"},{"uid":"05b4bbfd-22"},{"uid":"05b4bbfd-64"}]},"05b4bbfd-79":{"id":"/src/formRuntime.js","moduleParts":{},"imported":[{"uid":"05b4bbfd-87"}],"importedBy":[{"uid":"05b4bbfd-66"}]},"05b4bbfd-80":{"id":"@schemx/core/adapter","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-18"},{"uid":"05b4bbfd-10"}],"isExternal":true},"05b4bbfd-81":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-60"},{"uid":"05b4bbfd-70"},{"uid":"05b4bbfd-22"},{"uid":"05b4bbfd-24"},{"uid":"05b4bbfd-26"},{"uid":"05b4bbfd-28"},{"uid":"05b4bbfd-30"},{"uid":"05b4bbfd-32"},{"uid":"05b4bbfd-34"},{"uid":"05b4bbfd-38"},{"uid":"05b4bbfd-40"},{"uid":"05b4bbfd-42"},{"uid":"05b4bbfd-68"},{"uid":"05b4bbfd-50"},{"uid":"05b4bbfd-58"},{"uid":"05b4bbfd-12"},{"uid":"05b4bbfd-14"},{"uid":"05b4bbfd-64"},{"uid":"05b4bbfd-62"},{"uid":"05b4bbfd-2"},{"uid":"05b4bbfd-8"},{"uid":"05b4bbfd-54"}],"isExternal":true},"05b4bbfd-82":{"id":"classnames","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-60"},{"uid":"05b4bbfd-58"}],"isExternal":true},"05b4bbfd-83":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-89"},{"uid":"05b4bbfd-44"},{"uid":"05b4bbfd-46"},{"uid":"05b4bbfd-48"},{"uid":"05b4bbfd-90"}],"importedBy":[{"uid":"05b4bbfd-52"},{"uid":"05b4bbfd-60"},{"uid":"05b4bbfd-50"},{"uid":"05b4bbfd-58"},{"uid":"05b4bbfd-62"}]},"05b4bbfd-84":{"id":"/src/types/dictionary.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-77"}]},"05b4bbfd-85":{"id":"/src/types/form.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-77"}]},"05b4bbfd-86":{"id":"/src/types/field.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-77"}]},"05b4bbfd-87":{"id":"/src/form.vue","moduleParts":{},"imported":[{"uid":"05b4bbfd-64"}],"importedBy":[{"uid":"05b4bbfd-79"}]},"05b4bbfd-88":{"id":"/src/bridge/index.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-10"},{"uid":"05b4bbfd-4"}],"importedBy":[{"uid":"05b4bbfd-22"},{"uid":"05b4bbfd-24"},{"uid":"05b4bbfd-40"},{"uid":"05b4bbfd-42"}]},"05b4bbfd-89":{"id":"/src/utils/dynamic.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-91"}],"importedBy":[{"uid":"05b4bbfd-83"}]},"05b4bbfd-90":{"id":"/src/utils/diff.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-92"}],"importedBy":[{"uid":"05b4bbfd-83"}]},"05b4bbfd-91":{"id":"es-toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-89"},{"uid":"05b4bbfd-64"}],"isExternal":true},"05b4bbfd-92":{"id":"es-toolkit/compat","moduleParts":{},"imported":[],"importedBy":[{"uid":"05b4bbfd-90"}],"isExternal":true},"05b4bbfd-93":{"id":"/src/components/Button/index.ts","moduleParts":{},"imported":[{"uid":"05b4bbfd-94"}],"importedBy":[{"uid":"05b4bbfd-64"}]},"05b4bbfd-94":{"id":"/src/components/Button/index.vue","moduleParts":{},"imported":[{"uid":"05b4bbfd-54"},{"uid":"05b4bbfd-56"}],"importedBy":[{"uid":"05b4bbfd-93"}]}},"env":{"rollup":"4.14.3"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4933
4933
 
4934
4934
  const run = () => {
4935
4935
  const width = window.innerWidth;
@@ -0,0 +1,10 @@
1
+ import { VueFieldState, VueFormResources } from './types';
2
+ import { NamePath, Values } from '@schemx/core';
3
+ /**
4
+ * 获取一个字段的共享 Vue 状态投影。
5
+ *
6
+ * FormStateAdapter 按规范化路径缓存 Source;Source 身份作为当前资源中的
7
+ * 稳定 key,确保同一字段不会重复创建订阅。
8
+ */
9
+ export declare function getVueFieldState<TValues extends Values = Values, TName extends NamePath<TValues> = NamePath<TValues>>(resources: VueFormResources<TValues>, name: TName): VueFieldState<TValues, TName>;
10
+ //# sourceMappingURL=fieldBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldBridge.d.ts","sourceRoot":"","sources":["../../src/bridge/fieldBridge.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC9D,OAAO,KAAK,EAAc,QAAQ,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAEhE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,SAAS,MAAM,GAAG,MAAM,EAC/B,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,EACnD,SAAS,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAqDlF"}
@@ -0,0 +1,13 @@
1
+ import { VueFormRuntime, VueSchemxInstance } from './types';
2
+ import { SchemxInstance, Values } from '@schemx/core';
3
+ /**
4
+ * 获取并保留指定 Form 的共享 Runtime。
5
+ *
6
+ * 返回的 release 函数必须绑定到当前 owner 的 Vue scope;最后一个 owner
7
+ * 释放后只销毁响应式资源,Runtime 和 Instance 身份保持稳定。
8
+ */
9
+ export declare function acquireVueFormRuntime<TValues extends Values = Values>(form: SchemxInstance<TValues> | VueSchemxInstance<TValues>): {
10
+ runtime: VueFormRuntime<TValues>;
11
+ release: () => void;
12
+ };
13
+ //# sourceMappingURL=formBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formBridge.d.ts","sourceRoot":"","sources":["../../src/bridge/formBridge.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,KAAK,EAKV,cAAc,EACd,iBAAiB,EAClB,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAY,cAAc,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAQpE;;;;;GAKG;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"}
@@ -0,0 +1,18 @@
1
+ import { VueFieldDependency, VueFormDependency, VueSchemxInstance } from './types';
2
+ import { NamePath, SchemxInstance, Values } from '@schemx/core';
3
+ /** 创建 Instance 所需的 Runtime 追踪能力。 */
4
+ export interface VueFormInstanceDependencies<TValues extends Values> {
5
+ trackField<TName extends NamePath<TValues>>(name: TName, dependency: VueFieldDependency): void;
6
+ trackFieldsValue(names?: NamePath<TValues>[]): void;
7
+ trackForm(dependency: VueFormDependency): void;
8
+ destroy(): void;
9
+ }
10
+ /**
11
+ * 为 Core Form 创建保持完整 API 的 Vue Instance。
12
+ *
13
+ * @param form - 要包装的原始 Core Form。
14
+ * @param dependencies - 所属 Runtime 提供的依赖追踪与销毁能力。
15
+ * @returns 可被 Vue effect 追踪的 Instance。
16
+ */
17
+ export declare function createVueFormInstance<TValues extends Values>(form: SchemxInstance<TValues>, dependencies: VueFormInstanceDependencies<TValues>): VueSchemxInstance<TValues>;
18
+ //# sourceMappingURL=formInstance.d.ts.map
@@ -0,0 +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,oCAAoC;AACpC,MAAM,WAAW,2BAA2B,CAAC,OAAO,SAAS,MAAM;IACjE,UAAU,CAAC,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,EACxC,IAAI,EAAE,KAAK,EACX,UAAU,EAAE,kBAAkB,GAC7B,IAAI,CAAA;IACP,gBAAgB,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,IAAI,CAAA;IACnD,SAAS,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC9C,OAAO,IAAI,IAAI,CAAA;CAChB;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,SAAS,MAAM,EAC1D,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,EAC7B,YAAY,EAAE,2BAA2B,CAAC,OAAO,CAAC,GACjD,iBAAiB,CAAC,OAAO,CAAC,CAyF5B"}
@@ -0,0 +1,39 @@
1
+ import { ShallowRef } from 'vue';
2
+ import { SnapshotSource } from '@schemx/core/adapter';
3
+ /**
4
+ * 创建类型为 `ShallowRef` 的 Vue 浅层 Ref。
5
+ *
6
+ * 运行时直接委托 Vue 的 `shallowRef`,类型断言用于保留 Runtime 对快照引用的控制。
7
+ *
8
+ * @typeParam TValue - Ref 中保存的值类型。
9
+ * @param value - 要包装为 shallow Ref 的当前值。
10
+ * @returns 包装后的 shallow Ref。
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const ready = createVueShallowRef(false)
15
+ * ready.value = true
16
+ * ```
17
+ */
18
+ export declare function createVueShallowRef<TValue>(value: TValue): ShallowRef<TValue>;
19
+ /**
20
+ * 将 Core SnapshotSource 绑定为 Vue shallow Ref。
21
+ *
22
+ * SnapshotSource 的生命周期由所属 FormStateAdapter 统一管理;这里仅保留
23
+ * 同步逻辑,避免每个 Form 级来源重复声明一套订阅函数。
24
+ */
25
+ export declare function bindSnapshotSource<TValue>(source: SnapshotSource<TValue>): ShallowRef<TValue>;
26
+ /**
27
+ * 比较两份错误消息列表,避免无变化时写入 Vue Ref。
28
+ *
29
+ * @param previous - 当前 Ref 中保存的错误消息列表。
30
+ * @param next - SnapshotSource 返回的最新错误消息列表。
31
+ * @returns 两个列表的长度和每一项都相同时返回 `true`。
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const changed = !areStringListsEqual(previous, next)
36
+ * ```
37
+ */
38
+ export declare function areStringListsEqual(previous: readonly string[], next: readonly string[]): boolean;
39
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/bridge/helpers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,CAE7E;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EACvC,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,GAC7B,UAAU,CAAC,MAAM,CAAC,CAQpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,IAAI,EAAE,SAAS,MAAM,EAAE,GACtB,OAAO,CAKT"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Vue Runtime 的内部统一入口。
3
+ *
4
+ * 该目录消费 Core 的 `FormStateAdapter`,并将快照投影为 Vue Instance、字段
5
+ * 状态和 ViewSchema 状态。除 `VueSchemxInstance` 外不形成
6
+ * 包根公开 API。
7
+ *
8
+ * @module vue/bridge
9
+ */
10
+ export { acquireVueFormRuntime } from './formBridge';
11
+ export { getVueFieldState } from './fieldBridge';
12
+ export type { VueFieldState, VueFormRuntime, VueSchemxInstance } from './types';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bridge/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,69 @@
1
+ import { ComputedRef, ShallowRef } from 'vue';
2
+ import { FieldValue, NamePath, SchemxInstance, SchemxViewSchema, Values } from '@schemx/core';
3
+ import { FormStateAdapter } from '@schemx/core/adapter';
4
+ /**
5
+ * 可在 Vue effect 中直接读取 Form 方法的结构兼容实例类型。
6
+ *
7
+ * Instance 与 Core Form 不是同一引用,但保留完整的 `SchemxInstance` API。
8
+ *
9
+ * @typeParam TValues - Form 的值类型。
10
+ */
11
+ export type VueSchemxInstance<TValues extends Values = Values> = SchemxInstance<TValues>;
12
+ /**
13
+ * FormStateAdapter 中 pending 字段的只读聚合快照。
14
+ *
15
+ * @typeParam TValues - Form 的值类型。
16
+ */
17
+ export type PendingFieldsSnapshot<TValues extends Values> = readonly ReturnType<SchemxInstance<TValues>["getPendingFields"]>[number][];
18
+ /** Vue 中单个字段状态的 Ref 投影。 */
19
+ export interface VueFieldState<TValues extends Values = Values, TName extends NamePath<TValues> = NamePath<TValues>> {
20
+ readonly value: ShallowRef<FieldValue<TValues, TName> | undefined>;
21
+ readonly errors: ShallowRef<readonly string[]>;
22
+ readonly touched: ShallowRef<boolean>;
23
+ readonly pending: ShallowRef<boolean>;
24
+ }
25
+ /** Vue 中 ViewSchema 列表及其索引的共享投影。 */
26
+ export interface VueViewSchemaState<TValues extends Values = Values> {
27
+ readonly schemasByKey: ComputedRef<ReadonlyMap<string, SchemxViewSchema<TValues>>>;
28
+ readonly viewSchemas: ShallowRef<readonly SchemxViewSchema<TValues>[]>;
29
+ dispose(): void;
30
+ }
31
+ /**
32
+ * 一个 Runtime 当前激活的响应式资源。
33
+ *
34
+ * 资源在首个 owner acquire 时创建,在最后一个 owner release 时释放;
35
+ * Runtime 和 Instance 外壳本身保持稳定,以保证 Instance 身份不变。
36
+ */
37
+ export interface VueFormResources<TValues extends Values> {
38
+ readonly stateAdapter: FormStateAdapter<TValues>;
39
+ readonly values: ShallowRef<TValues>;
40
+ readonly touchedFields: ShallowRef<readonly NamePath<TValues>[]>;
41
+ readonly pendingFields: ShallowRef<PendingFieldsSnapshot<TValues>>;
42
+ readonly loading: ShallowRef<boolean>;
43
+ readonly fieldStates: Map<object, VueFieldState<TValues>>;
44
+ viewSchemaState?: VueViewSchemaState<TValues>;
45
+ dispose(): void;
46
+ }
47
+ /** Instance 需要追踪的字段级 Vue 依赖。 */
48
+ export type VueFieldDependency = "value" | "errors" | "touched" | "pending";
49
+ /** Instance 需要追踪的 Form 级 Vue 依赖。 */
50
+ export type VueFormDependency = "values" | "touchedFields" | "pendingFields" | "loading";
51
+ /**
52
+ * 每个 Core Form 唯一的 Vue Runtime。
53
+ *
54
+ * Runtime 是 bridge 内部唯一的聚合边界;外部 Hook 不再接触 Adapter、Map
55
+ * 或引用计数,只通过下列状态读取和投影方法消费资源。
56
+ */
57
+ export interface VueFormRuntime<TValues extends Values = Values> {
58
+ readonly core: SchemxInstance<TValues>;
59
+ readonly instance: VueSchemxInstance<TValues>;
60
+ retain(): () => void;
61
+ trackField<TName extends NamePath<TValues>>(name: TName, dependency: VueFieldDependency): void;
62
+ trackFieldsValue(names?: NamePath<TValues>[]): void;
63
+ trackForm(dependency: VueFormDependency): void;
64
+ getValuesRef(): ShallowRef<TValues>;
65
+ getFieldState<TName extends NamePath<TValues>>(name: TName): VueFieldState<TValues, TName>;
66
+ getViewSchemaState(): VueViewSchemaState<TValues>;
67
+ destroy(): void;
68
+ }
69
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +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,2BAA2B;AAC3B,MAAM,WAAW,aAAa,CAC5B,OAAO,SAAS,MAAM,GAAG,MAAM,EAC/B,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC;IAEnD,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC,OAAO,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,CAAA;IAClE,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,MAAM,EAAE,CAAC,CAAA;IAC9C,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACrC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;CACtC;AAED,oCAAoC;AACpC,MAAM,WAAW,kBAAkB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM;IACjE,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAC,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;IAClF,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,SAAS,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IACtE,OAAO,IAAI,IAAI,CAAA;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB,CAAC,OAAO,SAAS,MAAM;IACtD,QAAQ,CAAC,YAAY,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IAChD,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACpC,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC,SAAS,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IAChE,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAA;IAClE,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACrC,QAAQ,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,CAAA;IACzD,eAAe,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;IAC7C,OAAO,IAAI,IAAI,CAAA;CAChB;AAED,gCAAgC;AAChC,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAA;AAE3E,oCAAoC;AACpC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,eAAe,GAAG,eAAe,GAAG,SAAS,CAAA;AAExF;;;;;GAKG;AACH,MAAM,WAAW,cAAc,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM;IAC7D,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IACtC,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAA;IAC7C,MAAM,IAAI,MAAM,IAAI,CAAA;IACpB,UAAU,CAAC,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,EACxC,IAAI,EAAE,KAAK,EACX,UAAU,EAAE,kBAAkB,GAC7B,IAAI,CAAA;IACP,gBAAgB,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,IAAI,CAAA;IACnD,SAAS,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC9C,YAAY,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;IACnC,aAAa,CAAC,KAAK,SAAS,QAAQ,CAAC,OAAO,CAAC,EAC3C,IAAI,EAAE,KAAK,GACV,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;IAChC,kBAAkB,IAAI,kBAAkB,CAAC,OAAO,CAAC,CAAA;IACjD,OAAO,IAAI,IAAI,CAAA;CAChB"}
@@ -0,0 +1,5 @@
1
+ import { VueViewSchemaState } from './types';
2
+ import { SchemxInstance, Values } from '@schemx/core';
3
+ /** 创建一个 Form 的共享 ViewSchema 状态。 */
4
+ export declare function createVueViewSchemaState<TValues extends Values>(form: SchemxInstance<TValues>): VueViewSchemaState<TValues>;
5
+ //# sourceMappingURL=viewSchemaBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"viewSchemaBridge.d.ts","sourceRoot":"","sources":["../../src/bridge/viewSchemaBridge.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAoB,MAAM,EAAE,MAAM,cAAc,CAAA;AAE5E,mCAAmC;AACnC,wBAAgB,wBAAwB,CAAC,OAAO,SAAS,MAAM,EAC7D,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,GAC5B,kBAAkB,CAAC,OAAO,CAAC,CA6B7B"}
@@ -0,0 +1,30 @@
1
+ import { SchemxButtonSize } from './types';
2
+ interface Props {
3
+ loading?: boolean;
4
+ loadingText?: string;
5
+ disabled?: boolean;
6
+ size?: SchemxButtonSize;
7
+ }
8
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
9
+ type __VLS_Slots = {} & {
10
+ prefix?: (props: typeof __VLS_1) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_3) => any;
13
+ } & {
14
+ suffix?: (props: typeof __VLS_5) => any;
15
+ };
16
+ declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
17
+ disabled: boolean;
18
+ loading: boolean;
19
+ size: SchemxButtonSize;
20
+ loadingText: string;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
30
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.vue"],"names":[],"mappings":"AAuJE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,gBAAgB,CAAA;CACxB;AAiHH,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;cA5HD,OAAO;aAFR,OAAO;UAGV,gBAAgB;iBAFT,MAAM;6EAgItB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,KAAK,CAAA;AAE/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE3D;;GAEG;AACH,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,MAAM,CAAC;IACvD,YAAY;IACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACrC,0BAA0B;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sBAAsB;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY;IACZ,IAAI,CAAC,EAAE,gBAAgB,CAAA;CACxB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,KAAK,CAAA;AAE/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE3D;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAC7C,oBAAoB,EACpB,UAAU,GAAG,MAAM,CACpB;IACC,YAAY;IACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACrC,0BAA0B;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,sBAAsB;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY;IACZ,IAAI,CAAC,EAAE,gBAAgB,CAAA;CACxB"}
@@ -0,0 +1,68 @@
1
+ import { PropType } from 'vue';
2
+ import { PresetRuleRegistry, RendererRegistry, SchemxConfig, SchemxRendererKey, SchemxRendererPropsMap, SchemxSchemaConfig, ValidationAdapterOption, Values } from '@schemx/core';
3
+ /** ConfigProvider 的公开 Props。 */
4
+ export type ConfigProviderProps<TValues extends Values = Values> = SchemxConfig<TValues>;
5
+ declare const ConfigProvider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ schemaConfig: {
7
+ type: PropType<Partial<SchemxSchemaConfig>>;
8
+ default: undefined;
9
+ };
10
+ rendererProps: {
11
+ type: PropType<SchemxRendererPropsMap>;
12
+ default: undefined;
13
+ };
14
+ validatorAdapters: {
15
+ type: PropType<readonly ValidationAdapterOption[]>;
16
+ default: undefined;
17
+ };
18
+ defaultRendererType: {
19
+ type: PropType<SchemxRendererKey>;
20
+ default: undefined;
21
+ };
22
+ rendererRegistry: {
23
+ type: PropType<RendererRegistry>;
24
+ default: undefined;
25
+ };
26
+ presetRuleRegistry: {
27
+ type: PropType<PresetRuleRegistry>;
28
+ default: undefined;
29
+ };
30
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
31
+ [key: string]: any;
32
+ }>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
+ schemaConfig: {
34
+ type: PropType<Partial<SchemxSchemaConfig>>;
35
+ default: undefined;
36
+ };
37
+ rendererProps: {
38
+ type: PropType<SchemxRendererPropsMap>;
39
+ default: undefined;
40
+ };
41
+ validatorAdapters: {
42
+ type: PropType<readonly ValidationAdapterOption[]>;
43
+ default: undefined;
44
+ };
45
+ defaultRendererType: {
46
+ type: PropType<SchemxRendererKey>;
47
+ default: undefined;
48
+ };
49
+ rendererRegistry: {
50
+ type: PropType<RendererRegistry>;
51
+ default: undefined;
52
+ };
53
+ presetRuleRegistry: {
54
+ type: PropType<PresetRuleRegistry>;
55
+ default: undefined;
56
+ };
57
+ }>> & Readonly<{}>, {
58
+ schemaConfig: Partial<SchemxSchemaConfig>;
59
+ validatorAdapters: readonly ValidationAdapterOption[];
60
+ rendererProps: Partial<{
61
+ [x: string]: Partial<Omit<import('@schemx/core').SchemxBaseComponentProps<Values, string, unknown>, import('@schemx/core').SchemxRuntimeInjectedProp>>;
62
+ }>;
63
+ defaultRendererType: string;
64
+ rendererRegistry: RendererRegistry<string, unknown>;
65
+ presetRuleRegistry: PresetRuleRegistry;
66
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
67
+ export default ConfigProvider;
68
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,EACV,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,MAAM,EACP,MAAM,cAAc,CAAA;AAErB,gCAAgC;AAChC,MAAM,MAAM,mBAAmB,CAAC,OAAO,SAAS,MAAM,GAAG,MAAM,IAAI,YAAY,CAAC,OAAO,CAAC,CAAA;AAExF,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;;;;;;;cApB5B,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;;;;;;;;;;;;4EAmBhD,CAAA;AAEF,eAAe,cAAc,CAAA"}
@@ -0,0 +1,30 @@
1
+ import { PropType, VNodeChild } from 'vue';
2
+ import { SchemxViewDynamicSchema, SchemxViewSchema } from '@schemx/core';
3
+ /** Dynamic 组件属性。 */
4
+ export interface SchemxDynamicProps {
5
+ /** 当前 Dynamic 数组的 ViewSchema。 */
6
+ schema: SchemxViewDynamicSchema;
7
+ /** 当前 Form 根级 ViewSchema,用于计算字段区段样式。 */
8
+ viewSchemas: readonly SchemxViewSchema[];
9
+ }
10
+ declare const Dynamic: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ schema: {
12
+ type: PropType<SchemxViewDynamicSchema>;
13
+ required: true;
14
+ };
15
+ viewSchemas: {
16
+ type: PropType<readonly SchemxViewSchema[]>;
17
+ required: true;
18
+ };
19
+ }>, () => VNodeChild, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ schema: {
21
+ type: PropType<SchemxViewDynamicSchema>;
22
+ required: true;
23
+ };
24
+ viewSchemas: {
25
+ type: PropType<readonly SchemxViewSchema[]>;
26
+ required: true;
27
+ };
28
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
+ export default Dynamic;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,oBAAoB;AACpB,MAAM,WAAW,kBAAkB;IACjC,iCAAiC;IACjC,MAAM,EAAE,uBAAuB,CAAA;IAC/B,wCAAwC;IACxC,WAAW,EAAE,SAAS,gBAAgB,EAAE,CAAA;CACzC;AAED,QAAA,MAAM,OAAO;;cAMS,QAAQ,CAAC,uBAAuB,CAAC;;;;cAIlC,QAAQ,CAAC,SAAS,gBAAgB,EAAE,CAAC;;;UA+C3C,UAAU;;cAnDH,QAAQ,CAAC,uBAAuB,CAAC;;;;cAIlC,QAAQ,CAAC,SAAS,gBAAgB,EAAE,CAAC;;;iGAyDxD,CAAA;AAEF,eAAe,OAAO,CAAA"}
@@ -0,0 +1,47 @@
1
+ import { PropType, ClassValue, StyleValue, VNodeChild } from 'vue';
2
+ /**
3
+ * Field 属性。
4
+ *
5
+ * 提供待渲染的字段 ViewSchema。
6
+ */
7
+ export interface SchemxFieldProps {
8
+ schema: unknown;
9
+ class?: ClassValue;
10
+ style?: StyleValue;
11
+ }
12
+ declare const Field: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ schema: {
14
+ type: PropType<unknown>;
15
+ required: true;
16
+ };
17
+ class: {
18
+ type: PropType<ClassValue>;
19
+ required: false;
20
+ default: undefined;
21
+ };
22
+ style: {
23
+ type: PropType<StyleValue>;
24
+ required: false;
25
+ default: undefined;
26
+ };
27
+ }>, () => VNodeChild, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ schema: {
29
+ type: PropType<unknown>;
30
+ required: true;
31
+ };
32
+ class: {
33
+ type: PropType<ClassValue>;
34
+ required: false;
35
+ default: undefined;
36
+ };
37
+ style: {
38
+ type: PropType<StyleValue>;
39
+ required: false;
40
+ default: undefined;
41
+ };
42
+ }>> & Readonly<{}>, {
43
+ class: ClassValue;
44
+ style: StyleValue;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
+ export default Field;
47
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,UAAU,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAgC7D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,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;;;;UAiI5C,UAAU;;cA1IH,QAAQ,CAAC,OAAO,CAAC;;;;cAIS,QAAQ,CAAC,UAAU,CAAC;;;;;cAK7B,QAAQ,CAAC,UAAU,CAAC;;;;;;;4EAgLzD,CAAA;AAEF,eAAe,KAAK,CAAA"}