@nocobase/client 1.9.0-beta.9 → 2.0.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 (275) hide show
  1. package/.dumirc.ts +968 -180
  2. package/es/application/Application.d.ts +12 -0
  3. package/es/application/Plugin.d.ts +7 -0
  4. package/es/application/PluginSettingsManager.d.ts +1 -0
  5. package/es/application/WebSocketClient.d.ts +1 -0
  6. package/es/application/components/RouterBridge.d.ts +13 -0
  7. package/es/application/hooks/usePlugin.d.ts +0 -8
  8. package/es/block-configs/BlockConfigsProvider.d.ts +27 -0
  9. package/es/block-configs/index.d.ts +9 -0
  10. package/es/data-source/data-source/DataSource.d.ts +1 -0
  11. package/es/flow/FlowModelRepository.d.ts +32 -0
  12. package/es/flow/FlowPage.d.ts +19 -0
  13. package/es/flow/actions/aclCheck.d.ts +9 -0
  14. package/es/flow/actions/confirm.d.ts +9 -0
  15. package/es/flow/actions/dataLoadingMode.d.ts +9 -0
  16. package/es/flow/actions/dataScope.d.ts +9 -0
  17. package/es/flow/actions/dateTimeFormat.d.ts +9 -0
  18. package/es/flow/actions/displayFieldComponent.d.ts +19 -0
  19. package/es/flow/actions/fieldComponent.d.ts +9 -0
  20. package/es/flow/actions/index.d.ts +26 -0
  21. package/es/flow/actions/layout.d.ts +10 -0
  22. package/es/flow/actions/linkageRules.d.ts +19 -0
  23. package/es/flow/actions/openView.d.ts +26 -0
  24. package/es/flow/actions/overflowMode.d.ts +9 -0
  25. package/es/flow/actions/pattern.d.ts +9 -0
  26. package/es/flow/actions/renderMode.d.ts +9 -0
  27. package/es/flow/actions/required.d.ts +9 -0
  28. package/es/flow/actions/runjs.d.ts +9 -0
  29. package/es/flow/actions/sortingRules.d.ts +9 -0
  30. package/es/flow/actions/titleField.d.ts +10 -0
  31. package/es/flow/actions/validation.d.ts +9 -0
  32. package/es/flow/components/BlockItemCard.d.ts +13 -0
  33. package/es/flow/components/ConditionBuilder.d.ts +15 -0
  34. package/es/flow/components/DefaultValue.d.ts +19 -0
  35. package/es/flow/components/DynamicFlowsIcon.d.ts +13 -0
  36. package/es/flow/components/EllipsisWithTooltip.d.ts +17 -0
  37. package/es/flow/components/ExpiresRadio/index.d.ts +12 -0
  38. package/es/flow/components/FieldAssignValueInput.d.ts +21 -0
  39. package/es/flow/components/Grid/index.d.ts +16 -0
  40. package/es/flow/components/JsonEditor.d.ts +19 -0
  41. package/es/flow/components/JsonInput.d.ts +10 -0
  42. package/es/flow/components/SkeletonFallback.d.ts +10 -0
  43. package/es/flow/components/TextAreaWithContextSelector.d.ts +29 -0
  44. package/es/flow/components/code-editor/completions/index.d.ts +11 -0
  45. package/es/flow/components/code-editor/core/EditorCore.d.ts +23 -0
  46. package/es/flow/components/code-editor/errorHelpers.d.ts +17 -0
  47. package/es/flow/components/code-editor/hooks/useCodeRunner.d.ts +20 -0
  48. package/es/flow/components/code-editor/hooks/useRunJSDocCompletions.d.ts +15 -0
  49. package/es/flow/components/code-editor/htmlCompletion.d.ts +11 -0
  50. package/es/flow/components/code-editor/index.d.ts +28 -0
  51. package/es/flow/components/code-editor/javascriptCompletion.d.ts +11 -0
  52. package/es/flow/components/code-editor/javascriptHtmlTemplate.d.ts +16 -0
  53. package/es/flow/components/code-editor/linter.d.ts +9 -0
  54. package/es/flow/components/code-editor/panels/LogsPanel.d.ts +15 -0
  55. package/es/flow/components/code-editor/panels/RightExtra.d.ts +16 -0
  56. package/es/flow/components/code-editor/panels/SnippetsDrawer.d.ts +18 -0
  57. package/es/flow/components/code-editor/runjsCompletions.d.ts +21 -0
  58. package/es/flow/components/code-editor/snippets/loader.d.ts +19 -0
  59. package/es/flow/components/code-editor/types.d.ts +16 -0
  60. package/es/flow/components/decorator/index.d.ts +9 -0
  61. package/es/flow/components/decorator/injectable.d.ts +19 -0
  62. package/es/flow/components/drag-drop/Sortable.d.ts +12 -0
  63. package/es/flow/components/drag-drop/SortableItem.d.ts +12 -0
  64. package/es/flow/components/drag-drop/index.d.ts +10 -0
  65. package/es/flow/components/filter/FilterContainer.d.ts +67 -0
  66. package/es/flow/components/filter/FilterGroup.d.ts +65 -0
  67. package/es/flow/components/filter/FilterItem.d.ts +40 -0
  68. package/es/flow/components/filter/LinkageFilterItem.d.ts +24 -0
  69. package/es/flow/components/filter/VariableFilterItem.d.ts +34 -0
  70. package/es/flow/components/filter/fieldsToOptions.d.ts +9 -0
  71. package/es/flow/components/filter/index.d.ts +16 -0
  72. package/es/flow/components/index.d.ts +14 -0
  73. package/es/flow/components/placeholders/BlockPlaceholder.d.ts +10 -0
  74. package/es/flow/components/placeholders/FieldPlaceholder.d.ts +10 -0
  75. package/es/flow/flows/openViewFlow.d.ts +17 -0
  76. package/es/flow/formily/ReactiveField.d.ts +19 -0
  77. package/es/flow/formily/index.d.ts +8 -0
  78. package/es/flow/getViewDiffAndUpdateHidden.d.ts +20 -0
  79. package/es/flow/index.d.ts +17 -0
  80. package/es/flow/internal/components/Markdown/DisplayMarkdown.d.ts +10 -0
  81. package/es/flow/internal/components/Markdown/markdown-it-plugins/mermaidPlugin.d.ts +13 -0
  82. package/es/flow/internal/components/Markdown/md.d.ts +11 -0
  83. package/es/flow/internal/components/Markdown/style.d.ts +9 -0
  84. package/es/flow/internal/components/Markdown/util.d.ts +15 -0
  85. package/es/flow/internal/constants/HeightMode.d.ts +13 -0
  86. package/es/flow/internal/index.d.ts +11 -0
  87. package/es/flow/internal/utils/blockUtils.d.ts +16 -0
  88. package/es/flow/internal/utils/dateTimeUtils.d.ts +10 -0
  89. package/es/flow/internal/utils/enumOptionsUtils.d.ts +23 -0
  90. package/es/flow/models/actions/AddNewActionModel.d.ts +15 -0
  91. package/es/flow/models/actions/BulkDeleteActionModel.d.ts +15 -0
  92. package/es/flow/models/actions/DeleteActionModel.d.ts +15 -0
  93. package/es/flow/models/actions/EditActionModel.d.ts +15 -0
  94. package/es/flow/models/actions/FilterActionModel.d.ts +80 -0
  95. package/es/flow/models/actions/JSCollectionActionModel.d.ts +14 -0
  96. package/es/flow/models/actions/JSRecordActionModel.d.ts +14 -0
  97. package/es/flow/models/actions/PopupCollectionActionModel.d.ts +14 -0
  98. package/es/flow/models/actions/RefreshActionModel.d.ts +14 -0
  99. package/es/flow/models/actions/UpdateActionModel.d.ts +21 -0
  100. package/es/flow/models/actions/ViewActionModel.d.ts +15 -0
  101. package/es/flow/models/actions/index.d.ts +19 -0
  102. package/es/flow/models/base/ActionGroupModel.d.ts +28 -0
  103. package/es/flow/models/base/ActionModel.d.ts +35 -0
  104. package/es/flow/models/base/AssociationFieldGroupModel.d.ts +49 -0
  105. package/es/flow/models/base/BlockGridModel.d.ts +19 -0
  106. package/es/flow/models/base/BlockModel.d.ts +26 -0
  107. package/es/flow/models/base/CollectionActionModel.d.ts +12 -0
  108. package/es/flow/models/base/CollectionBlockModel.d.ts +129 -0
  109. package/es/flow/models/base/CommonItemModel.d.ts +11 -0
  110. package/es/flow/models/base/DataBlockModel.d.ts +12 -0
  111. package/es/flow/models/base/FieldModel.d.ts +11 -0
  112. package/es/flow/models/base/FilterBlockModel.d.ts +12 -0
  113. package/es/flow/models/base/GridModel.d.ts +56 -0
  114. package/es/flow/models/base/PageModel/ChildPageModel.d.ts +19 -0
  115. package/es/flow/models/base/PageModel/MainPageModel.d.ts +17 -0
  116. package/es/flow/models/base/PageModel/OldPageModel.d.ts +21 -0
  117. package/es/flow/models/base/PageModel/PageModel.d.ts +34 -0
  118. package/es/flow/models/base/PageModel/PageTabModel.d.ts +40 -0
  119. package/es/flow/models/base/PageModel/RootPageModel.d.ts +14 -0
  120. package/es/flow/models/base/PageModel/SubPageModel.d.ts +17 -0
  121. package/es/flow/models/base/PageModel/index.d.ts +14 -0
  122. package/es/flow/models/base/PopupActionModel.d.ts +13 -0
  123. package/es/flow/models/base/RecordActionModel.d.ts +12 -0
  124. package/es/flow/models/base/RouteModel.d.ts +11 -0
  125. package/es/flow/models/base/index.d.ts +24 -0
  126. package/es/flow/models/blocks/assign-form/AssignFormGridModel.d.ts +15 -0
  127. package/es/flow/models/blocks/assign-form/AssignFormItemModel.d.ts +22 -0
  128. package/es/flow/models/blocks/assign-form/AssignFormModel.d.ts +24 -0
  129. package/es/flow/models/blocks/assign-form/index.d.ts +11 -0
  130. package/es/flow/models/blocks/details/DetailsAssociationFieldGroupModel.d.ts +12 -0
  131. package/es/flow/models/blocks/details/DetailsBlockModel.d.ts +36 -0
  132. package/es/flow/models/blocks/details/DetailsCustomItemModel.d.ts +13 -0
  133. package/es/flow/models/blocks/details/DetailsGridModel.d.ts +29 -0
  134. package/es/flow/models/blocks/details/DetailsItemModel.d.ts +53 -0
  135. package/es/flow/models/blocks/details/DetailsJSFieldItemModel.d.ts +19 -0
  136. package/es/flow/models/blocks/details/index.d.ts +14 -0
  137. package/es/flow/models/blocks/filter-form/FilterFormActionGroupModel.d.ts +13 -0
  138. package/es/flow/models/blocks/filter-form/FilterFormActionModel.d.ts +11 -0
  139. package/es/flow/models/blocks/filter-form/FilterFormBlockModel.d.ts +29 -0
  140. package/es/flow/models/blocks/filter-form/FilterFormCollapseActionModel.d.ts +18 -0
  141. package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +29 -0
  142. package/es/flow/models/blocks/filter-form/FilterFormItemModel.d.ts +90 -0
  143. package/es/flow/models/blocks/filter-form/FilterFormJSActionModel.d.ts +11 -0
  144. package/es/flow/models/blocks/filter-form/FilterFormResetActionModel.d.ts +13 -0
  145. package/es/flow/models/blocks/filter-form/FilterFormSubmitActionModel.d.ts +15 -0
  146. package/es/flow/models/blocks/filter-form/fields/FilterFormFieldModel.d.ts +11 -0
  147. package/es/flow/models/blocks/filter-form/fields/date-time/DateOnlyFilterFieldModel.d.ts +14 -0
  148. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeFilterFieldModel.d.ts +5 -0
  149. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeNoTzFilterFieldModel.d.ts +13 -0
  150. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeTzFilterFieldModel.d.ts +14 -0
  151. package/es/flow/models/blocks/filter-form/fields/date-time/components/DateFilterDynamicComponent.d.ts +10 -0
  152. package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterDatePicker.d.ts +10 -0
  153. package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterRangePicker.d.ts +10 -0
  154. package/es/flow/models/blocks/filter-form/fields/date-time/index.d.ts +11 -0
  155. package/es/flow/models/blocks/filter-form/fields/index.d.ts +10 -0
  156. package/es/flow/models/blocks/filter-form/index.d.ts +18 -0
  157. package/es/flow/models/blocks/filter-manager/FilterManager.d.ts +141 -0
  158. package/es/flow/models/blocks/filter-manager/flow-actions/connectFields.d.ts +10 -0
  159. package/es/flow/models/blocks/filter-manager/flow-actions/defaultOperator.d.ts +11 -0
  160. package/es/flow/models/blocks/filter-manager/flow-actions/index.d.ts +10 -0
  161. package/es/flow/models/blocks/filter-manager/index.d.ts +11 -0
  162. package/es/flow/models/blocks/filter-manager/utils.d.ts +21 -0
  163. package/es/flow/models/blocks/form/CreateFormModel.d.ts +19 -0
  164. package/es/flow/models/blocks/form/EditFormModel.d.ts +22 -0
  165. package/es/flow/models/blocks/form/FormActionGroupModel.d.ts +13 -0
  166. package/es/flow/models/blocks/form/FormActionModel.d.ts +21 -0
  167. package/es/flow/models/blocks/form/FormBlockModel.d.ts +52 -0
  168. package/es/flow/models/blocks/form/FormCustomItemModel.d.ts +13 -0
  169. package/es/flow/models/blocks/form/FormGridModel.d.ts +30 -0
  170. package/es/flow/models/blocks/form/FormItemModel.d.ts +39 -0
  171. package/es/flow/models/blocks/form/FormJSFieldItemModel.d.ts +18 -0
  172. package/es/flow/models/blocks/form/JSFormActionModel.d.ts +11 -0
  173. package/es/flow/models/blocks/form/QuickEditFormModel.d.ts +35 -0
  174. package/es/flow/models/blocks/form/index.d.ts +19 -0
  175. package/es/flow/models/blocks/index.d.ts +15 -0
  176. package/es/flow/models/blocks/js-block/JSBlock.d.ts +15 -0
  177. package/es/flow/models/blocks/js-block/index.d.ts +9 -0
  178. package/es/flow/models/blocks/table/JSColumnModel.d.ts +22 -0
  179. package/es/flow/models/blocks/table/TableActionsColumnModel.d.ts +19 -0
  180. package/es/flow/models/blocks/table/TableAssociationFieldGroupModel.d.ts +12 -0
  181. package/es/flow/models/blocks/table/TableBlockModel.d.ts +77 -0
  182. package/es/flow/models/blocks/table/TableColumnModel.d.ts +20 -0
  183. package/es/flow/models/blocks/table/TableCustomColumnModel.d.ts +12 -0
  184. package/es/flow/models/blocks/table/TableJSFieldItemModel.d.ts +19 -0
  185. package/es/flow/models/blocks/table/TableSelectModel.d.ts +15 -0
  186. package/es/flow/models/blocks/table/index.d.ts +16 -0
  187. package/es/flow/models/blocks/table/utils.d.ts +9 -0
  188. package/es/flow/models/fields/AssociationFieldModel/AssociationFieldModel.d.ts +3 -0
  189. package/es/flow/models/fields/AssociationFieldModel/RecordPickerFieldModel.d.ts +26 -0
  190. package/es/flow/models/fields/AssociationFieldModel/RecordSelectFieldModel.d.ts +25 -0
  191. package/es/flow/models/fields/AssociationFieldModel/SubFormFieldModel.d.ts +25 -0
  192. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableColumnModel.d.ts +29 -0
  193. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableField.d.ts +10 -0
  194. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +16 -0
  195. package/es/flow/models/fields/AssociationFieldModel/index.d.ts +13 -0
  196. package/es/flow/models/fields/CheckboxFieldModel.d.ts +13 -0
  197. package/es/flow/models/fields/CheckboxGroupFieldModel.d.ts +13 -0
  198. package/es/flow/models/fields/ClickableFieldModel.d.ts +24 -0
  199. package/es/flow/models/fields/CollectionSelectorFieldModel.d.ts +13 -0
  200. package/es/flow/models/fields/ColorFieldModel.d.ts +14 -0
  201. package/es/flow/models/fields/DateTimeFieldModel/DateOnlyFieldModel.d.ts +7 -0
  202. package/es/flow/models/fields/DateTimeFieldModel/DateTimeFieldModel.d.ts +3 -0
  203. package/es/flow/models/fields/DateTimeFieldModel/DateTimeNoTzFieldModel.d.ts +6 -0
  204. package/es/flow/models/fields/DateTimeFieldModel/DateTimeTzFieldModel.d.ts +7 -0
  205. package/es/flow/models/fields/DateTimeFieldModel/index.d.ts +11 -0
  206. package/es/flow/models/fields/DisplayAssociationField/DisplaySubItemFieldModel.d.ts +25 -0
  207. package/es/flow/models/fields/DisplayAssociationField/DisplaySubListFieldModel.d.ts +25 -0
  208. package/es/flow/models/fields/DisplayAssociationField/DisplaySubTableFieldModel.d.ts +18 -0
  209. package/es/flow/models/fields/DisplayAssociationField/index.d.ts +11 -0
  210. package/es/flow/models/fields/DisplayCheckboxFieldModel.d.ts +13 -0
  211. package/es/flow/models/fields/DisplayColorFieldModel.d.ts +13 -0
  212. package/es/flow/models/fields/DisplayDateTimeFieldModel.d.ts +13 -0
  213. package/es/flow/models/fields/DisplayEnumFieldModel.d.ts +13 -0
  214. package/es/flow/models/fields/DisplayHtmlFieldModel.d.ts +13 -0
  215. package/es/flow/models/fields/DisplayIconFieldModel.d.ts +13 -0
  216. package/es/flow/models/fields/DisplayJSONFieldModel.d.ts +13 -0
  217. package/es/flow/models/fields/DisplayNumberFieldModel.d.ts +31 -0
  218. package/es/flow/models/fields/DisplayPasswordFieldModel.d.ts +13 -0
  219. package/es/flow/models/fields/DisplayPercentFieldModel.d.ts +13 -0
  220. package/es/flow/models/fields/DisplayTextFieldModel.d.ts +13 -0
  221. package/es/flow/models/fields/DisplayTimeFieldModel.d.ts +13 -0
  222. package/es/flow/models/fields/DisplayTitleFieldModel.d.ts +18 -0
  223. package/es/flow/models/fields/DisplayURLFieldModel.d.ts +13 -0
  224. package/es/flow/models/fields/DividerItemModel.d.ts +13 -0
  225. package/es/flow/models/fields/IconFieldModel.d.ts +13 -0
  226. package/es/flow/models/fields/InputFieldModel.d.ts +13 -0
  227. package/es/flow/models/fields/JSEditableFieldModel.d.ts +19 -0
  228. package/es/flow/models/fields/JSFieldModel.d.ts +45 -0
  229. package/es/flow/models/fields/JSItemModel.d.ts +28 -0
  230. package/es/flow/models/fields/JsonFieldModel.d.ts +5 -0
  231. package/es/flow/models/fields/MarkdownItemModel.d.ts +13 -0
  232. package/es/flow/models/fields/NumberFieldModel.d.ts +15 -0
  233. package/es/flow/models/fields/PasswordFieldModel.d.ts +13 -0
  234. package/es/flow/models/fields/PercentFieldModel.d.ts +14 -0
  235. package/es/flow/models/fields/RadioGroupFieldModel.d.ts +13 -0
  236. package/es/flow/models/fields/RichTextFieldModel/index.d.ts +14 -0
  237. package/es/flow/models/fields/RichTextFieldModel/style.d.ts +9 -0
  238. package/es/flow/models/fields/SelectFieldModel.d.ts +13 -0
  239. package/es/flow/models/fields/TextareaFieldModel.d.ts +13 -0
  240. package/es/flow/models/fields/TimeFieldModel.d.ts +6 -0
  241. package/es/flow/models/fields/UploadFieldModel.d.ts +22 -0
  242. package/es/flow/models/fields/VariableFieldFormModel.d.ts +18 -0
  243. package/es/flow/models/fields/index.d.ts +48 -0
  244. package/es/flow/models/index.d.ts +12 -0
  245. package/es/flow/resolveViewParamsToViewList.d.ts +18 -0
  246. package/es/index-C3fHjsMw.mjs +279 -0
  247. package/es/index.css +1 -1
  248. package/es/index.d.ts +6 -2
  249. package/es/index.mjs +33681 -16035
  250. package/es/md-BbvRKckr.mjs +61 -0
  251. package/es/modules/menu/FlowPageMenuItem.d.ts +19 -0
  252. package/es/nocobase-buildin-plugin/index.d.ts +7 -0
  253. package/es/route-switch/antd/admin-layout/convertRoutesToSchema.d.ts +3 -1
  254. package/es/route-switch/antd/admin-layout/useApplications.d.ts +12 -0
  255. package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
  256. package/es/schema-component/antd/upload/index.d.ts +1 -1
  257. package/es/schema-component/antd/variable/index.d.ts +1 -0
  258. package/lib/index-C3fHjsMw-DwoPC866.js +2081 -0
  259. package/lib/index.css +1 -1
  260. package/lib/index.js +465 -182
  261. package/lib/locale/de-DE.js +1 -1
  262. package/lib/locale/en-US.js +91 -3
  263. package/lib/locale/es-ES.js +1 -1
  264. package/lib/locale/fr-FR.js +1 -1
  265. package/lib/locale/it-IT.js +1 -1
  266. package/lib/locale/ja-JP.js +1 -1
  267. package/lib/locale/ko-KR.js +1 -1
  268. package/lib/locale/nl-NL.js +1 -1
  269. package/lib/locale/pt-BR.js +1 -1
  270. package/lib/locale/uk-UA.js +1 -1
  271. package/lib/locale/zh-CN.js +170 -3
  272. package/lib/locale/zh-TW.js +1 -1
  273. package/lib/md-BbvRKckr-IQIU5F3r.js +1 -0
  274. package/lib/style.css +1 -0
  275. package/package.json +16 -7
package/.dumirc.ts CHANGED
@@ -10,6 +10,7 @@ console.log('process.env.DOC_LANG', lang);
10
10
 
11
11
  export default defineConfig({
12
12
  hash: true,
13
+ mfsu: false,
13
14
  alias: {
14
15
  ...umiConfig.alias,
15
16
  },
@@ -38,12 +39,24 @@ export default defineConfig({
38
39
  // sidebarGroupModePath: ['/components'],
39
40
  nav: [
40
41
  {
41
- title: 'API',
42
- link: '/core/application/application',
42
+ title: 'Learn',
43
+ link: '/learn',
44
+ },
45
+ {
46
+ title: 'Models',
47
+ link: '/models',
43
48
  },
44
49
  {
45
50
  title: 'Components',
46
- link: '/components/action',
51
+ link: '/components',
52
+ },
53
+ {
54
+ title: 'Examples',
55
+ link: '/examples/flow-models/hello-world',
56
+ },
57
+ {
58
+ title: 'API',
59
+ link: '/api/flow-engine',
47
60
  },
48
61
  {
49
62
  title: 'Home site',
@@ -55,362 +68,1137 @@ export default defineConfig({
55
68
  // },
56
69
  ],
57
70
  sidebarEnhance: {
58
- '/core': [
71
+ '/components': [
72
+ {
73
+ title: 'Filter',
74
+ type: 'group',
75
+ children: [
76
+ { title: '概览', link: '/components/filter' },
77
+ { title: 'FilterGroup', link: '/components/filter/filter-group' },
78
+ { title: '自定义 FilterItem', link: '/components/filter/custom-filter-item' },
79
+ { title: '变量筛选项组件', link: '/components/filter/variable-filter-item' },
80
+ ],
81
+ },
82
+ {
83
+ title: 'Variables',
84
+ type: 'group',
85
+ children: [
86
+ { title: '概览', link: '/components/variables' },
87
+ {
88
+ title: 'FlowContextSelector',
89
+ link: '/components/variables/flow-context-selector',
90
+ },
91
+ {
92
+ title: 'VariableInput',
93
+ children: [
94
+ { title: '基础用法', link: '/components/variables/variable-input' },
95
+ { title: '筛选条件', link: '/components/variables/variable-input/scenarios/filter' },
96
+ { title: '联动规则', link: '/components/variables/variable-input/scenarios/linkage-rule' },
97
+ { title: '字段赋值', link: '/components/variables/variable-input/scenarios/assign-fields-value' },
98
+ { title: '数据范围', link: '/components/variables/variable-input/scenarios/data-scope' },
99
+ ],
100
+ },
101
+ { title: 'SlateVariableEditor', link: '/components/variables/slate-variable-editor' },
102
+ { title: 'TextArea with Context Selector', link: '/components/variables/text-area-with-context-selector' },
103
+ ],
104
+ },
105
+ ],
106
+ '/examples': [
59
107
  {
60
- title: 'Application',
108
+ title: 'FlowModel',
61
109
  type: 'group',
62
110
  children: [
63
111
  {
64
- title: 'Application',
65
- link: '/core/application/application',
112
+ title: 'Hello,NocoBase',
113
+ link: '/examples/flow-models/hello-world',
66
114
  },
67
115
  {
68
- title: 'Plugin',
69
- link: '/core/application/plugin',
116
+ title: 'AddSubModelButton',
117
+ link: '/examples/flow-models/sub-model',
70
118
  },
71
119
  {
72
- title: 'PluginManager',
73
- link: '/core/application/plugin-manager',
120
+ title: 'Load model',
121
+ link: '/examples/flow-models/load-model',
74
122
  },
75
123
  {
76
- title: 'RouterManager',
77
- link: '/core/application/router-manager',
124
+ title: 'Fork model',
125
+ link: '/examples/flow-models/fork-model',
78
126
  },
127
+ // {
128
+ // title: 'cleanRun:自动流干净运行',
129
+ // link: '/examples/flow-models/render-in-fork',
130
+ // },
79
131
  {
80
- title: 'PluginSettingsManager',
81
- link: '/core/application/plugin-settings-manager',
132
+ title: '拖拽(DND)',
133
+ link: '/examples/flow-models/dnd',
82
134
  },
83
135
  {
84
- title: 'Request',
85
- link: '/core/request',
136
+ title: '可配置的卡片',
137
+ link: '/examples/flow-models/my-card',
138
+ },
139
+ {
140
+ title: 'Vditor 集成',
141
+ link: '/examples/flow-models/vditor',
142
+ },
143
+ {
144
+ title: 'Markdown 解析',
145
+ link: '/examples/flow-models/markdown',
146
+ },
147
+ {
148
+ title: 'LiquidJS 集成',
149
+ link: '/examples/flow-models/liquidjs',
150
+ },
151
+ {
152
+ title: 'CRUD',
153
+ link: '/examples/flow-models/crud',
154
+ },
155
+ {
156
+ title: '错误回退',
157
+ link: '/examples/flow-models/error-boundary',
158
+ },
159
+ {
160
+ title: '生命周期',
161
+ link: '/examples/flow-models/lifecycle',
162
+ },
163
+ {
164
+ title: 'hidden 属性演示',
165
+ link: '/examples/flow-model-hidden',
86
166
  },
87
167
  ],
88
168
  },
89
169
  {
90
- title: 'UI Schema',
170
+ title: 'FlowDefinition',
91
171
  type: 'group',
92
172
  children: [
93
173
  {
94
- title: 'SchemaComponent',
95
- link: '/core/ui-schema/schema-component',
174
+ title: '属性流',
175
+ link: '/examples/flow-definition/props-flow',
176
+ },
177
+ {
178
+ title: '事件流',
179
+ link: '/examples/flow-definition/event-flow',
180
+ },
181
+ {
182
+ title: 'Context(运行时)',
183
+ link: '/examples/flow-definition/context-runtime',
184
+ },
185
+ {
186
+ title: 'Context(配置态)',
187
+ link: '/examples/flow-definition/context-settings',
188
+ },
189
+ {
190
+ title: 'uiSchema - 步骤配置表单',
191
+ link: '/examples/flow-definition/ui-schema-basic',
192
+ },
193
+ {
194
+ title: '自定义组件(配置表单)',
195
+ link: '/examples/flow-definition/ui-schema-custom-component',
96
196
  },
97
197
  {
98
- title: 'Designable',
99
- link: '/core/ui-schema/designable',
198
+ title: 'defaultParams - 步骤参数默认值',
199
+ link: '/examples/flow-definition/default-params',
100
200
  },
101
201
  {
102
- title: 'SchemaInitializer',
103
- link: '/core/ui-schema/schema-initializer',
202
+ title: 'beforeParamsSave - 步骤参数保存前',
203
+ link: '/examples/flow-definition/before-params-save',
104
204
  },
105
205
  {
106
- title: 'SchemaInitializerManager',
107
- link: '/core/ui-schema/schema-initializer-manager',
206
+ title: 'afterParamsSave - 步骤参数保存后',
207
+ link: '/examples/flow-definition/after-params-save',
108
208
  },
109
209
  {
110
- title: 'SchemaSettings',
111
- link: '/core/ui-schema/schema-settings',
210
+ title: 'handler - 步骤处理函数',
211
+ link: '/examples/flow-definition/handler',
112
212
  },
113
213
  {
114
- title: 'SchemaSettingsManager',
115
- link: '/core/ui-schema/schema-settings-manager',
214
+ title: 'preset - 预设置的配置步骤',
215
+ link: '/examples/flow-definition/preset',
116
216
  },
117
217
  {
118
- title: 'SchemaToolbar',
119
- link: '/core/ui-schema/schema-toolbar',
218
+ title: 'hideInSettings - 在设置界面中隐藏',
219
+ link: '/examples/flow-definition/hide-in-settings',
220
+ },
221
+ {
222
+ title: 'uiMode - 步骤设置的 UI 模式',
223
+ link: '/examples/flow-definition/ui-mode',
224
+ },
225
+ {
226
+ title: '打开预设置的配置表单',
227
+ link: '/examples/flow-definition/open-preset-step-settings-dialog',
228
+ },
229
+ {
230
+ title: '打开流配置表单',
231
+ link: '/examples/flow-definition/open-settings',
232
+ },
233
+ {
234
+ title: 'Flow Registry',
235
+ link: '/examples/flow-definition/flow-registry',
236
+ },
237
+ {
238
+ title: 'Action Registry',
239
+ link: '/examples/flow-definition/action-registry',
240
+ },
241
+ {
242
+ title: 'Event Registry',
243
+ link: '/examples/flow-definition/event-registry',
244
+ },
245
+ ]
246
+ },
247
+ {
248
+ title: 'FlowAction',
249
+ type: 'group',
250
+ children: [
251
+ {
252
+ title: 'FlowAction 示例',
253
+ link: '/examples/flow-actions/example',
120
254
  },
121
255
  ],
122
256
  },
123
257
  {
124
- title: 'Data Source',
258
+ title: 'FlowContext',
125
259
  type: 'group',
126
260
  children: [
127
261
  {
128
- title: 'DataSourceManager',
129
- link: '/core/data-source/data-source-manager',
262
+ title: 'ctx.defineProperty() - 定义属性',
263
+ link: '/examples/flow-context/define-property',
130
264
  },
131
265
  {
132
- title: 'DataSourceManagerProvider',
133
- link: '/core/data-source/data-source-manager-provider',
266
+ title: 'ctx.defineMethod() - 定义方法',
267
+ link: '/examples/flow-context/define-method',
134
268
  },
135
269
  {
136
- title: 'DataSource',
137
- link: '/core/data-source/data-source',
270
+ title: 'ctx.addDelegate() - 代理链',
271
+ link: '/examples/flow-context/add-delegate',
138
272
  },
139
273
  {
140
- title: 'DataSourceProvider',
141
- link: '/core/data-source/data-source-provider',
274
+ title: '异步 ctx 属性的 loading 状态',
275
+ link: '/examples/flow-context/loading',
142
276
  },
143
277
  {
144
- title: 'CollectionManager',
145
- link: '/core/data-source/collection-manager',
278
+ title: 'ctx.model',
279
+ link: '/examples/flow-context/model',
146
280
  },
147
281
  {
148
- title: 'CollectionManagerProvider',
149
- link: '/core/data-source/collection-manager-provider',
282
+ title: 'ctx.ref + ctx.onRefReady',
283
+ link: '/examples/flow-context/ref',
150
284
  },
151
285
  {
152
- title: 'CollectionTemplateManager',
153
- link: '/core/data-source/collection-template-manager',
286
+ title: 'ctx.renderJson',
287
+ link: '/examples/flow-context/render-json',
154
288
  },
155
289
  {
156
- title: 'CollectionTemplate',
157
- link: '/core/data-source/collection-template',
290
+ title: 'ctx.requirejs',
291
+ link: '/examples/flow-context/requirejs',
158
292
  },
159
293
  {
160
- title: 'Collection',
161
- link: '/core/data-source/collection',
294
+ title: 'ctx.requireAsync',
295
+ link: '/examples/flow-context/require-async',
162
296
  },
163
297
  {
164
- title: 'CollectionProvider',
165
- link: '/core/data-source/collection-provider',
298
+ title: 'ctx.runjs',
299
+ link: '/examples/flow-context/runjs',
166
300
  },
167
301
  {
168
- title: 'CollectionMixins',
169
- link: '/core/data-source/collection-mixins',
302
+ title: 'ctx.openView',
303
+ link: '/examples/flow-context/open-view',
170
304
  },
171
305
  {
172
- title: 'CollectionField',
173
- link: '/core/data-source/collection-field',
306
+ title: 'ctx.sql',
307
+ link: '/examples/flow-context/sql',
174
308
  },
175
309
  {
176
- title: 'CollectionFieldInterfaceManager',
177
- link: '/core/data-source/collection-field-interface-manager',
310
+ title: 'ctx.t',
311
+ link: '/examples/flow-context/t',
178
312
  },
179
313
  {
180
- title: 'CollectionFieldInterface',
181
- link: '/core/data-source/collection-field-interface',
314
+ title: 'ctx.i18n',
315
+ link: '/examples/flow-context/i18n',
182
316
  },
183
317
  {
184
- title: 'AssociationProvider',
185
- link: '/core/data-source/association-provider',
318
+ title: 'ctx.api',
319
+ link: '/examples/flow-context/api',
186
320
  },
187
321
  {
188
- title: 'ExtendCollectionsProvider',
189
- link: '/core/data-source/extend-collections-provider',
322
+ title: 'ctx.useResource()',
323
+ link: '/examples/flow-context/use-resource',
190
324
  },
191
325
  {
192
- title: 'Collection Fields To Initializer Items',
193
- link: '/core/data-source/collection-fields-to-initializer-items',
326
+ title: 'ctx.viewer',
327
+ link: '/examples/flow-context/viewer',
194
328
  },
195
- ]
329
+ {
330
+ title: 'ctx.view',
331
+ link: '/examples/flow-context/view',
332
+ },
333
+ {
334
+ title: 'ctx.filterManager',
335
+ link: '/examples/flow-context/filter-manager',
336
+ },
337
+ {
338
+ title: 'ctx.app',
339
+ link: '/examples/flow-context/app',
340
+ },
341
+ {
342
+ title: 'ctx.engine',
343
+ link: '/examples/flow-context/engine',
344
+ },
345
+ {
346
+ title: 'ctx.router',
347
+ link: '/examples/flow-context/router',
348
+ },
349
+ {
350
+ title: 'ctx.route',
351
+ link: '/examples/flow-context/route',
352
+ },
353
+ {
354
+ title: 'ctx.location',
355
+ link: '/examples/flow-context/location',
356
+ },
357
+ {
358
+ title: 'ctx.antd',
359
+ link: '/examples/flow-context/antd',
360
+ },
361
+ {
362
+ title: 'ctx.modal',
363
+ link: '/examples/flow-context/modal',
364
+ },
365
+ {
366
+ title: 'ctx.message',
367
+ link: '/examples/flow-context/message',
368
+ },
369
+ {
370
+ title: 'ctx.notification',
371
+ link: '/examples/flow-context/notification',
372
+ },
373
+ {
374
+ title: 'ctx.dataSourceManager',
375
+ link: '/examples/flow-context/data-source-manager',
376
+ },
377
+ {
378
+ title: 'ctx.dataSource',
379
+ link: '/examples/flow-context/data-source',
380
+ },
381
+ {
382
+ title: 'ctx.collection',
383
+ link: '/examples/flow-context/collection',
384
+ },
385
+ {
386
+ title: 'ctx.collectionField',
387
+ link: '/examples/flow-context/collection-field',
388
+ },
389
+ {
390
+ title: 'ctx.association',
391
+ link: '/examples/flow-context/association',
392
+ },
393
+ {
394
+ title: 'ctx.resource',
395
+ link: '/examples/flow-context/resource',
396
+ },
397
+ {
398
+ title: 'ctx.exit()',
399
+ link: '/examples/flow-context/exit',
400
+ },
401
+ ],
196
402
  },
197
403
  {
198
- title: 'DataBlock',
404
+ title: 'FlowResource',
199
405
  type: 'group',
200
406
  children: [
201
407
  {
202
- title: 'CollectionRecord',
203
- link: '/core/data-block/collection-record',
408
+ title: '简单的 Resource',
409
+ link: '/examples/flow-resources/simple-resource',
204
410
  },
205
411
  {
206
- title: 'CollectionRecordProvider',
207
- link: '/core/data-block/collection-record-provider',
412
+ title: 'APIResource',
413
+ link: '/examples/flow-resources/api-resource',
208
414
  },
209
415
  {
210
- title: 'DataBlockProvider',
211
- link: '/core/data-block/data-block-provider',
416
+ title: 'SingleRecordResource',
417
+ link: '/examples/flow-resources/single-record-resource',
212
418
  },
213
419
  {
214
- title: 'DataBlockResourceProvider',
215
- link: '/core/data-block/data-block-resource-provider',
420
+ title: 'MultiRecordResource',
421
+ link: '/examples/flow-resources/multi-record-resource',
216
422
  },
217
423
  {
218
- title: 'DataBlockRequestProvider',
219
- link: '/core/data-block/data-block-request-provider',
424
+ title: 'SQLResource',
425
+ link: '/examples/flow-resources/sql-resource',
220
426
  },
221
- ]
222
- }
223
- ],
224
- '/components': [
427
+ ],
428
+ },
225
429
  {
226
- title: 'Action',
430
+ title: 'React Hooks',
227
431
  type: 'group',
228
432
  children: [
229
433
  {
230
- "title": "Action",
231
- "link": "/components/action"
434
+ title: 'useFlowEngine',
435
+ link: '/examples/hooks/use-flow-engine',
232
436
  },
233
437
  {
234
- "title": "Filter",
235
- "link": "/components/filter"
438
+ title: 'useFlowContext',
439
+ link: '/examples/hooks/use-flow-context',
236
440
  },
237
441
  {
238
- "title": "LinkageFilter",
239
- "link": "/components/linkage-filter"
442
+ title: 'useFlowEngineContext',
443
+ link: '/examples/hooks/use-flow-engine-context',
240
444
  },
241
- ]
445
+ {
446
+ title: 'useFlowModelContext',
447
+ link: '/examples/hooks/use-flow-model-context',
448
+ },
449
+ {
450
+ title: 'useFlowSettingsContext',
451
+ link: '/examples/hooks/use-flow-settings-context',
452
+ },
453
+ {
454
+ title: 'useFlowViewContext',
455
+ link: '/examples/hooks/use-flow-view-context',
456
+ },
457
+ ],
242
458
  },
243
459
  {
244
- title: 'Field',
460
+ title: '单元测试',
245
461
  type: 'group',
246
462
  children: [
247
463
  {
248
- "title": "Checkbox",
249
- "link": "/components/checkbox"
464
+ title: 'FlowModel 测试',
465
+ link: '/examples/tests/flow-model-test',
250
466
  },
251
467
  {
252
- "title": "Cascader",
253
- "link": "/components/cascader"
468
+ title: '流测试',
469
+ link: '/examples/tests/flow-test',
254
470
  },
471
+ ],
472
+ }
473
+ ],
474
+ '/learn': [
475
+ {
476
+ title: '扩展指南',
477
+ link: '/learn',
478
+ },
479
+ {
480
+ title: '在线编写 & 运行 JS',
481
+ link: '/learn/js-in-nocobase',
482
+ },
483
+ {
484
+ title: 'Quick start',
485
+ type: 'group',
486
+ children: [
255
487
  {
256
- "title": "ColorPicker",
257
- "link": "/components/color-picker"
488
+ title: '编写第一个 FlowModel 插件',
489
+ link: '/learn/flow-model-plugin',
258
490
  },
259
491
  {
260
- "title": "ColorSelect",
261
- "link": "/components/color-select"
492
+ title: '构建可编排的按钮组件',
493
+ link: '/learn/quickstart',
262
494
  },
495
+ ],
496
+ },
497
+ {
498
+ title: '区块扩展',
499
+ type: 'group',
500
+ children: [
263
501
  {
264
- "title": "DatePicker",
265
- "link": "/components/date-picker"
502
+ title: '区块的分类',
503
+ link: '/learn/block-categories',
266
504
  },
267
505
  {
268
- "title": "TimePicker",
269
- "link": "/components/time-picker"
506
+ title: '区块的使用场景',
507
+ link: '/learn/block-scenes',
270
508
  },
509
+ ]
510
+ },
511
+ {
512
+ title: 'Basic',
513
+ type: 'group',
514
+ children: [
271
515
  {
272
- "title": "IconPicker",
273
- "link": "/components/icon-picker"
516
+ title: '创建一个 FlowModel',
517
+ link: '/learn/create-flow-model',
274
518
  },
275
519
  {
276
- "title": "InputNumber",
277
- "link": "/components/input-number"
520
+ title: '什么是 FlowModel',
521
+ link: '/learn/what-is-flow-model',
278
522
  },
279
523
  {
280
- "title": "Input",
281
- "link": "/components/input"
524
+ title: 'FlowModel 的生命周期',
525
+ link: '/learn/lifecycle',
282
526
  },
283
527
  {
284
- "title": "AutoComplete",
285
- "link": "/components/auto-complete"
528
+ title: 'Observable',
529
+ link: '/learn/observable',
286
530
  },
531
+
532
+ // {
533
+ // title: 'Define Collection',
534
+ // link: '/learn/define-collection',
535
+ // },
536
+ // {
537
+ // title: '区块扩展',
538
+ // link: '/learn/block',
539
+ // },
540
+ // {
541
+ // title: '操作扩展',
542
+ // link: '/learn/action',
543
+ // },
544
+ // {
545
+ // title: '字段扩展',
546
+ // link: '/learn/field',
547
+ // },
548
+ ],
549
+ },
550
+ {
551
+ title: '升级指南',
552
+ type: 'group',
553
+ children: [
287
554
  {
288
- "title": "NanoIDInput",
289
- "link": "/components/nanoid-input"
290
- },
555
+ title: '1.0 vs 2.0',
556
+ link: '/learn/1-0-vs-2-0',
557
+ }
558
+ ]
559
+ }
560
+ ],
561
+ '/models': [
562
+ {
563
+ title: 'Overview',
564
+ link: '/models',
565
+ },
566
+ {
567
+ title: '区块',
568
+ type: 'group',
569
+ children: [
291
570
  {
292
- "title": "Password",
293
- "link": "/components/password"
571
+ title: 'BlockModel',
572
+ link: '/models/blocks/block-model',
573
+ extra: '基类',
294
574
  },
295
575
  {
296
- "title": "Percent",
297
- "link": "/components/percent"
576
+ title: 'CollectionBlockModel',
577
+ link: '/models/blocks/collection-block-model',
578
+ extra: '基类',
298
579
  },
299
580
  {
300
- "title": "Radio",
301
- "link": "/components/radio"
581
+ title: 'DataBlockModel',
582
+ link: '/models/blocks/data-block-model',
583
+ extra: '基类',
302
584
  },
303
585
  {
304
- "title": "Select",
305
- "link": "/components/select"
586
+ title: 'FilterBlockModel',
587
+ link: '/models/blocks/filter-block-model',
588
+ extra: '基类',
306
589
  },
307
590
  {
308
- "title": "RemoteSelect",
309
- "link": "/components/remote-select"
591
+ title: 'JSBlockModel',
592
+ link: '/models/blocks/js-block-model',
310
593
  },
594
+ ],
595
+ },
596
+ // {
597
+ // title: '过滤器',
598
+ // type: 'group',
599
+ // children: [
600
+ // {
601
+ // title: 'FormFilterModel',
602
+ // link: '/models/filters/form-filter-model',
603
+ // },
604
+ // ],
605
+ // },
606
+ {
607
+ title: '字段',
608
+ type: 'group',
609
+ children: [
311
610
  {
312
- "title": "TreeSelect",
313
- "link": "/components/tree-select"
611
+ title: 'FieldModel',
612
+ link: '/models/fields/field-model',
613
+ extra: '基类',
314
614
  },
315
615
  {
316
- "title": "Upload",
317
- "link": "/components/upload"
616
+ title: 'ClickableFieldModel',
617
+ link: '/models/fields/clickable-field-model',
618
+ extra: '基类',
318
619
  },
319
620
  {
320
- "title": "CollectionSelect",
321
- "link": "/components/collection-select"
621
+ title: 'DisplayItemModel',
622
+ link: '/models/fields/display-item-model',
322
623
  },
323
624
  {
324
- "title": "Cron",
325
- "link": "/components/cron"
625
+ title: 'EditableItemModel',
626
+ link: '/models/fields/editable-item-model',
326
627
  },
327
628
  {
328
- "title": "Markdown",
329
- "link": "/components/markdown"
629
+ title: 'FilterableItemModel',
630
+ link: '/models/fields/filterable-item-model',
330
631
  },
331
632
  {
332
- "title": "Variable",
333
- "link": "/components/variable"
633
+ title: 'JSFieldModel',
634
+ link: '/models/fields/js-field-model',
334
635
  },
335
636
  {
336
- "title": "QuickEdit",
337
- "link": "/components/quick-edit"
637
+ title: 'JSItemModel',
638
+ link: '/models/fields/js-item-model',
338
639
  },
339
640
  {
340
- "title": "RichText",
341
- "link": "/components/rich-text"
342
- }
343
- ]
641
+ title: 'JSColumnModel',
642
+ link: '/models/fields/js-column-model',
643
+ },
644
+ ],
344
645
  },
345
646
  {
346
- title: 'Block',
647
+ title: '操作',
347
648
  type: 'group',
348
649
  children: [
349
650
  {
350
- "title": "BlockItem",
351
- "link": "/components/block-item"
651
+ title: 'ActionModel',
652
+ link: '/models/actions/action-model',
653
+ extra: '基类',
352
654
  },
353
655
  {
354
- "title": "CardItem",
355
- "link": "/components/card-item"
656
+ title: 'PopupActionModel',
657
+ link: '/models/actions/popup-action-model',
658
+ extra: '基类',
356
659
  },
357
660
  {
358
- "title": "FormItem",
359
- "link": "/components/form-item"
661
+ title: 'FormActionModel',
662
+ link: '/models/actions/form-action-model',
663
+ extra: '基类',
360
664
  },
361
665
  {
362
- "title": "FormV2",
363
- "link": "/components/form-v2"
666
+ title: 'FilterFormActionModel',
667
+ link: '/models/actions/filter-form-action-model',
668
+ extra: '基类',
364
669
  },
365
670
  {
366
- "title": "TableV2",
367
- "link": "/components/table-v2"
671
+ title: 'JSActionModel',
672
+ link: '/models/actions/js-action-model',
368
673
  },
674
+ ],
675
+ },
676
+ ],
677
+ '/api': [
678
+ {
679
+ type: 'group',
680
+ title: 'Flow Engine',
681
+ children: [
369
682
  {
370
- "title": "Details",
371
- "link": "/components/details"
683
+ title: 'Overview',
684
+ link: '/api/flow-engine',
685
+ },
686
+ {
687
+ title: 'FlowEngine',
688
+ link: '/api/flow-engine/flow-engine',
689
+ },
690
+ {
691
+ title: 'FlowContext',
692
+ children: [
693
+ {
694
+ title: 'Overview',
695
+ link: '/api/flow-engine/flow-context',
696
+ },
697
+ {
698
+ title: 'FlowContext',
699
+ link: '/api/flow-engine/flow-context/flow-context',
700
+ },
701
+ {
702
+ title: 'FlowEngineContext',
703
+ link: '/api/flow-engine/flow-context/flow-engine-context',
704
+ },
705
+ {
706
+ title: 'FlowModelContext',
707
+ link: '/api/flow-engine/flow-context/flow-model-context',
708
+ },
709
+ {
710
+ title: 'FlowRuntimeContext',
711
+ link: '/api/flow-engine/flow-context/flow-runtime-context',
712
+ },
713
+ ],
372
714
  },
373
715
  {
374
- "title": "GridCard",
375
- "link": "/components/grid-card"
716
+ title: 'FlowModel',
717
+ children: [
718
+ {
719
+ title: 'Overview',
720
+ link: '/api/flow-engine/flow-model',
721
+ },
722
+ {
723
+ title: 'FlowModel',
724
+ link: '/api/flow-engine/flow-model/flow-model',
725
+ },
726
+ {
727
+ title: 'SubModel',
728
+ link: '/api/flow-engine/flow-model/sub-model',
729
+ },
730
+ {
731
+ title: 'ForkModel',
732
+ link: '/api/flow-engine/flow-model/fork-model',
733
+ },
734
+ ]
376
735
  },
377
736
  {
378
- "title": "Grid",
379
- "link": "/components/grid"
737
+ title: 'FlowModelRenderer',
738
+ link: '/api/flow-engine/flow-model-renderer',
380
739
  },
381
740
  {
382
- "title": "List",
383
- "link": "/components/list"
741
+ title: 'FlowModelRepository',
742
+ link: '/api/flow-engine/flow-model-repository',
743
+ },
744
+ {
745
+ title: 'FlowDefinition',
746
+ link: '/api/flow-engine/flow-definition',
384
747
  },
385
- ]
386
- },
387
- {
388
- title: 'Others',
389
- type: 'group',
390
- children: [
391
748
  {
392
- "title": "Tabs",
393
- "link": "/components/tabs"
749
+ title: 'FlowRegistry',
750
+ link: '/api/flow-engine/flow-registry',
394
751
  },
395
752
  {
396
- "title": "ErrorFallback",
397
- "link": "/components/error-fallback"
753
+ title: 'FlowAction',
754
+ link: '/api/flow-engine/flow-action',
398
755
  },
399
756
  {
400
- "title": "G2Plot",
401
- "link": "/components/g2plot"
757
+ title: 'FlowActionRegistry',
758
+ link: '/api/flow-engine/flow-action-registry',
402
759
  },
403
760
  {
404
- "title": "Menu",
405
- "link": "/components/menu"
761
+ title: 'FlowEventRegistry',
762
+ link: '/api/flow-engine/flow-event-registry',
406
763
  },
407
764
  {
408
- "title": "Pagination",
409
- "link": "/components/pagination"
765
+ title: 'FlowResource',
766
+ children: [
767
+ {
768
+ title: 'Overview',
769
+ link: '/api/flow-engine/flow-resource',
770
+ },
771
+ {
772
+ title: 'APIResource',
773
+ link: '/api/flow-engine/flow-resource/api-resource',
774
+ },
775
+ {
776
+ title: 'SingleRecordResource',
777
+ link: '/api/flow-engine/flow-resource/single-record-resource',
778
+ },
779
+ {
780
+ title: 'MultiRecordResource',
781
+ link: '/api/flow-engine/flow-resource/multi-record-resource',
782
+ },
783
+ {
784
+ title: 'SQLResource',
785
+ link: '/api/flow-engine/flow-resource/sql-resource',
786
+ },
787
+ ],
788
+ },
789
+ {
790
+ title: 'FlowSettings',
791
+ link: '/api/flow-engine/flow-settings',
792
+ },
793
+ {
794
+ title: 'FlowSQLRepository',
795
+ link: '/api/flow-engine/flow-sql-repository',
410
796
  },
411
797
  ]
412
- },
413
- ]
798
+ }
799
+ ],
800
+ // '/core': [
801
+ // // {
802
+ // // title: 'Application',
803
+ // // type: 'group',
804
+ // // children: [
805
+ // // {
806
+ // // title: 'Application',
807
+ // // link: '/core/application/application',
808
+ // // },
809
+ // // {
810
+ // // title: 'PluginManager',
811
+ // // link: '/core/application/plugin-manager',
812
+ // // },
813
+ // // {
814
+ // // title: 'RouterManager',
815
+ // // link: '/core/application/router-manager',
816
+ // // },
817
+ // // {
818
+ // // title: 'PluginSettingsManager',
819
+ // // link: '/core/application/plugin-settings-manager',
820
+ // // },
821
+ // // {
822
+ // // title: 'Request',
823
+ // // link: '/core/request',
824
+ // // },
825
+ // // ],
826
+ // // },
827
+ // {
828
+ // title: 'Quickstart',
829
+ // link: '/core/flow-models/quickstart',
830
+ // },
831
+ // {
832
+ // title: 'FlowEngine',
833
+ // type: 'group',
834
+ // children: [
835
+ // {
836
+ // title: 'Overview',
837
+ // link: '/core/flow-engine',
838
+ // },
839
+ // {
840
+ // title: 'FlowEngine',
841
+ // link: '/core/flow-engine/flow-engine',
842
+ // },
843
+ // {
844
+ // title: 'FlowModelRepository',
845
+ // link: '/core/flow-engine/flow-model-repository',
846
+ // },
847
+ // {
848
+ // title: 'FlowModel',
849
+ // link: '/core/flow-engine/flow-model',
850
+ // },
851
+ // {
852
+ // title: 'FlowSubModel',
853
+ // link: '/core/flow-engine/flow-sub-model',
854
+ // },
855
+ // {
856
+ // title: 'FlowModelRenderer',
857
+ // link: '/core/flow-engine/flow-model-renderer',
858
+ // },
859
+ // {
860
+ // title: 'FlowModelSettings',
861
+ // link: '/core/flow-engine/flow-model-settings',
862
+ // },
863
+ // {
864
+ // title: 'FlowDefinition',
865
+ // link: '/core/flow-engine/flow-definition',
866
+ // },
867
+ // {
868
+ // title: 'FlowResource',
869
+ // link: '/core/flow-engine/flow-resource',
870
+ // },
871
+ // {
872
+ // title: 'FlowContext',
873
+ // children: [
874
+ // {
875
+ // title: 'Overview',
876
+ // link: '/core/flow-engine/flow-context',
877
+ // },
878
+ // {
879
+ // title: 'FlowContext',
880
+ // link: '/core/flow-engine/flow-context/flow-context',
881
+ // },
882
+ // {
883
+ // title: 'FlowEngineContext',
884
+ // link: '/core/flow-engine/flow-context/flow-engine-context',
885
+ // },
886
+ // {
887
+ // title: 'FlowModelContext',
888
+ // link: '/core/flow-engine/flow-context/flow-model-context',
889
+ // },
890
+ // {
891
+ // title: 'FlowRuntimeContext',
892
+ // link: '/core/flow-engine/flow-context/flow-runtime-context',
893
+ // },
894
+ // ],
895
+ // },
896
+ // {
897
+ // title: 'FlowAction',
898
+ // link: '/core/flow-engine/flow-action',
899
+ // },
900
+ // {
901
+ // title: 'FlowHooks',
902
+ // link: '/core/flow-engine/flow-hooks',
903
+ // },
904
+ // ],
905
+ // },
906
+ // {
907
+ // title: 'Flow Models',
908
+ // type: 'group',
909
+ // children: [
910
+ // {
911
+ // title: 'Overview',
912
+ // link: '/core/flow-models',
913
+ // },
914
+ // {
915
+ // title: 'LayoutModel',
916
+ // link: '/core/flow-models/layout-flow-model',
917
+ // },
918
+ // {
919
+ // title: 'LayoutRouteModel',
920
+ // link: '/core/flow-models/layout-route-flow-model',
921
+ // },
922
+ // {
923
+ // title: 'PageModel',
924
+ // link: '/core/flow-models/page-flow-model',
925
+ // },
926
+ // {
927
+ // title: 'PageTabModel',
928
+ // link: '/core/flow-models/page-tab-flow-model',
929
+ // },
930
+ // {
931
+ // title: 'GridModel',
932
+ // link: '/core/flow-models/grid-flow-model',
933
+ // },
934
+ // {
935
+ // title: 'BlockGridModel',
936
+ // link: '/core/flow-models/block-grid-flow-model',
937
+ // },
938
+ // {
939
+ // title: 'BlockModel',
940
+ // link: '/core/flow-models/block-flow-model',
941
+ // },
942
+ // {
943
+ // title: 'FormModel',
944
+ // link: '/core/flow-models/form-flow-model',
945
+ // },
946
+ // {
947
+ // title: 'TableBlockModel',
948
+ // link: '/core/flow-models/table-flow-model',
949
+ // },
950
+ // {
951
+ // title: 'DetailsBlockModel',
952
+ // link: '/core/flow-models/details-flow-model',
953
+ // },
954
+ // {
955
+ // title: 'ListModel',
956
+ // link: '/core/flow-models/list-flow-model',
957
+ // },
958
+ // {
959
+ // title: 'CalendarModel',
960
+ // link: '/core/flow-models/calendar-flow-model',
961
+ // },
962
+
963
+ // {
964
+ // title: 'KanbanModel',
965
+ // link: '/core/flow-models/kanban-flow-model',
966
+ // },
967
+ // {
968
+ // title: 'MapModel',
969
+ // link: '/core/flow-models/map-flow-model',
970
+ // },
971
+ // {
972
+ // title: 'GanttModel',
973
+ // link: '/core/flow-models/gantt-flow-model',
974
+ // },
975
+ // {
976
+ // title: 'ChartModel',
977
+ // link: '/core/flow-models/chart-flow-model',
978
+ // },
979
+ // {
980
+ // title: 'MarkdownModel',
981
+ // link: '/core/flow-models/markdown-flow-model',
982
+ // },
983
+ // {
984
+ // title: 'HtmlModel',
985
+ // link: '/core/flow-models/html-flow-model',
986
+ // },
987
+ // {
988
+ // title: 'iframeModel',
989
+ // link: '/core/flow-models/iframe-flow-model',
990
+ // },
991
+ // {
992
+ // title: 'TimelineModel',
993
+ // link: '/core/flow-models/timeline-flow-model',
994
+ // },
995
+ // {
996
+ // title: 'CollapseModel',
997
+ // link: '/core/flow-models/collapse-flow-model',
998
+ // },
999
+ // ],
1000
+ // },
1001
+ // {
1002
+ // title: 'Flow Actions',
1003
+ // type: 'group',
1004
+ // children: [
1005
+ // {
1006
+ // title: 'Overview',
1007
+ // link: '/core/flow-actions',
1008
+ // },
1009
+ // ],
1010
+ // },
1011
+ // ],
1012
+ // '/components': [
1013
+ // {
1014
+ // title: 'Action',
1015
+ // type: 'group',
1016
+ // children: [
1017
+ // {
1018
+ // "title": "Action",
1019
+ // "link": "/components/action"
1020
+ // },
1021
+ // {
1022
+ // "title": "Filter",
1023
+ // "link": "/components/filter"
1024
+ // },
1025
+ // {
1026
+ // "title": "LinkageFilter",
1027
+ // "link": "/components/linkage-filter"
1028
+ // },
1029
+ // ]
1030
+ // },
1031
+ // {
1032
+ // title: 'Field',
1033
+ // type: 'group',
1034
+ // children: [
1035
+ // {
1036
+ // "title": "Checkbox",
1037
+ // "link": "/components/checkbox"
1038
+ // },
1039
+ // {
1040
+ // "title": "Cascader",
1041
+ // "link": "/components/cascader"
1042
+ // },
1043
+ // {
1044
+ // "title": "ColorPicker",
1045
+ // "link": "/components/color-picker"
1046
+ // },
1047
+ // {
1048
+ // "title": "ColorSelect",
1049
+ // "link": "/components/color-select"
1050
+ // },
1051
+ // {
1052
+ // "title": "DatePicker",
1053
+ // "link": "/components/date-picker"
1054
+ // },
1055
+ // {
1056
+ // "title": "TimePicker",
1057
+ // "link": "/components/time-picker"
1058
+ // },
1059
+ // {
1060
+ // "title": "IconPicker",
1061
+ // "link": "/components/icon-picker"
1062
+ // },
1063
+ // {
1064
+ // "title": "InputNumber",
1065
+ // "link": "/components/input-number"
1066
+ // },
1067
+ // {
1068
+ // "title": "Input",
1069
+ // "link": "/components/input"
1070
+ // },
1071
+ // {
1072
+ // "title": "AutoComplete",
1073
+ // "link": "/components/auto-complete"
1074
+ // },
1075
+ // {
1076
+ // "title": "NanoIDInput",
1077
+ // "link": "/components/nanoid-input"
1078
+ // },
1079
+ // {
1080
+ // "title": "Password",
1081
+ // "link": "/components/password"
1082
+ // },
1083
+ // {
1084
+ // "title": "Percent",
1085
+ // "link": "/components/percent"
1086
+ // },
1087
+ // {
1088
+ // "title": "Radio",
1089
+ // "link": "/components/radio"
1090
+ // },
1091
+ // {
1092
+ // "title": "Select",
1093
+ // "link": "/components/select"
1094
+ // },
1095
+ // {
1096
+ // "title": "RemoteSelect",
1097
+ // "link": "/components/remote-select"
1098
+ // },
1099
+ // {
1100
+ // "title": "TreeSelect",
1101
+ // "link": "/components/tree-select"
1102
+ // },
1103
+ // {
1104
+ // "title": "Upload",
1105
+ // "link": "/components/upload"
1106
+ // },
1107
+ // {
1108
+ // "title": "CollectionSelect",
1109
+ // "link": "/components/collection-select"
1110
+ // },
1111
+ // {
1112
+ // "title": "Cron",
1113
+ // "link": "/components/cron"
1114
+ // },
1115
+ // {
1116
+ // "title": "Markdown",
1117
+ // "link": "/components/markdown"
1118
+ // },
1119
+ // {
1120
+ // "title": "Variable",
1121
+ // "link": "/components/variable"
1122
+ // },
1123
+ // {
1124
+ // "title": "QuickEdit",
1125
+ // "link": "/components/quick-edit"
1126
+ // },
1127
+ // {
1128
+ // "title": "RichText",
1129
+ // "link": "/components/rich-text"
1130
+ // }
1131
+ // ]
1132
+ // },
1133
+ // {
1134
+ // title: 'Block',
1135
+ // type: 'group',
1136
+ // children: [
1137
+ // {
1138
+ // "title": "BlockItem",
1139
+ // "link": "/components/block-item"
1140
+ // },
1141
+ // {
1142
+ // "title": "CardItem",
1143
+ // "link": "/components/card-item"
1144
+ // },
1145
+ // {
1146
+ // "title": "FormItem",
1147
+ // "link": "/components/form-item"
1148
+ // },
1149
+ // {
1150
+ // "title": "FormV2",
1151
+ // "link": "/components/form-v2"
1152
+ // },
1153
+ // {
1154
+ // "title": "TableV2",
1155
+ // "link": "/components/table-v2"
1156
+ // },
1157
+ // {
1158
+ // "title": "Details",
1159
+ // "link": "/components/details"
1160
+ // },
1161
+ // {
1162
+ // "title": "GridCard",
1163
+ // "link": "/components/grid-card"
1164
+ // },
1165
+ // {
1166
+ // "title": "Grid",
1167
+ // "link": "/components/grid"
1168
+ // },
1169
+ // {
1170
+ // "title": "List",
1171
+ // "link": "/components/list"
1172
+ // },
1173
+ // ]
1174
+ // },
1175
+ // {
1176
+ // title: 'Others',
1177
+ // type: 'group',
1178
+ // children: [
1179
+ // {
1180
+ // "title": "Tabs",
1181
+ // "link": "/components/tabs"
1182
+ // },
1183
+ // {
1184
+ // "title": "ErrorFallback",
1185
+ // "link": "/components/error-fallback"
1186
+ // },
1187
+ // {
1188
+ // "title": "G2Plot",
1189
+ // "link": "/components/g2plot"
1190
+ // },
1191
+ // {
1192
+ // "title": "Menu",
1193
+ // "link": "/components/menu"
1194
+ // },
1195
+ // {
1196
+ // "title": "Pagination",
1197
+ // "link": "/components/pagination"
1198
+ // },
1199
+ // ]
1200
+ // },
1201
+ // ]
414
1202
  // '/ui-schema': [
415
1203
  // {
416
1204
  // title: 'Overview',