annil 1.12.0-alpha.8 → 1.13.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 (180) hide show
  1. package/CHANGELOG.md +321 -0
  2. package/README.md +38 -10
  3. package/dist/api/ChunkComponent/ChunkStore/ChunkStoreOption.d.ts +2 -1
  4. package/dist/api/ChunkComponent/index.d.ts +3 -3
  5. package/dist/api/ChunkComponent/index.js.map +1 -1
  6. package/dist/api/CustomComponent/CustomEvents/CustomEventsConstraint.d.ts +3 -3
  7. package/dist/api/CustomComponent/CustomInherit/CustomInheritConstraint.d.ts +2 -2
  8. package/dist/api/CustomComponent/CustomStore/CustomStoreConstraint.d.ts +3 -2
  9. package/dist/api/CustomComponent/CustomStore/CustomStoreOption.d.ts +1 -3
  10. package/dist/api/CustomComponent/index.d.ts +8 -27
  11. package/dist/api/CustomComponent/index.js.map +1 -1
  12. package/dist/api/CustomComponent/returnType.d.ts +27 -0
  13. package/dist/api/CustomComponent/returnType.js +2 -0
  14. package/dist/api/CustomComponent/returnType.js.map +1 -0
  15. package/dist/api/DefineComponent/RootComponent/RootComponentOption.d.ts +3 -3
  16. package/dist/api/DefineComponent/SubComponents/SubComponentsOption.d.ts +3 -3
  17. package/dist/api/DefineComponent/index.d.ts +10 -12
  18. package/dist/api/DefineComponent/index.js.map +1 -1
  19. package/dist/api/DefineComponent/normalizeOptions/__throttleDebounce__FieldCheck.d.ts +3 -3
  20. package/dist/api/DefineComponent/normalizeOptions/__throttleDebounce__FieldCheck.js.map +1 -1
  21. package/dist/api/DefineComponent/normalizeOptions/handleRootComponent.d.ts +2 -2
  22. package/dist/api/DefineComponent/normalizeOptions/handleRootComponent.js.map +1 -1
  23. package/dist/api/DefineComponent/normalizeOptions/handleStore/reactionRegister.js +4 -19
  24. package/dist/api/DefineComponent/normalizeOptions/handleStore/reactionRegister.js.map +1 -1
  25. package/dist/api/DefineComponent/normalizeOptions/handleSubComponents.d.ts +2 -2
  26. package/dist/api/DefineComponent/normalizeOptions/handleSubComponents.js.map +1 -1
  27. package/dist/api/DefineComponent/normalizeOptions/index.d.ts +2 -2
  28. package/dist/api/DefineComponent/normalizeOptions/index.js.map +1 -1
  29. package/dist/api/DefineComponent/normalizeOptions/otherFieldsHandle.d.ts +2 -2
  30. package/dist/api/DefineComponent/normalizeOptions/otherFieldsHandle.js.map +1 -1
  31. package/dist/api/DefineComponent/normalizeOptions/sameFuncFieldsCollect.d.ts +3 -3
  32. package/dist/api/DefineComponent/normalizeOptions/sameFuncFieldsCollect.js.map +1 -1
  33. package/dist/api/DefineComponent/returnType/ComponentDoc.d.ts +9 -0
  34. package/dist/api/DefineComponent/returnType/ComponentDoc.js +2 -0
  35. package/dist/api/DefineComponent/returnType/ComponentDoc.js.map +1 -0
  36. package/dist/api/DefineComponent/returnType/GenerateComponentDoc.d.ts +18 -0
  37. package/dist/api/DefineComponent/returnType/GenerateComponentDoc.js +2 -0
  38. package/dist/api/DefineComponent/returnType/GenerateComponentDoc.js.map +1 -0
  39. package/dist/api/DefineComponent/{ReturnType/CreatePageDoc.d.ts → returnType/GeneratePageDoc.d.ts} +2 -2
  40. package/dist/api/DefineComponent/returnType/GeneratePageDoc.js +2 -0
  41. package/dist/api/DefineComponent/returnType/GeneratePageDoc.js.map +1 -0
  42. package/dist/api/DefineComponent/returnType/GetCustomEventDocOfSubDoc.d.ts +8 -0
  43. package/dist/api/DefineComponent/returnType/GetCustomEventDocOfSubDoc.js.map +1 -0
  44. package/dist/api/DefineComponent/returnType/PageDoc.js.map +1 -0
  45. package/dist/api/RootComponent/Events/EventsConstraint.d.ts +4 -4
  46. package/dist/api/RootComponent/Store/GeTStoreDoc.d.ts +3 -5
  47. package/dist/api/RootComponent/Store/StoreConstraint.d.ts +1 -5
  48. package/dist/api/RootComponent/Store/StoreOption.d.ts +1 -12
  49. package/dist/api/RootComponent/index.d.ts +3 -20
  50. package/dist/api/RootComponent/index.js.map +1 -1
  51. package/dist/api/RootComponent/returnType.d.ts +46 -0
  52. package/dist/api/RootComponent/returnType.js +2 -0
  53. package/dist/api/RootComponent/returnType.js.map +1 -0
  54. package/dist/api/wxSugar.d.ts +1 -1
  55. package/dist/thirdLib/vant/Popup.d.ts +1 -1
  56. package/dist/thirdLib/wm/Textarea.d.ts +1 -1
  57. package/dist/thirdLib/wm/map.d.ts +1 -1
  58. package/dist/thirdLib/wm/scrollView.d.ts +2 -2
  59. package/dist/thirdLib/wm/swiper.d.ts +1 -1
  60. package/dist/thirdLib/wm/view.d.ts +1 -1
  61. package/dist/types/AddNullForObject.d.ts +2 -0
  62. package/dist/types/AddNullForObject.js +2 -0
  63. package/dist/types/AddNullForObject.js.map +1 -0
  64. package/dist/types/CreateComponentType.d.ts +4 -4
  65. package/dist/types/ExtendComponentType.d.ts +3 -3
  66. package/dist/types/GetComponentPrefix.d.ts +2 -2
  67. package/dist/types/Replace.d.ts +8 -0
  68. package/dist/types/Replace.js +2 -0
  69. package/dist/types/Replace.js.map +1 -0
  70. package/dist/types/ReplacePrefix.d.ts +4 -4
  71. package/dist/utils/debounce.d.ts +1 -3
  72. package/dist/utils/debounce.js.map +1 -1
  73. package/dist/utils/nonNullable.d.ts +1 -1
  74. package/dist/utils/nonNullable.js +2 -2
  75. package/dist/utils/nonNullable.js.map +1 -1
  76. package/dist/utils/throttle.d.ts +1 -3
  77. package/dist/utils/throttle.js.map +1 -1
  78. package/package.json +10 -4
  79. package/src/api/ChunkComponent/ChunkComputed/test/mock.ts +14 -14
  80. package/src/api/ChunkComponent/ChunkData/test/mock.ts +18 -18
  81. package/src/api/ChunkComponent/ChunkStore/ChunkStoreOption.ts +2 -1
  82. package/src/api/ChunkComponent/ChunkStore/test/error.test.ts +3 -31
  83. package/src/api/ChunkComponent/ChunkStore/test/mock.ts +12 -12
  84. package/src/api/ChunkComponent/ChunkStore/test/normal.test.ts +40 -41
  85. package/src/api/ChunkComponent/index.ts +50 -20
  86. package/src/api/CustomComponent/CustomComputed/test/error.test.ts +4 -4
  87. package/src/api/CustomComponent/CustomComputed/test/normal.test.ts +5 -5
  88. package/src/api/CustomComponent/CustomData/test/error.test.ts +4 -4
  89. package/src/api/CustomComponent/CustomData/test/normal.test.ts +9 -6
  90. package/src/api/CustomComponent/CustomEvents/CustomEventsConstraint.ts +6 -6
  91. package/src/api/CustomComponent/CustomEvents/test/error.test.ts +4 -4
  92. package/src/api/CustomComponent/CustomEvents/test/normal.test.ts +3 -3
  93. package/src/api/CustomComponent/CustomInherit/CustomInheritConstraint.ts +2 -2
  94. package/src/api/CustomComponent/CustomInherit/test/error.test.ts +6 -6
  95. package/src/api/CustomComponent/CustomInherit/test/normal.test.ts +4 -4
  96. package/src/api/CustomComponent/CustomInstance/test/error.test.ts +2 -2
  97. package/src/api/CustomComponent/CustomInstance/test/normal.test.ts +5 -5
  98. package/src/api/CustomComponent/CustomMethods/test/error.test.ts +5 -5
  99. package/src/api/CustomComponent/CustomMethods/test/normarl.test.ts +5 -5
  100. package/src/api/CustomComponent/CustomReturnType/test/error.test.ts +2 -2
  101. package/src/api/CustomComponent/CustomReturnType/test/normal.test.ts +3 -3
  102. package/src/api/CustomComponent/CustomStore/CustomStoreConstraint.ts +3 -2
  103. package/src/api/CustomComponent/CustomStore/CustomStoreOption.ts +0 -2
  104. package/src/api/CustomComponent/CustomStore/test/error.test.ts +8 -48
  105. package/src/api/CustomComponent/CustomStore/test/normal.test.ts +2 -47
  106. package/src/api/CustomComponent/CustomWatch/test/WatchComputed.test.ts +4 -4
  107. package/src/api/CustomComponent/CustomWatch/test/WatchRootData.test.ts +2 -2
  108. package/src/api/CustomComponent/CustomWatch/test/WatchSubData.test.ts +2 -2
  109. package/src/api/CustomComponent/index.ts +21 -45
  110. package/src/api/CustomComponent/returnType.ts +53 -0
  111. package/src/api/DefineComponent/NameOrPage/NameOrPathOption.ts +4 -2
  112. package/src/api/DefineComponent/NameOrPage/test/error.test.ts +6 -6
  113. package/src/api/DefineComponent/RootComponent/RootComponentOption.ts +3 -3
  114. package/src/api/DefineComponent/SubComponents/SubComponentsOption.ts +4 -3
  115. package/src/api/DefineComponent/SubComponents/test/normal.test.ts +4 -4
  116. package/src/api/DefineComponent/index.ts +31 -30
  117. package/src/api/DefineComponent/normalizeOptions/__throttleDebounce__FieldCheck.ts +3 -3
  118. package/src/api/DefineComponent/normalizeOptions/handleRootComponent.ts +3 -2
  119. package/src/api/DefineComponent/normalizeOptions/handleStore/reactionRegister.ts +5 -20
  120. package/src/api/DefineComponent/normalizeOptions/handleSubComponents.ts +2 -2
  121. package/src/api/DefineComponent/normalizeOptions/index.ts +2 -2
  122. package/src/api/DefineComponent/normalizeOptions/otherFieldsHandle.ts +3 -3
  123. package/src/api/DefineComponent/normalizeOptions/sameFuncFieldsCollect.ts +4 -3
  124. package/src/api/DefineComponent/returnType/ComponentDoc.ts +25 -0
  125. package/src/api/DefineComponent/{ReturnType/CreateComponentDoc.ts → returnType/GenerateComponentDoc.ts} +13 -10
  126. package/src/api/DefineComponent/{ReturnType/CreatePageDoc.ts → returnType/GeneratePageDoc.ts} +7 -3
  127. package/src/api/DefineComponent/{ReturnType → returnType}/GetCustomEventDocOfSubDoc.ts +4 -4
  128. package/src/api/DefineComponent/{ReturnType → returnType}/test/normalComponentDoc.test.ts +24 -13
  129. package/src/api/RootComponent/Events/EventsConstraint.ts +6 -6
  130. package/src/api/RootComponent/Events/EventsOption.ts +2 -2
  131. package/src/api/RootComponent/Events/test/normal.test.ts +5 -5
  132. package/src/api/RootComponent/Store/GeTStoreDoc.ts +13 -9
  133. package/src/api/RootComponent/Store/StoreConstraint.ts +1 -7
  134. package/src/api/RootComponent/Store/StoreOption.ts +6 -40
  135. package/src/api/RootComponent/Store/test/error.test.ts +3 -38
  136. package/src/api/RootComponent/Store/test/normal.test.ts +0 -46
  137. package/src/api/RootComponent/index.ts +8 -25
  138. package/src/api/RootComponent/returnType.ts +57 -0
  139. package/src/api/wxSugar.ts +1 -1
  140. package/src/thirdLib/vant/Popup.ts +1 -1
  141. package/src/thirdLib/wm/Textarea.ts +1 -1
  142. package/src/thirdLib/wm/map.ts +1 -1
  143. package/src/thirdLib/wm/scrollView.ts +2 -2
  144. package/src/thirdLib/wm/swiper.test.ts +24 -0
  145. package/src/thirdLib/wm/swiper.ts +1 -1
  146. package/src/thirdLib/wm/view.ts +1 -1
  147. package/src/types/CreateComponentType.ts +5 -5
  148. package/src/types/ExtendComponentType.ts +11 -11
  149. package/src/types/GetComponentPrefix.ts +4 -4
  150. package/src/types/ReplacePrefix.ts +6 -6
  151. package/src/utils/debounce.ts +6 -6
  152. package/src/utils/nonNullable.ts +4 -1
  153. package/src/utils/throttle.ts +5 -5
  154. package/tsconfig.json +3 -2
  155. package/dist/api/CustomComponent/CustomComponentType.d.ts +0 -10
  156. package/dist/api/CustomComponent/CustomComponentType.js +0 -2
  157. package/dist/api/CustomComponent/CustomComponentType.js.map +0 -1
  158. package/dist/api/DefineComponent/ReturnType/ComponentType.d.ts +0 -9
  159. package/dist/api/DefineComponent/ReturnType/ComponentType.js +0 -2
  160. package/dist/api/DefineComponent/ReturnType/ComponentType.js.map +0 -1
  161. package/dist/api/DefineComponent/ReturnType/CreateComponentDoc.d.ts +0 -18
  162. package/dist/api/DefineComponent/ReturnType/CreateComponentDoc.js +0 -2
  163. package/dist/api/DefineComponent/ReturnType/CreateComponentDoc.js.map +0 -1
  164. package/dist/api/DefineComponent/ReturnType/CreatePageDoc.js +0 -2
  165. package/dist/api/DefineComponent/ReturnType/CreatePageDoc.js.map +0 -1
  166. package/dist/api/DefineComponent/ReturnType/GetCustomEventDocOfSubDoc.d.ts +0 -8
  167. package/dist/api/DefineComponent/ReturnType/GetCustomEventDocOfSubDoc.js.map +0 -1
  168. package/dist/api/DefineComponent/ReturnType/PageDoc.js.map +0 -1
  169. package/dist/api/RootComponent/RootComponentType.d.ts +0 -22
  170. package/dist/api/RootComponent/RootComponentType.js +0 -2
  171. package/dist/api/RootComponent/RootComponentType.js.map +0 -1
  172. package/src/api/CustomComponent/CustomComponentType.ts +0 -37
  173. package/src/api/DefineComponent/ReturnType/ComponentType.ts +0 -25
  174. package/src/api/RootComponent/RootComponentType.ts +0 -44
  175. /package/dist/api/DefineComponent/{ReturnType → returnType}/GetCustomEventDocOfSubDoc.js +0 -0
  176. /package/dist/api/DefineComponent/{ReturnType → returnType}/PageDoc.d.ts +0 -0
  177. /package/dist/api/DefineComponent/{ReturnType → returnType}/PageDoc.js +0 -0
  178. /package/src/api/DefineComponent/{ReturnType → returnType}/GetPropertiesDocOfSubDoc.ts +0 -0
  179. /package/src/api/DefineComponent/{ReturnType → returnType}/PageDoc.ts +0 -0
  180. /package/src/api/DefineComponent/{ReturnType → returnType}/test/normalPageDoc.test.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,327 @@
4
4
 
5
5
  * 解决DetailedType不接收接口类型的错误 ([ae8acbf](https://github.com/missannil/annil/commit/ae8acbfc2e62f99db565c448ad9253aa549e78bb))
6
6
 
7
+ ## [1.13.0](https://github.com/missannil/annil/compare/v1.12.7...v1.13.0) (2026-03-22)
8
+
9
+
10
+ ### Features
11
+
12
+ * 去除store的对象写法 ([9f2d50c](https://github.com/missannil/annil/commit/9f2d50c68fadda1ef166fcbedb2890461650c687))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * nonNullable.ts 增加第二个错误信息参数,第三方库和wm库类型中customEvents字段变为events ([a38e8c5](https://github.com/missannil/annil/commit/a38e8c5f14237884c338d57bb11fcee1538b57fe))
18
+ * 使用Replace泛型解决实例和setData中使用data字段推导类型为字面量的问题 ([9a2cf3d](https://github.com/missannil/annil/commit/9a2cf3da30d2b0a5ade1e22800f34df97cce7896))
19
+
20
+ ## [1.12.7](https://github.com/missannil/annil/compare/v1.12.7...v1.12.7) (2026-03-19)
21
+
22
+
23
+ ### type
24
+
25
+ * 修改了customEvents字段的类型,允许undefined类型 ([2c1c35a](https://github.com/missannil/annil/commit/2c1c35a8581016c2e0eb9cfeb01f2ed6e4f8d53c))
26
+
27
+
28
+ ### Features
29
+
30
+ * 1.0.0 ([14c418f](https://github.com/missannil/annil/commit/14c418fa0341869f398fe68007155926222cb858))
31
+ * api/navigateTo 改为wxSugar 增加导出redirectTo ([f5a6141](https://github.com/missannil/annil/commit/f5a61411fa903545de8460052ca3512923905388))
32
+ * computedUpdater函数去除默认参数,修正Wm.Textarea类型 ([e32f965](https://github.com/missannil/annil/commit/e32f965f7cd21c0545c9eb87a8f8bd9de8d39327))
33
+ * computed函数中this.data子字段设置为只读 ([66ac333](https://github.com/missannil/annil/commit/66ac333c63edd6d3e922c4691afe5c2f85c6972a))
34
+ * customEvents字段增加debounce和throttle字段,配置后自定义函数变为节流或防抖函数 ([1599797](https://github.com/missannil/annil/commit/15997975291ecbf484dd22e50974a213ea5c9f35))
35
+ * slotComponents ([273d4c6](https://github.com/missannil/annil/commit/273d4c60a26f5105fd336510fca603d704db917c))
36
+ * subComponent的inherit字段加入数组类型,表示联合类型 ([a7930ff](https://github.com/missannil/annil/commit/a7930ff1abe18579bff6f1746911c2f30274325b))
37
+ * this.data下增加 ____oberverHandler__字段 记录在计算属性未初始化前发生监控字段变化的处理函数 ([01fe991](https://github.com/missannil/annil/commit/01fe9915616534cd7d4045a7f3d8237c509e7f7c))
38
+ * watch支持配置单个字段监控多个数据,但没有类型提示 ([37db28a](https://github.com/missannil/annil/commit/37db28a87a7f3af145a7c141e05d2a3b35e6bcb7))
39
+ * watch支持配置单个字段监控多个数据,但没有类型提示 计算属性初始化改为beforeCreated ([cbf50e8](https://github.com/missannil/annil/commit/cbf50e8234d65abb420e76057229fbe738b2ad93))
40
+ * 去除DefineComponent中针对对象类型加入null ([#241](https://github.com/missannil/annil/issues/241)) ([091485e](https://github.com/missannil/annil/commit/091485e7327c3c94600d61c679e056df845f6222))
41
+ * 在attached周期结束后,如果实例的data字段没有attached字段,则加入attached:true,用于表明组件启动完毕. ([091485e](https://github.com/missannil/annil/commit/091485e7327c3c94600d61c679e056df845f6222))
42
+ * 增加原生组件类型 Wm.Map,增加API navigateBack ([a58fed1](https://github.com/missannil/annil/commit/a58fed110582a6f5edd0013f920a69769d08e1a8))
43
+ * 增加导出typeEqual函数用于类型校验 ([e6b9ffc](https://github.com/missannil/annil/commit/e6b9ffc67b13572b47f7457d2cf9308be70fb7cc))
44
+ * 新功能 ([0da1832](https://github.com/missannil/annil/commit/0da1832b549a3b5b4e316ec8cf4866496900fc70))
45
+ * 新增组件实例全局注入功能 ([2e44e57](https://github.com/missannil/annil/commit/2e44e574d761d8f640d5f58e3984af8c86b94ec3))
46
+ * 组件实例增加cloneData字段 ([a2bc52d](https://github.com/missannil/annil/commit/a2bc52de20649a735ec860cdaae2bb411028b5fe))
47
+ * 计算属性初始化在attached周期,之前可能在attach周期会引发计算属性传值时,出现null导致错误的问题 ([091485e](https://github.com/missannil/annil/commit/091485e7327c3c94600d61c679e056df845f6222))
48
+ * 计算属性支持this任意字段,之前只支持data字段 ([5ea92cb](https://github.com/missannil/annil/commit/5ea92cbf32f4892056474973c0a55be780f68894))
49
+ * 页面onLoad和组件pageLifetimes.load周期参数使用encodeURI加密和解析 ([8b5cc6e](https://github.com/missannil/annil/commit/8b5cc6ee65abb0def005126c9382a07b8affc0ca))
50
+
51
+
52
+ ### Bug Fixes
53
+
54
+ * _SubComponentType 增加undefined类型,subComponent组件配置增加与root数据字段和彼此内部字段重复检测 ([eacc152](https://github.com/missannil/annil/commit/eacc152c7a8fe8953202fa53aff2742c0066dccc))
55
+ * 1. 计算属性依赖优化和返回值为代理的问题 ([6f28738](https://github.com/missannil/annil/commit/6f28738256c1884334b440271741ee1efb9e5519))
56
+ * 1.5.7不设置inject引发的问题 ([ff04ae2](https://github.com/missannil/annil/commit/ff04ae213020c2c9e985a3c0fdbe33d323cd36e4))
57
+ * 1.7.0action发布时npm密钥过期问题 ([0ad71b9](https://github.com/missannil/annil/commit/0ad71b96aaa02668a4052cd57ea2ff8c46598107))
58
+ * 1.7.6 ([e0e83c7](https://github.com/missannil/annil/commit/e0e83c7f44512abe9475d93b051a4e3364513b79))
59
+ * 1.8.0发布问题,加入throttleDebounce测试用例,优化computed,提高覆盖率,依赖优化 ([67cfc49](https://github.com/missannil/annil/commit/67cfc4909acce7f5d4fe2d58b2d3b1d54b81163e))
60
+ * chunkComponent events字段和methods字段类型前缀错误 ([#239](https://github.com/missannil/annil/issues/239)) ([e6b9ffc](https://github.com/missannil/annil/commit/e6b9ffc67b13572b47f7457d2cf9308be70fb7cc))
61
+ * comouted属性初始化依赖去重bug,并添加更新时去重 ([f228e55](https://github.com/missannil/annil/commit/f228e551dce65d97450b9a1aa3c7b3d3eb3e8199))
62
+ * computed 依赖优化 ([cff7833](https://github.com/missannil/annil/commit/cff7833196fc2df52ae769211a3c5893f67aa2ab))
63
+ * computed函数中this.data子字段改为只读。 ([20f3244](https://github.com/missannil/annil/commit/20f3244a6c1c22dd5b347b24be6f24265bebca8d))
64
+ * coverage ([e96ec6f](https://github.com/missannil/annil/commit/e96ec6f759640516f0084350ea726c47a4268362))
65
+ * isPagecheck ([03f6452](https://github.com/missannil/annil/commit/03f64523dc5f7da32616ec5c0ecfc4f50d4d4b7d))
66
+ * jest.config.ts的transform项修复,update typescript version from 5.3.2 to 5.5.2 ([00e221c](https://github.com/missannil/annil/commit/00e221ca37b042f042715b26dd5d158c0671a30e))
67
+ * normalize casing src/api/DefineComponent/returnType ([43510ce](https://github.com/missannil/annil/commit/43510cec4aa946303d48de762135d79572b8880c))
68
+ * release.yml ([c8b68b6](https://github.com/missannil/annil/commit/c8b68b66a50f5834756ab9f0d926bc7f1be2f90e))
69
+ * rename ComponentDocExtension to DocAssign ([d933e0b](https://github.com/missannil/annil/commit/d933e0bff67a52d5f6ed9c00c60f7d2a2232aca0))
70
+ * setData时data中的数据类型不是组件类型的错误 ([871ac43](https://github.com/missannil/annil/commit/871ac439d1786cb74fb752e353a1f953d11de780))
71
+ * subComponents的data字段和store字段加入isReady字段和内部字段 ([06a22e0](https://github.com/missannil/annil/commit/06a22e0faff21dbc1e96862f190b2af11db55603))
72
+ * subComputed约束 去除默认{} ([054cb48](https://github.com/missannil/annil/commit/054cb482cdc6c84e820d69d163b9cafe0c01de81))
73
+ * test.yml ([4c0fca9](https://github.com/missannil/annil/commit/4c0fca9d0ce1050f5197a3730edac02cf32aac42))
74
+ * verbatimModuleSyntax:true ([486cf8d](https://github.com/missannil/annil/commit/486cf8dff98320eb5534ec01994a467ec75f5ced))
75
+ * yml ([e51c002](https://github.com/missannil/annil/commit/e51c00290d24d9372766e66e9c807e0c3d65429f))
76
+ * yml ([ff6cff3](https://github.com/missannil/annil/commit/ff6cff375db10c396ea8707c12aa94b571762ddd))
77
+ * 上次覆盖率没通过 ([d5b4f23](https://github.com/missannil/annil/commit/d5b4f2398974878ae92d87c4155265554e08e5e7))
78
+ * 为subComponents内部组件类型增加 prefix_isReady?:boolean 字段。 ([e78041d](https://github.com/missannil/annil/commit/e78041d5f151d71c1d45652b0508aa4c2430ecde))
79
+ * 优化_SubComponentType类型,避免接口或类的类型由于无签名照成的报错 ([ab97097](https://github.com/missannil/annil/commit/ab970972717b08138c8438825a1e19f7e3dd7c38))
80
+ * 优化计算属性依赖 ([017ad55](https://github.com/missannil/annil/commit/017ad55d0bc3edcc2cdeec68474adba766da57b7))
81
+ * 修复 ([7b6f25a](https://github.com/missannil/annil/commit/7b6f25a98fe8094e8ae0a1819c4f4e54e390aa96))
82
+ * 修复 ([4a63e10](https://github.com/missannil/annil/commit/4a63e100831cd4f78b04a463357ecab34c78c1e1))
83
+ * 修复 properties对象字段为字面量类型时value类型不匹配的问题 ([faa5c96](https://github.com/missannil/annil/commit/faa5c96c0c0af8112b7828911cc0d40f56903669))
84
+ * 修复1.1版本功能,原因为1.1发布时,功能代码没有提交 ([6aca053](https://github.com/missannil/annil/commit/6aca053a5914c5e6ccacfab8712c9c036e770177))
85
+ * 修复DefinedComponent的subComonsnts字段为[never]类型时,生成page类型错误的情况 ([a8aec74](https://github.com/missannil/annil/commit/a8aec74bbe964585f71d96bebdc85a32241271aa))
86
+ * 修复isPage错误 ([301366d](https://github.com/missannil/annil/commit/301366d9b30f909c59db727db53847bd789cb144))
87
+ * 修复jest报错‘ ([66ac333](https://github.com/missannil/annil/commit/66ac333c63edd6d3e922c4691afe5c2f85c6972a))
88
+ * 修复RootCOmonent在properties的可选数组类型时,value验证错误的问题 ([b836e83](https://github.com/missannil/annil/commit/b836e83916a6649b004646893ad91350787c9421))
89
+ * 修复SubComponent中计算属性无法获取data和store中数据的错误。 ([014a375](https://github.com/missannil/annil/commit/014a375de3ae657740b185b91f41e1215ef80ace))
90
+ * 修复依赖,把hry-types放到peer中 ([2e44e57](https://github.com/missannil/annil/commit/2e44e574d761d8f640d5f58e3984af8c86b94ec3))
91
+ * 修复当依赖字段中存在","时,计算属性一直循环计算的问题 ([f1798c0](https://github.com/missannil/annil/commit/f1798c04526975ef5986707684bbc5f3b94f2169))
92
+ * 修复计算属性中使用this的问题 ([d9d1635](https://github.com/missannil/annil/commit/d9d1635489a8a4fb4db9c387c2b3e182ea415445))
93
+ * 修改CreateSubComponentDoc 让结果为{}类型变为never ([f1798c0](https://github.com/missannil/annil/commit/f1798c04526975ef5986707684bbc5f3b94f2169))
94
+ * 修改自定义事件detail类型为ReadOnlyDeep,以便调用时可传入实例中的data类型(都是ReadOnlyDeep的) ([428710e](https://github.com/missannil/annil/commit/428710ea84717c45361d1e6c9c7db46c693026a9))
95
+ * 修正自定义事件文档类型,去除readonlyDeep ([b4d329b](https://github.com/missannil/annil/commit/b4d329b8c1b90407fd714fa42784c2dcb0c705f8))
96
+ * 去除__computedStatus__,修复observers中this.setData不触发 ([8296972](https://github.com/missannil/annil/commit/829697261f708089294a122a462dfc85ac9df911))
97
+ * 去除this.data、observer参数,watch参数的readonlyDeep类型 ([4df6fd1](https://github.com/missannil/annil/commit/4df6fd117e573980293e609dc422c2d5f4a91c32))
98
+ * 去除verbatimModuleSyntax ([8687d3d](https://github.com/missannil/annil/commit/8687d3dab606593def0626eccd39830c806f5f1d))
99
+ * 同一组件多次复用时 computed和watch的问题 ([e996f10](https://github.com/missannil/annil/commit/e996f10369dc5fc64225f573a9f28c3c542c7226))
100
+ * 增加对DefinedComponent 的 path字段检测(与实例的is比较) ([8460e4e](https://github.com/missannil/annil/commit/8460e4eb29ad21a2df7adf53bffeb4c887a122e9))
101
+ * 当SubComponents组件有后缀时,阻止穿透(_catch)事件类型被返回的错误 ([deab409](https://github.com/missannil/annil/commit/deab409c1116d2e810cc018797b6c38061701f25))
102
+ * 无注入数据时 watch监控类型错误的问题和SubComponentdata数据为字面量类型造成实例类型错误的问题 ([3cb2b90](https://github.com/missannil/annil/commit/3cb2b9069a9aa0f95767a346f16634d4db3109f9))
103
+ * 测试load功能 ([bb3f0fd](https://github.com/missannil/annil/commit/bb3f0fd2315f2429488478047109b07d16686741))
104
+ * 用deepClone代替unwarp以修复计算属性返回数据包含代理对象 ([38cc56a](https://github.com/missannil/annil/commit/38cc56a477a8adcaaf73f4cbef44cd8b701a175d))
105
+ * 类型修改 ([278058c](https://github.com/missannil/annil/commit/278058ccc13cae016bfcc9678875ed8c79a35472))
106
+ * 组件/页面接受load和onLoad是参数解析的问题 ([d4b13f9](https://github.com/missannil/annil/commit/d4b13f95679dd5ea81f872991403fe4bb3cfd448))
107
+ * 组件类型中别名被解析的问题 ([67e4886](https://github.com/missannil/annil/commit/67e48868b55853c41f5ad4c713dab12e31380f64))
108
+ * 解决SpecificType不接收接口类型的错误 ([ae8acbf](https://github.com/missannil/annil/commit/ae8acbfc2e62f99db565c448ad9253aa549e78bb))
109
+ * 计算属性优化 ([2479d08](https://github.com/missannil/annil/commit/2479d08720b2e69782c063b5fde394f0fa35d28a))
110
+ * 计算属性依赖为undefined时的错误 ([f1798c0](https://github.com/missannil/annil/commit/f1798c04526975ef5986707684bbc5f3b94f2169))
111
+ * 错误修复 ([1dac2ba](https://github.com/missannil/annil/commit/1dac2ba5fffe4c902afb9d946e158b40473fa82b))
112
+
113
+
114
+ ### Miscellaneous Chores
115
+
116
+ * publish ([52c4258](https://github.com/missannil/annil/commit/52c42589cd0e6c4a513f628b1caa79885b1f376a))
117
+ * release ([87d63f6](https://github.com/missannil/annil/commit/87d63f690a5bafdecf77a8f5c53bd43e0c7b4d82))
118
+ * release 1.12.0-alpha.8 ([#245](https://github.com/missannil/annil/issues/245)) ([7a5d842](https://github.com/missannil/annil/commit/7a5d8422ed871e1fcd794efdc2a0250cd62a086f))
119
+ * release 1.12.5 ([9463fd6](https://github.com/missannil/annil/commit/9463fd652b2c9fd591e413fa13e08f001421a2aa))
120
+ * release alpha.4 ([433779f](https://github.com/missannil/annil/commit/433779f12e7a3549a77d87c2663d37405ea2692f))
121
+ * release-1.12.4 test ([2d79094](https://github.com/missannil/annil/commit/2d79094de3807bfe12ecad4ff76b45b48f255d51))
122
+ * release-please.yml 增加dev和rc发版配置 ([02c0215](https://github.com/missannil/annil/commit/02c0215fee0664d65b74a25ecb3ad571f6ddaad6))
123
+ * release:1.12.3 ([44459eb](https://github.com/missannil/annil/commit/44459ebef5ceaff431c022127dcee7128998a08d))
124
+ * release:1.12.4 ([ae33dc7](https://github.com/missannil/annil/commit/ae33dc7d6582d2ecfac24ae144b460ea723f4e9f))
125
+ * release:1.12.6 ([bf01bb3](https://github.com/missannil/annil/commit/bf01bb3187febc2cb0462bf3ad50a63597beda7c))
126
+ * release:1.12.7 ([0dee775](https://github.com/missannil/annil/commit/0dee775d7914f7317be70668e7801752f425ffa3))
127
+ * test beta ([a87e793](https://github.com/missannil/annil/commit/a87e793601986aca1544506f2bf659420879e741))
128
+ * verison test ([d1f34b0](https://github.com/missannil/annil/commit/d1f34b06c26eb186378261809da9e4eeab5a2553))
129
+ * 小程序不支持2022打包 ([#187](https://github.com/missannil/annil/issues/187)) ([8e2bd2c](https://github.com/missannil/annil/commit/8e2bd2c074d0870b9c45631feb214e6e460565eb))
130
+ * 更改README,SubComponentDoc->SubComponentType,RootComponentDoc->RootComponentType ([073d273](https://github.com/missannil/annil/commit/073d2733f5b15923d67f3a04a7a15902f73a9205))
131
+ * 更改SpecificType为DetailedType ([b56a920](https://github.com/missannil/annil/commit/b56a920780f7dee1cb49ee166c624b609cfd8431))
132
+ * 测试 ([#185](https://github.com/missannil/annil/issues/185)) ([7da9fc8](https://github.com/missannil/annil/commit/7da9fc8d0f84167554f95a856da71310207a77fa))
133
+ * 测试自定义3 ([b25df03](https://github.com/missannil/annil/commit/b25df0368785499537405415072e48ea842893c7))
134
+ * 测试自定义发布 ([d179ebd](https://github.com/missannil/annil/commit/d179ebd36219bec5c92864fd3e2989913ade33a2))
135
+ * 自定义发布 ([8fd8020](https://github.com/missannil/annil/commit/8fd802092f4d2f8d784c1530d0cd6ffdd178790a))
136
+
137
+
138
+ ### Code Refactoring
139
+
140
+ * 重构 watch store computed 加入ChunkComponent SubComponent改为CustomComponent ([#236](https://github.com/missannil/annil/issues/236)) ([188853e](https://github.com/missannil/annil/commit/188853e17242e27ba5e50d5cfd513607ac674287))
141
+
142
+
143
+ ### Tests
144
+
145
+ * 修改test.yml实现pr错误检测,修改release.yml实现发布前上传覆盖率报告 ([ae8acbf](https://github.com/missannil/annil/commit/ae8acbfc2e62f99db565c448ad9253aa549e78bb))
146
+
147
+
148
+ ### Continuous Integration
149
+
150
+ * 修改test时长为默认 ([4fde68d](https://github.com/missannil/annil/commit/4fde68d332ab78fc784cb32c82b8c4c8682b956c))
151
+
152
+ ## [1.12.7](https://github.com/missannil/annil/compare/v1.12.6...v1.12.7) (2026-03-19)
153
+
154
+
155
+ ### Miscellaneous Chores
156
+
157
+ * release:1.12.7 ([0dee775](https://github.com/missannil/annil/commit/0dee775d7914f7317be70668e7801752f425ffa3))
158
+
159
+ ## [1.12.6](https://github.com/missannil/annil/compare/v1.12.5...v1.12.6) (2026-03-19)
160
+
161
+
162
+ ### Miscellaneous Chores
163
+
164
+ * release:1.12.6 ([bf01bb3](https://github.com/missannil/annil/commit/bf01bb3187febc2cb0462bf3ad50a63597beda7c))
165
+
166
+ ## [1.12.5](https://github.com/missannil/annil/compare/v1.12.4...v1.12.5) (2026-03-19)
167
+
168
+
169
+ ### Miscellaneous Chores
170
+
171
+ * release 1.12.5 ([9463fd6](https://github.com/missannil/annil/commit/9463fd652b2c9fd591e413fa13e08f001421a2aa))
172
+ * release-1.12.4 test ([2d79094](https://github.com/missannil/annil/commit/2d79094de3807bfe12ecad4ff76b45b48f255d51))
173
+
174
+ ## [1.12.4](https://github.com/missannil/annil/compare/v1.12.4...v1.12.4) (2026-03-19)
175
+
176
+
177
+ ### Miscellaneous Chores
178
+
179
+ * release-1.12.4 test ([2d79094](https://github.com/missannil/annil/commit/2d79094de3807bfe12ecad4ff76b45b48f255d51))
180
+
181
+ ## [1.12.4](https://github.com/missannil/annil/compare/v1.12.3...v1.12.4) (2026-03-19)
182
+
183
+
184
+ ### Miscellaneous Chores
185
+
186
+ * release:1.12.4 ([ae33dc7](https://github.com/missannil/annil/commit/ae33dc7d6582d2ecfac24ae144b460ea723f4e9f))
187
+
188
+ ## [1.12.3](https://github.com/missannil/annil/compare/v1.12.2...v1.12.3) (2026-03-19)
189
+
190
+
191
+ ### Miscellaneous Chores
192
+
193
+ * release:1.12.3 ([44459eb](https://github.com/missannil/annil/commit/44459ebef5ceaff431c022127dcee7128998a08d))
194
+
195
+ ## [1.12.0-alpha.8](https://github.com/missannil/annil/compare/v1.12.1-alpha.8...v1.12.0-alpha.8) (2026-03-19)
196
+
197
+
198
+ ### type
199
+
200
+ * 修改了customEvents字段的类型,允许undefined类型 ([2c1c35a](https://github.com/missannil/annil/commit/2c1c35a8581016c2e0eb9cfeb01f2ed6e4f8d53c))
201
+
202
+
203
+ ### Features
204
+
205
+ * 1.0.0 ([14c418f](https://github.com/missannil/annil/commit/14c418fa0341869f398fe68007155926222cb858))
206
+ * api/navigateTo 改为wxSugar 增加导出redirectTo ([f5a6141](https://github.com/missannil/annil/commit/f5a61411fa903545de8460052ca3512923905388))
207
+ * computedUpdater函数去除默认参数,修正Wm.Textarea类型 ([e32f965](https://github.com/missannil/annil/commit/e32f965f7cd21c0545c9eb87a8f8bd9de8d39327))
208
+ * computed函数中this.data子字段设置为只读 ([66ac333](https://github.com/missannil/annil/commit/66ac333c63edd6d3e922c4691afe5c2f85c6972a))
209
+ * customEvents字段增加debounce和throttle字段,配置后自定义函数变为节流或防抖函数 ([1599797](https://github.com/missannil/annil/commit/15997975291ecbf484dd22e50974a213ea5c9f35))
210
+ * slotComponents ([273d4c6](https://github.com/missannil/annil/commit/273d4c60a26f5105fd336510fca603d704db917c))
211
+ * subComponent的inherit字段加入数组类型,表示联合类型 ([a7930ff](https://github.com/missannil/annil/commit/a7930ff1abe18579bff6f1746911c2f30274325b))
212
+ * this.data下增加 ____oberverHandler__字段 记录在计算属性未初始化前发生监控字段变化的处理函数 ([01fe991](https://github.com/missannil/annil/commit/01fe9915616534cd7d4045a7f3d8237c509e7f7c))
213
+ * watch支持配置单个字段监控多个数据,但没有类型提示 ([37db28a](https://github.com/missannil/annil/commit/37db28a87a7f3af145a7c141e05d2a3b35e6bcb7))
214
+ * watch支持配置单个字段监控多个数据,但没有类型提示 计算属性初始化改为beforeCreated ([cbf50e8](https://github.com/missannil/annil/commit/cbf50e8234d65abb420e76057229fbe738b2ad93))
215
+ * 去除DefineComponent中针对对象类型加入null ([#241](https://github.com/missannil/annil/issues/241)) ([091485e](https://github.com/missannil/annil/commit/091485e7327c3c94600d61c679e056df845f6222))
216
+ * 在attached周期结束后,如果实例的data字段没有attached字段,则加入attached:true,用于表明组件启动完毕. ([091485e](https://github.com/missannil/annil/commit/091485e7327c3c94600d61c679e056df845f6222))
217
+ * 增加原生组件类型 Wm.Map,增加API navigateBack ([a58fed1](https://github.com/missannil/annil/commit/a58fed110582a6f5edd0013f920a69769d08e1a8))
218
+ * 增加导出typeEqual函数用于类型校验 ([e6b9ffc](https://github.com/missannil/annil/commit/e6b9ffc67b13572b47f7457d2cf9308be70fb7cc))
219
+ * 新功能 ([0da1832](https://github.com/missannil/annil/commit/0da1832b549a3b5b4e316ec8cf4866496900fc70))
220
+ * 新增组件实例全局注入功能 ([2e44e57](https://github.com/missannil/annil/commit/2e44e574d761d8f640d5f58e3984af8c86b94ec3))
221
+ * 组件实例增加cloneData字段 ([a2bc52d](https://github.com/missannil/annil/commit/a2bc52de20649a735ec860cdaae2bb411028b5fe))
222
+ * 计算属性初始化在attached周期,之前可能在attach周期会引发计算属性传值时,出现null导致错误的问题 ([091485e](https://github.com/missannil/annil/commit/091485e7327c3c94600d61c679e056df845f6222))
223
+ * 计算属性支持this任意字段,之前只支持data字段 ([5ea92cb](https://github.com/missannil/annil/commit/5ea92cbf32f4892056474973c0a55be780f68894))
224
+ * 页面onLoad和组件pageLifetimes.load周期参数使用encodeURI加密和解析 ([8b5cc6e](https://github.com/missannil/annil/commit/8b5cc6ee65abb0def005126c9382a07b8affc0ca))
225
+
226
+
227
+ ### Bug Fixes
228
+
229
+ * _SubComponentType 增加undefined类型,subComponent组件配置增加与root数据字段和彼此内部字段重复检测 ([eacc152](https://github.com/missannil/annil/commit/eacc152c7a8fe8953202fa53aff2742c0066dccc))
230
+ * 1. 计算属性依赖优化和返回值为代理的问题 ([6f28738](https://github.com/missannil/annil/commit/6f28738256c1884334b440271741ee1efb9e5519))
231
+ * 1.5.7不设置inject引发的问题 ([ff04ae2](https://github.com/missannil/annil/commit/ff04ae213020c2c9e985a3c0fdbe33d323cd36e4))
232
+ * 1.7.0action发布时npm密钥过期问题 ([0ad71b9](https://github.com/missannil/annil/commit/0ad71b96aaa02668a4052cd57ea2ff8c46598107))
233
+ * 1.7.6 ([e0e83c7](https://github.com/missannil/annil/commit/e0e83c7f44512abe9475d93b051a4e3364513b79))
234
+ * 1.8.0发布问题,加入throttleDebounce测试用例,优化computed,提高覆盖率,依赖优化 ([67cfc49](https://github.com/missannil/annil/commit/67cfc4909acce7f5d4fe2d58b2d3b1d54b81163e))
235
+ * chunkComponent events字段和methods字段类型前缀错误 ([#239](https://github.com/missannil/annil/issues/239)) ([e6b9ffc](https://github.com/missannil/annil/commit/e6b9ffc67b13572b47f7457d2cf9308be70fb7cc))
236
+ * comouted属性初始化依赖去重bug,并添加更新时去重 ([f228e55](https://github.com/missannil/annil/commit/f228e551dce65d97450b9a1aa3c7b3d3eb3e8199))
237
+ * computed 依赖优化 ([cff7833](https://github.com/missannil/annil/commit/cff7833196fc2df52ae769211a3c5893f67aa2ab))
238
+ * computed函数中this.data子字段改为只读。 ([20f3244](https://github.com/missannil/annil/commit/20f3244a6c1c22dd5b347b24be6f24265bebca8d))
239
+ * coverage ([e96ec6f](https://github.com/missannil/annil/commit/e96ec6f759640516f0084350ea726c47a4268362))
240
+ * isPagecheck ([03f6452](https://github.com/missannil/annil/commit/03f64523dc5f7da32616ec5c0ecfc4f50d4d4b7d))
241
+ * jest.config.ts的transform项修复,update typescript version from 5.3.2 to 5.5.2 ([00e221c](https://github.com/missannil/annil/commit/00e221ca37b042f042715b26dd5d158c0671a30e))
242
+ * normalize casing src/api/DefineComponent/returnType ([43510ce](https://github.com/missannil/annil/commit/43510cec4aa946303d48de762135d79572b8880c))
243
+ * release.yml ([c8b68b6](https://github.com/missannil/annil/commit/c8b68b66a50f5834756ab9f0d926bc7f1be2f90e))
244
+ * rename ComponentDocExtension to DocAssign ([d933e0b](https://github.com/missannil/annil/commit/d933e0bff67a52d5f6ed9c00c60f7d2a2232aca0))
245
+ * setData时data中的数据类型不是组件类型的错误 ([871ac43](https://github.com/missannil/annil/commit/871ac439d1786cb74fb752e353a1f953d11de780))
246
+ * subComponents的data字段和store字段加入isReady字段和内部字段 ([06a22e0](https://github.com/missannil/annil/commit/06a22e0faff21dbc1e96862f190b2af11db55603))
247
+ * subComputed约束 去除默认{} ([054cb48](https://github.com/missannil/annil/commit/054cb482cdc6c84e820d69d163b9cafe0c01de81))
248
+ * test.yml ([4c0fca9](https://github.com/missannil/annil/commit/4c0fca9d0ce1050f5197a3730edac02cf32aac42))
249
+ * verbatimModuleSyntax:true ([486cf8d](https://github.com/missannil/annil/commit/486cf8dff98320eb5534ec01994a467ec75f5ced))
250
+ * yml ([e51c002](https://github.com/missannil/annil/commit/e51c00290d24d9372766e66e9c807e0c3d65429f))
251
+ * yml ([ff6cff3](https://github.com/missannil/annil/commit/ff6cff375db10c396ea8707c12aa94b571762ddd))
252
+ * 上次覆盖率没通过 ([d5b4f23](https://github.com/missannil/annil/commit/d5b4f2398974878ae92d87c4155265554e08e5e7))
253
+ * 为subComponents内部组件类型增加 prefix_isReady?:boolean 字段。 ([e78041d](https://github.com/missannil/annil/commit/e78041d5f151d71c1d45652b0508aa4c2430ecde))
254
+ * 优化_SubComponentType类型,避免接口或类的类型由于无签名照成的报错 ([ab97097](https://github.com/missannil/annil/commit/ab970972717b08138c8438825a1e19f7e3dd7c38))
255
+ * 优化计算属性依赖 ([017ad55](https://github.com/missannil/annil/commit/017ad55d0bc3edcc2cdeec68474adba766da57b7))
256
+ * 修复 ([7b6f25a](https://github.com/missannil/annil/commit/7b6f25a98fe8094e8ae0a1819c4f4e54e390aa96))
257
+ * 修复 ([4a63e10](https://github.com/missannil/annil/commit/4a63e100831cd4f78b04a463357ecab34c78c1e1))
258
+ * 修复 properties对象字段为字面量类型时value类型不匹配的问题 ([faa5c96](https://github.com/missannil/annil/commit/faa5c96c0c0af8112b7828911cc0d40f56903669))
259
+ * 修复1.1版本功能,原因为1.1发布时,功能代码没有提交 ([6aca053](https://github.com/missannil/annil/commit/6aca053a5914c5e6ccacfab8712c9c036e770177))
260
+ * 修复DefinedComponent的subComonsnts字段为[never]类型时,生成page类型错误的情况 ([a8aec74](https://github.com/missannil/annil/commit/a8aec74bbe964585f71d96bebdc85a32241271aa))
261
+ * 修复isPage错误 ([301366d](https://github.com/missannil/annil/commit/301366d9b30f909c59db727db53847bd789cb144))
262
+ * 修复jest报错‘ ([66ac333](https://github.com/missannil/annil/commit/66ac333c63edd6d3e922c4691afe5c2f85c6972a))
263
+ * 修复RootCOmonent在properties的可选数组类型时,value验证错误的问题 ([b836e83](https://github.com/missannil/annil/commit/b836e83916a6649b004646893ad91350787c9421))
264
+ * 修复SubComponent中计算属性无法获取data和store中数据的错误。 ([014a375](https://github.com/missannil/annil/commit/014a375de3ae657740b185b91f41e1215ef80ace))
265
+ * 修复依赖,把hry-types放到peer中 ([2e44e57](https://github.com/missannil/annil/commit/2e44e574d761d8f640d5f58e3984af8c86b94ec3))
266
+ * 修复当依赖字段中存在","时,计算属性一直循环计算的问题 ([f1798c0](https://github.com/missannil/annil/commit/f1798c04526975ef5986707684bbc5f3b94f2169))
267
+ * 修复计算属性中使用this的问题 ([d9d1635](https://github.com/missannil/annil/commit/d9d1635489a8a4fb4db9c387c2b3e182ea415445))
268
+ * 修改CreateSubComponentDoc 让结果为{}类型变为never ([f1798c0](https://github.com/missannil/annil/commit/f1798c04526975ef5986707684bbc5f3b94f2169))
269
+ * 修改自定义事件detail类型为ReadOnlyDeep,以便调用时可传入实例中的data类型(都是ReadOnlyDeep的) ([428710e](https://github.com/missannil/annil/commit/428710ea84717c45361d1e6c9c7db46c693026a9))
270
+ * 修正自定义事件文档类型,去除readonlyDeep ([b4d329b](https://github.com/missannil/annil/commit/b4d329b8c1b90407fd714fa42784c2dcb0c705f8))
271
+ * 去除__computedStatus__,修复observers中this.setData不触发 ([8296972](https://github.com/missannil/annil/commit/829697261f708089294a122a462dfc85ac9df911))
272
+ * 去除this.data、observer参数,watch参数的readonlyDeep类型 ([4df6fd1](https://github.com/missannil/annil/commit/4df6fd117e573980293e609dc422c2d5f4a91c32))
273
+ * 去除verbatimModuleSyntax ([8687d3d](https://github.com/missannil/annil/commit/8687d3dab606593def0626eccd39830c806f5f1d))
274
+ * 同一组件多次复用时 computed和watch的问题 ([e996f10](https://github.com/missannil/annil/commit/e996f10369dc5fc64225f573a9f28c3c542c7226))
275
+ * 增加对DefinedComponent 的 path字段检测(与实例的is比较) ([8460e4e](https://github.com/missannil/annil/commit/8460e4eb29ad21a2df7adf53bffeb4c887a122e9))
276
+ * 当SubComponents组件有后缀时,阻止穿透(_catch)事件类型被返回的错误 ([deab409](https://github.com/missannil/annil/commit/deab409c1116d2e810cc018797b6c38061701f25))
277
+ * 无注入数据时 watch监控类型错误的问题和SubComponentdata数据为字面量类型造成实例类型错误的问题 ([3cb2b90](https://github.com/missannil/annil/commit/3cb2b9069a9aa0f95767a346f16634d4db3109f9))
278
+ * 测试load功能 ([bb3f0fd](https://github.com/missannil/annil/commit/bb3f0fd2315f2429488478047109b07d16686741))
279
+ * 用deepClone代替unwarp以修复计算属性返回数据包含代理对象 ([38cc56a](https://github.com/missannil/annil/commit/38cc56a477a8adcaaf73f4cbef44cd8b701a175d))
280
+ * 类型修改 ([278058c](https://github.com/missannil/annil/commit/278058ccc13cae016bfcc9678875ed8c79a35472))
281
+ * 组件/页面接受load和onLoad是参数解析的问题 ([d4b13f9](https://github.com/missannil/annil/commit/d4b13f95679dd5ea81f872991403fe4bb3cfd448))
282
+ * 组件类型中别名被解析的问题 ([67e4886](https://github.com/missannil/annil/commit/67e48868b55853c41f5ad4c713dab12e31380f64))
283
+ * 解决SpecificType不接收接口类型的错误 ([ae8acbf](https://github.com/missannil/annil/commit/ae8acbfc2e62f99db565c448ad9253aa549e78bb))
284
+ * 计算属性优化 ([2479d08](https://github.com/missannil/annil/commit/2479d08720b2e69782c063b5fde394f0fa35d28a))
285
+ * 计算属性依赖为undefined时的错误 ([f1798c0](https://github.com/missannil/annil/commit/f1798c04526975ef5986707684bbc5f3b94f2169))
286
+ * 错误修复 ([1dac2ba](https://github.com/missannil/annil/commit/1dac2ba5fffe4c902afb9d946e158b40473fa82b))
287
+
288
+
289
+ ### Miscellaneous Chores
290
+
291
+ * publish ([52c4258](https://github.com/missannil/annil/commit/52c42589cd0e6c4a513f628b1caa79885b1f376a))
292
+ * release ([87d63f6](https://github.com/missannil/annil/commit/87d63f690a5bafdecf77a8f5c53bd43e0c7b4d82))
293
+ * release 1.12.0-alpha.8 ([#245](https://github.com/missannil/annil/issues/245)) ([7a5d842](https://github.com/missannil/annil/commit/7a5d8422ed871e1fcd794efdc2a0250cd62a086f))
294
+ * release alpha.4 ([433779f](https://github.com/missannil/annil/commit/433779f12e7a3549a77d87c2663d37405ea2692f))
295
+ * release-please.yml 增加dev和rc发版配置 ([02c0215](https://github.com/missannil/annil/commit/02c0215fee0664d65b74a25ecb3ad571f6ddaad6))
296
+ * test beta ([a87e793](https://github.com/missannil/annil/commit/a87e793601986aca1544506f2bf659420879e741))
297
+ * verison test ([d1f34b0](https://github.com/missannil/annil/commit/d1f34b06c26eb186378261809da9e4eeab5a2553))
298
+ * 小程序不支持2022打包 ([#187](https://github.com/missannil/annil/issues/187)) ([8e2bd2c](https://github.com/missannil/annil/commit/8e2bd2c074d0870b9c45631feb214e6e460565eb))
299
+ * 更改README,SubComponentDoc->SubComponentType,RootComponentDoc->RootComponentType ([073d273](https://github.com/missannil/annil/commit/073d2733f5b15923d67f3a04a7a15902f73a9205))
300
+ * 更改SpecificType为DetailedType ([b56a920](https://github.com/missannil/annil/commit/b56a920780f7dee1cb49ee166c624b609cfd8431))
301
+ * 测试 ([#185](https://github.com/missannil/annil/issues/185)) ([7da9fc8](https://github.com/missannil/annil/commit/7da9fc8d0f84167554f95a856da71310207a77fa))
302
+ * 测试自定义3 ([b25df03](https://github.com/missannil/annil/commit/b25df0368785499537405415072e48ea842893c7))
303
+ * 测试自定义发布 ([d179ebd](https://github.com/missannil/annil/commit/d179ebd36219bec5c92864fd3e2989913ade33a2))
304
+ * 自定义发布 ([8fd8020](https://github.com/missannil/annil/commit/8fd802092f4d2f8d784c1530d0cd6ffdd178790a))
305
+
306
+
307
+ ### Code Refactoring
308
+
309
+ * 重构 watch store computed 加入ChunkComponent SubComponent改为CustomComponent ([#236](https://github.com/missannil/annil/issues/236)) ([188853e](https://github.com/missannil/annil/commit/188853e17242e27ba5e50d5cfd513607ac674287))
310
+
311
+
312
+ ### Tests
313
+
314
+ * 修改test.yml实现pr错误检测,修改release.yml实现发布前上传覆盖率报告 ([ae8acbf](https://github.com/missannil/annil/commit/ae8acbfc2e62f99db565c448ad9253aa549e78bb))
315
+
316
+
317
+ ### Continuous Integration
318
+
319
+ * 修改test时长为默认 ([4fde68d](https://github.com/missannil/annil/commit/4fde68d332ab78fc784cb32c82b8c4c8682b956c))
320
+
321
+ ## [1.12.1-alpha.8](https://github.com/missannil/annil/compare/v1.12.0-alpha.8...v1.12.1-alpha.8) (2026-03-19)
322
+
323
+
324
+ ### Bug Fixes
325
+
326
+ * normalize casing src/api/DefineComponent/returnType ([43510ce](https://github.com/missannil/annil/commit/43510cec4aa946303d48de762135d79572b8880c))
327
+
7
328
  ## [1.12.0-alpha.8](https://github.com/missannil/annil/compare/v1.12.0-alpha.7...v1.12.0-alpha.8) (2025-05-22)
8
329
 
9
330
 
package/README.md CHANGED
@@ -25,9 +25,31 @@
25
25
 
26
26
  annil(安奈儿)是微信小程序原生开发插件。她会给您更佳的开发体验,大大提高代码质量和开发效率。
27
27
 
28
- 1. subComponent 第二个参数 可以为字符串
29
- 2. 计算属性要不要支持this.
30
- 3. solt组件去除
28
+ ### 快速开始(30秒)
29
+
30
+ 1. 安装依赖
31
+
32
+ ```bash
33
+ npm i annil
34
+ ```
35
+
36
+ 2. 阅读主文档入口
37
+
38
+ - [什么是 Annil](./docs/guide/what-is-annil.md)
39
+ - [安装与配置](./docs/guide/getting-started.md)
40
+ - [API 总览](./docs/api/overview.md)
41
+
42
+ ### 在线文档
43
+
44
+ - Global: https://missannil.github.io/annil/
45
+ - CN(可选):建议配置 Gitee Pages 作为大陆访问入口
46
+ - 部署说明见:[文档部署指南](./docs/guide/docs-deploy.md)(已支持按仓库名自动推导 base)
47
+
48
+ 3. 常用能力
49
+
50
+ - [computed](./docs/demo/computed.md)
51
+ - [watch](./docs/demo/watch.md)
52
+ - [store](./docs/demo/store.md)
31
53
 
32
54
  ### 特点
33
55
 
@@ -35,7 +57,7 @@ annil(安奈儿)是微信小程序原生开发插件。她会给您更佳的开
35
57
 
36
58
  - **组件构建API功能更强大**
37
59
 
38
- 新的组件构建API加入了[computed](./doc/demo/computed.md)、[watch](./doc/demo/watch.md)、[store](./doc/demo/store.md)(基于mobx的全局响应式数据)`等功能,使开发更便捷。
60
+ 新的组件构建API加入了[computed](./docs/demo/computed.md)、[watch](./docs/demo/watch.md)、[store](./docs/demo/store.md)(基于mobx的全局响应式数据)等功能,使开发更便捷。
39
61
 
40
62
  - **复杂组件解决方案**
41
63
 
@@ -43,7 +65,7 @@ annil(安奈儿)是微信小程序原生开发插件。她会给您更佳的开
43
65
 
44
66
  - **组件类型概念**
45
67
 
46
- 新的组件构建API(DefineComponent)返回的类型叫组件类型,好比传统组件(UI)库为每个组件书写的使用文档,在做为子组件构建新组件(页面)时,子组件API(SubComponent)需要使用者传入组件类型,这样在书写配置字段时会得到完美的类型提示和错误检测。这样实现了在一个页面中所有子组件之间的类型耦合,无论组件嵌套多少层,无论哪层组件数据类型发生改变,所有相关组件类型都会得到感知。当您增改、重构代码时,只要无类型报错(tsc --noEmit --watch)就不会有运行时报错的心智负担。
68
+ 新的组件构建API(DefineComponent)返回的类型叫组件类型,好比传统组件(UI)库为每个组件书写的使用文档,在做为子组件构建新组件(页面)时,子组件API(CustomComponent/ChunkComponent)需要使用者传入组件类型或根组件类型,这样在书写配置字段时会得到完美的类型提示和错误检测。这样实现了在一个页面中所有子组件之间的类型耦合,无论组件嵌套多少层,无论哪层组件数据类型发生改变,所有相关组件类型都会得到感知。当您增改、重构代码时,只要无类型报错(tsc --noEmit --watch)就不会有运行时报错的心智负担。
47
69
 
48
70
  - **高兼容性**
49
71
 
@@ -57,7 +79,7 @@ annil(安奈儿)是微信小程序原生开发插件。她会给您更佳的开
57
79
 
58
80
  第三方组件库一般都是以文档的形式对组件说明,annil提供了泛型[CreateComponentType](./src/types/CreateComponentType.ts),可根据组件文档快速书写组件类型,使第三方组件完美融入annil组件模型,也可以自己书写临时组件类型用于项目。内置的原生组件类型库(Wm)和第三方组件库(Vant)也会持续维护。
59
81
 
60
- - **vscode插件 `annil`**
82
+ - **vscode插件 `vscode-annil`**
61
83
 
62
84
  当使用ts开发时,可安装vscode插件,会自动检测组件中`.wxml` 和 `.json`错误,并可一键修复,不必在书写wxml中自定义组件的属性和json文件的导入地址了。详情见 [插件市场](https://marketplace.visualstudio.com/items?itemName=missannil.vscode-annil)
63
85
 
@@ -133,15 +155,21 @@ annil(安奈儿)是微信小程序原生开发插件。她会给您更佳的开
133
155
 
134
156
  - **组件构建API**
135
157
 
136
- [DefineComponent](./doc/api/DefineComponent.md)
158
+ [DefineComponent](./docs/api/define-component.md)
159
+
160
+ [RootComponent](./docs/api/root-component.md)
161
+
162
+ [CustomComponent](./docs/api/custom-component.md)
163
+
164
+ [ChunkComponent](./docs/api/chunk-component.md)
137
165
 
138
- [RootComponent](./doc/api/RootComponent.md)
166
+ [SubComponent(旧)](./docs/api/sub-component.md)
139
167
 
140
- [SubComponent](./doc/api/SubComponent.md)
168
+ [instanceConfig](./docs/api/instance-config.md)
141
169
 
142
170
  - **常用API**
143
171
 
144
- [navigateTo](./doc/api/wxSugar.md)
172
+ [wxSugar](./docs/api/wx-sugar.md)
145
173
 
146
174
  - 实用泛型
147
175
 
@@ -2,7 +2,8 @@ import type { G } from "hry-types";
2
2
  import type { Validators } from "../../../types/Validators";
3
3
  import type { TypeValidator } from "../../RootComponent/Store/StoreOption";
4
4
  import type { ValidatorPrefix } from "../ChunkData/validatePrefix";
5
- export type ChunkStoreOption<TStore extends object, TDuplicateKeys extends PropertyKey, Prefix extends string> = {
5
+ import type { ChunkStoreConstraint } from "./ChunkStoreConstraint";
6
+ export type ChunkStoreOption<TStore extends ChunkStoreConstraint, TDuplicateKeys extends PropertyKey, Prefix extends string> = {
6
7
  store?: TStore & Validators<[
7
8
  G.DuplicateFieldValidator<TStore, TDuplicateKeys, "字段重复">,
8
9
  ValidatorPrefix<TStore, Prefix>,
@@ -7,7 +7,7 @@ import type { LifetimesOption } from "../RootComponent/Lifetimes/LifetimesOption
7
7
  import type { MethodsConstraint } from "../RootComponent/Methods/MethodsConstraint";
8
8
  import type { ObserversOption } from "../RootComponent/Observers/ObserversOption";
9
9
  import type { PageLifetimesOption } from "../RootComponent/PageLifetimes/PageLifetimesOption";
10
- import type { RootComponentType } from "../RootComponent/RootComponentType";
10
+ import type { RootComponentDefinition } from "../RootComponent/returnType";
11
11
  import type { GetStoreDoc } from "../RootComponent/Store/GeTStoreDoc";
12
12
  import type { WatchOption } from "../RootComponent/Watch/WatchOption";
13
13
  import type { ChunkComputedConstraint } from "./ChunkComputed/ChunkComputedConstraint";
@@ -19,6 +19,6 @@ import type { ChunkMethodsOption } from "./ChunkMethods/ChunkMethodsOption";
19
19
  import type { ChunkStoreConstraint } from "./ChunkStore/ChunkStoreConstraint";
20
20
  import type { ChunkStoreOption } from "./ChunkStore/ChunkStoreOption";
21
21
  type ChunkComponentOptions<TIsPage extends boolean, Prefix extends string, RootDatas extends object, TEvents extends ChunkEventsConstraint, TData extends object, TStore extends ChunkStoreConstraint, StoreDoc extends object, TComputed extends ChunkComputedConstraint, ComputedDoc extends object, RootMethods extends object, RootEvents extends object, TMethods extends MethodsConstraint, EventsDoc extends object, PropertiesDoc extends object> = ChunkDataOption<TData, keyof (RootDatas & IInjectAllData), Prefix> & ChunkStoreOption<TStore, keyof (TData & RootDatas & IInjectAllData), Prefix> & ChunkComputedOption<TComputed, keyof (TData & StoreDoc & RootDatas & IInjectAllData), Prefix> & ChunkEventsOption<TEvents, keyof (RootMethods & RootEvents & IInjectMethods), Prefix> & ChunkMethodsOption<TMethods, keyof (RootMethods & RootEvents & EventsDoc & IInjectMethods), Prefix> & ThisType<RootComponentInstance<TIsPage, TMethods & RootMethods, TData, TData & StoreDoc & ComputedDoc & RootDatas & IInjectAllData, {}, StoreDoc>> & PageLifetimesOption<TIsPage, PropertiesDoc> & LifetimesOption & WatchOption<ComputedDoc & Required<RootDatas> & TData & StoreDoc & IInjectStore> & Partial<Omit<WMCompOtherOption, "pageLifetimes" | "definitionFilter" | "observers">> & ObserversOption<ComputedDoc & Required<RootDatas> & TData & StoreDoc & IInjectStore>;
22
- type ChunkComponentConstructor<RootDoc extends RootComponentType, Prefix extends string, IsPage extends boolean = RootDoc["isPage"] extends true ? true : false, RootDatas extends object = Required<RootDoc["properties"]> & RootDoc["data"] & RootDoc["computed"] & RootDoc["store"], RootMethods extends object = RootDoc["methods"] & {}, RootEvents extends object = RootDoc["events"] & {}> = <TEvents extends ChunkEventsConstraint, TStore extends ChunkStoreConstraint<Required<RootDoc["properties"]>>, TMethods extends MethodsConstraint = {}, TData extends object = {}, StoreDoc extends object = ChunkStoreConstraint<Required<RootDoc["properties"]>> extends TStore ? {} : GetStoreDoc<TStore>, TComputed extends ChunkComputedConstraint = {}, ComputedDoc extends object = GetComputedDoc<TComputed>, EventsDoc extends object = IfExtends<ChunkEventsConstraint, TEvents, {}, TEvents>, PropertiesDoc extends object = RootDoc["properties"] & {}>(options: ChunkComponentOptions<IsPage, Prefix, RootDatas, TEvents, TData, TStore, StoreDoc, TComputed, ComputedDoc, RootMethods, RootEvents, TMethods, EventsDoc, PropertiesDoc>) => never;
23
- export declare function ChunkComponent<RootDoc extends RootComponentType, Prefix extends string = "">(): ChunkComponentConstructor<RootDoc, Prefix>;
22
+ type ChunkComponentConstructor<TRootComponentReturnType extends RootComponentDefinition, TPrefix extends string, IsPage extends boolean = TRootComponentReturnType["isPage"] extends true ? true : false, RootDatas extends object = Required<TRootComponentReturnType["properties"]> & TRootComponentReturnType["data"] & TRootComponentReturnType["computed"] & TRootComponentReturnType["store"], RootMethods extends object = TRootComponentReturnType["methods"] & {}, RootEvents extends object = TRootComponentReturnType["events"] & {}> = <TEvents extends ChunkEventsConstraint, TStore extends ChunkStoreConstraint<Required<TRootComponentReturnType["properties"]>>, TMethods extends MethodsConstraint = {}, TData extends object = {}, StoreDoc extends object = ChunkStoreConstraint<Required<TRootComponentReturnType["properties"]>> extends TStore ? {} : GetStoreDoc<TStore>, TComputed extends ChunkComputedConstraint = {}, ComputedDoc extends object = GetComputedDoc<TComputed>, EventsDoc extends object = IfExtends<ChunkEventsConstraint, TEvents, {}, TEvents>, PropertiesDoc extends object = NonNullable<TRootComponentReturnType["properties"]>>(options: ChunkComponentOptions<IsPage, TPrefix, RootDatas, TEvents, TData, TStore, StoreDoc, TComputed, ComputedDoc, RootMethods, RootEvents, TMethods, EventsDoc, PropertiesDoc>) => never;
23
+ export declare function ChunkComponent<TRootComponentReturnType extends RootComponentDefinition, TPrefix extends string = "">(): ChunkComponentConstructor<TRootComponentReturnType, TPrefix>;
24
24
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/ChunkComponent/index.ts"],"names":[],"mappings":"AA6HA,MAAM,UAAU,cAAc;IAQ5B,OAAO,CAAC,OAAY,EAAE,EAAE,CAAC,OAAgB,CAAC;AAC5C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/ChunkComponent/index.ts"],"names":[],"mappings":"AA4JA,MAAM,UAAU,cAAc;IAO5B,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,OAAgB,CAAC;AACvC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { Contains } from "hry-types/src/Any/Contains";
2
2
  import type { IfExtends } from "hry-types/src/Any/IfExtends";
3
3
  import type { Detail, WMBaseEvent } from "../../../types/OfficialTypeAlias";
4
- import type { ComponentType } from "../../DefineComponent/ReturnType/ComponentType";
4
+ import type { ComponentDoc } from "../../DefineComponent/returnType/ComponentDoc";
5
5
  import type { Bubbles, Capture, CustomEventsTags } from "../../RootComponent/CustomEvents/CustomEventsTag";
6
- export type CustomEventsConstraint<CompDoc extends ComponentType> = {
7
- [k in keyof CompDoc["customEvents"] as Contains<CompDoc["customEvents"][k], Bubbles | Capture> extends true ? (k | `${k & string}_catch`) : k]?: (e: IfExtends<WMBaseEvent, CompDoc["customEvents"][k], WMBaseEvent, Detail<Exclude<CompDoc["customEvents"][k], CustomEventsTags>>>) => void;
6
+ export type CustomEventsConstraint<CompDoc extends ComponentDoc> = {
7
+ [k in keyof CompDoc["events"] as Contains<CompDoc["events"][k], Bubbles | Capture> extends true ? (k | `${k & string}_catch`) : k]?: (e: IfExtends<WMBaseEvent, CompDoc["events"][k], WMBaseEvent, Detail<Exclude<CompDoc["events"][k], CustomEventsTags>>>) => void;
8
8
  };
@@ -1,9 +1,9 @@
1
1
  import type { SelectKeys } from "hry-types/src/Object/_api";
2
2
  import type { RemoveInnerData } from "../../../types/RemoveInnerData";
3
- import type { ComponentType } from "../../DefineComponent/ReturnType/ComponentType";
3
+ import type { ComponentDoc } from "../../DefineComponent/returnType/ComponentDoc";
4
4
  type WXMLSign = "wxml";
5
5
  type unionAddList<Keys extends string> = Keys | Keys[];
6
- export type CustomInheritConstraint<AllRootData extends object, TComponentDoc extends ComponentType> = {
6
+ export type CustomInheritConstraint<AllRootData extends object, TComponentDoc extends ComponentDoc> = {
7
7
  [k in keyof TComponentDoc["properties"]]?: unionAddList<RemoveInnerData<SelectKeys<AllRootData, TComponentDoc["properties"][k]> & string>> | WXMLSign;
8
8
  };
9
9
  export {};
@@ -1,4 +1,5 @@
1
- import type { Getter, WithDefault } from "../../RootComponent/Store/StoreConstraint";
1
+ import type { AddNullForObject } from "../../../types/AddNullForObject";
2
+ import type { Getter } from "../../RootComponent/Store/StoreConstraint";
2
3
  export type CustomStoreConstraint<PropertyDoc extends object, legal extends object> = {
3
- [k in keyof legal]?: Getter<PropertyDoc, legal[k]> | WithDefault<PropertyDoc, legal[k]>;
4
+ [k in keyof legal]?: Getter<PropertyDoc, AddNullForObject<legal[k]>>;
4
5
  };
@@ -1,9 +1,7 @@
1
1
  import type { G } from "hry-types";
2
2
  import type { Validators } from "../../../types/Validators";
3
- import type { TypeValidator } from "../../RootComponent/Store/StoreOption";
4
3
  export type CustomStoreOption<TStore extends object, legalKeys extends PropertyKey> = {
5
4
  store?: TStore & Validators<[
6
- G.IllegalFieldValidator<TStore, legalKeys, 0, "", "与inherit和data字段重复或前缀错误">,
7
- TypeValidator<TStore>
5
+ G.IllegalFieldValidator<TStore, legalKeys, 0, "", "与inherit和data字段重复或前缀错误">
8
6
  ]>;
9
7
  };