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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1378) hide show
  1. package/.dumi/global.less +1 -0
  2. package/.dumi/theme/builtins/LangSwitch/index.tsx +11 -0
  3. package/.dumi/theme/builtins/Previewer/index.tsx +23 -0
  4. package/.dumirc.ts +56 -0
  5. package/contributing.md +1 -1
  6. package/docs/develop.md +5 -0
  7. package/{intro.md → docs/intro.md} +21 -27
  8. package/es/acl/ACLProvider.d.ts +6 -7
  9. package/es/acl/ACLProvider.js +6 -22
  10. package/es/acl/ACLShortcut.d.ts +2 -3
  11. package/es/acl/ACLShortcut.js +2 -61
  12. package/es/acl/Configuration/ConfigureCenter.d.ts +3 -2
  13. package/es/acl/Configuration/ConfigureCenter.js +7 -22
  14. package/es/acl/Configuration/FilterDynamicComponent.d.ts +2 -2
  15. package/es/acl/Configuration/MenuConfigure.d.ts +2 -1
  16. package/es/acl/Configuration/MenuItemsProvider.d.ts +2 -1
  17. package/es/acl/Configuration/MenuItemsProvider.js +3 -3
  18. package/es/acl/Configuration/PermisionProvider.d.ts +2 -2
  19. package/es/acl/Configuration/RoleConfigure.d.ts +2 -1
  20. package/es/acl/Configuration/RoleTable.d.ts +2 -1
  21. package/es/acl/Configuration/ScopeSelect.d.ts +2 -1
  22. package/es/acl/Configuration/schemas/scopes.d.ts +1 -0
  23. package/es/antd-config-provider/index.d.ts +1 -1
  24. package/es/api-client/APIClient.d.ts +1 -1
  25. package/es/api-client/APIClientProvider.d.ts +2 -1
  26. package/es/api-client/hooks/assign.d.ts +0 -1
  27. package/es/api-client/hooks/assign.js +1 -7
  28. package/es/api-client/hooks/useRequest.d.ts +1 -1
  29. package/es/api-client/hooks/useRequest.js +1 -1
  30. package/es/appInfo/CurrentAppInfoProvider.d.ts +1 -1
  31. package/es/application/Application.d.ts +2 -1
  32. package/es/application/Application.js +5 -4
  33. package/es/application/compose.d.ts +2 -1
  34. package/es/application-v2/Application.d.ts +31 -0
  35. package/es/application-v2/Application.js +139 -0
  36. package/es/application-v2/Plugin.d.ts +14 -0
  37. package/es/application-v2/Plugin.js +92 -0
  38. package/es/application-v2/PluginManager.d.ts +19 -0
  39. package/es/application-v2/PluginManager.js +242 -0
  40. package/es/application-v2/Router.d.ts +13 -0
  41. package/es/application-v2/Router.js +103 -0
  42. package/es/application-v2/components/AppComponent.d.ts +2 -0
  43. package/es/application-v2/components/AppComponent.js +20 -0
  44. package/es/application-v2/components/MainComponent.d.ts +6 -0
  45. package/es/application-v2/components/MainComponent.js +13 -0
  46. package/es/application-v2/components/RouterProvider.d.ts +14 -0
  47. package/es/application-v2/components/RouterProvider.js +105 -0
  48. package/es/application-v2/components/index.d.ts +13 -0
  49. package/es/application-v2/components/index.js +13 -0
  50. package/es/application-v2/compose.d.ts +2 -0
  51. package/es/application-v2/compose.js +41 -0
  52. package/es/application-v2/context.d.ts +3 -0
  53. package/es/application-v2/context.js +2 -0
  54. package/es/application-v2/hooks/index.d.ts +3 -0
  55. package/es/application-v2/hooks/index.js +3 -0
  56. package/es/application-v2/hooks/useApp.d.ts +1 -0
  57. package/es/application-v2/hooks/useApp.js +5 -0
  58. package/es/application-v2/hooks/useLoad.d.ts +1 -0
  59. package/es/application-v2/hooks/useLoad.js +38 -0
  60. package/es/application-v2/hooks/useRouter.d.ts +1 -0
  61. package/es/application-v2/hooks/useRouter.js +5 -0
  62. package/es/application-v2/index.d.ts +3 -0
  63. package/es/application-v2/index.js +3 -0
  64. package/es/application-v2/types.d.ts +26 -0
  65. package/es/application-v2/types.js +1 -0
  66. package/es/async-data-provider/index.d.ts +1 -1
  67. package/es/auth/OptionsComponent.d.ts +7 -0
  68. package/es/auth/OptionsComponent.js +20 -0
  69. package/es/auth/SigninPage.d.ts +23 -0
  70. package/es/{settings-form/SettingsForm.js → auth/SigninPage.js} +116 -275
  71. package/es/auth/SigninPageExtension.d.ts +22 -0
  72. package/es/auth/SigninPageExtension.js +30 -0
  73. package/es/auth/SignupPage.d.ts +24 -0
  74. package/es/auth/SignupPage.js +82 -0
  75. package/es/auth/index.d.ts +4 -0
  76. package/es/auth/index.js +4 -0
  77. package/es/block-provider/BlockProvider.d.ts +4 -3
  78. package/es/block-provider/BlockProvider.js +23 -6
  79. package/es/block-provider/CalendarBlockProvider.d.ts +1 -1
  80. package/es/block-provider/DetailsBlockProvider.d.ts +1 -1
  81. package/es/block-provider/DetailsBlockProvider.js +1 -13
  82. package/es/block-provider/FilterFormBlockProvider.d.ts +2 -1
  83. package/es/block-provider/FormBlockProvider.d.ts +1 -1
  84. package/es/block-provider/FormBlockProvider.js +10 -21
  85. package/es/block-provider/FormFieldProvider.d.ts +1 -1
  86. package/es/block-provider/GanttBlockProvider.d.ts +1 -1
  87. package/es/block-provider/KanbanBlockProvider.d.ts +1 -1
  88. package/es/block-provider/TableBlockProvider.d.ts +1 -2
  89. package/es/block-provider/TableBlockProvider.js +57 -82
  90. package/es/block-provider/TableFieldProvider.d.ts +1 -1
  91. package/es/block-provider/TableSelectorProvider.d.ts +2 -2
  92. package/es/block-provider/hooks/index.d.ts +10 -1
  93. package/es/block-provider/hooks/index.js +53 -137
  94. package/es/block-provider/index.d.ts +1 -0
  95. package/es/block-provider/index.js +2 -1
  96. package/es/board/Card.d.ts +2 -2
  97. package/es/board/CardAdder.d.ts +2 -2
  98. package/es/board/CardForm.d.ts +2 -2
  99. package/es/board/Column.d.ts +3 -3
  100. package/es/board/ColumnAdder.d.ts +2 -2
  101. package/es/board/ColumnForm.d.ts +2 -2
  102. package/es/board/DefaultCard.d.ts +2 -2
  103. package/es/board/DefaultColumnHeader.d.ts +2 -2
  104. package/es/board/Kanban.d.ts +2 -2
  105. package/es/board/withDroppable.d.ts +2 -1
  106. package/es/china-region/index.d.ts +2 -1
  107. package/es/collection-manager/CollectionField.d.ts +1 -1
  108. package/es/collection-manager/CollectionField.js +2 -1
  109. package/es/collection-manager/CollectionManagerProvider.d.ts +2 -2
  110. package/es/collection-manager/CollectionManagerShortcut.d.ts +2 -3
  111. package/es/collection-manager/CollectionManagerShortcut.js +3 -60
  112. package/es/collection-manager/Configuration/AddCategoryAction.d.ts +3 -2
  113. package/es/collection-manager/Configuration/AddCategoryAction.js +2 -2
  114. package/es/collection-manager/Configuration/AddCollectionAction.d.ts +3 -2
  115. package/es/collection-manager/Configuration/AddCollectionAction.js +33 -27
  116. package/es/collection-manager/Configuration/AddFieldAction.d.ts +3 -2
  117. package/es/collection-manager/Configuration/AddFieldAction.js +46 -33
  118. package/es/collection-manager/Configuration/AddSubFieldAction.d.ts +2 -1
  119. package/es/collection-manager/Configuration/AddSubFieldAction.js +25 -20
  120. package/es/collection-manager/Configuration/CollectionFields.d.ts +2 -1
  121. package/es/collection-manager/Configuration/CollectionFieldsTable.d.ts +2 -2
  122. package/es/collection-manager/Configuration/CollectionFieldsTable.js +3 -1
  123. package/es/collection-manager/Configuration/CollectionFieldsTableArray.d.ts +2 -2
  124. package/es/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -1
  125. package/es/collection-manager/Configuration/ConfigurationTable.d.ts +2 -1
  126. package/es/collection-manager/Configuration/ConfigurationTabs.d.ts +2 -1
  127. package/es/collection-manager/Configuration/ConfigurationTabs.js +61 -50
  128. package/es/collection-manager/Configuration/EditCategoryAction.d.ts +3 -2
  129. package/es/collection-manager/Configuration/EditCategoryAction.js +2 -2
  130. package/es/collection-manager/Configuration/EditCollectionAction.d.ts +3 -2
  131. package/es/collection-manager/Configuration/EditCollectionAction.js +2 -2
  132. package/es/collection-manager/Configuration/EditFieldAction.d.ts +3 -2
  133. package/es/collection-manager/Configuration/EditFieldAction.js +2 -2
  134. package/es/collection-manager/Configuration/EditSubFieldAction.d.ts +2 -1
  135. package/es/collection-manager/Configuration/EditSubFieldAction.js +2 -2
  136. package/es/collection-manager/Configuration/OverridingCollectionField.d.ts +3 -2
  137. package/es/collection-manager/Configuration/OverridingCollectionField.js +2 -2
  138. package/es/collection-manager/Configuration/SyncFieldsAction.d.ts +3 -2
  139. package/es/collection-manager/Configuration/SyncFieldsAction.js +2 -2
  140. package/es/collection-manager/Configuration/ViewInheritedField.d.ts +3 -2
  141. package/es/collection-manager/Configuration/ViewInheritedField.js +2 -2
  142. package/es/collection-manager/Configuration/components/CollectionCategory.d.ts +1 -1
  143. package/es/collection-manager/Configuration/components/CollectionCategory.js +2 -0
  144. package/es/collection-manager/Configuration/components/CollectionFieldInterface.d.ts +1 -1
  145. package/es/collection-manager/Configuration/components/CollectionFieldInterface.js +2 -0
  146. package/es/collection-manager/Configuration/components/CollectionTemplate.d.ts +1 -1
  147. package/es/collection-manager/Configuration/components/CollectionTemplate.js +2 -0
  148. package/es/collection-manager/Configuration/components/FieldSummary.d.ts +1 -1
  149. package/es/collection-manager/Configuration/components/FieldSummary.js +4 -2
  150. package/es/collection-manager/Configuration/components/TemplateSummay.d.ts +1 -1
  151. package/es/collection-manager/Configuration/components/TemplateSummay.js +4 -2
  152. package/es/collection-manager/Configuration/components/index.d.ts +6 -6
  153. package/es/collection-manager/Configuration/components/index.js +12 -0
  154. package/es/collection-manager/Configuration/interfaces.d.ts +1 -0
  155. package/es/collection-manager/Configuration/templates.d.ts +1 -0
  156. package/es/collection-manager/ResourceActionProvider.d.ts +1 -1
  157. package/es/collection-manager/action-hooks.d.ts +1 -0
  158. package/es/collection-manager/action-hooks.js +168 -90
  159. package/es/collection-manager/hooks/useOptions.js +39 -36
  160. package/es/collection-manager/index.d.ts +1 -1
  161. package/es/collection-manager/index.js +1 -1
  162. package/es/collection-manager/interfaces/components/index.d.ts +7 -6
  163. package/es/collection-manager/interfaces/index.d.ts +0 -1
  164. package/es/collection-manager/interfaces/index.js +0 -1
  165. package/es/collection-manager/interfaces/integer.js +1 -1
  166. package/es/collection-manager/interfaces/number.js +3 -3
  167. package/es/collection-manager/interfaces/percent.js +3 -3
  168. package/es/collection-manager/interfaces/properties/index.d.ts +0 -1
  169. package/es/collection-manager/interfaces/properties/index.js +0 -40
  170. package/es/collection-manager/interfaces/url.js +0 -5
  171. package/es/collection-manager/sub-table.d.ts +2 -2
  172. package/es/collection-manager/sub-table.js +4 -0
  173. package/es/collection-manager/templates/components/PreviewFields.d.ts +1 -1
  174. package/es/collection-manager/templates/components/PreviewFields.js +2 -1
  175. package/es/collection-manager/templates/components/PreviewTable.d.ts +2 -1
  176. package/es/collection-manager/types.d.ts +2 -0
  177. package/es/filter-provider/FilterProvider.d.ts +5 -1
  178. package/es/filter-provider/FilterProvider.js +8 -3
  179. package/es/formula/Expression.d.ts +2 -1
  180. package/es/formula/Expression.js +66 -46
  181. package/es/formula/Result.d.ts +2 -1
  182. package/es/formula/index.d.ts +2 -2
  183. package/es/hooks/index.d.ts +2 -0
  184. package/es/hooks/index.js +2 -0
  185. package/es/hooks/useAdminSchemaUid.d.ts +1 -0
  186. package/es/hooks/useAdminSchemaUid.js +6 -0
  187. package/es/hooks/useMenuItem.d.ts +37 -0
  188. package/es/hooks/useMenuItem.js +90 -0
  189. package/es/hooks/useViewport.d.ts +1 -0
  190. package/es/hooks/useViewport.js +41 -0
  191. package/es/i18n/i18n.js +0 -1
  192. package/es/icon/Icon.d.ts +2 -1
  193. package/es/index.d.ts +3 -2
  194. package/es/index.js +3 -2
  195. package/es/locale/en_US.d.ts +19 -22
  196. package/es/locale/en_US.js +22 -25
  197. package/es/locale/es_ES.d.ts +4 -2
  198. package/es/locale/es_ES.js +5 -3
  199. package/es/locale/ja_JP.d.ts +19 -20
  200. package/es/locale/ja_JP.js +20 -21
  201. package/es/locale/pt_BR.d.ts +3 -1
  202. package/es/locale/pt_BR.js +4 -2
  203. package/es/locale/ru_RU.d.ts +3 -19
  204. package/es/locale/ru_RU.js +4 -20
  205. package/es/locale/tr_TR.d.ts +0 -17
  206. package/es/locale/tr_TR.js +0 -17
  207. package/es/locale/zh_CN.d.ts +28 -25
  208. package/es/locale/zh_CN.js +29 -26
  209. package/es/plugin-manager/PinnedPluginListProvider.d.ts +1 -1
  210. package/es/plugin-manager/index.d.ts +1 -3
  211. package/es/plugin-manager/index.js +1 -3
  212. package/es/pm/Card.d.ts +8 -0
  213. package/es/pm/Card.js +364 -0
  214. package/es/pm/PluginManagerLink.d.ts +3 -2
  215. package/es/pm/PluginManagerLink.js +22 -18
  216. package/es/pm/index.d.ts +33 -3
  217. package/es/pm/index.js +117 -282
  218. package/es/powered-by/index.d.ts +2 -1
  219. package/es/route-switch/RouteSwitch.d.ts +2 -2
  220. package/es/route-switch/RouteSwitch.js +76 -45
  221. package/es/route-switch/RouteSwitchProvider.d.ts +3 -3
  222. package/es/route-switch/antd/admin-layout/index.d.ts +4 -2
  223. package/es/route-switch/antd/admin-layout/index.js +60 -56
  224. package/es/route-switch/antd/auth-layout/index.d.ts +2 -2
  225. package/es/route-switch/antd/auth-layout/index.js +2 -1
  226. package/es/route-switch/antd/route-schema-component/index.d.ts +2 -2
  227. package/es/route-switch/antd/route-schema-component/index.js +3 -3
  228. package/es/route-switch/context.d.ts +4 -0
  229. package/es/route-switch/context.js +5 -2
  230. package/es/route-switch/types.d.ts +2 -5
  231. package/es/schema-component/antd/AntdSchemaComponentProvider.d.ts +2 -1
  232. package/es/schema-component/antd/action/Action.Container.js +4 -0
  233. package/es/schema-component/antd/action/Action.Designer.d.ts +2 -1
  234. package/es/schema-component/antd/action/Action.Designer.js +204 -20
  235. package/es/schema-component/antd/action/Action.Drawer.js +14 -12
  236. package/es/schema-component/antd/action/Action.Link.js +3 -1
  237. package/es/schema-component/antd/action/Action.Modal.js +13 -12
  238. package/es/schema-component/antd/action/Action.Page.js +8 -2
  239. package/es/schema-component/antd/action/Action.js +26 -18
  240. package/es/schema-component/antd/action/ActionBar.d.ts +18 -2
  241. package/es/schema-component/antd/action/ActionBar.js +47 -21
  242. package/es/schema-component/antd/action/context.d.ts +8 -2
  243. package/es/schema-component/antd/action/context.js +15 -2
  244. package/es/schema-component/antd/action/hooks.d.ts +2 -0
  245. package/es/schema-component/antd/association-field/AssociationFieldProvider.d.ts +1 -1
  246. package/es/schema-component/antd/association-field/AssociationFieldProvider.js +57 -6
  247. package/es/schema-component/antd/association-field/AssociationSelect.js +89 -11
  248. package/es/schema-component/antd/association-field/Editable.d.ts +1 -1
  249. package/es/schema-component/antd/association-field/Editable.js +12 -11
  250. package/es/schema-component/antd/association-field/FileManager.d.ts +1 -1
  251. package/es/schema-component/antd/association-field/FileManager.js +14 -4
  252. package/es/schema-component/antd/association-field/InternalNester.d.ts +2 -1
  253. package/es/schema-component/antd/association-field/InternalNester.js +12 -1
  254. package/es/schema-component/antd/association-field/InternalPicker.d.ts +1 -1
  255. package/es/schema-component/antd/association-field/InternalPicker.js +10 -4
  256. package/es/schema-component/antd/association-field/InternalSubTable.d.ts +2 -1
  257. package/es/schema-component/antd/association-field/InternalSubTable.js +35 -6
  258. package/es/schema-component/antd/association-field/InternalViewer.js +10 -3
  259. package/es/schema-component/antd/association-field/Nester.d.ts +2 -1
  260. package/es/schema-component/antd/association-field/Nester.js +58 -14
  261. package/es/schema-component/antd/association-field/ReadPretty.d.ts +1 -1
  262. package/es/schema-component/antd/association-field/ReadPretty.js +4 -0
  263. package/es/schema-component/antd/association-field/SubTable.js +53 -12
  264. package/es/schema-component/antd/association-field/components/CreateRecordAction.d.ts +1 -1
  265. package/es/schema-component/antd/association-field/components/CreateRecordAction.js +4 -2
  266. package/es/schema-component/antd/association-field/schema.d.ts +3 -15
  267. package/es/schema-component/antd/association-field/schema.js +4 -16
  268. package/es/schema-component/antd/association-filter/ActionBarAssociationFilterAction.d.ts +2 -1
  269. package/es/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.d.ts +2 -1
  270. package/es/schema-component/antd/association-filter/AssociationFilter.FilterBlockInitializer.d.ts +2 -1
  271. package/es/schema-component/antd/association-filter/AssociationFilter.Initializer.d.ts +2 -1
  272. package/es/schema-component/antd/association-filter/AssociationFilter.Item.Designer.d.ts +2 -1
  273. package/es/schema-component/antd/association-filter/AssociationFilter.Item.d.ts +2 -1
  274. package/es/schema-component/antd/association-filter/AssociationFilter.d.ts +7 -6
  275. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDelete.d.ts +2 -1
  276. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.d.ts +2 -1
  277. package/es/schema-component/antd/association-select/ReadPretty.d.ts +1 -1
  278. package/es/schema-component/antd/association-select/ReadPretty.js +2 -0
  279. package/es/schema-component/antd/block-item/BlockItem.js +6 -3
  280. package/es/schema-component/antd/block-item/TestDesigner.d.ts +2 -1
  281. package/es/schema-component/antd/calendar/Calendar.Designer.d.ts +2 -1
  282. package/es/schema-component/antd/calendar/Calendar.js +7 -5
  283. package/es/schema-component/antd/calendar/DeleteEvent.d.ts +1 -1
  284. package/es/schema-component/antd/calendar/DeleteEvent.js +3 -1
  285. package/es/schema-component/antd/calendar/Event.d.ts +1 -1
  286. package/es/schema-component/antd/calendar/Event.js +2 -0
  287. package/es/schema-component/antd/calendar/Nav.d.ts +1 -1
  288. package/es/schema-component/antd/calendar/Nav.js +5 -3
  289. package/es/schema-component/antd/calendar/Title.d.ts +1 -1
  290. package/es/schema-component/antd/calendar/Title.js +2 -0
  291. package/es/schema-component/antd/calendar/Today.d.ts +1 -1
  292. package/es/schema-component/antd/calendar/Today.js +4 -2
  293. package/es/schema-component/antd/calendar/ViewSelect.d.ts +1 -1
  294. package/es/schema-component/antd/calendar/ViewSelect.js +3 -0
  295. package/es/schema-component/antd/calendar/components/Header.d.ts +2 -1
  296. package/es/schema-component/antd/card-item/CardItem.js +1 -1
  297. package/es/schema-component/antd/cascader/Cascader.js +8 -1
  298. package/es/schema-component/antd/checkbox/Checkbox.d.ts +2 -1
  299. package/es/schema-component/antd/checkbox/Checkbox.js +14 -12
  300. package/es/schema-component/antd/collection-select/CollectionSelect.js +2 -0
  301. package/es/schema-component/antd/cron/Cron.d.ts +2 -1
  302. package/es/schema-component/antd/cron/Cron.js +3 -2
  303. package/es/schema-component/antd/date-picker/DatePicker.d.ts +4 -2
  304. package/es/schema-component/antd/date-picker/DatePicker.js +2 -1
  305. package/es/schema-component/antd/date-picker/ReadPretty.d.ts +1 -1
  306. package/es/schema-component/antd/date-picker/ReadPretty.js +1 -1
  307. package/es/schema-component/antd/error-fallback/ErrorFallback.d.ts +2 -1
  308. package/es/schema-component/antd/expand-action/Expand.Action.Design.d.ts +2 -1
  309. package/es/schema-component/antd/expand-action/Expand.Action.Design.js +2 -2
  310. package/es/schema-component/antd/expand-action/Expand.Action.d.ts +2 -1
  311. package/es/schema-component/antd/expand-action/Expand.Action.js +3 -6
  312. package/es/schema-component/antd/filter/DynamicComponent.d.ts +2 -1
  313. package/es/schema-component/antd/filter/Filter.Action.Designer.d.ts +2 -1
  314. package/es/schema-component/antd/filter/Filter.js +3 -1
  315. package/es/schema-component/antd/filter/FilterAction.d.ts +1 -1
  316. package/es/schema-component/antd/filter/FilterAction.js +3 -1
  317. package/es/schema-component/antd/filter/FilterItem.d.ts +1 -1
  318. package/es/schema-component/antd/filter/FilterItem.js +46 -41
  319. package/es/schema-component/antd/filter/FilterItems.d.ts +1 -1
  320. package/es/schema-component/antd/filter/FilterItems.js +2 -0
  321. package/es/schema-component/antd/filter/SaveDefaultValue.d.ts +2 -1
  322. package/es/schema-component/antd/filter/index.d.ts +1 -0
  323. package/es/schema-component/antd/filter/index.js +1 -0
  324. package/es/schema-component/antd/filter/useValues.js +3 -3
  325. package/es/schema-component/antd/form/Form.Designer.d.ts +2 -1
  326. package/es/schema-component/antd/form/Form.d.ts +1 -1
  327. package/es/schema-component/antd/form/Form.js +2 -0
  328. package/es/schema-component/antd/form-item/FormItem.FilterFormDesigner.d.ts +2 -1
  329. package/es/schema-component/antd/form-item/FormItem.js +93 -38
  330. package/es/schema-component/antd/form-item/SchemaSettingOptions.d.ts +11 -10
  331. package/es/schema-component/antd/form-item/SchemaSettingOptions.js +1 -1
  332. package/es/schema-component/antd/form-v2/Form.Designer.d.ts +4 -3
  333. package/es/schema-component/antd/form-v2/Form.FilterDesigner.d.ts +2 -1
  334. package/es/schema-component/antd/form-v2/Form.js +9 -2
  335. package/es/schema-component/antd/form-v2/FormField.js +2 -0
  336. package/es/schema-component/antd/form-v2/Templates.d.ts +7 -1
  337. package/es/schema-component/antd/form-v2/Templates.js +20 -4
  338. package/es/schema-component/antd/form-v2/index.js +2 -0
  339. package/es/schema-component/antd/g2plot/G2Plot.js +2 -0
  340. package/es/schema-component/antd/g2plot/G2PlotDesigner.d.ts +2 -1
  341. package/es/schema-component/antd/gantt/Gantt.Designer.d.ts +2 -1
  342. package/es/schema-component/antd/gantt/components/gantt/Event.d.ts +1 -1
  343. package/es/schema-component/antd/gantt/components/gantt/Event.js +2 -0
  344. package/es/schema-component/antd/gantt/components/gantt/gantt.js +2 -2
  345. package/es/schema-component/antd/grid/Block.d.ts +1 -1
  346. package/es/schema-component/antd/grid/Block.js +2 -0
  347. package/es/schema-component/antd/grid/Grid.js +25 -9
  348. package/es/schema-component/antd/grid-card/GridCard.Decorator.d.ts +1 -1
  349. package/es/schema-component/antd/grid-card/GridCard.Decorator.js +2 -12
  350. package/es/schema-component/antd/grid-card/GridCard.Designer.d.ts +2 -1
  351. package/es/schema-component/antd/grid-card/GridCard.Designer.js +4 -5
  352. package/es/schema-component/antd/grid-card/GridCard.Item.d.ts +2 -1
  353. package/es/schema-component/antd/grid-card/GridCard.d.ts +2 -1
  354. package/es/schema-component/antd/grid-card/GridCard.js +12 -8
  355. package/es/schema-component/antd/index.d.ts +1 -0
  356. package/es/schema-component/antd/index.js +1 -0
  357. package/es/schema-component/antd/index.less +18 -4
  358. package/es/schema-component/antd/input/Input.d.ts +2 -1
  359. package/es/schema-component/antd/input/Input.js +3 -2
  360. package/es/schema-component/antd/input/Json.d.ts +2 -2
  361. package/es/schema-component/antd/input/Json.js +43 -4
  362. package/es/schema-component/antd/input/ReadPretty.d.ts +1 -1
  363. package/es/schema-component/antd/input/ReadPretty.js +4 -4
  364. package/es/schema-component/antd/input-number/InputNumber.d.ts +5 -1
  365. package/es/schema-component/antd/input-number/InputNumber.js +2 -2
  366. package/es/schema-component/antd/input-number/ReadPretty.d.ts +2 -2
  367. package/es/schema-component/antd/input-number/ReadPretty.js +6 -2
  368. package/es/schema-component/antd/kanban/Kanban.Card.Designer.TitleSwitch.d.ts +2 -1
  369. package/es/schema-component/antd/kanban/Kanban.Card.Designer.d.ts +2 -1
  370. package/es/schema-component/antd/kanban/Kanban.Card.js +5 -3
  371. package/es/schema-component/antd/kanban/Kanban.CardViewer.js +2 -0
  372. package/es/schema-component/antd/kanban/Kanban.Designer.d.ts +2 -1
  373. package/es/schema-component/antd/kanban/Kanban.js +3 -1
  374. package/es/schema-component/antd/list/List.Decorator.d.ts +1 -1
  375. package/es/schema-component/antd/list/List.Decorator.js +7 -12
  376. package/es/schema-component/antd/list/List.Designer.d.ts +2 -1
  377. package/es/schema-component/antd/list/List.Item.d.ts +2 -1
  378. package/es/schema-component/antd/list/List.Item.js +1 -1
  379. package/es/schema-component/antd/list/List.d.ts +2 -1
  380. package/es/schema-component/antd/markdown/Markdown.Void.Designer.d.ts +2 -1
  381. package/es/schema-component/antd/markdown/Markdown.Void.js +2 -0
  382. package/es/schema-component/antd/markdown/Markdown.d.ts +2 -0
  383. package/es/schema-component/antd/markdown/Markdown.js +6 -2
  384. package/es/schema-component/antd/markdown/util.js +1 -1
  385. package/es/schema-component/antd/menu/Menu.Designer.d.ts +2 -1
  386. package/es/schema-component/antd/menu/Menu.js +336 -177
  387. package/es/schema-component/antd/menu/MenuItemInitializers/index.d.ts +2 -1
  388. package/es/schema-component/antd/page/FixedBlock.d.ts +2 -1
  389. package/es/schema-component/antd/page/FixedBlock.js +6 -2
  390. package/es/schema-component/antd/page/Page.d.ts +2 -1
  391. package/es/schema-component/antd/page/Page.js +53 -39
  392. package/es/schema-component/antd/page/PageTabDesigner.d.ts +3 -2
  393. package/es/schema-component/antd/pagination/index.d.ts +1 -1
  394. package/es/schema-component/antd/pagination/index.js +2 -0
  395. package/es/schema-component/antd/password/Password.d.ts +1 -1
  396. package/es/schema-component/antd/password/PasswordStrength.js +1 -144
  397. package/es/schema-component/antd/password/utils.d.ts +1 -0
  398. package/es/schema-component/antd/password/utils.js +144 -0
  399. package/es/schema-component/antd/percent/Percent.js +1 -1
  400. package/es/schema-component/antd/preview/Preview.d.ts +1 -1
  401. package/es/schema-component/antd/quick-edit/QuickEdit.d.ts +3 -0
  402. package/es/schema-component/antd/quick-edit/QuickEdit.js +88 -0
  403. package/es/schema-component/antd/quick-edit/index.d.ts +1 -0
  404. package/es/schema-component/antd/quick-edit/index.js +1 -0
  405. package/es/schema-component/antd/radio/Radio.d.ts +1 -1
  406. package/es/schema-component/antd/record-picker/InputRecordPicker.d.ts +1 -1
  407. package/es/schema-component/antd/record-picker/InputRecordPicker.js +5 -7
  408. package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +10 -4
  409. package/es/schema-component/antd/remote-select/ReadPretty.d.ts +1 -1
  410. package/es/schema-component/antd/remote-select/ReadPretty.js +2 -0
  411. package/es/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  412. package/es/schema-component/antd/remote-select/RemoteSelect.js +111 -33
  413. package/es/schema-component/antd/remote-select/utils.d.ts +4 -0
  414. package/es/schema-component/antd/remote-select/utils.js +31 -0
  415. package/es/schema-component/antd/select/ReadPretty.d.ts +1 -1
  416. package/es/schema-component/antd/select/ReadPretty.js +6 -6
  417. package/es/schema-component/antd/select/Select.d.ts +3 -0
  418. package/es/schema-component/antd/select/Select.js +22 -11
  419. package/es/schema-component/antd/select/index.d.ts +1 -1
  420. package/es/schema-component/antd/select/index.js +1 -1
  421. package/es/schema-component/antd/select/utils.d.ts +14 -0
  422. package/es/schema-component/antd/select/{shared.js → utils.js} +20 -18
  423. package/es/schema-component/antd/table/Table.Array.Designer.d.ts +2 -1
  424. package/es/schema-component/antd/table/Table.Array.d.ts +5 -5
  425. package/es/schema-component/antd/table/Table.Array.js +7 -5
  426. package/es/schema-component/antd/table/Table.Column.ActionBar.d.ts +1 -1
  427. package/es/schema-component/antd/table/Table.Column.ActionBar.js +2 -0
  428. package/es/schema-component/antd/table/Table.Column.Decorator.d.ts +2 -1
  429. package/es/schema-component/antd/table/Table.Column.Designer.d.ts +2 -1
  430. package/es/schema-component/antd/table/Table.Column.d.ts +2 -1
  431. package/es/schema-component/antd/table/Table.Designer.d.ts +2 -1
  432. package/es/schema-component/antd/table/Table.RowActionDesigner.d.ts +2 -1
  433. package/es/schema-component/antd/table/Table.RowSelection.d.ts +1 -1
  434. package/es/schema-component/antd/table/Table.RowSelection.js +2 -0
  435. package/es/schema-component/antd/table/Table.Void.Designer.d.ts +2 -1
  436. package/es/schema-component/antd/table/Table.Void.d.ts +1 -1
  437. package/es/schema-component/antd/table/Table.Void.js +2 -0
  438. package/es/schema-component/antd/table-v2/FilterDynamicComponent.d.ts +2 -2
  439. package/es/schema-component/antd/table-v2/FilterDynamicComponent.js +17 -2
  440. package/es/schema-component/antd/table-v2/Table.ActionColumnDesigner.d.ts +2 -1
  441. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.d.ts +1 -1
  442. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.js +2 -0
  443. package/es/schema-component/antd/table-v2/Table.Column.Decorator.d.ts +2 -1
  444. package/es/schema-component/antd/table-v2/Table.Column.Designer.d.ts +2 -1
  445. package/es/schema-component/antd/table-v2/Table.Column.Designer.js +148 -11
  446. package/es/schema-component/antd/table-v2/Table.Column.d.ts +2 -1
  447. package/es/schema-component/antd/table-v2/Table.Designer.d.ts +2 -1
  448. package/es/schema-component/antd/table-v2/Table.Index.d.ts +2 -1
  449. package/es/schema-component/antd/table-v2/Table.js +63 -30
  450. package/es/schema-component/antd/table-v2/TableBlockDesigner.d.ts +2 -1
  451. package/es/schema-component/antd/table-v2/TableBlockDesigner.js +53 -47
  452. package/es/schema-component/antd/table-v2/TableField.js +4 -0
  453. package/es/schema-component/antd/table-v2/TableSelectorDesigner.d.ts +2 -1
  454. package/es/schema-component/antd/table-v2/index.d.ts +1 -0
  455. package/es/schema-component/antd/table-v2/index.js +1 -0
  456. package/es/schema-component/antd/table-v2/utils.js +1 -1
  457. package/es/schema-component/antd/tabs/Tabs.Designer.d.ts +2 -1
  458. package/es/schema-component/antd/tabs/Tabs.js +49 -18
  459. package/es/schema-component/antd/tabs/context.d.ts +8 -0
  460. package/es/schema-component/antd/tabs/context.js +15 -0
  461. package/es/schema-component/antd/tabs/index.d.ts +1 -0
  462. package/es/schema-component/antd/tabs/index.js +2 -1
  463. package/es/schema-component/antd/time-picker/ReadPretty.d.ts +1 -1
  464. package/es/schema-component/antd/time-picker/ReadPretty.js +1 -1
  465. package/es/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
  466. package/es/schema-component/antd/time-picker/TimePicker.js +1 -1
  467. package/es/schema-component/antd/tree-select/ReadPretty.d.ts +1 -1
  468. package/es/schema-component/antd/tree-select/ReadPretty.js +3 -1
  469. package/es/schema-component/antd/upload/ReadPretty.js +7 -3
  470. package/es/schema-component/antd/upload/Upload.js +1 -1
  471. package/es/schema-component/antd/upload/shared.d.ts +3 -3
  472. package/es/schema-component/antd/upload/style.less +1 -2
  473. package/es/schema-component/antd/upload/type.d.ts +2 -2
  474. package/es/schema-component/antd/variable/Input.d.ts +2 -2
  475. package/es/schema-component/antd/variable/Input.js +182 -31
  476. package/es/schema-component/antd/variable/JSONInput.d.ts +2 -2
  477. package/es/schema-component/antd/variable/JSONInput.js +2 -23
  478. package/es/schema-component/antd/variable/TextArea.d.ts +2 -2
  479. package/es/schema-component/antd/variable/VariableSelect.d.ts +2 -2
  480. package/es/schema-component/antd/variable/VariableSelect.js +1 -1
  481. package/es/schema-component/common/dnd-context/index.d.ts +1 -1
  482. package/es/schema-component/common/dnd-context/index.js +11 -4
  483. package/es/schema-component/common/sortable-item/SortableItem.d.ts +11 -4
  484. package/es/schema-component/common/sortable-item/SortableItem.js +16 -5
  485. package/es/schema-component/common/utils/logic.js +64 -2
  486. package/es/schema-component/common/utils/uitls.d.ts +1 -0
  487. package/es/schema-component/common/utils/uitls.js +49 -15
  488. package/es/schema-component/core/DesignableSwitch.d.ts +2 -1
  489. package/es/schema-component/core/SchemaComponent.d.ts +2 -1
  490. package/es/schema-component/core/SchemaComponentOptions.js +13 -8
  491. package/es/schema-component/core/SchemaComponentProvider.js +17 -6
  492. package/es/schema-component/hooks/useCompile.js +33 -5
  493. package/es/schema-component/hooks/useDesignable.d.ts +5 -4
  494. package/es/schema-component/hooks/useDesignable.js +30 -28
  495. package/es/schema-component/hooks/useFieldModeOptions.js +45 -21
  496. package/es/schema-component/hooks/useProps.d.ts +1 -10
  497. package/es/schema-component/hooks/useProps.js +20 -6
  498. package/es/schema-initializer/SchemaInitializer.d.ts +18 -4
  499. package/es/schema-initializer/SchemaInitializer.js +278 -99
  500. package/es/schema-initializer/SchemaInitializerProvider.d.ts +3 -3
  501. package/es/schema-initializer/SelectCollection.d.ts +3 -3
  502. package/es/schema-initializer/SelectCollection.js +19 -16
  503. package/es/schema-initializer/buttons/BlockInitializers.d.ts +2 -0
  504. package/es/schema-initializer/buttons/BulkEditFormItemInitializers.d.ts +2 -1
  505. package/es/schema-initializer/buttons/CreateFormBlockInitializers.d.ts +2 -1
  506. package/es/schema-initializer/buttons/CreateFormBulkEditBlockInitializers.d.ts +2 -1
  507. package/es/schema-initializer/buttons/CustomFormItemInitializers.d.ts +2 -1
  508. package/es/schema-initializer/buttons/DetailsActionInitializers.d.ts +14 -0
  509. package/es/schema-initializer/buttons/DetailsActionInitializers.js +12 -0
  510. package/es/schema-initializer/buttons/FormItemInitializers.d.ts +3 -2
  511. package/es/schema-initializer/buttons/ReadPrettyFormActionInitializers.d.ts +16 -0
  512. package/es/schema-initializer/buttons/ReadPrettyFormActionInitializers.js +21 -16
  513. package/es/schema-initializer/buttons/ReadPrettyFormItemInitializers.d.ts +2 -1
  514. package/es/schema-initializer/buttons/RecordBlockInitializers.d.ts +2 -1
  515. package/es/schema-initializer/buttons/RecordFormBlockInitializers.d.ts +2 -1
  516. package/es/schema-initializer/buttons/TabPaneInitializers.d.ts +4 -3
  517. package/es/schema-initializer/buttons/TabPaneInitializers.js +3 -3
  518. package/es/schema-initializer/buttons/TableActionColumnInitializers.d.ts +3 -2
  519. package/es/schema-initializer/buttons/TableActionColumnInitializers.js +13 -4
  520. package/es/schema-initializer/buttons/TableActionInitializers.js +5 -5
  521. package/es/schema-initializer/buttons/TableColumnInitializers.d.ts +2 -1
  522. package/es/schema-initializer/buttons/TableColumnInitializers.js +17 -9
  523. package/es/schema-initializer/buttons/TableSelectorInitializers.d.ts +2 -1
  524. package/es/schema-initializer/components/BulkEditField.d.ts +2 -1
  525. package/es/schema-initializer/components/CreateRecordAction.d.ts +2 -2
  526. package/es/schema-initializer/components/CreateRecordAction.js +43 -29
  527. package/es/schema-initializer/components/DeletedField.d.ts +2 -1
  528. package/es/schema-initializer/components/DuplicateAction.d.ts +3 -0
  529. package/es/schema-initializer/components/DuplicateAction.js +165 -0
  530. package/es/schema-initializer/components/assigned-field/AssignedField.d.ts +2 -1
  531. package/es/schema-initializer/components/assigned-field/AssignedField.js +3 -2
  532. package/es/schema-initializer/components/index.d.ts +1 -0
  533. package/es/schema-initializer/components/index.js +2 -1
  534. package/es/schema-initializer/index.d.ts +1 -1
  535. package/es/schema-initializer/index.js +1 -1
  536. package/es/schema-initializer/items/ActionInitializer.d.ts +2 -1
  537. package/es/schema-initializer/items/BlockInitializer.d.ts +2 -1
  538. package/es/schema-initializer/items/BulkDestroyActionInitializer.d.ts +2 -1
  539. package/es/schema-initializer/items/BulkEditSubmitActionInitializer.d.ts +2 -1
  540. package/es/schema-initializer/items/CalendarBlockInitializer.d.ts +2 -1
  541. package/es/schema-initializer/items/CalendarBlockInitializer.js +2 -2
  542. package/es/schema-initializer/items/CollectionFieldInitializer.d.ts +2 -1
  543. package/es/schema-initializer/items/CreateActionInitializer.d.ts +2 -1
  544. package/es/schema-initializer/items/CreateChildInitializer.d.ts +2 -1
  545. package/es/schema-initializer/items/CreateFilterActionInitializer.d.ts +2 -1
  546. package/es/schema-initializer/items/CreateFormBlockInitializer.d.ts +2 -1
  547. package/es/schema-initializer/items/CreateFormBulkEditBlockInitializer.d.ts +2 -1
  548. package/es/schema-initializer/items/CreateResetActionInitializer.d.ts +2 -1
  549. package/es/schema-initializer/items/CreateSubmitActionInitializer.d.ts +2 -1
  550. package/es/schema-initializer/items/CustomizeActionInitializer.d.ts +2 -1
  551. package/es/schema-initializer/items/CustomizeBulkEditActionInitializer.d.ts +2 -1
  552. package/es/schema-initializer/items/DataBlockInitializer.d.ts +2 -1
  553. package/es/schema-initializer/items/DeleteEventActionInitializer.d.ts +2 -1
  554. package/es/schema-initializer/items/DestroyActionInitializer.d.ts +2 -1
  555. package/es/schema-initializer/items/DetailsBlockInitializer.d.ts +2 -1
  556. package/es/schema-initializer/items/DuplicateActionInitializer.d.ts +2 -0
  557. package/es/schema-initializer/items/DuplicateActionInitializer.js +61 -0
  558. package/es/schema-initializer/items/ExpandActionInitializer.d.ts +2 -1
  559. package/es/schema-initializer/items/ExpandActionInitializer.js +3 -3
  560. package/es/schema-initializer/items/FilterActionInitializer.d.ts +2 -1
  561. package/es/schema-initializer/items/FilterBlockInitializer.d.ts +2 -1
  562. package/es/schema-initializer/items/FilterCollapseBlockInitializer.d.ts +2 -1
  563. package/es/schema-initializer/items/FilterFormBlockInitializer.d.ts +2 -1
  564. package/es/schema-initializer/items/FormBlockInitializer.d.ts +2 -1
  565. package/es/schema-initializer/items/G2PlotInitializer.d.ts +2 -1
  566. package/es/schema-initializer/items/GanttBlockInitializer.d.ts +2 -1
  567. package/es/schema-initializer/items/GridCardBlockInitializer.d.ts +2 -1
  568. package/es/schema-initializer/items/InitializerWithSwitch.d.ts +2 -1
  569. package/es/schema-initializer/items/KanbanBlockInitializer.d.ts +2 -1
  570. package/es/schema-initializer/items/ListBlockInitializer.d.ts +2 -1
  571. package/es/schema-initializer/items/MarkdownBlockInitializer.d.ts +2 -1
  572. package/es/schema-initializer/items/PrintActionInitializer.d.ts +2 -1
  573. package/es/schema-initializer/items/RecordAssociationBlockInitializer.d.ts +2 -1
  574. package/es/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +2 -1
  575. package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.d.ts +2 -1
  576. package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.d.ts +2 -1
  577. package/es/schema-initializer/items/RecordFormBlockInitializer.d.ts +2 -1
  578. package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.d.ts +2 -1
  579. package/es/schema-initializer/items/RecordReadPrettyFormBlockInitializer.d.ts +2 -1
  580. package/es/schema-initializer/items/RefreshActionInitializer.d.ts +2 -1
  581. package/es/schema-initializer/items/SelectActionInitializer.d.ts +2 -1
  582. package/es/schema-initializer/items/SubmitActionInitializer.d.ts +2 -1
  583. package/es/schema-initializer/items/TableActionColumnInitializer.d.ts +2 -1
  584. package/es/schema-initializer/items/TableBlockInitializer.d.ts +2 -1
  585. package/es/schema-initializer/items/TableCollectionFieldInitializer.d.ts +2 -1
  586. package/es/schema-initializer/items/TableSelectorInitializer.d.ts +2 -1
  587. package/es/schema-initializer/items/UpdateActionInitializer.d.ts +2 -1
  588. package/es/schema-initializer/items/UpdateSubmitActionInitializer.d.ts +2 -1
  589. package/es/schema-initializer/items/ViewActionInitializer.d.ts +2 -1
  590. package/es/schema-initializer/items/index.d.ts +1 -0
  591. package/es/schema-initializer/items/index.js +1 -0
  592. package/es/schema-initializer/utils.d.ts +13 -1
  593. package/es/schema-initializer/utils.js +110 -68
  594. package/es/schema-items/GeneralSchemaItems.js +5 -3
  595. package/es/schema-items/OpenModeSchemaItems.js +14 -10
  596. package/es/schema-settings/DataTemplates/FormDataTemplates.d.ts +1 -1
  597. package/es/schema-settings/DataTemplates/FormDataTemplates.js +8 -6
  598. package/es/schema-settings/DataTemplates/TreeLabel.d.ts +2 -1
  599. package/es/schema-settings/DataTemplates/components/DataTemplateTitle.js +2 -0
  600. package/es/schema-settings/DataTemplates/components/Designer.d.ts +1 -1
  601. package/es/schema-settings/DataTemplates/components/Designer.js +2 -0
  602. package/es/schema-settings/DataTemplates/hooks/useCollectionState.d.ts +3 -3
  603. package/es/schema-settings/DataTemplates/hooks/useCollectionState.js +38 -57
  604. package/es/schema-settings/EnableChildCollections/index.d.ts +1 -1
  605. package/es/schema-settings/EnableChildCollections/index.js +2 -0
  606. package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  607. package/es/schema-settings/GeneralSchemaDesigner.js +3 -2
  608. package/es/schema-settings/LinkageRules/DynamicComponent.d.ts +2 -1
  609. package/es/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +1 -1
  610. package/es/schema-settings/LinkageRules/LinkageRuleAction.d.ts +2 -2
  611. package/es/schema-settings/LinkageRules/LinkageRuleAction.js +14 -10
  612. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +2 -2
  613. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.js +2 -0
  614. package/es/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +2 -1
  615. package/es/schema-settings/LinkageRules/components/LinkageHeader.js +2 -0
  616. package/es/schema-settings/LinkageRules/index.d.ts +1 -1
  617. package/es/schema-settings/LinkageRules/index.js +3 -1
  618. package/es/schema-settings/SchemaSettings.d.ts +2 -1
  619. package/es/schema-settings/SchemaSettings.js +150 -62
  620. package/es/schema-settings/VariableInput/VariableInput.d.ts +1 -1
  621. package/es/schema-settings/VariableInput/VariableInput.js +1 -1
  622. package/es/schema-settings/VariableInput/hooks/useDateVariable.d.ts +12 -1
  623. package/es/schema-settings/VariableInput/hooks/useDateVariable.js +41 -36
  624. package/es/schema-settings/VariableInput/hooks/useFormVariable.d.ts +19 -0
  625. package/es/schema-settings/VariableInput/hooks/useFormVariable.js +89 -0
  626. package/es/schema-settings/VariableInput/hooks/useIterationVariable.d.ts +8 -0
  627. package/es/schema-settings/VariableInput/hooks/useIterationVariable.js +77 -0
  628. package/es/schema-settings/VariableInput/hooks/useUserVariable.d.ts +4 -4
  629. package/es/schema-settings/VariableInput/hooks/useUserVariable.js +66 -42
  630. package/es/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +5 -1
  631. package/es/schema-settings/VariableInput/hooks/useVariableOptions.js +23 -3
  632. package/es/schema-settings/VariableInput/type.d.ts +28 -0
  633. package/es/schema-settings/VariableInput/type.js +1 -0
  634. package/es/schema-settings/hooks/useIsShowMultipleSwitch.js +3 -2
  635. package/es/schema-templates/BlockTemplate.d.ts +1 -1
  636. package/es/schema-templates/BlockTemplate.js +4 -1
  637. package/es/schema-templates/BlockTemplateDetails.d.ts +2 -1
  638. package/es/schema-templates/BlockTemplateDetails.js +11 -7
  639. package/es/schema-templates/BlockTemplatePage.d.ts +3 -2
  640. package/es/schema-templates/BlockTemplatePage.js +4 -1
  641. package/es/schema-templates/SchemaTemplateManagerProvider.d.ts +5 -2
  642. package/es/schema-templates/SchemaTemplateManagerProvider.js +7 -0
  643. package/es/schema-templates/index.d.ts +0 -1
  644. package/es/schema-templates/index.js +1 -2
  645. package/es/system-settings/SystemSettingsProvider.d.ts +5 -3
  646. package/es/system-settings/SystemSettingsShortcut.d.ts +2 -3
  647. package/es/system-settings/SystemSettingsShortcut.js +33 -81
  648. package/es/test/collections.d.ts +1487 -0
  649. package/es/test/collections.js +1437 -0
  650. package/es/test/index.d.ts +3 -0
  651. package/es/test/index.js +3 -0
  652. package/es/test/mainCollections.d.ts +11359 -0
  653. package/es/test/mainCollections.js +3 -0
  654. package/es/test/mockAPIClient.d.ts +6 -0
  655. package/es/test/mockAPIClient.js +10 -0
  656. package/es/user/ChangePassword.d.ts +1 -1
  657. package/es/user/ChangePassword.js +30 -26
  658. package/es/user/CurrentUser.d.ts +7 -1
  659. package/es/user/CurrentUser.js +126 -88
  660. package/es/user/CurrentUserProvider.d.ts +1 -1
  661. package/es/user/CurrentUserProvider.js +4 -3
  662. package/es/user/EditProfile.d.ts +1 -1
  663. package/es/user/EditProfile.js +31 -25
  664. package/es/user/LanguageSettings.d.ts +1 -1
  665. package/es/user/LanguageSettings.js +67 -64
  666. package/es/user/SigninPage.d.ts +2 -1
  667. package/es/user/SigninPage.js +40 -29
  668. package/es/user/SigninPageExtension.d.ts +1 -1
  669. package/es/user/SignupPage.d.ts +2 -1
  670. package/es/user/SignupPage.js +5 -4
  671. package/es/user/SwitchRole.d.ts +1 -1
  672. package/es/user/SwitchRole.js +54 -51
  673. package/es/user/ThemeSettings.d.ts +1 -1
  674. package/es/user/ThemeSettings.js +56 -52
  675. package/es/user/VerificationCode.d.ts +2 -2
  676. package/es/user/index.d.ts +0 -3
  677. package/es/user/index.js +3 -3
  678. package/lib/acl/ACLProvider.d.ts +6 -7
  679. package/lib/acl/ACLProvider.js +6 -23
  680. package/lib/acl/ACLShortcut.d.ts +2 -3
  681. package/lib/acl/ACLShortcut.js +4 -64
  682. package/lib/acl/Configuration/ConfigureCenter.d.ts +3 -2
  683. package/lib/acl/Configuration/ConfigureCenter.js +8 -25
  684. package/lib/acl/Configuration/FilterDynamicComponent.d.ts +2 -2
  685. package/lib/acl/Configuration/MenuConfigure.d.ts +2 -1
  686. package/lib/acl/Configuration/MenuItemsProvider.d.ts +2 -1
  687. package/lib/acl/Configuration/MenuItemsProvider.js +3 -3
  688. package/lib/acl/Configuration/PermisionProvider.d.ts +2 -2
  689. package/lib/acl/Configuration/RoleConfigure.d.ts +2 -1
  690. package/lib/acl/Configuration/RoleTable.d.ts +2 -1
  691. package/lib/acl/Configuration/ScopeSelect.d.ts +2 -1
  692. package/lib/acl/Configuration/schemas/scopes.d.ts +1 -0
  693. package/lib/antd-config-provider/index.d.ts +1 -1
  694. package/lib/api-client/APIClient.d.ts +1 -1
  695. package/lib/api-client/APIClientProvider.d.ts +2 -1
  696. package/lib/api-client/hooks/assign.d.ts +0 -1
  697. package/lib/api-client/hooks/assign.js +3 -10
  698. package/lib/api-client/hooks/useRequest.d.ts +1 -1
  699. package/lib/api-client/hooks/useRequest.js +1 -1
  700. package/lib/appInfo/CurrentAppInfoProvider.d.ts +1 -1
  701. package/lib/application/Application.d.ts +2 -1
  702. package/lib/application/Application.js +7 -6
  703. package/lib/application/compose.d.ts +2 -1
  704. package/lib/application-v2/Application.d.ts +31 -0
  705. package/lib/application-v2/Application.js +147 -0
  706. package/lib/application-v2/Plugin.d.ts +14 -0
  707. package/lib/application-v2/Plugin.js +99 -0
  708. package/lib/application-v2/PluginManager.d.ts +19 -0
  709. package/lib/application-v2/PluginManager.js +249 -0
  710. package/lib/application-v2/Router.d.ts +13 -0
  711. package/lib/application-v2/Router.js +111 -0
  712. package/lib/application-v2/components/AppComponent.d.ts +2 -0
  713. package/lib/application-v2/components/AppComponent.js +28 -0
  714. package/lib/application-v2/components/MainComponent.d.ts +6 -0
  715. package/lib/application-v2/components/MainComponent.js +23 -0
  716. package/lib/application-v2/components/RouterProvider.d.ts +14 -0
  717. package/lib/application-v2/components/RouterProvider.js +115 -0
  718. package/lib/application-v2/components/index.d.ts +13 -0
  719. package/lib/application-v2/components/index.js +56 -0
  720. package/lib/application-v2/compose.d.ts +2 -0
  721. package/lib/application-v2/compose.js +49 -0
  722. package/lib/application-v2/context.d.ts +3 -0
  723. package/lib/application-v2/context.js +9 -0
  724. package/lib/application-v2/hooks/index.d.ts +3 -0
  725. package/lib/application-v2/hooks/index.js +38 -0
  726. package/lib/application-v2/hooks/useApp.d.ts +1 -0
  727. package/lib/application-v2/hooks/useApp.js +12 -0
  728. package/lib/application-v2/hooks/useLoad.d.ts +1 -0
  729. package/lib/application-v2/hooks/useLoad.js +45 -0
  730. package/lib/application-v2/hooks/useRouter.d.ts +1 -0
  731. package/lib/application-v2/hooks/useRouter.js +12 -0
  732. package/lib/application-v2/index.d.ts +3 -0
  733. package/lib/application-v2/index.js +38 -0
  734. package/lib/application-v2/types.d.ts +26 -0
  735. package/lib/application-v2/types.js +5 -0
  736. package/lib/async-data-provider/index.d.ts +1 -1
  737. package/lib/auth/OptionsComponent.d.ts +7 -0
  738. package/lib/auth/OptionsComponent.js +32 -0
  739. package/lib/auth/SigninPage.d.ts +23 -0
  740. package/lib/{settings-form/SettingsForm.js → auth/SigninPage.js} +121 -277
  741. package/lib/auth/SigninPageExtension.d.ts +22 -0
  742. package/lib/auth/SigninPageExtension.js +42 -0
  743. package/lib/auth/SignupPage.d.ts +24 -0
  744. package/lib/auth/SignupPage.js +94 -0
  745. package/lib/auth/index.d.ts +4 -0
  746. package/lib/auth/index.js +49 -0
  747. package/lib/block-provider/BlockProvider.d.ts +4 -3
  748. package/lib/block-provider/BlockProvider.js +23 -5
  749. package/lib/block-provider/CalendarBlockProvider.d.ts +1 -1
  750. package/lib/block-provider/DetailsBlockProvider.d.ts +1 -1
  751. package/lib/block-provider/DetailsBlockProvider.js +1 -13
  752. package/lib/block-provider/FilterFormBlockProvider.d.ts +2 -1
  753. package/lib/block-provider/FormBlockProvider.d.ts +1 -1
  754. package/lib/block-provider/FormBlockProvider.js +10 -21
  755. package/lib/block-provider/FormFieldProvider.d.ts +1 -1
  756. package/lib/block-provider/GanttBlockProvider.d.ts +1 -1
  757. package/lib/block-provider/KanbanBlockProvider.d.ts +1 -1
  758. package/lib/block-provider/TableBlockProvider.d.ts +1 -2
  759. package/lib/block-provider/TableBlockProvider.js +57 -84
  760. package/lib/block-provider/TableFieldProvider.d.ts +1 -1
  761. package/lib/block-provider/TableSelectorProvider.d.ts +2 -2
  762. package/lib/block-provider/hooks/index.d.ts +10 -1
  763. package/lib/block-provider/hooks/index.js +50 -134
  764. package/lib/block-provider/index.d.ts +1 -0
  765. package/lib/block-provider/index.js +11 -0
  766. package/lib/board/Card.d.ts +2 -2
  767. package/lib/board/CardAdder.d.ts +2 -2
  768. package/lib/board/CardForm.d.ts +2 -2
  769. package/lib/board/Column.d.ts +3 -3
  770. package/lib/board/ColumnAdder.d.ts +2 -2
  771. package/lib/board/ColumnForm.d.ts +2 -2
  772. package/lib/board/DefaultCard.d.ts +2 -2
  773. package/lib/board/DefaultColumnHeader.d.ts +2 -2
  774. package/lib/board/Kanban.d.ts +2 -2
  775. package/lib/board/withDroppable.d.ts +2 -1
  776. package/lib/china-region/index.d.ts +2 -1
  777. package/lib/collection-manager/CollectionField.d.ts +1 -1
  778. package/lib/collection-manager/CollectionField.js +2 -1
  779. package/lib/collection-manager/CollectionManagerProvider.d.ts +2 -2
  780. package/lib/collection-manager/CollectionManagerShortcut.d.ts +2 -3
  781. package/lib/collection-manager/CollectionManagerShortcut.js +4 -63
  782. package/lib/collection-manager/Configuration/AddCategoryAction.d.ts +3 -2
  783. package/lib/collection-manager/Configuration/AddCategoryAction.js +1 -1
  784. package/lib/collection-manager/Configuration/AddCollectionAction.d.ts +3 -2
  785. package/lib/collection-manager/Configuration/AddCollectionAction.js +30 -24
  786. package/lib/collection-manager/Configuration/AddFieldAction.d.ts +3 -2
  787. package/lib/collection-manager/Configuration/AddFieldAction.js +43 -30
  788. package/lib/collection-manager/Configuration/AddSubFieldAction.d.ts +2 -1
  789. package/lib/collection-manager/Configuration/AddSubFieldAction.js +22 -17
  790. package/lib/collection-manager/Configuration/CollectionFields.d.ts +2 -1
  791. package/lib/collection-manager/Configuration/CollectionFieldsTable.d.ts +2 -2
  792. package/lib/collection-manager/Configuration/CollectionFieldsTable.js +3 -1
  793. package/lib/collection-manager/Configuration/CollectionFieldsTableArray.d.ts +2 -2
  794. package/lib/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -1
  795. package/lib/collection-manager/Configuration/ConfigurationTable.d.ts +2 -1
  796. package/lib/collection-manager/Configuration/ConfigurationTabs.d.ts +2 -1
  797. package/lib/collection-manager/Configuration/ConfigurationTabs.js +61 -49
  798. package/lib/collection-manager/Configuration/EditCategoryAction.d.ts +3 -2
  799. package/lib/collection-manager/Configuration/EditCategoryAction.js +1 -1
  800. package/lib/collection-manager/Configuration/EditCollectionAction.d.ts +3 -2
  801. package/lib/collection-manager/Configuration/EditCollectionAction.js +1 -1
  802. package/lib/collection-manager/Configuration/EditFieldAction.d.ts +3 -2
  803. package/lib/collection-manager/Configuration/EditFieldAction.js +1 -1
  804. package/lib/collection-manager/Configuration/EditSubFieldAction.d.ts +2 -1
  805. package/lib/collection-manager/Configuration/EditSubFieldAction.js +1 -1
  806. package/lib/collection-manager/Configuration/OverridingCollectionField.d.ts +3 -2
  807. package/lib/collection-manager/Configuration/OverridingCollectionField.js +1 -1
  808. package/lib/collection-manager/Configuration/SyncFieldsAction.d.ts +3 -2
  809. package/lib/collection-manager/Configuration/SyncFieldsAction.js +1 -1
  810. package/lib/collection-manager/Configuration/ViewInheritedField.d.ts +3 -2
  811. package/lib/collection-manager/Configuration/ViewInheritedField.js +1 -1
  812. package/lib/collection-manager/Configuration/components/CollectionCategory.d.ts +1 -1
  813. package/lib/collection-manager/Configuration/components/CollectionCategory.js +2 -0
  814. package/lib/collection-manager/Configuration/components/CollectionFieldInterface.d.ts +1 -1
  815. package/lib/collection-manager/Configuration/components/CollectionFieldInterface.js +2 -0
  816. package/lib/collection-manager/Configuration/components/CollectionTemplate.d.ts +1 -1
  817. package/lib/collection-manager/Configuration/components/CollectionTemplate.js +2 -0
  818. package/lib/collection-manager/Configuration/components/FieldSummary.d.ts +1 -1
  819. package/lib/collection-manager/Configuration/components/FieldSummary.js +4 -2
  820. package/lib/collection-manager/Configuration/components/TemplateSummay.d.ts +1 -1
  821. package/lib/collection-manager/Configuration/components/TemplateSummay.js +4 -2
  822. package/lib/collection-manager/Configuration/components/index.d.ts +6 -6
  823. package/lib/collection-manager/Configuration/components/index.js +12 -0
  824. package/lib/collection-manager/Configuration/interfaces.d.ts +1 -0
  825. package/lib/collection-manager/Configuration/templates.d.ts +1 -0
  826. package/lib/collection-manager/ResourceActionProvider.d.ts +1 -1
  827. package/lib/collection-manager/action-hooks.d.ts +1 -0
  828. package/lib/collection-manager/action-hooks.js +171 -92
  829. package/lib/collection-manager/hooks/useOptions.js +39 -36
  830. package/lib/collection-manager/index.d.ts +1 -1
  831. package/lib/collection-manager/index.js +7 -0
  832. package/lib/collection-manager/interfaces/components/index.d.ts +7 -6
  833. package/lib/collection-manager/interfaces/index.d.ts +0 -1
  834. package/lib/collection-manager/interfaces/index.js +0 -11
  835. package/lib/collection-manager/interfaces/integer.js +1 -1
  836. package/lib/collection-manager/interfaces/number.js +3 -3
  837. package/lib/collection-manager/interfaces/percent.js +3 -3
  838. package/lib/collection-manager/interfaces/properties/index.d.ts +0 -1
  839. package/lib/collection-manager/interfaces/properties/index.js +1 -42
  840. package/lib/collection-manager/interfaces/url.js +0 -5
  841. package/lib/collection-manager/sub-table.d.ts +2 -2
  842. package/lib/collection-manager/sub-table.js +4 -0
  843. package/lib/collection-manager/templates/components/PreviewFields.d.ts +1 -1
  844. package/lib/collection-manager/templates/components/PreviewFields.js +2 -1
  845. package/lib/collection-manager/templates/components/PreviewTable.d.ts +2 -1
  846. package/lib/collection-manager/types.d.ts +2 -0
  847. package/lib/filter-provider/FilterProvider.d.ts +5 -1
  848. package/lib/filter-provider/FilterProvider.js +9 -4
  849. package/lib/formula/Expression.d.ts +2 -1
  850. package/lib/formula/Expression.js +64 -44
  851. package/lib/formula/Result.d.ts +2 -1
  852. package/lib/formula/index.d.ts +2 -2
  853. package/lib/hooks/index.d.ts +2 -0
  854. package/lib/hooks/index.js +27 -0
  855. package/lib/hooks/useAdminSchemaUid.d.ts +1 -0
  856. package/lib/hooks/useAdminSchemaUid.js +13 -0
  857. package/lib/hooks/useMenuItem.d.ts +37 -0
  858. package/lib/hooks/useMenuItem.js +104 -0
  859. package/lib/hooks/useViewport.d.ts +1 -0
  860. package/lib/hooks/useViewport.js +47 -0
  861. package/lib/i18n/i18n.js +0 -1
  862. package/lib/icon/Icon.d.ts +2 -1
  863. package/lib/index.d.ts +3 -2
  864. package/lib/index.js +33 -22
  865. package/lib/locale/en_US.d.ts +19 -22
  866. package/lib/locale/en_US.js +22 -25
  867. package/lib/locale/es_ES.d.ts +4 -2
  868. package/lib/locale/es_ES.js +5 -3
  869. package/lib/locale/ja_JP.d.ts +19 -20
  870. package/lib/locale/ja_JP.js +20 -21
  871. package/lib/locale/pt_BR.d.ts +3 -1
  872. package/lib/locale/pt_BR.js +4 -2
  873. package/lib/locale/ru_RU.d.ts +3 -19
  874. package/lib/locale/ru_RU.js +4 -20
  875. package/lib/locale/tr_TR.d.ts +0 -17
  876. package/lib/locale/tr_TR.js +0 -17
  877. package/lib/locale/zh_CN.d.ts +28 -25
  878. package/lib/locale/zh_CN.js +29 -26
  879. package/lib/plugin-manager/PinnedPluginListProvider.d.ts +1 -1
  880. package/lib/plugin-manager/index.d.ts +1 -3
  881. package/lib/plugin-manager/index.js +4 -26
  882. package/lib/pm/Card.d.ts +8 -0
  883. package/lib/pm/Card.js +375 -0
  884. package/lib/pm/PluginManagerLink.d.ts +3 -2
  885. package/lib/pm/PluginManagerLink.js +19 -14
  886. package/lib/pm/index.d.ts +33 -3
  887. package/lib/pm/index.js +113 -278
  888. package/lib/powered-by/index.d.ts +2 -1
  889. package/lib/route-switch/RouteSwitch.d.ts +2 -2
  890. package/lib/route-switch/RouteSwitch.js +78 -45
  891. package/lib/route-switch/RouteSwitchProvider.d.ts +3 -3
  892. package/lib/route-switch/antd/admin-layout/index.d.ts +4 -2
  893. package/lib/route-switch/antd/admin-layout/index.js +59 -54
  894. package/lib/route-switch/antd/auth-layout/index.d.ts +2 -2
  895. package/lib/route-switch/antd/auth-layout/index.js +2 -1
  896. package/lib/route-switch/antd/route-schema-component/index.d.ts +2 -2
  897. package/lib/route-switch/antd/route-schema-component/index.js +2 -2
  898. package/lib/route-switch/context.d.ts +4 -0
  899. package/lib/route-switch/context.js +6 -2
  900. package/lib/route-switch/types.d.ts +2 -5
  901. package/lib/schema-component/antd/AntdSchemaComponentProvider.d.ts +2 -1
  902. package/lib/schema-component/antd/action/Action.Container.js +4 -0
  903. package/lib/schema-component/antd/action/Action.Designer.d.ts +2 -1
  904. package/lib/schema-component/antd/action/Action.Designer.js +201 -17
  905. package/lib/schema-component/antd/action/Action.Drawer.js +14 -12
  906. package/lib/schema-component/antd/action/Action.Link.js +3 -1
  907. package/lib/schema-component/antd/action/Action.Modal.js +13 -12
  908. package/lib/schema-component/antd/action/Action.Page.js +8 -2
  909. package/lib/schema-component/antd/action/Action.js +25 -17
  910. package/lib/schema-component/antd/action/ActionBar.d.ts +18 -2
  911. package/lib/schema-component/antd/action/ActionBar.js +50 -21
  912. package/lib/schema-component/antd/action/context.d.ts +8 -2
  913. package/lib/schema-component/antd/action/context.js +19 -3
  914. package/lib/schema-component/antd/action/hooks.d.ts +2 -0
  915. package/lib/schema-component/antd/association-field/AssociationFieldProvider.d.ts +1 -1
  916. package/lib/schema-component/antd/association-field/AssociationFieldProvider.js +56 -6
  917. package/lib/schema-component/antd/association-field/AssociationSelect.js +88 -9
  918. package/lib/schema-component/antd/association-field/Editable.d.ts +1 -1
  919. package/lib/schema-component/antd/association-field/Editable.js +12 -11
  920. package/lib/schema-component/antd/association-field/FileManager.d.ts +1 -1
  921. package/lib/schema-component/antd/association-field/FileManager.js +13 -3
  922. package/lib/schema-component/antd/association-field/InternalNester.d.ts +2 -1
  923. package/lib/schema-component/antd/association-field/InternalNester.js +11 -1
  924. package/lib/schema-component/antd/association-field/InternalPicker.d.ts +1 -1
  925. package/lib/schema-component/antd/association-field/InternalPicker.js +9 -3
  926. package/lib/schema-component/antd/association-field/InternalSubTable.d.ts +2 -1
  927. package/lib/schema-component/antd/association-field/InternalSubTable.js +32 -4
  928. package/lib/schema-component/antd/association-field/InternalViewer.js +9 -2
  929. package/lib/schema-component/antd/association-field/Nester.d.ts +2 -1
  930. package/lib/schema-component/antd/association-field/Nester.js +56 -12
  931. package/lib/schema-component/antd/association-field/ReadPretty.d.ts +1 -1
  932. package/lib/schema-component/antd/association-field/ReadPretty.js +4 -0
  933. package/lib/schema-component/antd/association-field/SubTable.js +53 -12
  934. package/lib/schema-component/antd/association-field/components/CreateRecordAction.d.ts +1 -1
  935. package/lib/schema-component/antd/association-field/components/CreateRecordAction.js +3 -1
  936. package/lib/schema-component/antd/association-field/schema.d.ts +3 -15
  937. package/lib/schema-component/antd/association-field/schema.js +4 -16
  938. package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.d.ts +2 -1
  939. package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.d.ts +2 -1
  940. package/lib/schema-component/antd/association-filter/AssociationFilter.FilterBlockInitializer.d.ts +2 -1
  941. package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.d.ts +2 -1
  942. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.d.ts +2 -1
  943. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.d.ts +2 -1
  944. package/lib/schema-component/antd/association-filter/AssociationFilter.d.ts +7 -6
  945. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.d.ts +2 -1
  946. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.d.ts +2 -1
  947. package/lib/schema-component/antd/association-select/ReadPretty.d.ts +1 -1
  948. package/lib/schema-component/antd/association-select/ReadPretty.js +2 -0
  949. package/lib/schema-component/antd/block-item/BlockItem.js +5 -2
  950. package/lib/schema-component/antd/block-item/TestDesigner.d.ts +2 -1
  951. package/lib/schema-component/antd/calendar/Calendar.Designer.d.ts +2 -1
  952. package/lib/schema-component/antd/calendar/Calendar.js +5 -3
  953. package/lib/schema-component/antd/calendar/DeleteEvent.d.ts +1 -1
  954. package/lib/schema-component/antd/calendar/DeleteEvent.js +3 -1
  955. package/lib/schema-component/antd/calendar/Event.d.ts +1 -1
  956. package/lib/schema-component/antd/calendar/Event.js +2 -0
  957. package/lib/schema-component/antd/calendar/Nav.d.ts +1 -1
  958. package/lib/schema-component/antd/calendar/Nav.js +5 -3
  959. package/lib/schema-component/antd/calendar/Title.d.ts +1 -1
  960. package/lib/schema-component/antd/calendar/Title.js +2 -0
  961. package/lib/schema-component/antd/calendar/Today.d.ts +1 -1
  962. package/lib/schema-component/antd/calendar/Today.js +4 -2
  963. package/lib/schema-component/antd/calendar/ViewSelect.d.ts +1 -1
  964. package/lib/schema-component/antd/calendar/ViewSelect.js +3 -0
  965. package/lib/schema-component/antd/calendar/components/Header.d.ts +2 -1
  966. package/lib/schema-component/antd/card-item/CardItem.js +1 -1
  967. package/lib/schema-component/antd/cascader/Cascader.js +8 -1
  968. package/lib/schema-component/antd/checkbox/Checkbox.d.ts +2 -1
  969. package/lib/schema-component/antd/checkbox/Checkbox.js +14 -12
  970. package/lib/schema-component/antd/collection-select/CollectionSelect.js +2 -0
  971. package/lib/schema-component/antd/cron/Cron.d.ts +2 -1
  972. package/lib/schema-component/antd/cron/Cron.js +3 -2
  973. package/lib/schema-component/antd/date-picker/DatePicker.d.ts +4 -2
  974. package/lib/schema-component/antd/date-picker/DatePicker.js +2 -1
  975. package/lib/schema-component/antd/date-picker/ReadPretty.d.ts +1 -1
  976. package/lib/schema-component/antd/date-picker/ReadPretty.js +1 -1
  977. package/lib/schema-component/antd/error-fallback/ErrorFallback.d.ts +2 -1
  978. package/lib/schema-component/antd/expand-action/Expand.Action.Design.d.ts +2 -1
  979. package/lib/schema-component/antd/expand-action/Expand.Action.Design.js +8 -8
  980. package/lib/schema-component/antd/expand-action/Expand.Action.d.ts +2 -1
  981. package/lib/schema-component/antd/expand-action/Expand.Action.js +9 -12
  982. package/lib/schema-component/antd/filter/DynamicComponent.d.ts +2 -1
  983. package/lib/schema-component/antd/filter/Filter.Action.Designer.d.ts +2 -1
  984. package/lib/schema-component/antd/filter/Filter.js +3 -1
  985. package/lib/schema-component/antd/filter/FilterAction.d.ts +1 -1
  986. package/lib/schema-component/antd/filter/FilterAction.js +3 -1
  987. package/lib/schema-component/antd/filter/FilterItem.d.ts +1 -1
  988. package/lib/schema-component/antd/filter/FilterItem.js +46 -41
  989. package/lib/schema-component/antd/filter/FilterItems.d.ts +1 -1
  990. package/lib/schema-component/antd/filter/FilterItems.js +2 -0
  991. package/lib/schema-component/antd/filter/SaveDefaultValue.d.ts +2 -1
  992. package/lib/schema-component/antd/filter/index.d.ts +1 -0
  993. package/lib/schema-component/antd/filter/index.js +11 -0
  994. package/lib/schema-component/antd/filter/useValues.js +5 -3
  995. package/lib/schema-component/antd/form/Form.Designer.d.ts +2 -1
  996. package/lib/schema-component/antd/form/Form.d.ts +1 -1
  997. package/lib/schema-component/antd/form/Form.js +2 -0
  998. package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.d.ts +2 -1
  999. package/lib/schema-component/antd/form-item/FormItem.js +95 -40
  1000. package/lib/schema-component/antd/form-item/SchemaSettingOptions.d.ts +11 -10
  1001. package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +1 -1
  1002. package/lib/schema-component/antd/form-v2/Form.Designer.d.ts +4 -3
  1003. package/lib/schema-component/antd/form-v2/Form.FilterDesigner.d.ts +2 -1
  1004. package/lib/schema-component/antd/form-v2/Form.js +8 -1
  1005. package/lib/schema-component/antd/form-v2/FormField.js +2 -0
  1006. package/lib/schema-component/antd/form-v2/Templates.d.ts +7 -1
  1007. package/lib/schema-component/antd/form-v2/Templates.js +20 -3
  1008. package/lib/schema-component/antd/form-v2/index.js +3 -1
  1009. package/lib/schema-component/antd/g2plot/G2Plot.js +2 -0
  1010. package/lib/schema-component/antd/g2plot/G2PlotDesigner.d.ts +2 -1
  1011. package/lib/schema-component/antd/gantt/Gantt.Designer.d.ts +2 -1
  1012. package/lib/schema-component/antd/gantt/components/gantt/Event.d.ts +1 -1
  1013. package/lib/schema-component/antd/gantt/components/gantt/Event.js +2 -0
  1014. package/lib/schema-component/antd/gantt/components/gantt/gantt.js +1 -1
  1015. package/lib/schema-component/antd/grid/Block.d.ts +1 -1
  1016. package/lib/schema-component/antd/grid/Block.js +2 -0
  1017. package/lib/schema-component/antd/grid/Grid.js +25 -9
  1018. package/lib/schema-component/antd/grid-card/GridCard.Decorator.d.ts +1 -1
  1019. package/lib/schema-component/antd/grid-card/GridCard.Decorator.js +2 -12
  1020. package/lib/schema-component/antd/grid-card/GridCard.Designer.d.ts +2 -1
  1021. package/lib/schema-component/antd/grid-card/GridCard.Designer.js +5 -6
  1022. package/lib/schema-component/antd/grid-card/GridCard.Item.d.ts +2 -1
  1023. package/lib/schema-component/antd/grid-card/GridCard.d.ts +2 -1
  1024. package/lib/schema-component/antd/grid-card/GridCard.js +11 -7
  1025. package/lib/schema-component/antd/index.d.ts +1 -0
  1026. package/lib/schema-component/antd/index.js +11 -0
  1027. package/lib/schema-component/antd/index.less +18 -4
  1028. package/lib/schema-component/antd/input/Input.d.ts +2 -1
  1029. package/lib/schema-component/antd/input/Input.js +3 -2
  1030. package/lib/schema-component/antd/input/Json.d.ts +2 -2
  1031. package/lib/schema-component/antd/input/Json.js +49 -9
  1032. package/lib/schema-component/antd/input/ReadPretty.d.ts +1 -1
  1033. package/lib/schema-component/antd/input/ReadPretty.js +4 -4
  1034. package/lib/schema-component/antd/input-number/InputNumber.d.ts +5 -1
  1035. package/lib/schema-component/antd/input-number/InputNumber.js +1 -1
  1036. package/lib/schema-component/antd/input-number/ReadPretty.d.ts +2 -2
  1037. package/lib/schema-component/antd/input-number/ReadPretty.js +6 -2
  1038. package/lib/schema-component/antd/kanban/Kanban.Card.Designer.TitleSwitch.d.ts +2 -1
  1039. package/lib/schema-component/antd/kanban/Kanban.Card.Designer.d.ts +2 -1
  1040. package/lib/schema-component/antd/kanban/Kanban.Card.js +4 -2
  1041. package/lib/schema-component/antd/kanban/Kanban.CardViewer.js +2 -0
  1042. package/lib/schema-component/antd/kanban/Kanban.Designer.d.ts +2 -1
  1043. package/lib/schema-component/antd/kanban/Kanban.js +3 -1
  1044. package/lib/schema-component/antd/list/List.Decorator.d.ts +1 -1
  1045. package/lib/schema-component/antd/list/List.Decorator.js +8 -13
  1046. package/lib/schema-component/antd/list/List.Designer.d.ts +2 -1
  1047. package/lib/schema-component/antd/list/List.Item.d.ts +2 -1
  1048. package/lib/schema-component/antd/list/List.Item.js +1 -1
  1049. package/lib/schema-component/antd/list/List.d.ts +2 -1
  1050. package/lib/schema-component/antd/markdown/Markdown.Void.Designer.d.ts +2 -1
  1051. package/lib/schema-component/antd/markdown/Markdown.Void.js +2 -0
  1052. package/lib/schema-component/antd/markdown/Markdown.d.ts +2 -0
  1053. package/lib/schema-component/antd/markdown/Markdown.js +9 -4
  1054. package/lib/schema-component/antd/markdown/util.js +1 -1
  1055. package/lib/schema-component/antd/menu/Menu.Designer.d.ts +2 -1
  1056. package/lib/schema-component/antd/menu/Menu.js +334 -175
  1057. package/lib/schema-component/antd/menu/MenuItemInitializers/index.d.ts +2 -1
  1058. package/lib/schema-component/antd/page/FixedBlock.d.ts +2 -1
  1059. package/lib/schema-component/antd/page/FixedBlock.js +6 -2
  1060. package/lib/schema-component/antd/page/Page.d.ts +2 -1
  1061. package/lib/schema-component/antd/page/Page.js +51 -37
  1062. package/lib/schema-component/antd/page/PageTabDesigner.d.ts +3 -2
  1063. package/lib/schema-component/antd/pagination/index.d.ts +1 -1
  1064. package/lib/schema-component/antd/pagination/index.js +2 -0
  1065. package/lib/schema-component/antd/password/Password.d.ts +1 -1
  1066. package/lib/schema-component/antd/password/PasswordStrength.js +2 -145
  1067. package/lib/schema-component/antd/password/utils.d.ts +1 -0
  1068. package/lib/schema-component/antd/password/utils.js +151 -0
  1069. package/lib/schema-component/antd/percent/Percent.js +2 -2
  1070. package/lib/schema-component/antd/preview/Preview.d.ts +1 -1
  1071. package/lib/schema-component/antd/quick-edit/QuickEdit.d.ts +3 -0
  1072. package/lib/schema-component/antd/quick-edit/QuickEdit.js +98 -0
  1073. package/lib/schema-component/antd/quick-edit/index.d.ts +1 -0
  1074. package/lib/{settings-form → schema-component/antd/quick-edit}/index.js +4 -4
  1075. package/lib/schema-component/antd/radio/Radio.d.ts +1 -1
  1076. package/lib/schema-component/antd/record-picker/InputRecordPicker.d.ts +1 -1
  1077. package/lib/schema-component/antd/record-picker/InputRecordPicker.js +4 -6
  1078. package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +9 -4
  1079. package/lib/schema-component/antd/remote-select/ReadPretty.d.ts +1 -1
  1080. package/lib/schema-component/antd/remote-select/ReadPretty.js +2 -0
  1081. package/lib/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  1082. package/lib/schema-component/antd/remote-select/RemoteSelect.js +108 -30
  1083. package/lib/schema-component/antd/remote-select/utils.d.ts +4 -0
  1084. package/lib/schema-component/antd/remote-select/utils.js +41 -0
  1085. package/lib/schema-component/antd/select/ReadPretty.d.ts +1 -1
  1086. package/lib/schema-component/antd/select/ReadPretty.js +7 -7
  1087. package/lib/schema-component/antd/select/Select.d.ts +3 -0
  1088. package/lib/schema-component/antd/select/Select.js +23 -12
  1089. package/lib/schema-component/antd/select/index.d.ts +1 -1
  1090. package/lib/schema-component/antd/select/index.js +4 -4
  1091. package/lib/schema-component/antd/select/utils.d.ts +14 -0
  1092. package/lib/schema-component/antd/select/{shared.js → utils.js} +22 -20
  1093. package/lib/schema-component/antd/table/Table.Array.Designer.d.ts +2 -1
  1094. package/lib/schema-component/antd/table/Table.Array.d.ts +5 -5
  1095. package/lib/schema-component/antd/table/Table.Array.js +7 -5
  1096. package/lib/schema-component/antd/table/Table.Column.ActionBar.d.ts +1 -1
  1097. package/lib/schema-component/antd/table/Table.Column.ActionBar.js +2 -0
  1098. package/lib/schema-component/antd/table/Table.Column.Decorator.d.ts +2 -1
  1099. package/lib/schema-component/antd/table/Table.Column.Designer.d.ts +2 -1
  1100. package/lib/schema-component/antd/table/Table.Column.d.ts +2 -1
  1101. package/lib/schema-component/antd/table/Table.Designer.d.ts +2 -1
  1102. package/lib/schema-component/antd/table/Table.RowActionDesigner.d.ts +2 -1
  1103. package/lib/schema-component/antd/table/Table.RowSelection.d.ts +1 -1
  1104. package/lib/schema-component/antd/table/Table.RowSelection.js +2 -0
  1105. package/lib/schema-component/antd/table/Table.Void.Designer.d.ts +2 -1
  1106. package/lib/schema-component/antd/table/Table.Void.d.ts +1 -1
  1107. package/lib/schema-component/antd/table/Table.Void.js +2 -0
  1108. package/lib/schema-component/antd/table-v2/FilterDynamicComponent.d.ts +2 -2
  1109. package/lib/schema-component/antd/table-v2/FilterDynamicComponent.js +17 -2
  1110. package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.d.ts +2 -1
  1111. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.d.ts +1 -1
  1112. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.js +2 -0
  1113. package/lib/schema-component/antd/table-v2/Table.Column.Decorator.d.ts +2 -1
  1114. package/lib/schema-component/antd/table-v2/Table.Column.Designer.d.ts +2 -1
  1115. package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +146 -9
  1116. package/lib/schema-component/antd/table-v2/Table.Column.d.ts +2 -1
  1117. package/lib/schema-component/antd/table-v2/Table.Designer.d.ts +2 -1
  1118. package/lib/schema-component/antd/table-v2/Table.Index.d.ts +2 -1
  1119. package/lib/schema-component/antd/table-v2/Table.js +61 -28
  1120. package/lib/schema-component/antd/table-v2/TableBlockDesigner.d.ts +2 -1
  1121. package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +54 -47
  1122. package/lib/schema-component/antd/table-v2/TableField.js +4 -0
  1123. package/lib/schema-component/antd/table-v2/TableSelectorDesigner.d.ts +2 -1
  1124. package/lib/schema-component/antd/table-v2/index.d.ts +1 -0
  1125. package/lib/schema-component/antd/table-v2/index.js +12 -0
  1126. package/lib/schema-component/antd/table-v2/utils.js +1 -1
  1127. package/lib/schema-component/antd/tabs/Tabs.Designer.d.ts +2 -1
  1128. package/lib/schema-component/antd/tabs/Tabs.js +51 -18
  1129. package/lib/schema-component/antd/tabs/context.d.ts +8 -0
  1130. package/lib/schema-component/antd/tabs/context.js +24 -0
  1131. package/lib/schema-component/antd/tabs/index.d.ts +1 -0
  1132. package/lib/schema-component/antd/tabs/index.js +11 -0
  1133. package/lib/schema-component/antd/time-picker/ReadPretty.d.ts +1 -1
  1134. package/lib/schema-component/antd/time-picker/ReadPretty.js +1 -1
  1135. package/lib/schema-component/antd/time-picker/TimePicker.d.ts +1 -1
  1136. package/lib/schema-component/antd/time-picker/TimePicker.js +1 -1
  1137. package/lib/schema-component/antd/tree-select/ReadPretty.d.ts +1 -1
  1138. package/lib/schema-component/antd/tree-select/ReadPretty.js +3 -1
  1139. package/lib/schema-component/antd/upload/ReadPretty.js +7 -3
  1140. package/lib/schema-component/antd/upload/Upload.js +1 -1
  1141. package/lib/schema-component/antd/upload/shared.d.ts +3 -3
  1142. package/lib/schema-component/antd/upload/style.less +1 -2
  1143. package/lib/schema-component/antd/upload/type.d.ts +2 -2
  1144. package/lib/schema-component/antd/variable/Input.d.ts +2 -2
  1145. package/lib/schema-component/antd/variable/Input.js +183 -31
  1146. package/lib/schema-component/antd/variable/JSONInput.d.ts +2 -2
  1147. package/lib/schema-component/antd/variable/JSONInput.js +2 -23
  1148. package/lib/schema-component/antd/variable/TextArea.d.ts +2 -2
  1149. package/lib/schema-component/antd/variable/VariableSelect.d.ts +2 -2
  1150. package/lib/schema-component/antd/variable/VariableSelect.js +1 -1
  1151. package/lib/schema-component/common/dnd-context/index.d.ts +1 -1
  1152. package/lib/schema-component/common/dnd-context/index.js +11 -4
  1153. package/lib/schema-component/common/sortable-item/SortableItem.d.ts +11 -4
  1154. package/lib/schema-component/common/sortable-item/SortableItem.js +16 -5
  1155. package/lib/schema-component/common/utils/logic.js +64 -2
  1156. package/lib/schema-component/common/utils/uitls.d.ts +1 -0
  1157. package/lib/schema-component/common/utils/uitls.js +50 -14
  1158. package/lib/schema-component/core/DesignableSwitch.d.ts +2 -1
  1159. package/lib/schema-component/core/SchemaComponent.d.ts +2 -1
  1160. package/lib/schema-component/core/SchemaComponentOptions.js +12 -7
  1161. package/lib/schema-component/core/SchemaComponentProvider.js +17 -6
  1162. package/lib/schema-component/hooks/useCompile.js +32 -4
  1163. package/lib/schema-component/hooks/useDesignable.d.ts +5 -4
  1164. package/lib/schema-component/hooks/useDesignable.js +30 -28
  1165. package/lib/schema-component/hooks/useFieldModeOptions.js +44 -20
  1166. package/lib/schema-component/hooks/useProps.d.ts +1 -10
  1167. package/lib/schema-component/hooks/useProps.js +20 -6
  1168. package/lib/schema-initializer/SchemaInitializer.d.ts +18 -4
  1169. package/lib/schema-initializer/SchemaInitializer.js +275 -96
  1170. package/lib/schema-initializer/SchemaInitializerProvider.d.ts +3 -3
  1171. package/lib/schema-initializer/SelectCollection.d.ts +3 -3
  1172. package/lib/schema-initializer/SelectCollection.js +22 -17
  1173. package/lib/schema-initializer/buttons/BlockInitializers.d.ts +2 -0
  1174. package/lib/schema-initializer/buttons/BulkEditFormItemInitializers.d.ts +2 -1
  1175. package/lib/schema-initializer/buttons/CreateFormBlockInitializers.d.ts +2 -1
  1176. package/lib/schema-initializer/buttons/CreateFormBulkEditBlockInitializers.d.ts +2 -1
  1177. package/lib/schema-initializer/buttons/CustomFormItemInitializers.d.ts +2 -1
  1178. package/lib/schema-initializer/buttons/DetailsActionInitializers.d.ts +14 -0
  1179. package/lib/schema-initializer/buttons/DetailsActionInitializers.js +12 -0
  1180. package/lib/schema-initializer/buttons/FormItemInitializers.d.ts +3 -2
  1181. package/lib/schema-initializer/buttons/ReadPrettyFormActionInitializers.d.ts +16 -0
  1182. package/lib/schema-initializer/buttons/ReadPrettyFormActionInitializers.js +21 -16
  1183. package/lib/schema-initializer/buttons/ReadPrettyFormItemInitializers.d.ts +2 -1
  1184. package/lib/schema-initializer/buttons/RecordBlockInitializers.d.ts +2 -1
  1185. package/lib/schema-initializer/buttons/RecordFormBlockInitializers.d.ts +2 -1
  1186. package/lib/schema-initializer/buttons/TabPaneInitializers.d.ts +4 -3
  1187. package/lib/schema-initializer/buttons/TabPaneInitializers.js +3 -3
  1188. package/lib/schema-initializer/buttons/TableActionColumnInitializers.d.ts +3 -2
  1189. package/lib/schema-initializer/buttons/TableActionColumnInitializers.js +13 -4
  1190. package/lib/schema-initializer/buttons/TableActionInitializers.js +5 -5
  1191. package/lib/schema-initializer/buttons/TableColumnInitializers.d.ts +2 -1
  1192. package/lib/schema-initializer/buttons/TableColumnInitializers.js +17 -9
  1193. package/lib/schema-initializer/buttons/TableSelectorInitializers.d.ts +2 -1
  1194. package/lib/schema-initializer/components/BulkEditField.d.ts +2 -1
  1195. package/lib/schema-initializer/components/CreateRecordAction.d.ts +2 -2
  1196. package/lib/schema-initializer/components/CreateRecordAction.js +40 -26
  1197. package/lib/schema-initializer/components/DeletedField.d.ts +2 -1
  1198. package/lib/schema-initializer/components/DuplicateAction.d.ts +3 -0
  1199. package/lib/schema-initializer/components/DuplicateAction.js +174 -0
  1200. package/lib/schema-initializer/components/assigned-field/AssignedField.d.ts +2 -1
  1201. package/lib/schema-initializer/components/assigned-field/AssignedField.js +3 -2
  1202. package/lib/schema-initializer/components/index.d.ts +1 -0
  1203. package/lib/schema-initializer/components/index.js +11 -0
  1204. package/lib/schema-initializer/index.d.ts +1 -1
  1205. package/lib/schema-initializer/index.js +7 -0
  1206. package/lib/schema-initializer/items/ActionInitializer.d.ts +2 -1
  1207. package/lib/schema-initializer/items/BlockInitializer.d.ts +2 -1
  1208. package/lib/schema-initializer/items/BulkDestroyActionInitializer.d.ts +2 -1
  1209. package/lib/schema-initializer/items/BulkEditSubmitActionInitializer.d.ts +2 -1
  1210. package/lib/schema-initializer/items/CalendarBlockInitializer.d.ts +2 -1
  1211. package/lib/schema-initializer/items/CalendarBlockInitializer.js +9 -9
  1212. package/lib/schema-initializer/items/CollectionFieldInitializer.d.ts +2 -1
  1213. package/lib/schema-initializer/items/CreateActionInitializer.d.ts +2 -1
  1214. package/lib/schema-initializer/items/CreateChildInitializer.d.ts +2 -1
  1215. package/lib/schema-initializer/items/CreateFilterActionInitializer.d.ts +2 -1
  1216. package/lib/schema-initializer/items/CreateFormBlockInitializer.d.ts +2 -1
  1217. package/lib/schema-initializer/items/CreateFormBulkEditBlockInitializer.d.ts +2 -1
  1218. package/lib/schema-initializer/items/CreateResetActionInitializer.d.ts +2 -1
  1219. package/lib/schema-initializer/items/CreateSubmitActionInitializer.d.ts +2 -1
  1220. package/lib/schema-initializer/items/CustomizeActionInitializer.d.ts +2 -1
  1221. package/lib/schema-initializer/items/CustomizeBulkEditActionInitializer.d.ts +2 -1
  1222. package/lib/schema-initializer/items/DataBlockInitializer.d.ts +2 -1
  1223. package/lib/schema-initializer/items/DeleteEventActionInitializer.d.ts +2 -1
  1224. package/lib/schema-initializer/items/DestroyActionInitializer.d.ts +2 -1
  1225. package/lib/schema-initializer/items/DetailsBlockInitializer.d.ts +2 -1
  1226. package/lib/schema-initializer/items/DuplicateActionInitializer.d.ts +2 -0
  1227. package/lib/schema-initializer/items/DuplicateActionInitializer.js +69 -0
  1228. package/lib/schema-initializer/items/ExpandActionInitializer.d.ts +2 -1
  1229. package/lib/schema-initializer/items/ExpandActionInitializer.js +3 -3
  1230. package/lib/schema-initializer/items/FilterActionInitializer.d.ts +2 -1
  1231. package/lib/schema-initializer/items/FilterBlockInitializer.d.ts +2 -1
  1232. package/lib/schema-initializer/items/FilterCollapseBlockInitializer.d.ts +2 -1
  1233. package/lib/schema-initializer/items/FilterFormBlockInitializer.d.ts +2 -1
  1234. package/lib/schema-initializer/items/FormBlockInitializer.d.ts +2 -1
  1235. package/lib/schema-initializer/items/G2PlotInitializer.d.ts +2 -1
  1236. package/lib/schema-initializer/items/GanttBlockInitializer.d.ts +2 -1
  1237. package/lib/schema-initializer/items/GridCardBlockInitializer.d.ts +2 -1
  1238. package/lib/schema-initializer/items/InitializerWithSwitch.d.ts +2 -1
  1239. package/lib/schema-initializer/items/KanbanBlockInitializer.d.ts +2 -1
  1240. package/lib/schema-initializer/items/ListBlockInitializer.d.ts +2 -1
  1241. package/lib/schema-initializer/items/MarkdownBlockInitializer.d.ts +2 -1
  1242. package/lib/schema-initializer/items/PrintActionInitializer.d.ts +2 -1
  1243. package/lib/schema-initializer/items/RecordAssociationBlockInitializer.d.ts +2 -1
  1244. package/lib/schema-initializer/items/RecordAssociationCalendarBlockInitializer.d.ts +2 -1
  1245. package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.d.ts +2 -1
  1246. package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.d.ts +2 -1
  1247. package/lib/schema-initializer/items/RecordFormBlockInitializer.d.ts +2 -1
  1248. package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.d.ts +2 -1
  1249. package/lib/schema-initializer/items/RecordReadPrettyFormBlockInitializer.d.ts +2 -1
  1250. package/lib/schema-initializer/items/RefreshActionInitializer.d.ts +2 -1
  1251. package/lib/schema-initializer/items/SelectActionInitializer.d.ts +2 -1
  1252. package/lib/schema-initializer/items/SubmitActionInitializer.d.ts +2 -1
  1253. package/lib/schema-initializer/items/TableActionColumnInitializer.d.ts +2 -1
  1254. package/lib/schema-initializer/items/TableBlockInitializer.d.ts +2 -1
  1255. package/lib/schema-initializer/items/TableCollectionFieldInitializer.d.ts +2 -1
  1256. package/lib/schema-initializer/items/TableSelectorInitializer.d.ts +2 -1
  1257. package/lib/schema-initializer/items/UpdateActionInitializer.d.ts +2 -1
  1258. package/lib/schema-initializer/items/UpdateSubmitActionInitializer.d.ts +2 -1
  1259. package/lib/schema-initializer/items/ViewActionInitializer.d.ts +2 -1
  1260. package/lib/schema-initializer/items/index.d.ts +1 -0
  1261. package/lib/schema-initializer/items/index.js +11 -0
  1262. package/lib/schema-initializer/utils.d.ts +13 -1
  1263. package/lib/schema-initializer/utils.js +111 -68
  1264. package/lib/schema-items/GeneralSchemaItems.js +5 -3
  1265. package/lib/schema-items/OpenModeSchemaItems.js +14 -10
  1266. package/lib/schema-settings/DataTemplates/FormDataTemplates.d.ts +1 -1
  1267. package/lib/schema-settings/DataTemplates/FormDataTemplates.js +8 -6
  1268. package/lib/schema-settings/DataTemplates/TreeLabel.d.ts +2 -1
  1269. package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.js +2 -0
  1270. package/lib/schema-settings/DataTemplates/components/Designer.d.ts +1 -1
  1271. package/lib/schema-settings/DataTemplates/components/Designer.js +2 -0
  1272. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.d.ts +3 -3
  1273. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.js +38 -58
  1274. package/lib/schema-settings/EnableChildCollections/index.d.ts +1 -1
  1275. package/lib/schema-settings/EnableChildCollections/index.js +2 -0
  1276. package/lib/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  1277. package/lib/schema-settings/GeneralSchemaDesigner.js +3 -2
  1278. package/lib/schema-settings/LinkageRules/DynamicComponent.d.ts +2 -1
  1279. package/lib/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +1 -1
  1280. package/lib/schema-settings/LinkageRules/LinkageRuleAction.d.ts +2 -2
  1281. package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +14 -10
  1282. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +2 -2
  1283. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.js +2 -0
  1284. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +2 -1
  1285. package/lib/schema-settings/LinkageRules/components/LinkageHeader.js +2 -0
  1286. package/lib/schema-settings/LinkageRules/index.d.ts +1 -1
  1287. package/lib/schema-settings/LinkageRules/index.js +3 -1
  1288. package/lib/schema-settings/SchemaSettings.d.ts +2 -1
  1289. package/lib/schema-settings/SchemaSettings.js +148 -60
  1290. package/lib/schema-settings/VariableInput/VariableInput.d.ts +1 -1
  1291. package/lib/schema-settings/VariableInput/VariableInput.js +1 -1
  1292. package/lib/schema-settings/VariableInput/hooks/useDateVariable.d.ts +12 -1
  1293. package/lib/schema-settings/VariableInput/hooks/useDateVariable.js +41 -36
  1294. package/lib/schema-settings/VariableInput/hooks/useFormVariable.d.ts +19 -0
  1295. package/lib/schema-settings/VariableInput/hooks/useFormVariable.js +96 -0
  1296. package/lib/schema-settings/VariableInput/hooks/useIterationVariable.d.ts +8 -0
  1297. package/lib/schema-settings/VariableInput/hooks/useIterationVariable.js +84 -0
  1298. package/lib/schema-settings/VariableInput/hooks/useUserVariable.d.ts +4 -4
  1299. package/lib/schema-settings/VariableInput/hooks/useUserVariable.js +66 -42
  1300. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +5 -1
  1301. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +23 -3
  1302. package/lib/schema-settings/VariableInput/type.d.ts +28 -0
  1303. package/lib/schema-settings/VariableInput/type.js +5 -0
  1304. package/lib/schema-settings/hooks/useIsShowMultipleSwitch.js +3 -2
  1305. package/lib/schema-templates/BlockTemplate.d.ts +1 -1
  1306. package/lib/schema-templates/BlockTemplate.js +4 -1
  1307. package/lib/schema-templates/BlockTemplateDetails.d.ts +2 -1
  1308. package/lib/schema-templates/BlockTemplateDetails.js +10 -6
  1309. package/lib/schema-templates/BlockTemplatePage.d.ts +3 -2
  1310. package/lib/schema-templates/BlockTemplatePage.js +5 -2
  1311. package/lib/schema-templates/SchemaTemplateManagerProvider.d.ts +5 -2
  1312. package/lib/schema-templates/SchemaTemplateManagerProvider.js +7 -0
  1313. package/lib/schema-templates/index.d.ts +0 -1
  1314. package/lib/schema-templates/index.js +0 -11
  1315. package/lib/system-settings/SystemSettingsProvider.d.ts +5 -3
  1316. package/lib/system-settings/SystemSettingsShortcut.d.ts +2 -3
  1317. package/lib/system-settings/SystemSettingsShortcut.js +33 -85
  1318. package/lib/test/collections.d.ts +1487 -0
  1319. package/lib/test/collections.js +1444 -0
  1320. package/lib/test/index.d.ts +3 -0
  1321. package/lib/test/index.js +36 -0
  1322. package/lib/test/mainCollections.d.ts +11359 -0
  1323. package/lib/test/mainCollections.js +3 -0
  1324. package/lib/test/mockAPIClient.d.ts +6 -0
  1325. package/lib/test/mockAPIClient.js +18 -0
  1326. package/lib/user/ChangePassword.d.ts +1 -1
  1327. package/lib/user/ChangePassword.js +30 -26
  1328. package/lib/user/CurrentUser.d.ts +7 -1
  1329. package/lib/user/CurrentUser.js +122 -83
  1330. package/lib/user/CurrentUserProvider.d.ts +1 -1
  1331. package/lib/user/CurrentUserProvider.js +3 -2
  1332. package/lib/user/EditProfile.d.ts +1 -1
  1333. package/lib/user/EditProfile.js +31 -25
  1334. package/lib/user/LanguageSettings.d.ts +1 -1
  1335. package/lib/user/LanguageSettings.js +66 -63
  1336. package/lib/user/SigninPage.d.ts +2 -1
  1337. package/lib/user/SigninPage.js +39 -28
  1338. package/lib/user/SigninPageExtension.d.ts +1 -1
  1339. package/lib/user/SignupPage.d.ts +2 -1
  1340. package/lib/user/SignupPage.js +4 -3
  1341. package/lib/user/SwitchRole.d.ts +1 -1
  1342. package/lib/user/SwitchRole.js +57 -53
  1343. package/lib/user/ThemeSettings.d.ts +1 -1
  1344. package/lib/user/ThemeSettings.js +59 -54
  1345. package/lib/user/VerificationCode.d.ts +2 -2
  1346. package/lib/user/index.d.ts +0 -3
  1347. package/lib/user/index.js +0 -33
  1348. package/package.json +16 -15
  1349. package/tsconfig.json +2 -0
  1350. package/.umirc.ts +0 -24
  1351. package/develop.md +0 -5
  1352. package/es/collection-manager/interfaces/attachment.d.ts +0 -2
  1353. package/es/collection-manager/interfaces/attachment.js +0 -98
  1354. package/es/plugin-manager/PluginManager.d.ts +0 -23
  1355. package/es/plugin-manager/PluginManager.js +0 -166
  1356. package/es/plugin-manager/PluginManagerProvider.d.ts +0 -2
  1357. package/es/plugin-manager/PluginManagerProvider.js +0 -11
  1358. package/es/schema-component/antd/select/shared.d.ts +0 -7
  1359. package/es/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -22
  1360. package/es/schema-component/antd/table-v2/hooks/useUserVariable.js +0 -65
  1361. package/es/schema-templates/SchemaTemplateShortcut.d.ts +0 -1
  1362. package/es/schema-templates/SchemaTemplateShortcut.js +0 -17
  1363. package/es/settings-form/SettingsForm.d.ts +0 -13
  1364. package/es/settings-form/index.d.ts +0 -1
  1365. package/es/settings-form/index.js +0 -1
  1366. package/lib/collection-manager/interfaces/attachment.d.ts +0 -2
  1367. package/lib/collection-manager/interfaces/attachment.js +0 -105
  1368. package/lib/plugin-manager/PluginManager.d.ts +0 -23
  1369. package/lib/plugin-manager/PluginManager.js +0 -178
  1370. package/lib/plugin-manager/PluginManagerProvider.d.ts +0 -2
  1371. package/lib/plugin-manager/PluginManagerProvider.js +0 -19
  1372. package/lib/schema-component/antd/select/shared.d.ts +0 -7
  1373. package/lib/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -22
  1374. package/lib/schema-component/antd/table-v2/hooks/useUserVariable.js +0 -73
  1375. package/lib/schema-templates/SchemaTemplateShortcut.d.ts +0 -1
  1376. package/lib/schema-templates/SchemaTemplateShortcut.js +0 -25
  1377. package/lib/settings-form/SettingsForm.d.ts +0 -13
  1378. package/lib/settings-form/index.d.ts +0 -1
@@ -28,7 +28,8 @@ var FixedBlockContext = /*#__PURE__*/React.createContext({
28
28
  fixedBlockUID: false,
29
29
  fixedBlockUIDRef: {
30
30
  current: false
31
- }
31
+ },
32
+ inFixedBlock: false
32
33
  });
33
34
  export var useFixedSchema = function useFixedSchema() {
34
35
  var _field$decoratorProps2;
@@ -82,7 +83,9 @@ export var FixedBlockDesignerItem = function FixedBlockDesignerItem() {
82
83
  var _useDesignable = useDesignable(),
83
84
  dn = _useDesignable.dn;
84
85
  var record = useRecord();
85
- if (Object.keys(record).length) {
86
+ var _useFixedBlock3 = useFixedBlock(),
87
+ inFixedBlock = _useFixedBlock3.inFixedBlock;
88
+ if (Object.keys(record).length || !inFixedBlock) {
86
89
  return null;
87
90
  }
88
91
  return /*#__PURE__*/React.createElement(SchemaSettings.SwitchItem, {
@@ -131,6 +134,7 @@ var FixedBlock = function FixedBlock(props) {
131
134
  };
132
135
  return /*#__PURE__*/React.createElement(FixedBlockContext.Provider, {
133
136
  value: {
137
+ inFixedBlock: true,
134
138
  height: height,
135
139
  setFixedBlock: setFixedBlock,
136
140
  fixedBlockUID: fixedBlockUID,
@@ -1 +1,2 @@
1
- export declare const Page: (props: any) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const Page: (props: any) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  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); }
2
2
  var _excluded = ["children"];
3
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
3
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
4
4
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
5
5
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
6
6
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -19,15 +19,16 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
19
19
  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; }
20
20
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
21
21
  import { PlusOutlined } from '@ant-design/icons';
22
+ import { PageHeader as AntdPageHeader } from '@ant-design/pro-layout';
22
23
  import { css } from '@emotion/css';
23
24
  import { FormDialog, FormLayout } from '@formily/antd';
24
25
  import { Schema, SchemaOptionsContext, useFieldSchema } from '@formily/react';
25
- import { PageHeader as AntdPageHeader, Button, Spin, Tabs } from 'antd';
26
+ import { Button, Spin, Tabs } from 'antd';
26
27
  import classNames from 'classnames';
27
- import React, { useContext, useEffect, useState } from 'react';
28
+ import React, { useContext, useEffect, useMemo, useState } from 'react';
28
29
  import { ErrorBoundary } from 'react-error-boundary';
29
30
  import { useTranslation } from 'react-i18next';
30
- import { useLocation } from 'react-router-dom';
31
+ import { useSearchParams } from 'react-router-dom';
31
32
  import { useDocumentTitle } from '../../../document-title';
32
33
  import { FilterBlockProvider } from '../../../filter-provider/FilterProvider';
33
34
  import { Icon } from '../../../icon';
@@ -41,6 +42,8 @@ import { PageDesigner, PageTabDesigner } from './PageTabDesigner';
41
42
  var designerCss = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n &:hover {\n > .general-schema-designer {\n display: block;\n }\n }\n &.nb-action-link {\n > .general-schema-designer {\n top: var(--nb-designer-offset);\n bottom: var(--nb-designer-offset);\n right: var(--nb-designer-offset);\n left: var(--nb-designer-offset);\n }\n }\n > .general-schema-designer {\n position: absolute;\n z-index: 999;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: none;\n background: rgba(241, 139, 98, 0.06);\n border: 0;\n pointer-events: none;\n > .general-schema-designer-icons {\n position: absolute;\n right: 2px;\n top: 2px;\n line-height: 16px;\n pointer-events: all;\n .ant-space-item {\n background-color: #f18b62;\n color: #fff;\n line-height: 16px;\n width: 16px;\n padding-left: 1px;\n }\n }\n }\n"])));
42
43
  var pageDesignerCss = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n z-index: 20;\n flex: 1;\n display: flex;\n flex-direction: column;\n\n &:hover {\n > .general-schema-designer {\n display: block;\n }\n }\n .ant-page-header {\n z-index: 1;\n position: relative;\n }\n > .general-schema-designer {\n position: absolute;\n z-index: 999;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: none;\n /* background: rgba(241, 139, 98, 0.06); */\n border: 0;\n pointer-events: none;\n > .general-schema-designer-icons {\n z-index: 9999;\n position: absolute;\n right: 2px;\n top: 2px;\n line-height: 16px;\n pointer-events: all;\n .ant-space-item {\n background-color: #f18b62;\n color: #fff;\n line-height: 16px;\n width: 16px;\n padding-left: 1px;\n }\n }\n }\n"])));
43
44
  var pageWithFixedBlockCss = classNames(['nb-page-content', css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n height: 100%;\n > .nb-grid:not(:last-child) {\n > .nb-schema-initializer-button {\n display: none;\n }\n }\n "])))]);
45
+ var pageHeaderCss = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n background-color: white;\n &.ant-page-header-has-footer {\n padding-top: 12px;\n padding-bottom: 0;\n .ant-page-header-heading-left {\n /* margin: 0; */\n }\n .ant-page-header-footer {\n margin-top: 0;\n }\n }\n"])));
46
+ var height0 = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: 0;\n height: 0;\n"])));
44
47
  export var Page = function Page(props) {
45
48
  var _fieldSchema$xCompon, _fieldSchema$xCompon2, _fieldSchema$xCompon3;
46
49
  var children = props.children,
@@ -51,6 +54,16 @@ export var Page = function Page(props) {
51
54
  setTitle = _useDocumentTitle.setTitle;
52
55
  var fieldSchema = useFieldSchema();
53
56
  var dn = useDesignable();
57
+ // react18 tab 动画会卡顿,所以第一个 tab 时,动画禁用,后面的 tab 才启用
58
+ var _useState = useState(false),
59
+ _useState2 = _slicedToArray(_useState, 2),
60
+ hasMounted = _useState2[0],
61
+ setHasMounted = _useState2[1];
62
+ useEffect(function () {
63
+ setTimeout(function () {
64
+ setHasMounted(true);
65
+ });
66
+ }, []);
54
67
  useEffect(function () {
55
68
  if (!title) {
56
69
  setTitle(fieldSchema.title);
@@ -62,19 +75,17 @@ export var Page = function Page(props) {
62
75
  var _useTranslation = useTranslation(),
63
76
  t = _useTranslation.t;
64
77
  var options = useContext(SchemaOptionsContext);
65
- var location = useLocation();
66
- var _useState = useState(false),
67
- _useState2 = _slicedToArray(_useState, 2),
68
- loading = _useState2[0],
69
- setLoading = _useState2[1];
70
- var _useState3 = useState(function () {
71
- var _location$query;
72
- // @ts-ignore
73
- return (location === null || location === void 0 ? void 0 : (_location$query = location.query) === null || _location$query === void 0 ? void 0 : _location$query.tab) || Object.keys(fieldSchema.properties).shift();
74
- }),
78
+ var _useSearchParams = useSearchParams(),
79
+ _useSearchParams2 = _slicedToArray(_useSearchParams, 2),
80
+ searchParams = _useSearchParams2[0],
81
+ setSearchParams = _useSearchParams2[1];
82
+ var _useState3 = useState(false),
75
83
  _useState4 = _slicedToArray(_useState3, 2),
76
- activeKey = _useState4[0],
77
- setActiveKey = _useState4[1];
84
+ loading = _useState4[0],
85
+ setLoading = _useState4[1];
86
+ var activeKey = useMemo(function () {
87
+ return searchParams.get('tab') || Object.keys(fieldSchema.properties || {}).shift();
88
+ }, [fieldSchema.properties, searchParams]);
78
89
  var _useState5 = useState(0),
79
90
  _useState6 = _slicedToArray(_useState5, 2),
80
91
  height = _useState6[0],
@@ -82,6 +93,7 @@ export var Page = function Page(props) {
82
93
  var handleErrors = function handleErrors(error) {
83
94
  console.error(error);
84
95
  };
96
+ var pageHeaderTitle = hidePageTitle ? undefined : fieldSchema.title || compile(title);
85
97
  return /*#__PURE__*/React.createElement(FilterBlockProvider, null, /*#__PURE__*/React.createElement("div", {
86
98
  className: pageDesignerCss
87
99
  }, /*#__PURE__*/React.createElement(PageDesigner, {
@@ -91,24 +103,25 @@ export var Page = function Page(props) {
91
103
  setHeight(Math.floor((_ref === null || _ref === void 0 ? void 0 : _ref.getBoundingClientRect().height) || 0) + 1);
92
104
  }
93
105
  }, !disablePageHeader && /*#__PURE__*/React.createElement(AntdPageHeader, _objectSpread(_objectSpread({
94
- className: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n &.has-footer {\n padding-top: 12px;\n .ant-page-header-heading-left {\n /* margin: 0; */\n }\n .ant-page-header-footer {\n margin-top: 0;\n }\n }\n "]))),
106
+ className: classNames(pageHeaderCss, pageHeaderTitle || enablePageTabs ? '' : height0),
95
107
  ghost: false,
96
- title: hidePageTitle ? undefined : fieldSchema.title || compile(title)
108
+ // 如果标题为空的时候会导致 PageHeader 不渲染,所以这里设置一个空白字符,然后再设置高度为 0
109
+ title: pageHeaderTitle || ' '
97
110
  }, others), {}, {
98
111
  footer: enablePageTabs && /*#__PURE__*/React.createElement(DndContext, null, /*#__PURE__*/React.createElement(Tabs, {
99
112
  size: 'small',
113
+ animated: hasMounted,
100
114
  activeKey: activeKey,
101
115
  onTabClick: function onTabClick(activeKey) {
102
116
  setLoading(true);
103
- setActiveKey(activeKey);
104
- window.history.pushState({}, '', window.location.pathname + "?tab=" + activeKey);
117
+ setSearchParams([['tab', activeKey]]);
105
118
  setTimeout(function () {
106
119
  setLoading(false);
107
120
  }, 50);
108
121
  },
109
122
  tabBarExtraContent: dn.designable && /*#__PURE__*/React.createElement(Button, {
110
123
  icon: /*#__PURE__*/React.createElement(PlusOutlined, null),
111
- className: css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n border-color: rgb(241, 139, 98) !important;\n color: rgb(241, 139, 98) !important;\n "]))),
124
+ className: css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n border-color: rgb(241, 139, 98) !important;\n color: rgb(241, 139, 98) !important;\n "]))),
112
125
  type: 'dashed',
113
126
  onClick: function () {
114
127
  var _onClick = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
@@ -165,24 +178,25 @@ export var Page = function Page(props) {
165
178
  }
166
179
  return onClick;
167
180
  }()
168
- }, t('Add tab'))
169
- }, fieldSchema.mapProperties(function (schema) {
170
- return /*#__PURE__*/React.createElement(Tabs.TabPane, {
171
- tab: /*#__PURE__*/React.createElement(SortableItem, {
172
- id: schema.name,
173
- schema: schema,
174
- className: classNames('nb-action-link', designerCss, props.className)
175
- }, schema['x-icon'] && /*#__PURE__*/React.createElement(Icon, {
176
- style: {
177
- marginRight: 8
178
- },
179
- type: schema['x-icon']
180
- }), /*#__PURE__*/React.createElement("span", null, schema.title || t('Unnamed')), /*#__PURE__*/React.createElement(PageTabDesigner, {
181
- schema: schema
182
- })),
183
- key: schema.name
184
- });
185
- })))
181
+ }, t('Add tab')),
182
+ items: fieldSchema.mapProperties(function (schema) {
183
+ return {
184
+ label: /*#__PURE__*/React.createElement(SortableItem, {
185
+ id: schema.name,
186
+ schema: schema,
187
+ className: classNames('nb-action-link', designerCss, props.className)
188
+ }, schema['x-icon'] && /*#__PURE__*/React.createElement(Icon, {
189
+ style: {
190
+ marginRight: 8
191
+ },
192
+ type: schema['x-icon']
193
+ }), /*#__PURE__*/React.createElement("span", null, schema.title || t('Unnamed')), /*#__PURE__*/React.createElement(PageTabDesigner, {
194
+ schema: schema
195
+ })),
196
+ key: schema.name
197
+ };
198
+ })
199
+ }))
186
200
  }))), /*#__PURE__*/React.createElement("div", {
187
201
  className: "nb-page-wrapper",
188
202
  style: {
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  export declare const PageDesigner: ({ title }: {
2
3
  title: any;
3
- }) => JSX.Element;
4
+ }) => React.JSX.Element;
4
5
  export declare const PageTabDesigner: ({ schema }: {
5
6
  schema: any;
6
- }) => JSX.Element;
7
+ }) => React.JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const Pagination: React.MemoExoticComponent<React.FunctionComponent<Pick<any, string | number | symbol>>>;
2
+ export declare const Pagination: React.MemoExoticComponent<import("@formily/react").ReactFC<Pick<any, string | number | symbol>>>;
@@ -26,4 +26,6 @@ export var Pagination = observer(function (props) {
26
26
  return /*#__PURE__*/React.createElement("div", {
27
27
  onKeyPress: onKeypress
28
28
  }, /*#__PURE__*/React.createElement(AntdPagination, _objectSpread({}, others)));
29
+ }, {
30
+ displayName: 'Pagination'
29
31
  });
@@ -1,4 +1,4 @@
1
- import { PasswordProps } from 'antd/lib/input';
1
+ import { PasswordProps } from 'antd/es/input';
2
2
  import React from 'react';
3
3
  export interface IPasswordProps extends PasswordProps {
4
4
  checkStrength: boolean;
@@ -1,149 +1,6 @@
1
1
  import { isFn } from '@formily/shared';
2
2
  import React, { Fragment } from 'react';
3
- var isNum = function isNum(c) {
4
- return c >= 48 && c <= 57;
5
- };
6
- var isLower = function isLower(c) {
7
- return c >= 97 && c <= 122;
8
- };
9
- var isUpper = function isUpper(c) {
10
- return c >= 65 && c <= 90;
11
- };
12
- var isSymbol = function isSymbol(c) {
13
- return !(isLower(c) || isUpper(c) || isNum(c));
14
- };
15
- var isLetter = function isLetter(c) {
16
- return isLower(c) || isUpper(c);
17
- };
18
- var getStrength = function getStrength(val) {
19
- if (!val) return 0;
20
- var num = 0;
21
- var lower = 0;
22
- var upper = 0;
23
- var symbol = 0;
24
- var MNS = 0;
25
- var rep = 0;
26
- var repC = 0;
27
- var consecutive = 0;
28
- var sequential = 0;
29
- var len = function len() {
30
- return num + lower + upper + symbol;
31
- };
32
- var callMe = function callMe() {
33
- var re = num > 0 ? 1 : 0;
34
- re += lower > 0 ? 1 : 0;
35
- re += upper > 0 ? 1 : 0;
36
- re += symbol > 0 ? 1 : 0;
37
- if (re > 2 && len() >= 8) {
38
- return re + 1;
39
- } else {
40
- return 0;
41
- }
42
- };
43
- for (var i = 0; i < val.length; i++) {
44
- var c = val.charCodeAt(i);
45
- if (isNum(c)) {
46
- num++;
47
- if (i !== 0 && i !== val.length - 1) {
48
- MNS++;
49
- }
50
- if (i > 0 && isNum(val.charCodeAt(i - 1))) {
51
- consecutive++;
52
- }
53
- } else if (isLower(c)) {
54
- lower++;
55
- if (i > 0 && isLower(val.charCodeAt(i - 1))) {
56
- consecutive++;
57
- }
58
- } else if (isUpper(c)) {
59
- upper++;
60
- if (i > 0 && isUpper(val.charCodeAt(i - 1))) {
61
- consecutive++;
62
- }
63
- } else {
64
- symbol++;
65
- if (i !== 0 && i !== val.length - 1) {
66
- MNS++;
67
- }
68
- }
69
- var exists = false;
70
- for (var j = 0; j < val.length; j++) {
71
- if (val[i] === val[j] && i !== j) {
72
- exists = true;
73
- repC += Math.abs(val.length / (j - i));
74
- }
75
- }
76
- if (exists) {
77
- rep++;
78
- var unique = val.length - rep;
79
- repC = unique ? Math.ceil(repC / unique) : Math.ceil(repC);
80
- }
81
- if (i > 1) {
82
- var last1 = val.charCodeAt(i - 1);
83
- var last2 = val.charCodeAt(i - 2);
84
- if (isLetter(c)) {
85
- if (isLetter(last1) && isLetter(last2)) {
86
- var v = val.toLowerCase();
87
- var vi = v.charCodeAt(i);
88
- var vi1 = v.charCodeAt(i - 1);
89
- var vi2 = v.charCodeAt(i - 2);
90
- if (vi - vi1 === vi1 - vi2 && Math.abs(vi - vi1) === 1) {
91
- sequential++;
92
- }
93
- }
94
- } else if (isNum(c)) {
95
- if (isNum(last1) && isNum(last2)) {
96
- if (c - last1 === last1 - last2 && Math.abs(c - last1) === 1) {
97
- sequential++;
98
- }
99
- }
100
- } else {
101
- if (isSymbol(last1) && isSymbol(last2)) {
102
- if (c - last1 === last1 - last2 && Math.abs(c - last1) === 1) {
103
- sequential++;
104
- }
105
- }
106
- }
107
- }
108
- }
109
- var sum = 0;
110
- var length = len();
111
- sum += 4 * length;
112
- if (lower > 0) {
113
- sum += 2 * (length - lower);
114
- }
115
- if (upper > 0) {
116
- sum += 2 * (length - upper);
117
- }
118
- if (num !== length) {
119
- sum += 4 * num;
120
- }
121
- sum += 6 * symbol;
122
- sum += 2 * MNS;
123
- sum += 2 * callMe();
124
- if (length === lower + upper) {
125
- sum -= length;
126
- }
127
- if (length === num) {
128
- sum -= num;
129
- }
130
- sum -= repC;
131
- sum -= 2 * consecutive;
132
- sum -= 3 * sequential;
133
- sum = sum < 0 ? 0 : sum;
134
- sum = sum > 100 ? 100 : sum;
135
- if (sum >= 80) {
136
- return 100;
137
- } else if (sum >= 60) {
138
- return 80;
139
- } else if (sum >= 40) {
140
- return 60;
141
- } else if (sum >= 20) {
142
- return 40;
143
- } else {
144
- return 20;
145
- }
146
- };
3
+ import { getStrength } from './utils';
147
4
  export var PasswordStrength = function PasswordStrength(props) {
148
5
  if (isFn(props.children)) {
149
6
  return props.children(getStrength(String(props.value || '')));
@@ -0,0 +1 @@
1
+ export declare const getStrength: (val: any) => 0 | 100 | 20 | 60 | 80 | 40;
@@ -0,0 +1,144 @@
1
+ var isNum = function isNum(c) {
2
+ return c >= 48 && c <= 57;
3
+ };
4
+ var isLower = function isLower(c) {
5
+ return c >= 97 && c <= 122;
6
+ };
7
+ var isUpper = function isUpper(c) {
8
+ return c >= 65 && c <= 90;
9
+ };
10
+ var isSymbol = function isSymbol(c) {
11
+ return !(isLower(c) || isUpper(c) || isNum(c));
12
+ };
13
+ var isLetter = function isLetter(c) {
14
+ return isLower(c) || isUpper(c);
15
+ };
16
+ export var getStrength = function getStrength(val) {
17
+ if (!val) return 0;
18
+ var num = 0;
19
+ var lower = 0;
20
+ var upper = 0;
21
+ var symbol = 0;
22
+ var MNS = 0;
23
+ var rep = 0;
24
+ var repC = 0;
25
+ var consecutive = 0;
26
+ var sequential = 0;
27
+ var len = function len() {
28
+ return num + lower + upper + symbol;
29
+ };
30
+ var callMe = function callMe() {
31
+ var re = num > 0 ? 1 : 0;
32
+ re += lower > 0 ? 1 : 0;
33
+ re += upper > 0 ? 1 : 0;
34
+ re += symbol > 0 ? 1 : 0;
35
+ if (re > 2 && len() >= 8) {
36
+ return re + 1;
37
+ } else {
38
+ return 0;
39
+ }
40
+ };
41
+ for (var i = 0; i < val.length; i++) {
42
+ var c = val.charCodeAt(i);
43
+ if (isNum(c)) {
44
+ num++;
45
+ if (i !== 0 && i !== val.length - 1) {
46
+ MNS++;
47
+ }
48
+ if (i > 0 && isNum(val.charCodeAt(i - 1))) {
49
+ consecutive++;
50
+ }
51
+ } else if (isLower(c)) {
52
+ lower++;
53
+ if (i > 0 && isLower(val.charCodeAt(i - 1))) {
54
+ consecutive++;
55
+ }
56
+ } else if (isUpper(c)) {
57
+ upper++;
58
+ if (i > 0 && isUpper(val.charCodeAt(i - 1))) {
59
+ consecutive++;
60
+ }
61
+ } else {
62
+ symbol++;
63
+ if (i !== 0 && i !== val.length - 1) {
64
+ MNS++;
65
+ }
66
+ }
67
+ var exists = false;
68
+ for (var j = 0; j < val.length; j++) {
69
+ if (val[i] === val[j] && i !== j) {
70
+ exists = true;
71
+ repC += Math.abs(val.length / (j - i));
72
+ }
73
+ }
74
+ if (exists) {
75
+ rep++;
76
+ var unique = val.length - rep;
77
+ repC = unique ? Math.ceil(repC / unique) : Math.ceil(repC);
78
+ }
79
+ if (i > 1) {
80
+ var last1 = val.charCodeAt(i - 1);
81
+ var last2 = val.charCodeAt(i - 2);
82
+ if (isLetter(c)) {
83
+ if (isLetter(last1) && isLetter(last2)) {
84
+ var v = val.toLowerCase();
85
+ var vi = v.charCodeAt(i);
86
+ var vi1 = v.charCodeAt(i - 1);
87
+ var vi2 = v.charCodeAt(i - 2);
88
+ if (vi - vi1 === vi1 - vi2 && Math.abs(vi - vi1) === 1) {
89
+ sequential++;
90
+ }
91
+ }
92
+ } else if (isNum(c)) {
93
+ if (isNum(last1) && isNum(last2)) {
94
+ if (c - last1 === last1 - last2 && Math.abs(c - last1) === 1) {
95
+ sequential++;
96
+ }
97
+ }
98
+ } else {
99
+ if (isSymbol(last1) && isSymbol(last2)) {
100
+ if (c - last1 === last1 - last2 && Math.abs(c - last1) === 1) {
101
+ sequential++;
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ var sum = 0;
108
+ var length = len();
109
+ sum += 4 * length;
110
+ if (lower > 0) {
111
+ sum += 2 * (length - lower);
112
+ }
113
+ if (upper > 0) {
114
+ sum += 2 * (length - upper);
115
+ }
116
+ if (num !== length) {
117
+ sum += 4 * num;
118
+ }
119
+ sum += 6 * symbol;
120
+ sum += 2 * MNS;
121
+ sum += 2 * callMe();
122
+ if (length === lower + upper) {
123
+ sum -= length;
124
+ }
125
+ if (length === num) {
126
+ sum -= num;
127
+ }
128
+ sum -= repC;
129
+ sum -= 2 * consecutive;
130
+ sum -= 3 * sequential;
131
+ sum = sum < 0 ? 0 : sum;
132
+ sum = sum > 100 ? 100 : sum;
133
+ if (sum >= 80) {
134
+ return 100;
135
+ } else if (sum >= 60) {
136
+ return 80;
137
+ } else if (sum >= 40) {
138
+ return 60;
139
+ } else if (sum >= 20) {
140
+ return 40;
141
+ } else {
142
+ return 20;
143
+ }
144
+ };
@@ -6,9 +6,9 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
6
6
  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); }
7
7
  import { connect, mapReadPretty } from '@formily/react';
8
8
  import { InputNumber } from 'antd';
9
+ import * as math from 'mathjs';
9
10
  import React from 'react';
10
11
  import { ReadPretty } from '../input-number/ReadPretty';
11
- import * as math from 'mathjs';
12
12
  export var Percent = connect(function (props) {
13
13
  var value = props.value,
14
14
  _onChange = props.onChange;
@@ -11,5 +11,5 @@ declare type Props = UploadProps & {
11
11
  onSelect?: () => void;
12
12
  };
13
13
  export declare const Preview: React.ForwardRefExoticComponent<Pick<Partial<any>, string | number | symbol> & React.RefAttributes<unknown>>;
14
- export declare const FileSelector: (props: Props) => JSX.Element;
14
+ export declare const FileSelector: (props: Props) => React.JSX.Element;
15
15
  export default Preview;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const Editable: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;
3
+ export declare const QuickEdit: React.MemoExoticComponent<import("@formily/react").ReactFC<unknown>>;