@nocobase/client 2.1.0-beta.9 → 2.1.1

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 (445) hide show
  1. package/es/ai/index.d.ts +2 -3
  2. package/es/api-client/APIClient.d.ts +1 -2
  3. package/es/application/Application.d.ts +68 -143
  4. package/es/application/CustomRouterContextProvider.d.ts +1 -0
  5. package/es/application/Plugin.d.ts +2 -24
  6. package/es/application/PluginManager.d.ts +7 -36
  7. package/es/application/PluginSettingsManager.d.ts +103 -7
  8. package/es/application/RouteRepository.d.ts +1 -15
  9. package/es/application/RouterManager.d.ts +4 -44
  10. package/es/application/WebSocketClient.d.ts +2 -36
  11. package/es/application/components/index.d.ts +0 -2
  12. package/es/application/hooks/usePlugin.d.ts +2 -2
  13. package/es/application/schema-initializer/context/index.d.ts +1 -1
  14. package/es/application/schema-settings/hooks/useSchemaSettingsRender.d.ts +2 -2
  15. package/es/application/utils/globalDeps.d.ts +7 -0
  16. package/es/application/utils/remotePlugins.d.ts +9 -6
  17. package/es/block-provider/BlockProvider.d.ts +1 -0
  18. package/es/block-provider/TableBlockContextBasicValue.d.ts +25 -0
  19. package/es/block-provider/TableBlockProvider.d.ts +0 -11
  20. package/es/block-provider/index.d.ts +1 -0
  21. package/es/collection-manager/hooks/useCollection_deprecated.d.ts +2 -2
  22. package/es/collection-manager/templates/sql.d.ts +4 -4
  23. package/es/collection-manager/templates/view.d.ts +4 -4
  24. package/es/data-source/collection/utils.d.ts +3 -3
  25. package/es/data-source/data-block/DataBlockProvider.d.ts +1 -1
  26. package/es/global-theme/AntdAppProvider.d.ts +1 -10
  27. package/es/global-theme/compatOldTheme.d.ts +1 -3
  28. package/es/global-theme/customAlgorithm.d.ts +1 -7
  29. package/es/global-theme/defaultTheme.d.ts +1 -3
  30. package/es/global-theme/index.d.ts +2 -29
  31. package/es/global-theme/type.d.ts +1 -56
  32. package/es/index.css +1 -1
  33. package/es/index.d.ts +1 -1
  34. package/es/index.mjs +1519 -108553
  35. package/es/index.mjs.LICENSE.txt +8 -0
  36. package/es/lazy-helper/index.d.ts +8 -6
  37. package/es/modules/actions/associate/utils.d.ts +18 -0
  38. package/es/modules/actions/link/useURLAndHTMLSchema.d.ts +1 -0
  39. package/es/modules/blocks/BlockSchemaToolbar.d.ts +1 -1
  40. package/es/plugin-manager/PinnedPluginListProvider.d.ts +2 -1
  41. package/es/plugin-manager/context.d.ts +1 -4
  42. package/es/{flow/models/actions/JSActionModel.d.ts → pm/AdminSettingsLayoutModel.d.ts} +2 -4
  43. package/es/pm/PluginSetting.d.ts +2 -1
  44. package/es/pm/index.d.ts +1 -0
  45. package/es/{flow/components/placeholders/FieldPlaceholder.d.ts → route-switch/antd/admin-layout/AdminDynamicPage.d.ts} +1 -1
  46. package/es/route-switch/antd/admin-layout/AdminLayoutCompat.d.ts +32 -0
  47. package/es/route-switch/antd/admin-layout/AdminLayoutComponentV1.d.ts +15 -0
  48. package/es/route-switch/antd/admin-layout/AdminLayoutMenuFlowUtils.d.ts +107 -0
  49. package/es/route-switch/antd/admin-layout/AdminLayoutMenuModels.d.ts +69 -0
  50. package/es/route-switch/antd/admin-layout/AdminLayoutMenuUtils.d.ts +164 -0
  51. package/es/route-switch/antd/admin-layout/AdminLayoutModel.d.ts +33 -0
  52. package/es/{application/components/MainComponent.d.ts → route-switch/antd/admin-layout/AdminShellProvider.d.ts} +4 -2
  53. package/es/{flow/components/drag-drop/Sortable.d.ts → route-switch/antd/admin-layout/ResetThemeTokenAndKeepAlgorithm.d.ts} +4 -3
  54. package/es/{ai/tools-manager/hooks/provider.d.ts → route-switch/antd/admin-layout/badge.d.ts} +3 -8
  55. package/es/route-switch/antd/admin-layout/index.d.ts +12 -27
  56. package/es/route-switch/antd/admin-layout/route-runtime.d.ts +20 -0
  57. package/es/route-switch/antd/admin-layout/{convertRoutesToSchema.d.ts → route-types.d.ts} +5 -1
  58. package/es/route-switch/antd/admin-layout/route-utils.d.ts +13 -0
  59. package/es/schema-component/antd/__builtins__/hooks/useToken.d.ts +1 -1
  60. package/es/schema-component/antd/__builtins__/style.d.ts +1 -1
  61. package/es/schema-component/antd/association-field/hooks.d.ts +1 -1
  62. package/es/schema-component/antd/expand-action/Expand.Action.d.ts +1 -1
  63. package/es/schema-component/antd/form-v2/Form.d.ts +5 -0
  64. package/es/schema-component/antd/menu/Menu.d.ts +2 -2
  65. package/es/schema-component/antd/page/Page.d.ts +1 -0
  66. package/es/schema-component/antd/page/pagePopupUtils.d.ts +1 -1
  67. package/es/schema-component/antd/upload/shared.d.ts +4 -0
  68. package/es/schema-initializer/components/CreateRecordAction.d.ts +1 -1
  69. package/es/schema-settings/GeneralSchemaDesigner.d.ts +2 -1
  70. package/es/schema-settings/SchemaSettings.d.ts +3 -1
  71. package/es/schema-settings/SchemaSettingsDefaultValue.d.ts +18 -0
  72. package/es/style/index.d.ts +1 -1
  73. package/es/style/useToken.d.ts +1 -1
  74. package/es/system-settings/SystemSettingsProvider.d.ts +1 -6
  75. package/es/system-settings/SystemSettingsShortcut.d.ts +7 -0
  76. package/es/{flow/components/drag-drop/index.d.ts → system-settings/SystemSettingsSource.d.ts} +1 -2
  77. package/es/system-settings/index.d.ts +2 -1
  78. package/lib/index.css +1 -1
  79. package/lib/index.js +1576 -2164
  80. package/lib/index.js.LICENSE.txt +1 -0
  81. package/lib/locale/de-DE.json +2 -6
  82. package/lib/locale/en-US.json +25 -5
  83. package/lib/locale/es-ES.json +2 -6
  84. package/lib/locale/fr-FR.json +2 -6
  85. package/lib/locale/hu-HU.json +2 -6
  86. package/lib/locale/id-ID.json +2 -6
  87. package/lib/locale/it-IT.json +2 -6
  88. package/lib/locale/ja-JP.json +2 -6
  89. package/lib/locale/ko-KR.json +2 -6
  90. package/lib/locale/nl-NL.json +2 -6
  91. package/lib/locale/pt-BR.json +2 -6
  92. package/lib/locale/ru-RU.json +2 -6
  93. package/lib/locale/tr-TR.json +2 -6
  94. package/lib/locale/uk-UA.json +2 -6
  95. package/lib/locale/vi-VN.json +2 -6
  96. package/lib/locale/zh-CN.json +28 -6
  97. package/lib/locale/zh-TW.json +2 -6
  98. package/package.json +9 -8
  99. package/es/ai/ai-manager.d.ts +0 -15
  100. package/es/ai/tools-manager/hooks/context.d.ts +0 -17
  101. package/es/ai/tools-manager/hooks/index.d.ts +0 -11
  102. package/es/ai/tools-manager/index.d.ts +0 -20
  103. package/es/ai/tools-manager/types.d.ts +0 -80
  104. package/es/ai/utils.d.ts +0 -10
  105. package/es/application/components/AppComponent.d.ts +0 -14
  106. package/es/application/components/defaultComponents.d.ts +0 -19
  107. package/es/application/globalOperators.d.ts +0 -11
  108. package/es/flow/FlowModelRepository.d.ts +0 -36
  109. package/es/flow/FlowPage.d.ts +0 -20
  110. package/es/flow/actions/aclCheck.d.ts +0 -9
  111. package/es/flow/actions/aclCheckRefresh.d.ts +0 -9
  112. package/es/flow/actions/afterSuccess.d.ts +0 -9
  113. package/es/flow/actions/blockHeight.d.ts +0 -9
  114. package/es/flow/actions/columnFixed.d.ts +0 -9
  115. package/es/flow/actions/confirm.d.ts +0 -9
  116. package/es/flow/actions/customVariable.d.ts +0 -9
  117. package/es/flow/actions/dataLoadingMode.d.ts +0 -9
  118. package/es/flow/actions/dataScope.d.ts +0 -9
  119. package/es/flow/actions/dateTimeFormat.d.ts +0 -9
  120. package/es/flow/actions/displayFieldComponent.d.ts +0 -19
  121. package/es/flow/actions/fieldComponent.d.ts +0 -9
  122. package/es/flow/actions/filterFormDefaultValues.d.ts +0 -9
  123. package/es/flow/actions/formAssignRules.d.ts +0 -9
  124. package/es/flow/actions/index.d.ts +0 -40
  125. package/es/flow/actions/layout.d.ts +0 -10
  126. package/es/flow/actions/linkageRules.d.ts +0 -23
  127. package/es/flow/actions/linkageRulesRefresh.d.ts +0 -9
  128. package/es/flow/actions/navigateToURL.d.ts +0 -9
  129. package/es/flow/actions/numberFormat.d.ts +0 -9
  130. package/es/flow/actions/openView.d.ts +0 -15
  131. package/es/flow/actions/overflowMode.d.ts +0 -9
  132. package/es/flow/actions/pattern.d.ts +0 -9
  133. package/es/flow/actions/refreshTargetBlocks.d.ts +0 -9
  134. package/es/flow/actions/renderMode.d.ts +0 -9
  135. package/es/flow/actions/required.d.ts +0 -9
  136. package/es/flow/actions/runjs.d.ts +0 -9
  137. package/es/flow/actions/setTargetDataScope.d.ts +0 -10
  138. package/es/flow/actions/showMessage.d.ts +0 -9
  139. package/es/flow/actions/showNotification.d.ts +0 -9
  140. package/es/flow/actions/sortingRules.d.ts +0 -9
  141. package/es/flow/actions/titleField.d.ts +0 -9
  142. package/es/flow/actions/validation.d.ts +0 -9
  143. package/es/flow/common/Liquid.d.ts +0 -33
  144. package/es/flow/common/Markdown/Display.d.ts +0 -9
  145. package/es/flow/common/Markdown/Edit.d.ts +0 -23
  146. package/es/flow/common/Markdown/Markdown.d.ts +0 -24
  147. package/es/flow/common/Markdown/style.d.ts +0 -10
  148. package/es/flow/common/Markdown/useCDN.d.ts +0 -9
  149. package/es/flow/components/BlockItemCard.d.ts +0 -16
  150. package/es/flow/components/ConditionBuilder.d.ts +0 -17
  151. package/es/flow/components/DefaultValue.d.ts +0 -20
  152. package/es/flow/components/DynamicFlowsIcon.d.ts +0 -13
  153. package/es/flow/components/EllipsisWithTooltip.d.ts +0 -17
  154. package/es/flow/components/ExpiresRadio/index.d.ts +0 -12
  155. package/es/flow/components/FieldAssignEditor.d.ts +0 -32
  156. package/es/flow/components/FieldAssignExactDatePicker.d.ts +0 -23
  157. package/es/flow/components/FieldAssignRulesEditor.d.ts +0 -70
  158. package/es/flow/components/FieldAssignValueInput.d.ts +0 -69
  159. package/es/flow/components/Grid/index.d.ts +0 -26
  160. package/es/flow/components/JsonEditor.d.ts +0 -19
  161. package/es/flow/components/RunJSValueEditor.d.ts +0 -19
  162. package/es/flow/components/SkeletonFallback.d.ts +0 -10
  163. package/es/flow/components/TextAreaWithContextSelector.d.ts +0 -30
  164. package/es/flow/components/code-editor/core/EditorCore.d.ts +0 -25
  165. package/es/flow/components/code-editor/errorHelpers.d.ts +0 -17
  166. package/es/flow/components/code-editor/extension/CodeEditorExtension.d.ts +0 -14
  167. package/es/flow/components/code-editor/extension/index.d.ts +0 -9
  168. package/es/flow/components/code-editor/formatDocInfo.d.ts +0 -17
  169. package/es/flow/components/code-editor/hooks/useCodeRunner.d.ts +0 -23
  170. package/es/flow/components/code-editor/hooks/useRunJSDocCompletions.d.ts +0 -15
  171. package/es/flow/components/code-editor/htmlCompletion.d.ts +0 -11
  172. package/es/flow/components/code-editor/index.d.ts +0 -31
  173. package/es/flow/components/code-editor/javascriptCompletion.d.ts +0 -11
  174. package/es/flow/components/code-editor/javascriptHtmlTemplate.d.ts +0 -16
  175. package/es/flow/components/code-editor/jsxCompletion.d.ts +0 -10
  176. package/es/flow/components/code-editor/linter.d.ts +0 -19
  177. package/es/flow/components/code-editor/panels/LogsPanel.d.ts +0 -15
  178. package/es/flow/components/code-editor/panels/RightExtra.d.ts +0 -18
  179. package/es/flow/components/code-editor/panels/SnippetsDrawer.d.ts +0 -18
  180. package/es/flow/components/code-editor/runjsCompletionSource.d.ts +0 -20
  181. package/es/flow/components/code-editor/runjsCompletions.d.ts +0 -23
  182. package/es/flow/components/code-editor/runjsDiagnostics.d.ts +0 -46
  183. package/es/flow/components/code-editor/types.d.ts +0 -32
  184. package/es/flow/components/drag-drop/SortableItem.d.ts +0 -12
  185. package/es/flow/components/fieldAssignOptions.d.ts +0 -23
  186. package/es/flow/components/filter/FilterContainer.d.ts +0 -67
  187. package/es/flow/components/filter/FilterGroup.d.ts +0 -66
  188. package/es/flow/components/filter/FilterItem.d.ts +0 -40
  189. package/es/flow/components/filter/LinkageFilterItem.d.ts +0 -51
  190. package/es/flow/components/filter/VariableFilterItem.d.ts +0 -37
  191. package/es/flow/components/filter/fieldsToOptions.d.ts +0 -9
  192. package/es/flow/components/filter/index.d.ts +0 -16
  193. package/es/flow/components/index.d.ts +0 -14
  194. package/es/flow/components/placeholders/BlockPlaceholder.d.ts +0 -11
  195. package/es/flow/components/useAssociationTitleFieldSync.d.ts +0 -13
  196. package/es/flow/flows/editMarkdownFlow.d.ts +0 -10
  197. package/es/flow/flows/openViewFlow.d.ts +0 -17
  198. package/es/flow/formily/ReactiveField.d.ts +0 -19
  199. package/es/flow/formily/index.d.ts +0 -8
  200. package/es/flow/getViewDiffAndUpdateHidden.d.ts +0 -21
  201. package/es/flow/index.d.ts +0 -24
  202. package/es/flow/internal/components/Markdown/DisplayMarkdown.d.ts +0 -10
  203. package/es/flow/internal/components/Markdown/markdown-it-plugins/mermaidPlugin.d.ts +0 -13
  204. package/es/flow/internal/components/Markdown/md.d.ts +0 -11
  205. package/es/flow/internal/components/Markdown/style.d.ts +0 -9
  206. package/es/flow/internal/components/Markdown/util.d.ts +0 -15
  207. package/es/flow/internal/constants/HeightMode.d.ts +0 -13
  208. package/es/flow/internal/index.d.ts +0 -11
  209. package/es/flow/internal/utils/associationValueCoercion.d.ts +0 -15
  210. package/es/flow/internal/utils/dateTimeUtils.d.ts +0 -10
  211. package/es/flow/internal/utils/enumOptionsUtils.d.ts +0 -23
  212. package/es/flow/internal/utils/modelUtils.d.ts +0 -27
  213. package/es/flow/internal/utils/operatorSchemaHelper.d.ts +0 -15
  214. package/es/flow/internal/utils/rebuildFieldSubModel.d.ts +0 -33
  215. package/es/flow/internal/utils/saveStepParamsWithSubModels.d.ts +0 -11
  216. package/es/flow/internal/utils/titleFieldQuickSync.d.ts +0 -35
  217. package/es/flow/models/actions/AddChildActionModel.d.ts +0 -16
  218. package/es/flow/models/actions/AddNewActionModel.d.ts +0 -16
  219. package/es/flow/models/actions/BulkDeleteActionModel.d.ts +0 -16
  220. package/es/flow/models/actions/DeleteActionModel.d.ts +0 -15
  221. package/es/flow/models/actions/EditActionModel.d.ts +0 -16
  222. package/es/flow/models/actions/ExpandCollapseActionModel.d.ts +0 -19
  223. package/es/flow/models/actions/FilterActionModel.d.ts +0 -26
  224. package/es/flow/models/actions/JSCollectionActionModel.d.ts +0 -14
  225. package/es/flow/models/actions/JSRecordActionModel.d.ts +0 -14
  226. package/es/flow/models/actions/LinkActionModel.d.ts +0 -15
  227. package/es/flow/models/actions/LinkActionUtils.d.ts +0 -34
  228. package/es/flow/models/actions/PopupCollectionActionModel.d.ts +0 -14
  229. package/es/flow/models/actions/RefreshActionModel.d.ts +0 -14
  230. package/es/flow/models/actions/UpdateRecordActionModel.d.ts +0 -27
  231. package/es/flow/models/actions/UpdateRecordActionUtils.d.ts +0 -12
  232. package/es/flow/models/actions/ViewActionModel.d.ts +0 -15
  233. package/es/flow/models/actions/index.d.ts +0 -23
  234. package/es/flow/models/actions/joinUrlSearch.d.ts +0 -12
  235. package/es/flow/models/base/ActionGroupModel.d.ts +0 -36
  236. package/es/flow/models/base/ActionModel.d.ts +0 -45
  237. package/es/flow/models/base/AssociationFieldGroupModel.d.ts +0 -49
  238. package/es/flow/models/base/BlockGridModel.d.ts +0 -21
  239. package/es/flow/models/base/BlockModel.d.ts +0 -57
  240. package/es/flow/models/base/CollectionActionModel.d.ts +0 -12
  241. package/es/flow/models/base/CollectionBlockModel.d.ts +0 -71
  242. package/es/flow/models/base/CommonItemModel.d.ts +0 -11
  243. package/es/flow/models/base/DataBlockModel.d.ts +0 -12
  244. package/es/flow/models/base/FieldModel.d.ts +0 -17
  245. package/es/flow/models/base/FilterBlockModel.d.ts +0 -12
  246. package/es/flow/models/base/GridModel.d.ts +0 -99
  247. package/es/flow/models/base/PageModel/ChildPageModel.d.ts +0 -21
  248. package/es/flow/models/base/PageModel/MainPageModel.d.ts +0 -17
  249. package/es/flow/models/base/PageModel/OldPageModel.d.ts +0 -21
  250. package/es/flow/models/base/PageModel/PageModel.d.ts +0 -53
  251. package/es/flow/models/base/PageModel/PageTabModel.d.ts +0 -42
  252. package/es/flow/models/base/PageModel/RootPageModel.d.ts +0 -24
  253. package/es/flow/models/base/PageModel/SubPageModel.d.ts +0 -17
  254. package/es/flow/models/base/PageModel/index.d.ts +0 -14
  255. package/es/flow/models/base/PopupActionModel.d.ts +0 -13
  256. package/es/flow/models/base/RecordActionModel.d.ts +0 -12
  257. package/es/flow/models/base/RouteModel.d.ts +0 -11
  258. package/es/flow/models/base/index.d.ts +0 -24
  259. package/es/flow/models/blocks/assign-form/AssignFormGridModel.d.ts +0 -15
  260. package/es/flow/models/blocks/assign-form/AssignFormItemModel.d.ts +0 -22
  261. package/es/flow/models/blocks/assign-form/AssignFormModel.d.ts +0 -26
  262. package/es/flow/models/blocks/assign-form/index.d.ts +0 -11
  263. package/es/flow/models/blocks/details/DetailsAssociationFieldGroupModel.d.ts +0 -12
  264. package/es/flow/models/blocks/details/DetailsBlockModel.d.ts +0 -41
  265. package/es/flow/models/blocks/details/DetailsCustomItemModel.d.ts +0 -13
  266. package/es/flow/models/blocks/details/DetailsGridModel.d.ts +0 -33
  267. package/es/flow/models/blocks/details/DetailsItemModel.d.ts +0 -53
  268. package/es/flow/models/blocks/details/DetailsJSFieldItemModel.d.ts +0 -19
  269. package/es/flow/models/blocks/details/index.d.ts +0 -14
  270. package/es/flow/models/blocks/details/utils.d.ts +0 -16
  271. package/es/flow/models/blocks/filter-form/FieldModelSelect.d.ts +0 -10
  272. package/es/flow/models/blocks/filter-form/FieldOperatorSelect.d.ts +0 -10
  273. package/es/flow/models/blocks/filter-form/FilterFormActionGroupModel.d.ts +0 -13
  274. package/es/flow/models/blocks/filter-form/FilterFormActionModel.d.ts +0 -11
  275. package/es/flow/models/blocks/filter-form/FilterFormBlockModel.d.ts +0 -39
  276. package/es/flow/models/blocks/filter-form/FilterFormCollapseActionModel.d.ts +0 -18
  277. package/es/flow/models/blocks/filter-form/FilterFormCustomItemModel.d.ts +0 -13
  278. package/es/flow/models/blocks/filter-form/FilterFormGridModel.d.ts +0 -43
  279. package/es/flow/models/blocks/filter-form/FilterFormItemModel.d.ts +0 -59
  280. package/es/flow/models/blocks/filter-form/FilterFormJSActionModel.d.ts +0 -11
  281. package/es/flow/models/blocks/filter-form/FilterFormResetActionModel.d.ts +0 -13
  282. package/es/flow/models/blocks/filter-form/FilterFormSubmitActionModel.d.ts +0 -15
  283. package/es/flow/models/blocks/filter-form/SourceCascader.d.ts +0 -10
  284. package/es/flow/models/blocks/filter-form/customFieldOperators.d.ts +0 -34
  285. package/es/flow/models/blocks/filter-form/fields/FieldComponentProps.d.ts +0 -13
  286. package/es/flow/models/blocks/filter-form/fields/FilterFormCustomFieldModel.d.ts +0 -52
  287. package/es/flow/models/blocks/filter-form/fields/FilterFormCustomRecordSelectFieldModel.d.ts +0 -20
  288. package/es/flow/models/blocks/filter-form/fields/FilterFormFieldModel.d.ts +0 -11
  289. package/es/flow/models/blocks/filter-form/fields/FilterFormRecordSelectFieldModel.d.ts +0 -12
  290. package/es/flow/models/blocks/filter-form/fields/date-time/DateOnlyFilterFieldModel.d.ts +0 -14
  291. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeFilterFieldModel.d.ts +0 -13
  292. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeNoTzFilterFieldModel.d.ts +0 -13
  293. package/es/flow/models/blocks/filter-form/fields/date-time/DateTimeTzFilterFieldModel.d.ts +0 -14
  294. package/es/flow/models/blocks/filter-form/fields/date-time/components/DateFilterDynamicComponent.d.ts +0 -10
  295. package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterDatePicker.d.ts +0 -10
  296. package/es/flow/models/blocks/filter-form/fields/date-time/components/FilterRangePicker.d.ts +0 -10
  297. package/es/flow/models/blocks/filter-form/fields/date-time/index.d.ts +0 -12
  298. package/es/flow/models/blocks/filter-form/fields/index.d.ts +0 -13
  299. package/es/flow/models/blocks/filter-form/index.d.ts +0 -23
  300. package/es/flow/models/blocks/filter-form/legacyDefaultValueMigration.d.ts +0 -13
  301. package/es/flow/models/blocks/filter-form/valueNormalization.d.ts +0 -17
  302. package/es/flow/models/blocks/filter-manager/FilterManager.d.ts +0 -141
  303. package/es/flow/models/blocks/filter-manager/flow-actions/connectFields.d.ts +0 -10
  304. package/es/flow/models/blocks/filter-manager/flow-actions/customizeFilterRender.d.ts +0 -10
  305. package/es/flow/models/blocks/filter-manager/flow-actions/defaultOperator.d.ts +0 -9
  306. package/es/flow/models/blocks/filter-manager/flow-actions/index.d.ts +0 -12
  307. package/es/flow/models/blocks/filter-manager/flow-actions/operatorComponentProps.d.ts +0 -10
  308. package/es/flow/models/blocks/filter-manager/index.d.ts +0 -11
  309. package/es/flow/models/blocks/filter-manager/utils.d.ts +0 -21
  310. package/es/flow/models/blocks/form/CreateFormModel.d.ts +0 -22
  311. package/es/flow/models/blocks/form/EditFormModel.d.ts +0 -26
  312. package/es/flow/models/blocks/form/FormActionGroupModel.d.ts +0 -13
  313. package/es/flow/models/blocks/form/FormActionModel.d.ts +0 -21
  314. package/es/flow/models/blocks/form/FormAssociationFieldGroupModel.d.ts +0 -12
  315. package/es/flow/models/blocks/form/FormAssociationItemModel.d.ts +0 -39
  316. package/es/flow/models/blocks/form/FormBlockModel.d.ts +0 -95
  317. package/es/flow/models/blocks/form/FormCustomItemModel.d.ts +0 -13
  318. package/es/flow/models/blocks/form/FormGridModel.d.ts +0 -34
  319. package/es/flow/models/blocks/form/FormItemModel.d.ts +0 -39
  320. package/es/flow/models/blocks/form/FormJSFieldItemModel.d.ts +0 -18
  321. package/es/flow/models/blocks/form/JSFormActionModel.d.ts +0 -11
  322. package/es/flow/models/blocks/form/QuickEditFormModel.d.ts +0 -38
  323. package/es/flow/models/blocks/form/assignRulesUpdateAssociationValues.d.ts +0 -18
  324. package/es/flow/models/blocks/form/dynamicNamePath.d.ts +0 -19
  325. package/es/flow/models/blocks/form/index.d.ts +0 -21
  326. package/es/flow/models/blocks/form/legacyDefaultValueMigration.d.ts +0 -13
  327. package/es/flow/models/blocks/form/submitHandler.d.ts +0 -9
  328. package/es/flow/models/blocks/form/submitValues.d.ts +0 -27
  329. package/es/flow/models/blocks/form/value-runtime/conditions.d.ts +0 -9
  330. package/es/flow/models/blocks/form/value-runtime/deps.d.ts +0 -23
  331. package/es/flow/models/blocks/form/value-runtime/form-patch.d.ts +0 -19
  332. package/es/flow/models/blocks/form/value-runtime/index.d.ts +0 -11
  333. package/es/flow/models/blocks/form/value-runtime/path.d.ts +0 -25
  334. package/es/flow/models/blocks/form/value-runtime/rules.d.ts +0 -129
  335. package/es/flow/models/blocks/form/value-runtime/runtime.d.ts +0 -75
  336. package/es/flow/models/blocks/form/value-runtime/types.d.ts +0 -62
  337. package/es/flow/models/blocks/form/value-runtime/utils.d.ts +0 -12
  338. package/es/flow/models/blocks/index.d.ts +0 -15
  339. package/es/flow/models/blocks/js-block/JSBlock.d.ts +0 -16
  340. package/es/flow/models/blocks/js-block/index.d.ts +0 -9
  341. package/es/flow/models/blocks/shared/legacyDefaultValueMigrationBase.d.ts +0 -20
  342. package/es/flow/models/blocks/table/JSColumnModel.d.ts +0 -21
  343. package/es/flow/models/blocks/table/TableActionsColumnModel.d.ts +0 -18
  344. package/es/flow/models/blocks/table/TableAssociationFieldGroupModel.d.ts +0 -12
  345. package/es/flow/models/blocks/table/TableBlockModel.d.ts +0 -68
  346. package/es/flow/models/blocks/table/TableColumnModel.d.ts +0 -27
  347. package/es/flow/models/blocks/table/TableCustomColumnModel.d.ts +0 -12
  348. package/es/flow/models/blocks/table/TableJSFieldItemModel.d.ts +0 -19
  349. package/es/flow/models/blocks/table/TableSelectModel.d.ts +0 -14
  350. package/es/flow/models/blocks/table/dragSort/dragSortComponents.d.ts +0 -14
  351. package/es/flow/models/blocks/table/dragSort/dragSortHooks.d.ts +0 -13
  352. package/es/flow/models/blocks/table/dragSort/dragSortSettings.d.ts +0 -39
  353. package/es/flow/models/blocks/table/dragSort/dragSortUtils.d.ts +0 -37
  354. package/es/flow/models/blocks/table/dragSort/index.d.ts +0 -12
  355. package/es/flow/models/blocks/table/index.d.ts +0 -16
  356. package/es/flow/models/blocks/table/utils.d.ts +0 -18
  357. package/es/flow/models/blocks/utils/transformChildrenToJS.d.ts +0 -42
  358. package/es/flow/models/fields/AssociationFieldModel/AssociationFieldModel.d.ts +0 -4
  359. package/es/flow/models/fields/AssociationFieldModel/CascadeSelectFieldModel.d.ts +0 -45
  360. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionGroupModel.d.ts +0 -11
  361. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableActionsColumnModel.d.ts +0 -19
  362. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/PopupSubTableFieldModel.d.ts +0 -30
  363. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableEditActionModel.d.ts +0 -28
  364. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableFormSubmitActionModel.d.ts +0 -16
  365. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/actions/PopupSubTableRemoveActionModel.d.ts +0 -14
  366. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/blocks/PopupSubTableFormModel.d.ts +0 -36
  367. package/es/flow/models/fields/AssociationFieldModel/PopupSubTableFieldModel/index.d.ts +0 -17
  368. package/es/flow/models/fields/AssociationFieldModel/RecordPickerFieldModel.d.ts +0 -35
  369. package/es/flow/models/fields/AssociationFieldModel/RecordSelectFieldModel.d.ts +0 -46
  370. package/es/flow/models/fields/AssociationFieldModel/SubFormFieldModel.d.ts +0 -32
  371. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableColumnModel.d.ts +0 -32
  372. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/SubTableField.d.ts +0 -10
  373. package/es/flow/models/fields/AssociationFieldModel/SubTableFieldModel/index.d.ts +0 -18
  374. package/es/flow/models/fields/AssociationFieldModel/index.d.ts +0 -15
  375. package/es/flow/models/fields/AssociationFieldModel/itemChain.d.ts +0 -94
  376. package/es/flow/models/fields/AssociationFieldModel/recordSelectShared.d.ts +0 -59
  377. package/es/flow/models/fields/CheckboxFieldModel.d.ts +0 -13
  378. package/es/flow/models/fields/CheckboxGroupFieldModel.d.ts +0 -13
  379. package/es/flow/models/fields/ClickableFieldModel.d.ts +0 -25
  380. package/es/flow/models/fields/CollectionSelectorFieldModel.d.ts +0 -13
  381. package/es/flow/models/fields/ColorFieldModel.d.ts +0 -14
  382. package/es/flow/models/fields/DateTimeFieldModel/DateOnlyFieldModel.d.ts +0 -7
  383. package/es/flow/models/fields/DateTimeFieldModel/DateTimeFieldModel.d.ts +0 -3
  384. package/es/flow/models/fields/DateTimeFieldModel/DateTimeNoTzFieldModel.d.ts +0 -6
  385. package/es/flow/models/fields/DateTimeFieldModel/DateTimeTzFieldModel.d.ts +0 -7
  386. package/es/flow/models/fields/DateTimeFieldModel/index.d.ts +0 -11
  387. package/es/flow/models/fields/DisplayAssociationField/DisplaySubItemFieldModel.d.ts +0 -26
  388. package/es/flow/models/fields/DisplayAssociationField/DisplaySubListFieldModel.d.ts +0 -26
  389. package/es/flow/models/fields/DisplayAssociationField/DisplaySubTableFieldModel.d.ts +0 -20
  390. package/es/flow/models/fields/DisplayAssociationField/displaySubListUtils.d.ts +0 -14
  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/actionCapability.d.ts +0 -60
  436. package/es/flow/utils/blockUtils.d.ts +0 -16
  437. package/es/flow/utils/dispatchEventDeep.d.ts +0 -20
  438. package/es/flow/utils/index.d.ts +0 -11
  439. package/es/flow/utils/pagination.d.ts +0 -29
  440. package/es/flow/utils/useJsonTemplateResolver.d.ts +0 -9
  441. package/es/md-BbvRKckr.mjs +0 -61
  442. package/es/md-oH2RssNY.mjs +0 -61
  443. package/es/route-switch/antd/admin-layout/useApplications.d.ts +0 -12
  444. package/lib/md-BbvRKckr-IQIU5F3r.js +0 -1
  445. package/lib/md-oH2RssNY-IQIU5F3r.js +0 -1
@@ -1,15 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import _ from 'lodash';
10
- export declare const parseMarkdown: ((text: string) => Promise<string>) & _.MemoizedFunction;
11
- export declare function useParseMarkdown(text: string): {
12
- html: any;
13
- loading: boolean;
14
- };
15
- export declare function convertToText(markdownText: string): string;
@@ -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
- export declare const HeightMode: {
10
- DEFAULT: string;
11
- SPECIFY_VALUE: string;
12
- FULL_HEIGHT: string;
13
- };
@@ -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 './components/Markdown/DisplayMarkdown';
10
- export * from './utils/dateTimeUtils';
11
- export * from './constants/HeightMode';
@@ -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 declare function isToManyAssociation(collectionField: any): boolean;
10
- /**
11
- * 若目标字段为“对一”关联且传入值为数组,则取第一个元素
12
- * - 对多关联/非关联字段:不处理,原样返回
13
- * - 传入空数组:返回 undefined
14
- */
15
- export declare function coerceForToOneField(collectionField: any, value: any): any;
@@ -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
- export declare const handleDateChangeOnForm: (value: any, dateOnly: any, utc: any, picker: any, showTime: any, gmt: any) => any;
10
- export declare const handleDateChangeOnFormWithTz: (value: any, picker: any, showTime: any) => any;
@@ -1,23 +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, FlowModel } from '@nocobase/flow-engine';
10
- export type UiSchemaEnumItem = string | number | boolean | {
11
- label?: any;
12
- value?: any;
13
- color?: string;
14
- icon?: any;
15
- };
16
- type Option = {
17
- label: any;
18
- value: any;
19
- } & Record<string, any>;
20
- export declare function translateOptions(options: Option[], t: (s: string) => string): Option[];
21
- export declare function enumToOptions(uiEnum: UiSchemaEnumItem[] | undefined, t: (s: string) => string): Option[] | undefined;
22
- export declare function ensureOptionsFromUiSchemaEnumIfAbsent(model: FlowModel, collectionField: CollectionField): boolean;
23
- export {};
@@ -1,27 +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 { FormItemModel } from '../../models';
10
- export interface CollectionLike {
11
- getField?: (name: string) => unknown;
12
- getFields?: () => unknown[];
13
- dataSourceKey?: string;
14
- name?: string;
15
- }
16
- export declare const CUSTOM_FIELD_TARGET_PATH_PREFIX = "__custom__";
17
- export declare function buildCustomFieldTargetPath(customFieldName: string): string;
18
- export declare function isToManyAssociationField(field: unknown): boolean;
19
- export declare function getCollectionFromModel(model: unknown): CollectionLike | undefined;
20
- export declare function getFormItemFieldPathCandidates(model: unknown): string[];
21
- export declare function getFormItemPreferredFieldPath(model: unknown): string | undefined;
22
- /**
23
- * Find a configured FormItemModel by its `fieldSettings.init.fieldPath` (or `fieldPath`) in the current form grid,
24
- * including nested subform items. Also supports combined path matching when a model stores
25
- * `associationPathName + fieldPath` separately (e.g. wrapper field children builders).
26
- */
27
- export declare function findFormItemModelByFieldPath(root: unknown, targetPath: string): FormItemModel | null;
@@ -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
- /**
10
- * 根据操作符的 schema 定位组件及其 props。
11
- */
12
- export declare function resolveOperatorComponent(app: any, operator: string, operators?: Array<any>): {
13
- Comp: any;
14
- props: Record<string, any>;
15
- };
@@ -1,33 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- /**
10
- * 通用的字段子模型重建工具:
11
- * - 保留原有 uid
12
- * - 通过 FieldModel 入口 + fieldBinding.use 动态选择目标字段类
13
- * - 支持同步父项模式(pattern)
14
- * - 重建后触发 beforeRender(useCache: false)
15
- */
16
- import { FieldModel } from '../../models/base/FieldModel';
17
- import { FlowModel } from '@nocobase/flow-engine';
18
- type FieldParentModel = FlowModel & {
19
- subModels: FlowModel['subModels'] & {
20
- field?: FieldModel;
21
- };
22
- getFieldSettingsInitParams?: () => unknown;
23
- };
24
- type RebuildOptions = {
25
- parentModel: FieldParentModel;
26
- targetUse: string;
27
- defaultProps?: Record<string, unknown>;
28
- pattern?: string;
29
- fieldSettingsInit?: unknown;
30
- };
31
- export declare function getFieldBindingUse(fieldModel?: FieldModel): string | undefined;
32
- export declare function rebuildFieldSubModel({ parentModel, targetUse, defaultProps, pattern, fieldSettingsInit, }: RebuildOptions): Promise<void>;
33
- export {};
@@ -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 declare const SAVE_STEP_PARAMS_WITH_SUB_MODELS_FLAG: "__saveStepParamsWithSubModels";
10
- export declare function markSaveStepParamsWithSubModels(model: unknown): void;
11
- export declare function saveStepParamsWithSubModelsIfNeeded<T>(model: unknown, fallback: () => Promise<T>): Promise<T>;
@@ -1,35 +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 { CollectionFieldOptions, DataSourceManager } from '../../../data-source';
10
- type CollectionLike = {
11
- name?: unknown;
12
- dataSource?: unknown;
13
- dataSourceKey?: unknown;
14
- setOption?: (key: string, value: any) => any;
15
- };
16
- type ApiClientLike = {
17
- request?: (options: {
18
- url: string;
19
- method?: string;
20
- params?: Record<string, any>;
21
- data?: Record<string, any>;
22
- }) => Promise<any>;
23
- };
24
- export declare function isTitleUsableField(dm: DataSourceManager | undefined, field: CollectionFieldOptions | undefined): boolean;
25
- export declare function syncCollectionTitleField(options: {
26
- api: ApiClientLike;
27
- dataSourceManager?: DataSourceManager;
28
- targetCollection: CollectionLike | null | undefined;
29
- titleField: string;
30
- }): Promise<{
31
- dataSourceKey: string;
32
- collectionName: string;
33
- titleField: string;
34
- }>;
35
- export {};
@@ -1,16 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import type { ButtonProps } from 'antd/es/button';
10
- import { PopupActionModel } from '../base';
11
- export declare class AddChildActionModel extends PopupActionModel {
12
- static capabilityActionName: any;
13
- defaultProps: ButtonProps;
14
- getAclActionName(): string;
15
- onInit(options: any): void;
16
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { ButtonProps } from 'antd';
10
- import { PopupActionModel } from '../base';
11
- export declare class AddNewActionModel extends PopupActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultPopupTitle: string;
14
- defaultProps: ButtonProps;
15
- getAclActionName(): string;
16
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { ButtonProps } from 'antd';
10
- import { ActionModel } from '../base';
11
- export declare class BulkDeleteActionModel extends ActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- static capabilityActionName: string;
14
- defaultProps: ButtonProps;
15
- getAclActionName(): string;
16
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import type { ButtonProps } from 'antd/es/button';
10
- import { ActionModel } from '../base';
11
- export declare class DeleteActionModel extends ActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultProps: ButtonProps;
14
- getAclActionName(): string;
15
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import type { ButtonProps } from 'antd/es/button';
10
- import { PopupActionModel } from '../base';
11
- export declare class EditActionModel extends PopupActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultPopupTitle: string;
14
- defaultProps: ButtonProps;
15
- getAclActionName(): string;
16
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { ActionModel } from '../base';
10
- import { ButtonProps } from 'antd';
11
- export declare class ExpandCollapseActionModel extends ActionModel {
12
- expandFlag: boolean;
13
- defaultProps: ButtonProps;
14
- static scene: import("../base").ActionSceneType;
15
- setTitle(title: any): void;
16
- setExpandFlag(flag: any): void;
17
- getTitle(): any;
18
- getIcon(): "NodeCollapseOutlined" | "NodeExpandOutlined";
19
- }
@@ -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 { ButtonProps } from 'antd';
10
- import React from 'react';
11
- import { ActionModel } from '../base';
12
- export declare class FilterActionModel extends ActionModel {
13
- static scene: string;
14
- private readonly map;
15
- props: ButtonProps & {
16
- filterValue?: any;
17
- defaultFilterValue?: any;
18
- ignoreFieldsNames?: string[];
19
- open?: boolean;
20
- position: 'left';
21
- filterableFieldNames?: string[];
22
- };
23
- defaultProps: any;
24
- getIgnoreFieldNames(): any;
25
- render(): React.JSX.Element;
26
- }
@@ -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 type { ButtonProps } from 'antd/es/button';
10
- import { ActionModel } from '../base';
11
- export declare class JSCollectionActionModel extends ActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultProps: ButtonProps;
14
- }
@@ -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 type { ButtonProps } from 'antd/es/button';
10
- import { RecordActionModel } from '../base';
11
- export declare class JSRecordActionModel extends RecordActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultProps: ButtonProps;
14
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import type { ButtonProps } from 'antd/es/button';
10
- import { ActionModel } from '../base';
11
- export { joinUrlSearch } from './joinUrlSearch';
12
- export declare class LinkActionModel extends ActionModel {
13
- static scene: import("../base").ActionSceneType;
14
- defaultProps: ButtonProps;
15
- }
@@ -1,34 +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 declare function completeURL(url: string, origin?: string): string;
10
- export declare function handleLinkNavigation(options: {
11
- link: string;
12
- openInNewWindow?: boolean;
13
- router: {
14
- navigate: (to: string, options?: {
15
- replace?: boolean;
16
- }) => void;
17
- };
18
- isExternalLink: boolean;
19
- setLocationHref?: (url: string) => void;
20
- openWindow?: (url?: string, target?: string) => Window | null;
21
- }): void;
22
- /**
23
- * 判断 Link 导航后是否需要销毁当前视图
24
- * @param options 判定参数
25
- * @param options.openInNewWindow 是否新窗口打开
26
- * @param options.isExternalLink 是否外部链接
27
- * @param options.viewType 当前视图类型
28
- * @returns 是否应销毁当前视图
29
- */
30
- export declare function shouldDestroyViewAfterLinkNavigation(options: {
31
- openInNewWindow?: boolean;
32
- isExternalLink: boolean;
33
- viewType?: string;
34
- }): boolean;
@@ -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 { ButtonProps } from 'antd';
10
- import { PopupActionModel } from '../base';
11
- export declare class PopupCollectionActionModel extends PopupActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultProps: ButtonProps;
14
- }
@@ -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 { ButtonProps } from 'antd';
10
- import { ActionModel } from '../base';
11
- export declare class RefreshActionModel extends ActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultProps: ButtonProps;
14
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { ButtonProps } from 'antd';
10
- import { AxiosRequestConfig } from 'axios';
11
- import { ActionModel } from '../base/ActionModel';
12
- import { AssignFormModel } from '../blocks/assign-form/AssignFormModel';
13
- export declare class UpdateRecordActionModel extends ActionModel<{
14
- subModels: {
15
- assignForm: AssignFormModel;
16
- };
17
- }> {
18
- static scene: import("../base/ActionModel").ActionSceneType;
19
- assignFormUid?: string;
20
- defaultProps: ButtonProps;
21
- getAclActionName(): string;
22
- /**
23
- * 简化设置保存请求配置的方式
24
- * @param requestConfig
25
- */
26
- setSaveRequestConfig(requestConfig?: AxiosRequestConfig): void;
27
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- export declare function refreshLinkageRulesAfterUpdate(ctx: any): Promise<void>;
10
- export declare function applyUpdateRecordAction(ctx: any, params: any, options?: {
11
- settingsFlowKey?: string;
12
- }): Promise<void>;
@@ -1,15 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import type { ButtonProps } from 'antd/es/button';
10
- import { PopupActionModel } from '../base';
11
- export declare class ViewActionModel extends PopupActionModel {
12
- static scene: import("../base").ActionSceneType;
13
- defaultProps: ButtonProps;
14
- getAclActionName(): string;
15
- }
@@ -1,23 +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 './AddNewActionModel';
10
- export * from './BulkDeleteActionModel';
11
- export * from './DeleteActionModel';
12
- export * from './EditActionModel';
13
- export * from './FilterActionModel';
14
- export * from './JSActionModel';
15
- export * from './JSCollectionActionModel';
16
- export * from './JSRecordActionModel';
17
- export * from './PopupCollectionActionModel';
18
- export * from './RefreshActionModel';
19
- export * from './UpdateRecordActionModel';
20
- export * from './ViewActionModel';
21
- export * from './LinkActionModel';
22
- export * from './ExpandCollapseActionModel';
23
- export * from './AddChildActionModel';
@@ -1,12 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- export declare function joinUrlSearch(url: string, params?: {
10
- name: string;
11
- value: any;
12
- }[]): string;
@@ -1,36 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { FlowModel, FlowModelContext, ModelConstructor } from '@nocobase/flow-engine';
10
- import { ActionModel, ActionSceneType } from './ActionModel';
11
- export declare class ActionGroupModel extends FlowModel {
12
- static baseClass?: string | ModelConstructor;
13
- static scene: ActionSceneType;
14
- private static _models;
15
- static getAllParentClasses(): any[];
16
- static get currentModels(): Map<string, typeof ActionModel>;
17
- static get models(): Map<any, any>;
18
- static registerActionModels(models: Record<string, any>): void;
19
- /**
20
- * 判断动作模型在当前数据表上下文下是否应显示在 v2 的“添加动作”菜单中。
21
- *
22
- * @param ModelClass 动作模型类
23
- * @param ctx Flow 上下文
24
- * @returns 是否显示
25
- */
26
- static isActionModelVisible(ModelClass: typeof ActionModel, ctx: FlowModelContext): boolean;
27
- static defineChildren(ctx: FlowModelContext): Promise<any[]>;
28
- }
29
- export declare class CollectionActionGroupModel extends ActionGroupModel {
30
- static baseClass: typeof ActionModel;
31
- static scene: ActionSceneType;
32
- }
33
- export declare class RecordActionGroupModel extends ActionGroupModel {
34
- static baseClass: typeof ActionModel;
35
- static scene: ActionSceneType;
36
- }
@@ -1,45 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import { DefaultStructure, FlowModel } from '@nocobase/flow-engine';
10
- import type { ButtonProps } from 'antd/es/button';
11
- import React from 'react';
12
- export declare function ActionWithoutPermission(props: any): React.JSX.Element;
13
- export type ActionSceneType = 'collection' | 'record' | ActionSceneType[];
14
- export declare const ActionSceneEnum: {
15
- collection: ActionSceneType;
16
- record: ActionSceneType;
17
- all: ActionSceneType;
18
- both: ActionSceneType;
19
- };
20
- export declare class ActionModel<T extends DefaultStructure = DefaultStructure> extends FlowModel<T> {
21
- props: ButtonProps & {
22
- tooltip?: string;
23
- };
24
- scene: ActionSceneType;
25
- defaultProps: ButtonProps & {
26
- tooltip?: string;
27
- };
28
- enableEditTooltip: boolean;
29
- enableEditTitle: boolean;
30
- enableEditIcon: boolean;
31
- enableEditType: boolean;
32
- enableEditDanger: boolean;
33
- enableEditColor: boolean;
34
- static _getScene(): any[];
35
- static _isScene(scene: ActionSceneType): boolean;
36
- getAclActionName(): any;
37
- onInit(options: any): void;
38
- getInputArgs(): Record<string, any>;
39
- onClick(event: any): void;
40
- getTitle(): string;
41
- getIcon(): React.ReactNode;
42
- renderButton(): React.JSX.Element;
43
- render(): React.JSX.Element;
44
- renderHiddenInConfig(): React.ReactNode | undefined;
45
- }