@nocobase/client 0.9.2-alpha.1 → 0.9.2-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/es/acl/Configuration/FilterDynamicComponent.d.ts +2 -0
  2. package/es/{schema-component/antd/table-v2/hooks/useUserVariable.js → acl/Configuration/FilterDynamicComponent.js} +32 -4
  3. package/es/acl/Configuration/schemas/scopes.js +3 -0
  4. package/es/application/Application.d.ts +1 -0
  5. package/es/application/Application.js +12 -2
  6. package/es/block-provider/FormFieldProvider.js +9 -1
  7. package/es/block-provider/TableSelectorProvider.js +3 -2
  8. package/es/block-provider/hooks/index.js +18 -13
  9. package/es/board/CardAdder.js +1 -1
  10. package/es/board/ColumnForm.js +4 -4
  11. package/es/board/DefaultColumnHeader.d.ts +1 -1
  12. package/es/board/DefaultColumnHeader.js +6 -6
  13. package/es/collection-manager/CollectionField.js +16 -13
  14. package/es/collection-manager/CollectionManagerProvider.js +10 -2
  15. package/es/collection-manager/Configuration/AddCollectionAction.js +1 -1
  16. package/es/collection-manager/Configuration/CollectionFields.d.ts +2 -0
  17. package/es/collection-manager/Configuration/CollectionFields.js +458 -0
  18. package/es/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -3
  19. package/es/collection-manager/Configuration/ConfigurationTable.js +4 -2
  20. package/es/collection-manager/Configuration/ConfigurationTabs.js +6 -2
  21. package/es/collection-manager/Configuration/EditCollectionAction.js +4 -4
  22. package/es/collection-manager/Configuration/EditFieldAction.js +1 -1
  23. package/es/collection-manager/Configuration/OverridingCollectionField.js +1 -1
  24. package/es/collection-manager/Configuration/schemas/collectionFields.d.ts +2 -0
  25. package/es/collection-manager/Configuration/schemas/collectionFields.js +1 -1
  26. package/es/collection-manager/Configuration/schemas/collections.js +8 -5
  27. package/es/collection-manager/action-hooks.d.ts +2 -1
  28. package/es/collection-manager/action-hooks.js +10 -7
  29. package/es/collection-manager/hooks/useCollectionDataSource.js +2 -2
  30. package/es/collection-manager/hooks/useCollectionManager.d.ts +1 -0
  31. package/es/collection-manager/hooks/useCollectionManager.js +2 -0
  32. package/es/collection-manager/interfaces/checkbox.js +7 -0
  33. package/es/collection-manager/interfaces/checkboxGroup.js +7 -0
  34. package/es/collection-manager/interfaces/components/index.js +1 -1
  35. package/es/collection-manager/interfaces/createdBy.js +5 -1
  36. package/es/collection-manager/interfaces/email.js +7 -0
  37. package/es/collection-manager/interfaces/linkTo.js +6 -0
  38. package/es/collection-manager/interfaces/m2m.js +6 -0
  39. package/es/collection-manager/interfaces/m2o.js +6 -0
  40. package/es/collection-manager/interfaces/multipleSelect.js +10 -0
  41. package/es/collection-manager/interfaces/o2m.js +8 -1
  42. package/es/collection-manager/interfaces/o2o.js +6 -0
  43. package/es/collection-manager/interfaces/percent.js +10 -0
  44. package/es/collection-manager/interfaces/select.js +10 -0
  45. package/es/collection-manager/interfaces/updatedBy.js +5 -1
  46. package/es/collection-manager/types.d.ts +1 -0
  47. package/es/filter-provider/utils.d.ts +8 -3
  48. package/es/filter-provider/utils.js +42 -27
  49. package/es/locale/en_US.d.ts +7 -0
  50. package/es/locale/en_US.js +8 -1
  51. package/es/locale/ja_JP.d.ts +15 -0
  52. package/es/locale/ja_JP.js +17 -2
  53. package/es/locale/pt_BR.d.ts +16 -0
  54. package/es/locale/pt_BR.js +18 -2
  55. package/es/locale/ru_RU.d.ts +15 -0
  56. package/es/locale/ru_RU.js +17 -2
  57. package/es/locale/tr_TR.d.ts +16 -1
  58. package/es/locale/tr_TR.js +18 -3
  59. package/es/locale/zh_CN.d.ts +16 -0
  60. package/es/locale/zh_CN.js +17 -1
  61. package/es/pm/PluginManagerLink.js +5 -3
  62. package/es/pm/index.js +1 -1
  63. package/es/schema-component/antd/action/Action.js +1 -1
  64. package/es/schema-component/antd/association-select/AssociationSelect.js +56 -35
  65. package/es/schema-component/antd/association-select/useServiceOptions.js +3 -2
  66. package/es/schema-component/antd/checkbox/Checkbox.js +4 -3
  67. package/es/schema-component/antd/collection-select/CollectionSelect.d.ts +2 -2
  68. package/es/schema-component/antd/collection-select/CollectionSelect.js +6 -6
  69. package/es/schema-component/antd/error-fallback/ErrorFallback.d.ts +3 -0
  70. package/es/schema-component/antd/error-fallback/ErrorFallback.js +47 -0
  71. package/es/schema-component/antd/error-fallback/index.d.ts +1 -0
  72. package/es/schema-component/antd/error-fallback/index.js +1 -0
  73. package/es/schema-component/antd/filter/useFilterActionProps.d.ts +2 -0
  74. package/es/schema-component/antd/filter/useFilterActionProps.js +127 -7
  75. package/es/schema-component/antd/filter/useValues.js +7 -8
  76. package/es/schema-component/antd/form-item/FormItem.d.ts +3 -0
  77. package/es/schema-component/antd/form-item/FormItem.js +81 -16
  78. package/es/schema-component/antd/form-item/SchemaSettingOptions.js +2 -3
  79. package/es/schema-component/antd/form-v2/Templates.js +24 -18
  80. package/es/schema-component/antd/gantt/components/calendar/top-part-of-calendar.d.ts +1 -1
  81. package/es/schema-component/antd/gantt/components/calendar/top-part-of-calendar.js +3 -3
  82. package/es/schema-component/antd/gantt/components/gantt/style.js +1 -1
  83. package/es/schema-component/antd/gantt/components/grid/grid.d.ts +2 -2
  84. package/es/schema-component/antd/gantt/components/grid/grid.js +2 -2
  85. package/es/schema-component/antd/gantt/components/grid/style.js +1 -1
  86. package/es/schema-component/antd/gantt/components/other/arrow.d.ts +2 -2
  87. package/es/schema-component/antd/gantt/components/other/arrow.js +3 -3
  88. package/es/schema-component/antd/gantt/components/other/horizontal-scroll.d.ts +1 -1
  89. package/es/schema-component/antd/gantt/components/other/horizontal-scroll.js +1 -1
  90. package/es/schema-component/antd/gantt/components/other/style.js +1 -1
  91. package/es/schema-component/antd/gantt/components/task-item/bar/bar-display.d.ts +1 -1
  92. package/es/schema-component/antd/gantt/components/task-item/bar/bar-display.js +1 -1
  93. package/es/schema-component/antd/gantt/components/task-item/bar/bar-small.d.ts +2 -2
  94. package/es/schema-component/antd/gantt/components/task-item/bar/bar-small.js +6 -6
  95. package/es/schema-component/antd/gantt/components/task-item/bar/bar.d.ts +2 -2
  96. package/es/schema-component/antd/gantt/components/task-item/bar/bar.js +9 -9
  97. package/es/schema-component/antd/gantt/components/task-item/bar/style.js +2 -2
  98. package/es/schema-component/antd/gantt/components/task-item/milestone/milestone.d.ts +2 -2
  99. package/es/schema-component/antd/gantt/components/task-item/milestone/milestone.js +2 -2
  100. package/es/schema-component/antd/gantt/types/bar-task.d.ts +2 -2
  101. package/es/schema-component/antd/gantt/types/date-setup.d.ts +1 -1
  102. package/es/schema-component/antd/gantt/types/gantt-task-actions.d.ts +3 -3
  103. package/es/schema-component/antd/gantt/types/public-types.d.ts +1 -1
  104. package/es/schema-component/antd/grid/Grid.js +23 -9
  105. package/es/schema-component/antd/icon-picker/IconPicker.js +1 -1
  106. package/es/schema-component/antd/input/EllipsisWithTooltip.js +21 -2
  107. package/es/schema-component/antd/menu/util.js +0 -1
  108. package/es/schema-component/antd/page/Page.js +10 -2
  109. package/es/schema-component/antd/pagination/index.js +8 -1
  110. package/es/schema-component/antd/record-picker/InputRecordPicker.js +3 -4
  111. package/es/schema-component/antd/record-picker/useFieldNames.js +1 -1
  112. package/es/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  113. package/es/schema-component/antd/remote-select/RemoteSelect.js +75 -13
  114. package/es/schema-component/antd/select/ReadPretty.js +5 -2
  115. package/es/schema-component/antd/select/Select.js +3 -9
  116. package/es/schema-component/antd/table/Table.Array.js +2 -2
  117. package/es/schema-component/antd/table-v2/FilterDynamicComponent.js +2 -138
  118. package/es/schema-component/antd/table-v2/Table.Column.Designer.js +6 -5
  119. package/es/schema-component/antd/table-v2/Table.js +2 -2
  120. package/es/schema-component/antd/upload/ReadPretty.js +2 -1
  121. package/es/schema-component/antd/variable/Input.js +11 -5
  122. package/es/schema-component/antd/variable/JSONInput.js +4 -4
  123. package/es/schema-component/antd/variable/TextArea.js +1 -1
  124. package/es/schema-component/antd/variable/Variable.js +3 -3
  125. package/es/schema-component/antd/variable/VariableSelect.js +8 -8
  126. package/es/schema-component/antd/variable/XButton.d.ts +1 -1
  127. package/es/schema-component/antd/variable/XButton.js +4 -4
  128. package/es/schema-component/common/utils/uitls.d.ts +9 -0
  129. package/es/schema-component/common/utils/uitls.js +37 -3
  130. package/es/schema-component/core/DesignableSwitch.js +5 -3
  131. package/es/schema-component/hooks/useComponent.js +2 -2
  132. package/es/schema-component/hooks/useDesignable.js +2 -2
  133. package/es/schema-component/hooks/useFieldTitle.js +4 -4
  134. package/es/schema-initializer/SchemaInitializer.js +2 -2
  135. package/es/schema-initializer/buttons/BulkEditFormItemInitializers.js +14 -7
  136. package/es/schema-initializer/items/DestroyActionInitializer.js +2 -2
  137. package/es/schema-initializer/items/FilterActionInitializer.js +2 -2
  138. package/es/schema-initializer/items/FormBlockInitializer.js +3 -3
  139. package/es/schema-initializer/items/G2PlotInitializer.js +1 -1
  140. package/es/schema-initializer/items/KanbanBlockInitializer.js +9 -9
  141. package/es/schema-initializer/items/MarkdownBlockInitializer.js +3 -3
  142. package/es/schema-initializer/items/PrintActionInitializer.js +2 -2
  143. package/es/schema-initializer/items/RecordAssociationBlockInitializer.js +5 -5
  144. package/es/schema-initializer/items/RecordAssociationCalendarBlockInitializer.js +9 -9
  145. package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.js +5 -5
  146. package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.js +4 -4
  147. package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.js +5 -5
  148. package/es/schema-initializer/items/RefreshActionInitializer.js +2 -2
  149. package/es/schema-initializer/items/SubmitActionInitializer.js +2 -2
  150. package/es/schema-initializer/items/TableActionColumnInitializer.js +2 -2
  151. package/es/schema-initializer/items/TableCollectionFieldInitializer.js +2 -2
  152. package/es/schema-initializer/items/TableSelectorInitializer.js +5 -5
  153. package/es/schema-initializer/items/UpdateActionInitializer.js +2 -2
  154. package/es/schema-initializer/items/UpdateSubmitActionInitializer.js +2 -2
  155. package/es/schema-initializer/items/ViewActionInitializer.js +2 -2
  156. package/es/schema-initializer/utils.js +17 -10
  157. package/es/schema-settings/DataTemplates/FormDataTemplates.js +28 -12
  158. package/es/schema-settings/DataTemplates/hooks/useCollectionState.js +2 -1
  159. package/es/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +9 -2
  160. package/es/schema-settings/LinkageRules/ValueDynamicComponent.js +2 -1
  161. package/es/schema-settings/SchemaSettings.d.ts +4 -1
  162. package/es/schema-settings/SchemaSettings.js +32 -19
  163. package/es/schema-settings/VariableInput/VariableInput.d.ts +13 -0
  164. package/es/schema-settings/VariableInput/VariableInput.js +37 -0
  165. package/es/schema-settings/VariableInput/hooks/useDateVariable.d.ts +4 -0
  166. package/es/schema-settings/VariableInput/hooks/useDateVariable.js +129 -0
  167. package/es/schema-settings/VariableInput/hooks/useUserVariable.d.ts +5 -0
  168. package/es/schema-settings/VariableInput/hooks/useUserVariable.js +68 -0
  169. package/es/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +1 -0
  170. package/es/schema-settings/VariableInput/hooks/useVariableOptions.js +18 -0
  171. package/es/user/VerificationCode.js +7 -8
  172. package/lib/acl/Configuration/FilterDynamicComponent.d.ts +2 -0
  173. package/lib/{schema-component/antd/table-v2/hooks/useUserVariable.js → acl/Configuration/FilterDynamicComponent.js} +32 -4
  174. package/lib/acl/Configuration/schemas/scopes.js +3 -0
  175. package/lib/application/Application.d.ts +1 -0
  176. package/lib/application/Application.js +12 -2
  177. package/lib/block-provider/FormFieldProvider.js +9 -1
  178. package/lib/block-provider/TableSelectorProvider.js +3 -2
  179. package/lib/block-provider/hooks/index.js +17 -12
  180. package/lib/board/CardAdder.js +1 -1
  181. package/lib/board/ColumnForm.js +4 -4
  182. package/lib/board/DefaultColumnHeader.d.ts +1 -1
  183. package/lib/board/DefaultColumnHeader.js +6 -6
  184. package/lib/collection-manager/CollectionField.js +16 -13
  185. package/lib/collection-manager/CollectionManagerProvider.js +10 -2
  186. package/lib/collection-manager/Configuration/AddCollectionAction.js +1 -1
  187. package/lib/collection-manager/Configuration/CollectionFields.d.ts +2 -0
  188. package/lib/collection-manager/Configuration/CollectionFields.js +468 -0
  189. package/lib/collection-manager/Configuration/CollectionFieldsTableArray.js +3 -3
  190. package/lib/collection-manager/Configuration/ConfigurationTable.js +4 -2
  191. package/lib/collection-manager/Configuration/ConfigurationTabs.js +5 -1
  192. package/lib/collection-manager/Configuration/EditCollectionAction.js +4 -4
  193. package/lib/collection-manager/Configuration/EditFieldAction.js +1 -1
  194. package/lib/collection-manager/Configuration/OverridingCollectionField.js +1 -1
  195. package/lib/collection-manager/Configuration/schemas/collectionFields.d.ts +2 -0
  196. package/lib/collection-manager/Configuration/schemas/collectionFields.js +2 -1
  197. package/lib/collection-manager/Configuration/schemas/collections.js +8 -5
  198. package/lib/collection-manager/action-hooks.d.ts +2 -1
  199. package/lib/collection-manager/action-hooks.js +13 -9
  200. package/lib/collection-manager/hooks/useCollectionManager.d.ts +1 -0
  201. package/lib/collection-manager/hooks/useCollectionManager.js +2 -0
  202. package/lib/collection-manager/interfaces/checkbox.js +7 -0
  203. package/lib/collection-manager/interfaces/checkboxGroup.js +7 -0
  204. package/lib/collection-manager/interfaces/components/index.js +1 -1
  205. package/lib/collection-manager/interfaces/createdBy.js +5 -1
  206. package/lib/collection-manager/interfaces/email.js +7 -0
  207. package/lib/collection-manager/interfaces/linkTo.js +6 -0
  208. package/lib/collection-manager/interfaces/m2m.js +6 -0
  209. package/lib/collection-manager/interfaces/m2o.js +6 -0
  210. package/lib/collection-manager/interfaces/multipleSelect.js +10 -0
  211. package/lib/collection-manager/interfaces/o2m.js +8 -1
  212. package/lib/collection-manager/interfaces/o2o.js +6 -0
  213. package/lib/collection-manager/interfaces/percent.js +10 -0
  214. package/lib/collection-manager/interfaces/select.js +10 -0
  215. package/lib/collection-manager/interfaces/updatedBy.js +5 -1
  216. package/lib/collection-manager/types.d.ts +1 -0
  217. package/lib/filter-provider/utils.d.ts +8 -3
  218. package/lib/filter-provider/utils.js +44 -28
  219. package/lib/locale/en_US.d.ts +7 -0
  220. package/lib/locale/en_US.js +8 -1
  221. package/lib/locale/ja_JP.d.ts +15 -0
  222. package/lib/locale/ja_JP.js +17 -2
  223. package/lib/locale/pt_BR.d.ts +16 -0
  224. package/lib/locale/pt_BR.js +18 -2
  225. package/lib/locale/ru_RU.d.ts +15 -0
  226. package/lib/locale/ru_RU.js +17 -2
  227. package/lib/locale/tr_TR.d.ts +16 -1
  228. package/lib/locale/tr_TR.js +18 -3
  229. package/lib/locale/zh_CN.d.ts +16 -0
  230. package/lib/locale/zh_CN.js +17 -1
  231. package/lib/pm/PluginManagerLink.js +4 -2
  232. package/lib/pm/index.js +1 -1
  233. package/lib/schema-component/antd/action/Action.js +1 -1
  234. package/lib/schema-component/antd/association-select/AssociationSelect.js +55 -34
  235. package/lib/schema-component/antd/association-select/useServiceOptions.js +3 -2
  236. package/lib/schema-component/antd/checkbox/Checkbox.js +4 -3
  237. package/lib/schema-component/antd/collection-select/CollectionSelect.d.ts +2 -2
  238. package/lib/schema-component/antd/error-fallback/ErrorFallback.d.ts +3 -0
  239. package/lib/schema-component/antd/error-fallback/ErrorFallback.js +55 -0
  240. package/lib/schema-component/antd/error-fallback/index.d.ts +1 -0
  241. package/lib/schema-component/antd/error-fallback/index.js +16 -0
  242. package/lib/schema-component/antd/filter/useFilterActionProps.d.ts +2 -0
  243. package/lib/schema-component/antd/filter/useFilterActionProps.js +130 -8
  244. package/lib/schema-component/antd/filter/useValues.js +6 -7
  245. package/lib/schema-component/antd/form-item/FormItem.d.ts +3 -0
  246. package/lib/schema-component/antd/form-item/FormItem.js +81 -15
  247. package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +1 -2
  248. package/lib/schema-component/antd/form-v2/Templates.js +24 -18
  249. package/lib/schema-component/antd/gantt/components/calendar/top-part-of-calendar.d.ts +1 -1
  250. package/lib/schema-component/antd/gantt/components/calendar/top-part-of-calendar.js +2 -2
  251. package/lib/schema-component/antd/gantt/components/gantt/style.js +1 -1
  252. package/lib/schema-component/antd/gantt/components/grid/grid.d.ts +2 -2
  253. package/lib/schema-component/antd/gantt/components/grid/style.js +1 -1
  254. package/lib/schema-component/antd/gantt/components/other/arrow.d.ts +2 -2
  255. package/lib/schema-component/antd/gantt/components/other/arrow.js +2 -2
  256. package/lib/schema-component/antd/gantt/components/other/horizontal-scroll.d.ts +1 -1
  257. package/lib/schema-component/antd/gantt/components/other/style.js +1 -1
  258. package/lib/schema-component/antd/gantt/components/task-item/bar/bar-display.d.ts +1 -1
  259. package/lib/schema-component/antd/gantt/components/task-item/bar/bar-small.d.ts +2 -2
  260. package/lib/schema-component/antd/gantt/components/task-item/bar/bar-small.js +2 -2
  261. package/lib/schema-component/antd/gantt/components/task-item/bar/bar.d.ts +2 -2
  262. package/lib/schema-component/antd/gantt/components/task-item/bar/bar.js +4 -4
  263. package/lib/schema-component/antd/gantt/components/task-item/bar/style.js +2 -2
  264. package/lib/schema-component/antd/gantt/components/task-item/milestone/milestone.d.ts +2 -2
  265. package/lib/schema-component/antd/gantt/components/task-item/milestone/milestone.js +1 -1
  266. package/lib/schema-component/antd/gantt/types/bar-task.d.ts +2 -2
  267. package/lib/schema-component/antd/gantt/types/date-setup.d.ts +1 -1
  268. package/lib/schema-component/antd/gantt/types/gantt-task-actions.d.ts +3 -3
  269. package/lib/schema-component/antd/gantt/types/public-types.d.ts +1 -1
  270. package/lib/schema-component/antd/grid/Grid.js +23 -9
  271. package/lib/schema-component/antd/input/EllipsisWithTooltip.js +20 -1
  272. package/lib/schema-component/antd/menu/util.js +0 -1
  273. package/lib/schema-component/antd/page/Page.js +9 -1
  274. package/lib/schema-component/antd/pagination/index.js +8 -1
  275. package/lib/schema-component/antd/record-picker/InputRecordPicker.js +3 -4
  276. package/lib/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  277. package/lib/schema-component/antd/remote-select/RemoteSelect.js +75 -12
  278. package/lib/schema-component/antd/select/ReadPretty.js +5 -2
  279. package/lib/schema-component/antd/select/Select.js +3 -9
  280. package/lib/schema-component/antd/table-v2/FilterDynamicComponent.js +3 -139
  281. package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +6 -5
  282. package/lib/schema-component/antd/table-v2/Table.js +2 -2
  283. package/lib/schema-component/antd/upload/ReadPretty.js +2 -1
  284. package/lib/schema-component/antd/variable/Input.js +10 -4
  285. package/lib/schema-component/antd/variable/JSONInput.js +2 -2
  286. package/lib/schema-component/antd/variable/TextArea.js +1 -1
  287. package/lib/schema-component/antd/variable/VariableSelect.js +4 -4
  288. package/lib/schema-component/antd/variable/XButton.d.ts +1 -1
  289. package/lib/schema-component/antd/variable/XButton.js +1 -1
  290. package/lib/schema-component/common/utils/uitls.d.ts +9 -0
  291. package/lib/schema-component/common/utils/uitls.js +43 -4
  292. package/lib/schema-component/core/DesignableSwitch.js +4 -2
  293. package/lib/schema-component/hooks/useComponent.js +2 -2
  294. package/lib/schema-component/hooks/useDesignable.js +2 -2
  295. package/lib/schema-initializer/SchemaInitializer.js +2 -2
  296. package/lib/schema-initializer/buttons/BulkEditFormItemInitializers.js +14 -7
  297. package/lib/schema-initializer/utils.js +17 -10
  298. package/lib/schema-settings/DataTemplates/FormDataTemplates.js +28 -12
  299. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.js +2 -1
  300. package/lib/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +9 -2
  301. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.js +2 -1
  302. package/lib/schema-settings/SchemaSettings.d.ts +4 -1
  303. package/lib/schema-settings/SchemaSettings.js +37 -21
  304. package/lib/schema-settings/VariableInput/VariableInput.d.ts +13 -0
  305. package/lib/schema-settings/VariableInput/VariableInput.js +47 -0
  306. package/lib/schema-settings/VariableInput/hooks/useDateVariable.d.ts +4 -0
  307. package/lib/schema-settings/VariableInput/hooks/useDateVariable.js +136 -0
  308. package/lib/schema-settings/VariableInput/hooks/useUserVariable.d.ts +5 -0
  309. package/lib/schema-settings/VariableInput/hooks/useUserVariable.js +75 -0
  310. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.d.ts +1 -0
  311. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +25 -0
  312. package/lib/user/VerificationCode.js +1 -2
  313. package/package.json +6 -5
  314. package/es/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -10
  315. package/lib/schema-component/antd/table-v2/hooks/useUserVariable.d.ts +0 -10
@@ -7,14 +7,13 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
7
7
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
8
8
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
9
9
  import { Schema } from '@formily/react';
10
- import { message } from 'antd';
11
10
  import { uid } from '@formily/shared';
11
+ import { message } from 'antd';
12
12
  import { useTranslation } from 'react-i18next';
13
13
  import { useAPIClient } from '../../../api-client';
14
14
  import { i18n } from '../../../i18n';
15
- import { CollectionTemplate } from '../components/CollectionTemplate';
16
15
  import { CollectionCategory } from '../components/CollectionCategory';
17
- import { collectionFieldSchema } from './collectionFields';
16
+ import { CollectionTemplate } from '../components/CollectionTemplate';
18
17
  var compile = function compile(source) {
19
18
  return Schema.compile(source, {
20
19
  t: i18n.t
@@ -271,7 +270,8 @@ export var collectionTableSchema = {
271
270
  type: 'void',
272
271
  'x-component': 'Action.Drawer',
273
272
  'x-component-props': {
274
- destroyOnClose: true
273
+ destroyOnClose: true,
274
+ width: '70%'
275
275
  },
276
276
  'x-reactions': function xReactions(field) {
277
277
  var i = field.path.segments[1];
@@ -282,7 +282,10 @@ export var collectionTableSchema = {
282
282
  }
283
283
  },
284
284
  properties: {
285
- collectionFieldSchema: collectionFieldSchema
285
+ collectionFieldSchema: {
286
+ type: 'void',
287
+ 'x-component': 'CollectionFields'
288
+ }
286
289
  }
287
290
  }
288
291
  }
@@ -101,7 +101,8 @@ export declare const useUpdateActionAndRefreshCM: () => {
101
101
  export declare const useDestroyActionAndRefreshCM: () => {
102
102
  run(): Promise<void>;
103
103
  };
104
- export declare const useDeleteButtonDisabled: () => boolean;
104
+ export declare const useDeleteButtonDisabled: (record?: any) => boolean;
105
+ export declare const isDeleteButtonDisabled: (record?: any) => boolean;
105
106
  export declare const useBulkDestroyActionAndRefreshCM: () => {
106
107
  run(): Promise<void>;
107
108
  };
@@ -580,8 +580,7 @@ export var useBulkDestroyAction = function useBulkDestroyAction() {
580
580
  setState = _useResourceActionCon7.setState,
581
581
  refresh = _useResourceActionCon7.refresh;
582
582
  var _useResourceContext7 = useResourceContext(),
583
- resource = _useResourceContext7.resource,
584
- targetKey = _useResourceContext7.targetKey;
583
+ resource = _useResourceContext7.resource;
585
584
  return {
586
585
  run: function run() {
587
586
  return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
@@ -689,11 +688,15 @@ export var useDestroyActionAndRefreshCM = function useDestroyActionAndRefreshCM(
689
688
  }
690
689
  };
691
690
  };
692
- export var useDeleteButtonDisabled = function useDeleteButtonDisabled() {
693
- var _useRecord4 = useRecord(),
694
- i = _useRecord4.interface,
695
- _useRecord4$deletable = _useRecord4.deletable,
696
- deletable = _useRecord4$deletable === void 0 ? true : _useRecord4$deletable;
691
+ export var useDeleteButtonDisabled = function useDeleteButtonDisabled(record) {
692
+ var recordFromProvider = useRecord();
693
+ return isDeleteButtonDisabled(record || recordFromProvider);
694
+ };
695
+ export var isDeleteButtonDisabled = function isDeleteButtonDisabled(record) {
696
+ var _ref4 = record || {},
697
+ i = _ref4.interface,
698
+ _ref4$deletable = _ref4.deletable,
699
+ deletable = _ref4$deletable === void 0 ? true : _ref4$deletable;
697
700
  return !deletable || i === 'id';
698
701
  };
699
702
  export var useBulkDestroyActionAndRefreshCM = function useBulkDestroyActionAndRefreshCM() {
@@ -1,6 +1,6 @@
1
1
  import { action } from '@formily/reactive';
2
- import { useCollectionManager } from ".";
3
- import { useCompile } from "../../schema-component";
2
+ import { useCollectionManager } from '.';
3
+ import { useCompile } from '../../schema-component';
4
4
  export function useCollectionDataSource(filter) {
5
5
  return function (field) {
6
6
  var compile = useCompile();
@@ -6,6 +6,7 @@ export declare const useCollectionManager: () => {
6
6
  getInheritCollections: (name: any) => any[];
7
7
  getChildrenCollections: (name: any, isSupportView?: boolean) => any[];
8
8
  refreshCM: () => Promise<void>;
9
+ updateCollection: (collection: any) => void;
9
10
  get(name: string): any;
10
11
  getInheritedFields: (name: any) => any[];
11
12
  getCollectionField: (name: string) => CollectionFieldOptions;
@@ -23,6 +23,7 @@ import { CollectionManagerContext } from '../context';
23
23
  export var useCollectionManager = function useCollectionManager() {
24
24
  var _useContext = useContext(CollectionManagerContext),
25
25
  _refreshCM = _useContext.refreshCM,
26
+ updateCollection = _useContext.updateCollection,
26
27
  service = _useContext.service,
27
28
  interfaces = _useContext.interfaces,
28
29
  collections = _useContext.collections,
@@ -235,6 +236,7 @@ export var useCollectionManager = function useCollectionManager() {
235
236
  refreshCM: function refreshCM() {
236
237
  return _refreshCM === null || _refreshCM === void 0 ? void 0 : _refreshCM();
237
238
  },
239
+ updateCollection: updateCollection,
238
240
  get: function get(name) {
239
241
  return collections === null || collections === void 0 ? void 0 : collections.find(function (collection) {
240
242
  return collection.name === name;
@@ -24,5 +24,12 @@ export var checkbox = {
24
24
  properties: _objectSpread({}, defaultProps),
25
25
  filterable: {
26
26
  operators: operators.boolean
27
+ },
28
+ schemaInitialize: function schemaInitialize(schema, _ref) {
29
+ var block = _ref.block;
30
+ if (['Table', 'Kanban'].includes(block)) {
31
+ schema['x-component-props'] = schema['x-component-props'] || {};
32
+ schema['x-component-props']['ellipsis'] = true;
33
+ }
27
34
  }
28
35
  };
@@ -28,5 +28,12 @@ export var checkboxGroup = {
28
28
  }),
29
29
  filterable: {
30
30
  operators: operators.array
31
+ },
32
+ schemaInitialize: function schemaInitialize(schema, _ref) {
33
+ var block = _ref.block;
34
+ if (['Table', 'Kanban'].includes(block)) {
35
+ schema['x-component-props'] = schema['x-component-props'] || {};
36
+ schema['x-component-props']['ellipsis'] = true;
37
+ }
31
38
  }
32
39
  };
@@ -4,7 +4,7 @@ export var TargetKey = function TargetKey() {
4
4
  return /*#__PURE__*/React.createElement("div", null, "Target key");
5
5
  };
6
6
  export var ThroughCollection = function ThroughCollection() {
7
- return /*#__PURE__*/React.createElement("div", null, "Through collection ", /*#__PURE__*/React.createElement(Switch, {
7
+ return /*#__PURE__*/React.createElement("div", null, "Through collection", ' ', /*#__PURE__*/React.createElement(Switch, {
8
8
  size: 'small',
9
9
  defaultChecked: true,
10
10
  checkedChildren: "Auto fill",
@@ -55,9 +55,13 @@ export var createdBy = {
55
55
  }]
56
56
  },
57
57
  schemaInitialize: function schemaInitialize(schema, _ref) {
58
- var readPretty = _ref.readPretty;
58
+ var block = _ref.block;
59
59
  schema['properties'] = {
60
60
  viewer: cloneDeep(recordPickerViewer)
61
61
  };
62
+ if (['Table', 'Kanban'].includes(block)) {
63
+ schema['x-component-props'] = schema['x-component-props'] || {};
64
+ schema['x-component-props']['ellipsis'] = true;
65
+ }
62
66
  }
63
67
  };
@@ -29,5 +29,12 @@ export var email = {
29
29
  }),
30
30
  filterable: {
31
31
  operators: operators.string
32
+ },
33
+ schemaInitialize: function schemaInitialize(schema, _ref) {
34
+ var block = _ref.block;
35
+ if (['Table', 'Kanban'].includes(block)) {
36
+ schema['x-component-props'] = schema['x-component-props'] || {};
37
+ schema['x-component-props']['ellipsis'] = true;
38
+ }
32
39
  }
33
40
  };
@@ -53,6 +53,12 @@ export var linkTo = {
53
53
  var readPretty = _ref.readPretty,
54
54
  block = _ref.block,
55
55
  targetCollection = _ref.targetCollection;
56
+ if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.titleField) && schema['x-component-props']) {
57
+ schema['x-component-props'].fieldNames = schema['x-component-props'].fieldNames || {
58
+ value: 'id'
59
+ };
60
+ schema['x-component-props'].fieldNames.label = targetCollection.titleField;
61
+ }
56
62
  if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.template) === 'file') {
57
63
  var fieldNames = schema['x-component-props']['fieldNames'] || {
58
64
  label: 'preview',
@@ -53,6 +53,12 @@ export var m2m = {
53
53
  var readPretty = _ref.readPretty,
54
54
  block = _ref.block,
55
55
  targetCollection = _ref.targetCollection;
56
+ if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.titleField) && schema['x-component-props']) {
57
+ schema['x-component-props'].fieldNames = schema['x-component-props'].fieldNames || {
58
+ value: 'id'
59
+ };
60
+ schema['x-component-props'].fieldNames.label = targetCollection.titleField;
61
+ }
56
62
  if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.template) === 'file') {
57
63
  var fieldNames = schema['x-component-props']['fieldNames'] || {
58
64
  label: 'preview',
@@ -52,6 +52,12 @@ export var m2o = {
52
52
  var block = _ref.block,
53
53
  readPretty = _ref.readPretty,
54
54
  targetCollection = _ref.targetCollection;
55
+ if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.titleField) && schema['x-component-props']) {
56
+ schema['x-component-props'].fieldNames = schema['x-component-props'].fieldNames || {
57
+ value: 'id'
58
+ };
59
+ schema['x-component-props'].fieldNames.label = targetCollection.titleField;
60
+ }
55
61
  if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.template) === 'file') {
56
62
  var fieldNames = schema['x-component-props']['fieldNames'] || {
57
63
  label: 'preview',
@@ -32,5 +32,15 @@ export var multipleSelect = {
32
32
  }),
33
33
  filterable: {
34
34
  operators: operators.array
35
+ },
36
+ schemaInitialize: function schemaInitialize(schema, _ref) {
37
+ var block = _ref.block;
38
+ var props = schema['x-component-props'] = schema['x-component-props'] || {};
39
+ props.style = _objectSpread(_objectSpread({}, props.style || {}), {}, {
40
+ width: '100%'
41
+ });
42
+ if (['Table', 'Kanban'].includes(block)) {
43
+ props['ellipsis'] = true;
44
+ }
35
45
  }
36
46
  };
@@ -51,7 +51,14 @@ export var o2m = {
51
51
  schemaInitialize: function schemaInitialize(schema, _ref) {
52
52
  var field = _ref.field,
53
53
  block = _ref.block,
54
- readPretty = _ref.readPretty;
54
+ readPretty = _ref.readPretty,
55
+ targetCollection = _ref.targetCollection;
56
+ if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.titleField) && schema['x-component-props']) {
57
+ schema['x-component-props'].fieldNames = schema['x-component-props'].fieldNames || {
58
+ value: 'id'
59
+ };
60
+ schema['x-component-props'].fieldNames.label = targetCollection.titleField;
61
+ }
55
62
  if (block === 'Form') {
56
63
  if (schema['x-component'] === 'TableField') {
57
64
  var association = "".concat(field.collectionName, ".").concat(field.name);
@@ -488,6 +488,12 @@ export var obo = {
488
488
  // 预览文件时需要的参数
489
489
  schema['x-component-props']['size'] = 'small';
490
490
  }
491
+ if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.titleField) && schema['x-component-props']) {
492
+ schema['x-component-props'].fieldNames = schema['x-component-props'].fieldNames || {
493
+ value: 'id'
494
+ };
495
+ schema['x-component-props'].fieldNames.label = targetCollection.titleField;
496
+ }
491
497
  if ((targetCollection === null || targetCollection === void 0 ? void 0 : targetCollection.template) === 'file') {
492
498
  var fieldNames = schema['x-component-props']['fieldNames'] || {
493
499
  label: 'preview',
@@ -64,6 +64,16 @@ export var percent = {
64
64
  }
65
65
  }
66
66
  },
67
+ schemaInitialize: function schemaInitialize(schema, _ref) {
68
+ var field = _ref.field,
69
+ block = _ref.block,
70
+ readPretty = _ref.readPretty,
71
+ action = _ref.action;
72
+ var props = schema['x-component-props'] = schema['x-component-props'] || {};
73
+ schema['x-component-props'].style = _objectSpread(_objectSpread({}, props.style || {}), {}, {
74
+ width: '100%'
75
+ });
76
+ },
67
77
  availableTypes: ['float'],
68
78
  hasDefaultValue: true,
69
79
  properties: _objectSpread(_objectSpread({}, defaultProps), {}, {
@@ -29,5 +29,15 @@ export var select = {
29
29
  }),
30
30
  filterable: {
31
31
  operators: operators.enumType
32
+ },
33
+ schemaInitialize: function schemaInitialize(schema, _ref) {
34
+ var block = _ref.block;
35
+ var props = schema['x-component-props'] = schema['x-component-props'] || {};
36
+ props.style = _objectSpread(_objectSpread({}, props.style || {}), {}, {
37
+ width: '100%'
38
+ });
39
+ if (['Table', 'Kanban'].includes(block)) {
40
+ props['ellipsis'] = true;
41
+ }
32
42
  }
33
43
  };
@@ -54,9 +54,13 @@ export var updatedBy = {
54
54
  }]
55
55
  },
56
56
  schemaInitialize: function schemaInitialize(schema, _ref) {
57
- var readPretty = _ref.readPretty;
57
+ var block = _ref.block;
58
58
  schema['properties'] = {
59
59
  viewer: cloneDeep(recordPickerViewer)
60
60
  };
61
+ if (['Table', 'Kanban'].includes(block)) {
62
+ schema['x-component-props'] = schema['x-component-props'] || {};
63
+ schema['x-component-props']['ellipsis'] = true;
64
+ }
61
65
  }
62
66
  };
@@ -5,6 +5,7 @@ export interface CollectionManagerOptions {
5
5
  collections?: any[];
6
6
  templates?: any;
7
7
  refreshCM?: () => Promise<void>;
8
+ updateCollection?: (collection: any) => void;
8
9
  }
9
10
  export interface FieldOptions {
10
11
  type: string;
@@ -1,6 +1,6 @@
1
1
  import { Schema } from '@formily/react';
2
2
  import { FilterTarget } from '../block-provider/hooks';
3
- import { Collection, FieldOptions } from '../collection-manager';
3
+ import { Collection, CollectionFieldOptions, FieldOptions } from '../collection-manager';
4
4
  export declare enum FilterBlockType {
5
5
  FORM = 0,
6
6
  TABLE = 1,
@@ -13,8 +13,12 @@ export declare enum FilterBlockType {
13
13
  * @returns
14
14
  */
15
15
  export declare const useSupportedBlocks: (filterBlockType: FilterBlockType) => import("./FilterProvider").DataBlock[];
16
- export declare const transformToFilter: (values: Record<string, any>, fieldSchema: Schema) => {
17
- $and: Record<string, any>[];
16
+ export declare const transformToFilter: (values: Record<string, any>, fieldSchema: Schema, getCollectionJoinField: (name: string) => CollectionFieldOptions, collectionName: string) => {
17
+ $and: {
18
+ [x: string]: {
19
+ [x: number]: any;
20
+ };
21
+ }[];
18
22
  };
19
23
  export declare const useAssociatedFields: () => FieldOptions[];
20
24
  export declare const isAssocField: (field?: FieldOptions) => boolean;
@@ -25,3 +29,4 @@ export declare const useFilterAPI: () => {
25
29
  /** 调用该方法进行过滤 */
26
30
  doFilter: (value: any, field?: string | ((target: FilterTarget['targets'][0]) => string), operator?: string | ((target: FilterTarget['targets'][0]) => string)) => void;
27
31
  };
32
+ export declare const isInFilterFormBlock: (fieldSchema: Schema) => boolean;
@@ -15,7 +15,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
15
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
16
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
17
  import { useFieldSchema } from '@formily/react';
18
- import { isEmpty, isPlainObject } from '@nocobase/utils/client';
18
+ import { flatten, getValuesByPath } from '@nocobase/utils/client';
19
19
  import _ from 'lodash';
20
20
  import { useCallback, useEffect, useState } from 'react';
21
21
  import { mergeFilter } from '../block-provider';
@@ -56,35 +56,41 @@ export var useSupportedBlocks = function useSupportedBlocks(filterBlockType) {
56
56
  });
57
57
  }
58
58
  };
59
- /**
60
- * Recursively flatten an object and generate a query object.
61
- * @param result - The resulting query object.
62
- * @param obj - The object to be flattened and queried.
63
- * @param key - The current key in the object tree.
64
- * @param operators - The operators to use for each field.
65
- * @returns The resulting query object.
66
- */
67
- var flattenAndQueryObject = function flattenAndQueryObject(result, obj, key, operators) {
68
- if (!obj) return result;
69
- if (!isPlainObject(obj)) {
70
- result[key] = _defineProperty({}, operators[key] || '$eq', obj);
71
- } else {
72
- Object.keys(obj).forEach(function (k) {
73
- flattenAndQueryObject(result, obj[k], "".concat(key, ".").concat(k), operators);
74
- });
75
- }
76
- return result;
77
- };
78
- export var transformToFilter = function transformToFilter(values, fieldSchema) {
59
+ export var transformToFilter = function transformToFilter(values, fieldSchema, getCollectionJoinField, collectionName) {
79
60
  var _findFilterOperators = findFilterOperators(fieldSchema),
80
61
  operators = _findFilterOperators.operators;
81
- return {
62
+ values = flatten(values, {
63
+ breakOn: function breakOn(_ref) {
64
+ var value = _ref.value,
65
+ path = _ref.path;
66
+ var collectionField = getCollectionJoinField("".concat(collectionName, ".").concat(path));
67
+ if (collectionField === null || collectionField === void 0 ? void 0 : collectionField.target) {
68
+ if (Array.isArray(value)) {
69
+ return true;
70
+ }
71
+ var targetKey = collectionField.targetKey || 'id';
72
+ if (value && value[targetKey] != null) {
73
+ return true;
74
+ }
75
+ }
76
+ return false;
77
+ }
78
+ });
79
+ var result = {
82
80
  $and: Object.keys(values).map(function (key) {
83
- return flattenAndQueryObject({}, values[key], key, operators);
84
- }).filter(function (item) {
85
- return !isEmpty(item);
86
- })
81
+ var value = _.get(values, key);
82
+ var collectionField = getCollectionJoinField("".concat(collectionName, ".").concat(key));
83
+ if (collectionField === null || collectionField === void 0 ? void 0 : collectionField.target) {
84
+ value = getValuesByPath(value, collectionField.targetKey || 'id');
85
+ key = "".concat(key, ".").concat(collectionField.targetKey || 'id');
86
+ }
87
+ if (!value || value.length === 0) {
88
+ return null;
89
+ }
90
+ return _defineProperty({}, key, _defineProperty({}, operators[key] || '$eq', value));
91
+ }).filter(Boolean)
87
92
  };
93
+ return result;
88
94
  };
89
95
  export var useAssociatedFields = function useAssociatedFields() {
90
96
  var _useCollection = useCollection(),
@@ -94,7 +100,7 @@ export var useAssociatedFields = function useAssociatedFields() {
94
100
  }) || [];
95
101
  };
96
102
  export var isAssocField = function isAssocField(field) {
97
- return ['o2o', 'oho', 'obo', 'm2o', 'createdBy', 'updatedBy', 'o2m', 'm2m', 'linkTo'].includes(field === null || field === void 0 ? void 0 : field.interface);
103
+ return ['o2o', 'oho', 'obo', 'm2o', 'createdBy', 'updatedBy', 'o2m', 'm2m', 'linkTo', 'chinaRegion'].includes(field === null || field === void 0 ? void 0 : field.interface);
98
104
  };
99
105
  export var isSameCollection = function isSameCollection(c1, c2) {
100
106
  return c1.name === c2.name;
@@ -167,4 +173,13 @@ export var useFilterAPI = function useFilterAPI() {
167
173
  /** 调用该方法进行过滤 */
168
174
  doFilter: doFilter
169
175
  };
176
+ };
177
+ export var isInFilterFormBlock = function isInFilterFormBlock(fieldSchema) {
178
+ while (fieldSchema) {
179
+ if (fieldSchema['x-filter-targets']) {
180
+ return fieldSchema['x-decorator'] === 'FilterFormBlockProvider';
181
+ }
182
+ fieldSchema = fieldSchema.parent;
183
+ }
184
+ return false;
170
185
  };
@@ -213,6 +213,7 @@ declare const _default: {
213
213
  "Optional fields": string;
214
214
  "System fields": string;
215
215
  "General fields": string;
216
+ "Inherited fields": string;
216
217
  "Parent collection fields": string;
217
218
  Basic: string;
218
219
  "Single line text": string;
@@ -491,11 +492,13 @@ declare const _default: {
491
492
  Dialog: string;
492
493
  "Delete action": string;
493
494
  "Custom column title": string;
495
+ 'Column title': string;
494
496
  "Original title: ": string;
495
497
  "Delete table column": string;
496
498
  "Skip required validation": string;
497
499
  "Form values": string;
498
500
  "Fields values": string;
501
+ 'The field has bee deleted': string;
499
502
  "When submitting the following fields, the saved values are": string;
500
503
  "After successful submission": string;
501
504
  Then: string;
@@ -684,5 +687,9 @@ declare const _default: {
684
687
  "Column width": string;
685
688
  Sortable: string;
686
689
  "Enable link": string;
690
+ "This is likely a NocoBase internals bug. Please open an issue at <1>here</1>": string;
691
+ "Render Failed": string;
692
+ Feedback: string;
693
+ "Try again": string;
687
694
  };
688
695
  export default _default;
@@ -213,6 +213,7 @@ export default {
213
213
  "Optional fields": "Optional fields",
214
214
  "System fields": "System fields",
215
215
  "General fields": "General fields",
216
+ "Inherited fields": "Inherited fields",
216
217
  "Parent collection fields": "Parent collection fields",
217
218
  "Basic": "Basic",
218
219
  "Single line text": "Single line text",
@@ -491,11 +492,13 @@ export default {
491
492
  "Dialog": "Dialog",
492
493
  "Delete action": "Delete action",
493
494
  "Custom column title": "Custom column title",
495
+ 'Column title': 'column title',
494
496
  "Original title: ": "Original title: ",
495
497
  "Delete table column": "Delete table column",
496
498
  "Skip required validation": "Skip required validation",
497
499
  "Form values": "Form values",
498
500
  "Fields values": "Fields values",
501
+ 'The field has bee deleted': 'The field has bee deleted',
499
502
  "When submitting the following fields, the saved values are": "When submitting the following fields, the saved values are",
500
503
  "After successful submission": "After successful submission",
501
504
  "Then": "Then",
@@ -683,5 +686,9 @@ export default {
683
686
  "UpdatedAt": "Recording a row's last updated user",
684
687
  "Column width": "Column width",
685
688
  "Sortable": "Sortable",
686
- "Enable link": "Enable link"
689
+ "Enable link": "Enable link",
690
+ "This is likely a NocoBase internals bug. Please open an issue at <1>here</1>": "This is likely a NocoBase internals bug. Please open an issue at <1>here</1>",
691
+ "Render Failed": "Render Failed",
692
+ "Feedback": "Feedback",
693
+ "Try again": "Try again"
687
694
  };
@@ -415,11 +415,13 @@ declare const _default: {
415
415
  Dialog: string;
416
416
  "Delete action": string;
417
417
  "Custom column title": string;
418
+ 'Column title': string;
418
419
  "Original title: ": string;
419
420
  "Delete table column": string;
420
421
  "Skip required validation": string;
421
422
  "Form values": string;
422
423
  "Fields values": string;
424
+ 'The field has bee deleted': string;
423
425
  "When submitting the following fields, the saved values are": string;
424
426
  "After successful submission": string;
425
427
  Then: string;
@@ -591,7 +593,20 @@ declare const _default: {
591
593
  "Error message": string;
592
594
  "Record picker": string;
593
595
  "Search and select collection": string;
596
+ "This is likely a NocoBase internals bug. Please open an issue at <1>here</1>": string;
597
+ "Render Failed": string;
598
+ Feedback: string;
599
+ "Try again": string;
594
600
  'Click or drag file to this area to upload': string;
595
601
  'Support for a single or bulk upload, file size should not exceed': string;
602
+ 'Default title for each record': string;
603
+ 'If collection inherits, choose inherited collections as templates': string;
604
+ 'Select an existing piece of data as the initialization data for the form': string;
605
+ 'Only the selected fields will be used as the initialization data for the form': string;
606
+ 'Template Data': string;
607
+ 'Data fields': string;
608
+ 'Add template': string;
609
+ 'Display data template selector': string;
610
+ 'Form data templates': string;
596
611
  };
597
612
  export default _default;
@@ -415,11 +415,13 @@ export default {
415
415
  "Dialog": "ダイアログ",
416
416
  "Delete action": "操作を削除",
417
417
  "Custom column title": "カスタムカラムタイトル",
418
+ 'Column title': 'カラムタイトル',
418
419
  "Original title: ": "元のタイトル: ",
419
420
  "Delete table column": "テーブルのカラムを削除",
420
421
  "Skip required validation": "必須のバリデーションをスキップ",
421
422
  "Form values": "フォームの値",
422
423
  "Fields values": "フィールドの値",
424
+ 'The field has bee deleted': 'フィールドが削除されました',
423
425
  "When submitting the following fields, the saved values are": "次のフィールドを送信すると、保存された値は",
424
426
  "After successful submission": "送信が成功した後",
425
427
  "Then": "その後",
@@ -591,7 +593,20 @@ export default {
591
593
  "Format": "フォーマット",
592
594
  "Error message": "エラーメッセージ",
593
595
  "Record picker": "レコードピッカー",
594
- "Search and select collection": "Search and select collection",
596
+ "Search and select collection": "コレクションを検索して選択",
597
+ "This is likely a NocoBase internals bug. Please open an issue at <1>here</1>": "これはNocoBaseの内部バグの可能性があります。 <1>こちら</1>で問題を報告してください",
598
+ "Render Failed": "レンダリングに失敗しました",
599
+ "Feedback": "フィードバック",
600
+ "Try again": "再試行",
595
601
  'Click or drag file to this area to upload': 'クリックまたはドラッグしてファイルをアップロード',
596
- 'Support for a single or bulk upload, file size should not exceed': '単一または複数のファイルをアップロードできます。ファイルサイズは'
602
+ 'Support for a single or bulk upload, file size should not exceed': '単一または複数のファイルをアップロードできます。ファイルサイズは',
603
+ 'Default title for each record': '各レコードのデフォルトタイトル',
604
+ 'If collection inherits, choose inherited collections as templates': 'コレクションが継承されている場合、継承されたコレクションをテンプレートとして選択してください',
605
+ 'Select an existing piece of data as the initialization data for the form': '既存のデータを選択して、フォームの初期化データとして使用します',
606
+ 'Only the selected fields will be used as the initialization data for the form': '選択したフィールドのみがフォームの初期化データとして使用されます',
607
+ 'Template Data': 'テンプレートデータ',
608
+ 'Data fields': 'データフィールド',
609
+ 'Add template': 'テンプレートを追加',
610
+ 'Display data template selector': 'データテンプレートセレクターを表示',
611
+ 'Form data templates': 'フォームデータテンプレート'
597
612
  };
@@ -173,6 +173,7 @@ declare const _default: {
173
173
  "Optional fields": string;
174
174
  "System fields": string;
175
175
  "General fields": string;
176
+ "Inherited fields": string;
176
177
  "Parent collection fields": string;
177
178
  Basic: string;
178
179
  "Single line text": string;
@@ -451,11 +452,13 @@ declare const _default: {
451
452
  Dialog: string;
452
453
  "Delete action": string;
453
454
  "Custom column title": string;
455
+ 'Column title': string;
454
456
  "Original title: ": string;
455
457
  "Delete table column": string;
456
458
  "Skip required validation": string;
457
459
  "Form values": string;
458
460
  "Fields values": string;
461
+ 'The field has bee deleted': string;
459
462
  "When submitting the following fields, the saved values are": string;
460
463
  "After successful submission": string;
461
464
  Then: string;
@@ -644,7 +647,20 @@ declare const _default: {
644
647
  "Column width": string;
645
648
  Sortable: string;
646
649
  "Enable link": string;
650
+ "This is likely a NocoBase internals bug. Please open an issue at <1>here</1>": string;
651
+ "Render Failed": string;
652
+ Feedback: string;
653
+ "Try again": string;
647
654
  'Click or drag file to this area to upload': string;
648
655
  'Support for a single or bulk upload, file size should not exceed': string;
656
+ 'Default title for each record': string;
657
+ 'If collection inherits, choose inherited collections as templates': string;
658
+ 'Select an existing piece of data as the initialization data for the form': string;
659
+ 'Only the selected fields will be used as the initialization data for the form': string;
660
+ 'Template Data': string;
661
+ 'Data fields': string;
662
+ 'Add template': string;
663
+ 'Display data template selector': string;
664
+ 'Form data templates': string;
649
665
  };
650
666
  export default _default;