@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,46 +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 { CollectionField, MultiRecordResource } from '@nocobase/flow-engine';
10
- import React from 'react';
11
- import { AssociationFieldModel } from './AssociationFieldModel';
12
- import { type AssociationOption, type LazySelectProps } from './recordSelectShared';
13
- type HydrateStatus = 'pending' | 'done';
14
- type HydrationCandidate = {
15
- item: AssociationOption;
16
- tk: any;
17
- tkKey: string;
18
- };
19
- export declare function collectAssociationHydrationCandidates(options: {
20
- value: LazySelectProps['value'];
21
- isMultiple: boolean;
22
- valueKey: string;
23
- labelKey: string;
24
- statusMap: Map<string, HydrateStatus>;
25
- }): HydrationCandidate[];
26
- export declare function CreateContent({ model, toOne }: {
27
- model: any;
28
- toOne?: boolean;
29
- }): React.JSX.Element;
30
- export declare class RecordSelectFieldModel extends AssociationFieldModel {
31
- resource: MultiRecordResource;
32
- get collectionField(): CollectionField;
33
- onInit(options: any): void;
34
- set onPopupScroll(fn: any);
35
- set onDropdownVisibleChange(fn: any);
36
- set onSearch(fn: any);
37
- setDataSource(dataSource: any): void;
38
- getDataSource(): any;
39
- getFilterValue(): any;
40
- protected onMount(): void;
41
- set onModalAddClick(fn: any);
42
- set onDropdownAddClick(fn: any);
43
- change(value: any): void;
44
- render(): React.JSX.Element;
45
- }
46
- export {};
@@ -1,32 +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 { AssociationFieldModel } from './AssociationFieldModel';
11
- declare class FormAssociationFieldModel extends AssociationFieldModel {
12
- onInit(options: any): void;
13
- }
14
- export declare const ObjectNester: (props: any) => React.JSX.Element;
15
- export declare class SubFormFieldModel extends FormAssociationFieldModel {
16
- updateAssociation: boolean;
17
- onInit(options: any): void;
18
- onMount(): void;
19
- render(): React.JSX.Element;
20
- }
21
- export declare class SubFormListFieldModel extends FormAssociationFieldModel {
22
- selectedRows: {
23
- value: any[];
24
- };
25
- updateAssociation: boolean;
26
- onInit(options: any): void;
27
- set onSelectExitRecordClick(fn: any);
28
- change(): void;
29
- onMount(): void;
30
- render(): React.JSX.Element;
31
- }
32
- export {};
@@ -1,32 +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 { EditableItemModel, FlowModelContext, ModelRenderMode } from '@nocobase/flow-engine';
10
- import { TableColumnProps } from 'antd';
11
- import React from 'react';
12
- import { SubTableFieldModel } from '.';
13
- import { FieldModel } from '../../../base/FieldModel';
14
- export declare function FieldWithoutPermissionPlaceholder({ targetModel }: {
15
- targetModel: any;
16
- }): React.JSX.Element;
17
- export interface SubTableColumnModelStructure {
18
- parent: SubTableFieldModel;
19
- subModels: {
20
- field: FieldModel;
21
- };
22
- }
23
- export declare class SubTableColumnModel<T extends SubTableColumnModelStructure = SubTableColumnModelStructure> extends EditableItemModel<T> {
24
- static renderMode: ModelRenderMode;
25
- renderHiddenInConfig(): React.JSX.Element;
26
- static defineChildren(ctx: FlowModelContext): any;
27
- get collection(): any;
28
- onInit(options: any): void;
29
- afterAddAsSubModel(): Promise<void>;
30
- getColumnProps(): TableColumnProps;
31
- renderItem(): any;
32
- }
@@ -1,10 +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
- export declare function SubTableField(props: any): React.JSX.Element;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { AssociationFieldModel } from '../AssociationFieldModel';
3
- import { SubTableColumnModel } from './SubTableColumnModel';
4
- export declare class SubTableFieldModel extends AssociationFieldModel {
5
- selectedRows: {
6
- value: any[];
7
- };
8
- updateAssociation: boolean;
9
- setCurrentPage: any;
10
- currentPageSize: any;
11
- get collection(): any;
12
- getColumns(): any;
13
- render(): React.JSX.Element;
14
- onInit(options: any): void;
15
- set onSelectExitRecordClick(fn: any);
16
- change(): void;
17
- }
18
- export { SubTableColumnModel };
@@ -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
- export * from './AssociationFieldModel';
10
- export * from './RecordSelectFieldModel';
11
- export * from './SubTableFieldModel';
12
- export * from './SubFormFieldModel';
13
- export * from './RecordPickerFieldModel';
14
- export * from './CascadeSelectFieldModel';
15
- export * from './PopupSubTableFieldModel';
@@ -1,94 +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 type ItemChain = {
10
- index?: number;
11
- length?: number;
12
- __is_new__?: boolean;
13
- __is_stored__?: boolean;
14
- value: any;
15
- parentItem?: ItemChain;
16
- };
17
- export type ItemChainResolver = (subPath: string) => boolean;
18
- export type ParentItemAccessors = {
19
- parentPropertiesAccessor: (ctx?: any) => any;
20
- parentItemMetaAccessor: () => any;
21
- parentItemResolverAccessor: () => ItemChainResolver | undefined;
22
- };
23
- export declare function createItemChainGetter(options: {
24
- valueAccessor: () => any;
25
- parentItemAccessor?: () => ItemChain | undefined;
26
- indexAccessor?: () => number | undefined;
27
- lengthAccessor?: () => number | undefined;
28
- isNewAccessor?: () => boolean | undefined;
29
- isStoredAccessor?: () => boolean | undefined;
30
- }): () => ItemChain;
31
- export declare function createRootItemChain(formValues: any): ItemChain;
32
- export declare function resolveRecordPersistenceState(record: any, filterTargetKey: string | string[] | null | undefined): {
33
- record: any;
34
- hasPrimaryKey: boolean;
35
- isNew: boolean;
36
- isStored: boolean;
37
- };
38
- export declare function buildCurrentItemTitle(t: (key: string) => string, collectionField?: any, fallbackName?: string): string;
39
- export declare function createParentItemAccessorsFromContext(options: {
40
- parentContextAccessor: () => any;
41
- fallbackParentPropertiesAccessor?: (ctx?: any) => any;
42
- }): ParentItemAccessors;
43
- export declare function createParentItemAccessorsFromInputArgs(inputArgsAccessor: () => any): ParentItemAccessors;
44
- export declare function createItemChainMetaFactory(options: {
45
- t: (key: string) => string;
46
- title: string;
47
- showIndex?: boolean;
48
- showParentIndex?: boolean;
49
- collectionAccessor: () => any;
50
- propertiesAccessor: (ctx: any) => any;
51
- parentCollectionAccessor?: () => any;
52
- parentPropertiesAccessor?: (ctx: any) => any;
53
- parentItemMetaAccessor?: () => any;
54
- }): any;
55
- export declare function createItemChainResolver(options: {
56
- collectionAccessor: () => any;
57
- propertiesAccessor?: () => unknown;
58
- parentCollectionAccessor?: () => any;
59
- parentPropertiesAccessor?: () => unknown;
60
- parentItemResolverAccessor?: () => ((subPath: string) => boolean) | undefined;
61
- }): (subPath: string) => boolean;
62
- export type ItemChainMetaAndResolverOptions = {
63
- metaFactoryOptions: Parameters<typeof createItemChainMetaFactory>[0];
64
- resolverOptions: Parameters<typeof createItemChainResolver>[0];
65
- };
66
- export declare function createItemChainMetaAndResolver(options: ItemChainMetaAndResolverOptions): {
67
- meta: any;
68
- resolveOnServer: (subPath: string) => boolean;
69
- };
70
- export type AssociationItemChainContextPropertyOptions = {
71
- t: (key: string) => string;
72
- title: string;
73
- showIndex?: boolean;
74
- showParentIndex?: boolean;
75
- collectionAccessor: () => any;
76
- propertiesAccessor: (ctx: any) => any;
77
- resolverPropertiesAccessor?: () => unknown;
78
- parentCollectionAccessor?: () => any;
79
- parentAccessors?: Partial<ParentItemAccessors>;
80
- useParentItemMeta?: boolean;
81
- useParentItemResolver?: boolean;
82
- };
83
- export declare function createAssociationItemChainContextPropertyOptions(options: AssociationItemChainContextPropertyOptions): {
84
- serverOnlyWhenContextParams: true;
85
- meta: any;
86
- resolveOnServer: (subPath: string) => boolean;
87
- cache: false;
88
- };
89
- export declare function createItemChainContextPropertyOptions(options: ItemChainMetaAndResolverOptions): {
90
- serverOnlyWhenContextParams: true;
91
- meta: any;
92
- resolveOnServer: (subPath: string) => boolean;
93
- cache: false;
94
- };
@@ -1,59 +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 { type FlowRuntimeContext } from '@nocobase/flow-engine';
10
- import type { SelectProps } from 'antd';
11
- import React from 'react';
12
- export interface AssociationFieldNames {
13
- label: string;
14
- value: string;
15
- }
16
- export type AssociationOption = Record<string, any>;
17
- export type PopupScrollEvent = Parameters<NonNullable<SelectProps<any>['onPopupScroll']>>[0];
18
- export declare function buildOpenerUids(ctx: FlowRuntimeContext, inputArgs?: Record<string, unknown>): string[];
19
- export interface LazySelectProps extends Omit<SelectProps<any>, 'mode' | 'options' | 'value' | 'onChange'> {
20
- fieldNames: AssociationFieldNames;
21
- value?: AssociationOption | AssociationOption[] | string | string[] | number | number[];
22
- multiple?: boolean;
23
- allowMultiple?: boolean;
24
- keepDropdownOpenOnSelect?: boolean;
25
- options?: AssociationOption[];
26
- valueMode?: 'record' | 'value';
27
- onChange: (option: AssociationOption | AssociationOption[] | string | string[] | number | number[]) => void;
28
- onDropdownVisibleChange?: (open: boolean) => void;
29
- onPopupScroll?: SelectProps<any>['onPopupScroll'];
30
- onSearch?: SelectProps<any>['onSearch'];
31
- loading?: boolean;
32
- onCompositionStart?: (e: any) => void;
33
- onCompositionEnd?: (e: any, flag?: boolean) => void;
34
- quickCreate?: 'none' | 'modalAdd' | 'quickAdd';
35
- onModalAddClick?: (e: any) => void;
36
- onDropdownAddClick?: (e: any) => void;
37
- searchText?: string;
38
- allowCreate?: boolean;
39
- allowEdit?: boolean;
40
- }
41
- export interface LabelByFieldProps {
42
- option: AssociationOption;
43
- fieldNames: AssociationFieldNames;
44
- }
45
- export declare function LabelByField(props: Readonly<LabelByFieldProps>): React.JSX.Element;
46
- export declare function toSelectValue(record: AssociationOption | AssociationOption[] | string | string[] | number | number[] | undefined, fieldNames: AssociationFieldNames, multiple?: boolean, valueMode?: 'record' | 'value', options?: AssociationOption[]): {
47
- label: React.JSX.Element;
48
- value: any;
49
- } | {
50
- label: string | number | AssociationOption;
51
- value: string | number | AssociationOption;
52
- } | ({
53
- label: React.JSX.Element;
54
- value: any;
55
- } | {
56
- label: string | number | AssociationOption;
57
- value: string | number | AssociationOption;
58
- })[];
59
- export declare function resolveOptions(options: AssociationOption[] | undefined, value: AssociationOption | AssociationOption[] | string | string[] | number | number[] | undefined, isMultiple: boolean): AssociationOption[];
@@ -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 React from 'react';
10
- import { FieldModel } from '../base';
11
- export declare class CheckboxFieldModel extends FieldModel {
12
- render(): React.JSX.Element;
13
- }
@@ -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 React from 'react';
10
- import { FieldModel } from '../base';
11
- export declare class CheckboxGroupFieldModel extends FieldModel {
12
- render(): React.JSX.Element;
13
- }
@@ -1,25 +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 { CollectionField } from '@nocobase/flow-engine';
10
- import React from 'react';
11
- import { FieldModel } from '../base';
12
- export declare function transformNestedData(inputData: any): any[];
13
- export declare class ClickableFieldModel extends FieldModel {
14
- get collectionField(): CollectionField;
15
- /**
16
- * 点击打开行为
17
- */
18
- onClick(event: any, currentRecord: any): void;
19
- renderComponent(value: any, wrap?: any): any;
20
- renderInDisplayStyle(value: any, record?: any, isToMany?: any, wrap?: any): React.JSX.Element;
21
- /**
22
- * 基类统一渲染逻辑
23
- */
24
- render(): any;
25
- }
@@ -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 React from 'react';
10
- import { FieldModel } from '../base';
11
- export declare class CollectionSelectorFieldModel extends FieldModel {
12
- render(): React.JSX.Element;
13
- }
@@ -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
- import React from 'react';
10
- import { FieldModel } from '../base';
11
- export declare const NBColorPicker: (props: any) => React.JSX.Element;
12
- export declare class ColorFieldModel extends FieldModel {
13
- render(): React.JSX.Element;
14
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { DateTimeFieldModel } from './DateTimeFieldModel';
3
- export declare const DateOnlyPicker: (props: any) => React.JSX.Element;
4
- export declare class DateOnlyFieldModel extends DateTimeFieldModel {
5
- setProps(componentProps: any): void;
6
- render(): React.JSX.Element;
7
- }
@@ -1,3 +0,0 @@
1
- import { FieldModel } from '../../base';
2
- export declare class DateTimeFieldModel extends FieldModel {
3
- }
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { DateTimeFieldModel } from './DateTimeFieldModel';
3
- export declare const DateTimeNoTzPicker: (props: any) => React.JSX.Element;
4
- export declare class DateTimeNoTzFieldModel extends DateTimeFieldModel {
5
- render(): React.JSX.Element;
6
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { DateTimeFieldModel } from './DateTimeFieldModel';
3
- export declare const DateTimeTzPicker: (props: any) => React.JSX.Element;
4
- export declare class DateTimeTzFieldModel extends DateTimeFieldModel {
5
- setProps(componentProps: any): void;
6
- render(): React.JSX.Element;
7
- }
@@ -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 './DateOnlyFieldModel';
10
- export * from './DateTimeNoTzFieldModel';
11
- export * from './DateTimeTzFieldModel';
@@ -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 React from 'react';
10
- import { FieldModel } from '../../base';
11
- export declare class DisplaySubItemFieldModel extends FieldModel {
12
- disableTitleField: boolean;
13
- subModelBaseClasses: {
14
- action: any;
15
- field: any;
16
- };
17
- getAddSubModelButtonProps(type: 'action' | 'field'): {
18
- subModelBaseClasses: any[];
19
- subModelBaseClass?: undefined;
20
- } | {
21
- subModelBaseClass: any;
22
- subModelBaseClasses?: undefined;
23
- };
24
- onInit(options: any): void;
25
- render(): React.JSX.Element;
26
- }
@@ -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 React from 'react';
10
- import { FieldModel } from '../../base';
11
- export declare class DisplaySubListFieldModel extends FieldModel {
12
- disableTitleField: boolean;
13
- subModelBaseClasses: {
14
- action: any;
15
- field: any;
16
- };
17
- getAddSubModelButtonProps(type: 'action' | 'field'): {
18
- subModelBaseClasses: any[];
19
- subModelBaseClass?: undefined;
20
- } | {
21
- subModelBaseClass: any;
22
- subModelBaseClasses?: undefined;
23
- };
24
- onInit(options: any): void;
25
- render(): React.JSX.Element;
26
- }
@@ -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 React from 'react';
10
- import { FieldModel } from '../../base';
11
- export declare class DisplaySubTableFieldModel extends FieldModel {
12
- disableTitleField: boolean;
13
- defaultOverflowMode: string;
14
- get collection(): any;
15
- get collectionField(): any;
16
- onInit(options: any): void;
17
- afterAddAsSubModel(): Promise<void>;
18
- getBaseColumns(): any[];
19
- render(): React.JSX.Element;
20
- }
@@ -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 './DisplaySubTableFieldModel';
10
- export * from './DisplaySubItemFieldModel';
11
- export * from './DisplaySubListFieldModel';
@@ -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 React from 'react';
10
- import { FieldModel } from '../base';
11
- export declare class DisplayCheckboxFieldModel extends FieldModel {
12
- render(): React.JSX.Element;
13
- }
@@ -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 React from 'react';
10
- import { FieldModel } from '../base';
11
- export declare class DisplayColorFieldModel extends FieldModel {
12
- render(): React.JSX.Element;
13
- }
@@ -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 React from 'react';
10
- import { ClickableFieldModel } from './ClickableFieldModel';
11
- export declare class DisplayDateTimeFieldModel extends ClickableFieldModel {
12
- renderComponent(value: any): React.JSX.Element;
13
- }
@@ -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
- import React from 'react';
10
- import { ClickableFieldModel } from './ClickableFieldModel';
11
- export declare class DisplayEnumFieldModel extends ClickableFieldModel {
12
- isEmpty(value: any): boolean;
13
- renderComponent(value: any): React.JSX.Element[];
14
- }
@@ -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 React from 'react';
10
- import { DisplayTitleFieldModel } from './DisplayTitleFieldModel';
11
- export declare class DisplayHtmlFieldModel extends DisplayTitleFieldModel {
12
- renderComponent(value: any): React.JSX.Element;
13
- }
@@ -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 React from 'react';
10
- import { FieldModel } from '../base';
11
- export declare class DisplayIconFieldModel extends FieldModel {
12
- render(): React.JSX.Element;
13
- }
@@ -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 React from 'react';
10
- import { DisplayTitleFieldModel } from './DisplayTitleFieldModel';
11
- export declare class DisplayJSONFieldModel extends DisplayTitleFieldModel {
12
- renderComponent(value: any): React.JSX.Element;
13
- }