@nocobase/client 2.1.0-alpha.4 → 2.1.0-alpha.40

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 (443) hide show
  1. package/LICENSE +201 -661
  2. package/README.md +79 -10
  3. package/es/ai/index.d.ts +2 -3
  4. package/es/api-client/APIClient.d.ts +1 -2
  5. package/es/application/Application.d.ts +68 -140
  6. package/es/application/CustomRouterContextProvider.d.ts +1 -0
  7. package/es/application/Plugin.d.ts +2 -24
  8. package/es/application/PluginManager.d.ts +7 -36
  9. package/es/application/PluginSettingsManager.d.ts +103 -7
  10. package/es/application/RouteRepository.d.ts +1 -15
  11. package/es/application/RouterManager.d.ts +4 -44
  12. package/es/application/WebSocketClient.d.ts +2 -36
  13. package/es/application/components/index.d.ts +0 -2
  14. package/es/application/hooks/usePlugin.d.ts +2 -2
  15. package/es/application/schema-initializer/context/index.d.ts +1 -1
  16. package/es/application/schema-settings/hooks/useSchemaSettingsRender.d.ts +2 -2
  17. package/es/application/utils/globalDeps.d.ts +7 -0
  18. package/es/application/utils/remotePlugins.d.ts +9 -6
  19. package/es/block-provider/BlockProvider.d.ts +1 -0
  20. package/es/block-provider/TableBlockContextBasicValue.d.ts +25 -0
  21. package/es/block-provider/TableBlockProvider.d.ts +0 -11
  22. package/es/block-provider/index.d.ts +1 -0
  23. package/es/collection-manager/hooks/useCollection_deprecated.d.ts +2 -2
  24. package/es/collection-manager/templates/sql.d.ts +4 -4
  25. package/es/collection-manager/templates/view.d.ts +15 -15
  26. package/es/data-source/collection/utils.d.ts +3 -3
  27. package/es/data-source/data-block/DataBlockProvider.d.ts +1 -1
  28. package/es/global-theme/AntdAppProvider.d.ts +1 -10
  29. package/es/global-theme/compatOldTheme.d.ts +1 -3
  30. package/es/global-theme/customAlgorithm.d.ts +1 -7
  31. package/es/global-theme/defaultTheme.d.ts +1 -3
  32. package/es/global-theme/index.d.ts +2 -29
  33. package/es/global-theme/type.d.ts +1 -56
  34. package/es/index.css +1 -1
  35. package/es/index.d.ts +1 -1
  36. package/es/index.mjs +1498 -107768
  37. package/es/index.mjs.LICENSE.txt +8 -0
  38. package/es/lazy-helper/index.d.ts +8 -6
  39. package/es/modules/actions/associate/utils.d.ts +18 -0
  40. package/es/modules/actions/link/useURLAndHTMLSchema.d.ts +1 -0
  41. package/es/modules/blocks/BlockSchemaToolbar.d.ts +1 -1
  42. package/es/plugin-manager/PinnedPluginListProvider.d.ts +2 -1
  43. package/es/plugin-manager/context.d.ts +1 -4
  44. package/es/{flow/models/actions/JSActionModel.d.ts → pm/AdminSettingsLayoutModel.d.ts} +2 -4
  45. package/es/pm/PluginSetting.d.ts +2 -1
  46. package/es/pm/index.d.ts +1 -0
  47. package/es/{flow/components/placeholders/FieldPlaceholder.d.ts → route-switch/antd/admin-layout/AdminDynamicPage.d.ts} +1 -1
  48. package/es/route-switch/antd/admin-layout/AdminLayoutCompat.d.ts +32 -0
  49. package/es/route-switch/antd/admin-layout/AdminLayoutComponentV1.d.ts +15 -0
  50. package/es/route-switch/antd/admin-layout/AdminLayoutMenuFlowUtils.d.ts +107 -0
  51. package/es/route-switch/antd/admin-layout/AdminLayoutMenuModels.d.ts +68 -0
  52. package/es/route-switch/antd/admin-layout/AdminLayoutMenuUtils.d.ts +164 -0
  53. package/es/route-switch/antd/admin-layout/AdminLayoutModel.d.ts +33 -0
  54. package/es/{application/components/MainComponent.d.ts → route-switch/antd/admin-layout/AdminShellProvider.d.ts} +4 -2
  55. package/es/{flow/components/drag-drop/Sortable.d.ts → route-switch/antd/admin-layout/ResetThemeTokenAndKeepAlgorithm.d.ts} +4 -3
  56. package/es/{ai/tools-manager/hooks/provider.d.ts → route-switch/antd/admin-layout/badge.d.ts} +3 -8
  57. package/es/route-switch/antd/admin-layout/index.d.ts +12 -23
  58. package/es/{ai/ai-manager.d.ts → route-switch/antd/admin-layout/mobileMenuNavigation.d.ts} +7 -7
  59. package/es/route-switch/antd/admin-layout/route-runtime.d.ts +20 -0
  60. package/es/route-switch/antd/admin-layout/{convertRoutesToSchema.d.ts → route-types.d.ts} +5 -1
  61. package/es/route-switch/antd/admin-layout/route-utils.d.ts +13 -0
  62. package/es/schema-component/antd/__builtins__/hooks/useToken.d.ts +1 -1
  63. package/es/schema-component/antd/__builtins__/style.d.ts +1 -1
  64. package/es/schema-component/antd/association-field/Table.d.ts +0 -57
  65. package/es/schema-component/antd/association-field/hooks.d.ts +1 -1
  66. package/es/schema-component/antd/date-picker/DatePicker.d.ts +26 -0
  67. package/es/schema-component/antd/expand-action/Expand.Action.d.ts +1 -1
  68. package/es/schema-component/antd/form-v2/Form.d.ts +5 -0
  69. package/es/schema-component/antd/menu/Menu.d.ts +2 -2
  70. package/es/schema-component/antd/page/Page.d.ts +1 -0
  71. package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
  72. package/es/schema-component/antd/upload/shared.d.ts +4 -0
  73. package/es/schema-initializer/components/CreateRecordAction.d.ts +1 -1
  74. package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  75. package/es/schema-settings/SchemaSettings.d.ts +3 -1
  76. package/es/schema-settings/SchemaSettingsDefaultValue.d.ts +18 -0
  77. package/es/schema-settings/VariableInput/hooks/useParentIterationVariable.d.ts +3 -3
  78. package/es/style/index.d.ts +1 -1
  79. package/es/style/useToken.d.ts +1 -1
  80. package/es/system-settings/SystemSettingsProvider.d.ts +1 -6
  81. package/es/system-settings/SystemSettingsShortcut.d.ts +7 -0
  82. package/es/{flow/components/drag-drop/index.d.ts → system-settings/SystemSettingsSource.d.ts} +1 -2
  83. package/es/system-settings/index.d.ts +2 -1
  84. package/lib/index.css +1 -1
  85. package/lib/index.js +1538 -2130
  86. package/lib/index.js.LICENSE.txt +1 -0
  87. package/lib/locale/de-DE.json +5 -4
  88. package/lib/locale/en-US.json +19 -3
  89. package/lib/locale/es-ES.json +5 -4
  90. package/lib/locale/fr-FR.json +5 -4
  91. package/lib/locale/hu-HU.json +5 -4
  92. package/lib/locale/id-ID.json +5 -4
  93. package/lib/locale/it-IT.json +5 -4
  94. package/lib/locale/ja-JP.json +5 -4
  95. package/lib/locale/ko-KR.json +5 -4
  96. package/lib/locale/nl-NL.json +5 -4
  97. package/lib/locale/pt-BR.json +5 -4
  98. package/lib/locale/ru-RU.json +5 -4
  99. package/lib/locale/tr-TR.json +5 -4
  100. package/lib/locale/uk-UA.json +5 -4
  101. package/lib/locale/vi-VN.json +5 -4
  102. package/lib/locale/zh-CN.json +21 -5
  103. package/lib/locale/zh-TW.json +5 -4
  104. package/package.json +10 -9
  105. package/es/ai/tools-manager/hooks/context.d.ts +0 -17
  106. package/es/ai/tools-manager/hooks/index.d.ts +0 -11
  107. package/es/ai/tools-manager/index.d.ts +0 -21
  108. package/es/ai/tools-manager/types.d.ts +0 -80
  109. package/es/ai/utils.d.ts +0 -10
  110. package/es/application/components/AppComponent.d.ts +0 -14
  111. package/es/application/components/defaultComponents.d.ts +0 -19
  112. package/es/application/globalOperators.d.ts +0 -11
  113. package/es/flow/FlowModelRepository.d.ts +0 -36
  114. package/es/flow/FlowPage.d.ts +0 -20
  115. package/es/flow/actions/aclCheck.d.ts +0 -9
  116. package/es/flow/actions/aclCheckRefresh.d.ts +0 -9
  117. package/es/flow/actions/blockHeight.d.ts +0 -9
  118. package/es/flow/actions/columnFixed.d.ts +0 -9
  119. package/es/flow/actions/confirm.d.ts +0 -9
  120. package/es/flow/actions/customVariable.d.ts +0 -9
  121. package/es/flow/actions/dataLoadingMode.d.ts +0 -9
  122. package/es/flow/actions/dataScope.d.ts +0 -9
  123. package/es/flow/actions/dateTimeFormat.d.ts +0 -9
  124. package/es/flow/actions/displayFieldComponent.d.ts +0 -19
  125. package/es/flow/actions/fieldComponent.d.ts +0 -9
  126. package/es/flow/actions/filterFormDefaultValues.d.ts +0 -9
  127. package/es/flow/actions/formAssignRules.d.ts +0 -9
  128. package/es/flow/actions/index.d.ts +0 -39
  129. package/es/flow/actions/layout.d.ts +0 -10
  130. package/es/flow/actions/linkageRules.d.ts +0 -23
  131. package/es/flow/actions/linkageRulesRefresh.d.ts +0 -9
  132. package/es/flow/actions/navigateToURL.d.ts +0 -9
  133. package/es/flow/actions/numberFormat.d.ts +0 -9
  134. package/es/flow/actions/openView.d.ts +0 -15
  135. package/es/flow/actions/overflowMode.d.ts +0 -9
  136. package/es/flow/actions/pattern.d.ts +0 -9
  137. package/es/flow/actions/refreshTargetBlocks.d.ts +0 -9
  138. package/es/flow/actions/renderMode.d.ts +0 -9
  139. package/es/flow/actions/required.d.ts +0 -9
  140. package/es/flow/actions/runjs.d.ts +0 -9
  141. package/es/flow/actions/setTargetDataScope.d.ts +0 -10
  142. package/es/flow/actions/showMessage.d.ts +0 -9
  143. package/es/flow/actions/showNotification.d.ts +0 -9
  144. package/es/flow/actions/sortingRules.d.ts +0 -9
  145. package/es/flow/actions/titleField.d.ts +0 -9
  146. package/es/flow/actions/validation.d.ts +0 -9
  147. package/es/flow/common/Liquid.d.ts +0 -33
  148. package/es/flow/common/Markdown/Display.d.ts +0 -9
  149. package/es/flow/common/Markdown/Edit.d.ts +0 -23
  150. package/es/flow/common/Markdown/Markdown.d.ts +0 -24
  151. package/es/flow/common/Markdown/style.d.ts +0 -10
  152. package/es/flow/common/Markdown/useCDN.d.ts +0 -9
  153. package/es/flow/components/BlockItemCard.d.ts +0 -16
  154. package/es/flow/components/ConditionBuilder.d.ts +0 -17
  155. package/es/flow/components/DefaultValue.d.ts +0 -20
  156. package/es/flow/components/DynamicFlowsIcon.d.ts +0 -13
  157. package/es/flow/components/EllipsisWithTooltip.d.ts +0 -17
  158. package/es/flow/components/ExpiresRadio/index.d.ts +0 -12
  159. package/es/flow/components/FieldAssignEditor.d.ts +0 -32
  160. package/es/flow/components/FieldAssignExactDatePicker.d.ts +0 -23
  161. package/es/flow/components/FieldAssignRulesEditor.d.ts +0 -70
  162. package/es/flow/components/FieldAssignValueInput.d.ts +0 -63
  163. package/es/flow/components/Grid/index.d.ts +0 -26
  164. package/es/flow/components/JsonEditor.d.ts +0 -19
  165. package/es/flow/components/RunJSValueEditor.d.ts +0 -19
  166. package/es/flow/components/SkeletonFallback.d.ts +0 -10
  167. package/es/flow/components/TextAreaWithContextSelector.d.ts +0 -30
  168. package/es/flow/components/code-editor/core/EditorCore.d.ts +0 -25
  169. package/es/flow/components/code-editor/errorHelpers.d.ts +0 -17
  170. package/es/flow/components/code-editor/extension/CodeEditorExtension.d.ts +0 -14
  171. package/es/flow/components/code-editor/extension/index.d.ts +0 -9
  172. package/es/flow/components/code-editor/formatDocInfo.d.ts +0 -17
  173. package/es/flow/components/code-editor/hooks/useCodeRunner.d.ts +0 -23
  174. package/es/flow/components/code-editor/hooks/useRunJSDocCompletions.d.ts +0 -15
  175. package/es/flow/components/code-editor/htmlCompletion.d.ts +0 -11
  176. package/es/flow/components/code-editor/index.d.ts +0 -31
  177. package/es/flow/components/code-editor/javascriptCompletion.d.ts +0 -11
  178. package/es/flow/components/code-editor/javascriptHtmlTemplate.d.ts +0 -16
  179. package/es/flow/components/code-editor/jsxCompletion.d.ts +0 -10
  180. package/es/flow/components/code-editor/linter.d.ts +0 -19
  181. package/es/flow/components/code-editor/panels/LogsPanel.d.ts +0 -15
  182. package/es/flow/components/code-editor/panels/RightExtra.d.ts +0 -18
  183. package/es/flow/components/code-editor/panels/SnippetsDrawer.d.ts +0 -18
  184. package/es/flow/components/code-editor/runjsCompletionSource.d.ts +0 -20
  185. package/es/flow/components/code-editor/runjsCompletions.d.ts +0 -23
  186. package/es/flow/components/code-editor/runjsDiagnostics.d.ts +0 -43
  187. package/es/flow/components/code-editor/types.d.ts +0 -32
  188. package/es/flow/components/drag-drop/SortableItem.d.ts +0 -12
  189. package/es/flow/components/fieldAssignOptions.d.ts +0 -23
  190. package/es/flow/components/filter/FilterContainer.d.ts +0 -67
  191. package/es/flow/components/filter/FilterGroup.d.ts +0 -66
  192. package/es/flow/components/filter/FilterItem.d.ts +0 -40
  193. package/es/flow/components/filter/LinkageFilterItem.d.ts +0 -28
  194. package/es/flow/components/filter/VariableFilterItem.d.ts +0 -37
  195. package/es/flow/components/filter/fieldsToOptions.d.ts +0 -9
  196. package/es/flow/components/filter/index.d.ts +0 -16
  197. package/es/flow/components/index.d.ts +0 -14
  198. package/es/flow/components/placeholders/BlockPlaceholder.d.ts +0 -11
  199. package/es/flow/components/useAssociationTitleFieldSync.d.ts +0 -13
  200. package/es/flow/flows/editMarkdownFlow.d.ts +0 -10
  201. package/es/flow/flows/openViewFlow.d.ts +0 -17
  202. package/es/flow/formily/ReactiveField.d.ts +0 -19
  203. package/es/flow/formily/index.d.ts +0 -8
  204. package/es/flow/getViewDiffAndUpdateHidden.d.ts +0 -21
  205. package/es/flow/index.d.ts +0 -24
  206. package/es/flow/internal/components/Markdown/DisplayMarkdown.d.ts +0 -10
  207. package/es/flow/internal/components/Markdown/markdown-it-plugins/mermaidPlugin.d.ts +0 -13
  208. package/es/flow/internal/components/Markdown/md.d.ts +0 -11
  209. package/es/flow/internal/components/Markdown/style.d.ts +0 -9
  210. package/es/flow/internal/components/Markdown/util.d.ts +0 -15
  211. package/es/flow/internal/constants/HeightMode.d.ts +0 -13
  212. package/es/flow/internal/index.d.ts +0 -11
  213. package/es/flow/internal/utils/associationValueCoercion.d.ts +0 -15
  214. package/es/flow/internal/utils/dateTimeUtils.d.ts +0 -10
  215. package/es/flow/internal/utils/enumOptionsUtils.d.ts +0 -23
  216. package/es/flow/internal/utils/modelUtils.d.ts +0 -23
  217. package/es/flow/internal/utils/operatorSchemaHelper.d.ts +0 -15
  218. package/es/flow/internal/utils/rebuildFieldSubModel.d.ts +0 -33
  219. package/es/flow/internal/utils/saveStepParamsWithSubModels.d.ts +0 -11
  220. package/es/flow/internal/utils/titleFieldQuickSync.d.ts +0 -35
  221. package/es/flow/models/actions/AddChildActionModel.d.ts +0 -15
  222. package/es/flow/models/actions/AddNewActionModel.d.ts +0 -16
  223. package/es/flow/models/actions/BulkDeleteActionModel.d.ts +0 -15
  224. package/es/flow/models/actions/DeleteActionModel.d.ts +0 -15
  225. package/es/flow/models/actions/EditActionModel.d.ts +0 -16
  226. package/es/flow/models/actions/ExpandCollapseActionModel.d.ts +0 -19
  227. package/es/flow/models/actions/FilterActionModel.d.ts +0 -26
  228. package/es/flow/models/actions/JSCollectionActionModel.d.ts +0 -14
  229. package/es/flow/models/actions/JSRecordActionModel.d.ts +0 -14
  230. package/es/flow/models/actions/LinkActionModel.d.ts +0 -18
  231. package/es/flow/models/actions/PopupCollectionActionModel.d.ts +0 -14
  232. package/es/flow/models/actions/RefreshActionModel.d.ts +0 -14
  233. package/es/flow/models/actions/UpdateRecordActionModel.d.ts +0 -27
  234. package/es/flow/models/actions/ViewActionModel.d.ts +0 -15
  235. package/es/flow/models/actions/index.d.ts +0 -23
  236. package/es/flow/models/base/ActionGroupModel.d.ts +0 -28
  237. package/es/flow/models/base/ActionModel.d.ts +0 -45
  238. package/es/flow/models/base/AssociationFieldGroupModel.d.ts +0 -49
  239. package/es/flow/models/base/BlockGridModel.d.ts +0 -21
  240. package/es/flow/models/base/BlockModel.d.ts +0 -31
  241. package/es/flow/models/base/CollectionActionModel.d.ts +0 -12
  242. package/es/flow/models/base/CollectionBlockModel.d.ts +0 -89
  243. package/es/flow/models/base/CommonItemModel.d.ts +0 -11
  244. package/es/flow/models/base/DataBlockModel.d.ts +0 -12
  245. package/es/flow/models/base/FieldModel.d.ts +0 -17
  246. package/es/flow/models/base/FilterBlockModel.d.ts +0 -12
  247. package/es/flow/models/base/GridModel.d.ts +0 -98
  248. package/es/flow/models/base/PageModel/ChildPageModel.d.ts +0 -20
  249. package/es/flow/models/base/PageModel/MainPageModel.d.ts +0 -17
  250. package/es/flow/models/base/PageModel/OldPageModel.d.ts +0 -21
  251. package/es/flow/models/base/PageModel/PageModel.d.ts +0 -53
  252. package/es/flow/models/base/PageModel/PageTabModel.d.ts +0 -42
  253. package/es/flow/models/base/PageModel/RootPageModel.d.ts +0 -16
  254. package/es/flow/models/base/PageModel/SubPageModel.d.ts +0 -17
  255. package/es/flow/models/base/PageModel/index.d.ts +0 -14
  256. package/es/flow/models/base/PopupActionModel.d.ts +0 -13
  257. package/es/flow/models/base/RecordActionModel.d.ts +0 -12
  258. package/es/flow/models/base/RouteModel.d.ts +0 -11
  259. package/es/flow/models/base/index.d.ts +0 -24
  260. package/es/flow/models/blocks/assign-form/AssignFormGridModel.d.ts +0 -15
  261. package/es/flow/models/blocks/assign-form/AssignFormItemModel.d.ts +0 -22
  262. package/es/flow/models/blocks/assign-form/AssignFormModel.d.ts +0 -26
  263. package/es/flow/models/blocks/assign-form/index.d.ts +0 -11
  264. package/es/flow/models/blocks/details/DetailsAssociationFieldGroupModel.d.ts +0 -12
  265. package/es/flow/models/blocks/details/DetailsBlockModel.d.ts +0 -37
  266. package/es/flow/models/blocks/details/DetailsCustomItemModel.d.ts +0 -13
  267. package/es/flow/models/blocks/details/DetailsGridModel.d.ts +0 -33
  268. package/es/flow/models/blocks/details/DetailsItemModel.d.ts +0 -53
  269. package/es/flow/models/blocks/details/DetailsJSFieldItemModel.d.ts +0 -19
  270. package/es/flow/models/blocks/details/index.d.ts +0 -14
  271. package/es/flow/models/blocks/details/utils.d.ts +0 -16
  272. package/es/flow/models/blocks/filter-form/FieldModelSelect.d.ts +0 -10
  273. package/es/flow/models/blocks/filter-form/FieldOperatorSelect.d.ts +0 -10
  274. package/es/flow/models/blocks/filter-form/FilterFormActionGroupModel.d.ts +0 -13
  275. package/es/flow/models/blocks/filter-form/FilterFormActionModel.d.ts +0 -11
  276. package/es/flow/models/blocks/filter-form/FilterFormBlockModel.d.ts +0 -39
  277. package/es/flow/models/blocks/filter-form/FilterFormCollapseActionModel.d.ts +0 -18
  278. package/es/flow/models/blocks/filter-form/FilterFormCustomItemModel.d.ts +0 -13
  279. package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +0 -32
  280. package/es/flow/models/blocks/filter-form/FilterFormItemModel.d.ts +0 -59
  281. package/es/flow/models/blocks/filter-form/FilterFormJSActionModel.d.ts +0 -11
  282. package/es/flow/models/blocks/filter-form/FilterFormResetActionModel.d.ts +0 -13
  283. package/es/flow/models/blocks/filter-form/FilterFormSubmitActionModel.d.ts +0 -15
  284. package/es/flow/models/blocks/filter-form/SourceCascader.d.ts +0 -10
  285. package/es/flow/models/blocks/filter-form/customFieldOperators.d.ts +0 -34
  286. package/es/flow/models/blocks/filter-form/fields/FieldComponentProps.d.ts +0 -13
  287. package/es/flow/models/blocks/filter-form/fields/FilterFormCustomFieldModel.d.ts +0 -52
  288. package/es/flow/models/blocks/filter-form/fields/FilterFormCustomRecordSelectFieldModel.d.ts +0 -20
  289. package/es/flow/models/blocks/filter-form/fields/FilterFormFieldModel.d.ts +0 -11
  290. package/es/flow/models/blocks/filter-form/fields/FilterFormRecordSelectFieldModel.d.ts +0 -12
  291. package/es/flow/models/blocks/filter-form/fields/date-time/DateOnlyFilterFieldModel.d.ts +0 -14
  292. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeFilterFieldModel.d.ts +0 -13
  293. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeNoTzFilterFieldModel.d.ts +0 -13
  294. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeTzFilterFieldModel.d.ts +0 -14
  295. package/es/flow/models/blocks/filter-form/fields/date-time/components/DateFilterDynamicComponent.d.ts +0 -10
  296. package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterDatePicker.d.ts +0 -10
  297. package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterRangePicker.d.ts +0 -10
  298. package/es/flow/models/blocks/filter-form/fields/date-time/index.d.ts +0 -12
  299. package/es/flow/models/blocks/filter-form/fields/index.d.ts +0 -13
  300. package/es/flow/models/blocks/filter-form/index.d.ts +0 -23
  301. package/es/flow/models/blocks/filter-form/legacyDefaultValueMigration.d.ts +0 -13
  302. package/es/flow/models/blocks/filter-form/valueNormalization.d.ts +0 -17
  303. package/es/flow/models/blocks/filter-manager/FilterManager.d.ts +0 -141
  304. package/es/flow/models/blocks/filter-manager/flow-actions/connectFields.d.ts +0 -10
  305. package/es/flow/models/blocks/filter-manager/flow-actions/customizeFilterRender.d.ts +0 -10
  306. package/es/flow/models/blocks/filter-manager/flow-actions/defaultOperator.d.ts +0 -9
  307. package/es/flow/models/blocks/filter-manager/flow-actions/index.d.ts +0 -12
  308. package/es/flow/models/blocks/filter-manager/flow-actions/operatorComponentProps.d.ts +0 -10
  309. package/es/flow/models/blocks/filter-manager/index.d.ts +0 -11
  310. package/es/flow/models/blocks/filter-manager/utils.d.ts +0 -21
  311. package/es/flow/models/blocks/form/CreateFormModel.d.ts +0 -21
  312. package/es/flow/models/blocks/form/EditFormModel.d.ts +0 -24
  313. package/es/flow/models/blocks/form/FormActionGroupModel.d.ts +0 -13
  314. package/es/flow/models/blocks/form/FormActionModel.d.ts +0 -21
  315. package/es/flow/models/blocks/form/FormAssociationFieldGroupModel.d.ts +0 -12
  316. package/es/flow/models/blocks/form/FormAssociationItemModel.d.ts +0 -39
  317. package/es/flow/models/blocks/form/FormBlockModel.d.ts +0 -95
  318. package/es/flow/models/blocks/form/FormCustomItemModel.d.ts +0 -13
  319. package/es/flow/models/blocks/form/FormGridModel.d.ts +0 -34
  320. package/es/flow/models/blocks/form/FormItemModel.d.ts +0 -39
  321. package/es/flow/models/blocks/form/FormJSFieldItemModel.d.ts +0 -18
  322. package/es/flow/models/blocks/form/JSFormActionModel.d.ts +0 -11
  323. package/es/flow/models/blocks/form/QuickEditFormModel.d.ts +0 -38
  324. package/es/flow/models/blocks/form/assignRulesUpdateAssociationValues.d.ts +0 -18
  325. package/es/flow/models/blocks/form/dynamicNamePath.d.ts +0 -19
  326. package/es/flow/models/blocks/form/index.d.ts +0 -21
  327. package/es/flow/models/blocks/form/legacyDefaultValueMigration.d.ts +0 -13
  328. package/es/flow/models/blocks/form/submitHandler.d.ts +0 -9
  329. package/es/flow/models/blocks/form/submitValues.d.ts +0 -19
  330. package/es/flow/models/blocks/form/value-runtime/conditions.d.ts +0 -9
  331. package/es/flow/models/blocks/form/value-runtime/deps.d.ts +0 -23
  332. package/es/flow/models/blocks/form/value-runtime/form-patch.d.ts +0 -19
  333. package/es/flow/models/blocks/form/value-runtime/index.d.ts +0 -11
  334. package/es/flow/models/blocks/form/value-runtime/path.d.ts +0 -25
  335. package/es/flow/models/blocks/form/value-runtime/rules.d.ts +0 -129
  336. package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +0 -75
  337. package/es/flow/models/blocks/form/value-runtime/types.d.ts +0 -62
  338. package/es/flow/models/blocks/form/value-runtime/utils.d.ts +0 -12
  339. package/es/flow/models/blocks/index.d.ts +0 -15
  340. package/es/flow/models/blocks/js-block/JSBlock.d.ts +0 -16
  341. package/es/flow/models/blocks/js-block/index.d.ts +0 -9
  342. package/es/flow/models/blocks/shared/legacyDefaultValueMigrationBase.d.ts +0 -20
  343. package/es/flow/models/blocks/table/JSColumnModel.d.ts +0 -21
  344. package/es/flow/models/blocks/table/TableActionsColumnModel.d.ts +0 -18
  345. package/es/flow/models/blocks/table/TableAssociationFieldGroupModel.d.ts +0 -12
  346. package/es/flow/models/blocks/table/TableBlockModel.d.ts +0 -90
  347. package/es/flow/models/blocks/table/TableColumnModel.d.ts +0 -27
  348. package/es/flow/models/blocks/table/TableCustomColumnModel.d.ts +0 -12
  349. package/es/flow/models/blocks/table/TableJSFieldItemModel.d.ts +0 -19
  350. package/es/flow/models/blocks/table/TableSelectModel.d.ts +0 -14
  351. package/es/flow/models/blocks/table/dragSort/dragSortComponents.d.ts +0 -14
  352. package/es/flow/models/blocks/table/dragSort/dragSortHooks.d.ts +0 -13
  353. package/es/flow/models/blocks/table/dragSort/dragSortSettings.d.ts +0 -39
  354. package/es/flow/models/blocks/table/dragSort/dragSortUtils.d.ts +0 -37
  355. package/es/flow/models/blocks/table/dragSort/index.d.ts +0 -12
  356. package/es/flow/models/blocks/table/index.d.ts +0 -16
  357. package/es/flow/models/blocks/table/utils.d.ts +0 -18
  358. package/es/flow/models/blocks/utils/transformChildrenToJS.d.ts +0 -42
  359. package/es/flow/models/fields/AssociationFieldModel/AssociationFieldModel.d.ts +0 -4
  360. package/es/flow/models/fields/AssociationFieldModel/CascadeSelectFieldModel.d.ts +0 -45
  361. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionGroupModel.d.ts +0 -11
  362. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionsColumnModel.d.ts +0 -19
  363. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableFieldModel.d.ts +0 -30
  364. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableEditActionModel.d.ts +0 -28
  365. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableFormSubmitActionModel.d.ts +0 -16
  366. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableRemoveActionModel.d.ts +0 -14
  367. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/blocks/PopupSubTableFormModel.d.ts +0 -36
  368. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/index.d.ts +0 -17
  369. package/es/flow/models/fields/AssociationFieldModel/RecordPickerFieldModel.d.ts +0 -35
  370. package/es/flow/models/fields/AssociationFieldModel/RecordSelectFieldModel.d.ts +0 -46
  371. package/es/flow/models/fields/AssociationFieldModel/SubFormFieldModel.d.ts +0 -32
  372. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableColumnModel.d.ts +0 -32
  373. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableField.d.ts +0 -10
  374. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +0 -18
  375. package/es/flow/models/fields/AssociationFieldModel/index.d.ts +0 -15
  376. package/es/flow/models/fields/AssociationFieldModel/itemChain.d.ts +0 -94
  377. package/es/flow/models/fields/AssociationFieldModel/recordSelectShared.d.ts +0 -59
  378. package/es/flow/models/fields/CheckboxFieldModel.d.ts +0 -13
  379. package/es/flow/models/fields/CheckboxGroupFieldModel.d.ts +0 -13
  380. package/es/flow/models/fields/ClickableFieldModel.d.ts +0 -25
  381. package/es/flow/models/fields/CollectionSelectorFieldModel.d.ts +0 -13
  382. package/es/flow/models/fields/ColorFieldModel.d.ts +0 -14
  383. package/es/flow/models/fields/DateTimeFieldModel/DateOnlyFieldModel.d.ts +0 -7
  384. package/es/flow/models/fields/DateTimeFieldModel/DateTimeFieldModel.d.ts +0 -3
  385. package/es/flow/models/fields/DateTimeFieldModel/DateTimeNoTzFieldModel.d.ts +0 -6
  386. package/es/flow/models/fields/DateTimeFieldModel/DateTimeTzFieldModel.d.ts +0 -7
  387. package/es/flow/models/fields/DateTimeFieldModel/index.d.ts +0 -11
  388. package/es/flow/models/fields/DisplayAssociationField/DisplaySubItemFieldModel.d.ts +0 -26
  389. package/es/flow/models/fields/DisplayAssociationField/DisplaySubListFieldModel.d.ts +0 -26
  390. package/es/flow/models/fields/DisplayAssociationField/DisplaySubTableFieldModel.d.ts +0 -20
  391. package/es/flow/models/fields/DisplayAssociationField/index.d.ts +0 -11
  392. package/es/flow/models/fields/DisplayCheckboxFieldModel.d.ts +0 -13
  393. package/es/flow/models/fields/DisplayColorFieldModel.d.ts +0 -13
  394. package/es/flow/models/fields/DisplayDateTimeFieldModel.d.ts +0 -13
  395. package/es/flow/models/fields/DisplayEnumFieldModel.d.ts +0 -14
  396. package/es/flow/models/fields/DisplayHtmlFieldModel.d.ts +0 -13
  397. package/es/flow/models/fields/DisplayIconFieldModel.d.ts +0 -13
  398. package/es/flow/models/fields/DisplayJSONFieldModel.d.ts +0 -13
  399. package/es/flow/models/fields/DisplayNumberFieldModel.d.ts +0 -33
  400. package/es/flow/models/fields/DisplayPasswordFieldModel.d.ts +0 -13
  401. package/es/flow/models/fields/DisplayPercentFieldModel.d.ts +0 -13
  402. package/es/flow/models/fields/DisplayTextFieldModel.d.ts +0 -13
  403. package/es/flow/models/fields/DisplayTimeFieldModel.d.ts +0 -13
  404. package/es/flow/models/fields/DisplayTitleFieldModel.d.ts +0 -18
  405. package/es/flow/models/fields/DisplayURLFieldModel.d.ts +0 -13
  406. package/es/flow/models/fields/DividerItemModel.d.ts +0 -13
  407. package/es/flow/models/fields/IconFieldModel.d.ts +0 -13
  408. package/es/flow/models/fields/InputFieldModel.d.ts +0 -13
  409. package/es/flow/models/fields/JSEditableFieldModel.d.ts +0 -27
  410. package/es/flow/models/fields/JSFieldModel.d.ts +0 -45
  411. package/es/flow/models/fields/JSItemModel.d.ts +0 -27
  412. package/es/flow/models/fields/JsonFieldModel.d.ts +0 -6
  413. package/es/flow/models/fields/MarkdownItemModel.d.ts +0 -14
  414. package/es/flow/models/fields/NumberFieldModel.d.ts +0 -15
  415. package/es/flow/models/fields/PasswordFieldModel.d.ts +0 -13
  416. package/es/flow/models/fields/PercentFieldModel.d.ts +0 -14
  417. package/es/flow/models/fields/RadioGroupFieldModel.d.ts +0 -13
  418. package/es/flow/models/fields/RichTextFieldModel/index.d.ts +0 -14
  419. package/es/flow/models/fields/RichTextFieldModel/registerFontSize.d.ts +0 -9
  420. package/es/flow/models/fields/RichTextFieldModel/registerImageResize.d.ts +0 -9
  421. package/es/flow/models/fields/RichTextFieldModel/registerSmartBreak.d.ts +0 -12
  422. package/es/flow/models/fields/RichTextFieldModel/style.d.ts +0 -9
  423. package/es/flow/models/fields/SelectFieldModel.d.ts +0 -13
  424. package/es/flow/models/fields/TextareaFieldModel.d.ts +0 -13
  425. package/es/flow/models/fields/TimeFieldModel.d.ts +0 -5
  426. package/es/flow/models/fields/VariableFieldFormModel.d.ts +0 -18
  427. package/es/flow/models/fields/index.d.ts +0 -47
  428. package/es/flow/models/fields/mobile-components/MobileDatePicker.d.ts +0 -10
  429. package/es/flow/models/fields/mobile-components/MobileLazySelect.d.ts +0 -11
  430. package/es/flow/models/fields/mobile-components/MobileSelect.d.ts +0 -10
  431. package/es/flow/models/fields/mobile-components/MobileTimePicker.d.ts +0 -10
  432. package/es/flow/models/index.d.ts +0 -12
  433. package/es/flow/models/utils/resolveRunJsParams.d.ts +0 -19
  434. package/es/flow/resolveViewParamsToViewList.d.ts +0 -20
  435. package/es/flow/utils/blockUtils.d.ts +0 -16
  436. package/es/flow/utils/dispatchEventDeep.d.ts +0 -20
  437. package/es/flow/utils/index.d.ts +0 -10
  438. package/es/flow/utils/useJsonTemplateResolver.d.ts +0 -9
  439. package/es/md-BbvRKckr.mjs +0 -61
  440. package/es/md-oH2RssNY.mjs +0 -61
  441. package/es/route-switch/antd/admin-layout/useApplications.d.ts +0 -12
  442. package/lib/md-BbvRKckr-IQIU5F3r.js +0 -1
  443. package/lib/md-oH2RssNY-IQIU5F3r.js +0 -1
@@ -1,98 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DragCancelEvent, DragEndEvent, DragMoveEvent, DragStartEvent } from '@dnd-kit/core';
10
- import { DragOverlayConfig, FlowModel, GridLayoutData } from '@nocobase/flow-engine';
11
- import type { FlowModelRendererProps } from '@nocobase/flow-engine';
12
- import React from 'react';
13
- export declare const GRID_FLOW_KEY = "gridSettings";
14
- export declare const GRID_STEP = "grid";
15
- interface DefaultStructure {
16
- parent?: FlowModel;
17
- subModels: {
18
- items: FlowModel[];
19
- };
20
- }
21
- export declare class GridModel<T extends {
22
- subModels: {
23
- items: FlowModel[];
24
- };
25
- } = DefaultStructure> extends FlowModel<T> {
26
- subModelBaseClass: string;
27
- gridContainerRef: React.RefObject<HTMLDivElement>;
28
- prevMoveDistance: number;
29
- itemSettingsMenuLevel: number;
30
- itemFlowSettings: Exclude<FlowModelRendererProps['showFlowSettings'], boolean>;
31
- dragOverlayConfig?: DragOverlayConfig;
32
- itemFallback: React.JSX.Element;
33
- private readonly itemExtraToolbarItems;
34
- private dragState?;
35
- private _memoItemFlowSettings?;
36
- protected deriveRowOrder(rows: Record<string, string[][]>, provided?: string[]): string[];
37
- normalizeRowsWithOrder(rows: Record<string, string[][]>, provided?: string[]): {
38
- rows: Record<string, string[][]>;
39
- rowOrder: string[];
40
- };
41
- orderSizesByRowOrder(sizes: Record<string, number[]>, rowOrder: string[]): Record<string, number[]>;
42
- private getItemFlowSettings;
43
- onMount(): void;
44
- saveGridLayout(layout?: GridLayoutData): void;
45
- mergeRowsWithItems(rows: Record<string, string[][]>): Record<string, string[][]>;
46
- resetRows(syncProps?: boolean): void;
47
- private computePointerPosition;
48
- private updateLayoutSnapshot;
49
- private scheduleSnapshotRefresh;
50
- /**
51
- * 根据 slot 类型、位置和配置计算最终的 overlay 尺寸和位置
52
- */
53
- private computeOverlayRect;
54
- private applyPreview;
55
- handleDragStart(event: DragStartEvent): void;
56
- handleDragMove(event: DragMoveEvent): void;
57
- private finishDrag;
58
- handleDragEnd(_event: DragEndEvent): void;
59
- handleDragCancel(_event: DragCancelEvent): void;
60
- renderAddSubModelButton(): JSX.Element;
61
- /**
62
- * 运行态按可见 block 过滤行/列,避免“整行都是 hidden block”但依然保留行间距占位。
63
- * - 配置态(flowSettingsEnabled)保持原始 rows/sizes 以便拖拽和布局编辑。
64
- * - 运行态仅在判断为“整列/整行都不可见”时做过滤,不写回 props/stepParams,布局元数据保持不变。
65
- */
66
- private getVisibleLayout;
67
- render(): React.JSX.Element;
68
- }
69
- /**
70
- * 将多列栅格 rows 转换为移动端单列 rows。
71
- * 遍历原 rows 的行与列顺序,把每个原列(过滤空白列后)变成一个新行(仅一列)。
72
- * 行 key 使用 uid() 生成,保持插入顺序即可。
73
- * @param rows 原始多列 rows
74
- * @returns 单列 rows
75
- */
76
- export declare function transformRowsToSingleColumn(rows: Record<string, string[][]>, options?: {
77
- emptyColumnUid?: string;
78
- }): Record<string, string[][]>;
79
- export declare function recalculateGridSizes({ position, direction, resizeDistance, prevMoveDistance, oldSizes, oldRows, gridContainerWidth, gutter, columnCount, }: {
80
- position: {
81
- rowId: string;
82
- columnIndex: number;
83
- itemIndex: number;
84
- };
85
- direction: 'left' | 'right' | 'bottom' | 'corner';
86
- resizeDistance: number;
87
- prevMoveDistance: number;
88
- oldSizes: Record<string, number[]>;
89
- oldRows: Record<string, string[][]>;
90
- gridContainerWidth: number;
91
- gutter?: number;
92
- columnCount?: number;
93
- }): {
94
- newRows: Record<string, string[][]>;
95
- newSizes: Record<string, number[]>;
96
- moveDistance: number;
97
- };
98
- export {};
@@ -1,20 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { CreateModelOptions } from '@nocobase/flow-engine';
10
- import { PageModel } from './PageModel';
11
- import { DragEndEvent } from '@dnd-kit/core';
12
- import React from 'react';
13
- export declare class ChildPageModel extends PageModel {
14
- tabBarExtraContent: {
15
- left: React.JSX.Element;
16
- };
17
- createPageTabModelOptions: () => CreateModelOptions;
18
- handleDragEnd(event: DragEndEvent): Promise<void>;
19
- render(): React.JSX.Element;
20
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import React from 'react';
10
- import { OldPageModel } from './OldPageModel';
11
- /**
12
- * @deprecated Use `RootPageModel` instead.
13
- */
14
- export declare class MainPageModel extends OldPageModel {
15
- renderFirstTab(): React.JSX.Element;
16
- render(): React.JSX.Element;
17
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { FlowModel } from '@nocobase/flow-engine';
10
- import { PageTabModel } from './PageTabModel';
11
- type PageModelStructure = {
12
- subModels: {
13
- tabs: PageTabModel[];
14
- };
15
- };
16
- /**
17
- * @deprecated Use `PageModel` instead.
18
- */
19
- export declare class OldPageModel extends FlowModel<PageModelStructure> {
20
- }
21
- export {};
@@ -1,53 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DragEndEvent } from '@dnd-kit/core';
10
- import { CreateModelOptions, FlowModel } from '@nocobase/flow-engine';
11
- import React, { ReactNode } from 'react';
12
- import { BasePageTabModel } from './PageTabModel';
13
- type PageModelStructure = {
14
- subModels: {
15
- tabs: BasePageTabModel[];
16
- };
17
- };
18
- export declare class PageModel extends FlowModel<PageModelStructure> {
19
- tabBarExtraContent: {
20
- left?: ReactNode;
21
- right?: ReactNode;
22
- };
23
- private viewActivatedListener?;
24
- private dataSourceDirtyListener?;
25
- private lastSeenEmitterViewActivatedVersion;
26
- private dirtyRefreshScheduled;
27
- private unmounted;
28
- private documentTitleUpdateVersion;
29
- private getActiveTabKey;
30
- private scheduleActiveLifecycleRefresh;
31
- onMount(): void;
32
- protected onUnmount(): void;
33
- invokeTabModelLifecycleMethod(tabActiveKey: string, method: 'onActive' | 'onInactive'): void;
34
- /**
35
- * Resolve configured document title template and update browser tab title.
36
- * Priority:
37
- * 1) page without tabs: page.documentTitle > page title
38
- * 2) page with tabs: activeTab.documentTitle > active tab name
39
- */
40
- updateDocumentTitle(preferredActiveTabKey?: string, retryCount?: number): Promise<void>;
41
- createPageTabModelOptions: () => CreateModelOptions;
42
- mapTabs(): {
43
- key: string;
44
- label: React.JSX.Element;
45
- children: any;
46
- }[];
47
- getFirstTab(): BasePageTabModel;
48
- renderFirstTab(): any;
49
- handleDragEnd(event: DragEndEvent): Promise<void>;
50
- renderTabs(): React.JSX.Element;
51
- render(): React.JSX.Element;
52
- }
53
- export {};
@@ -1,42 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { FlowModel } from '@nocobase/flow-engine';
10
- import React from 'react';
11
- import { BlockGridModel } from '../BlockGridModel';
12
- export declare class BasePageTabModel extends FlowModel<{
13
- subModels: {
14
- grid: BlockGridModel;
15
- };
16
- }> {
17
- onInit(options: any): void;
18
- getTabTitle(defaultTitle?: string): any;
19
- getTabIcon(): any;
20
- renderChildren(): any;
21
- renderHiddenInConfig(): React.JSX.Element;
22
- render(): React.JSX.Element;
23
- }
24
- export declare class RootPageTabModel extends BasePageTabModel {
25
- renderChildren(): React.JSX.Element;
26
- saveStepParams(): Promise<void>;
27
- save(): Promise<void>;
28
- destroy(): Promise<boolean>;
29
- }
30
- export declare class ChildPageTabModel extends BasePageTabModel {
31
- renderChildren(): React.JSX.Element;
32
- }
33
- /**
34
- * @deprecated Use `BasePageTabModel` instead.
35
- */
36
- export declare class PageTabModel extends FlowModel<{
37
- subModels: {
38
- grid: BlockGridModel;
39
- };
40
- }> {
41
- render(): React.JSX.Element;
42
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DragEndEvent } from '@dnd-kit/core';
10
- import { PageModel } from './PageModel';
11
- export declare class RootPageModel extends PageModel {
12
- mounted: boolean;
13
- onMount(): void;
14
- saveStepParams(): Promise<void>;
15
- handleDragEnd(event: DragEndEvent): Promise<void>;
16
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import React from 'react';
10
- import { OldPageModel } from './OldPageModel';
11
- /**
12
- * @deprecated Use `ChildPageModel` instead.
13
- */
14
- export declare class SubPageModel extends OldPageModel {
15
- renderFirstTab(): React.JSX.Element;
16
- render(): React.JSX.Element;
17
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- export * from './ChildPageModel';
10
- export * from './MainPageModel';
11
- export * from './PageModel';
12
- export * from './PageTabModel';
13
- export * from './RootPageModel';
14
- export * from './SubPageModel';
@@ -1,13 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { ButtonProps } from 'antd';
10
- import { ActionModel } from './ActionModel';
11
- export declare class PopupActionModel extends ActionModel {
12
- defaultProps: ButtonProps;
13
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DefaultStructure } from '@nocobase/flow-engine';
10
- import { ActionModel } from './ActionModel';
11
- export declare class RecordActionModel<T extends DefaultStructure = DefaultStructure> extends ActionModel<T> {
12
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DefaultStructure, FlowModel } from '@nocobase/flow-engine';
10
- export declare class RouteModel<T = DefaultStructure> extends FlowModel<T> {
11
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- export * from './ActionGroupModel';
10
- export * from './ActionModel';
11
- export * from './AssociationFieldGroupModel';
12
- export * from './BlockGridModel';
13
- export * from './BlockModel';
14
- export * from './CollectionActionModel';
15
- export * from './CollectionBlockModel';
16
- export * from './CommonItemModel';
17
- export * from './DataBlockModel';
18
- export * from './FieldModel';
19
- export * from './FilterBlockModel';
20
- export * from './GridModel';
21
- export * from './PageModel';
22
- export * from './PopupActionModel';
23
- export * from './RecordActionModel';
24
- export * from './RouteModel';
@@ -1,15 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import React from 'react';
10
- import { FormGridModel } from '../form/FormGridModel';
11
- export declare class AssignFormGridModel extends FormGridModel {
12
- renderAddSubModelButton(): React.JSX.Element;
13
- addOrEnsureItem(fieldName: string, value?: any): void;
14
- getAssignedValues(): Record<string, any>;
15
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import React from 'react';
10
- import { FormItemModel } from '../form/FormItemModel';
11
- /**
12
- * 使用 FormItemModel 的“表单项”包装,内部渲染 VariableInput,并将“常量”映射到临时字段模型。
13
- */
14
- export declare class AssignFormItemModel extends FormItemModel {
15
- assignValue: any;
16
- constructor(options: any);
17
- onInit(options: any): void;
18
- get fieldInit(): any;
19
- get fieldPath(): string | undefined;
20
- getAssignedEntry(): [string, any] | null;
21
- render(): React.JSX.Element;
22
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { SingleRecordResource } from '@nocobase/flow-engine';
10
- import React from 'react';
11
- import { FormBlockModel } from '../form/FormBlockModel';
12
- /**
13
- * 赋值配置表单
14
- */
15
- export declare class AssignFormModel extends FormBlockModel<{
16
- subModels: {
17
- grid: any;
18
- };
19
- }> {
20
- useHooksBeforeRender(): void;
21
- onInit(options: any): void;
22
- createResource(ctx: any, params: any): SingleRecordResource<unknown>;
23
- renderComponent(): React.ReactNode;
24
- setInitialAssignedValues(map: Record<string, any> | undefined): void;
25
- getAssignedValues(): Record<string, any>;
26
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- export * from './AssignFormModel';
10
- export * from './AssignFormGridModel';
11
- export * from './AssignFormItemModel';
@@ -1,12 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { AssociationFieldGroupModel } from '../../base';
10
- export declare class DetailsAssociationFieldGroupModel extends AssociationFieldGroupModel {
11
- static itemModelName: string;
12
- }
@@ -1,37 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { MultiRecordResource, SingleRecordResource } from '@nocobase/flow-engine';
10
- import React from 'react';
11
- import { BlockGridModel, CollectionBlockModel, RecordActionModel } from '../../base';
12
- import { DetailsGridModel } from './DetailsGridModel';
13
- export declare class DetailsBlockModel extends CollectionBlockModel<{
14
- parent?: BlockGridModel;
15
- subModels?: {
16
- grid: DetailsGridModel;
17
- actions?: RecordActionModel[];
18
- };
19
- }> {
20
- static scene: import("../../base").BlockSceneType;
21
- _defaultCustomModelClasses: {
22
- RecordActionGroupModel: string;
23
- DetailsItemModel: string;
24
- DetailsAssociationFieldGroupModel: string;
25
- DetailsCustomItemModel: string;
26
- };
27
- customModelClasses: {};
28
- createResource(ctx: any, params: any): SingleRecordResource<unknown> | MultiRecordResource<unknown>;
29
- onInit(options: any): void;
30
- isMultiRecordResource(): boolean;
31
- getCurrentRecord(): any;
32
- handlePageChange: (page: number) => Promise<void>;
33
- refresh(): Promise<void>;
34
- renderPagination(): React.JSX.Element;
35
- renderConfigureActions(): React.JSX.Element;
36
- renderComponent(): React.JSX.Element;
37
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { FlowModel, FlowModelContext, ModelRenderMode, SubModelItem } from '@nocobase/flow-engine';
10
- export declare class DetailsCustomItemModel extends FlowModel {
11
- static renderMode: ModelRenderMode;
12
- static defineChildren(ctx: FlowModelContext): Promise<SubModelItem[]> | SubModelItem[];
13
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DragOverlayConfig } from '@nocobase/flow-engine';
10
- import React from 'react';
11
- import { FieldModel, GridModel } from '../../base';
12
- import { DetailsBlockModel } from './DetailsBlockModel';
13
- export declare class DetailsGridModel extends GridModel<{
14
- parent: DetailsBlockModel;
15
- subModels: {
16
- items: FieldModel[];
17
- };
18
- }> {
19
- itemFallback: React.JSX.Element;
20
- itemSettingsMenuLevel: number;
21
- itemFlowSettings: {
22
- showBackground: boolean;
23
- style: {
24
- top: number;
25
- left: number;
26
- right: number;
27
- bottom: number;
28
- };
29
- };
30
- dragOverlayConfig: DragOverlayConfig;
31
- renderAddSubModelButton(): React.JSX.Element;
32
- render(): React.JSX.Element;
33
- }
@@ -1,53 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DisplayItemModel, FlowModelContext } from '@nocobase/flow-engine';
10
- import React from 'react';
11
- import { FieldModel } from '../../base';
12
- import { DetailsGridModel } from './DetailsGridModel';
13
- /**
14
- * 从 record 中取值
15
- * @param record 当前行数据
16
- * @param fieldPath 字段路径 (如 "o2m_aa.oho_bb.name")
17
- * @param idx Form.List 的索引
18
- */
19
- export declare function getValueWithIndex(record: any, fieldPath: string, idx?: string[]): any;
20
- export declare class DetailsItemModel extends DisplayItemModel<{
21
- parent: DetailsGridModel;
22
- subModels: {
23
- field: FieldModel;
24
- };
25
- }> {
26
- static defineChildren(ctx: FlowModelContext): {
27
- key: any;
28
- label: string;
29
- refreshTargets: string[];
30
- toggleable: (subModel: any) => boolean;
31
- useModel: string;
32
- createModelOptions: () => {
33
- use: string;
34
- stepParams: {
35
- fieldSettings: {
36
- init: {
37
- dataSourceKey: any;
38
- collectionName: any;
39
- fieldPath: any;
40
- };
41
- };
42
- };
43
- subModels: {
44
- field: {
45
- use: string;
46
- props: any;
47
- };
48
- };
49
- };
50
- }[];
51
- onInit(options: any): void;
52
- renderItem(): React.JSX.Element;
53
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { FlowModelContext, type SubModelItem } from '@nocobase/flow-engine';
10
- import { DetailsCustomItemModel } from './DetailsCustomItemModel';
11
- /**
12
- * “JavaScript 字段”菜单入口(详情):
13
- * - 仅用于在“添加字段”菜单中提供一个二级菜单;
14
- * - 子项为当前集合可选字段;
15
- * - 点击后创建 DetailsItemModel,并将其 subModels.field 固定为 JSFieldModel。
16
- */
17
- export declare class DetailsJSFieldItemModel extends DetailsCustomItemModel {
18
- static defineChildren(ctx: FlowModelContext): Promise<SubModelItem[]>;
19
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- export * from './DetailsAssociationFieldGroupModel';
10
- export * from './DetailsBlockModel';
11
- export * from './DetailsCustomItemModel';
12
- export * from './DetailsGridModel';
13
- export * from './DetailsItemModel';
14
- export * from './DetailsJSFieldItemModel';
@@ -1,16 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- /// <reference types="react" />
10
- export declare const useDetailsGridHeight: ({ heightMode, containerRef, actionsRef, paginationRef, deps, }: {
11
- heightMode?: string;
12
- containerRef: React.RefObject<HTMLDivElement>;
13
- actionsRef: React.RefObject<HTMLDivElement>;
14
- paginationRef: React.RefObject<HTMLDivElement>;
15
- deps?: import("react").DependencyList;
16
- }) => number;