@nocobase/client 0.9.4-alpha.2 → 0.10.0-alpha.3

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 (1378) hide show
  1. package/.dumi/global.less +1 -0
  2. package/.dumi/theme/builtins/LangSwitch/index.tsx +11 -0
  3. package/.dumi/theme/builtins/Previewer/index.tsx +23 -0
  4. package/.dumirc.ts +56 -0
  5. package/contributing.md +1 -1
  6. package/docs/develop.md +5 -0
  7. package/{intro.md → docs/intro.md} +21 -27
  8. package/es/acl/ACLProvider.d.ts +6 -7
  9. package/es/acl/ACLProvider.js +6 -22
  10. package/es/acl/ACLShortcut.d.ts +2 -3
  11. package/es/acl/ACLShortcut.js +2 -61
  12. package/es/acl/Configuration/ConfigureCenter.d.ts +3 -2
  13. package/es/acl/Configuration/ConfigureCenter.js +7 -22
  14. package/es/acl/Configuration/FilterDynamicComponent.d.ts +2 -2
  15. package/es/acl/Configuration/MenuConfigure.d.ts +2 -1
  16. package/es/acl/Configuration/MenuItemsProvider.d.ts +2 -1
  17. package/es/acl/Configuration/MenuItemsProvider.js +3 -3
  18. package/es/acl/Configuration/PermisionProvider.d.ts +2 -2
  19. package/es/acl/Configuration/RoleConfigure.d.ts +2 -1
  20. package/es/acl/Configuration/RoleTable.d.ts +2 -1
  21. package/es/acl/Configuration/ScopeSelect.d.ts +2 -1
  22. package/es/acl/Configuration/schemas/scopes.d.ts +1 -0
  23. package/es/antd-config-provider/index.d.ts +1 -1
  24. package/es/api-client/APIClient.d.ts +1 -1
  25. package/es/api-client/APIClientProvider.d.ts +2 -1
  26. package/es/api-client/hooks/assign.d.ts +0 -1
  27. package/es/api-client/hooks/assign.js +1 -7
  28. package/es/api-client/hooks/useRequest.d.ts +1 -1
  29. package/es/api-client/hooks/useRequest.js +1 -1
  30. package/es/appInfo/CurrentAppInfoProvider.d.ts +1 -1
  31. package/es/application/Application.d.ts +2 -1
  32. package/es/application/Application.js +5 -4
  33. package/es/application/compose.d.ts +2 -1
  34. package/es/application-v2/Application.d.ts +31 -0
  35. package/es/application-v2/Application.js +139 -0
  36. package/es/application-v2/Plugin.d.ts +14 -0
  37. package/es/application-v2/Plugin.js +92 -0
  38. package/es/application-v2/PluginManager.d.ts +19 -0
  39. package/es/application-v2/PluginManager.js +242 -0
  40. package/es/application-v2/Router.d.ts +13 -0
  41. package/es/application-v2/Router.js +103 -0
  42. package/es/application-v2/components/AppComponent.d.ts +2 -0
  43. package/es/application-v2/components/AppComponent.js +20 -0
  44. package/es/application-v2/components/MainComponent.d.ts +6 -0
  45. package/es/application-v2/components/MainComponent.js +13 -0
  46. package/es/application-v2/components/RouterProvider.d.ts +14 -0
  47. package/es/application-v2/components/RouterProvider.js +105 -0
  48. package/es/application-v2/components/index.d.ts +13 -0
  49. package/es/application-v2/components/index.js +13 -0
  50. package/es/application-v2/compose.d.ts +2 -0
  51. package/es/application-v2/compose.js +41 -0
  52. package/es/application-v2/context.d.ts +3 -0
  53. package/es/application-v2/context.js +2 -0
  54. package/es/application-v2/hooks/index.d.ts +3 -0
  55. package/es/application-v2/hooks/index.js +3 -0
  56. package/es/application-v2/hooks/useApp.d.ts +1 -0
  57. package/es/application-v2/hooks/useApp.js +5 -0
  58. package/es/application-v2/hooks/useLoad.d.ts +1 -0
  59. package/es/application-v2/hooks/useLoad.js +38 -0
  60. package/es/application-v2/hooks/useRouter.d.ts +1 -0
  61. package/es/application-v2/hooks/useRouter.js +5 -0
  62. package/es/application-v2/index.d.ts +3 -0
  63. package/es/application-v2/index.js +3 -0
  64. package/es/application-v2/types.d.ts +26 -0
  65. package/es/application-v2/types.js +1 -0
  66. package/es/async-data-provider/index.d.ts +1 -1
  67. package/es/auth/OptionsComponent.d.ts +7 -0
  68. package/es/auth/OptionsComponent.js +20 -0
  69. package/es/auth/SigninPage.d.ts +23 -0
  70. package/es/{settings-form/SettingsForm.js → auth/SigninPage.js} +116 -275
  71. package/es/auth/SigninPageExtension.d.ts +22 -0
  72. package/es/auth/SigninPageExtension.js +30 -0
  73. package/es/auth/SignupPage.d.ts +24 -0
  74. package/es/auth/SignupPage.js +82 -0
  75. package/es/auth/index.d.ts +4 -0
  76. package/es/auth/index.js +4 -0
  77. package/es/block-provider/BlockProvider.d.ts +4 -3
  78. package/es/block-provider/BlockProvider.js +23 -6
  79. package/es/block-provider/CalendarBlockProvider.d.ts +1 -1
  80. package/es/block-provider/DetailsBlockProvider.d.ts +1 -1
  81. package/es/block-provider/DetailsBlockProvider.js +1 -13
  82. package/es/block-provider/FilterFormBlockProvider.d.ts +2 -1
  83. package/es/block-provider/FormBlockProvider.d.ts +1 -1
  84. package/es/block-provider/FormBlockProvider.js +10 -21
  85. package/es/block-provider/FormFieldProvider.d.ts +1 -1
  86. package/es/block-provider/GanttBlockProvider.d.ts +1 -1
  87. package/es/block-provider/KanbanBlockProvider.d.ts +1 -1
  88. package/es/block-provider/TableBlockProvider.d.ts +1 -2
  89. package/es/block-provider/TableBlockProvider.js +57 -82
  90. package/es/block-provider/TableFieldProvider.d.ts +1 -1
  91. package/es/block-provider/TableSelectorProvider.d.ts +2 -2
  92. package/es/block-provider/hooks/index.d.ts +10 -1
  93. package/es/block-provider/hooks/index.js +53 -137
  94. package/es/block-provider/index.d.ts +1 -0
  95. package/es/block-provider/index.js +2 -1
  96. package/es/board/Card.d.ts +2 -2
  97. package/es/board/CardAdder.d.ts +2 -2
  98. package/es/board/CardForm.d.ts +2 -2
  99. package/es/board/Column.d.ts +3 -3
  100. package/es/board/ColumnAdder.d.ts +2 -2
  101. package/es/board/ColumnForm.d.ts +2 -2
  102. package/es/board/DefaultCard.d.ts +2 -2
  103. package/es/board/DefaultColumnHeader.d.ts +2 -2
  104. package/es/board/Kanban.d.ts +2 -2
  105. package/es/board/withDroppable.d.ts +2 -1
  106. package/es/china-region/index.d.ts +2 -1
  107. package/es/collection-manager/CollectionField.d.ts +1 -1
  108. package/es/collection-manager/CollectionField.js +2 -1
  109. package/es/collection-manager/CollectionManagerProvider.d.ts +2 -2
  110. package/es/collection-manager/CollectionManagerShortcut.d.ts +2 -3
  111. package/es/collection-manager/CollectionManagerShortcut.js +3 -60
  112. package/es/collection-manager/Configuration/AddCategoryAction.d.ts +3 -2
  113. package/es/collection-manager/Configuration/AddCategoryAction.js +2 -2
  114. package/es/collection-manager/Configuration/AddCollectionAction.d.ts +3 -2
  115. package/es/collection-manager/Configuration/AddCollectionAction.js +33 -27
  116. package/es/collection-manager/Configuration/AddFieldAction.d.ts +3 -2
  117. package/es/collection-manager/Configuration/AddFieldAction.js +46 -33
  118. package/es/collection-manager/Configuration/AddSubFieldAction.d.ts +2 -1
  119. package/es/collection-manager/Configuration/AddSubFieldAction.js +25 -20
  120. package/es/collection-manager/Configuration/CollectionFields.d.ts +2 -1
  121. package/es/collection-manager/Configuration/CollectionFieldsTable.d.ts +2 -2
  122. package/es/collection-manager/Configuration/CollectionFieldsTable.js +3 -1
  123. package/es/collection-manager/Configuration/CollectionFieldsTableArray.d.ts +2 -2
  124. package/es/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -1
  125. package/es/collection-manager/Configuration/ConfigurationTable.d.ts +2 -1
  126. package/es/collection-manager/Configuration/ConfigurationTabs.d.ts +2 -1
  127. package/es/collection-manager/Configuration/ConfigurationTabs.js +61 -50
  128. package/es/collection-manager/Configuration/EditCategoryAction.d.ts +3 -2
  129. package/es/collection-manager/Configuration/EditCategoryAction.js +2 -2
  130. package/es/collection-manager/Configuration/EditCollectionAction.d.ts +3 -2
  131. package/es/collection-manager/Configuration/EditCollectionAction.js +2 -2
  132. package/es/collection-manager/Configuration/EditFieldAction.d.ts +3 -2
  133. package/es/collection-manager/Configuration/EditFieldAction.js +2 -2
  134. package/es/collection-manager/Configuration/EditSubFieldAction.d.ts +2 -1
  135. package/es/collection-manager/Configuration/EditSubFieldAction.js +2 -2
  136. package/es/collection-manager/Configuration/OverridingCollectionField.d.ts +3 -2
  137. package/es/collection-manager/Configuration/OverridingCollectionField.js +2 -2
  138. package/es/collection-manager/Configuration/SyncFieldsAction.d.ts +3 -2
  139. package/es/collection-manager/Configuration/SyncFieldsAction.js +2 -2
  140. package/es/collection-manager/Configuration/ViewInheritedField.d.ts +3 -2
  141. package/es/collection-manager/Configuration/ViewInheritedField.js +2 -2
  142. package/es/collection-manager/Configuration/components/CollectionCategory.d.ts +1 -1
  143. package/es/collection-manager/Configuration/components/CollectionCategory.js +2 -0
  144. package/es/collection-manager/Configuration/components/CollectionFieldInterface.d.ts +1 -1
  145. package/es/collection-manager/Configuration/components/CollectionFieldInterface.js +2 -0
  146. package/es/collection-manager/Configuration/components/CollectionTemplate.d.ts +1 -1
  147. package/es/collection-manager/Configuration/components/CollectionTemplate.js +2 -0
  148. package/es/collection-manager/Configuration/components/FieldSummary.d.ts +1 -1
  149. package/es/collection-manager/Configuration/components/FieldSummary.js +4 -2
  150. package/es/collection-manager/Configuration/components/TemplateSummay.d.ts +1 -1
  151. package/es/collection-manager/Configuration/components/TemplateSummay.js +4 -2
  152. package/es/collection-manager/Configuration/components/index.d.ts +6 -6
  153. package/es/collection-manager/Configuration/components/index.js +12 -0
  154. package/es/collection-manager/Configuration/interfaces.d.ts +1 -0
  155. package/es/collection-manager/Configuration/templates.d.ts +1 -0
  156. package/es/collection-manager/ResourceActionProvider.d.ts +1 -1
  157. package/es/collection-manager/action-hooks.d.ts +1 -0
  158. package/es/collection-manager/action-hooks.js +168 -90
  159. package/es/collection-manager/hooks/useOptions.js +39 -36
  160. package/es/collection-manager/index.d.ts +1 -1
  161. package/es/collection-manager/index.js +1 -1
  162. package/es/collection-manager/interfaces/components/index.d.ts +7 -6
  163. package/es/collection-manager/interfaces/index.d.ts +0 -1
  164. package/es/collection-manager/interfaces/index.js +0 -1
  165. package/es/collection-manager/interfaces/integer.js +1 -1
  166. package/es/collection-manager/interfaces/number.js +3 -3
  167. package/es/collection-manager/interfaces/percent.js +3 -3
  168. package/es/collection-manager/interfaces/properties/index.d.ts +0 -1
  169. package/es/collection-manager/interfaces/properties/index.js +0 -40
  170. package/es/collection-manager/interfaces/url.js +0 -5
  171. package/es/collection-manager/sub-table.d.ts +2 -2
  172. package/es/collection-manager/sub-table.js +4 -0
  173. package/es/collection-manager/templates/components/PreviewFields.d.ts +1 -1
  174. package/es/collection-manager/templates/components/PreviewFields.js +2 -1
  175. package/es/collection-manager/templates/components/PreviewTable.d.ts +2 -1
  176. package/es/collection-manager/types.d.ts +2 -0
  177. package/es/filter-provider/FilterProvider.d.ts +5 -1
  178. package/es/filter-provider/FilterProvider.js +8 -3
  179. package/es/formula/Expression.d.ts +2 -1
  180. package/es/formula/Expression.js +66 -46
  181. package/es/formula/Result.d.ts +2 -1
  182. package/es/formula/index.d.ts +2 -2
  183. package/es/hooks/index.d.ts +2 -0
  184. package/es/hooks/index.js +2 -0
  185. package/es/hooks/useAdminSchemaUid.d.ts +1 -0
  186. package/es/hooks/useAdminSchemaUid.js +6 -0
  187. package/es/hooks/useMenuItem.d.ts +37 -0
  188. package/es/hooks/useMenuItem.js +90 -0
  189. package/es/hooks/useViewport.d.ts +1 -0
  190. package/es/hooks/useViewport.js +41 -0
  191. package/es/i18n/i18n.js +0 -1
  192. package/es/icon/Icon.d.ts +2 -1
  193. package/es/index.d.ts +3 -2
  194. package/es/index.js +3 -2
  195. package/es/locale/en_US.d.ts +19 -22
  196. package/es/locale/en_US.js +22 -25
  197. package/es/locale/es_ES.d.ts +4 -2
  198. package/es/locale/es_ES.js +5 -3
  199. package/es/locale/ja_JP.d.ts +19 -20
  200. package/es/locale/ja_JP.js +20 -21
  201. package/es/locale/pt_BR.d.ts +3 -1
  202. package/es/locale/pt_BR.js +4 -2
  203. package/es/locale/ru_RU.d.ts +3 -19
  204. package/es/locale/ru_RU.js +4 -20
  205. package/es/locale/tr_TR.d.ts +0 -17
  206. package/es/locale/tr_TR.js +0 -17
  207. package/es/locale/zh_CN.d.ts +28 -25
  208. package/es/locale/zh_CN.js +29 -26
  209. package/es/plugin-manager/PinnedPluginListProvider.d.ts +1 -1
  210. package/es/plugin-manager/index.d.ts +1 -3
  211. package/es/plugin-manager/index.js +1 -3
  212. package/es/pm/Card.d.ts +8 -0
  213. package/es/pm/Card.js +364 -0
  214. package/es/pm/PluginManagerLink.d.ts +3 -2
  215. package/es/pm/PluginManagerLink.js +22 -18
  216. package/es/pm/index.d.ts +33 -3
  217. package/es/pm/index.js +117 -282
  218. package/es/powered-by/index.d.ts +2 -1
  219. package/es/route-switch/RouteSwitch.d.ts +2 -2
  220. package/es/route-switch/RouteSwitch.js +76 -45
  221. package/es/route-switch/RouteSwitchProvider.d.ts +3 -3
  222. package/es/route-switch/antd/admin-layout/index.d.ts +4 -2
  223. package/es/route-switch/antd/admin-layout/index.js +60 -56
  224. package/es/route-switch/antd/auth-layout/index.d.ts +2 -2
  225. package/es/route-switch/antd/auth-layout/index.js +2 -1
  226. package/es/route-switch/antd/route-schema-component/index.d.ts +2 -2
  227. package/es/route-switch/antd/route-schema-component/index.js +3 -3
  228. package/es/route-switch/context.d.ts +4 -0
  229. package/es/route-switch/context.js +5 -2
  230. package/es/route-switch/types.d.ts +2 -5
  231. package/es/schema-component/antd/AntdSchemaComponentProvider.d.ts +2 -1
  232. package/es/schema-component/antd/action/Action.Container.js +4 -0
  233. package/es/schema-component/antd/action/Action.Designer.d.ts +2 -1
  234. package/es/schema-component/antd/action/Action.Designer.js +204 -20
  235. package/es/schema-component/antd/action/Action.Drawer.js +14 -12
  236. package/es/schema-component/antd/action/Action.Link.js +3 -1
  237. package/es/schema-component/antd/action/Action.Modal.js +13 -12
  238. package/es/schema-component/antd/action/Action.Page.js +8 -2
  239. package/es/schema-component/antd/action/Action.js +26 -18
  240. package/es/schema-component/antd/action/ActionBar.d.ts +18 -2
  241. package/es/schema-component/antd/action/ActionBar.js +47 -21
  242. package/es/schema-component/antd/action/context.d.ts +8 -2
  243. package/es/schema-component/antd/action/context.js +15 -2
  244. package/es/schema-component/antd/action/hooks.d.ts +2 -0
  245. package/es/schema-component/antd/association-field/AssociationFieldProvider.d.ts +1 -1
  246. package/es/schema-component/antd/association-field/AssociationFieldProvider.js +57 -6
  247. package/es/schema-component/antd/association-field/AssociationSelect.js +89 -11
  248. package/es/schema-component/antd/association-field/Editable.d.ts +1 -1
  249. package/es/schema-component/antd/association-field/Editable.js +12 -11
  250. package/es/schema-component/antd/association-field/FileManager.d.ts +1 -1
  251. package/es/schema-component/antd/association-field/FileManager.js +14 -4
  252. package/es/schema-component/antd/association-field/InternalNester.d.ts +2 -1
  253. package/es/schema-component/antd/association-field/InternalNester.js +12 -1
  254. package/es/schema-component/antd/association-field/InternalPicker.d.ts +1 -1
  255. package/es/schema-component/antd/association-field/InternalPicker.js +10 -4
  256. package/es/schema-component/antd/association-field/InternalSubTable.d.ts +2 -1
  257. package/es/schema-component/antd/association-field/InternalSubTable.js +35 -6
  258. package/es/schema-component/antd/association-field/InternalViewer.js +10 -3
  259. package/es/schema-component/antd/association-field/Nester.d.ts +2 -1
  260. package/es/schema-component/antd/association-field/Nester.js +58 -14
  261. package/es/schema-component/antd/association-field/ReadPretty.d.ts +1 -1
  262. package/es/schema-component/antd/association-field/ReadPretty.js +4 -0
  263. package/es/schema-component/antd/association-field/SubTable.js +53 -12
  264. package/es/schema-component/antd/association-field/components/CreateRecordAction.d.ts +1 -1
  265. package/es/schema-component/antd/association-field/components/CreateRecordAction.js +4 -2
  266. package/es/schema-component/antd/association-field/schema.d.ts +3 -15
  267. package/es/schema-component/antd/association-field/schema.js +4 -16
  268. package/es/schema-component/antd/association-filter/ActionBarAssociationFilterAction.d.ts +2 -1
  269. package/es/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.d.ts +2 -1
  270. package/es/schema-component/antd/association-filter/AssociationFilter.FilterBlockInitializer.d.ts +2 -1
  271. package/es/schema-component/antd/association-filter/AssociationFilter.Initializer.d.ts +2 -1
  272. package/es/schema-component/antd/association-filter/AssociationFilter.Item.Designer.d.ts +2 -1
  273. package/es/schema-component/antd/association-filter/AssociationFilter.Item.d.ts +2 -1
  274. package/es/schema-component/antd/association-filter/AssociationFilter.d.ts +7 -6
  275. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDelete.d.ts +2 -1
  276. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.d.ts +2 -1
  277. package/es/schema-component/antd/association-select/ReadPretty.d.ts +1 -1
  278. package/es/schema-component/antd/association-select/ReadPretty.js +2 -0
  279. package/es/schema-component/antd/block-item/BlockItem.js +6 -3
  280. package/es/schema-component/antd/block-item/TestDesigner.d.ts +2 -1
  281. package/es/schema-component/antd/calendar/Calendar.Designer.d.ts +2 -1
  282. package/es/schema-component/antd/calendar/Calendar.js +7 -5
  283. package/es/schema-component/antd/calendar/DeleteEvent.d.ts +1 -1
  284. package/es/schema-component/antd/calendar/DeleteEvent.js +3 -1
  285. package/es/schema-component/antd/calendar/Event.d.ts +1 -1
  286. package/es/schema-component/antd/calendar/Event.js +2 -0
  287. package/es/schema-component/antd/calendar/Nav.d.ts +1 -1
  288. package/es/schema-component/antd/calendar/Nav.js +5 -3
  289. package/es/schema-component/antd/calendar/Title.d.ts +1 -1
  290. package/es/schema-component/antd/calendar/Title.js +2 -0
  291. package/es/schema-component/antd/calendar/Today.d.ts +1 -1
  292. package/es/schema-component/antd/calendar/Today.js +4 -2
  293. package/es/schema-component/antd/calendar/ViewSelect.d.ts +1 -1
  294. package/es/schema-component/antd/calendar/ViewSelect.js +3 -0
  295. package/es/schema-component/antd/calendar/components/Header.d.ts +2 -1
  296. package/es/schema-component/antd/card-item/CardItem.js +1 -1
  297. package/es/schema-component/antd/cascader/Cascader.js +8 -1
  298. package/es/schema-component/antd/checkbox/Checkbox.d.ts +2 -1
  299. package/es/schema-component/antd/checkbox/Checkbox.js +14 -12
  300. package/es/schema-component/antd/collection-select/CollectionSelect.js +2 -0
  301. package/es/schema-component/antd/cron/Cron.d.ts +2 -1
  302. package/es/schema-component/antd/cron/Cron.js +3 -2
  303. package/es/schema-component/antd/date-picker/DatePicker.d.ts +4 -2
  304. package/es/schema-component/antd/date-picker/DatePicker.js +2 -1
  305. package/es/schema-component/antd/date-picker/ReadPretty.d.ts +1 -1
  306. package/es/schema-component/antd/date-picker/ReadPretty.js +1 -1
  307. package/es/schema-component/antd/error-fallback/ErrorFallback.d.ts +2 -1
  308. package/es/schema-component/antd/expand-action/Expand.Action.Design.d.ts +2 -1
  309. package/es/schema-component/antd/expand-action/Expand.Action.Design.js +2 -2
  310. package/es/schema-component/antd/expand-action/Expand.Action.d.ts +2 -1
  311. package/es/schema-component/antd/expand-action/Expand.Action.js +3 -6
  312. package/es/schema-component/antd/filter/DynamicComponent.d.ts +2 -1
  313. package/es/schema-component/antd/filter/Filter.Action.Designer.d.ts +2 -1
  314. package/es/schema-component/antd/filter/Filter.js +3 -1
  315. package/es/schema-component/antd/filter/FilterAction.d.ts +1 -1
  316. package/es/schema-component/antd/filter/FilterAction.js +3 -1
  317. package/es/schema-component/antd/filter/FilterItem.d.ts +1 -1
  318. package/es/schema-component/antd/filter/FilterItem.js +46 -41
  319. package/es/schema-component/antd/filter/FilterItems.d.ts +1 -1
  320. package/es/schema-component/antd/filter/FilterItems.js +2 -0
  321. package/es/schema-component/antd/filter/SaveDefaultValue.d.ts +2 -1
  322. package/es/schema-component/antd/filter/index.d.ts +1 -0
  323. package/es/schema-component/antd/filter/index.js +1 -0
  324. package/es/schema-component/antd/filter/useValues.js +3 -3
  325. package/es/schema-component/antd/form/Form.Designer.d.ts +2 -1
  326. package/es/schema-component/antd/form/Form.d.ts +1 -1
  327. package/es/schema-component/antd/form/Form.js +2 -0
  328. package/es/schema-component/antd/form-item/FormItem.FilterFormDesigner.d.ts +2 -1
  329. package/es/schema-component/antd/form-item/FormItem.js +93 -38
  330. package/es/schema-component/antd/form-item/SchemaSettingOptions.d.ts +11 -10
  331. package/es/schema-component/antd/form-item/SchemaSettingOptions.js +1 -1
  332. package/es/schema-component/antd/form-v2/Form.Designer.d.ts +4 -3
  333. package/es/schema-component/antd/form-v2/Form.FilterDesigner.d.ts +2 -1
  334. package/es/schema-component/antd/form-v2/Form.js +9 -2
  335. package/es/schema-component/antd/form-v2/FormField.js +2 -0
  336. package/es/schema-component/antd/form-v2/Templates.d.ts +7 -1
  337. package/es/schema-component/antd/form-v2/Templates.js +20 -4
  338. package/es/schema-component/antd/form-v2/index.js +2 -0
  339. package/es/schema-component/antd/g2plot/G2Plot.js +2 -0
  340. package/es/schema-component/antd/g2plot/G2PlotDesigner.d.ts +2 -1
  341. package/es/schema-component/antd/gantt/Gantt.Designer.d.ts +2 -1
  342. package/es/schema-component/antd/gantt/components/gantt/Event.d.ts +1 -1
  343. package/es/schema-component/antd/gantt/components/gantt/Event.js +2 -0
  344. package/es/schema-component/antd/gantt/components/gantt/gantt.js +2 -2
  345. package/es/schema-component/antd/grid/Block.d.ts +1 -1
  346. package/es/schema-component/antd/grid/Block.js +2 -0
  347. package/es/schema-component/antd/grid/Grid.js +25 -9
  348. package/es/schema-component/antd/grid-card/GridCard.Decorator.d.ts +1 -1
  349. package/es/schema-component/antd/grid-card/GridCard.Decorator.js +2 -12
  350. package/es/schema-component/antd/grid-card/GridCard.Designer.d.ts +2 -1
  351. package/es/schema-component/antd/grid-card/GridCard.Designer.js +4 -5
  352. package/es/schema-component/antd/grid-card/GridCard.Item.d.ts +2 -1
  353. package/es/schema-component/antd/grid-card/GridCard.d.ts +2 -1
  354. package/es/schema-component/antd/grid-card/GridCard.js +12 -8
  355. package/es/schema-component/antd/index.d.ts +1 -0
  356. package/es/schema-component/antd/index.js +1 -0
  357. package/es/schema-component/antd/index.less +18 -4
  358. package/es/schema-component/antd/input/Input.d.ts +2 -1
  359. package/es/schema-component/antd/input/Input.js +3 -2
  360. package/es/schema-component/antd/input/Json.d.ts +2 -2
  361. package/es/schema-component/antd/input/Json.js +43 -4
  362. package/es/schema-component/antd/input/ReadPretty.d.ts +1 -1
  363. package/es/schema-component/antd/input/ReadPretty.js +4 -4
  364. package/es/schema-component/antd/input-number/InputNumber.d.ts +5 -1
  365. package/es/schema-component/antd/input-number/InputNumber.js +2 -2
  366. package/es/schema-component/antd/input-number/ReadPretty.d.ts +2 -2
  367. package/es/schema-component/antd/input-number/ReadPretty.js +6 -2
  368. package/es/schema-component/antd/kanban/Kanban.Card.Designer.TitleSwitch.d.ts +2 -1
  369. package/es/schema-component/antd/kanban/Kanban.Card.Designer.d.ts +2 -1
  370. package/es/schema-component/antd/kanban/Kanban.Card.js +5 -3
  371. package/es/schema-component/antd/kanban/Kanban.CardViewer.js +2 -0
  372. package/es/schema-component/antd/kanban/Kanban.Designer.d.ts +2 -1
  373. package/es/schema-component/antd/kanban/Kanban.js +3 -1
  374. package/es/schema-component/antd/list/List.Decorator.d.ts +1 -1
  375. package/es/schema-component/antd/list/List.Decorator.js +7 -12
  376. package/es/schema-component/antd/list/List.Designer.d.ts +2 -1
  377. package/es/schema-component/antd/list/List.Item.d.ts +2 -1
  378. package/es/schema-component/antd/list/List.Item.js +1 -1
  379. package/es/schema-component/antd/list/List.d.ts +2 -1
  380. package/es/schema-component/antd/markdown/Markdown.Void.Designer.d.ts +2 -1
  381. package/es/schema-component/antd/markdown/Markdown.Void.js +2 -0
  382. package/es/schema-component/antd/markdown/Markdown.d.ts +2 -0
  383. package/es/schema-component/antd/markdown/Markdown.js +6 -2
  384. package/es/schema-component/antd/markdown/util.js +1 -1
  385. package/es/schema-component/antd/menu/Menu.Designer.d.ts +2 -1
  386. package/es/schema-component/antd/menu/Menu.js +336 -177
  387. package/es/schema-component/antd/menu/MenuItemInitializers/index.d.ts +2 -1
  388. package/es/schema-component/antd/page/FixedBlock.d.ts +2 -1
  389. package/es/schema-component/antd/page/FixedBlock.js +6 -2
  390. package/es/schema-component/antd/page/Page.d.ts +2 -1
  391. package/es/schema-component/antd/page/Page.js +53 -39
  392. package/es/schema-component/antd/page/PageTabDesigner.d.ts +3 -2
  393. package/es/schema-component/antd/pagination/index.d.ts +1 -1
  394. package/es/schema-component/antd/pagination/index.js +2 -0
  395. package/es/schema-component/antd/password/Password.d.ts +1 -1
  396. package/es/schema-component/antd/password/PasswordStrength.js +1 -144
  397. package/es/schema-component/antd/password/utils.d.ts +1 -0
  398. package/es/schema-component/antd/password/utils.js +144 -0
  399. package/es/schema-component/antd/percent/Percent.js +1 -1
  400. package/es/schema-component/antd/preview/Preview.d.ts +1 -1
  401. package/es/schema-component/antd/quick-edit/QuickEdit.d.ts +3 -0
  402. package/es/schema-component/antd/quick-edit/QuickEdit.js +88 -0
  403. package/es/schema-component/antd/quick-edit/index.d.ts +1 -0
  404. package/es/schema-component/antd/quick-edit/index.js +1 -0
  405. package/es/schema-component/antd/radio/Radio.d.ts +1 -1
  406. package/es/schema-component/antd/record-picker/InputRecordPicker.d.ts +1 -1
  407. package/es/schema-component/antd/record-picker/InputRecordPicker.js +5 -7
  408. package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +10 -4
  409. package/es/schema-component/antd/remote-select/ReadPretty.d.ts +1 -1
  410. package/es/schema-component/antd/remote-select/ReadPretty.js +2 -0
  411. package/es/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  412. package/es/schema-component/antd/remote-select/RemoteSelect.js +111 -33
  413. package/es/schema-component/antd/remote-select/utils.d.ts +4 -0
  414. package/es/schema-component/antd/remote-select/utils.js +31 -0
  415. package/es/schema-component/antd/select/ReadPretty.d.ts +1 -1
  416. package/es/schema-component/antd/select/ReadPretty.js +6 -6
  417. package/es/schema-component/antd/select/Select.d.ts +3 -0
  418. package/es/schema-component/antd/select/Select.js +22 -11
  419. package/es/schema-component/antd/select/index.d.ts +1 -1
  420. package/es/schema-component/antd/select/index.js +1 -1
  421. package/es/schema-component/antd/select/utils.d.ts +14 -0
  422. package/es/schema-component/antd/select/{shared.js → utils.js} +20 -18
  423. package/es/schema-component/antd/table/Table.Array.Designer.d.ts +2 -1
  424. package/es/schema-component/antd/table/Table.Array.d.ts +5 -5
  425. package/es/schema-component/antd/table/Table.Array.js +7 -5
  426. package/es/schema-component/antd/table/Table.Column.ActionBar.d.ts +1 -1
  427. package/es/schema-component/antd/table/Table.Column.ActionBar.js +2 -0
  428. package/es/schema-component/antd/table/Table.Column.Decorator.d.ts +2 -1
  429. package/es/schema-component/antd/table/Table.Column.Designer.d.ts +2 -1
  430. package/es/schema-component/antd/table/Table.Column.d.ts +2 -1
  431. package/es/schema-component/antd/table/Table.Designer.d.ts +2 -1
  432. package/es/schema-component/antd/table/Table.RowActionDesigner.d.ts +2 -1
  433. package/es/schema-component/antd/table/Table.RowSelection.d.ts +1 -1
  434. package/es/schema-component/antd/table/Table.RowSelection.js +2 -0
  435. package/es/schema-component/antd/table/Table.Void.Designer.d.ts +2 -1
  436. package/es/schema-component/antd/table/Table.Void.d.ts +1 -1
  437. package/es/schema-component/antd/table/Table.Void.js +2 -0
  438. package/es/schema-component/antd/table-v2/FilterDynamicComponent.d.ts +2 -2
  439. package/es/schema-component/antd/table-v2/FilterDynamicComponent.js +17 -2
  440. package/es/schema-component/antd/table-v2/Table.ActionColumnDesigner.d.ts +2 -1
  441. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.d.ts +1 -1
  442. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.js +2 -0
  443. package/es/schema-component/antd/table-v2/Table.Column.Decorator.d.ts +2 -1
  444. package/es/schema-component/antd/table-v2/Table.Column.Designer.d.ts +2 -1
  445. package/es/schema-component/antd/table-v2/Table.Column.Designer.js +148 -11
  446. package/es/schema-component/antd/table-v2/Table.Column.d.ts +2 -1
  447. package/es/schema-component/antd/table-v2/Table.Designer.d.ts +2 -1
  448. package/es/schema-component/antd/table-v2/Table.Index.d.ts +2 -1
  449. package/es/schema-component/antd/table-v2/Table.js +63 -30
  450. package/es/schema-component/antd/table-v2/TableBlockDesigner.d.ts +2 -1
  451. package/es/schema-component/antd/table-v2/TableBlockDesigner.js +53 -47
  452. package/es/schema-component/antd/table-v2/TableField.js +4 -0
  453. package/es/schema-component/antd/table-v2/TableSelectorDesigner.d.ts +2 -1
  454. package/es/schema-component/antd/table-v2/index.d.ts +1 -0
  455. package/es/schema-component/antd/table-v2/index.js +1 -0
  456. package/es/schema-component/antd/table-v2/utils.js +1 -1
  457. package/es/schema-component/antd/tabs/Tabs.Designer.d.ts +2 -1
  458. package/es/schema-component/antd/tabs/Tabs.js +49 -18
  459. package/es/schema-component/antd/tabs/context.d.ts +8 -0
  460. package/es/schema-component/antd/tabs/context.js +15 -0
  461. package/es/schema-component/antd/tabs/index.d.ts +1 -0
  462. package/es/schema-component/antd/tabs/index.js +2 -1
  463. package/es/schema-component/antd/time-picker/ReadPretty.d.ts +1 -1
  464. package/es/schema-component/antd/time-picker/ReadPretty.js +1 -1
  465. package/es/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
  466. package/es/schema-component/antd/time-picker/TimePicker.js +1 -1
  467. package/es/schema-component/antd/tree-select/ReadPretty.d.ts +1 -1
  468. package/es/schema-component/antd/tree-select/ReadPretty.js +3 -1
  469. package/es/schema-component/antd/upload/ReadPretty.js +7 -3
  470. package/es/schema-component/antd/upload/Upload.js +1 -1
  471. package/es/schema-component/antd/upload/shared.d.ts +3 -3
  472. package/es/schema-component/antd/upload/style.less +1 -2
  473. package/es/schema-component/antd/upload/type.d.ts +2 -2
  474. package/es/schema-component/antd/variable/Input.d.ts +2 -2
  475. package/es/schema-component/antd/variable/Input.js +182 -31
  476. package/es/schema-component/antd/variable/JSONInput.d.ts +2 -2
  477. package/es/schema-component/antd/variable/JSONInput.js +2 -23
  478. package/es/schema-component/antd/variable/TextArea.d.ts +2 -2
  479. package/es/schema-component/antd/variable/VariableSelect.d.ts +2 -2
  480. package/es/schema-component/antd/variable/VariableSelect.js +1 -1
  481. package/es/schema-component/common/dnd-context/index.d.ts +1 -1
  482. package/es/schema-component/common/dnd-context/index.js +11 -4
  483. package/es/schema-component/common/sortable-item/SortableItem.d.ts +11 -4
  484. package/es/schema-component/common/sortable-item/SortableItem.js +16 -5
  485. package/es/schema-component/common/utils/logic.js +64 -2
  486. package/es/schema-component/common/utils/uitls.d.ts +1 -0
  487. package/es/schema-component/common/utils/uitls.js +49 -15
  488. package/es/schema-component/core/DesignableSwitch.d.ts +2 -1
  489. package/es/schema-component/core/SchemaComponent.d.ts +2 -1
  490. package/es/schema-component/core/SchemaComponentOptions.js +13 -8
  491. package/es/schema-component/core/SchemaComponentProvider.js +17 -6
  492. package/es/schema-component/hooks/useCompile.js +33 -5
  493. package/es/schema-component/hooks/useDesignable.d.ts +5 -4
  494. package/es/schema-component/hooks/useDesignable.js +30 -28
  495. package/es/schema-component/hooks/useFieldModeOptions.js +45 -21
  496. package/es/schema-component/hooks/useProps.d.ts +1 -10
  497. package/es/schema-component/hooks/useProps.js +20 -6
  498. package/es/schema-initializer/SchemaInitializer.d.ts +18 -4
  499. package/es/schema-initializer/SchemaInitializer.js +278 -99
  500. package/es/schema-initializer/SchemaInitializerProvider.d.ts +3 -3
  501. package/es/schema-initializer/SelectCollection.d.ts +3 -3
  502. package/es/schema-initializer/SelectCollection.js +19 -16
  503. package/es/schema-initializer/buttons/BlockInitializers.d.ts +2 -0
  504. package/es/schema-initializer/buttons/BulkEditFormItemInitializers.d.ts +2 -1
  505. package/es/schema-initializer/buttons/CreateFormBlockInitializers.d.ts +2 -1
  506. package/es/schema-initializer/buttons/CreateFormBulkEditBlockInitializers.d.ts +2 -1
  507. package/es/schema-initializer/buttons/CustomFormItemInitializers.d.ts +2 -1
  508. package/es/schema-initializer/buttons/DetailsActionInitializers.d.ts +14 -0
  509. package/es/schema-initializer/buttons/DetailsActionInitializers.js +12 -0
  510. package/es/schema-initializer/buttons/FormItemInitializers.d.ts +3 -2
  511. package/es/schema-initializer/buttons/ReadPrettyFormActionInitializers.d.ts +16 -0
  512. package/es/schema-initializer/buttons/ReadPrettyFormActionInitializers.js +21 -16
  513. package/es/schema-initializer/buttons/ReadPrettyFormItemInitializers.d.ts +2 -1
  514. package/es/schema-initializer/buttons/RecordBlockInitializers.d.ts +2 -1
  515. package/es/schema-initializer/buttons/RecordFormBlockInitializers.d.ts +2 -1
  516. package/es/schema-initializer/buttons/TabPaneInitializers.d.ts +4 -3
  517. package/es/schema-initializer/buttons/TabPaneInitializers.js +3 -3
  518. package/es/schema-initializer/buttons/TableActionColumnInitializers.d.ts +3 -2
  519. package/es/schema-initializer/buttons/TableActionColumnInitializers.js +13 -4
  520. package/es/schema-initializer/buttons/TableActionInitializers.js +5 -5
  521. package/es/schema-initializer/buttons/TableColumnInitializers.d.ts +2 -1
  522. package/es/schema-initializer/buttons/TableColumnInitializers.js +17 -9
  523. package/es/schema-initializer/buttons/TableSelectorInitializers.d.ts +2 -1
  524. package/es/schema-initializer/components/BulkEditField.d.ts +2 -1
  525. package/es/schema-initializer/components/CreateRecordAction.d.ts +2 -2
  526. package/es/schema-initializer/components/CreateRecordAction.js +43 -29
  527. package/es/schema-initializer/components/DeletedField.d.ts +2 -1
  528. package/es/schema-initializer/components/DuplicateAction.d.ts +3 -0
  529. package/es/schema-initializer/components/DuplicateAction.js +165 -0
  530. package/es/schema-initializer/components/assigned-field/AssignedField.d.ts +2 -1
  531. package/es/schema-initializer/components/assigned-field/AssignedField.js +3 -2
  532. package/es/schema-initializer/components/index.d.ts +1 -0
  533. package/es/schema-initializer/components/index.js +2 -1
  534. package/es/schema-initializer/index.d.ts +1 -1
  535. package/es/schema-initializer/index.js +1 -1
  536. package/es/schema-initializer/items/ActionInitializer.d.ts +2 -1
  537. package/es/schema-initializer/items/BlockInitializer.d.ts +2 -1
  538. package/es/schema-initializer/items/BulkDestroyActionInitializer.d.ts +2 -1
  539. package/es/schema-initializer/items/BulkEditSubmitActionInitializer.d.ts +2 -1
  540. package/es/schema-initializer/items/CalendarBlockInitializer.d.ts +2 -1
  541. package/es/schema-initializer/items/CalendarBlockInitializer.js +2 -2
  542. package/es/schema-initializer/items/CollectionFieldInitializer.d.ts +2 -1
  543. package/es/schema-initializer/items/CreateActionInitializer.d.ts +2 -1
  544. package/es/schema-initializer/items/CreateChildInitializer.d.ts +2 -1
  545. package/es/schema-initializer/items/CreateFilterActionInitializer.d.ts +2 -1
  546. package/es/schema-initializer/items/CreateFormBlockInitializer.d.ts +2 -1
  547. package/es/schema-initializer/items/CreateFormBulkEditBlockInitializer.d.ts +2 -1
  548. package/es/schema-initializer/items/CreateResetActionInitializer.d.ts +2 -1
  549. package/es/schema-initializer/items/CreateSubmitActionInitializer.d.ts +2 -1
  550. package/es/schema-initializer/items/CustomizeActionInitializer.d.ts +2 -1
  551. package/es/schema-initializer/items/CustomizeBulkEditActionInitializer.d.ts +2 -1
  552. package/es/schema-initializer/items/DataBlockInitializer.d.ts +2 -1
  553. package/es/schema-initializer/items/DeleteEventActionInitializer.d.ts +2 -1
  554. package/es/schema-initializer/items/DestroyActionInitializer.d.ts +2 -1
  555. package/es/schema-initializer/items/DetailsBlockInitializer.d.ts +2 -1
  556. package/es/schema-initializer/items/DuplicateActionInitializer.d.ts +2 -0
  557. package/es/schema-initializer/items/DuplicateActionInitializer.js +61 -0
  558. package/es/schema-initializer/items/ExpandActionInitializer.d.ts +2 -1
  559. package/es/schema-initializer/items/ExpandActionInitializer.js +3 -3
  560. package/es/schema-initializer/items/FilterActionInitializer.d.ts +2 -1
  561. package/es/schema-initializer/items/FilterBlockInitializer.d.ts +2 -1
  562. package/es/schema-initializer/items/FilterCollapseBlockInitializer.d.ts +2 -1
  563. package/es/schema-initializer/items/FilterFormBlockInitializer.d.ts +2 -1
  564. package/es/schema-initializer/items/FormBlockInitializer.d.ts +2 -1
  565. package/es/schema-initializer/items/G2PlotInitializer.d.ts +2 -1
  566. package/es/schema-initializer/items/GanttBlockInitializer.d.ts +2 -1
  567. package/es/schema-initializer/items/GridCardBlockInitializer.d.ts +2 -1
  568. package/es/schema-initializer/items/InitializerWithSwitch.d.ts +2 -1
  569. package/es/schema-initializer/items/KanbanBlockInitializer.d.ts +2 -1
  570. package/es/schema-initializer/items/ListBlockInitializer.d.ts +2 -1
  571. package/es/schema-initializer/items/MarkdownBlockInitializer.d.ts +2 -1
  572. package/es/schema-initializer/items/PrintActionInitializer.d.ts +2 -1
  573. package/es/schema-initializer/items/RecordAssociationBlockInitializer.d.ts +2 -1
  574. package/es/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +2 -1
  575. package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.d.ts +2 -1
  576. package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.d.ts +2 -1
  577. package/es/schema-initializer/items/RecordFormBlockInitializer.d.ts +2 -1
  578. package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.d.ts +2 -1
  579. package/es/schema-initializer/items/RecordReadPrettyFormBlockInitializer.d.ts +2 -1
  580. package/es/schema-initializer/items/RefreshActionInitializer.d.ts +2 -1
  581. package/es/schema-initializer/items/SelectActionInitializer.d.ts +2 -1
  582. package/es/schema-initializer/items/SubmitActionInitializer.d.ts +2 -1
  583. package/es/schema-initializer/items/TableActionColumnInitializer.d.ts +2 -1
  584. package/es/schema-initializer/items/TableBlockInitializer.d.ts +2 -1
  585. package/es/schema-initializer/items/TableCollectionFieldInitializer.d.ts +2 -1
  586. package/es/schema-initializer/items/TableSelectorInitializer.d.ts +2 -1
  587. package/es/schema-initializer/items/UpdateActionInitializer.d.ts +2 -1
  588. package/es/schema-initializer/items/UpdateSubmitActionInitializer.d.ts +2 -1
  589. package/es/schema-initializer/items/ViewActionInitializer.d.ts +2 -1
  590. package/es/schema-initializer/items/index.d.ts +1 -0
  591. package/es/schema-initializer/items/index.js +1 -0
  592. package/es/schema-initializer/utils.d.ts +13 -1
  593. package/es/schema-initializer/utils.js +110 -68
  594. package/es/schema-items/GeneralSchemaItems.js +5 -3
  595. package/es/schema-items/OpenModeSchemaItems.js +14 -10
  596. package/es/schema-settings/DataTemplates/FormDataTemplates.d.ts +1 -1
  597. package/es/schema-settings/DataTemplates/FormDataTemplates.js +8 -6
  598. package/es/schema-settings/DataTemplates/TreeLabel.d.ts +2 -1
  599. package/es/schema-settings/DataTemplates/components/DataTemplateTitle.js +2 -0
  600. package/es/schema-settings/DataTemplates/components/Designer.d.ts +1 -1
  601. package/es/schema-settings/DataTemplates/components/Designer.js +2 -0
  602. package/es/schema-settings/DataTemplates/hooks/useCollectionState.d.ts +3 -3
  603. package/es/schema-settings/DataTemplates/hooks/useCollectionState.js +38 -57
  604. package/es/schema-settings/EnableChildCollections/index.d.ts +1 -1
  605. package/es/schema-settings/EnableChildCollections/index.js +2 -0
  606. package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  607. package/es/schema-settings/GeneralSchemaDesigner.js +3 -2
  608. package/es/schema-settings/LinkageRules/DynamicComponent.d.ts +2 -1
  609. package/es/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +1 -1
  610. package/es/schema-settings/LinkageRules/LinkageRuleAction.d.ts +2 -2
  611. package/es/schema-settings/LinkageRules/LinkageRuleAction.js +14 -10
  612. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +2 -2
  613. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.js +2 -0
  614. package/es/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +2 -1
  615. package/es/schema-settings/LinkageRules/components/LinkageHeader.js +2 -0
  616. package/es/schema-settings/LinkageRules/index.d.ts +1 -1
  617. package/es/schema-settings/LinkageRules/index.js +3 -1
  618. package/es/schema-settings/SchemaSettings.d.ts +2 -1
  619. package/es/schema-settings/SchemaSettings.js +150 -62
  620. package/es/schema-settings/VariableInput/VariableInput.d.ts +1 -1
  621. package/es/schema-settings/VariableInput/VariableInput.js +1 -1
  622. package/es/schema-settings/VariableInput/hooks/useDateVariable.d.ts +12 -1
  623. package/es/schema-settings/VariableInput/hooks/useDateVariable.js +41 -36
  624. package/es/schema-settings/VariableInput/hooks/useFormVariable.d.ts +19 -0
  625. package/es/schema-settings/VariableInput/hooks/useFormVariable.js +89 -0
  626. package/es/schema-settings/VariableInput/hooks/useIterationVariable.d.ts +8 -0
  627. package/es/schema-settings/VariableInput/hooks/useIterationVariable.js +77 -0
  628. package/es/schema-settings/VariableInput/hooks/useUserVariable.d.ts +4 -4
  629. package/es/schema-settings/VariableInput/hooks/useUserVariable.js +66 -42
  630. package/es/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +5 -1
  631. package/es/schema-settings/VariableInput/hooks/useVariableOptions.js +23 -3
  632. package/es/schema-settings/VariableInput/type.d.ts +28 -0
  633. package/es/schema-settings/VariableInput/type.js +1 -0
  634. package/es/schema-settings/hooks/useIsShowMultipleSwitch.js +3 -2
  635. package/es/schema-templates/BlockTemplate.d.ts +1 -1
  636. package/es/schema-templates/BlockTemplate.js +4 -1
  637. package/es/schema-templates/BlockTemplateDetails.d.ts +2 -1
  638. package/es/schema-templates/BlockTemplateDetails.js +11 -7
  639. package/es/schema-templates/BlockTemplatePage.d.ts +3 -2
  640. package/es/schema-templates/BlockTemplatePage.js +4 -1
  641. package/es/schema-templates/SchemaTemplateManagerProvider.d.ts +5 -2
  642. package/es/schema-templates/SchemaTemplateManagerProvider.js +7 -0
  643. package/es/schema-templates/index.d.ts +0 -1
  644. package/es/schema-templates/index.js +1 -2
  645. package/es/system-settings/SystemSettingsProvider.d.ts +5 -3
  646. package/es/system-settings/SystemSettingsShortcut.d.ts +2 -3
  647. package/es/system-settings/SystemSettingsShortcut.js +33 -81
  648. package/es/test/collections.d.ts +1487 -0
  649. package/es/test/collections.js +1437 -0
  650. package/es/test/index.d.ts +3 -0
  651. package/es/test/index.js +3 -0
  652. package/es/test/mainCollections.d.ts +11359 -0
  653. package/es/test/mainCollections.js +3 -0
  654. package/es/test/mockAPIClient.d.ts +6 -0
  655. package/es/test/mockAPIClient.js +10 -0
  656. package/es/user/ChangePassword.d.ts +1 -1
  657. package/es/user/ChangePassword.js +30 -26
  658. package/es/user/CurrentUser.d.ts +7 -1
  659. package/es/user/CurrentUser.js +126 -88
  660. package/es/user/CurrentUserProvider.d.ts +1 -1
  661. package/es/user/CurrentUserProvider.js +4 -3
  662. package/es/user/EditProfile.d.ts +1 -1
  663. package/es/user/EditProfile.js +31 -25
  664. package/es/user/LanguageSettings.d.ts +1 -1
  665. package/es/user/LanguageSettings.js +67 -64
  666. package/es/user/SigninPage.d.ts +2 -1
  667. package/es/user/SigninPage.js +40 -29
  668. package/es/user/SigninPageExtension.d.ts +1 -1
  669. package/es/user/SignupPage.d.ts +2 -1
  670. package/es/user/SignupPage.js +5 -4
  671. package/es/user/SwitchRole.d.ts +1 -1
  672. package/es/user/SwitchRole.js +54 -51
  673. package/es/user/ThemeSettings.d.ts +1 -1
  674. package/es/user/ThemeSettings.js +56 -52
  675. package/es/user/VerificationCode.d.ts +2 -2
  676. package/es/user/index.d.ts +0 -3
  677. package/es/user/index.js +3 -3
  678. package/lib/acl/ACLProvider.d.ts +6 -7
  679. package/lib/acl/ACLProvider.js +6 -23
  680. package/lib/acl/ACLShortcut.d.ts +2 -3
  681. package/lib/acl/ACLShortcut.js +4 -64
  682. package/lib/acl/Configuration/ConfigureCenter.d.ts +3 -2
  683. package/lib/acl/Configuration/ConfigureCenter.js +8 -25
  684. package/lib/acl/Configuration/FilterDynamicComponent.d.ts +2 -2
  685. package/lib/acl/Configuration/MenuConfigure.d.ts +2 -1
  686. package/lib/acl/Configuration/MenuItemsProvider.d.ts +2 -1
  687. package/lib/acl/Configuration/MenuItemsProvider.js +3 -3
  688. package/lib/acl/Configuration/PermisionProvider.d.ts +2 -2
  689. package/lib/acl/Configuration/RoleConfigure.d.ts +2 -1
  690. package/lib/acl/Configuration/RoleTable.d.ts +2 -1
  691. package/lib/acl/Configuration/ScopeSelect.d.ts +2 -1
  692. package/lib/acl/Configuration/schemas/scopes.d.ts +1 -0
  693. package/lib/antd-config-provider/index.d.ts +1 -1
  694. package/lib/api-client/APIClient.d.ts +1 -1
  695. package/lib/api-client/APIClientProvider.d.ts +2 -1
  696. package/lib/api-client/hooks/assign.d.ts +0 -1
  697. package/lib/api-client/hooks/assign.js +3 -10
  698. package/lib/api-client/hooks/useRequest.d.ts +1 -1
  699. package/lib/api-client/hooks/useRequest.js +1 -1
  700. package/lib/appInfo/CurrentAppInfoProvider.d.ts +1 -1
  701. package/lib/application/Application.d.ts +2 -1
  702. package/lib/application/Application.js +7 -6
  703. package/lib/application/compose.d.ts +2 -1
  704. package/lib/application-v2/Application.d.ts +31 -0
  705. package/lib/application-v2/Application.js +147 -0
  706. package/lib/application-v2/Plugin.d.ts +14 -0
  707. package/lib/application-v2/Plugin.js +99 -0
  708. package/lib/application-v2/PluginManager.d.ts +19 -0
  709. package/lib/application-v2/PluginManager.js +249 -0
  710. package/lib/application-v2/Router.d.ts +13 -0
  711. package/lib/application-v2/Router.js +111 -0
  712. package/lib/application-v2/components/AppComponent.d.ts +2 -0
  713. package/lib/application-v2/components/AppComponent.js +28 -0
  714. package/lib/application-v2/components/MainComponent.d.ts +6 -0
  715. package/lib/application-v2/components/MainComponent.js +23 -0
  716. package/lib/application-v2/components/RouterProvider.d.ts +14 -0
  717. package/lib/application-v2/components/RouterProvider.js +115 -0
  718. package/lib/application-v2/components/index.d.ts +13 -0
  719. package/lib/application-v2/components/index.js +56 -0
  720. package/lib/application-v2/compose.d.ts +2 -0
  721. package/lib/application-v2/compose.js +49 -0
  722. package/lib/application-v2/context.d.ts +3 -0
  723. package/lib/application-v2/context.js +9 -0
  724. package/lib/application-v2/hooks/index.d.ts +3 -0
  725. package/lib/application-v2/hooks/index.js +38 -0
  726. package/lib/application-v2/hooks/useApp.d.ts +1 -0
  727. package/lib/application-v2/hooks/useApp.js +12 -0
  728. package/lib/application-v2/hooks/useLoad.d.ts +1 -0
  729. package/lib/application-v2/hooks/useLoad.js +45 -0
  730. package/lib/application-v2/hooks/useRouter.d.ts +1 -0
  731. package/lib/application-v2/hooks/useRouter.js +12 -0
  732. package/lib/application-v2/index.d.ts +3 -0
  733. package/lib/application-v2/index.js +38 -0
  734. package/lib/application-v2/types.d.ts +26 -0
  735. package/lib/application-v2/types.js +5 -0
  736. package/lib/async-data-provider/index.d.ts +1 -1
  737. package/lib/auth/OptionsComponent.d.ts +7 -0
  738. package/lib/auth/OptionsComponent.js +32 -0
  739. package/lib/auth/SigninPage.d.ts +23 -0
  740. package/lib/{settings-form/SettingsForm.js → auth/SigninPage.js} +121 -277
  741. package/lib/auth/SigninPageExtension.d.ts +22 -0
  742. package/lib/auth/SigninPageExtension.js +42 -0
  743. package/lib/auth/SignupPage.d.ts +24 -0
  744. package/lib/auth/SignupPage.js +94 -0
  745. package/lib/auth/index.d.ts +4 -0
  746. package/lib/auth/index.js +49 -0
  747. package/lib/block-provider/BlockProvider.d.ts +4 -3
  748. package/lib/block-provider/BlockProvider.js +23 -5
  749. package/lib/block-provider/CalendarBlockProvider.d.ts +1 -1
  750. package/lib/block-provider/DetailsBlockProvider.d.ts +1 -1
  751. package/lib/block-provider/DetailsBlockProvider.js +1 -13
  752. package/lib/block-provider/FilterFormBlockProvider.d.ts +2 -1
  753. package/lib/block-provider/FormBlockProvider.d.ts +1 -1
  754. package/lib/block-provider/FormBlockProvider.js +10 -21
  755. package/lib/block-provider/FormFieldProvider.d.ts +1 -1
  756. package/lib/block-provider/GanttBlockProvider.d.ts +1 -1
  757. package/lib/block-provider/KanbanBlockProvider.d.ts +1 -1
  758. package/lib/block-provider/TableBlockProvider.d.ts +1 -2
  759. package/lib/block-provider/TableBlockProvider.js +57 -84
  760. package/lib/block-provider/TableFieldProvider.d.ts +1 -1
  761. package/lib/block-provider/TableSelectorProvider.d.ts +2 -2
  762. package/lib/block-provider/hooks/index.d.ts +10 -1
  763. package/lib/block-provider/hooks/index.js +50 -134
  764. package/lib/block-provider/index.d.ts +1 -0
  765. package/lib/block-provider/index.js +11 -0
  766. package/lib/board/Card.d.ts +2 -2
  767. package/lib/board/CardAdder.d.ts +2 -2
  768. package/lib/board/CardForm.d.ts +2 -2
  769. package/lib/board/Column.d.ts +3 -3
  770. package/lib/board/ColumnAdder.d.ts +2 -2
  771. package/lib/board/ColumnForm.d.ts +2 -2
  772. package/lib/board/DefaultCard.d.ts +2 -2
  773. package/lib/board/DefaultColumnHeader.d.ts +2 -2
  774. package/lib/board/Kanban.d.ts +2 -2
  775. package/lib/board/withDroppable.d.ts +2 -1
  776. package/lib/china-region/index.d.ts +2 -1
  777. package/lib/collection-manager/CollectionField.d.ts +1 -1
  778. package/lib/collection-manager/CollectionField.js +2 -1
  779. package/lib/collection-manager/CollectionManagerProvider.d.ts +2 -2
  780. package/lib/collection-manager/CollectionManagerShortcut.d.ts +2 -3
  781. package/lib/collection-manager/CollectionManagerShortcut.js +4 -63
  782. package/lib/collection-manager/Configuration/AddCategoryAction.d.ts +3 -2
  783. package/lib/collection-manager/Configuration/AddCategoryAction.js +1 -1
  784. package/lib/collection-manager/Configuration/AddCollectionAction.d.ts +3 -2
  785. package/lib/collection-manager/Configuration/AddCollectionAction.js +30 -24
  786. package/lib/collection-manager/Configuration/AddFieldAction.d.ts +3 -2
  787. package/lib/collection-manager/Configuration/AddFieldAction.js +43 -30
  788. package/lib/collection-manager/Configuration/AddSubFieldAction.d.ts +2 -1
  789. package/lib/collection-manager/Configuration/AddSubFieldAction.js +22 -17
  790. package/lib/collection-manager/Configuration/CollectionFields.d.ts +2 -1
  791. package/lib/collection-manager/Configuration/CollectionFieldsTable.d.ts +2 -2
  792. package/lib/collection-manager/Configuration/CollectionFieldsTable.js +3 -1
  793. package/lib/collection-manager/Configuration/CollectionFieldsTableArray.d.ts +2 -2
  794. package/lib/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -1
  795. package/lib/collection-manager/Configuration/ConfigurationTable.d.ts +2 -1
  796. package/lib/collection-manager/Configuration/ConfigurationTabs.d.ts +2 -1
  797. package/lib/collection-manager/Configuration/ConfigurationTabs.js +61 -49
  798. package/lib/collection-manager/Configuration/EditCategoryAction.d.ts +3 -2
  799. package/lib/collection-manager/Configuration/EditCategoryAction.js +1 -1
  800. package/lib/collection-manager/Configuration/EditCollectionAction.d.ts +3 -2
  801. package/lib/collection-manager/Configuration/EditCollectionAction.js +1 -1
  802. package/lib/collection-manager/Configuration/EditFieldAction.d.ts +3 -2
  803. package/lib/collection-manager/Configuration/EditFieldAction.js +1 -1
  804. package/lib/collection-manager/Configuration/EditSubFieldAction.d.ts +2 -1
  805. package/lib/collection-manager/Configuration/EditSubFieldAction.js +1 -1
  806. package/lib/collection-manager/Configuration/OverridingCollectionField.d.ts +3 -2
  807. package/lib/collection-manager/Configuration/OverridingCollectionField.js +1 -1
  808. package/lib/collection-manager/Configuration/SyncFieldsAction.d.ts +3 -2
  809. package/lib/collection-manager/Configuration/SyncFieldsAction.js +1 -1
  810. package/lib/collection-manager/Configuration/ViewInheritedField.d.ts +3 -2
  811. package/lib/collection-manager/Configuration/ViewInheritedField.js +1 -1
  812. package/lib/collection-manager/Configuration/components/CollectionCategory.d.ts +1 -1
  813. package/lib/collection-manager/Configuration/components/CollectionCategory.js +2 -0
  814. package/lib/collection-manager/Configuration/components/CollectionFieldInterface.d.ts +1 -1
  815. package/lib/collection-manager/Configuration/components/CollectionFieldInterface.js +2 -0
  816. package/lib/collection-manager/Configuration/components/CollectionTemplate.d.ts +1 -1
  817. package/lib/collection-manager/Configuration/components/CollectionTemplate.js +2 -0
  818. package/lib/collection-manager/Configuration/components/FieldSummary.d.ts +1 -1
  819. package/lib/collection-manager/Configuration/components/FieldSummary.js +4 -2
  820. package/lib/collection-manager/Configuration/components/TemplateSummay.d.ts +1 -1
  821. package/lib/collection-manager/Configuration/components/TemplateSummay.js +4 -2
  822. package/lib/collection-manager/Configuration/components/index.d.ts +6 -6
  823. package/lib/collection-manager/Configuration/components/index.js +12 -0
  824. package/lib/collection-manager/Configuration/interfaces.d.ts +1 -0
  825. package/lib/collection-manager/Configuration/templates.d.ts +1 -0
  826. package/lib/collection-manager/ResourceActionProvider.d.ts +1 -1
  827. package/lib/collection-manager/action-hooks.d.ts +1 -0
  828. package/lib/collection-manager/action-hooks.js +171 -92
  829. package/lib/collection-manager/hooks/useOptions.js +39 -36
  830. package/lib/collection-manager/index.d.ts +1 -1
  831. package/lib/collection-manager/index.js +7 -0
  832. package/lib/collection-manager/interfaces/components/index.d.ts +7 -6
  833. package/lib/collection-manager/interfaces/index.d.ts +0 -1
  834. package/lib/collection-manager/interfaces/index.js +0 -11
  835. package/lib/collection-manager/interfaces/integer.js +1 -1
  836. package/lib/collection-manager/interfaces/number.js +3 -3
  837. package/lib/collection-manager/interfaces/percent.js +3 -3
  838. package/lib/collection-manager/interfaces/properties/index.d.ts +0 -1
  839. package/lib/collection-manager/interfaces/properties/index.js +1 -42
  840. package/lib/collection-manager/interfaces/url.js +0 -5
  841. package/lib/collection-manager/sub-table.d.ts +2 -2
  842. package/lib/collection-manager/sub-table.js +4 -0
  843. package/lib/collection-manager/templates/components/PreviewFields.d.ts +1 -1
  844. package/lib/collection-manager/templates/components/PreviewFields.js +2 -1
  845. package/lib/collection-manager/templates/components/PreviewTable.d.ts +2 -1
  846. package/lib/collection-manager/types.d.ts +2 -0
  847. package/lib/filter-provider/FilterProvider.d.ts +5 -1
  848. package/lib/filter-provider/FilterProvider.js +9 -4
  849. package/lib/formula/Expression.d.ts +2 -1
  850. package/lib/formula/Expression.js +64 -44
  851. package/lib/formula/Result.d.ts +2 -1
  852. package/lib/formula/index.d.ts +2 -2
  853. package/lib/hooks/index.d.ts +2 -0
  854. package/lib/hooks/index.js +27 -0
  855. package/lib/hooks/useAdminSchemaUid.d.ts +1 -0
  856. package/lib/hooks/useAdminSchemaUid.js +13 -0
  857. package/lib/hooks/useMenuItem.d.ts +37 -0
  858. package/lib/hooks/useMenuItem.js +104 -0
  859. package/lib/hooks/useViewport.d.ts +1 -0
  860. package/lib/hooks/useViewport.js +47 -0
  861. package/lib/i18n/i18n.js +0 -1
  862. package/lib/icon/Icon.d.ts +2 -1
  863. package/lib/index.d.ts +3 -2
  864. package/lib/index.js +33 -22
  865. package/lib/locale/en_US.d.ts +19 -22
  866. package/lib/locale/en_US.js +22 -25
  867. package/lib/locale/es_ES.d.ts +4 -2
  868. package/lib/locale/es_ES.js +5 -3
  869. package/lib/locale/ja_JP.d.ts +19 -20
  870. package/lib/locale/ja_JP.js +20 -21
  871. package/lib/locale/pt_BR.d.ts +3 -1
  872. package/lib/locale/pt_BR.js +4 -2
  873. package/lib/locale/ru_RU.d.ts +3 -19
  874. package/lib/locale/ru_RU.js +4 -20
  875. package/lib/locale/tr_TR.d.ts +0 -17
  876. package/lib/locale/tr_TR.js +0 -17
  877. package/lib/locale/zh_CN.d.ts +28 -25
  878. package/lib/locale/zh_CN.js +29 -26
  879. package/lib/plugin-manager/PinnedPluginListProvider.d.ts +1 -1
  880. package/lib/plugin-manager/index.d.ts +1 -3
  881. package/lib/plugin-manager/index.js +4 -26
  882. package/lib/pm/Card.d.ts +8 -0
  883. package/lib/pm/Card.js +375 -0
  884. package/lib/pm/PluginManagerLink.d.ts +3 -2
  885. package/lib/pm/PluginManagerLink.js +19 -14
  886. package/lib/pm/index.d.ts +33 -3
  887. package/lib/pm/index.js +113 -278
  888. package/lib/powered-by/index.d.ts +2 -1
  889. package/lib/route-switch/RouteSwitch.d.ts +2 -2
  890. package/lib/route-switch/RouteSwitch.js +78 -45
  891. package/lib/route-switch/RouteSwitchProvider.d.ts +3 -3
  892. package/lib/route-switch/antd/admin-layout/index.d.ts +4 -2
  893. package/lib/route-switch/antd/admin-layout/index.js +59 -54
  894. package/lib/route-switch/antd/auth-layout/index.d.ts +2 -2
  895. package/lib/route-switch/antd/auth-layout/index.js +2 -1
  896. package/lib/route-switch/antd/route-schema-component/index.d.ts +2 -2
  897. package/lib/route-switch/antd/route-schema-component/index.js +2 -2
  898. package/lib/route-switch/context.d.ts +4 -0
  899. package/lib/route-switch/context.js +6 -2
  900. package/lib/route-switch/types.d.ts +2 -5
  901. package/lib/schema-component/antd/AntdSchemaComponentProvider.d.ts +2 -1
  902. package/lib/schema-component/antd/action/Action.Container.js +4 -0
  903. package/lib/schema-component/antd/action/Action.Designer.d.ts +2 -1
  904. package/lib/schema-component/antd/action/Action.Designer.js +201 -17
  905. package/lib/schema-component/antd/action/Action.Drawer.js +14 -12
  906. package/lib/schema-component/antd/action/Action.Link.js +3 -1
  907. package/lib/schema-component/antd/action/Action.Modal.js +13 -12
  908. package/lib/schema-component/antd/action/Action.Page.js +8 -2
  909. package/lib/schema-component/antd/action/Action.js +25 -17
  910. package/lib/schema-component/antd/action/ActionBar.d.ts +18 -2
  911. package/lib/schema-component/antd/action/ActionBar.js +50 -21
  912. package/lib/schema-component/antd/action/context.d.ts +8 -2
  913. package/lib/schema-component/antd/action/context.js +19 -3
  914. package/lib/schema-component/antd/action/hooks.d.ts +2 -0
  915. package/lib/schema-component/antd/association-field/AssociationFieldProvider.d.ts +1 -1
  916. package/lib/schema-component/antd/association-field/AssociationFieldProvider.js +56 -6
  917. package/lib/schema-component/antd/association-field/AssociationSelect.js +88 -9
  918. package/lib/schema-component/antd/association-field/Editable.d.ts +1 -1
  919. package/lib/schema-component/antd/association-field/Editable.js +12 -11
  920. package/lib/schema-component/antd/association-field/FileManager.d.ts +1 -1
  921. package/lib/schema-component/antd/association-field/FileManager.js +13 -3
  922. package/lib/schema-component/antd/association-field/InternalNester.d.ts +2 -1
  923. package/lib/schema-component/antd/association-field/InternalNester.js +11 -1
  924. package/lib/schema-component/antd/association-field/InternalPicker.d.ts +1 -1
  925. package/lib/schema-component/antd/association-field/InternalPicker.js +9 -3
  926. package/lib/schema-component/antd/association-field/InternalSubTable.d.ts +2 -1
  927. package/lib/schema-component/antd/association-field/InternalSubTable.js +32 -4
  928. package/lib/schema-component/antd/association-field/InternalViewer.js +9 -2
  929. package/lib/schema-component/antd/association-field/Nester.d.ts +2 -1
  930. package/lib/schema-component/antd/association-field/Nester.js +56 -12
  931. package/lib/schema-component/antd/association-field/ReadPretty.d.ts +1 -1
  932. package/lib/schema-component/antd/association-field/ReadPretty.js +4 -0
  933. package/lib/schema-component/antd/association-field/SubTable.js +53 -12
  934. package/lib/schema-component/antd/association-field/components/CreateRecordAction.d.ts +1 -1
  935. package/lib/schema-component/antd/association-field/components/CreateRecordAction.js +3 -1
  936. package/lib/schema-component/antd/association-field/schema.d.ts +3 -15
  937. package/lib/schema-component/antd/association-field/schema.js +4 -16
  938. package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.d.ts +2 -1
  939. package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.d.ts +2 -1
  940. package/lib/schema-component/antd/association-filter/AssociationFilter.FilterBlockInitializer.d.ts +2 -1
  941. package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.d.ts +2 -1
  942. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.d.ts +2 -1
  943. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.d.ts +2 -1
  944. package/lib/schema-component/antd/association-filter/AssociationFilter.d.ts +7 -6
  945. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.d.ts +2 -1
  946. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.d.ts +2 -1
  947. package/lib/schema-component/antd/association-select/ReadPretty.d.ts +1 -1
  948. package/lib/schema-component/antd/association-select/ReadPretty.js +2 -0
  949. package/lib/schema-component/antd/block-item/BlockItem.js +5 -2
  950. package/lib/schema-component/antd/block-item/TestDesigner.d.ts +2 -1
  951. package/lib/schema-component/antd/calendar/Calendar.Designer.d.ts +2 -1
  952. package/lib/schema-component/antd/calendar/Calendar.js +5 -3
  953. package/lib/schema-component/antd/calendar/DeleteEvent.d.ts +1 -1
  954. package/lib/schema-component/antd/calendar/DeleteEvent.js +3 -1
  955. package/lib/schema-component/antd/calendar/Event.d.ts +1 -1
  956. package/lib/schema-component/antd/calendar/Event.js +2 -0
  957. package/lib/schema-component/antd/calendar/Nav.d.ts +1 -1
  958. package/lib/schema-component/antd/calendar/Nav.js +5 -3
  959. package/lib/schema-component/antd/calendar/Title.d.ts +1 -1
  960. package/lib/schema-component/antd/calendar/Title.js +2 -0
  961. package/lib/schema-component/antd/calendar/Today.d.ts +1 -1
  962. package/lib/schema-component/antd/calendar/Today.js +4 -2
  963. package/lib/schema-component/antd/calendar/ViewSelect.d.ts +1 -1
  964. package/lib/schema-component/antd/calendar/ViewSelect.js +3 -0
  965. package/lib/schema-component/antd/calendar/components/Header.d.ts +2 -1
  966. package/lib/schema-component/antd/card-item/CardItem.js +1 -1
  967. package/lib/schema-component/antd/cascader/Cascader.js +8 -1
  968. package/lib/schema-component/antd/checkbox/Checkbox.d.ts +2 -1
  969. package/lib/schema-component/antd/checkbox/Checkbox.js +14 -12
  970. package/lib/schema-component/antd/collection-select/CollectionSelect.js +2 -0
  971. package/lib/schema-component/antd/cron/Cron.d.ts +2 -1
  972. package/lib/schema-component/antd/cron/Cron.js +3 -2
  973. package/lib/schema-component/antd/date-picker/DatePicker.d.ts +4 -2
  974. package/lib/schema-component/antd/date-picker/DatePicker.js +2 -1
  975. package/lib/schema-component/antd/date-picker/ReadPretty.d.ts +1 -1
  976. package/lib/schema-component/antd/date-picker/ReadPretty.js +1 -1
  977. package/lib/schema-component/antd/error-fallback/ErrorFallback.d.ts +2 -1
  978. package/lib/schema-component/antd/expand-action/Expand.Action.Design.d.ts +2 -1
  979. package/lib/schema-component/antd/expand-action/Expand.Action.Design.js +8 -8
  980. package/lib/schema-component/antd/expand-action/Expand.Action.d.ts +2 -1
  981. package/lib/schema-component/antd/expand-action/Expand.Action.js +9 -12
  982. package/lib/schema-component/antd/filter/DynamicComponent.d.ts +2 -1
  983. package/lib/schema-component/antd/filter/Filter.Action.Designer.d.ts +2 -1
  984. package/lib/schema-component/antd/filter/Filter.js +3 -1
  985. package/lib/schema-component/antd/filter/FilterAction.d.ts +1 -1
  986. package/lib/schema-component/antd/filter/FilterAction.js +3 -1
  987. package/lib/schema-component/antd/filter/FilterItem.d.ts +1 -1
  988. package/lib/schema-component/antd/filter/FilterItem.js +46 -41
  989. package/lib/schema-component/antd/filter/FilterItems.d.ts +1 -1
  990. package/lib/schema-component/antd/filter/FilterItems.js +2 -0
  991. package/lib/schema-component/antd/filter/SaveDefaultValue.d.ts +2 -1
  992. package/lib/schema-component/antd/filter/index.d.ts +1 -0
  993. package/lib/schema-component/antd/filter/index.js +11 -0
  994. package/lib/schema-component/antd/filter/useValues.js +5 -3
  995. package/lib/schema-component/antd/form/Form.Designer.d.ts +2 -1
  996. package/lib/schema-component/antd/form/Form.d.ts +1 -1
  997. package/lib/schema-component/antd/form/Form.js +2 -0
  998. package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.d.ts +2 -1
  999. package/lib/schema-component/antd/form-item/FormItem.js +95 -40
  1000. package/lib/schema-component/antd/form-item/SchemaSettingOptions.d.ts +11 -10
  1001. package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +1 -1
  1002. package/lib/schema-component/antd/form-v2/Form.Designer.d.ts +4 -3
  1003. package/lib/schema-component/antd/form-v2/Form.FilterDesigner.d.ts +2 -1
  1004. package/lib/schema-component/antd/form-v2/Form.js +8 -1
  1005. package/lib/schema-component/antd/form-v2/FormField.js +2 -0
  1006. package/lib/schema-component/antd/form-v2/Templates.d.ts +7 -1
  1007. package/lib/schema-component/antd/form-v2/Templates.js +20 -3
  1008. package/lib/schema-component/antd/form-v2/index.js +3 -1
  1009. package/lib/schema-component/antd/g2plot/G2Plot.js +2 -0
  1010. package/lib/schema-component/antd/g2plot/G2PlotDesigner.d.ts +2 -1
  1011. package/lib/schema-component/antd/gantt/Gantt.Designer.d.ts +2 -1
  1012. package/lib/schema-component/antd/gantt/components/gantt/Event.d.ts +1 -1
  1013. package/lib/schema-component/antd/gantt/components/gantt/Event.js +2 -0
  1014. package/lib/schema-component/antd/gantt/components/gantt/gantt.js +1 -1
  1015. package/lib/schema-component/antd/grid/Block.d.ts +1 -1
  1016. package/lib/schema-component/antd/grid/Block.js +2 -0
  1017. package/lib/schema-component/antd/grid/Grid.js +25 -9
  1018. package/lib/schema-component/antd/grid-card/GridCard.Decorator.d.ts +1 -1
  1019. package/lib/schema-component/antd/grid-card/GridCard.Decorator.js +2 -12
  1020. package/lib/schema-component/antd/grid-card/GridCard.Designer.d.ts +2 -1
  1021. package/lib/schema-component/antd/grid-card/GridCard.Designer.js +5 -6
  1022. package/lib/schema-component/antd/grid-card/GridCard.Item.d.ts +2 -1
  1023. package/lib/schema-component/antd/grid-card/GridCard.d.ts +2 -1
  1024. package/lib/schema-component/antd/grid-card/GridCard.js +11 -7
  1025. package/lib/schema-component/antd/index.d.ts +1 -0
  1026. package/lib/schema-component/antd/index.js +11 -0
  1027. package/lib/schema-component/antd/index.less +18 -4
  1028. package/lib/schema-component/antd/input/Input.d.ts +2 -1
  1029. package/lib/schema-component/antd/input/Input.js +3 -2
  1030. package/lib/schema-component/antd/input/Json.d.ts +2 -2
  1031. package/lib/schema-component/antd/input/Json.js +49 -9
  1032. package/lib/schema-component/antd/input/ReadPretty.d.ts +1 -1
  1033. package/lib/schema-component/antd/input/ReadPretty.js +4 -4
  1034. package/lib/schema-component/antd/input-number/InputNumber.d.ts +5 -1
  1035. package/lib/schema-component/antd/input-number/InputNumber.js +1 -1
  1036. package/lib/schema-component/antd/input-number/ReadPretty.d.ts +2 -2
  1037. package/lib/schema-component/antd/input-number/ReadPretty.js +6 -2
  1038. package/lib/schema-component/antd/kanban/Kanban.Card.Designer.TitleSwitch.d.ts +2 -1
  1039. package/lib/schema-component/antd/kanban/Kanban.Card.Designer.d.ts +2 -1
  1040. package/lib/schema-component/antd/kanban/Kanban.Card.js +4 -2
  1041. package/lib/schema-component/antd/kanban/Kanban.CardViewer.js +2 -0
  1042. package/lib/schema-component/antd/kanban/Kanban.Designer.d.ts +2 -1
  1043. package/lib/schema-component/antd/kanban/Kanban.js +3 -1
  1044. package/lib/schema-component/antd/list/List.Decorator.d.ts +1 -1
  1045. package/lib/schema-component/antd/list/List.Decorator.js +8 -13
  1046. package/lib/schema-component/antd/list/List.Designer.d.ts +2 -1
  1047. package/lib/schema-component/antd/list/List.Item.d.ts +2 -1
  1048. package/lib/schema-component/antd/list/List.Item.js +1 -1
  1049. package/lib/schema-component/antd/list/List.d.ts +2 -1
  1050. package/lib/schema-component/antd/markdown/Markdown.Void.Designer.d.ts +2 -1
  1051. package/lib/schema-component/antd/markdown/Markdown.Void.js +2 -0
  1052. package/lib/schema-component/antd/markdown/Markdown.d.ts +2 -0
  1053. package/lib/schema-component/antd/markdown/Markdown.js +9 -4
  1054. package/lib/schema-component/antd/markdown/util.js +1 -1
  1055. package/lib/schema-component/antd/menu/Menu.Designer.d.ts +2 -1
  1056. package/lib/schema-component/antd/menu/Menu.js +334 -175
  1057. package/lib/schema-component/antd/menu/MenuItemInitializers/index.d.ts +2 -1
  1058. package/lib/schema-component/antd/page/FixedBlock.d.ts +2 -1
  1059. package/lib/schema-component/antd/page/FixedBlock.js +6 -2
  1060. package/lib/schema-component/antd/page/Page.d.ts +2 -1
  1061. package/lib/schema-component/antd/page/Page.js +51 -37
  1062. package/lib/schema-component/antd/page/PageTabDesigner.d.ts +3 -2
  1063. package/lib/schema-component/antd/pagination/index.d.ts +1 -1
  1064. package/lib/schema-component/antd/pagination/index.js +2 -0
  1065. package/lib/schema-component/antd/password/Password.d.ts +1 -1
  1066. package/lib/schema-component/antd/password/PasswordStrength.js +2 -145
  1067. package/lib/schema-component/antd/password/utils.d.ts +1 -0
  1068. package/lib/schema-component/antd/password/utils.js +151 -0
  1069. package/lib/schema-component/antd/percent/Percent.js +2 -2
  1070. package/lib/schema-component/antd/preview/Preview.d.ts +1 -1
  1071. package/lib/schema-component/antd/quick-edit/QuickEdit.d.ts +3 -0
  1072. package/lib/schema-component/antd/quick-edit/QuickEdit.js +98 -0
  1073. package/lib/schema-component/antd/quick-edit/index.d.ts +1 -0
  1074. package/lib/{settings-form → schema-component/antd/quick-edit}/index.js +4 -4
  1075. package/lib/schema-component/antd/radio/Radio.d.ts +1 -1
  1076. package/lib/schema-component/antd/record-picker/InputRecordPicker.d.ts +1 -1
  1077. package/lib/schema-component/antd/record-picker/InputRecordPicker.js +4 -6
  1078. package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +9 -4
  1079. package/lib/schema-component/antd/remote-select/ReadPretty.d.ts +1 -1
  1080. package/lib/schema-component/antd/remote-select/ReadPretty.js +2 -0
  1081. package/lib/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  1082. package/lib/schema-component/antd/remote-select/RemoteSelect.js +108 -30
  1083. package/lib/schema-component/antd/remote-select/utils.d.ts +4 -0
  1084. package/lib/schema-component/antd/remote-select/utils.js +41 -0
  1085. package/lib/schema-component/antd/select/ReadPretty.d.ts +1 -1
  1086. package/lib/schema-component/antd/select/ReadPretty.js +7 -7
  1087. package/lib/schema-component/antd/select/Select.d.ts +3 -0
  1088. package/lib/schema-component/antd/select/Select.js +23 -12
  1089. package/lib/schema-component/antd/select/index.d.ts +1 -1
  1090. package/lib/schema-component/antd/select/index.js +4 -4
  1091. package/lib/schema-component/antd/select/utils.d.ts +14 -0
  1092. package/lib/schema-component/antd/select/{shared.js → utils.js} +22 -20
  1093. package/lib/schema-component/antd/table/Table.Array.Designer.d.ts +2 -1
  1094. package/lib/schema-component/antd/table/Table.Array.d.ts +5 -5
  1095. package/lib/schema-component/antd/table/Table.Array.js +7 -5
  1096. package/lib/schema-component/antd/table/Table.Column.ActionBar.d.ts +1 -1
  1097. package/lib/schema-component/antd/table/Table.Column.ActionBar.js +2 -0
  1098. package/lib/schema-component/antd/table/Table.Column.Decorator.d.ts +2 -1
  1099. package/lib/schema-component/antd/table/Table.Column.Designer.d.ts +2 -1
  1100. package/lib/schema-component/antd/table/Table.Column.d.ts +2 -1
  1101. package/lib/schema-component/antd/table/Table.Designer.d.ts +2 -1
  1102. package/lib/schema-component/antd/table/Table.RowActionDesigner.d.ts +2 -1
  1103. package/lib/schema-component/antd/table/Table.RowSelection.d.ts +1 -1
  1104. package/lib/schema-component/antd/table/Table.RowSelection.js +2 -0
  1105. package/lib/schema-component/antd/table/Table.Void.Designer.d.ts +2 -1
  1106. package/lib/schema-component/antd/table/Table.Void.d.ts +1 -1
  1107. package/lib/schema-component/antd/table/Table.Void.js +2 -0
  1108. package/lib/schema-component/antd/table-v2/FilterDynamicComponent.d.ts +2 -2
  1109. package/lib/schema-component/antd/table-v2/FilterDynamicComponent.js +17 -2
  1110. package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.d.ts +2 -1
  1111. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.d.ts +1 -1
  1112. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.js +2 -0
  1113. package/lib/schema-component/antd/table-v2/Table.Column.Decorator.d.ts +2 -1
  1114. package/lib/schema-component/antd/table-v2/Table.Column.Designer.d.ts +2 -1
  1115. package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +146 -9
  1116. package/lib/schema-component/antd/table-v2/Table.Column.d.ts +2 -1
  1117. package/lib/schema-component/antd/table-v2/Table.Designer.d.ts +2 -1
  1118. package/lib/schema-component/antd/table-v2/Table.Index.d.ts +2 -1
  1119. package/lib/schema-component/antd/table-v2/Table.js +61 -28
  1120. package/lib/schema-component/antd/table-v2/TableBlockDesigner.d.ts +2 -1
  1121. package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +54 -47
  1122. package/lib/schema-component/antd/table-v2/TableField.js +4 -0
  1123. package/lib/schema-component/antd/table-v2/TableSelectorDesigner.d.ts +2 -1
  1124. package/lib/schema-component/antd/table-v2/index.d.ts +1 -0
  1125. package/lib/schema-component/antd/table-v2/index.js +12 -0
  1126. package/lib/schema-component/antd/table-v2/utils.js +1 -1
  1127. package/lib/schema-component/antd/tabs/Tabs.Designer.d.ts +2 -1
  1128. package/lib/schema-component/antd/tabs/Tabs.js +51 -18
  1129. package/lib/schema-component/antd/tabs/context.d.ts +8 -0
  1130. package/lib/schema-component/antd/tabs/context.js +24 -0
  1131. package/lib/schema-component/antd/tabs/index.d.ts +1 -0
  1132. package/lib/schema-component/antd/tabs/index.js +11 -0
  1133. package/lib/schema-component/antd/time-picker/ReadPretty.d.ts +1 -1
  1134. package/lib/schema-component/antd/time-picker/ReadPretty.js +1 -1
  1135. package/lib/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
  1136. package/lib/schema-component/antd/time-picker/TimePicker.js +1 -1
  1137. package/lib/schema-component/antd/tree-select/ReadPretty.d.ts +1 -1
  1138. package/lib/schema-component/antd/tree-select/ReadPretty.js +3 -1
  1139. package/lib/schema-component/antd/upload/ReadPretty.js +7 -3
  1140. package/lib/schema-component/antd/upload/Upload.js +1 -1
  1141. package/lib/schema-component/antd/upload/shared.d.ts +3 -3
  1142. package/lib/schema-component/antd/upload/style.less +1 -2
  1143. package/lib/schema-component/antd/upload/type.d.ts +2 -2
  1144. package/lib/schema-component/antd/variable/Input.d.ts +2 -2
  1145. package/lib/schema-component/antd/variable/Input.js +183 -31
  1146. package/lib/schema-component/antd/variable/JSONInput.d.ts +2 -2
  1147. package/lib/schema-component/antd/variable/JSONInput.js +2 -23
  1148. package/lib/schema-component/antd/variable/TextArea.d.ts +2 -2
  1149. package/lib/schema-component/antd/variable/VariableSelect.d.ts +2 -2
  1150. package/lib/schema-component/antd/variable/VariableSelect.js +1 -1
  1151. package/lib/schema-component/common/dnd-context/index.d.ts +1 -1
  1152. package/lib/schema-component/common/dnd-context/index.js +11 -4
  1153. package/lib/schema-component/common/sortable-item/SortableItem.d.ts +11 -4
  1154. package/lib/schema-component/common/sortable-item/SortableItem.js +16 -5
  1155. package/lib/schema-component/common/utils/logic.js +64 -2
  1156. package/lib/schema-component/common/utils/uitls.d.ts +1 -0
  1157. package/lib/schema-component/common/utils/uitls.js +50 -14
  1158. package/lib/schema-component/core/DesignableSwitch.d.ts +2 -1
  1159. package/lib/schema-component/core/SchemaComponent.d.ts +2 -1
  1160. package/lib/schema-component/core/SchemaComponentOptions.js +12 -7
  1161. package/lib/schema-component/core/SchemaComponentProvider.js +17 -6
  1162. package/lib/schema-component/hooks/useCompile.js +32 -4
  1163. package/lib/schema-component/hooks/useDesignable.d.ts +5 -4
  1164. package/lib/schema-component/hooks/useDesignable.js +30 -28
  1165. package/lib/schema-component/hooks/useFieldModeOptions.js +44 -20
  1166. package/lib/schema-component/hooks/useProps.d.ts +1 -10
  1167. package/lib/schema-component/hooks/useProps.js +20 -6
  1168. package/lib/schema-initializer/SchemaInitializer.d.ts +18 -4
  1169. package/lib/schema-initializer/SchemaInitializer.js +275 -96
  1170. package/lib/schema-initializer/SchemaInitializerProvider.d.ts +3 -3
  1171. package/lib/schema-initializer/SelectCollection.d.ts +3 -3
  1172. package/lib/schema-initializer/SelectCollection.js +22 -17
  1173. package/lib/schema-initializer/buttons/BlockInitializers.d.ts +2 -0
  1174. package/lib/schema-initializer/buttons/BulkEditFormItemInitializers.d.ts +2 -1
  1175. package/lib/schema-initializer/buttons/CreateFormBlockInitializers.d.ts +2 -1
  1176. package/lib/schema-initializer/buttons/CreateFormBulkEditBlockInitializers.d.ts +2 -1
  1177. package/lib/schema-initializer/buttons/CustomFormItemInitializers.d.ts +2 -1
  1178. package/lib/schema-initializer/buttons/DetailsActionInitializers.d.ts +14 -0
  1179. package/lib/schema-initializer/buttons/DetailsActionInitializers.js +12 -0
  1180. package/lib/schema-initializer/buttons/FormItemInitializers.d.ts +3 -2
  1181. package/lib/schema-initializer/buttons/ReadPrettyFormActionInitializers.d.ts +16 -0
  1182. package/lib/schema-initializer/buttons/ReadPrettyFormActionInitializers.js +21 -16
  1183. package/lib/schema-initializer/buttons/ReadPrettyFormItemInitializers.d.ts +2 -1
  1184. package/lib/schema-initializer/buttons/RecordBlockInitializers.d.ts +2 -1
  1185. package/lib/schema-initializer/buttons/RecordFormBlockInitializers.d.ts +2 -1
  1186. package/lib/schema-initializer/buttons/TabPaneInitializers.d.ts +4 -3
  1187. package/lib/schema-initializer/buttons/TabPaneInitializers.js +3 -3
  1188. package/lib/schema-initializer/buttons/TableActionColumnInitializers.d.ts +3 -2
  1189. package/lib/schema-initializer/buttons/TableActionColumnInitializers.js +13 -4
  1190. package/lib/schema-initializer/buttons/TableActionInitializers.js +5 -5
  1191. package/lib/schema-initializer/buttons/TableColumnInitializers.d.ts +2 -1
  1192. package/lib/schema-initializer/buttons/TableColumnInitializers.js +17 -9
  1193. package/lib/schema-initializer/buttons/TableSelectorInitializers.d.ts +2 -1
  1194. package/lib/schema-initializer/components/BulkEditField.d.ts +2 -1
  1195. package/lib/schema-initializer/components/CreateRecordAction.d.ts +2 -2
  1196. package/lib/schema-initializer/components/CreateRecordAction.js +40 -26
  1197. package/lib/schema-initializer/components/DeletedField.d.ts +2 -1
  1198. package/lib/schema-initializer/components/DuplicateAction.d.ts +3 -0
  1199. package/lib/schema-initializer/components/DuplicateAction.js +174 -0
  1200. package/lib/schema-initializer/components/assigned-field/AssignedField.d.ts +2 -1
  1201. package/lib/schema-initializer/components/assigned-field/AssignedField.js +3 -2
  1202. package/lib/schema-initializer/components/index.d.ts +1 -0
  1203. package/lib/schema-initializer/components/index.js +11 -0
  1204. package/lib/schema-initializer/index.d.ts +1 -1
  1205. package/lib/schema-initializer/index.js +7 -0
  1206. package/lib/schema-initializer/items/ActionInitializer.d.ts +2 -1
  1207. package/lib/schema-initializer/items/BlockInitializer.d.ts +2 -1
  1208. package/lib/schema-initializer/items/BulkDestroyActionInitializer.d.ts +2 -1
  1209. package/lib/schema-initializer/items/BulkEditSubmitActionInitializer.d.ts +2 -1
  1210. package/lib/schema-initializer/items/CalendarBlockInitializer.d.ts +2 -1
  1211. package/lib/schema-initializer/items/CalendarBlockInitializer.js +9 -9
  1212. package/lib/schema-initializer/items/CollectionFieldInitializer.d.ts +2 -1
  1213. package/lib/schema-initializer/items/CreateActionInitializer.d.ts +2 -1
  1214. package/lib/schema-initializer/items/CreateChildInitializer.d.ts +2 -1
  1215. package/lib/schema-initializer/items/CreateFilterActionInitializer.d.ts +2 -1
  1216. package/lib/schema-initializer/items/CreateFormBlockInitializer.d.ts +2 -1
  1217. package/lib/schema-initializer/items/CreateFormBulkEditBlockInitializer.d.ts +2 -1
  1218. package/lib/schema-initializer/items/CreateResetActionInitializer.d.ts +2 -1
  1219. package/lib/schema-initializer/items/CreateSubmitActionInitializer.d.ts +2 -1
  1220. package/lib/schema-initializer/items/CustomizeActionInitializer.d.ts +2 -1
  1221. package/lib/schema-initializer/items/CustomizeBulkEditActionInitializer.d.ts +2 -1
  1222. package/lib/schema-initializer/items/DataBlockInitializer.d.ts +2 -1
  1223. package/lib/schema-initializer/items/DeleteEventActionInitializer.d.ts +2 -1
  1224. package/lib/schema-initializer/items/DestroyActionInitializer.d.ts +2 -1
  1225. package/lib/schema-initializer/items/DetailsBlockInitializer.d.ts +2 -1
  1226. package/lib/schema-initializer/items/DuplicateActionInitializer.d.ts +2 -0
  1227. package/lib/schema-initializer/items/DuplicateActionInitializer.js +69 -0
  1228. package/lib/schema-initializer/items/ExpandActionInitializer.d.ts +2 -1
  1229. package/lib/schema-initializer/items/ExpandActionInitializer.js +3 -3
  1230. package/lib/schema-initializer/items/FilterActionInitializer.d.ts +2 -1
  1231. package/lib/schema-initializer/items/FilterBlockInitializer.d.ts +2 -1
  1232. package/lib/schema-initializer/items/FilterCollapseBlockInitializer.d.ts +2 -1
  1233. package/lib/schema-initializer/items/FilterFormBlockInitializer.d.ts +2 -1
  1234. package/lib/schema-initializer/items/FormBlockInitializer.d.ts +2 -1
  1235. package/lib/schema-initializer/items/G2PlotInitializer.d.ts +2 -1
  1236. package/lib/schema-initializer/items/GanttBlockInitializer.d.ts +2 -1
  1237. package/lib/schema-initializer/items/GridCardBlockInitializer.d.ts +2 -1
  1238. package/lib/schema-initializer/items/InitializerWithSwitch.d.ts +2 -1
  1239. package/lib/schema-initializer/items/KanbanBlockInitializer.d.ts +2 -1
  1240. package/lib/schema-initializer/items/ListBlockInitializer.d.ts +2 -1
  1241. package/lib/schema-initializer/items/MarkdownBlockInitializer.d.ts +2 -1
  1242. package/lib/schema-initializer/items/PrintActionInitializer.d.ts +2 -1
  1243. package/lib/schema-initializer/items/RecordAssociationBlockInitializer.d.ts +2 -1
  1244. package/lib/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +2 -1
  1245. package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.d.ts +2 -1
  1246. package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.d.ts +2 -1
  1247. package/lib/schema-initializer/items/RecordFormBlockInitializer.d.ts +2 -1
  1248. package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.d.ts +2 -1
  1249. package/lib/schema-initializer/items/RecordReadPrettyFormBlockInitializer.d.ts +2 -1
  1250. package/lib/schema-initializer/items/RefreshActionInitializer.d.ts +2 -1
  1251. package/lib/schema-initializer/items/SelectActionInitializer.d.ts +2 -1
  1252. package/lib/schema-initializer/items/SubmitActionInitializer.d.ts +2 -1
  1253. package/lib/schema-initializer/items/TableActionColumnInitializer.d.ts +2 -1
  1254. package/lib/schema-initializer/items/TableBlockInitializer.d.ts +2 -1
  1255. package/lib/schema-initializer/items/TableCollectionFieldInitializer.d.ts +2 -1
  1256. package/lib/schema-initializer/items/TableSelectorInitializer.d.ts +2 -1
  1257. package/lib/schema-initializer/items/UpdateActionInitializer.d.ts +2 -1
  1258. package/lib/schema-initializer/items/UpdateSubmitActionInitializer.d.ts +2 -1
  1259. package/lib/schema-initializer/items/ViewActionInitializer.d.ts +2 -1
  1260. package/lib/schema-initializer/items/index.d.ts +1 -0
  1261. package/lib/schema-initializer/items/index.js +11 -0
  1262. package/lib/schema-initializer/utils.d.ts +13 -1
  1263. package/lib/schema-initializer/utils.js +111 -68
  1264. package/lib/schema-items/GeneralSchemaItems.js +5 -3
  1265. package/lib/schema-items/OpenModeSchemaItems.js +14 -10
  1266. package/lib/schema-settings/DataTemplates/FormDataTemplates.d.ts +1 -1
  1267. package/lib/schema-settings/DataTemplates/FormDataTemplates.js +8 -6
  1268. package/lib/schema-settings/DataTemplates/TreeLabel.d.ts +2 -1
  1269. package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.js +2 -0
  1270. package/lib/schema-settings/DataTemplates/components/Designer.d.ts +1 -1
  1271. package/lib/schema-settings/DataTemplates/components/Designer.js +2 -0
  1272. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.d.ts +3 -3
  1273. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.js +38 -58
  1274. package/lib/schema-settings/EnableChildCollections/index.d.ts +1 -1
  1275. package/lib/schema-settings/EnableChildCollections/index.js +2 -0
  1276. package/lib/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  1277. package/lib/schema-settings/GeneralSchemaDesigner.js +3 -2
  1278. package/lib/schema-settings/LinkageRules/DynamicComponent.d.ts +2 -1
  1279. package/lib/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +1 -1
  1280. package/lib/schema-settings/LinkageRules/LinkageRuleAction.d.ts +2 -2
  1281. package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +14 -10
  1282. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +2 -2
  1283. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.js +2 -0
  1284. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +2 -1
  1285. package/lib/schema-settings/LinkageRules/components/LinkageHeader.js +2 -0
  1286. package/lib/schema-settings/LinkageRules/index.d.ts +1 -1
  1287. package/lib/schema-settings/LinkageRules/index.js +3 -1
  1288. package/lib/schema-settings/SchemaSettings.d.ts +2 -1
  1289. package/lib/schema-settings/SchemaSettings.js +148 -60
  1290. package/lib/schema-settings/VariableInput/VariableInput.d.ts +1 -1
  1291. package/lib/schema-settings/VariableInput/VariableInput.js +1 -1
  1292. package/lib/schema-settings/VariableInput/hooks/useDateVariable.d.ts +12 -1
  1293. package/lib/schema-settings/VariableInput/hooks/useDateVariable.js +41 -36
  1294. package/lib/schema-settings/VariableInput/hooks/useFormVariable.d.ts +19 -0
  1295. package/lib/schema-settings/VariableInput/hooks/useFormVariable.js +96 -0
  1296. package/lib/schema-settings/VariableInput/hooks/useIterationVariable.d.ts +8 -0
  1297. package/lib/schema-settings/VariableInput/hooks/useIterationVariable.js +84 -0
  1298. package/lib/schema-settings/VariableInput/hooks/useUserVariable.d.ts +4 -4
  1299. package/lib/schema-settings/VariableInput/hooks/useUserVariable.js +66 -42
  1300. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +5 -1
  1301. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +23 -3
  1302. package/lib/schema-settings/VariableInput/type.d.ts +28 -0
  1303. package/lib/schema-settings/VariableInput/type.js +5 -0
  1304. package/lib/schema-settings/hooks/useIsShowMultipleSwitch.js +3 -2
  1305. package/lib/schema-templates/BlockTemplate.d.ts +1 -1
  1306. package/lib/schema-templates/BlockTemplate.js +4 -1
  1307. package/lib/schema-templates/BlockTemplateDetails.d.ts +2 -1
  1308. package/lib/schema-templates/BlockTemplateDetails.js +10 -6
  1309. package/lib/schema-templates/BlockTemplatePage.d.ts +3 -2
  1310. package/lib/schema-templates/BlockTemplatePage.js +5 -2
  1311. package/lib/schema-templates/SchemaTemplateManagerProvider.d.ts +5 -2
  1312. package/lib/schema-templates/SchemaTemplateManagerProvider.js +7 -0
  1313. package/lib/schema-templates/index.d.ts +0 -1
  1314. package/lib/schema-templates/index.js +0 -11
  1315. package/lib/system-settings/SystemSettingsProvider.d.ts +5 -3
  1316. package/lib/system-settings/SystemSettingsShortcut.d.ts +2 -3
  1317. package/lib/system-settings/SystemSettingsShortcut.js +33 -85
  1318. package/lib/test/collections.d.ts +1487 -0
  1319. package/lib/test/collections.js +1444 -0
  1320. package/lib/test/index.d.ts +3 -0
  1321. package/lib/test/index.js +36 -0
  1322. package/lib/test/mainCollections.d.ts +11359 -0
  1323. package/lib/test/mainCollections.js +3 -0
  1324. package/lib/test/mockAPIClient.d.ts +6 -0
  1325. package/lib/test/mockAPIClient.js +18 -0
  1326. package/lib/user/ChangePassword.d.ts +1 -1
  1327. package/lib/user/ChangePassword.js +30 -26
  1328. package/lib/user/CurrentUser.d.ts +7 -1
  1329. package/lib/user/CurrentUser.js +122 -83
  1330. package/lib/user/CurrentUserProvider.d.ts +1 -1
  1331. package/lib/user/CurrentUserProvider.js +3 -2
  1332. package/lib/user/EditProfile.d.ts +1 -1
  1333. package/lib/user/EditProfile.js +31 -25
  1334. package/lib/user/LanguageSettings.d.ts +1 -1
  1335. package/lib/user/LanguageSettings.js +66 -63
  1336. package/lib/user/SigninPage.d.ts +2 -1
  1337. package/lib/user/SigninPage.js +39 -28
  1338. package/lib/user/SigninPageExtension.d.ts +1 -1
  1339. package/lib/user/SignupPage.d.ts +2 -1
  1340. package/lib/user/SignupPage.js +4 -3
  1341. package/lib/user/SwitchRole.d.ts +1 -1
  1342. package/lib/user/SwitchRole.js +57 -53
  1343. package/lib/user/ThemeSettings.d.ts +1 -1
  1344. package/lib/user/ThemeSettings.js +59 -54
  1345. package/lib/user/VerificationCode.d.ts +2 -2
  1346. package/lib/user/index.d.ts +0 -3
  1347. package/lib/user/index.js +0 -33
  1348. package/package.json +16 -15
  1349. package/tsconfig.json +2 -0
  1350. package/.umirc.ts +0 -24
  1351. package/develop.md +0 -5
  1352. package/es/collection-manager/interfaces/attachment.d.ts +0 -2
  1353. package/es/collection-manager/interfaces/attachment.js +0 -98
  1354. package/es/plugin-manager/PluginManager.d.ts +0 -23
  1355. package/es/plugin-manager/PluginManager.js +0 -166
  1356. package/es/plugin-manager/PluginManagerProvider.d.ts +0 -2
  1357. package/es/plugin-manager/PluginManagerProvider.js +0 -11
  1358. package/es/schema-component/antd/select/shared.d.ts +0 -7
  1359. package/es/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -22
  1360. package/es/schema-component/antd/table-v2/hooks/useUserVariable.js +0 -65
  1361. package/es/schema-templates/SchemaTemplateShortcut.d.ts +0 -1
  1362. package/es/schema-templates/SchemaTemplateShortcut.js +0 -17
  1363. package/es/settings-form/SettingsForm.d.ts +0 -13
  1364. package/es/settings-form/index.d.ts +0 -1
  1365. package/es/settings-form/index.js +0 -1
  1366. package/lib/collection-manager/interfaces/attachment.d.ts +0 -2
  1367. package/lib/collection-manager/interfaces/attachment.js +0 -105
  1368. package/lib/plugin-manager/PluginManager.d.ts +0 -23
  1369. package/lib/plugin-manager/PluginManager.js +0 -178
  1370. package/lib/plugin-manager/PluginManagerProvider.d.ts +0 -2
  1371. package/lib/plugin-manager/PluginManagerProvider.js +0 -19
  1372. package/lib/schema-component/antd/select/shared.d.ts +0 -7
  1373. package/lib/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -22
  1374. package/lib/schema-component/antd/table-v2/hooks/useUserVariable.js +0 -73
  1375. package/lib/schema-templates/SchemaTemplateShortcut.d.ts +0 -1
  1376. package/lib/schema-templates/SchemaTemplateShortcut.js +0 -25
  1377. package/lib/settings-form/SettingsForm.d.ts +0 -13
  1378. package/lib/settings-form/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare function Column({ children, index: columnIndex, renderCard, renderCardAdder, renderColumnHeader, disableColumnDrag, disableCardDrag, onCardNew, allowAddCard, cardAdderPosition, }: {
3
3
  children: any;
4
4
  index: any;
@@ -6,12 +6,12 @@ declare function Column({ children, index: columnIndex, renderCard, renderCardAd
6
6
  renderCardAdder?: ({ column, onConfirm }: {
7
7
  column: any;
8
8
  onConfirm: any;
9
- }) => JSX.Element;
9
+ }) => React.JSX.Element;
10
10
  renderColumnHeader: any;
11
11
  disableColumnDrag: any;
12
12
  disableCardDrag: any;
13
13
  onCardNew: any;
14
14
  allowAddCard: any;
15
15
  cardAdderPosition?: string;
16
- }): JSX.Element;
16
+ }): React.JSX.Element;
17
17
  export default Column;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare function ColumnAdder({ onConfirm }: {
3
3
  onConfirm: any;
4
- }): JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export default ColumnAdder;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare function ColumnForm({ onConfirm, onCancel }: {
3
3
  onConfirm: any;
4
4
  onCancel: any;
5
- }): JSX.Element;
5
+ }): React.JSX.Element;
6
6
  export default ColumnForm;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare function DefaultCard({ children: card, dragging, allowRemoveCard, onCardRemove }: {
3
3
  children: any;
4
4
  dragging: any;
5
5
  allowRemoveCard: any;
6
6
  onCardRemove: any;
7
- }): JSX.Element;
7
+ }): React.JSX.Element;
8
8
  export default DefaultCard;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare function DefaultColumnHeader({ children: column, allowRemoveColumn, onColumnRemove, allowRenameColumn, onColumnRename, }: {
3
3
  children: any;
4
4
  allowRemoveColumn: any;
5
5
  onColumnRemove: any;
6
6
  allowRenameColumn: any;
7
7
  onColumnRename: any;
8
- }): JSX.Element;
8
+ }): React.JSX.Element;
9
9
  export default DefaultColumnHeader;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '@asseinfo/react-kanban/dist/styles.css';
3
- export declare function Kanban(): JSX.Element;
2
+ import React from 'react';
3
+ export declare function Kanban(): React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  declare function withDroppable(Component: any): ({ children, ...droppableProps }: {
2
3
  [x: string]: any;
3
4
  children: any;
4
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
5
6
  export default withDroppable;
@@ -1 +1,2 @@
1
- export declare const ChinaRegionProvider: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ChinaRegionProvider: (props: any) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare const InternalFallbackField: () => JSX.Element;
2
+ export declare const InternalFallbackField: () => React.JSX.Element;
3
3
  export declare const CollectionField: React.ForwardRefExoticComponent<Pick<Partial<any>, string | number | symbol> & React.RefAttributes<unknown>>;
4
4
  export default CollectionField;
@@ -54,7 +54,8 @@ var InternalField = function InternalField(props) {
54
54
  setFieldProps('title', uiSchema.title);
55
55
  setFieldProps('description', uiSchema.description);
56
56
  if (ctx === null || ctx === void 0 ? void 0 : ctx.form) {
57
- setFieldProps('initialValue', fieldSchema.default || defaultValue);
57
+ var defaultVal = fieldSchema.default || defaultValue;
58
+ defaultVal !== null && defaultVal !== undefined && setFieldProps('initialValue', defaultVal);
58
59
  }
59
60
  if (!field.validator && (uiSchema['x-validator'] || fieldSchema['x-validator'])) {
60
61
  var concatSchema = (0, _lodash.concat)([], uiSchema['x-validator'] || [], fieldSchema['x-validator'] || []);
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { CollectionManagerOptions } from './types';
3
3
  export declare const CollectionManagerProvider: React.FC<CollectionManagerOptions>;
4
- export declare const RemoteCollectionManagerProvider: (props: any) => JSX.Element;
5
- export declare const CollectionCategroriesProvider: (props: any) => JSX.Element;
4
+ export declare const RemoteCollectionManagerProvider: (props: any) => React.JSX.Element;
5
+ export declare const CollectionCategroriesProvider: (props: any) => React.JSX.Element;
@@ -1,3 +1,2 @@
1
- export declare const CollectionManagerPane: () => JSX.Element;
2
- export declare const CollectionManagerShortcut: () => JSX.Element;
3
- export declare const CollectionManagerShortcut2: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const CollectionManagerPane: () => React.JSX.Element;
@@ -3,25 +3,14 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CollectionManagerShortcut2 = exports.CollectionManagerShortcut = exports.CollectionManagerPane = void 0;
7
- var _icons = require("@ant-design/icons");
6
+ exports.CollectionManagerPane = void 0;
8
7
  var _shared = require("@formily/shared");
9
- var _react = _interopRequireWildcard(require("react"));
10
- var _reactI18next = require("react-i18next");
11
- var _reactRouterDom = require("react-router-dom");
12
- var _pluginManager = require("../plugin-manager");
8
+ var _react = _interopRequireDefault(require("react"));
13
9
  var _schemaComponent = require("../schema-component");
14
10
  var _Configuration = require("./Configuration");
15
11
  var _CollectionManagerProvider = require("./CollectionManagerProvider");
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
13
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
19
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
20
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
21
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
22
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
23
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
24
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
14
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
26
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
27
16
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -78,52 +67,4 @@ var CollectionManagerPane = function CollectionManagerPane() {
78
67
  // </Card>
79
68
  );
80
69
  };
81
- exports.CollectionManagerPane = CollectionManagerPane;
82
- var CollectionManagerShortcut = function CollectionManagerShortcut() {
83
- var _useTranslation = (0, _reactI18next.useTranslation)(),
84
- t = _useTranslation.t;
85
- var history = (0, _reactRouterDom.useHistory)();
86
- return /*#__PURE__*/_react.default.createElement(_pluginManager.PluginManager.Toolbar.Item, {
87
- icon: /*#__PURE__*/_react.default.createElement(_icons.DatabaseOutlined, null),
88
- title: t('Collections & Fields'),
89
- onClick: function onClick() {
90
- history.push('/admin/settings/collection-manager/collections');
91
- }
92
- });
93
- };
94
- exports.CollectionManagerShortcut = CollectionManagerShortcut;
95
- var CollectionManagerShortcut2 = function CollectionManagerShortcut2() {
96
- var _useState = (0, _react.useState)(false),
97
- _useState2 = _slicedToArray(_useState, 2),
98
- visible = _useState2[0],
99
- setVisible = _useState2[1];
100
- var _useTranslation2 = (0, _reactI18next.useTranslation)(),
101
- t = _useTranslation2.t;
102
- return /*#__PURE__*/_react.default.createElement(_schemaComponent.ActionContext.Provider, {
103
- value: {
104
- visible: visible,
105
- setVisible: setVisible
106
- }
107
- }, /*#__PURE__*/_react.default.createElement(_pluginManager.PluginManager.Toolbar.Item, {
108
- icon: /*#__PURE__*/_react.default.createElement(_icons.DatabaseOutlined, null),
109
- title: t('Collections & Fields'),
110
- onClick: function onClick() {
111
- setVisible(true);
112
- }
113
- }), /*#__PURE__*/_react.default.createElement(_schemaComponent.SchemaComponent, {
114
- schema: schema,
115
- components: {
116
- ConfigurationTable: _Configuration.ConfigurationTable,
117
- ConfigurationTabs: _Configuration.ConfigurationTabs,
118
- AddFieldAction: _Configuration.AddFieldAction,
119
- EditFieldAction: _Configuration.EditFieldAction,
120
- OverridingFieldAction: _Configuration.OverridingFieldAction,
121
- ViewFieldAction: _Configuration.ViewFieldAction,
122
- AddCollectionAction: _Configuration.AddCollectionAction,
123
- EditCollectionAction: _Configuration.EditCollectionAction,
124
- AddCategoryAction: _Configuration.AddCategoryAction,
125
- EditCategoryAction: _Configuration.EditCategoryAction
126
- }
127
- }));
128
- };
129
- exports.CollectionManagerShortcut2 = CollectionManagerShortcut2;
70
+ exports.CollectionManagerPane = CollectionManagerPane;
@@ -1,2 +1,3 @@
1
- export declare const AddCategory: (props: any) => JSX.Element;
2
- export declare const AddCategoryAction: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const AddCategory: (props: any) => React.JSX.Element;
3
+ export declare const AddCategoryAction: (props: any) => React.JSX.Element;
@@ -83,7 +83,7 @@ var AddCategoryAction = function AddCategoryAction(props) {
83
83
  setVisible = _useState2[1];
84
84
  var _useTranslation = (0, _reactI18next.useTranslation)(),
85
85
  t = _useTranslation.t;
86
- return /*#__PURE__*/_react2.default.createElement(_schemaComponent.ActionContext.Provider, {
86
+ return /*#__PURE__*/_react2.default.createElement(_schemaComponent.ActionContextProvider, {
87
87
  value: {
88
88
  visible: visible,
89
89
  setVisible: setVisible
@@ -1,2 +1,3 @@
1
- export declare const AddCollection: (props: any) => JSX.Element;
2
- export declare const AddCollectionAction: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const AddCollection: (props: any) => React.JSX.Element;
3
+ export declare const AddCollectionAction: (props: any) => React.JSX.Element;
@@ -317,33 +317,26 @@ var AddCollectionAction = function AddCollectionAction(props) {
317
317
  var compile = (0, _schemaComponent.useCompile)();
318
318
  var _useTranslation = (0, _reactI18next.useTranslation)(),
319
319
  t = _useTranslation.t;
320
- var collectionTemplates = (0, _templates.templateOptions)();
321
- var items = [];
322
- collectionTemplates.forEach(function (item) {
323
- if (item.divider) {
324
- items.push({
325
- type: 'divider'
320
+ var collectionTemplates = (0, _react2.useMemo)(_templates.templateOptions, []);
321
+ var items = (0, _react2.useMemo)(function () {
322
+ var result = [];
323
+ collectionTemplates.forEach(function (item) {
324
+ if (item.divider) {
325
+ result.push({
326
+ type: 'divider'
327
+ });
328
+ }
329
+ result.push({
330
+ label: compile(item.title),
331
+ key: item.name
326
332
  });
327
- }
328
- items.push({
329
- label: compile(item.title),
330
- key: item.name
331
333
  });
332
- });
334
+ return result;
335
+ }, [collectionTemplates]);
333
336
  var _useResourceActionCon2 = (0, _ResourceActionProvider.useResourceActionContext)(),
334
337
  category = _useResourceActionCon2.state.category;
335
- return /*#__PURE__*/_react2.default.createElement(_recordProvider.RecordProvider, {
336
- record: record
337
- }, /*#__PURE__*/_react2.default.createElement(_schemaComponent.ActionContext.Provider, {
338
- value: {
339
- visible: visible,
340
- setVisible: setVisible
341
- }
342
- }, /*#__PURE__*/_react2.default.createElement(_antd2.Dropdown, {
343
- getPopupContainer: getContainer,
344
- trigger: trigger,
345
- align: align,
346
- overlay: /*#__PURE__*/_react2.default.createElement(_antd2.Menu, {
338
+ var menu = (0, _react2.useMemo)(function () {
339
+ return {
347
340
  style: {
348
341
  maxHeight: '60vh',
349
342
  overflow: 'auto'
@@ -354,7 +347,20 @@ var AddCollectionAction = function AddCollectionAction(props) {
354
347
  setVisible(true);
355
348
  },
356
349
  items: items
357
- })
350
+ };
351
+ }, [category, items]);
352
+ return /*#__PURE__*/_react2.default.createElement(_recordProvider.RecordProvider, {
353
+ record: record
354
+ }, /*#__PURE__*/_react2.default.createElement(_schemaComponent.ActionContextProvider, {
355
+ value: {
356
+ visible: visible,
357
+ setVisible: setVisible
358
+ }
359
+ }, /*#__PURE__*/_react2.default.createElement(_antd2.Dropdown, {
360
+ getPopupContainer: getContainer,
361
+ trigger: trigger,
362
+ align: align,
363
+ menu: menu
358
364
  }, children || /*#__PURE__*/_react2.default.createElement(_antd2.Button, {
359
365
  icon: /*#__PURE__*/_react2.default.createElement(_icons.PlusOutlined, null),
360
366
  type: 'primary'
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  export declare const useCollectionFieldFormValues: () => {
2
3
  getValues(): any;
3
4
  };
4
- export declare const AddCollectionField: (props: any) => JSX.Element;
5
- export declare const AddFieldAction: (props: any) => JSX.Element;
5
+ export declare const AddCollectionField: (props: any) => React.JSX.Element;
6
+ export declare const AddFieldAction: (props: any) => React.JSX.Element;
@@ -18,7 +18,6 @@ var _schemaComponent = require("../../schema-component");
18
18
  var _ResourceActionProvider = require("../ResourceActionProvider");
19
19
  var _actionHooks = require("../action-hooks");
20
20
  var _hooks = require("../hooks");
21
- var _useOptions = require("../hooks/useOptions");
22
21
  var components = _interopRequireWildcard(require("./components"));
23
22
  var _interfaces = require("./interfaces");
24
23
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -227,8 +226,7 @@ var AddFieldAction = function AddFieldAction(props) {
227
226
  var compile = (0, _schemaComponent.useCompile)();
228
227
  var _useTranslation = (0, _reactI18next.useTranslation)(),
229
228
  t = _useTranslation.t;
230
- var options = (0, _useOptions.useOptions)();
231
- var getFieldOptions = function getFieldOptions() {
229
+ var getFieldOptions = (0, _react2.useCallback)(function () {
232
230
  var _ref = getTemplate(record.template) || {},
233
231
  availableFieldInterfaces = _ref.availableFieldInterfaces;
234
232
  var _ref2 = availableFieldInterfaces || {},
@@ -270,19 +268,32 @@ var AddFieldAction = function AddFieldAction(props) {
270
268
  }
271
269
  });
272
270
  return optionArr;
273
- };
274
- return record.template !== 'view' && /*#__PURE__*/_react2.default.createElement(_recordProvider.RecordProvider, {
275
- record: record
276
- }, /*#__PURE__*/_react2.default.createElement(_schemaComponent.ActionContext.Provider, {
277
- value: {
278
- visible: visible,
279
- setVisible: setVisible
280
- }
281
- }, /*#__PURE__*/_react2.default.createElement(_antd2.Dropdown, {
282
- getPopupContainer: getContainer,
283
- trigger: trigger,
284
- align: align,
285
- overlay: /*#__PURE__*/_react2.default.createElement(_antd2.Menu, {
271
+ }, [getTemplate, record]);
272
+ var items = (0, _react2.useMemo)(function () {
273
+ return getFieldOptions().map(function (option) {
274
+ if (option.children.length === 0) {
275
+ return null;
276
+ }
277
+ return {
278
+ type: 'group',
279
+ label: compile(option.label),
280
+ title: compile(option.label),
281
+ key: option.label,
282
+ children: option.children.filter(function (child) {
283
+ return !['o2o', 'subTable', 'linkTo'].includes(child.name);
284
+ }).map(function (child) {
285
+ return {
286
+ label: compile(child.title),
287
+ title: compile(child.title),
288
+ key: child.name,
289
+ dataTargetScope: child.targetScope
290
+ };
291
+ })
292
+ };
293
+ });
294
+ }, [getFieldOptions]);
295
+ var menu = (0, _react2.useMemo)(function () {
296
+ return {
286
297
  style: {
287
298
  maxHeight: '60vh',
288
299
  overflow: 'auto'
@@ -296,20 +307,22 @@ var AddFieldAction = function AddFieldAction(props) {
296
307
  setSchema(schema);
297
308
  setVisible(true);
298
309
  }
299
- }
300
- }, getFieldOptions().map(function (option) {
301
- return option.children.length > 0 && /*#__PURE__*/_react2.default.createElement(_antd2.Menu.ItemGroup, {
302
- key: option.label,
303
- title: compile(option.label)
304
- }, option.children.filter(function (child) {
305
- return !['o2o', 'subTable', 'linkTo'].includes(child.name);
306
- }).map(function (child) {
307
- return /*#__PURE__*/_react2.default.createElement(_antd2.Menu.Item, {
308
- key: child.name,
309
- "data-targetScope": child.targetScope
310
- }, compile(child.title));
311
- }));
312
- }))
310
+ },
311
+ items: items
312
+ };
313
+ }, [getInterface, items, record]);
314
+ return record.template !== 'view' && /*#__PURE__*/_react2.default.createElement(_recordProvider.RecordProvider, {
315
+ record: record
316
+ }, /*#__PURE__*/_react2.default.createElement(_schemaComponent.ActionContextProvider, {
317
+ value: {
318
+ visible: visible,
319
+ setVisible: setVisible
320
+ }
321
+ }, /*#__PURE__*/_react2.default.createElement(_antd2.Dropdown, {
322
+ getPopupContainer: getContainer,
323
+ trigger: trigger,
324
+ align: align,
325
+ menu: menu
313
326
  }, children || /*#__PURE__*/_react2.default.createElement(_antd2.Button, {
314
327
  icon: /*#__PURE__*/_react2.default.createElement(_icons.PlusOutlined, null),
315
328
  type: 'primary'
@@ -1 +1,2 @@
1
- export declare const AddSubFieldAction: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const AddSubFieldAction: () => React.JSX.Element;
@@ -130,26 +130,23 @@ var AddSubFieldAction = function AddSubFieldAction() {
130
130
  var options = (0, _useOptions.useOptions)();
131
131
  var _useTranslation = (0, _reactI18next.useTranslation)(),
132
132
  t = _useTranslation.t;
133
- var items = options.map(function (option) {
134
- var children = option.children.map(function (child) {
133
+ var items = (0, _react.useMemo)(function () {
134
+ return options.map(function (option) {
135
+ var children = option.children.map(function (child) {
136
+ return {
137
+ label: compile(child.title),
138
+ key: child.name
139
+ };
140
+ });
135
141
  return {
136
- label: compile(child.title),
137
- key: child.name
142
+ label: compile(option.label),
143
+ key: option.key,
144
+ children: children
138
145
  };
139
146
  });
147
+ }, [options]);
148
+ var menu = (0, _react.useMemo)(function () {
140
149
  return {
141
- label: compile(option.label),
142
- key: option.key,
143
- children: children
144
- };
145
- });
146
- return /*#__PURE__*/_react.default.createElement(_schemaComponent.ActionContext.Provider, {
147
- value: {
148
- visible: visible,
149
- setVisible: setVisible
150
- }
151
- }, /*#__PURE__*/_react.default.createElement(_antd2.Dropdown, {
152
- overlay: /*#__PURE__*/_react.default.createElement(_antd2.Menu, {
153
150
  style: {
154
151
  maxHeight: '60vh',
155
152
  overflow: 'auto'
@@ -160,7 +157,15 @@ var AddSubFieldAction = function AddSubFieldAction() {
160
157
  setVisible(true);
161
158
  },
162
159
  items: items
163
- })
160
+ };
161
+ }, [items]);
162
+ return /*#__PURE__*/_react.default.createElement(_schemaComponent.ActionContextProvider, {
163
+ value: {
164
+ visible: visible,
165
+ setVisible: setVisible
166
+ }
167
+ }, /*#__PURE__*/_react.default.createElement(_antd2.Dropdown, {
168
+ menu: menu
164
169
  }, /*#__PURE__*/_react.default.createElement(_antd2.Button, {
165
170
  icon: /*#__PURE__*/_react.default.createElement(_icons.PlusOutlined, null),
166
171
  type: 'primary'
@@ -1,2 +1,3 @@
1
+ import React from 'react';
1
2
  export declare const isTitleField: (field: any) => boolean;
2
- export declare const CollectionFields: () => JSX.Element;
3
+ export declare const CollectionFields: () => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import { Options, Result } from 'ahooks/lib/useRequest/src/types';
2
- import React from 'react';
1
+ import { Options, Result } from 'ahooks/es/useRequest/src/types';
3
2
  import { TableProps } from 'antd';
3
+ import React from 'react';
4
4
  declare type TableVoidProps = TableProps<any> & {
5
5
  request?: any;
6
6
  useSelectedRowKeys?: any;
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.CollectionFieldsTable = void 0;
7
7
  var _core = require("@formily/core");
8
8
  var _react = require("@formily/react");
9
+ var _useAttach = require("@formily/react/esm/hooks/useAttach");
9
10
  var _react2 = _interopRequireWildcard(require("react"));
10
11
  var _ = require("../..");
11
- var _useAttach = require("@formily/react/lib/hooks/useAttach");
12
12
  var _CollectionFieldsTableArray = require("./CollectionFieldsTableArray");
13
13
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
14
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -72,5 +72,7 @@ var CollectionFieldsTable = (0, _react.observer)(function (props) {
72
72
  useSelectedRowKeys: useSelectedRowKeys,
73
73
  pagination: false
74
74
  })))));
75
+ }, {
76
+ displayName: 'CollectionFieldsTable'
75
77
  });
76
78
  exports.CollectionFieldsTable = CollectionFieldsTable;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  export declare const components: {
3
3
  body: {
4
- row: (props: any) => JSX.Element;
5
- cell: (props: any) => JSX.Element;
4
+ row: (props: any) => React.JSX.Element;
5
+ cell: (props: any) => React.JSX.Element;
6
6
  };
7
7
  };
8
8
  export declare const CollectionFieldsTableArray: React.FC<any>;
@@ -252,7 +252,7 @@ var CollectionFieldsTableArray = (0, _react.observer)(function (props) {
252
252
  }
253
253
  };
254
254
  return /*#__PURE__*/_react2.default.createElement("div", {
255
- className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .ant-table {\n overflow-x: auto;\n overflow-y: hidden;\n }\n "])))
255
+ className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .ant-table {\n overflow-x: auto;\n overflow-y: hidden;\n }\n "])))
256
256
  }, /*#__PURE__*/_react2.default.createElement(_antd.Table, {
257
257
  showHeader: false,
258
258
  loading: props === null || props === void 0 ? void 0 : props.loading,
@@ -275,5 +275,7 @@ var CollectionFieldsTableArray = (0, _react.observer)(function (props) {
275
275
  setExpendedKeys(keys);
276
276
  }
277
277
  }));
278
+ }, {
279
+ displayName: 'CollectionFieldsTableArray'
278
280
  });
279
281
  exports.CollectionFieldsTableArray = CollectionFieldsTableArray;
@@ -1 +1,2 @@
1
- export declare const ConfigurationTable: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ConfigurationTable: () => React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare const ConfigurationTabs: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ConfigurationTabs: () => React.JSX.Element;