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

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 (1323) 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/PermisionProvider.d.ts +2 -2
  18. package/es/acl/Configuration/RoleConfigure.d.ts +2 -1
  19. package/es/acl/Configuration/RoleTable.d.ts +2 -1
  20. package/es/acl/Configuration/ScopeSelect.d.ts +2 -1
  21. package/es/acl/Configuration/schemas/scopes.d.ts +1 -0
  22. package/es/antd-config-provider/index.d.ts +1 -1
  23. package/es/api-client/APIClient.d.ts +1 -1
  24. package/es/api-client/APIClientProvider.d.ts +2 -1
  25. package/es/api-client/hooks/assign.d.ts +0 -1
  26. package/es/api-client/hooks/assign.js +1 -7
  27. package/es/api-client/hooks/useRequest.d.ts +1 -1
  28. package/es/api-client/hooks/useRequest.js +1 -1
  29. package/es/appInfo/CurrentAppInfoProvider.d.ts +1 -1
  30. package/es/application/Application.d.ts +2 -1
  31. package/es/application/Application.js +5 -4
  32. package/es/application/compose.d.ts +2 -1
  33. package/es/application-v2/Application.d.ts +31 -0
  34. package/es/application-v2/Application.js +139 -0
  35. package/es/application-v2/Plugin.d.ts +14 -0
  36. package/es/application-v2/Plugin.js +92 -0
  37. package/es/application-v2/PluginManager.d.ts +19 -0
  38. package/es/application-v2/PluginManager.js +242 -0
  39. package/es/application-v2/Router.d.ts +13 -0
  40. package/es/application-v2/Router.js +103 -0
  41. package/es/application-v2/components/AppComponent.d.ts +2 -0
  42. package/es/application-v2/components/AppComponent.js +20 -0
  43. package/es/application-v2/components/MainComponent.d.ts +6 -0
  44. package/es/application-v2/components/MainComponent.js +13 -0
  45. package/es/application-v2/components/RouterProvider.d.ts +14 -0
  46. package/es/application-v2/components/RouterProvider.js +105 -0
  47. package/es/application-v2/components/index.d.ts +13 -0
  48. package/es/application-v2/components/index.js +13 -0
  49. package/es/application-v2/compose.d.ts +2 -0
  50. package/es/application-v2/compose.js +41 -0
  51. package/es/application-v2/context.d.ts +3 -0
  52. package/es/application-v2/context.js +2 -0
  53. package/es/application-v2/hooks/index.d.ts +3 -0
  54. package/es/application-v2/hooks/index.js +3 -0
  55. package/es/application-v2/hooks/useApp.d.ts +1 -0
  56. package/es/application-v2/hooks/useApp.js +5 -0
  57. package/es/application-v2/hooks/useLoad.d.ts +1 -0
  58. package/es/application-v2/hooks/useLoad.js +38 -0
  59. package/es/application-v2/hooks/useRouter.d.ts +1 -0
  60. package/es/application-v2/hooks/useRouter.js +5 -0
  61. package/es/application-v2/index.d.ts +3 -0
  62. package/es/application-v2/index.js +3 -0
  63. package/es/application-v2/types.d.ts +26 -0
  64. package/es/application-v2/types.js +1 -0
  65. package/es/async-data-provider/index.d.ts +1 -1
  66. package/es/auth/OptionsComponent.d.ts +7 -0
  67. package/es/auth/OptionsComponent.js +20 -0
  68. package/es/auth/SigninPage.d.ts +23 -0
  69. package/es/auth/SigninPage.js +141 -0
  70. package/es/auth/SigninPageExtension.d.ts +22 -0
  71. package/es/auth/SigninPageExtension.js +30 -0
  72. package/es/auth/SignupPage.d.ts +24 -0
  73. package/es/auth/SignupPage.js +82 -0
  74. package/es/auth/index.d.ts +4 -0
  75. package/es/auth/index.js +4 -0
  76. package/es/block-provider/BlockProvider.d.ts +4 -3
  77. package/es/block-provider/BlockProvider.js +23 -6
  78. package/es/block-provider/CalendarBlockProvider.d.ts +1 -1
  79. package/es/block-provider/DetailsBlockProvider.d.ts +1 -1
  80. package/es/block-provider/DetailsBlockProvider.js +1 -13
  81. package/es/block-provider/FilterFormBlockProvider.d.ts +2 -1
  82. package/es/block-provider/FormBlockProvider.d.ts +1 -1
  83. package/es/block-provider/FormBlockProvider.js +10 -21
  84. package/es/block-provider/FormFieldProvider.d.ts +1 -1
  85. package/es/block-provider/GanttBlockProvider.d.ts +1 -1
  86. package/es/block-provider/KanbanBlockProvider.d.ts +1 -1
  87. package/es/block-provider/TableBlockProvider.d.ts +1 -2
  88. package/es/block-provider/TableBlockProvider.js +57 -82
  89. package/es/block-provider/TableFieldProvider.d.ts +1 -1
  90. package/es/block-provider/TableSelectorProvider.d.ts +2 -2
  91. package/es/block-provider/hooks/index.d.ts +10 -1
  92. package/es/block-provider/hooks/index.js +53 -137
  93. package/es/block-provider/index.d.ts +1 -0
  94. package/es/block-provider/index.js +2 -1
  95. package/es/board/Card.d.ts +2 -2
  96. package/es/board/CardAdder.d.ts +2 -2
  97. package/es/board/CardForm.d.ts +2 -2
  98. package/es/board/Column.d.ts +3 -3
  99. package/es/board/ColumnAdder.d.ts +2 -2
  100. package/es/board/ColumnForm.d.ts +2 -2
  101. package/es/board/DefaultCard.d.ts +2 -2
  102. package/es/board/DefaultColumnHeader.d.ts +2 -2
  103. package/es/board/Kanban.d.ts +2 -2
  104. package/es/board/withDroppable.d.ts +2 -1
  105. package/es/china-region/index.d.ts +2 -1
  106. package/es/collection-manager/CollectionField.d.ts +1 -1
  107. package/es/collection-manager/CollectionField.js +2 -1
  108. package/es/collection-manager/CollectionManagerProvider.d.ts +2 -2
  109. package/es/collection-manager/CollectionManagerShortcut.d.ts +2 -3
  110. package/es/collection-manager/CollectionManagerShortcut.js +3 -60
  111. package/es/collection-manager/Configuration/AddCategoryAction.d.ts +3 -2
  112. package/es/collection-manager/Configuration/AddCategoryAction.js +2 -2
  113. package/es/collection-manager/Configuration/AddCollectionAction.d.ts +3 -2
  114. package/es/collection-manager/Configuration/AddCollectionAction.js +2 -2
  115. package/es/collection-manager/Configuration/AddFieldAction.d.ts +3 -2
  116. package/es/collection-manager/Configuration/AddFieldAction.js +2 -2
  117. package/es/collection-manager/Configuration/AddSubFieldAction.d.ts +2 -1
  118. package/es/collection-manager/Configuration/AddSubFieldAction.js +2 -2
  119. package/es/collection-manager/Configuration/CollectionFields.d.ts +2 -1
  120. package/es/collection-manager/Configuration/CollectionFieldsTable.d.ts +2 -2
  121. package/es/collection-manager/Configuration/CollectionFieldsTable.js +3 -1
  122. package/es/collection-manager/Configuration/CollectionFieldsTableArray.d.ts +2 -2
  123. package/es/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -1
  124. package/es/collection-manager/Configuration/ConfigurationTable.d.ts +2 -1
  125. package/es/collection-manager/Configuration/ConfigurationTabs.d.ts +2 -1
  126. package/es/collection-manager/Configuration/ConfigurationTabs.js +4 -0
  127. package/es/collection-manager/Configuration/EditCategoryAction.d.ts +3 -2
  128. package/es/collection-manager/Configuration/EditCategoryAction.js +2 -2
  129. package/es/collection-manager/Configuration/EditCollectionAction.d.ts +3 -2
  130. package/es/collection-manager/Configuration/EditCollectionAction.js +2 -2
  131. package/es/collection-manager/Configuration/EditFieldAction.d.ts +3 -2
  132. package/es/collection-manager/Configuration/EditFieldAction.js +2 -2
  133. package/es/collection-manager/Configuration/EditSubFieldAction.d.ts +2 -1
  134. package/es/collection-manager/Configuration/EditSubFieldAction.js +2 -2
  135. package/es/collection-manager/Configuration/OverridingCollectionField.d.ts +3 -2
  136. package/es/collection-manager/Configuration/OverridingCollectionField.js +2 -2
  137. package/es/collection-manager/Configuration/SyncFieldsAction.d.ts +3 -2
  138. package/es/collection-manager/Configuration/SyncFieldsAction.js +2 -2
  139. package/es/collection-manager/Configuration/ViewInheritedField.d.ts +3 -2
  140. package/es/collection-manager/Configuration/ViewInheritedField.js +2 -2
  141. package/es/collection-manager/Configuration/components/CollectionCategory.d.ts +1 -1
  142. package/es/collection-manager/Configuration/components/CollectionCategory.js +2 -0
  143. package/es/collection-manager/Configuration/components/CollectionFieldInterface.d.ts +1 -1
  144. package/es/collection-manager/Configuration/components/CollectionFieldInterface.js +2 -0
  145. package/es/collection-manager/Configuration/components/CollectionTemplate.d.ts +1 -1
  146. package/es/collection-manager/Configuration/components/CollectionTemplate.js +2 -0
  147. package/es/collection-manager/Configuration/components/FieldSummary.d.ts +1 -1
  148. package/es/collection-manager/Configuration/components/FieldSummary.js +4 -2
  149. package/es/collection-manager/Configuration/components/TemplateSummay.d.ts +1 -1
  150. package/es/collection-manager/Configuration/components/TemplateSummay.js +4 -2
  151. package/es/collection-manager/Configuration/components/index.d.ts +6 -6
  152. package/es/collection-manager/Configuration/components/index.js +12 -0
  153. package/es/collection-manager/Configuration/interfaces.d.ts +1 -0
  154. package/es/collection-manager/Configuration/templates.d.ts +1 -0
  155. package/es/collection-manager/ResourceActionProvider.d.ts +1 -1
  156. package/es/collection-manager/action-hooks.d.ts +1 -0
  157. package/es/collection-manager/action-hooks.js +168 -90
  158. package/es/collection-manager/index.d.ts +1 -1
  159. package/es/collection-manager/index.js +1 -1
  160. package/es/collection-manager/interfaces/components/index.d.ts +7 -6
  161. package/es/collection-manager/interfaces/index.d.ts +0 -1
  162. package/es/collection-manager/interfaces/index.js +0 -1
  163. package/es/collection-manager/interfaces/properties/index.d.ts +0 -1
  164. package/es/collection-manager/interfaces/properties/index.js +0 -40
  165. package/es/collection-manager/interfaces/url.js +0 -5
  166. package/es/collection-manager/sub-table.d.ts +2 -2
  167. package/es/collection-manager/sub-table.js +4 -0
  168. package/es/collection-manager/templates/components/PreviewFields.d.ts +1 -1
  169. package/es/collection-manager/templates/components/PreviewFields.js +2 -1
  170. package/es/collection-manager/templates/components/PreviewTable.d.ts +2 -1
  171. package/es/collection-manager/types.d.ts +2 -0
  172. package/es/filter-provider/FilterProvider.d.ts +5 -1
  173. package/es/filter-provider/FilterProvider.js +8 -3
  174. package/es/formula/Expression.d.ts +2 -1
  175. package/es/formula/Result.d.ts +2 -1
  176. package/es/formula/index.d.ts +2 -2
  177. package/es/hooks/index.d.ts +1 -0
  178. package/es/hooks/index.js +1 -0
  179. package/es/hooks/useViewport.d.ts +1 -0
  180. package/es/hooks/useViewport.js +41 -0
  181. package/es/i18n/i18n.js +0 -1
  182. package/es/icon/Icon.d.ts +2 -1
  183. package/es/index.d.ts +2 -0
  184. package/es/index.js +3 -1
  185. package/es/locale/en_US.d.ts +16 -21
  186. package/es/locale/en_US.js +19 -24
  187. package/es/locale/es_ES.d.ts +3 -1
  188. package/es/locale/es_ES.js +4 -2
  189. package/es/locale/ja_JP.d.ts +16 -19
  190. package/es/locale/ja_JP.js +17 -20
  191. package/es/locale/pt_BR.d.ts +2 -0
  192. package/es/locale/pt_BR.js +3 -1
  193. package/es/locale/ru_RU.d.ts +2 -18
  194. package/es/locale/ru_RU.js +3 -19
  195. package/es/locale/tr_TR.d.ts +0 -17
  196. package/es/locale/tr_TR.js +0 -17
  197. package/es/locale/zh_CN.d.ts +25 -24
  198. package/es/locale/zh_CN.js +26 -25
  199. package/es/plugin-manager/PinnedPluginListProvider.d.ts +1 -1
  200. package/es/plugin-manager/index.d.ts +1 -3
  201. package/es/plugin-manager/index.js +1 -3
  202. package/es/pm/Card.d.ts +8 -0
  203. package/es/pm/Card.js +364 -0
  204. package/es/pm/PluginManagerLink.d.ts +3 -2
  205. package/es/pm/PluginManagerLink.js +7 -7
  206. package/es/pm/index.d.ts +31 -2
  207. package/es/pm/index.js +82 -261
  208. package/es/powered-by/index.d.ts +2 -1
  209. package/es/route-switch/RouteSwitch.d.ts +2 -2
  210. package/es/route-switch/RouteSwitch.js +76 -45
  211. package/es/route-switch/RouteSwitchProvider.d.ts +3 -3
  212. package/es/route-switch/antd/admin-layout/index.d.ts +4 -2
  213. package/es/route-switch/antd/admin-layout/index.js +57 -53
  214. package/es/route-switch/antd/auth-layout/index.d.ts +2 -2
  215. package/es/route-switch/antd/auth-layout/index.js +2 -1
  216. package/es/route-switch/antd/route-schema-component/index.d.ts +2 -2
  217. package/es/route-switch/antd/route-schema-component/index.js +3 -3
  218. package/es/route-switch/context.d.ts +4 -0
  219. package/es/route-switch/context.js +5 -2
  220. package/es/route-switch/types.d.ts +2 -5
  221. package/es/schema-component/antd/AntdSchemaComponentProvider.d.ts +2 -1
  222. package/es/schema-component/antd/action/Action.Container.js +4 -0
  223. package/es/schema-component/antd/action/Action.Designer.d.ts +2 -1
  224. package/es/schema-component/antd/action/Action.Designer.js +206 -20
  225. package/es/schema-component/antd/action/Action.Drawer.js +14 -12
  226. package/es/schema-component/antd/action/Action.Link.js +3 -1
  227. package/es/schema-component/antd/action/Action.Modal.js +13 -12
  228. package/es/schema-component/antd/action/Action.Page.js +8 -2
  229. package/es/schema-component/antd/action/Action.js +26 -18
  230. package/es/schema-component/antd/action/ActionBar.d.ts +18 -2
  231. package/es/schema-component/antd/action/ActionBar.js +46 -20
  232. package/es/schema-component/antd/action/context.d.ts +8 -2
  233. package/es/schema-component/antd/action/context.js +15 -2
  234. package/es/schema-component/antd/action/hooks.d.ts +2 -0
  235. package/es/schema-component/antd/association-field/AssociationFieldProvider.d.ts +1 -1
  236. package/es/schema-component/antd/association-field/AssociationFieldProvider.js +57 -6
  237. package/es/schema-component/antd/association-field/AssociationSelect.js +89 -11
  238. package/es/schema-component/antd/association-field/Editable.d.ts +1 -1
  239. package/es/schema-component/antd/association-field/Editable.js +12 -11
  240. package/es/schema-component/antd/association-field/FileManager.d.ts +1 -1
  241. package/es/schema-component/antd/association-field/FileManager.js +14 -4
  242. package/es/schema-component/antd/association-field/InternalNester.d.ts +2 -1
  243. package/es/schema-component/antd/association-field/InternalNester.js +12 -1
  244. package/es/schema-component/antd/association-field/InternalPicker.d.ts +1 -1
  245. package/es/schema-component/antd/association-field/InternalPicker.js +10 -4
  246. package/es/schema-component/antd/association-field/InternalSubTable.d.ts +2 -1
  247. package/es/schema-component/antd/association-field/InternalSubTable.js +35 -6
  248. package/es/schema-component/antd/association-field/InternalViewer.js +10 -3
  249. package/es/schema-component/antd/association-field/Nester.d.ts +2 -1
  250. package/es/schema-component/antd/association-field/Nester.js +58 -14
  251. package/es/schema-component/antd/association-field/ReadPretty.d.ts +1 -1
  252. package/es/schema-component/antd/association-field/ReadPretty.js +4 -0
  253. package/es/schema-component/antd/association-field/SubTable.js +53 -12
  254. package/es/schema-component/antd/association-field/components/CreateRecordAction.d.ts +1 -1
  255. package/es/schema-component/antd/association-field/components/CreateRecordAction.js +4 -2
  256. package/es/schema-component/antd/association-field/schema.d.ts +3 -15
  257. package/es/schema-component/antd/association-field/schema.js +4 -16
  258. package/es/schema-component/antd/association-filter/ActionBarAssociationFilterAction.d.ts +2 -1
  259. package/es/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.d.ts +2 -1
  260. package/es/schema-component/antd/association-filter/AssociationFilter.FilterBlockInitializer.d.ts +2 -1
  261. package/es/schema-component/antd/association-filter/AssociationFilter.Initializer.d.ts +2 -1
  262. package/es/schema-component/antd/association-filter/AssociationFilter.Item.Designer.d.ts +2 -1
  263. package/es/schema-component/antd/association-filter/AssociationFilter.Item.d.ts +2 -1
  264. package/es/schema-component/antd/association-filter/AssociationFilter.d.ts +7 -6
  265. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDelete.d.ts +2 -1
  266. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.d.ts +2 -1
  267. package/es/schema-component/antd/association-select/ReadPretty.d.ts +1 -1
  268. package/es/schema-component/antd/association-select/ReadPretty.js +2 -0
  269. package/es/schema-component/antd/block-item/BlockItem.js +6 -3
  270. package/es/schema-component/antd/block-item/TestDesigner.d.ts +2 -1
  271. package/es/schema-component/antd/calendar/Calendar.Designer.d.ts +2 -1
  272. package/es/schema-component/antd/calendar/Calendar.js +7 -5
  273. package/es/schema-component/antd/calendar/DeleteEvent.d.ts +1 -1
  274. package/es/schema-component/antd/calendar/DeleteEvent.js +2 -0
  275. package/es/schema-component/antd/calendar/Event.d.ts +1 -1
  276. package/es/schema-component/antd/calendar/Event.js +2 -0
  277. package/es/schema-component/antd/calendar/Nav.d.ts +1 -1
  278. package/es/schema-component/antd/calendar/Nav.js +5 -3
  279. package/es/schema-component/antd/calendar/Title.d.ts +1 -1
  280. package/es/schema-component/antd/calendar/Title.js +2 -0
  281. package/es/schema-component/antd/calendar/Today.d.ts +1 -1
  282. package/es/schema-component/antd/calendar/Today.js +4 -2
  283. package/es/schema-component/antd/calendar/ViewSelect.d.ts +1 -1
  284. package/es/schema-component/antd/calendar/ViewSelect.js +3 -0
  285. package/es/schema-component/antd/calendar/components/Header.d.ts +2 -1
  286. package/es/schema-component/antd/card-item/CardItem.js +1 -1
  287. package/es/schema-component/antd/cascader/Cascader.js +8 -1
  288. package/es/schema-component/antd/checkbox/Checkbox.d.ts +2 -1
  289. package/es/schema-component/antd/checkbox/Checkbox.js +14 -12
  290. package/es/schema-component/antd/collection-select/CollectionSelect.js +2 -0
  291. package/es/schema-component/antd/cron/Cron.d.ts +2 -1
  292. package/es/schema-component/antd/cron/Cron.js +3 -2
  293. package/es/schema-component/antd/date-picker/DatePicker.d.ts +4 -2
  294. package/es/schema-component/antd/date-picker/DatePicker.js +2 -1
  295. package/es/schema-component/antd/date-picker/ReadPretty.d.ts +1 -1
  296. package/es/schema-component/antd/date-picker/ReadPretty.js +1 -1
  297. package/es/schema-component/antd/error-fallback/ErrorFallback.d.ts +2 -1
  298. package/es/schema-component/antd/expand-action/Expand.Action.Design.d.ts +2 -1
  299. package/es/schema-component/antd/expand-action/Expand.Action.Design.js +2 -2
  300. package/es/schema-component/antd/expand-action/Expand.Action.d.ts +2 -1
  301. package/es/schema-component/antd/expand-action/Expand.Action.js +3 -6
  302. package/es/schema-component/antd/filter/DynamicComponent.d.ts +2 -1
  303. package/es/schema-component/antd/filter/Filter.Action.Designer.d.ts +2 -1
  304. package/es/schema-component/antd/filter/Filter.js +3 -1
  305. package/es/schema-component/antd/filter/FilterAction.d.ts +1 -1
  306. package/es/schema-component/antd/filter/FilterAction.js +3 -1
  307. package/es/schema-component/antd/filter/FilterItem.d.ts +1 -1
  308. package/es/schema-component/antd/filter/FilterItem.js +46 -41
  309. package/es/schema-component/antd/filter/FilterItems.d.ts +1 -1
  310. package/es/schema-component/antd/filter/FilterItems.js +2 -0
  311. package/es/schema-component/antd/filter/SaveDefaultValue.d.ts +2 -1
  312. package/es/schema-component/antd/filter/index.d.ts +1 -0
  313. package/es/schema-component/antd/filter/index.js +1 -0
  314. package/es/schema-component/antd/filter/useValues.js +3 -3
  315. package/es/schema-component/antd/form/Form.Designer.d.ts +2 -1
  316. package/es/schema-component/antd/form/Form.d.ts +1 -1
  317. package/es/schema-component/antd/form/Form.js +2 -0
  318. package/es/schema-component/antd/form-item/FormItem.FilterFormDesigner.d.ts +2 -1
  319. package/es/schema-component/antd/form-item/FormItem.js +83 -35
  320. package/es/schema-component/antd/form-item/SchemaSettingOptions.d.ts +11 -10
  321. package/es/schema-component/antd/form-item/SchemaSettingOptions.js +1 -1
  322. package/es/schema-component/antd/form-v2/Form.Designer.d.ts +4 -3
  323. package/es/schema-component/antd/form-v2/Form.FilterDesigner.d.ts +2 -1
  324. package/es/schema-component/antd/form-v2/Form.js +9 -2
  325. package/es/schema-component/antd/form-v2/FormField.js +2 -0
  326. package/es/schema-component/antd/form-v2/Templates.d.ts +7 -1
  327. package/es/schema-component/antd/form-v2/Templates.js +20 -4
  328. package/es/schema-component/antd/form-v2/index.js +2 -0
  329. package/es/schema-component/antd/g2plot/G2Plot.js +2 -0
  330. package/es/schema-component/antd/g2plot/G2PlotDesigner.d.ts +2 -1
  331. package/es/schema-component/antd/gantt/Gantt.Designer.d.ts +2 -1
  332. package/es/schema-component/antd/gantt/components/gantt/Event.d.ts +1 -1
  333. package/es/schema-component/antd/gantt/components/gantt/Event.js +2 -0
  334. package/es/schema-component/antd/gantt/components/gantt/gantt.js +2 -2
  335. package/es/schema-component/antd/grid/Block.d.ts +1 -1
  336. package/es/schema-component/antd/grid/Block.js +2 -0
  337. package/es/schema-component/antd/grid/Grid.js +25 -9
  338. package/es/schema-component/antd/grid-card/GridCard.Decorator.d.ts +1 -1
  339. package/es/schema-component/antd/grid-card/GridCard.Decorator.js +2 -12
  340. package/es/schema-component/antd/grid-card/GridCard.Designer.d.ts +2 -1
  341. package/es/schema-component/antd/grid-card/GridCard.Designer.js +1 -1
  342. package/es/schema-component/antd/grid-card/GridCard.Item.d.ts +2 -1
  343. package/es/schema-component/antd/grid-card/GridCard.d.ts +2 -1
  344. package/es/schema-component/antd/grid-card/GridCard.js +12 -8
  345. package/es/schema-component/antd/index.d.ts +1 -0
  346. package/es/schema-component/antd/index.js +1 -0
  347. package/es/schema-component/antd/index.less +20 -4
  348. package/es/schema-component/antd/input/Input.d.ts +2 -1
  349. package/es/schema-component/antd/input/Input.js +3 -2
  350. package/es/schema-component/antd/input/Json.d.ts +2 -2
  351. package/es/schema-component/antd/input/Json.js +43 -4
  352. package/es/schema-component/antd/input/ReadPretty.d.ts +1 -1
  353. package/es/schema-component/antd/input/ReadPretty.js +4 -4
  354. package/es/schema-component/antd/input-number/InputNumber.d.ts +5 -1
  355. package/es/schema-component/antd/input-number/InputNumber.js +2 -2
  356. package/es/schema-component/antd/input-number/ReadPretty.d.ts +2 -2
  357. package/es/schema-component/antd/input-number/ReadPretty.js +6 -2
  358. package/es/schema-component/antd/kanban/Kanban.Card.Designer.TitleSwitch.d.ts +2 -1
  359. package/es/schema-component/antd/kanban/Kanban.Card.Designer.d.ts +2 -1
  360. package/es/schema-component/antd/kanban/Kanban.Card.js +5 -3
  361. package/es/schema-component/antd/kanban/Kanban.CardViewer.js +2 -0
  362. package/es/schema-component/antd/kanban/Kanban.Designer.d.ts +2 -1
  363. package/es/schema-component/antd/kanban/Kanban.js +3 -1
  364. package/es/schema-component/antd/list/List.Decorator.d.ts +1 -1
  365. package/es/schema-component/antd/list/List.Decorator.js +7 -12
  366. package/es/schema-component/antd/list/List.Designer.d.ts +2 -1
  367. package/es/schema-component/antd/list/List.Item.d.ts +2 -1
  368. package/es/schema-component/antd/list/List.Item.js +1 -1
  369. package/es/schema-component/antd/list/List.d.ts +2 -1
  370. package/es/schema-component/antd/markdown/Markdown.Void.Designer.d.ts +2 -1
  371. package/es/schema-component/antd/markdown/Markdown.Void.js +2 -0
  372. package/es/schema-component/antd/markdown/Markdown.d.ts +2 -0
  373. package/es/schema-component/antd/markdown/Markdown.js +6 -2
  374. package/es/schema-component/antd/markdown/util.js +1 -1
  375. package/es/schema-component/antd/menu/Menu.Designer.d.ts +2 -1
  376. package/es/schema-component/antd/menu/Menu.js +46 -37
  377. package/es/schema-component/antd/menu/MenuItemInitializers/index.d.ts +2 -1
  378. package/es/schema-component/antd/page/FixedBlock.d.ts +2 -1
  379. package/es/schema-component/antd/page/FixedBlock.js +6 -2
  380. package/es/schema-component/antd/page/Page.d.ts +2 -1
  381. package/es/schema-component/antd/page/Page.js +25 -17
  382. package/es/schema-component/antd/page/PageTabDesigner.d.ts +3 -2
  383. package/es/schema-component/antd/pagination/index.d.ts +1 -1
  384. package/es/schema-component/antd/pagination/index.js +2 -0
  385. package/es/schema-component/antd/password/Password.d.ts +1 -1
  386. package/es/schema-component/antd/password/PasswordStrength.js +1 -144
  387. package/es/schema-component/antd/password/utils.d.ts +1 -0
  388. package/es/schema-component/antd/password/utils.js +144 -0
  389. package/es/schema-component/antd/percent/Percent.js +1 -1
  390. package/es/schema-component/antd/preview/Preview.d.ts +1 -1
  391. package/es/schema-component/antd/quick-edit/QuickEdit.d.ts +3 -0
  392. package/es/schema-component/antd/quick-edit/QuickEdit.js +88 -0
  393. package/es/schema-component/antd/quick-edit/index.d.ts +1 -0
  394. package/es/schema-component/antd/quick-edit/index.js +1 -0
  395. package/es/schema-component/antd/radio/Radio.d.ts +1 -1
  396. package/es/schema-component/antd/record-picker/InputRecordPicker.d.ts +1 -1
  397. package/es/schema-component/antd/record-picker/InputRecordPicker.js +5 -7
  398. package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +10 -4
  399. package/es/schema-component/antd/remote-select/ReadPretty.d.ts +1 -1
  400. package/es/schema-component/antd/remote-select/ReadPretty.js +2 -0
  401. package/es/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  402. package/es/schema-component/antd/remote-select/RemoteSelect.js +55 -25
  403. package/es/schema-component/antd/select/ReadPretty.d.ts +1 -1
  404. package/es/schema-component/antd/select/ReadPretty.js +6 -6
  405. package/es/schema-component/antd/select/Select.d.ts +3 -0
  406. package/es/schema-component/antd/select/Select.js +22 -11
  407. package/es/schema-component/antd/select/index.d.ts +1 -1
  408. package/es/schema-component/antd/select/index.js +1 -1
  409. package/es/schema-component/antd/select/utils.d.ts +14 -0
  410. package/es/schema-component/antd/select/{shared.js → utils.js} +20 -18
  411. package/es/schema-component/antd/table/Table.Array.Designer.d.ts +2 -1
  412. package/es/schema-component/antd/table/Table.Array.d.ts +5 -5
  413. package/es/schema-component/antd/table/Table.Array.js +7 -5
  414. package/es/schema-component/antd/table/Table.Column.ActionBar.d.ts +1 -1
  415. package/es/schema-component/antd/table/Table.Column.ActionBar.js +2 -0
  416. package/es/schema-component/antd/table/Table.Column.Decorator.d.ts +2 -1
  417. package/es/schema-component/antd/table/Table.Column.Designer.d.ts +2 -1
  418. package/es/schema-component/antd/table/Table.Column.d.ts +2 -1
  419. package/es/schema-component/antd/table/Table.Designer.d.ts +2 -1
  420. package/es/schema-component/antd/table/Table.RowActionDesigner.d.ts +2 -1
  421. package/es/schema-component/antd/table/Table.RowSelection.d.ts +1 -1
  422. package/es/schema-component/antd/table/Table.RowSelection.js +2 -0
  423. package/es/schema-component/antd/table/Table.Void.Designer.d.ts +2 -1
  424. package/es/schema-component/antd/table/Table.Void.d.ts +1 -1
  425. package/es/schema-component/antd/table/Table.Void.js +2 -0
  426. package/es/schema-component/antd/table-v2/FilterDynamicComponent.d.ts +2 -2
  427. package/es/schema-component/antd/table-v2/Table.ActionColumnDesigner.d.ts +2 -1
  428. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.d.ts +1 -1
  429. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.js +2 -0
  430. package/es/schema-component/antd/table-v2/Table.Column.Decorator.d.ts +2 -1
  431. package/es/schema-component/antd/table-v2/Table.Column.Designer.d.ts +2 -1
  432. package/es/schema-component/antd/table-v2/Table.Column.Designer.js +101 -3
  433. package/es/schema-component/antd/table-v2/Table.Column.d.ts +2 -1
  434. package/es/schema-component/antd/table-v2/Table.Designer.d.ts +2 -1
  435. package/es/schema-component/antd/table-v2/Table.Index.d.ts +2 -1
  436. package/es/schema-component/antd/table-v2/Table.js +58 -27
  437. package/es/schema-component/antd/table-v2/TableBlockDesigner.d.ts +2 -1
  438. package/es/schema-component/antd/table-v2/TableBlockDesigner.js +53 -47
  439. package/es/schema-component/antd/table-v2/TableField.js +4 -0
  440. package/es/schema-component/antd/table-v2/TableSelectorDesigner.d.ts +2 -1
  441. package/es/schema-component/antd/table-v2/index.d.ts +1 -0
  442. package/es/schema-component/antd/table-v2/index.js +1 -0
  443. package/es/schema-component/antd/table-v2/utils.js +1 -1
  444. package/es/schema-component/antd/tabs/Tabs.Designer.d.ts +2 -1
  445. package/es/schema-component/antd/tabs/Tabs.js +23 -5
  446. package/es/schema-component/antd/tabs/context.d.ts +8 -0
  447. package/es/schema-component/antd/tabs/context.js +15 -0
  448. package/es/schema-component/antd/tabs/index.d.ts +1 -0
  449. package/es/schema-component/antd/tabs/index.js +2 -1
  450. package/es/schema-component/antd/time-picker/ReadPretty.d.ts +1 -1
  451. package/es/schema-component/antd/time-picker/ReadPretty.js +1 -1
  452. package/es/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
  453. package/es/schema-component/antd/time-picker/TimePicker.js +1 -1
  454. package/es/schema-component/antd/tree-select/ReadPretty.d.ts +1 -1
  455. package/es/schema-component/antd/tree-select/ReadPretty.js +3 -1
  456. package/es/schema-component/antd/upload/Upload.js +1 -1
  457. package/es/schema-component/antd/upload/shared.d.ts +3 -3
  458. package/es/schema-component/antd/upload/style.less +1 -2
  459. package/es/schema-component/antd/upload/type.d.ts +2 -2
  460. package/es/schema-component/antd/variable/Input.d.ts +2 -2
  461. package/es/schema-component/antd/variable/Input.js +182 -31
  462. package/es/schema-component/antd/variable/JSONInput.d.ts +2 -2
  463. package/es/schema-component/antd/variable/JSONInput.js +2 -23
  464. package/es/schema-component/antd/variable/TextArea.d.ts +2 -2
  465. package/es/schema-component/antd/variable/VariableSelect.d.ts +2 -2
  466. package/es/schema-component/common/dnd-context/index.d.ts +1 -1
  467. package/es/schema-component/common/dnd-context/index.js +11 -4
  468. package/es/schema-component/common/sortable-item/SortableItem.d.ts +11 -4
  469. package/es/schema-component/common/sortable-item/SortableItem.js +16 -5
  470. package/es/schema-component/common/utils/logic.js +64 -2
  471. package/es/schema-component/common/utils/uitls.js +48 -14
  472. package/es/schema-component/core/DesignableSwitch.d.ts +2 -1
  473. package/es/schema-component/core/SchemaComponent.d.ts +2 -1
  474. package/es/schema-component/core/SchemaComponentOptions.js +13 -8
  475. package/es/schema-component/core/SchemaComponentProvider.js +17 -6
  476. package/es/schema-component/hooks/useCompile.js +33 -5
  477. package/es/schema-component/hooks/useDesignable.d.ts +5 -4
  478. package/es/schema-component/hooks/useDesignable.js +30 -28
  479. package/es/schema-component/hooks/useFieldModeOptions.js +45 -21
  480. package/es/schema-component/hooks/useProps.d.ts +1 -10
  481. package/es/schema-component/hooks/useProps.js +20 -6
  482. package/es/schema-initializer/SchemaInitializer.d.ts +12 -3
  483. package/es/schema-initializer/SchemaInitializer.js +140 -14
  484. package/es/schema-initializer/SchemaInitializerProvider.d.ts +3 -3
  485. package/es/schema-initializer/SelectCollection.d.ts +2 -1
  486. package/es/schema-initializer/buttons/BlockInitializers.d.ts +2 -0
  487. package/es/schema-initializer/buttons/BulkEditFormItemInitializers.d.ts +2 -1
  488. package/es/schema-initializer/buttons/CreateFormBlockInitializers.d.ts +2 -1
  489. package/es/schema-initializer/buttons/CreateFormBulkEditBlockInitializers.d.ts +2 -1
  490. package/es/schema-initializer/buttons/CustomFormItemInitializers.d.ts +2 -1
  491. package/es/schema-initializer/buttons/DetailsActionInitializers.d.ts +14 -0
  492. package/es/schema-initializer/buttons/DetailsActionInitializers.js +12 -0
  493. package/es/schema-initializer/buttons/FormItemInitializers.d.ts +3 -2
  494. package/es/schema-initializer/buttons/ReadPrettyFormActionInitializers.d.ts +16 -0
  495. package/es/schema-initializer/buttons/ReadPrettyFormActionInitializers.js +21 -16
  496. package/es/schema-initializer/buttons/ReadPrettyFormItemInitializers.d.ts +2 -1
  497. package/es/schema-initializer/buttons/RecordBlockInitializers.d.ts +2 -1
  498. package/es/schema-initializer/buttons/RecordFormBlockInitializers.d.ts +2 -1
  499. package/es/schema-initializer/buttons/TabPaneInitializers.d.ts +4 -3
  500. package/es/schema-initializer/buttons/TabPaneInitializers.js +3 -3
  501. package/es/schema-initializer/buttons/TableActionColumnInitializers.d.ts +3 -2
  502. package/es/schema-initializer/buttons/TableActionColumnInitializers.js +12 -3
  503. package/es/schema-initializer/buttons/TableColumnInitializers.d.ts +2 -1
  504. package/es/schema-initializer/buttons/TableColumnInitializers.js +16 -9
  505. package/es/schema-initializer/buttons/TableSelectorInitializers.d.ts +2 -1
  506. package/es/schema-initializer/components/BulkEditField.d.ts +2 -1
  507. package/es/schema-initializer/components/CreateRecordAction.d.ts +2 -2
  508. package/es/schema-initializer/components/CreateRecordAction.js +6 -2
  509. package/es/schema-initializer/components/DeletedField.d.ts +2 -1
  510. package/es/schema-initializer/components/DuplicateAction.d.ts +3 -0
  511. package/es/schema-initializer/components/DuplicateAction.js +165 -0
  512. package/es/schema-initializer/components/assigned-field/AssignedField.d.ts +2 -1
  513. package/es/schema-initializer/components/assigned-field/AssignedField.js +1 -1
  514. package/es/schema-initializer/components/index.d.ts +1 -0
  515. package/es/schema-initializer/components/index.js +2 -1
  516. package/es/schema-initializer/index.d.ts +1 -1
  517. package/es/schema-initializer/index.js +1 -1
  518. package/es/schema-initializer/items/ActionInitializer.d.ts +2 -1
  519. package/es/schema-initializer/items/BlockInitializer.d.ts +2 -1
  520. package/es/schema-initializer/items/BulkDestroyActionInitializer.d.ts +2 -1
  521. package/es/schema-initializer/items/BulkEditSubmitActionInitializer.d.ts +2 -1
  522. package/es/schema-initializer/items/CalendarBlockInitializer.d.ts +2 -1
  523. package/es/schema-initializer/items/CollectionFieldInitializer.d.ts +2 -1
  524. package/es/schema-initializer/items/CreateActionInitializer.d.ts +2 -1
  525. package/es/schema-initializer/items/CreateChildInitializer.d.ts +2 -1
  526. package/es/schema-initializer/items/CreateFilterActionInitializer.d.ts +2 -1
  527. package/es/schema-initializer/items/CreateFormBlockInitializer.d.ts +2 -1
  528. package/es/schema-initializer/items/CreateFormBulkEditBlockInitializer.d.ts +2 -1
  529. package/es/schema-initializer/items/CreateResetActionInitializer.d.ts +2 -1
  530. package/es/schema-initializer/items/CreateSubmitActionInitializer.d.ts +2 -1
  531. package/es/schema-initializer/items/CustomizeActionInitializer.d.ts +2 -1
  532. package/es/schema-initializer/items/CustomizeBulkEditActionInitializer.d.ts +2 -1
  533. package/es/schema-initializer/items/DataBlockInitializer.d.ts +2 -1
  534. package/es/schema-initializer/items/DeleteEventActionInitializer.d.ts +2 -1
  535. package/es/schema-initializer/items/DestroyActionInitializer.d.ts +2 -1
  536. package/es/schema-initializer/items/DetailsBlockInitializer.d.ts +2 -1
  537. package/es/schema-initializer/items/DuplicateActionInitializer.d.ts +2 -0
  538. package/es/schema-initializer/items/DuplicateActionInitializer.js +61 -0
  539. package/es/schema-initializer/items/ExpandActionInitializer.d.ts +2 -1
  540. package/es/schema-initializer/items/ExpandActionInitializer.js +3 -3
  541. package/es/schema-initializer/items/FilterActionInitializer.d.ts +2 -1
  542. package/es/schema-initializer/items/FilterBlockInitializer.d.ts +2 -1
  543. package/es/schema-initializer/items/FilterCollapseBlockInitializer.d.ts +2 -1
  544. package/es/schema-initializer/items/FilterFormBlockInitializer.d.ts +2 -1
  545. package/es/schema-initializer/items/FormBlockInitializer.d.ts +2 -1
  546. package/es/schema-initializer/items/G2PlotInitializer.d.ts +2 -1
  547. package/es/schema-initializer/items/GanttBlockInitializer.d.ts +2 -1
  548. package/es/schema-initializer/items/GridCardBlockInitializer.d.ts +2 -1
  549. package/es/schema-initializer/items/InitializerWithSwitch.d.ts +2 -1
  550. package/es/schema-initializer/items/KanbanBlockInitializer.d.ts +2 -1
  551. package/es/schema-initializer/items/ListBlockInitializer.d.ts +2 -1
  552. package/es/schema-initializer/items/MarkdownBlockInitializer.d.ts +2 -1
  553. package/es/schema-initializer/items/PrintActionInitializer.d.ts +2 -1
  554. package/es/schema-initializer/items/RecordAssociationBlockInitializer.d.ts +2 -1
  555. package/es/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +2 -1
  556. package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.d.ts +2 -1
  557. package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.d.ts +2 -1
  558. package/es/schema-initializer/items/RecordFormBlockInitializer.d.ts +2 -1
  559. package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.d.ts +2 -1
  560. package/es/schema-initializer/items/RecordReadPrettyFormBlockInitializer.d.ts +2 -1
  561. package/es/schema-initializer/items/RefreshActionInitializer.d.ts +2 -1
  562. package/es/schema-initializer/items/SelectActionInitializer.d.ts +2 -1
  563. package/es/schema-initializer/items/SubmitActionInitializer.d.ts +2 -1
  564. package/es/schema-initializer/items/TableActionColumnInitializer.d.ts +2 -1
  565. package/es/schema-initializer/items/TableBlockInitializer.d.ts +2 -1
  566. package/es/schema-initializer/items/TableCollectionFieldInitializer.d.ts +2 -1
  567. package/es/schema-initializer/items/TableSelectorInitializer.d.ts +2 -1
  568. package/es/schema-initializer/items/UpdateActionInitializer.d.ts +2 -1
  569. package/es/schema-initializer/items/UpdateSubmitActionInitializer.d.ts +2 -1
  570. package/es/schema-initializer/items/ViewActionInitializer.d.ts +2 -1
  571. package/es/schema-initializer/items/index.d.ts +1 -0
  572. package/es/schema-initializer/items/index.js +1 -0
  573. package/es/schema-initializer/utils.d.ts +13 -0
  574. package/es/schema-initializer/utils.js +70 -43
  575. package/es/schema-items/GeneralSchemaItems.js +5 -3
  576. package/es/schema-items/OpenModeSchemaItems.js +14 -10
  577. package/es/schema-settings/DataTemplates/FormDataTemplates.d.ts +1 -1
  578. package/es/schema-settings/DataTemplates/FormDataTemplates.js +8 -6
  579. package/es/schema-settings/DataTemplates/TreeLabel.d.ts +2 -1
  580. package/es/schema-settings/DataTemplates/components/DataTemplateTitle.js +2 -0
  581. package/es/schema-settings/DataTemplates/components/Designer.d.ts +1 -1
  582. package/es/schema-settings/DataTemplates/components/Designer.js +2 -0
  583. package/es/schema-settings/DataTemplates/hooks/useCollectionState.d.ts +3 -3
  584. package/es/schema-settings/DataTemplates/hooks/useCollectionState.js +38 -57
  585. package/es/schema-settings/EnableChildCollections/index.d.ts +1 -1
  586. package/es/schema-settings/EnableChildCollections/index.js +2 -0
  587. package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  588. package/es/schema-settings/GeneralSchemaDesigner.js +3 -2
  589. package/es/schema-settings/LinkageRules/DynamicComponent.d.ts +2 -1
  590. package/es/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +1 -1
  591. package/es/schema-settings/LinkageRules/LinkageRuleAction.d.ts +2 -2
  592. package/es/schema-settings/LinkageRules/LinkageRuleAction.js +14 -10
  593. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +2 -2
  594. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.js +2 -0
  595. package/es/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +2 -1
  596. package/es/schema-settings/LinkageRules/components/LinkageHeader.js +2 -0
  597. package/es/schema-settings/LinkageRules/index.d.ts +1 -1
  598. package/es/schema-settings/LinkageRules/index.js +3 -1
  599. package/es/schema-settings/SchemaSettings.d.ts +2 -1
  600. package/es/schema-settings/SchemaSettings.js +27 -16
  601. package/es/schema-settings/VariableInput/VariableInput.d.ts +1 -1
  602. package/es/schema-settings/VariableInput/VariableInput.js +1 -1
  603. package/es/schema-settings/VariableInput/hooks/useDateVariable.d.ts +12 -1
  604. package/es/schema-settings/VariableInput/hooks/useDateVariable.js +41 -36
  605. package/es/schema-settings/VariableInput/hooks/useUserVariable.d.ts +4 -4
  606. package/es/schema-settings/VariableInput/hooks/useUserVariable.js +66 -42
  607. package/es/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +12 -1
  608. package/es/schema-settings/VariableInput/hooks/useVariableOptions.js +6 -2
  609. package/es/schema-settings/VariableInput/type.d.ts +28 -0
  610. package/es/schema-settings/VariableInput/type.js +1 -0
  611. package/es/schema-settings/hooks/useIsShowMultipleSwitch.js +3 -2
  612. package/es/schema-templates/BlockTemplate.d.ts +1 -1
  613. package/es/schema-templates/BlockTemplate.js +4 -1
  614. package/es/schema-templates/BlockTemplateDetails.d.ts +2 -1
  615. package/es/schema-templates/BlockTemplateDetails.js +6 -6
  616. package/es/schema-templates/BlockTemplatePage.d.ts +3 -2
  617. package/es/schema-templates/SchemaTemplateManagerProvider.d.ts +5 -2
  618. package/es/schema-templates/SchemaTemplateManagerProvider.js +7 -0
  619. package/es/schema-templates/index.d.ts +0 -1
  620. package/es/schema-templates/index.js +1 -2
  621. package/es/settings-form/SettingsForm.js +6 -0
  622. package/es/system-settings/SystemSettingsProvider.d.ts +5 -3
  623. package/es/system-settings/SystemSettingsShortcut.d.ts +2 -3
  624. package/es/system-settings/SystemSettingsShortcut.js +33 -81
  625. package/es/test/collections.d.ts +1487 -0
  626. package/es/test/collections.js +1437 -0
  627. package/es/test/index.d.ts +3 -0
  628. package/es/test/index.js +3 -0
  629. package/es/test/mainCollections.d.ts +11359 -0
  630. package/es/test/mainCollections.js +3 -0
  631. package/es/test/mockAPIClient.d.ts +6 -0
  632. package/es/test/mockAPIClient.js +10 -0
  633. package/es/user/ChangePassword.d.ts +2 -1
  634. package/es/user/ChangePassword.js +2 -2
  635. package/es/user/CurrentUser.d.ts +7 -1
  636. package/es/user/CurrentUser.js +119 -112
  637. package/es/user/CurrentUserProvider.d.ts +1 -1
  638. package/es/user/CurrentUserProvider.js +4 -3
  639. package/es/user/EditProfile.d.ts +2 -1
  640. package/es/user/EditProfile.js +3 -3
  641. package/es/user/LanguageSettings.d.ts +2 -1
  642. package/es/user/SigninPage.d.ts +2 -1
  643. package/es/user/SigninPage.js +15 -7
  644. package/es/user/SigninPageExtension.d.ts +1 -1
  645. package/es/user/SignupPage.d.ts +2 -1
  646. package/es/user/SignupPage.js +5 -4
  647. package/es/user/SwitchRole.d.ts +2 -1
  648. package/es/user/SwitchRole.js +1 -3
  649. package/es/user/ThemeSettings.d.ts +2 -1
  650. package/es/user/VerificationCode.d.ts +2 -2
  651. package/es/user/index.d.ts +0 -3
  652. package/es/user/index.js +3 -3
  653. package/lib/acl/ACLProvider.d.ts +6 -7
  654. package/lib/acl/ACLProvider.js +6 -23
  655. package/lib/acl/ACLShortcut.d.ts +2 -3
  656. package/lib/acl/ACLShortcut.js +4 -64
  657. package/lib/acl/Configuration/ConfigureCenter.d.ts +3 -2
  658. package/lib/acl/Configuration/ConfigureCenter.js +8 -25
  659. package/lib/acl/Configuration/FilterDynamicComponent.d.ts +2 -2
  660. package/lib/acl/Configuration/MenuConfigure.d.ts +2 -1
  661. package/lib/acl/Configuration/MenuItemsProvider.d.ts +2 -1
  662. package/lib/acl/Configuration/PermisionProvider.d.ts +2 -2
  663. package/lib/acl/Configuration/RoleConfigure.d.ts +2 -1
  664. package/lib/acl/Configuration/RoleTable.d.ts +2 -1
  665. package/lib/acl/Configuration/ScopeSelect.d.ts +2 -1
  666. package/lib/acl/Configuration/schemas/scopes.d.ts +1 -0
  667. package/lib/antd-config-provider/index.d.ts +1 -1
  668. package/lib/api-client/APIClient.d.ts +1 -1
  669. package/lib/api-client/APIClientProvider.d.ts +2 -1
  670. package/lib/api-client/hooks/assign.d.ts +0 -1
  671. package/lib/api-client/hooks/assign.js +3 -10
  672. package/lib/api-client/hooks/useRequest.d.ts +1 -1
  673. package/lib/api-client/hooks/useRequest.js +1 -1
  674. package/lib/appInfo/CurrentAppInfoProvider.d.ts +1 -1
  675. package/lib/application/Application.d.ts +2 -1
  676. package/lib/application/Application.js +7 -6
  677. package/lib/application/compose.d.ts +2 -1
  678. package/lib/application-v2/Application.d.ts +31 -0
  679. package/lib/application-v2/Application.js +147 -0
  680. package/lib/application-v2/Plugin.d.ts +14 -0
  681. package/lib/application-v2/Plugin.js +99 -0
  682. package/lib/application-v2/PluginManager.d.ts +19 -0
  683. package/lib/application-v2/PluginManager.js +249 -0
  684. package/lib/application-v2/Router.d.ts +13 -0
  685. package/lib/application-v2/Router.js +111 -0
  686. package/lib/application-v2/components/AppComponent.d.ts +2 -0
  687. package/lib/application-v2/components/AppComponent.js +28 -0
  688. package/lib/application-v2/components/MainComponent.d.ts +6 -0
  689. package/lib/application-v2/components/MainComponent.js +23 -0
  690. package/lib/application-v2/components/RouterProvider.d.ts +14 -0
  691. package/lib/application-v2/components/RouterProvider.js +115 -0
  692. package/lib/application-v2/components/index.d.ts +13 -0
  693. package/lib/application-v2/components/index.js +56 -0
  694. package/lib/application-v2/compose.d.ts +2 -0
  695. package/lib/application-v2/compose.js +49 -0
  696. package/lib/application-v2/context.d.ts +3 -0
  697. package/lib/application-v2/context.js +9 -0
  698. package/lib/application-v2/hooks/index.d.ts +3 -0
  699. package/lib/application-v2/hooks/index.js +38 -0
  700. package/lib/application-v2/hooks/useApp.d.ts +1 -0
  701. package/lib/application-v2/hooks/useApp.js +12 -0
  702. package/lib/application-v2/hooks/useLoad.d.ts +1 -0
  703. package/lib/application-v2/hooks/useLoad.js +45 -0
  704. package/lib/application-v2/hooks/useRouter.d.ts +1 -0
  705. package/lib/application-v2/hooks/useRouter.js +12 -0
  706. package/lib/application-v2/index.d.ts +3 -0
  707. package/lib/application-v2/index.js +38 -0
  708. package/lib/application-v2/types.d.ts +26 -0
  709. package/lib/application-v2/types.js +5 -0
  710. package/lib/async-data-provider/index.d.ts +1 -1
  711. package/lib/auth/OptionsComponent.d.ts +7 -0
  712. package/lib/auth/OptionsComponent.js +32 -0
  713. package/lib/auth/SigninPage.d.ts +23 -0
  714. package/lib/auth/SigninPage.js +155 -0
  715. package/lib/auth/SigninPageExtension.d.ts +22 -0
  716. package/lib/auth/SigninPageExtension.js +42 -0
  717. package/lib/auth/SignupPage.d.ts +24 -0
  718. package/lib/auth/SignupPage.js +94 -0
  719. package/lib/auth/index.d.ts +4 -0
  720. package/lib/auth/index.js +49 -0
  721. package/lib/block-provider/BlockProvider.d.ts +4 -3
  722. package/lib/block-provider/BlockProvider.js +23 -5
  723. package/lib/block-provider/CalendarBlockProvider.d.ts +1 -1
  724. package/lib/block-provider/DetailsBlockProvider.d.ts +1 -1
  725. package/lib/block-provider/DetailsBlockProvider.js +1 -13
  726. package/lib/block-provider/FilterFormBlockProvider.d.ts +2 -1
  727. package/lib/block-provider/FormBlockProvider.d.ts +1 -1
  728. package/lib/block-provider/FormBlockProvider.js +10 -21
  729. package/lib/block-provider/FormFieldProvider.d.ts +1 -1
  730. package/lib/block-provider/GanttBlockProvider.d.ts +1 -1
  731. package/lib/block-provider/KanbanBlockProvider.d.ts +1 -1
  732. package/lib/block-provider/TableBlockProvider.d.ts +1 -2
  733. package/lib/block-provider/TableBlockProvider.js +57 -84
  734. package/lib/block-provider/TableFieldProvider.d.ts +1 -1
  735. package/lib/block-provider/TableSelectorProvider.d.ts +2 -2
  736. package/lib/block-provider/hooks/index.d.ts +10 -1
  737. package/lib/block-provider/hooks/index.js +50 -134
  738. package/lib/block-provider/index.d.ts +1 -0
  739. package/lib/block-provider/index.js +11 -0
  740. package/lib/board/Card.d.ts +2 -2
  741. package/lib/board/CardAdder.d.ts +2 -2
  742. package/lib/board/CardForm.d.ts +2 -2
  743. package/lib/board/Column.d.ts +3 -3
  744. package/lib/board/ColumnAdder.d.ts +2 -2
  745. package/lib/board/ColumnForm.d.ts +2 -2
  746. package/lib/board/DefaultCard.d.ts +2 -2
  747. package/lib/board/DefaultColumnHeader.d.ts +2 -2
  748. package/lib/board/Kanban.d.ts +2 -2
  749. package/lib/board/withDroppable.d.ts +2 -1
  750. package/lib/china-region/index.d.ts +2 -1
  751. package/lib/collection-manager/CollectionField.d.ts +1 -1
  752. package/lib/collection-manager/CollectionField.js +2 -1
  753. package/lib/collection-manager/CollectionManagerProvider.d.ts +2 -2
  754. package/lib/collection-manager/CollectionManagerShortcut.d.ts +2 -3
  755. package/lib/collection-manager/CollectionManagerShortcut.js +4 -63
  756. package/lib/collection-manager/Configuration/AddCategoryAction.d.ts +3 -2
  757. package/lib/collection-manager/Configuration/AddCategoryAction.js +1 -1
  758. package/lib/collection-manager/Configuration/AddCollectionAction.d.ts +3 -2
  759. package/lib/collection-manager/Configuration/AddCollectionAction.js +1 -1
  760. package/lib/collection-manager/Configuration/AddFieldAction.d.ts +3 -2
  761. package/lib/collection-manager/Configuration/AddFieldAction.js +1 -1
  762. package/lib/collection-manager/Configuration/AddSubFieldAction.d.ts +2 -1
  763. package/lib/collection-manager/Configuration/AddSubFieldAction.js +1 -1
  764. package/lib/collection-manager/Configuration/CollectionFields.d.ts +2 -1
  765. package/lib/collection-manager/Configuration/CollectionFieldsTable.d.ts +2 -2
  766. package/lib/collection-manager/Configuration/CollectionFieldsTable.js +3 -1
  767. package/lib/collection-manager/Configuration/CollectionFieldsTableArray.d.ts +2 -2
  768. package/lib/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -1
  769. package/lib/collection-manager/Configuration/ConfigurationTable.d.ts +2 -1
  770. package/lib/collection-manager/Configuration/ConfigurationTabs.d.ts +2 -1
  771. package/lib/collection-manager/Configuration/ConfigurationTabs.js +4 -0
  772. package/lib/collection-manager/Configuration/EditCategoryAction.d.ts +3 -2
  773. package/lib/collection-manager/Configuration/EditCategoryAction.js +1 -1
  774. package/lib/collection-manager/Configuration/EditCollectionAction.d.ts +3 -2
  775. package/lib/collection-manager/Configuration/EditCollectionAction.js +1 -1
  776. package/lib/collection-manager/Configuration/EditFieldAction.d.ts +3 -2
  777. package/lib/collection-manager/Configuration/EditFieldAction.js +1 -1
  778. package/lib/collection-manager/Configuration/EditSubFieldAction.d.ts +2 -1
  779. package/lib/collection-manager/Configuration/EditSubFieldAction.js +1 -1
  780. package/lib/collection-manager/Configuration/OverridingCollectionField.d.ts +3 -2
  781. package/lib/collection-manager/Configuration/OverridingCollectionField.js +1 -1
  782. package/lib/collection-manager/Configuration/SyncFieldsAction.d.ts +3 -2
  783. package/lib/collection-manager/Configuration/SyncFieldsAction.js +1 -1
  784. package/lib/collection-manager/Configuration/ViewInheritedField.d.ts +3 -2
  785. package/lib/collection-manager/Configuration/ViewInheritedField.js +1 -1
  786. package/lib/collection-manager/Configuration/components/CollectionCategory.d.ts +1 -1
  787. package/lib/collection-manager/Configuration/components/CollectionCategory.js +2 -0
  788. package/lib/collection-manager/Configuration/components/CollectionFieldInterface.d.ts +1 -1
  789. package/lib/collection-manager/Configuration/components/CollectionFieldInterface.js +2 -0
  790. package/lib/collection-manager/Configuration/components/CollectionTemplate.d.ts +1 -1
  791. package/lib/collection-manager/Configuration/components/CollectionTemplate.js +2 -0
  792. package/lib/collection-manager/Configuration/components/FieldSummary.d.ts +1 -1
  793. package/lib/collection-manager/Configuration/components/FieldSummary.js +4 -2
  794. package/lib/collection-manager/Configuration/components/TemplateSummay.d.ts +1 -1
  795. package/lib/collection-manager/Configuration/components/TemplateSummay.js +4 -2
  796. package/lib/collection-manager/Configuration/components/index.d.ts +6 -6
  797. package/lib/collection-manager/Configuration/components/index.js +12 -0
  798. package/lib/collection-manager/Configuration/interfaces.d.ts +1 -0
  799. package/lib/collection-manager/Configuration/templates.d.ts +1 -0
  800. package/lib/collection-manager/ResourceActionProvider.d.ts +1 -1
  801. package/lib/collection-manager/action-hooks.d.ts +1 -0
  802. package/lib/collection-manager/action-hooks.js +171 -92
  803. package/lib/collection-manager/index.d.ts +1 -1
  804. package/lib/collection-manager/index.js +7 -0
  805. package/lib/collection-manager/interfaces/components/index.d.ts +7 -6
  806. package/lib/collection-manager/interfaces/index.d.ts +0 -1
  807. package/lib/collection-manager/interfaces/index.js +0 -11
  808. package/lib/collection-manager/interfaces/properties/index.d.ts +0 -1
  809. package/lib/collection-manager/interfaces/properties/index.js +1 -42
  810. package/lib/collection-manager/interfaces/url.js +0 -5
  811. package/lib/collection-manager/sub-table.d.ts +2 -2
  812. package/lib/collection-manager/sub-table.js +4 -0
  813. package/lib/collection-manager/templates/components/PreviewFields.d.ts +1 -1
  814. package/lib/collection-manager/templates/components/PreviewFields.js +2 -1
  815. package/lib/collection-manager/templates/components/PreviewTable.d.ts +2 -1
  816. package/lib/collection-manager/types.d.ts +2 -0
  817. package/lib/filter-provider/FilterProvider.d.ts +5 -1
  818. package/lib/filter-provider/FilterProvider.js +9 -4
  819. package/lib/formula/Expression.d.ts +2 -1
  820. package/lib/formula/Result.d.ts +2 -1
  821. package/lib/formula/index.d.ts +2 -2
  822. package/lib/hooks/index.d.ts +1 -0
  823. package/lib/hooks/index.js +16 -0
  824. package/lib/hooks/useViewport.d.ts +1 -0
  825. package/lib/hooks/useViewport.js +47 -0
  826. package/lib/i18n/i18n.js +0 -1
  827. package/lib/icon/Icon.d.ts +2 -1
  828. package/lib/index.d.ts +2 -0
  829. package/lib/index.js +22 -0
  830. package/lib/locale/en_US.d.ts +16 -21
  831. package/lib/locale/en_US.js +19 -24
  832. package/lib/locale/es_ES.d.ts +3 -1
  833. package/lib/locale/es_ES.js +4 -2
  834. package/lib/locale/ja_JP.d.ts +16 -19
  835. package/lib/locale/ja_JP.js +17 -20
  836. package/lib/locale/pt_BR.d.ts +2 -0
  837. package/lib/locale/pt_BR.js +3 -1
  838. package/lib/locale/ru_RU.d.ts +2 -18
  839. package/lib/locale/ru_RU.js +3 -19
  840. package/lib/locale/tr_TR.d.ts +0 -17
  841. package/lib/locale/tr_TR.js +0 -17
  842. package/lib/locale/zh_CN.d.ts +25 -24
  843. package/lib/locale/zh_CN.js +26 -25
  844. package/lib/plugin-manager/PinnedPluginListProvider.d.ts +1 -1
  845. package/lib/plugin-manager/index.d.ts +1 -3
  846. package/lib/plugin-manager/index.js +4 -26
  847. package/lib/pm/Card.d.ts +8 -0
  848. package/lib/pm/Card.js +375 -0
  849. package/lib/pm/PluginManagerLink.d.ts +3 -2
  850. package/lib/pm/PluginManagerLink.js +5 -5
  851. package/lib/pm/index.d.ts +31 -2
  852. package/lib/pm/index.js +77 -256
  853. package/lib/powered-by/index.d.ts +2 -1
  854. package/lib/route-switch/RouteSwitch.d.ts +2 -2
  855. package/lib/route-switch/RouteSwitch.js +78 -45
  856. package/lib/route-switch/RouteSwitchProvider.d.ts +3 -3
  857. package/lib/route-switch/antd/admin-layout/index.d.ts +4 -2
  858. package/lib/route-switch/antd/admin-layout/index.js +56 -51
  859. package/lib/route-switch/antd/auth-layout/index.d.ts +2 -2
  860. package/lib/route-switch/antd/auth-layout/index.js +2 -1
  861. package/lib/route-switch/antd/route-schema-component/index.d.ts +2 -2
  862. package/lib/route-switch/antd/route-schema-component/index.js +2 -2
  863. package/lib/route-switch/context.d.ts +4 -0
  864. package/lib/route-switch/context.js +6 -2
  865. package/lib/route-switch/types.d.ts +2 -5
  866. package/lib/schema-component/antd/AntdSchemaComponentProvider.d.ts +2 -1
  867. package/lib/schema-component/antd/action/Action.Container.js +4 -0
  868. package/lib/schema-component/antd/action/Action.Designer.d.ts +2 -1
  869. package/lib/schema-component/antd/action/Action.Designer.js +203 -17
  870. package/lib/schema-component/antd/action/Action.Drawer.js +14 -12
  871. package/lib/schema-component/antd/action/Action.Link.js +3 -1
  872. package/lib/schema-component/antd/action/Action.Modal.js +13 -12
  873. package/lib/schema-component/antd/action/Action.Page.js +8 -2
  874. package/lib/schema-component/antd/action/Action.js +25 -17
  875. package/lib/schema-component/antd/action/ActionBar.d.ts +18 -2
  876. package/lib/schema-component/antd/action/ActionBar.js +50 -21
  877. package/lib/schema-component/antd/action/context.d.ts +8 -2
  878. package/lib/schema-component/antd/action/context.js +19 -3
  879. package/lib/schema-component/antd/action/hooks.d.ts +2 -0
  880. package/lib/schema-component/antd/association-field/AssociationFieldProvider.d.ts +1 -1
  881. package/lib/schema-component/antd/association-field/AssociationFieldProvider.js +56 -6
  882. package/lib/schema-component/antd/association-field/AssociationSelect.js +88 -9
  883. package/lib/schema-component/antd/association-field/Editable.d.ts +1 -1
  884. package/lib/schema-component/antd/association-field/Editable.js +12 -11
  885. package/lib/schema-component/antd/association-field/FileManager.d.ts +1 -1
  886. package/lib/schema-component/antd/association-field/FileManager.js +13 -3
  887. package/lib/schema-component/antd/association-field/InternalNester.d.ts +2 -1
  888. package/lib/schema-component/antd/association-field/InternalNester.js +11 -1
  889. package/lib/schema-component/antd/association-field/InternalPicker.d.ts +1 -1
  890. package/lib/schema-component/antd/association-field/InternalPicker.js +9 -3
  891. package/lib/schema-component/antd/association-field/InternalSubTable.d.ts +2 -1
  892. package/lib/schema-component/antd/association-field/InternalSubTable.js +32 -4
  893. package/lib/schema-component/antd/association-field/InternalViewer.js +9 -2
  894. package/lib/schema-component/antd/association-field/Nester.d.ts +2 -1
  895. package/lib/schema-component/antd/association-field/Nester.js +56 -12
  896. package/lib/schema-component/antd/association-field/ReadPretty.d.ts +1 -1
  897. package/lib/schema-component/antd/association-field/ReadPretty.js +4 -0
  898. package/lib/schema-component/antd/association-field/SubTable.js +53 -12
  899. package/lib/schema-component/antd/association-field/components/CreateRecordAction.d.ts +1 -1
  900. package/lib/schema-component/antd/association-field/components/CreateRecordAction.js +3 -1
  901. package/lib/schema-component/antd/association-field/schema.d.ts +3 -15
  902. package/lib/schema-component/antd/association-field/schema.js +4 -16
  903. package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.d.ts +2 -1
  904. package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.d.ts +2 -1
  905. package/lib/schema-component/antd/association-filter/AssociationFilter.FilterBlockInitializer.d.ts +2 -1
  906. package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.d.ts +2 -1
  907. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.d.ts +2 -1
  908. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.d.ts +2 -1
  909. package/lib/schema-component/antd/association-filter/AssociationFilter.d.ts +7 -6
  910. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.d.ts +2 -1
  911. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.d.ts +2 -1
  912. package/lib/schema-component/antd/association-select/ReadPretty.d.ts +1 -1
  913. package/lib/schema-component/antd/association-select/ReadPretty.js +2 -0
  914. package/lib/schema-component/antd/block-item/BlockItem.js +5 -2
  915. package/lib/schema-component/antd/block-item/TestDesigner.d.ts +2 -1
  916. package/lib/schema-component/antd/calendar/Calendar.Designer.d.ts +2 -1
  917. package/lib/schema-component/antd/calendar/Calendar.js +5 -3
  918. package/lib/schema-component/antd/calendar/DeleteEvent.d.ts +1 -1
  919. package/lib/schema-component/antd/calendar/DeleteEvent.js +2 -0
  920. package/lib/schema-component/antd/calendar/Event.d.ts +1 -1
  921. package/lib/schema-component/antd/calendar/Event.js +2 -0
  922. package/lib/schema-component/antd/calendar/Nav.d.ts +1 -1
  923. package/lib/schema-component/antd/calendar/Nav.js +5 -3
  924. package/lib/schema-component/antd/calendar/Title.d.ts +1 -1
  925. package/lib/schema-component/antd/calendar/Title.js +2 -0
  926. package/lib/schema-component/antd/calendar/Today.d.ts +1 -1
  927. package/lib/schema-component/antd/calendar/Today.js +4 -2
  928. package/lib/schema-component/antd/calendar/ViewSelect.d.ts +1 -1
  929. package/lib/schema-component/antd/calendar/ViewSelect.js +3 -0
  930. package/lib/schema-component/antd/calendar/components/Header.d.ts +2 -1
  931. package/lib/schema-component/antd/card-item/CardItem.js +1 -1
  932. package/lib/schema-component/antd/cascader/Cascader.js +8 -1
  933. package/lib/schema-component/antd/checkbox/Checkbox.d.ts +2 -1
  934. package/lib/schema-component/antd/checkbox/Checkbox.js +14 -12
  935. package/lib/schema-component/antd/collection-select/CollectionSelect.js +2 -0
  936. package/lib/schema-component/antd/cron/Cron.d.ts +2 -1
  937. package/lib/schema-component/antd/cron/Cron.js +3 -2
  938. package/lib/schema-component/antd/date-picker/DatePicker.d.ts +4 -2
  939. package/lib/schema-component/antd/date-picker/DatePicker.js +2 -1
  940. package/lib/schema-component/antd/date-picker/ReadPretty.d.ts +1 -1
  941. package/lib/schema-component/antd/date-picker/ReadPretty.js +1 -1
  942. package/lib/schema-component/antd/error-fallback/ErrorFallback.d.ts +2 -1
  943. package/lib/schema-component/antd/expand-action/Expand.Action.Design.d.ts +2 -1
  944. package/lib/schema-component/antd/expand-action/Expand.Action.Design.js +8 -8
  945. package/lib/schema-component/antd/expand-action/Expand.Action.d.ts +2 -1
  946. package/lib/schema-component/antd/expand-action/Expand.Action.js +9 -12
  947. package/lib/schema-component/antd/filter/DynamicComponent.d.ts +2 -1
  948. package/lib/schema-component/antd/filter/Filter.Action.Designer.d.ts +2 -1
  949. package/lib/schema-component/antd/filter/Filter.js +3 -1
  950. package/lib/schema-component/antd/filter/FilterAction.d.ts +1 -1
  951. package/lib/schema-component/antd/filter/FilterAction.js +3 -1
  952. package/lib/schema-component/antd/filter/FilterItem.d.ts +1 -1
  953. package/lib/schema-component/antd/filter/FilterItem.js +46 -41
  954. package/lib/schema-component/antd/filter/FilterItems.d.ts +1 -1
  955. package/lib/schema-component/antd/filter/FilterItems.js +2 -0
  956. package/lib/schema-component/antd/filter/SaveDefaultValue.d.ts +2 -1
  957. package/lib/schema-component/antd/filter/index.d.ts +1 -0
  958. package/lib/schema-component/antd/filter/index.js +11 -0
  959. package/lib/schema-component/antd/filter/useValues.js +5 -3
  960. package/lib/schema-component/antd/form/Form.Designer.d.ts +2 -1
  961. package/lib/schema-component/antd/form/Form.d.ts +1 -1
  962. package/lib/schema-component/antd/form/Form.js +2 -0
  963. package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.d.ts +2 -1
  964. package/lib/schema-component/antd/form-item/FormItem.js +85 -37
  965. package/lib/schema-component/antd/form-item/SchemaSettingOptions.d.ts +11 -10
  966. package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +1 -1
  967. package/lib/schema-component/antd/form-v2/Form.Designer.d.ts +4 -3
  968. package/lib/schema-component/antd/form-v2/Form.FilterDesigner.d.ts +2 -1
  969. package/lib/schema-component/antd/form-v2/Form.js +8 -1
  970. package/lib/schema-component/antd/form-v2/FormField.js +2 -0
  971. package/lib/schema-component/antd/form-v2/Templates.d.ts +7 -1
  972. package/lib/schema-component/antd/form-v2/Templates.js +20 -3
  973. package/lib/schema-component/antd/form-v2/index.js +3 -1
  974. package/lib/schema-component/antd/g2plot/G2Plot.js +2 -0
  975. package/lib/schema-component/antd/g2plot/G2PlotDesigner.d.ts +2 -1
  976. package/lib/schema-component/antd/gantt/Gantt.Designer.d.ts +2 -1
  977. package/lib/schema-component/antd/gantt/components/gantt/Event.d.ts +1 -1
  978. package/lib/schema-component/antd/gantt/components/gantt/Event.js +2 -0
  979. package/lib/schema-component/antd/gantt/components/gantt/gantt.js +1 -1
  980. package/lib/schema-component/antd/grid/Block.d.ts +1 -1
  981. package/lib/schema-component/antd/grid/Block.js +2 -0
  982. package/lib/schema-component/antd/grid/Grid.js +25 -9
  983. package/lib/schema-component/antd/grid-card/GridCard.Decorator.d.ts +1 -1
  984. package/lib/schema-component/antd/grid-card/GridCard.Decorator.js +2 -12
  985. package/lib/schema-component/antd/grid-card/GridCard.Designer.d.ts +2 -1
  986. package/lib/schema-component/antd/grid-card/GridCard.Designer.js +1 -1
  987. package/lib/schema-component/antd/grid-card/GridCard.Item.d.ts +2 -1
  988. package/lib/schema-component/antd/grid-card/GridCard.d.ts +2 -1
  989. package/lib/schema-component/antd/grid-card/GridCard.js +11 -7
  990. package/lib/schema-component/antd/index.d.ts +1 -0
  991. package/lib/schema-component/antd/index.js +11 -0
  992. package/lib/schema-component/antd/index.less +20 -4
  993. package/lib/schema-component/antd/input/Input.d.ts +2 -1
  994. package/lib/schema-component/antd/input/Input.js +3 -2
  995. package/lib/schema-component/antd/input/Json.d.ts +2 -2
  996. package/lib/schema-component/antd/input/Json.js +49 -9
  997. package/lib/schema-component/antd/input/ReadPretty.d.ts +1 -1
  998. package/lib/schema-component/antd/input/ReadPretty.js +4 -4
  999. package/lib/schema-component/antd/input-number/InputNumber.d.ts +5 -1
  1000. package/lib/schema-component/antd/input-number/InputNumber.js +1 -1
  1001. package/lib/schema-component/antd/input-number/ReadPretty.d.ts +2 -2
  1002. package/lib/schema-component/antd/input-number/ReadPretty.js +6 -2
  1003. package/lib/schema-component/antd/kanban/Kanban.Card.Designer.TitleSwitch.d.ts +2 -1
  1004. package/lib/schema-component/antd/kanban/Kanban.Card.Designer.d.ts +2 -1
  1005. package/lib/schema-component/antd/kanban/Kanban.Card.js +4 -2
  1006. package/lib/schema-component/antd/kanban/Kanban.CardViewer.js +2 -0
  1007. package/lib/schema-component/antd/kanban/Kanban.Designer.d.ts +2 -1
  1008. package/lib/schema-component/antd/kanban/Kanban.js +3 -1
  1009. package/lib/schema-component/antd/list/List.Decorator.d.ts +1 -1
  1010. package/lib/schema-component/antd/list/List.Decorator.js +8 -13
  1011. package/lib/schema-component/antd/list/List.Designer.d.ts +2 -1
  1012. package/lib/schema-component/antd/list/List.Item.d.ts +2 -1
  1013. package/lib/schema-component/antd/list/List.Item.js +1 -1
  1014. package/lib/schema-component/antd/list/List.d.ts +2 -1
  1015. package/lib/schema-component/antd/markdown/Markdown.Void.Designer.d.ts +2 -1
  1016. package/lib/schema-component/antd/markdown/Markdown.Void.js +2 -0
  1017. package/lib/schema-component/antd/markdown/Markdown.d.ts +2 -0
  1018. package/lib/schema-component/antd/markdown/Markdown.js +9 -4
  1019. package/lib/schema-component/antd/markdown/util.js +1 -1
  1020. package/lib/schema-component/antd/menu/Menu.Designer.d.ts +2 -1
  1021. package/lib/schema-component/antd/menu/Menu.js +46 -37
  1022. package/lib/schema-component/antd/menu/MenuItemInitializers/index.d.ts +2 -1
  1023. package/lib/schema-component/antd/page/FixedBlock.d.ts +2 -1
  1024. package/lib/schema-component/antd/page/FixedBlock.js +6 -2
  1025. package/lib/schema-component/antd/page/Page.d.ts +2 -1
  1026. package/lib/schema-component/antd/page/Page.js +22 -14
  1027. package/lib/schema-component/antd/page/PageTabDesigner.d.ts +3 -2
  1028. package/lib/schema-component/antd/pagination/index.d.ts +1 -1
  1029. package/lib/schema-component/antd/pagination/index.js +2 -0
  1030. package/lib/schema-component/antd/password/Password.d.ts +1 -1
  1031. package/lib/schema-component/antd/password/PasswordStrength.js +2 -145
  1032. package/lib/schema-component/antd/password/utils.d.ts +1 -0
  1033. package/lib/schema-component/antd/password/utils.js +151 -0
  1034. package/lib/schema-component/antd/percent/Percent.js +2 -2
  1035. package/lib/schema-component/antd/preview/Preview.d.ts +1 -1
  1036. package/lib/schema-component/antd/quick-edit/QuickEdit.d.ts +3 -0
  1037. package/lib/schema-component/antd/quick-edit/QuickEdit.js +98 -0
  1038. package/lib/schema-component/antd/quick-edit/index.d.ts +1 -0
  1039. package/lib/schema-component/antd/quick-edit/index.js +16 -0
  1040. package/lib/schema-component/antd/radio/Radio.d.ts +1 -1
  1041. package/lib/schema-component/antd/record-picker/InputRecordPicker.d.ts +1 -1
  1042. package/lib/schema-component/antd/record-picker/InputRecordPicker.js +4 -6
  1043. package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +9 -4
  1044. package/lib/schema-component/antd/remote-select/ReadPretty.d.ts +1 -1
  1045. package/lib/schema-component/antd/remote-select/ReadPretty.js +2 -0
  1046. package/lib/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  1047. package/lib/schema-component/antd/remote-select/RemoteSelect.js +54 -24
  1048. package/lib/schema-component/antd/select/ReadPretty.d.ts +1 -1
  1049. package/lib/schema-component/antd/select/ReadPretty.js +7 -7
  1050. package/lib/schema-component/antd/select/Select.d.ts +3 -0
  1051. package/lib/schema-component/antd/select/Select.js +23 -12
  1052. package/lib/schema-component/antd/select/index.d.ts +1 -1
  1053. package/lib/schema-component/antd/select/index.js +4 -4
  1054. package/lib/schema-component/antd/select/utils.d.ts +14 -0
  1055. package/lib/schema-component/antd/select/{shared.js → utils.js} +22 -20
  1056. package/lib/schema-component/antd/table/Table.Array.Designer.d.ts +2 -1
  1057. package/lib/schema-component/antd/table/Table.Array.d.ts +5 -5
  1058. package/lib/schema-component/antd/table/Table.Array.js +7 -5
  1059. package/lib/schema-component/antd/table/Table.Column.ActionBar.d.ts +1 -1
  1060. package/lib/schema-component/antd/table/Table.Column.ActionBar.js +2 -0
  1061. package/lib/schema-component/antd/table/Table.Column.Decorator.d.ts +2 -1
  1062. package/lib/schema-component/antd/table/Table.Column.Designer.d.ts +2 -1
  1063. package/lib/schema-component/antd/table/Table.Column.d.ts +2 -1
  1064. package/lib/schema-component/antd/table/Table.Designer.d.ts +2 -1
  1065. package/lib/schema-component/antd/table/Table.RowActionDesigner.d.ts +2 -1
  1066. package/lib/schema-component/antd/table/Table.RowSelection.d.ts +1 -1
  1067. package/lib/schema-component/antd/table/Table.RowSelection.js +2 -0
  1068. package/lib/schema-component/antd/table/Table.Void.Designer.d.ts +2 -1
  1069. package/lib/schema-component/antd/table/Table.Void.d.ts +1 -1
  1070. package/lib/schema-component/antd/table/Table.Void.js +2 -0
  1071. package/lib/schema-component/antd/table-v2/FilterDynamicComponent.d.ts +2 -2
  1072. package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.d.ts +2 -1
  1073. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.d.ts +1 -1
  1074. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.js +2 -0
  1075. package/lib/schema-component/antd/table-v2/Table.Column.Decorator.d.ts +2 -1
  1076. package/lib/schema-component/antd/table-v2/Table.Column.Designer.d.ts +2 -1
  1077. package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +100 -2
  1078. package/lib/schema-component/antd/table-v2/Table.Column.d.ts +2 -1
  1079. package/lib/schema-component/antd/table-v2/Table.Designer.d.ts +2 -1
  1080. package/lib/schema-component/antd/table-v2/Table.Index.d.ts +2 -1
  1081. package/lib/schema-component/antd/table-v2/Table.js +56 -25
  1082. package/lib/schema-component/antd/table-v2/TableBlockDesigner.d.ts +2 -1
  1083. package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +54 -47
  1084. package/lib/schema-component/antd/table-v2/TableField.js +4 -0
  1085. package/lib/schema-component/antd/table-v2/TableSelectorDesigner.d.ts +2 -1
  1086. package/lib/schema-component/antd/table-v2/index.d.ts +1 -0
  1087. package/lib/schema-component/antd/table-v2/index.js +12 -0
  1088. package/lib/schema-component/antd/table-v2/utils.js +1 -1
  1089. package/lib/schema-component/antd/tabs/Tabs.Designer.d.ts +2 -1
  1090. package/lib/schema-component/antd/tabs/Tabs.js +25 -5
  1091. package/lib/schema-component/antd/tabs/context.d.ts +8 -0
  1092. package/lib/schema-component/antd/tabs/context.js +24 -0
  1093. package/lib/schema-component/antd/tabs/index.d.ts +1 -0
  1094. package/lib/schema-component/antd/tabs/index.js +11 -0
  1095. package/lib/schema-component/antd/time-picker/ReadPretty.d.ts +1 -1
  1096. package/lib/schema-component/antd/time-picker/ReadPretty.js +1 -1
  1097. package/lib/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
  1098. package/lib/schema-component/antd/time-picker/TimePicker.js +1 -1
  1099. package/lib/schema-component/antd/tree-select/ReadPretty.d.ts +1 -1
  1100. package/lib/schema-component/antd/tree-select/ReadPretty.js +3 -1
  1101. package/lib/schema-component/antd/upload/Upload.js +1 -1
  1102. package/lib/schema-component/antd/upload/shared.d.ts +3 -3
  1103. package/lib/schema-component/antd/upload/style.less +1 -2
  1104. package/lib/schema-component/antd/upload/type.d.ts +2 -2
  1105. package/lib/schema-component/antd/variable/Input.d.ts +2 -2
  1106. package/lib/schema-component/antd/variable/Input.js +183 -31
  1107. package/lib/schema-component/antd/variable/JSONInput.d.ts +2 -2
  1108. package/lib/schema-component/antd/variable/JSONInput.js +2 -23
  1109. package/lib/schema-component/antd/variable/TextArea.d.ts +2 -2
  1110. package/lib/schema-component/antd/variable/VariableSelect.d.ts +2 -2
  1111. package/lib/schema-component/common/dnd-context/index.d.ts +1 -1
  1112. package/lib/schema-component/common/dnd-context/index.js +11 -4
  1113. package/lib/schema-component/common/sortable-item/SortableItem.d.ts +11 -4
  1114. package/lib/schema-component/common/sortable-item/SortableItem.js +16 -5
  1115. package/lib/schema-component/common/utils/logic.js +64 -2
  1116. package/lib/schema-component/common/utils/uitls.js +47 -13
  1117. package/lib/schema-component/core/DesignableSwitch.d.ts +2 -1
  1118. package/lib/schema-component/core/SchemaComponent.d.ts +2 -1
  1119. package/lib/schema-component/core/SchemaComponentOptions.js +12 -7
  1120. package/lib/schema-component/core/SchemaComponentProvider.js +17 -6
  1121. package/lib/schema-component/hooks/useCompile.js +32 -4
  1122. package/lib/schema-component/hooks/useDesignable.d.ts +5 -4
  1123. package/lib/schema-component/hooks/useDesignable.js +30 -28
  1124. package/lib/schema-component/hooks/useFieldModeOptions.js +44 -20
  1125. package/lib/schema-component/hooks/useProps.d.ts +1 -10
  1126. package/lib/schema-component/hooks/useProps.js +20 -6
  1127. package/lib/schema-initializer/SchemaInitializer.d.ts +12 -3
  1128. package/lib/schema-initializer/SchemaInitializer.js +138 -12
  1129. package/lib/schema-initializer/SchemaInitializerProvider.d.ts +3 -3
  1130. package/lib/schema-initializer/SelectCollection.d.ts +2 -1
  1131. package/lib/schema-initializer/buttons/BlockInitializers.d.ts +2 -0
  1132. package/lib/schema-initializer/buttons/BulkEditFormItemInitializers.d.ts +2 -1
  1133. package/lib/schema-initializer/buttons/CreateFormBlockInitializers.d.ts +2 -1
  1134. package/lib/schema-initializer/buttons/CreateFormBulkEditBlockInitializers.d.ts +2 -1
  1135. package/lib/schema-initializer/buttons/CustomFormItemInitializers.d.ts +2 -1
  1136. package/lib/schema-initializer/buttons/DetailsActionInitializers.d.ts +14 -0
  1137. package/lib/schema-initializer/buttons/DetailsActionInitializers.js +12 -0
  1138. package/lib/schema-initializer/buttons/FormItemInitializers.d.ts +3 -2
  1139. package/lib/schema-initializer/buttons/ReadPrettyFormActionInitializers.d.ts +16 -0
  1140. package/lib/schema-initializer/buttons/ReadPrettyFormActionInitializers.js +21 -16
  1141. package/lib/schema-initializer/buttons/ReadPrettyFormItemInitializers.d.ts +2 -1
  1142. package/lib/schema-initializer/buttons/RecordBlockInitializers.d.ts +2 -1
  1143. package/lib/schema-initializer/buttons/RecordFormBlockInitializers.d.ts +2 -1
  1144. package/lib/schema-initializer/buttons/TabPaneInitializers.d.ts +4 -3
  1145. package/lib/schema-initializer/buttons/TabPaneInitializers.js +3 -3
  1146. package/lib/schema-initializer/buttons/TableActionColumnInitializers.d.ts +3 -2
  1147. package/lib/schema-initializer/buttons/TableActionColumnInitializers.js +12 -3
  1148. package/lib/schema-initializer/buttons/TableColumnInitializers.d.ts +2 -1
  1149. package/lib/schema-initializer/buttons/TableColumnInitializers.js +16 -9
  1150. package/lib/schema-initializer/buttons/TableSelectorInitializers.d.ts +2 -1
  1151. package/lib/schema-initializer/components/BulkEditField.d.ts +2 -1
  1152. package/lib/schema-initializer/components/CreateRecordAction.d.ts +2 -2
  1153. package/lib/schema-initializer/components/CreateRecordAction.js +5 -1
  1154. package/lib/schema-initializer/components/DeletedField.d.ts +2 -1
  1155. package/lib/schema-initializer/components/DuplicateAction.d.ts +3 -0
  1156. package/lib/schema-initializer/components/DuplicateAction.js +174 -0
  1157. package/lib/schema-initializer/components/assigned-field/AssignedField.d.ts +2 -1
  1158. package/lib/schema-initializer/components/assigned-field/AssignedField.js +1 -1
  1159. package/lib/schema-initializer/components/index.d.ts +1 -0
  1160. package/lib/schema-initializer/components/index.js +11 -0
  1161. package/lib/schema-initializer/index.d.ts +1 -1
  1162. package/lib/schema-initializer/index.js +7 -0
  1163. package/lib/schema-initializer/items/ActionInitializer.d.ts +2 -1
  1164. package/lib/schema-initializer/items/BlockInitializer.d.ts +2 -1
  1165. package/lib/schema-initializer/items/BulkDestroyActionInitializer.d.ts +2 -1
  1166. package/lib/schema-initializer/items/BulkEditSubmitActionInitializer.d.ts +2 -1
  1167. package/lib/schema-initializer/items/CalendarBlockInitializer.d.ts +2 -1
  1168. package/lib/schema-initializer/items/CollectionFieldInitializer.d.ts +2 -1
  1169. package/lib/schema-initializer/items/CreateActionInitializer.d.ts +2 -1
  1170. package/lib/schema-initializer/items/CreateChildInitializer.d.ts +2 -1
  1171. package/lib/schema-initializer/items/CreateFilterActionInitializer.d.ts +2 -1
  1172. package/lib/schema-initializer/items/CreateFormBlockInitializer.d.ts +2 -1
  1173. package/lib/schema-initializer/items/CreateFormBulkEditBlockInitializer.d.ts +2 -1
  1174. package/lib/schema-initializer/items/CreateResetActionInitializer.d.ts +2 -1
  1175. package/lib/schema-initializer/items/CreateSubmitActionInitializer.d.ts +2 -1
  1176. package/lib/schema-initializer/items/CustomizeActionInitializer.d.ts +2 -1
  1177. package/lib/schema-initializer/items/CustomizeBulkEditActionInitializer.d.ts +2 -1
  1178. package/lib/schema-initializer/items/DataBlockInitializer.d.ts +2 -1
  1179. package/lib/schema-initializer/items/DeleteEventActionInitializer.d.ts +2 -1
  1180. package/lib/schema-initializer/items/DestroyActionInitializer.d.ts +2 -1
  1181. package/lib/schema-initializer/items/DetailsBlockInitializer.d.ts +2 -1
  1182. package/lib/schema-initializer/items/DuplicateActionInitializer.d.ts +2 -0
  1183. package/lib/schema-initializer/items/DuplicateActionInitializer.js +69 -0
  1184. package/lib/schema-initializer/items/ExpandActionInitializer.d.ts +2 -1
  1185. package/lib/schema-initializer/items/ExpandActionInitializer.js +3 -3
  1186. package/lib/schema-initializer/items/FilterActionInitializer.d.ts +2 -1
  1187. package/lib/schema-initializer/items/FilterBlockInitializer.d.ts +2 -1
  1188. package/lib/schema-initializer/items/FilterCollapseBlockInitializer.d.ts +2 -1
  1189. package/lib/schema-initializer/items/FilterFormBlockInitializer.d.ts +2 -1
  1190. package/lib/schema-initializer/items/FormBlockInitializer.d.ts +2 -1
  1191. package/lib/schema-initializer/items/G2PlotInitializer.d.ts +2 -1
  1192. package/lib/schema-initializer/items/GanttBlockInitializer.d.ts +2 -1
  1193. package/lib/schema-initializer/items/GridCardBlockInitializer.d.ts +2 -1
  1194. package/lib/schema-initializer/items/InitializerWithSwitch.d.ts +2 -1
  1195. package/lib/schema-initializer/items/KanbanBlockInitializer.d.ts +2 -1
  1196. package/lib/schema-initializer/items/ListBlockInitializer.d.ts +2 -1
  1197. package/lib/schema-initializer/items/MarkdownBlockInitializer.d.ts +2 -1
  1198. package/lib/schema-initializer/items/PrintActionInitializer.d.ts +2 -1
  1199. package/lib/schema-initializer/items/RecordAssociationBlockInitializer.d.ts +2 -1
  1200. package/lib/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +2 -1
  1201. package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.d.ts +2 -1
  1202. package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.d.ts +2 -1
  1203. package/lib/schema-initializer/items/RecordFormBlockInitializer.d.ts +2 -1
  1204. package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.d.ts +2 -1
  1205. package/lib/schema-initializer/items/RecordReadPrettyFormBlockInitializer.d.ts +2 -1
  1206. package/lib/schema-initializer/items/RefreshActionInitializer.d.ts +2 -1
  1207. package/lib/schema-initializer/items/SelectActionInitializer.d.ts +2 -1
  1208. package/lib/schema-initializer/items/SubmitActionInitializer.d.ts +2 -1
  1209. package/lib/schema-initializer/items/TableActionColumnInitializer.d.ts +2 -1
  1210. package/lib/schema-initializer/items/TableBlockInitializer.d.ts +2 -1
  1211. package/lib/schema-initializer/items/TableCollectionFieldInitializer.d.ts +2 -1
  1212. package/lib/schema-initializer/items/TableSelectorInitializer.d.ts +2 -1
  1213. package/lib/schema-initializer/items/UpdateActionInitializer.d.ts +2 -1
  1214. package/lib/schema-initializer/items/UpdateSubmitActionInitializer.d.ts +2 -1
  1215. package/lib/schema-initializer/items/ViewActionInitializer.d.ts +2 -1
  1216. package/lib/schema-initializer/items/index.d.ts +1 -0
  1217. package/lib/schema-initializer/items/index.js +11 -0
  1218. package/lib/schema-initializer/utils.d.ts +13 -0
  1219. package/lib/schema-initializer/utils.js +70 -43
  1220. package/lib/schema-items/GeneralSchemaItems.js +5 -3
  1221. package/lib/schema-items/OpenModeSchemaItems.js +14 -10
  1222. package/lib/schema-settings/DataTemplates/FormDataTemplates.d.ts +1 -1
  1223. package/lib/schema-settings/DataTemplates/FormDataTemplates.js +8 -6
  1224. package/lib/schema-settings/DataTemplates/TreeLabel.d.ts +2 -1
  1225. package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.js +2 -0
  1226. package/lib/schema-settings/DataTemplates/components/Designer.d.ts +1 -1
  1227. package/lib/schema-settings/DataTemplates/components/Designer.js +2 -0
  1228. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.d.ts +3 -3
  1229. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.js +38 -58
  1230. package/lib/schema-settings/EnableChildCollections/index.d.ts +1 -1
  1231. package/lib/schema-settings/EnableChildCollections/index.js +2 -0
  1232. package/lib/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  1233. package/lib/schema-settings/GeneralSchemaDesigner.js +3 -2
  1234. package/lib/schema-settings/LinkageRules/DynamicComponent.d.ts +2 -1
  1235. package/lib/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +1 -1
  1236. package/lib/schema-settings/LinkageRules/LinkageRuleAction.d.ts +2 -2
  1237. package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +14 -10
  1238. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +2 -2
  1239. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.js +2 -0
  1240. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +2 -1
  1241. package/lib/schema-settings/LinkageRules/components/LinkageHeader.js +2 -0
  1242. package/lib/schema-settings/LinkageRules/index.d.ts +1 -1
  1243. package/lib/schema-settings/LinkageRules/index.js +3 -1
  1244. package/lib/schema-settings/SchemaSettings.d.ts +2 -1
  1245. package/lib/schema-settings/SchemaSettings.js +26 -15
  1246. package/lib/schema-settings/VariableInput/VariableInput.d.ts +1 -1
  1247. package/lib/schema-settings/VariableInput/VariableInput.js +1 -1
  1248. package/lib/schema-settings/VariableInput/hooks/useDateVariable.d.ts +12 -1
  1249. package/lib/schema-settings/VariableInput/hooks/useDateVariable.js +41 -36
  1250. package/lib/schema-settings/VariableInput/hooks/useUserVariable.d.ts +4 -4
  1251. package/lib/schema-settings/VariableInput/hooks/useUserVariable.js +66 -42
  1252. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +12 -1
  1253. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +6 -2
  1254. package/lib/schema-settings/VariableInput/type.d.ts +28 -0
  1255. package/lib/schema-settings/VariableInput/type.js +5 -0
  1256. package/lib/schema-settings/hooks/useIsShowMultipleSwitch.js +3 -2
  1257. package/lib/schema-templates/BlockTemplate.d.ts +1 -1
  1258. package/lib/schema-templates/BlockTemplate.js +4 -1
  1259. package/lib/schema-templates/BlockTemplateDetails.d.ts +2 -1
  1260. package/lib/schema-templates/BlockTemplateDetails.js +5 -5
  1261. package/lib/schema-templates/BlockTemplatePage.d.ts +3 -2
  1262. package/lib/schema-templates/SchemaTemplateManagerProvider.d.ts +5 -2
  1263. package/lib/schema-templates/SchemaTemplateManagerProvider.js +7 -0
  1264. package/lib/schema-templates/index.d.ts +0 -1
  1265. package/lib/schema-templates/index.js +0 -11
  1266. package/lib/settings-form/SettingsForm.js +6 -0
  1267. package/lib/system-settings/SystemSettingsProvider.d.ts +5 -3
  1268. package/lib/system-settings/SystemSettingsShortcut.d.ts +2 -3
  1269. package/lib/system-settings/SystemSettingsShortcut.js +33 -85
  1270. package/lib/test/collections.d.ts +1487 -0
  1271. package/lib/test/collections.js +1444 -0
  1272. package/lib/test/index.d.ts +3 -0
  1273. package/lib/test/index.js +36 -0
  1274. package/lib/test/mainCollections.d.ts +11359 -0
  1275. package/lib/test/mainCollections.js +3 -0
  1276. package/lib/test/mockAPIClient.d.ts +6 -0
  1277. package/lib/test/mockAPIClient.js +18 -0
  1278. package/lib/user/ChangePassword.d.ts +2 -1
  1279. package/lib/user/ChangePassword.js +1 -1
  1280. package/lib/user/CurrentUser.d.ts +7 -1
  1281. package/lib/user/CurrentUser.js +121 -113
  1282. package/lib/user/CurrentUserProvider.d.ts +1 -1
  1283. package/lib/user/CurrentUserProvider.js +3 -2
  1284. package/lib/user/EditProfile.d.ts +2 -1
  1285. package/lib/user/EditProfile.js +2 -2
  1286. package/lib/user/LanguageSettings.d.ts +2 -1
  1287. package/lib/user/SigninPage.d.ts +2 -1
  1288. package/lib/user/SigninPage.js +14 -6
  1289. package/lib/user/SigninPageExtension.d.ts +1 -1
  1290. package/lib/user/SignupPage.d.ts +2 -1
  1291. package/lib/user/SignupPage.js +4 -3
  1292. package/lib/user/SwitchRole.d.ts +2 -1
  1293. package/lib/user/SwitchRole.js +1 -3
  1294. package/lib/user/ThemeSettings.d.ts +2 -1
  1295. package/lib/user/VerificationCode.d.ts +2 -2
  1296. package/lib/user/index.d.ts +0 -3
  1297. package/lib/user/index.js +0 -33
  1298. package/package.json +15 -15
  1299. package/tsconfig.json +2 -0
  1300. package/.umirc.ts +0 -24
  1301. package/develop.md +0 -5
  1302. package/es/collection-manager/interfaces/attachment.d.ts +0 -2
  1303. package/es/collection-manager/interfaces/attachment.js +0 -98
  1304. package/es/plugin-manager/PluginManager.d.ts +0 -23
  1305. package/es/plugin-manager/PluginManager.js +0 -166
  1306. package/es/plugin-manager/PluginManagerProvider.d.ts +0 -2
  1307. package/es/plugin-manager/PluginManagerProvider.js +0 -11
  1308. package/es/schema-component/antd/select/shared.d.ts +0 -7
  1309. package/es/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -22
  1310. package/es/schema-component/antd/table-v2/hooks/useUserVariable.js +0 -65
  1311. package/es/schema-templates/SchemaTemplateShortcut.d.ts +0 -1
  1312. package/es/schema-templates/SchemaTemplateShortcut.js +0 -17
  1313. package/lib/collection-manager/interfaces/attachment.d.ts +0 -2
  1314. package/lib/collection-manager/interfaces/attachment.js +0 -105
  1315. package/lib/plugin-manager/PluginManager.d.ts +0 -23
  1316. package/lib/plugin-manager/PluginManager.js +0 -178
  1317. package/lib/plugin-manager/PluginManagerProvider.d.ts +0 -2
  1318. package/lib/plugin-manager/PluginManagerProvider.js +0 -19
  1319. package/lib/schema-component/antd/select/shared.d.ts +0 -7
  1320. package/lib/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -22
  1321. package/lib/schema-component/antd/table-v2/hooks/useUserVariable.js +0 -73
  1322. package/lib/schema-templates/SchemaTemplateShortcut.d.ts +0 -1
  1323. package/lib/schema-templates/SchemaTemplateShortcut.js +0 -25
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- 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); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -8,22 +7,20 @@ exports.ActionDesigner = void 0;
8
7
  var _react = require("@formily/react");
9
8
  var _shared = require("@formily/shared");
10
9
  var _antd = require("antd");
10
+ var _lodash = require("lodash");
11
11
  var _react2 = _interopRequireWildcard(require("react"));
12
12
  var _reactI18next = require("react-i18next");
13
13
  var _ = require("../..");
14
14
  var _collectionManager = require("../../../collection-manager");
15
15
  var _schemaItems = require("../../../schema-items");
16
16
  var _schemaSettings = require("../../../schema-settings");
17
+ var _useCollectionState2 = require("../../../schema-settings/DataTemplates/hooks/useCollectionState");
17
18
  var _hooks = require("./hooks");
18
19
  var _utils = require("./utils");
19
20
  var _excluded = ["modalTip", "linkageAction"];
20
21
  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); }
21
22
  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; }
22
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
24
- 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; }
25
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
26
- 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); }
23
+ 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); }
27
24
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
28
25
  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."); }
29
26
  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); }
@@ -32,6 +29,19 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
32
29
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33
30
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
34
31
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
32
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
33
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
34
+ 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; }
35
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
36
+ 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); }
37
+ var Tree = (0, _react.connect)(_antd.Tree, (0, _react.mapProps)(function (props, field) {
38
+ console.log(props, field);
39
+ return _objectSpread(_objectSpread({}, props), {}, {
40
+ onCheck: function onCheck(checkedKeys) {
41
+ field.value = checkedKeys;
42
+ }
43
+ });
44
+ }));
35
45
  var MenuGroup = function MenuGroup(props) {
36
46
  var fieldSchema = (0, _react.useFieldSchema)();
37
47
  var actionType = fieldSchema['x-action'] || '';
@@ -52,7 +62,7 @@ var MenuGroup = function MenuGroup(props) {
52
62
  }, props.children);
53
63
  };
54
64
  var ActionDesigner = function ActionDesigner(props) {
55
- var _fieldSchema$xAction, _fieldSchema$xCompon, _fieldSchema$xCompon2, _fieldSchema$xCompon3, _fieldSchema$xAction2, _fieldSchema$xAction3, _fieldSchema$xAction4, _fieldSchema$xAction5, _fieldSchema$xAction6, _fieldSchema$xAction7, _fieldSchema$xAction8, _fieldSchema$xAction9, _fieldSchema$xAction10, _fieldSchema$xAction11;
65
+ var _fieldSchema$xAction, _fieldSchema$xCompon, _fieldSchema$xCompon2, _fieldSchema$xCompon3, _fieldSchema$parent, _fieldSchema$xCompon4, _fieldSchema$xAction2, _fieldSchema$xAction3, _fieldSchema$xAction4, _fieldSchema$xAction5, _fieldSchema$xAction6, _fieldSchema$xAction7, _fieldSchema$xAction8, _fieldSchema$xAction9, _fieldSchema$xAction10, _fieldSchema$xAction11;
56
66
  var modalTip = props.modalTip,
57
67
  linkageAction = props.linkageAction,
58
68
  restProps = _objectWithoutProperties(props, _excluded);
@@ -61,13 +71,15 @@ var ActionDesigner = function ActionDesigner(props) {
61
71
  var _useCollection = (0, _collectionManager.useCollection)(),
62
72
  name = _useCollection.name;
63
73
  var _useCollectionManager = (0, _collectionManager.useCollectionManager)(),
64
- getChildrenCollections = _useCollectionManager.getChildrenCollections;
74
+ getChildrenCollections = _useCollectionManager.getChildrenCollections,
75
+ getCollection = _useCollectionManager.getCollection,
76
+ getCollectionField = _useCollectionManager.getCollectionField;
65
77
  var _useDesignable = (0, _.useDesignable)(),
66
78
  dn = _useDesignable.dn;
67
79
  var _useTranslation2 = (0, _reactI18next.useTranslation)(),
68
80
  t = _useTranslation2.t;
69
81
  var isAction = (0, _hooks.useLinkageAction)();
70
- var isPopupAction = ['create', 'update', 'view', 'customize:popup'].includes(fieldSchema['x-action'] || '');
82
+ var isPopupAction = ['create', 'update', 'view', 'customize:popup', 'duplicate'].includes(fieldSchema['x-action'] || '');
71
83
  var isUpdateModePopupAction = ['customize:bulkUpdate', 'customize:bulkEdit'].includes(fieldSchema['x-action']);
72
84
  var _useState = (0, _react2.useState)(),
73
85
  _useState2 = _slicedToArray(_useState, 2),
@@ -79,6 +91,14 @@ var ActionDesigner = function ActionDesigner(props) {
79
91
  var isLink = fieldSchema['x-component'] === 'Action.Link';
80
92
  var isDelete = (fieldSchema === null || fieldSchema === void 0 ? void 0 : fieldSchema.parent['x-component']) === 'CollectionField';
81
93
  var isDraggable = (fieldSchema === null || fieldSchema === void 0 ? void 0 : fieldSchema.parent['x-component']) !== 'CollectionField';
94
+ var isDuplicateAction = fieldSchema['x-action'] === 'duplicate';
95
+ var _useCollectionState = (0, _useCollectionState2.useCollectionState)(name),
96
+ collectionList = _useCollectionState.collectionList,
97
+ getEnableFieldTree = _useCollectionState.getEnableFieldTree,
98
+ getOnLoadData = _useCollectionState.getOnLoadData,
99
+ getOnCheck = _useCollectionState.getOnCheck;
100
+ var duplicateValues = (0, _lodash.cloneDeep)(fieldSchema['x-component-props'].duplicateFields || []);
101
+ var options = (0, _collectionManager.useCollectionFieldsOptions)(name, 1, ['id']);
82
102
  (0, _react2.useEffect)(function () {
83
103
  var schemaUid = (0, _shared.uid)();
84
104
  var schema = {
@@ -159,8 +179,174 @@ var ActionDesigner = function ActionDesigner(props) {
159
179
  });
160
180
  dn.refresh();
161
181
  }
182
+ }), fieldSchema['x-action'] === 'submit' && ((_fieldSchema$parent = fieldSchema.parent) === null || _fieldSchema$parent === void 0 ? void 0 : _fieldSchema$parent['x-initializer']) === 'CreateFormActionInitializers' && /*#__PURE__*/_react2.default.createElement(_schemaSettings.SchemaSettings.ModalItem, {
183
+ title: t('Save mode'),
184
+ components: {
185
+ Tree: Tree
186
+ },
187
+ schema: {
188
+ type: 'object',
189
+ title: t('Save mode'),
190
+ properties: {
191
+ saveMode: {
192
+ 'x-decorator': 'FormItem',
193
+ 'x-component': 'Radio.Group',
194
+ title: t('Save mode'),
195
+ default: field.componentProps.saveMode || 'create',
196
+ enum: [{
197
+ value: 'create',
198
+ label: '{{t("Create")}}'
199
+ }, {
200
+ value: 'firstOrCreate',
201
+ label: '{{t("First or create")}}'
202
+ }, {
203
+ value: 'updateOrCreate',
204
+ label: '{{t("Update or create")}}'
205
+ }]
206
+ },
207
+ filterKeys: {
208
+ type: 'array',
209
+ title: '{{ t("Find by the following fields") }}',
210
+ required: true,
211
+ default: field.componentProps.filterKeys,
212
+ 'x-decorator': 'FormItem',
213
+ 'x-component': 'Tree',
214
+ 'x-component-props': {
215
+ treeData: options,
216
+ checkable: true,
217
+ defaultCheckedKeys: field.componentProps.filterKeys,
218
+ rootStyle: {
219
+ padding: '8px 0',
220
+ border: '1px solid #d9d9d9',
221
+ borderRadius: '2px',
222
+ maxHeight: '30vh',
223
+ overflow: 'auto',
224
+ margin: '2px 0'
225
+ }
226
+ },
227
+ 'x-reactions': [{
228
+ dependencies: ['.saveMode'],
229
+ fulfill: {
230
+ state: {
231
+ hidden: '{{ $deps[0]==="create"}}'
232
+ }
233
+ }
234
+ }]
235
+ }
236
+ }
237
+ },
238
+ onSubmit: function onSubmit(_ref2) {
239
+ var _schema2;
240
+ var saveMode = _ref2.saveMode,
241
+ filterKeys = _ref2.filterKeys;
242
+ console.log(saveMode, filterKeys);
243
+ field.componentProps.saveMode = saveMode;
244
+ field.componentProps.filterKeys = filterKeys;
245
+ fieldSchema['x-component-props'] = fieldSchema['x-component-props'] || {};
246
+ fieldSchema['x-component-props'].saveMode = saveMode;
247
+ fieldSchema['x-component-props'].filterKeys = filterKeys;
248
+ dn.emit('patch', {
249
+ schema: (_schema2 = {}, _defineProperty(_schema2, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema2, 'x-component-props', _objectSpread({}, fieldSchema['x-component-props'])), _schema2)
250
+ });
251
+ dn.refresh();
252
+ }
162
253
  }), isLinkageAction && /*#__PURE__*/_react2.default.createElement(_schemaSettings.SchemaSettings.LinkageRules, {
163
254
  collectionName: name
255
+ }), isDuplicateAction && /*#__PURE__*/_react2.default.createElement(_schemaSettings.SchemaSettings.ModalItem, {
256
+ title: t('Duplicate mode'),
257
+ components: {
258
+ Tree: Tree
259
+ },
260
+ scope: {
261
+ getEnableFieldTree: getEnableFieldTree,
262
+ collectionName: name,
263
+ getOnLoadData: getOnLoadData,
264
+ getOnCheck: getOnCheck
265
+ },
266
+ schema: {
267
+ type: 'object',
268
+ title: t('Duplicate mode'),
269
+ properties: {
270
+ duplicateMode: {
271
+ 'x-decorator': 'FormItem',
272
+ 'x-component': 'Radio.Group',
273
+ title: t('Duplicate mode'),
274
+ default: ((_fieldSchema$xCompon4 = fieldSchema['x-component-props']) === null || _fieldSchema$xCompon4 === void 0 ? void 0 : _fieldSchema$xCompon4.duplicateMode) || 'quickDulicate',
275
+ enum: [{
276
+ value: 'quickDulicate',
277
+ label: '{{t("Direct duplicate")}}'
278
+ }, {
279
+ value: 'continueduplicate',
280
+ label: '{{t("Copy into the form and continue to fill in")}}'
281
+ }]
282
+ },
283
+ collection: {
284
+ type: 'string',
285
+ title: '{{ t("Collection") }}',
286
+ required: true,
287
+ description: t('If collection inherits, choose inherited collections as templates'),
288
+ default: '{{ collectionName }}',
289
+ 'x-display': collectionList.length > 1 ? 'visible' : 'hidden',
290
+ 'x-decorator': 'FormItem',
291
+ 'x-component': 'Select',
292
+ 'x-component-props': {
293
+ options: collectionList
294
+ }
295
+ },
296
+ duplicateFields: {
297
+ type: 'array',
298
+ title: '{{ t("Data fields") }}',
299
+ required: true,
300
+ default: duplicateValues,
301
+ description: t('Only the selected fields will be used as the initialization data for the form'),
302
+ 'x-decorator': 'FormItem',
303
+ 'x-component': Tree,
304
+ 'x-component-props': {
305
+ defaultCheckedKeys: duplicateValues,
306
+ treeData: [],
307
+ checkable: true,
308
+ checkStrictly: true,
309
+ selectable: false,
310
+ loadData: '{{ getOnLoadData($self) }}',
311
+ onCheck: '{{ getOnCheck($self) }}',
312
+ rootStyle: {
313
+ padding: '8px 0',
314
+ border: '1px solid #d9d9d9',
315
+ borderRadius: '2px',
316
+ maxHeight: '30vh',
317
+ overflow: 'auto',
318
+ margin: '2px 0'
319
+ }
320
+ },
321
+ 'x-reactions': [{
322
+ dependencies: ['.collection'],
323
+ fulfill: {
324
+ state: {
325
+ disabled: '{{ !$deps[0] }}',
326
+ componentProps: {
327
+ treeData: '{{ getEnableFieldTree($deps[0], $self) }}'
328
+ }
329
+ }
330
+ }
331
+ }]
332
+ }
333
+ }
334
+ },
335
+ onSubmit: function onSubmit(_ref3) {
336
+ var _schema3;
337
+ var duplicateMode = _ref3.duplicateMode,
338
+ duplicateFields = _ref3.duplicateFields;
339
+ var fields = Array.isArray(duplicateFields) ? duplicateFields : duplicateFields.checked || [];
340
+ field.componentProps.duplicateMode = duplicateMode;
341
+ field.componentProps.duplicateFields = fields;
342
+ fieldSchema['x-component-props'] = fieldSchema['x-component-props'] || {};
343
+ fieldSchema['x-component-props'].duplicateMode = duplicateMode;
344
+ fieldSchema['x-component-props'].duplicateFields = fields;
345
+ dn.emit('patch', {
346
+ schema: (_schema3 = {}, _defineProperty(_schema3, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema3, 'x-component-props', _objectSpread({}, fieldSchema['x-component-props'])), _schema3)
347
+ });
348
+ dn.refresh();
349
+ }
164
350
  }), /*#__PURE__*/_react2.default.createElement(_schemaItems.OpenModeSchemaItems, {
165
351
  openMode: isPopupAction,
166
352
  openSize: isPopupAction
@@ -191,10 +377,10 @@ var ActionDesigner = function ActionDesigner(props) {
191
377
  modalTip: tips[actionType],
192
378
  uid: fieldSchema === null || fieldSchema === void 0 ? void 0 : (_fieldSchema$xAction5 = fieldSchema['x-action-settings']) === null || _fieldSchema$xAction5 === void 0 ? void 0 : _fieldSchema$xAction5.schemaUid,
193
379
  onSubmit: function onSubmit(assignedValues) {
194
- var _schema2;
380
+ var _schema4;
195
381
  fieldSchema['x-action-settings']['assignedValues'] = assignedValues;
196
382
  dn.emit('patch', {
197
- schema: (_schema2 = {}, _defineProperty(_schema2, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema2, 'x-action-settings', fieldSchema['x-action-settings']), _schema2)
383
+ schema: (_schema4 = {}, _defineProperty(_schema4, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema4, 'x-action-settings', fieldSchema['x-action-settings']), _schema4)
198
384
  });
199
385
  dn.refresh();
200
386
  }
@@ -203,10 +389,10 @@ var ActionDesigner = function ActionDesigner(props) {
203
389
  schema: _utils.requestSettingsSchema,
204
390
  initialValues: fieldSchema === null || fieldSchema === void 0 ? void 0 : (_fieldSchema$xAction7 = fieldSchema['x-action-settings']) === null || _fieldSchema$xAction7 === void 0 ? void 0 : _fieldSchema$xAction7.requestSettings,
205
391
  onSubmit: function onSubmit(requestSettings) {
206
- var _schema3;
392
+ var _schema5;
207
393
  fieldSchema['x-action-settings']['requestSettings'] = requestSettings;
208
394
  dn.emit('patch', {
209
- schema: (_schema3 = {}, _defineProperty(_schema3, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema3, 'x-action-settings', fieldSchema['x-action-settings']), _schema3)
395
+ schema: (_schema5 = {}, _defineProperty(_schema5, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema5, 'x-action-settings', fieldSchema['x-action-settings']), _schema5)
210
396
  });
211
397
  dn.refresh();
212
398
  }
@@ -214,10 +400,10 @@ var ActionDesigner = function ActionDesigner(props) {
214
400
  title: t('Skip required validation'),
215
401
  checked: !!(fieldSchema === null || fieldSchema === void 0 ? void 0 : (_fieldSchema$xAction9 = fieldSchema['x-action-settings']) === null || _fieldSchema$xAction9 === void 0 ? void 0 : _fieldSchema$xAction9.skipValidator),
216
402
  onChange: function onChange(value) {
217
- var _schema4;
403
+ var _schema6;
218
404
  fieldSchema['x-action-settings'].skipValidator = value;
219
405
  dn.emit('patch', {
220
- schema: (_schema4 = {}, _defineProperty(_schema4, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema4, 'x-action-settings', _objectSpread({}, fieldSchema['x-action-settings'])), _schema4)
406
+ schema: (_schema6 = {}, _defineProperty(_schema6, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema6, 'x-action-settings', _objectSpread({}, fieldSchema['x-action-settings'])), _schema6)
221
407
  });
222
408
  }
223
409
  }), (0, _shared.isValid)(fieldSchema === null || fieldSchema === void 0 ? void 0 : (_fieldSchema$xAction10 = fieldSchema['x-action-settings']) === null || _fieldSchema$xAction10 === void 0 ? void 0 : _fieldSchema$xAction10['onSuccess']) && /*#__PURE__*/_react2.default.createElement(_schemaSettings.SchemaSettings.ModalItem, {
@@ -290,10 +476,10 @@ var ActionDesigner = function ActionDesigner(props) {
290
476
  }
291
477
  },
292
478
  onSubmit: function onSubmit(onSuccess) {
293
- var _schema5;
479
+ var _schema7;
294
480
  fieldSchema['x-action-settings']['onSuccess'] = onSuccess;
295
481
  dn.emit('patch', {
296
- schema: (_schema5 = {}, _defineProperty(_schema5, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema5, 'x-action-settings', fieldSchema['x-action-settings']), _schema5)
482
+ schema: (_schema7 = {}, _defineProperty(_schema7, 'x-uid', fieldSchema['x-uid']), _defineProperty(_schema7, 'x-action-settings', fieldSchema['x-action-settings']), _schema7)
297
483
  });
298
484
  }
299
485
  }), isChildCollectionAction && /*#__PURE__*/_react2.default.createElement(_schemaSettings.SchemaSettings.EnableChildCollections, {
@@ -10,7 +10,6 @@ var _react = require("@formily/react");
10
10
  var _antd = require("antd");
11
11
  var _classnames = _interopRequireDefault(require("classnames"));
12
12
  var _react2 = _interopRequireDefault(require("react"));
13
- var _reactDom = require("react-dom");
14
13
  var _reactI18next = require("react-i18next");
15
14
  var _hooks = require("./hooks");
16
15
  var _templateObject, _templateObject2;
@@ -36,7 +35,9 @@ var ActionDrawer = (0, _react.observer)(function (props) {
36
35
  visible = _useActionContext.visible,
37
36
  setVisible = _useActionContext.setVisible,
38
37
  _useActionContext$ope = _useActionContext.openSize,
39
- openSize = _useActionContext$ope === void 0 ? 'middle' : _useActionContext$ope;
38
+ openSize = _useActionContext$ope === void 0 ? 'middle' : _useActionContext$ope,
39
+ drawerProps = _useActionContext.drawerProps,
40
+ modalProps = _useActionContext.modalProps;
40
41
  var schema = (0, _react.useFieldSchema)();
41
42
  var field = (0, _react.useField)();
42
43
  var openSizeFromParent = (_schema$parent = schema.parent) === null || _schema$parent === void 0 ? void 0 : (_schema$parent$xComp = _schema$parent['x-component-props']) === null || _schema$parent$xComp === void 0 ? void 0 : _schema$parent$xComp['openSize'];
@@ -47,22 +48,19 @@ var ActionDrawer = (0, _react.observer)(function (props) {
47
48
  }
48
49
  return buf;
49
50
  });
50
- return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react2.default.createElement("div", {
51
- onClick: function onClick(e) {
52
- e.stopPropagation();
53
- }
54
- }, /*#__PURE__*/_react2.default.createElement(_antd.Drawer, _objectSpread(_objectSpread({
55
- width: openSizeWidthMap.get(finalOpenSize),
51
+ return /*#__PURE__*/_react2.default.createElement(_antd.Drawer, _objectSpread(_objectSpread(_objectSpread(_objectSpread({
52
+ width: openSizeWidthMap.get(openSize),
56
53
  title: field.title
57
- }, others), {}, {
54
+ }, others), drawerProps), modalProps), {}, {
55
+ style: _objectSpread(_objectSpread({}, drawerProps === null || drawerProps === void 0 ? void 0 : drawerProps.style), others === null || others === void 0 ? void 0 : others.style),
58
56
  destroyOnClose: true,
59
57
  open: visible,
60
58
  onClose: function onClose() {
61
59
  return setVisible(false, true);
62
60
  },
63
- className: (0, _classnames.default)(others.className, (0, _css.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &.nb-action-popup {\n .ant-drawer-header {\n display: none;\n }\n\n .ant-drawer-body {\n padding-top: 14px;\n }\n\n .ant-drawer-content {\n background: #f0f2f5;\n }\n }\n\n &.nb-record-picker-selector {\n .nb-block-item {\n margin-bottom: 24px;\n\n .general-schema-designer {\n top: -8px;\n bottom: -8px;\n left: -8px;\n right: -8px;\n }\n }\n }\n "])))),
61
+ className: (0, _classnames.default)(drawerProps === null || drawerProps === void 0 ? void 0 : drawerProps.className, others.className, (0, _css.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &.nb-action-popup {\n .ant-drawer-header {\n display: none;\n }\n\n .ant-drawer-body {\n padding-top: 14px;\n }\n\n .ant-drawer-content {\n background: #f0f2f5;\n }\n }\n\n &.nb-record-picker-selector {\n .nb-block-item {\n margin-bottom: 24px;\n\n .general-schema-designer {\n top: -8px;\n bottom: -8px;\n left: -8px;\n right: -8px;\n }\n }\n }\n "])))),
64
62
  footer: footerSchema && /*#__PURE__*/_react2.default.createElement("div", {
65
- className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n width: 100%;\n\n .ant-btn {\n margin-right: 8px;\n }\n "])))
63
+ className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n width: 100%;\n\n .ant-btn {\n margin-right: 8px;\n }\n "])))
66
64
  }, /*#__PURE__*/_react2.default.createElement(_react.RecursionField, {
67
65
  basePath: field.address,
68
66
  schema: schema,
@@ -78,7 +76,9 @@ var ActionDrawer = (0, _react.observer)(function (props) {
78
76
  filterProperties: function filterProperties(s) {
79
77
  return s['x-component'] !== footerNodeName;
80
78
  }
81
- }))), document.body));
79
+ }));
80
+ }, {
81
+ displayName: 'ActionDrawer'
82
82
  });
83
83
  exports.ActionDrawer = ActionDrawer;
84
84
  ActionDrawer.Footer = (0, _react.observer)(function () {
@@ -89,6 +89,8 @@ ActionDrawer.Footer = (0, _react.observer)(function () {
89
89
  schema: schema,
90
90
  onlyRenderProperties: true
91
91
  });
92
+ }, {
93
+ displayName: 'ActionDrawer.Footer'
92
94
  });
93
95
  var _default = ActionDrawer;
94
96
  exports.default = _default;
@@ -16,8 +16,10 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
16
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); }
17
17
  var ActionLink = (0, _react.observer)(function (props) {
18
18
  return /*#__PURE__*/_react2.default.createElement(_Action.default, _objectSpread(_objectSpread({}, props), {}, {
19
- component: 'a',
19
+ component: props.component || 'a',
20
20
  className: 'nb-action-link'
21
21
  }));
22
+ }, {
23
+ displayName: 'ActionLink'
22
24
  });
23
25
  exports.ActionLink = ActionLink;
@@ -10,7 +10,6 @@ var _react = require("@formily/react");
10
10
  var _antd = require("antd");
11
11
  var _classnames = _interopRequireDefault(require("classnames"));
12
12
  var _react2 = _interopRequireDefault(require("react"));
13
- var _reactDom = require("react-dom");
14
13
  var _ = require(".");
15
14
  var _templateObject, _templateObject2;
16
15
  var _excluded = ["footerNodeName", "width"];
@@ -33,7 +32,8 @@ var ActionModal = (0, _react.observer)(function (props) {
33
32
  visible = _useActionContext.visible,
34
33
  setVisible = _useActionContext.setVisible,
35
34
  _useActionContext$ope = _useActionContext.openSize,
36
- openSize = _useActionContext$ope === void 0 ? 'large' : _useActionContext$ope;
35
+ openSize = _useActionContext$ope === void 0 ? 'large' : _useActionContext$ope,
36
+ modalProps = _useActionContext.modalProps;
37
37
  var actualWidth = width !== null && width !== void 0 ? width : openSizeWidthMap.get(openSize);
38
38
  var schema = (0, _react.useFieldSchema)();
39
39
  var field = (0, _react.useField)();
@@ -43,22 +43,19 @@ var ActionModal = (0, _react.observer)(function (props) {
43
43
  }
44
44
  return buf;
45
45
  });
46
- return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react2.default.createElement("div", {
47
- onClick: function onClick(e) {
48
- e.stopPropagation();
49
- }
50
- }, /*#__PURE__*/_react2.default.createElement(_antd.Modal, _objectSpread(_objectSpread({
46
+ return /*#__PURE__*/_react2.default.createElement(_antd.Modal, _objectSpread(_objectSpread(_objectSpread({
51
47
  width: actualWidth,
52
48
  title: field.title
53
- }, others), {}, {
49
+ }, others), modalProps), {}, {
50
+ style: _objectSpread(_objectSpread({}, modalProps === null || modalProps === void 0 ? void 0 : modalProps.style), others === null || others === void 0 ? void 0 : others.style),
54
51
  destroyOnClose: true,
55
- visible: visible,
52
+ open: visible,
56
53
  onCancel: function onCancel() {
57
54
  return setVisible(false, true);
58
55
  },
59
- className: (0, _classnames.default)(others.className, (0, _css.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &.nb-action-popup {\n .ant-modal-header {\n display: none;\n }\n\n .ant-modal-body {\n padding-top: 16px;\n }\n\n .ant-modal-body {\n background: #f0f2f5;\n }\n\n .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n }\n }\n "])))),
56
+ className: (0, _classnames.default)(others.className, modalProps === null || modalProps === void 0 ? void 0 : modalProps.className, (0, _css.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &.nb-action-popup {\n .ant-modal-header {\n display: none;\n }\n\n .ant-modal-body {\n padding-top: 16px;\n }\n\n .ant-modal-body {\n background: #f0f2f5;\n }\n\n .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n }\n }\n "])))),
60
57
  footer: footerSchema ? /*#__PURE__*/_react2.default.createElement("div", {
61
- className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n width: 100%;\n\n .ant-btn {\n margin-right: 8px;\n }\n "])))
58
+ className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n width: 100%;\n\n .ant-btn {\n margin-right: 8px;\n }\n "])))
62
59
  }, /*#__PURE__*/_react2.default.createElement(_react.RecursionField, {
63
60
  basePath: field.address,
64
61
  schema: schema,
@@ -74,7 +71,9 @@ var ActionModal = (0, _react.observer)(function (props) {
74
71
  filterProperties: function filterProperties(s) {
75
72
  return s['x-component'] !== footerNodeName;
76
73
  }
77
- }))), document.body));
74
+ }));
75
+ }, {
76
+ displayName: 'ActionModal'
78
77
  });
79
78
  exports.ActionModal = ActionModal;
80
79
  ActionModal.Footer = (0, _react.observer)(function () {
@@ -85,6 +84,8 @@ ActionModal.Footer = (0, _react.observer)(function () {
85
84
  schema: schema,
86
85
  onlyRenderProperties: true
87
86
  });
87
+ }, {
88
+ displayName: 'ActionModal.Footer'
88
89
  });
89
90
  var _default = ActionModal;
90
91
  exports.default = _default;
@@ -38,7 +38,9 @@ var ActionPage = (0, _react.observer)(function (props) {
38
38
  }
39
39
  return buf;
40
40
  });
41
- return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, (containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) && visible && /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react2.default.createElement("div", null, /*#__PURE__*/_react2.default.createElement(_react.RecursionField, {
41
+ return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, (containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) && visible && /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react2.default.createElement("div", {
42
+ className: "nb-action-page"
43
+ }, /*#__PURE__*/_react2.default.createElement(_react.RecursionField, {
42
44
  basePath: field.address,
43
45
  schema: schema,
44
46
  onlyRenderProperties: true,
@@ -46,7 +48,7 @@ var ActionPage = (0, _react.observer)(function (props) {
46
48
  return s['x-component'] !== footerNodeName;
47
49
  }
48
50
  }), footerSchema && /*#__PURE__*/_react2.default.createElement("div", {
49
- className: (0, _css.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n /* justify-content: flex-end; */\n /* flex-direction: row-reverse; */\n width: 100%;\n .ant-btn {\n margin-right: 8px;\n }\n "])))
51
+ className: (0, _css.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n /* justify-content: flex-end; */\n /* flex-direction: row-reverse; */\n width: 100%;\n .ant-btn {\n margin-right: 8px;\n }\n "])))
50
52
  }, /*#__PURE__*/_react2.default.createElement(_react.RecursionField, {
51
53
  basePath: field.address,
52
54
  schema: schema,
@@ -55,6 +57,8 @@ var ActionPage = (0, _react.observer)(function (props) {
55
57
  return s['x-component'] === footerNodeName;
56
58
  }
57
59
  }))), containerRef === null || containerRef === void 0 ? void 0 : containerRef.current));
60
+ }, {
61
+ displayName: 'ActionPage'
58
62
  });
59
63
  exports.ActionPage = ActionPage;
60
64
  ActionPage.Footer = (0, _react.observer)(function () {
@@ -65,6 +69,8 @@ ActionPage.Footer = (0, _react.observer)(function () {
65
69
  schema: schema,
66
70
  onlyRenderProperties: true
67
71
  });
72
+ }, {
73
+ displayName: 'ActionPage.Footer'
68
74
  });
69
75
  var _default = ActionPage;
70
76
  exports.default = _default;
@@ -108,9 +108,9 @@ var Action = (0, _react.observer)(function (props) {
108
108
  type: icon
109
109
  }),
110
110
  disabled: disabled,
111
- style: {
111
+ style: _objectSpread(_objectSpread({}, others.style), {}, {
112
112
  opacity: designable && (field === null || field === void 0 ? void 0 : (_field$data3 = field.data) === null || _field$data3 === void 0 ? void 0 : _field$data3.hidden) && 0.1
113
- },
113
+ }),
114
114
  onClick: function onClick(e) {
115
115
  if (!disabled) {
116
116
  e.preventDefault();
@@ -130,26 +130,30 @@ var Action = (0, _react.observer)(function (props) {
130
130
  }
131
131
  },
132
132
  component: tarComponent || _antd.Button,
133
- className: (0, _classnames.default)(className, actionDesignerCss)
133
+ className: (0, _classnames.default)(actionDesignerCss, className)
134
134
  }), title || compile(fieldSchema.title), /*#__PURE__*/_react2.default.createElement(Designer, _objectSpread({}, designerProps)));
135
135
  };
136
- return /*#__PURE__*/_react2.default.createElement(_context.ActionContext.Provider, {
137
- value: {
138
- button: renderButton(),
139
- visible: visible,
140
- setVisible: setVisible,
141
- formValueChanged: formValueChanged,
142
- setFormValueChanged: setFormValueChanged,
143
- openMode: openMode,
144
- openSize: openSize,
145
- containerRefKey: containerRefKey,
146
- fieldSchema: fieldSchema
147
- }
136
+ return /*#__PURE__*/_react2.default.createElement(_context.ActionContextProvider, {
137
+ button: renderButton(),
138
+ visible: visible,
139
+ setVisible: setVisible,
140
+ formValueChanged: formValueChanged,
141
+ setFormValueChanged: setFormValueChanged,
142
+ openMode: openMode,
143
+ openSize: openSize,
144
+ containerRefKey: containerRefKey,
145
+ fieldSchema: fieldSchema
148
146
  }, popover && /*#__PURE__*/_react2.default.createElement(_react.RecursionField, {
149
147
  basePath: field.address,
150
148
  onlyRenderProperties: true,
151
149
  schema: fieldSchema
152
- }), !popover && renderButton(), !popover && props.children);
150
+ }), !popover && renderButton(), !popover && /*#__PURE__*/_react2.default.createElement("div", {
151
+ onClick: function onClick(e) {
152
+ return e.stopPropagation();
153
+ }
154
+ }, props.children));
155
+ }, {
156
+ displayName: 'Action'
153
157
  });
154
158
  exports.Action = Action;
155
159
  Action.Popover = (0, _react.observer)(function (props) {
@@ -165,11 +169,15 @@ Action.Popover = (0, _react.observer)(function (props) {
165
169
  },
166
170
  content: props.children
167
171
  }), button);
172
+ }, {
173
+ displayName: 'Action.Popover'
168
174
  });
169
175
  Action.Popover.Footer = (0, _react.observer)(function (props) {
170
176
  return /*#__PURE__*/_react2.default.createElement("div", {
171
- className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n width: 100%;\n "])))
177
+ className: (0, _css.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n width: 100%;\n "])))
172
178
  }, props.children);
179
+ }, {
180
+ displayName: 'Action.Popover.Footer'
173
181
  });
174
182
  Action.Link = _Action4.ActionLink;
175
183
  Action.Designer = _Action2.ActionDesigner;
@@ -1,2 +1,18 @@
1
- import React from 'react';
2
- export declare const ActionBar: React.MemoExoticComponent<React.FunctionComponent<Pick<any, string | number | symbol>>>;
1
+ import React, { CSSProperties } from 'react';
2
+ interface ActionBarContextForceProps {
3
+ layout?: 'one-column' | 'tow-columns';
4
+ style?: CSSProperties;
5
+ className?: string;
6
+ }
7
+ export interface ActionBarContextValue {
8
+ container?: Element | DocumentFragment;
9
+ /**
10
+ * override props
11
+ */
12
+ forceProps?: ActionBarContextForceProps;
13
+ parentComponents?: string[];
14
+ }
15
+ export declare const ActionBarProvider: React.FC<ActionBarContextValue>;
16
+ export declare const useActionBarContext: () => ActionBarContextValue;
17
+ export declare const ActionBar: React.MemoExoticComponent<import("@formily/react").ReactFC<Pick<any, string | number | symbol>>>;
18
+ export {};