@nocobase/client 0.9.0-alpha.2 → 0.9.1-alpha.2

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 (327) hide show
  1. package/es/acl/ACLProvider.js +7 -8
  2. package/es/api-client/APIClient.js +6 -0
  3. package/es/block-provider/BlockProvider.js +9 -6
  4. package/es/block-provider/FormBlockProvider.js +18 -9
  5. package/es/block-provider/KanbanBlockProvider.js +1 -1
  6. package/es/block-provider/SharedFilterProvider.js +9 -1
  7. package/es/block-provider/TableBlockProvider.js +1 -1
  8. package/es/block-provider/TableSelectorProvider.js +2 -2
  9. package/es/block-provider/hooks/index.js +22 -7
  10. package/es/collection-manager/CollectionManagerProvider.d.ts +1 -0
  11. package/es/collection-manager/CollectionManagerProvider.js +71 -9
  12. package/es/collection-manager/CollectionManagerShortcut.js +36 -23
  13. package/es/collection-manager/Configuration/AddCategoryAction.d.ts +2 -0
  14. package/es/collection-manager/Configuration/AddCategoryAction.js +117 -0
  15. package/es/collection-manager/Configuration/AddCollectionAction.js +8 -3
  16. package/es/collection-manager/Configuration/AddFieldAction.js +1 -0
  17. package/es/collection-manager/Configuration/ConfigurationTable.js +33 -4
  18. package/es/collection-manager/Configuration/ConfigurationTabs.d.ts +1 -0
  19. package/es/collection-manager/Configuration/ConfigurationTabs.js +381 -0
  20. package/es/collection-manager/Configuration/EditCategoryAction.d.ts +2 -0
  21. package/es/collection-manager/Configuration/EditCategoryAction.js +150 -0
  22. package/es/collection-manager/Configuration/EditCollectionAction.js +6 -2
  23. package/es/collection-manager/Configuration/OverridingCollectionField.js +17 -8
  24. package/es/collection-manager/Configuration/components/CollectionCategory.d.ts +2 -0
  25. package/es/collection-manager/Configuration/components/CollectionCategory.js +13 -0
  26. package/es/collection-manager/Configuration/index.d.ts +3 -0
  27. package/es/collection-manager/Configuration/index.js +3 -0
  28. package/es/collection-manager/Configuration/schemas/collections.d.ts +3 -0
  29. package/es/collection-manager/Configuration/schemas/collections.js +309 -176
  30. package/es/collection-manager/Configuration/templates.d.ts +1 -0
  31. package/es/collection-manager/Configuration/templates.js +1 -1
  32. package/es/collection-manager/action-hooks.d.ts +4 -0
  33. package/es/collection-manager/action-hooks.js +26 -12
  34. package/es/collection-manager/context.d.ts +4 -0
  35. package/es/collection-manager/context.js +5 -1
  36. package/es/collection-manager/hooks/useCollectionManager.d.ts +7 -0
  37. package/es/collection-manager/hooks/useCollectionManager.js +52 -7
  38. package/es/collection-manager/interfaces/m2m.js +2 -2
  39. package/es/collection-manager/interfaces/properties/index.d.ts +0 -56
  40. package/es/collection-manager/interfaces/properties/index.js +1 -2
  41. package/es/collection-manager/templates/calendar.js +1 -1
  42. package/es/collection-manager/templates/general.js +1 -1
  43. package/es/collection-manager/templates/properties/index.d.ts +12 -1
  44. package/es/collection-manager/templates/properties/index.js +11 -0
  45. package/es/i18n/i18n.js +3 -1
  46. package/es/locale/en_US.d.ts +23 -0
  47. package/es/locale/en_US.js +23 -0
  48. package/es/locale/ja_JP.d.ts +23 -0
  49. package/es/locale/ja_JP.js +24 -1
  50. package/es/locale/ru_RU.d.ts +1 -0
  51. package/es/locale/ru_RU.js +1 -0
  52. package/es/locale/zh_CN.d.ts +43 -4
  53. package/es/locale/zh_CN.js +44 -5
  54. package/es/route-switch/antd/admin-layout/index.js +13 -33
  55. package/es/schema-component/antd/action/Action.Designer.js +28 -15
  56. package/es/schema-component/antd/action/Action.js +28 -5
  57. package/es/schema-component/antd/action/utils.d.ts +1 -0
  58. package/es/schema-component/antd/action/utils.js +49 -0
  59. package/es/schema-component/antd/association-filter/AssociationFilter.js +4 -4
  60. package/es/schema-component/antd/association-select/AssociationSelect.d.ts +2 -2
  61. package/es/schema-component/antd/association-select/useServiceOptions.js +47 -6
  62. package/es/schema-component/antd/calendar/Calendar.Designer.js +17 -36
  63. package/es/schema-component/antd/checkbox/Checkbox.js +9 -8
  64. package/es/schema-component/antd/date-picker/util.d.ts +1 -1
  65. package/es/schema-component/antd/date-picker/util.js +1 -1
  66. package/es/schema-component/antd/filter/DynamicComponent.js +3 -1
  67. package/es/schema-component/antd/filter/Filter.js +2 -1
  68. package/es/schema-component/antd/filter/FilterGroup.js +7 -4
  69. package/es/schema-component/antd/filter/FilterItem.js +3 -2
  70. package/es/schema-component/antd/filter/context.d.ts +1 -0
  71. package/es/schema-component/antd/filter/useValues.js +14 -11
  72. package/es/schema-component/antd/form/Form.js +11 -5
  73. package/es/schema-component/antd/form-item/FormItem.js +17 -8
  74. package/es/schema-component/antd/form-v2/Form.Designer.js +2 -0
  75. package/es/schema-component/antd/form-v2/Form.js +94 -7
  76. package/es/schema-component/antd/form-v2/utils.d.ts +5 -0
  77. package/es/schema-component/antd/form-v2/utils.js +161 -0
  78. package/es/schema-component/antd/g2plot/G2Plot.js +3 -1
  79. package/es/schema-component/antd/grid/Grid.js +10 -5
  80. package/es/schema-component/antd/icon-picker/IconPicker.js +1 -0
  81. package/es/schema-component/antd/index.d.ts +1 -0
  82. package/es/schema-component/antd/index.js +1 -0
  83. package/es/schema-component/antd/input/Input.d.ts +2 -1
  84. package/es/schema-component/antd/input/Json.d.ts +5 -3
  85. package/es/schema-component/antd/input/Json.js +3 -2
  86. package/es/schema-component/antd/input/ReadPretty.js +1 -1
  87. package/es/schema-component/antd/input-number/InputNumber.js +3 -1
  88. package/es/schema-component/antd/page/FixedBlock.js +3 -1
  89. package/es/schema-component/antd/page/Page.js +11 -5
  90. package/es/schema-component/antd/page/PageTabDesigner.js +3 -3
  91. package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +3 -1
  92. package/es/schema-component/antd/record-picker/RecordPicker.js +1 -2
  93. package/es/schema-component/antd/record-picker/util.js +7 -0
  94. package/es/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  95. package/es/schema-component/antd/remote-select/RemoteSelect.js +78 -36
  96. package/es/schema-component/antd/rich-text/RichText.js +4 -2
  97. package/es/schema-component/antd/select/Select.js +14 -4
  98. package/es/schema-component/antd/table/Table.Array.js +10 -3
  99. package/es/schema-component/antd/table-v2/Table.Column.Designer.js +2 -2
  100. package/es/schema-component/antd/table-v2/TableBlockDesigner.js +3 -2
  101. package/es/schema-component/antd/tabs/Tabs.Designer.js +1 -0
  102. package/es/schema-component/antd/tabs/Tabs.js +1 -0
  103. package/es/schema-component/antd/time-picker/TimePicker.js +1 -1
  104. package/es/schema-component/antd/variable/Input.d.ts +2 -0
  105. package/es/schema-component/antd/variable/Input.js +244 -0
  106. package/es/schema-component/antd/variable/JSONInput.d.ts +2 -0
  107. package/es/schema-component/antd/variable/JSONInput.js +82 -0
  108. package/es/schema-component/antd/variable/TextArea.d.ts +2 -0
  109. package/es/schema-component/antd/variable/TextArea.js +322 -0
  110. package/es/schema-component/antd/variable/Variable.d.ts +8 -0
  111. package/es/schema-component/antd/variable/Variable.js +11 -0
  112. package/es/schema-component/antd/variable/index.d.ts +1 -0
  113. package/es/schema-component/antd/variable/index.js +1 -0
  114. package/es/schema-component/common/sortable-item/SortableItem.js +36 -6
  115. package/es/schema-component/common/utils/logic.js +523 -0
  116. package/es/schema-component/common/utils/uitls.d.ts +1 -0
  117. package/es/schema-component/common/utils/uitls.js +89 -0
  118. package/es/schema-initializer/SchemaInitializer.js +9 -4
  119. package/es/schema-initializer/buttons/BlockInitializers.d.ts +2 -184
  120. package/es/schema-initializer/buttons/BlockInitializers.js +1 -102
  121. package/es/schema-initializer/buttons/RecordBlockInitializers.js +72 -16
  122. package/es/schema-initializer/buttons/TableActionColumnInitializers.d.ts +1 -0
  123. package/es/schema-initializer/buttons/TableActionColumnInitializers.js +1 -3
  124. package/es/schema-initializer/components/CreateRecordAction.d.ts +3 -0
  125. package/es/schema-initializer/components/CreateRecordAction.js +174 -0
  126. package/es/schema-initializer/components/index.d.ts +1 -0
  127. package/es/schema-initializer/components/index.js +2 -1
  128. package/es/schema-initializer/index.d.ts +2 -1
  129. package/es/schema-initializer/index.js +2 -1
  130. package/es/schema-initializer/items/CalendarBlockInitializer.js +24 -41
  131. package/es/schema-initializer/items/CreateActionInitializer.js +3 -3
  132. package/es/schema-initializer/items/RecordFormBlockInitializer.js +9 -9
  133. package/es/schema-initializer/items/index.d.ts +4 -4
  134. package/es/schema-initializer/items/index.js +6 -6
  135. package/es/schema-initializer/utils.js +22 -7
  136. package/es/schema-settings/EnableChildCollections/index.d.ts +2 -0
  137. package/es/schema-settings/EnableChildCollections/index.js +141 -0
  138. package/es/schema-settings/LinkageRules/DynamicComponent.d.ts +1 -0
  139. package/es/schema-settings/LinkageRules/DynamicComponent.js +113 -0
  140. package/es/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +2 -0
  141. package/es/schema-settings/LinkageRules/FilterDynamicComponent.js +15 -0
  142. package/es/schema-settings/LinkageRules/LinkageRuleAction.d.ts +3 -0
  143. package/es/schema-settings/LinkageRules/LinkageRuleAction.js +162 -0
  144. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +3 -0
  145. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.js +71 -0
  146. package/es/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +1 -0
  147. package/es/schema-settings/LinkageRules/ValueDynamicComponent.js +82 -0
  148. package/es/schema-settings/LinkageRules/Variables.d.ts +7 -0
  149. package/es/schema-settings/LinkageRules/Variables.js +115 -0
  150. package/es/schema-settings/LinkageRules/action-hooks.d.ts +1 -0
  151. package/es/schema-settings/LinkageRules/action-hooks.js +115 -0
  152. package/es/schema-settings/LinkageRules/context.d.ts +13 -0
  153. package/es/schema-settings/LinkageRules/context.js +4 -0
  154. package/es/schema-settings/LinkageRules/index.d.ts +2 -0
  155. package/es/schema-settings/LinkageRules/index.js +132 -0
  156. package/es/schema-settings/LinkageRules/type.d.ts +13 -0
  157. package/es/schema-settings/LinkageRules/type.js +15 -0
  158. package/es/schema-settings/LinkageRules/useValues.d.ts +1 -0
  159. package/es/schema-settings/LinkageRules/useValues.js +84 -0
  160. package/es/schema-settings/SchemaSettings.d.ts +4 -1
  161. package/es/schema-settings/SchemaSettings.js +219 -26
  162. package/es/schema-templates/BlockTemplate.js +9 -1
  163. package/es/system-settings/SystemSettingsShortcut.js +1 -1
  164. package/lib/acl/ACLProvider.js +7 -8
  165. package/lib/api-client/APIClient.js +6 -0
  166. package/lib/block-provider/BlockProvider.js +9 -6
  167. package/lib/block-provider/FormBlockProvider.js +17 -8
  168. package/lib/block-provider/KanbanBlockProvider.js +1 -1
  169. package/lib/block-provider/SharedFilterProvider.js +9 -3
  170. package/lib/block-provider/TableBlockProvider.js +1 -1
  171. package/lib/block-provider/TableSelectorProvider.js +2 -2
  172. package/lib/block-provider/hooks/index.js +23 -7
  173. package/lib/collection-manager/CollectionManagerProvider.d.ts +1 -0
  174. package/lib/collection-manager/CollectionManagerProvider.js +81 -16
  175. package/lib/collection-manager/CollectionManagerShortcut.js +36 -23
  176. package/lib/collection-manager/Configuration/AddCategoryAction.d.ts +2 -0
  177. package/lib/collection-manager/Configuration/AddCategoryAction.js +145 -0
  178. package/lib/collection-manager/Configuration/AddCollectionAction.js +8 -3
  179. package/lib/collection-manager/Configuration/AddFieldAction.js +1 -0
  180. package/lib/collection-manager/Configuration/ConfigurationTable.js +34 -4
  181. package/lib/collection-manager/Configuration/ConfigurationTabs.d.ts +1 -0
  182. package/lib/collection-manager/Configuration/ConfigurationTabs.js +407 -0
  183. package/lib/collection-manager/Configuration/EditCategoryAction.d.ts +2 -0
  184. package/lib/collection-manager/Configuration/EditCategoryAction.js +178 -0
  185. package/lib/collection-manager/Configuration/EditCollectionAction.js +6 -2
  186. package/lib/collection-manager/Configuration/OverridingCollectionField.js +17 -8
  187. package/lib/collection-manager/Configuration/components/CollectionCategory.d.ts +2 -0
  188. package/lib/collection-manager/Configuration/components/CollectionCategory.js +27 -0
  189. package/lib/collection-manager/Configuration/index.d.ts +3 -0
  190. package/lib/collection-manager/Configuration/index.js +39 -0
  191. package/lib/collection-manager/Configuration/schemas/collections.d.ts +3 -0
  192. package/lib/collection-manager/Configuration/schemas/collections.js +316 -178
  193. package/lib/collection-manager/Configuration/templates.d.ts +1 -0
  194. package/lib/collection-manager/Configuration/templates.js +2 -0
  195. package/lib/collection-manager/action-hooks.d.ts +4 -0
  196. package/lib/collection-manager/action-hooks.js +30 -13
  197. package/lib/collection-manager/context.d.ts +4 -0
  198. package/lib/collection-manager/context.js +7 -2
  199. package/lib/collection-manager/hooks/useCollectionManager.d.ts +7 -0
  200. package/lib/collection-manager/hooks/useCollectionManager.js +52 -6
  201. package/lib/collection-manager/interfaces/m2m.js +2 -2
  202. package/lib/collection-manager/interfaces/properties/index.d.ts +0 -56
  203. package/lib/collection-manager/interfaces/properties/index.js +1 -2
  204. package/lib/collection-manager/templates/calendar.js +1 -1
  205. package/lib/collection-manager/templates/general.js +1 -1
  206. package/lib/collection-manager/templates/properties/index.d.ts +12 -1
  207. package/lib/collection-manager/templates/properties/index.js +11 -0
  208. package/lib/i18n/i18n.js +3 -1
  209. package/lib/locale/en_US.d.ts +23 -0
  210. package/lib/locale/en_US.js +23 -0
  211. package/lib/locale/ja_JP.d.ts +23 -0
  212. package/lib/locale/ja_JP.js +24 -1
  213. package/lib/locale/ru_RU.d.ts +1 -0
  214. package/lib/locale/ru_RU.js +1 -0
  215. package/lib/locale/zh_CN.d.ts +43 -4
  216. package/lib/locale/zh_CN.js +44 -5
  217. package/lib/route-switch/antd/admin-layout/index.js +13 -33
  218. package/lib/schema-component/antd/action/Action.Designer.js +30 -14
  219. package/lib/schema-component/antd/action/Action.js +29 -3
  220. package/lib/schema-component/antd/action/utils.d.ts +1 -0
  221. package/lib/schema-component/antd/action/utils.js +58 -2
  222. package/lib/schema-component/antd/association-filter/AssociationFilter.js +3 -3
  223. package/lib/schema-component/antd/association-select/AssociationSelect.d.ts +2 -2
  224. package/lib/schema-component/antd/association-select/useServiceOptions.js +47 -4
  225. package/lib/schema-component/antd/calendar/Calendar.Designer.js +15 -33
  226. package/lib/schema-component/antd/checkbox/Checkbox.js +8 -7
  227. package/lib/schema-component/antd/date-picker/util.d.ts +1 -1
  228. package/lib/schema-component/antd/date-picker/util.js +1 -1
  229. package/lib/schema-component/antd/filter/DynamicComponent.js +3 -1
  230. package/lib/schema-component/antd/filter/Filter.js +2 -1
  231. package/lib/schema-component/antd/filter/FilterGroup.js +7 -4
  232. package/lib/schema-component/antd/filter/FilterItem.js +3 -2
  233. package/lib/schema-component/antd/filter/context.d.ts +1 -0
  234. package/lib/schema-component/antd/filter/useValues.js +15 -11
  235. package/lib/schema-component/antd/form/Form.js +9 -3
  236. package/lib/schema-component/antd/form-item/FormItem.js +21 -7
  237. package/lib/schema-component/antd/form-v2/Form.Designer.js +2 -0
  238. package/lib/schema-component/antd/form-v2/Form.js +93 -5
  239. package/lib/schema-component/antd/form-v2/utils.d.ts +5 -0
  240. package/lib/schema-component/antd/form-v2/utils.js +181 -0
  241. package/lib/schema-component/antd/g2plot/G2Plot.js +3 -1
  242. package/lib/schema-component/antd/grid/Grid.js +10 -5
  243. package/lib/schema-component/antd/icon-picker/IconPicker.js +1 -0
  244. package/lib/schema-component/antd/index.d.ts +1 -0
  245. package/lib/schema-component/antd/index.js +13 -0
  246. package/lib/schema-component/antd/input/Input.d.ts +2 -1
  247. package/lib/schema-component/antd/input/Json.d.ts +5 -3
  248. package/lib/schema-component/antd/input/Json.js +6 -3
  249. package/lib/schema-component/antd/input/ReadPretty.js +1 -1
  250. package/lib/schema-component/antd/input-number/InputNumber.js +2 -0
  251. package/lib/schema-component/antd/page/FixedBlock.js +3 -1
  252. package/lib/schema-component/antd/page/Page.js +14 -5
  253. package/lib/schema-component/antd/page/PageTabDesigner.js +1 -1
  254. package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +3 -1
  255. package/lib/schema-component/antd/record-picker/RecordPicker.js +1 -2
  256. package/lib/schema-component/antd/record-picker/util.js +7 -0
  257. package/lib/schema-component/antd/remote-select/RemoteSelect.d.ts +2 -0
  258. package/lib/schema-component/antd/remote-select/RemoteSelect.js +78 -37
  259. package/lib/schema-component/antd/rich-text/RichText.js +4 -2
  260. package/lib/schema-component/antd/select/Select.js +14 -4
  261. package/lib/schema-component/antd/table/Table.Array.js +8 -1
  262. package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +2 -2
  263. package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +3 -2
  264. package/lib/schema-component/antd/tabs/Tabs.Designer.js +1 -0
  265. package/lib/schema-component/antd/tabs/Tabs.js +1 -0
  266. package/lib/schema-component/antd/time-picker/TimePicker.js +1 -1
  267. package/lib/schema-component/antd/variable/Input.d.ts +2 -0
  268. package/lib/schema-component/antd/variable/Input.js +262 -0
  269. package/lib/schema-component/antd/variable/JSONInput.d.ts +2 -0
  270. package/lib/schema-component/antd/variable/JSONInput.js +100 -0
  271. package/lib/schema-component/antd/variable/TextArea.d.ts +2 -0
  272. package/lib/schema-component/antd/variable/TextArea.js +341 -0
  273. package/lib/schema-component/antd/variable/Variable.d.ts +8 -0
  274. package/lib/schema-component/antd/variable/Variable.js +25 -0
  275. package/lib/schema-component/antd/variable/index.d.ts +1 -0
  276. package/lib/schema-component/antd/variable/index.js +18 -0
  277. package/lib/schema-component/common/sortable-item/SortableItem.js +36 -6
  278. package/lib/schema-component/common/utils/logic.js +525 -0
  279. package/lib/schema-component/common/utils/uitls.d.ts +1 -0
  280. package/lib/schema-component/common/utils/uitls.js +103 -0
  281. package/lib/schema-initializer/SchemaInitializer.js +9 -4
  282. package/lib/schema-initializer/buttons/BlockInitializers.d.ts +2 -184
  283. package/lib/schema-initializer/buttons/BlockInitializers.js +0 -108
  284. package/lib/schema-initializer/buttons/RecordBlockInitializers.js +72 -16
  285. package/lib/schema-initializer/buttons/TableActionColumnInitializers.d.ts +1 -0
  286. package/lib/schema-initializer/buttons/TableActionColumnInitializers.js +3 -1
  287. package/lib/schema-initializer/components/CreateRecordAction.d.ts +3 -0
  288. package/lib/schema-initializer/components/CreateRecordAction.js +199 -0
  289. package/lib/schema-initializer/components/index.d.ts +1 -0
  290. package/lib/schema-initializer/components/index.js +13 -0
  291. package/lib/schema-initializer/index.d.ts +2 -1
  292. package/lib/schema-initializer/index.js +51 -2
  293. package/lib/schema-initializer/items/CalendarBlockInitializer.js +16 -33
  294. package/lib/schema-initializer/items/CreateActionInitializer.js +3 -3
  295. package/lib/schema-initializer/items/RecordFormBlockInitializer.js +3 -3
  296. package/lib/schema-initializer/items/index.d.ts +4 -4
  297. package/lib/schema-initializer/items/index.js +52 -52
  298. package/lib/schema-initializer/utils.js +22 -6
  299. package/lib/schema-settings/EnableChildCollections/index.d.ts +2 -0
  300. package/lib/schema-settings/EnableChildCollections/index.js +156 -0
  301. package/lib/schema-settings/LinkageRules/DynamicComponent.d.ts +1 -0
  302. package/lib/schema-settings/LinkageRules/DynamicComponent.js +139 -0
  303. package/lib/schema-settings/LinkageRules/FilterDynamicComponent.d.ts +2 -0
  304. package/lib/schema-settings/LinkageRules/FilterDynamicComponent.js +27 -0
  305. package/lib/schema-settings/LinkageRules/LinkageRuleAction.d.ts +3 -0
  306. package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +190 -0
  307. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.d.ts +3 -0
  308. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.js +90 -0
  309. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.d.ts +1 -0
  310. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.js +104 -0
  311. package/lib/schema-settings/LinkageRules/Variables.d.ts +7 -0
  312. package/lib/schema-settings/LinkageRules/Variables.js +124 -0
  313. package/lib/schema-settings/LinkageRules/action-hooks.d.ts +1 -0
  314. package/lib/schema-settings/LinkageRules/action-hooks.js +127 -0
  315. package/lib/schema-settings/LinkageRules/context.d.ts +13 -0
  316. package/lib/schema-settings/LinkageRules/context.js +15 -0
  317. package/lib/schema-settings/LinkageRules/index.d.ts +2 -0
  318. package/lib/schema-settings/LinkageRules/index.js +149 -0
  319. package/lib/schema-settings/LinkageRules/type.d.ts +13 -0
  320. package/lib/schema-settings/LinkageRules/type.js +22 -0
  321. package/lib/schema-settings/LinkageRules/useValues.d.ts +1 -0
  322. package/lib/schema-settings/LinkageRules/useValues.js +95 -0
  323. package/lib/schema-settings/SchemaSettings.d.ts +4 -1
  324. package/lib/schema-settings/SchemaSettings.js +243 -48
  325. package/lib/schema-templates/BlockTemplate.js +9 -1
  326. package/lib/system-settings/SystemSettingsShortcut.js +1 -1
  327. package/package.json +4 -4
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useValuesFromRecord = exports.useValuesFromRA = exports.useUpdateViewAction = exports.useUpdateActionAndRefreshCM = exports.useUpdateAction = exports.useSortFields = exports.useResetFilterAction = exports.useMoveAction = exports.useKanbanEvents = exports.useFilterDataSource = exports.useFilterActionProps = exports.useFilterAction = exports.useDestroyActionAndRefreshCM = exports.useDestroyAction = exports.useCreateActionWithoutRefresh = exports.useCreateActionAndRefreshCM = exports.useCreateAction = exports.useCollectionFilterOptions = exports.useCancelAction = exports.useBulkDestroyActionAndRefreshCM = exports.useBulkDestroyAction = void 0;
6
+ exports.useValuesFromRecord = exports.useValuesFromRA = exports.useUpdateViewAction = exports.useUpdateActionAndRefreshCM = exports.useUpdateAction = exports.useSortFields = exports.useResetFilterAction = exports.useMoveAction = exports.useKanbanEvents = exports.useFilterDataSource = exports.useFilterActionProps = exports.useFilterAction = exports.useDestroyActionAndRefreshCM = exports.useDestroyAction = exports.useCreateActionWithoutRefresh = exports.useCreateActionAndRefreshCM = exports.useCreateAction = exports.useCollectionFilterOptions = exports.useChildrenCollections = exports.useCancelAction = exports.useBulkDestroyActionAndRefreshCM = exports.useBulkDestroyAction = void 0;
7
7
 
8
8
  var _react = require("@formily/react");
9
9
 
@@ -211,10 +211,25 @@ var useSortFields = function useSortFields(collectionName) {
211
211
 
212
212
  exports.useSortFields = useSortFields;
213
213
 
214
- var useCollectionFilterOptions = function useCollectionFilterOptions(collectionName) {
214
+ var useChildrenCollections = function useChildrenCollections(collectionName) {
215
215
  var _useCollectionManager2 = (0, _.useCollectionManager)(),
216
- getCollectionFields = _useCollectionManager2.getCollectionFields,
217
- getInterface = _useCollectionManager2.getInterface;
216
+ getChildrenCollections = _useCollectionManager2.getChildrenCollections;
217
+
218
+ var childrenCollections = getChildrenCollections(collectionName);
219
+ return childrenCollections.map(function (collection) {
220
+ return {
221
+ value: collection.name,
222
+ label: (collection === null || collection === void 0 ? void 0 : collection.title) || collection.name
223
+ };
224
+ });
225
+ };
226
+
227
+ exports.useChildrenCollections = useChildrenCollections;
228
+
229
+ var useCollectionFilterOptions = function useCollectionFilterOptions(collectionName) {
230
+ var _useCollectionManager3 = (0, _.useCollectionManager)(),
231
+ getCollectionFields = _useCollectionManager3.getCollectionFields,
232
+ getInterface = _useCollectionManager3.getInterface;
218
233
 
219
234
  var fields = getCollectionFields(collectionName);
220
235
 
@@ -661,8 +676,8 @@ var useCreateActionAndRefreshCM = function useCreateActionAndRefreshCM() {
661
676
  var _useCreateAction = useCreateAction(),
662
677
  _run3 = _useCreateAction.run;
663
678
 
664
- var _useCollectionManager3 = (0, _.useCollectionManager)(),
665
- refreshCM = _useCollectionManager3.refreshCM;
679
+ var _useCollectionManager4 = (0, _.useCollectionManager)(),
680
+ refreshCM = _useCollectionManager4.refreshCM;
666
681
 
667
682
  return {
668
683
  run: function run() {
@@ -695,8 +710,8 @@ var useUpdateActionAndRefreshCM = function useUpdateActionAndRefreshCM() {
695
710
  var _useUpdateAction = useUpdateAction(),
696
711
  _run4 = _useUpdateAction.run;
697
712
 
698
- var _useCollectionManager4 = (0, _.useCollectionManager)(),
699
- refreshCM = _useCollectionManager4.refreshCM;
713
+ var _useCollectionManager5 = (0, _.useCollectionManager)(),
714
+ refreshCM = _useCollectionManager5.refreshCM;
700
715
 
701
716
  return {
702
717
  run: function run() {
@@ -729,8 +744,8 @@ var useDestroyActionAndRefreshCM = function useDestroyActionAndRefreshCM() {
729
744
  var _useDestroyAction = useDestroyAction(),
730
745
  _run5 = _useDestroyAction.run;
731
746
 
732
- var _useCollectionManager5 = (0, _.useCollectionManager)(),
733
- refreshCM = _useCollectionManager5.refreshCM;
747
+ var _useCollectionManager6 = (0, _.useCollectionManager)(),
748
+ refreshCM = _useCollectionManager6.refreshCM;
734
749
 
735
750
  return {
736
751
  run: function run() {
@@ -763,8 +778,8 @@ var useBulkDestroyActionAndRefreshCM = function useBulkDestroyActionAndRefreshCM
763
778
  var _useBulkDestroyAction = useBulkDestroyAction(),
764
779
  _run6 = _useBulkDestroyAction.run;
765
780
 
766
- var _useCollectionManager6 = (0, _.useCollectionManager)(),
767
- refreshCM = _useCollectionManager6.refreshCM;
781
+ var _useCollectionManager7 = (0, _.useCollectionManager)(),
782
+ refreshCM = _useCollectionManager7.refreshCM;
768
783
 
769
784
  return {
770
785
  run: function run() {
@@ -794,6 +809,8 @@ var useBulkDestroyActionAndRefreshCM = function useBulkDestroyActionAndRefreshCM
794
809
  exports.useBulkDestroyActionAndRefreshCM = useBulkDestroyActionAndRefreshCM;
795
810
 
796
811
  var useFilterActionProps = function useFilterActionProps() {
812
+ var _service$state, _service$state$params;
813
+
797
814
  var _useResourceContext8 = (0, _ResourceActionProvider.useResourceContext)(),
798
815
  collection = _useResourceContext8.collection;
799
816
 
@@ -801,7 +818,7 @@ var useFilterActionProps = function useFilterActionProps() {
801
818
  var service = (0, _ResourceActionProvider.useResourceActionContext)();
802
819
  return (0, _useFilterActionProps.useFilterFieldProps)({
803
820
  options: options,
804
- params: service.params,
821
+ params: ((_service$state = service.state) === null || _service$state === void 0 ? void 0 : (_service$state$params = _service$state.params) === null || _service$state$params === void 0 ? void 0 : _service$state$params[0]) || service.params,
805
822
  service: service
806
823
  });
807
824
  };
@@ -3,3 +3,7 @@ import { CollectionFieldOptions, CollectionManagerOptions, CollectionOptions } f
3
3
  export declare const CollectionManagerContext: import("react").Context<CollectionManagerOptions>;
4
4
  export declare const CollectionContext: import("react").Context<CollectionOptions>;
5
5
  export declare const CollectionFieldContext: import("react").Context<CollectionFieldOptions>;
6
+ export declare const CollectionCategroriesContext: import("react").Context<{
7
+ data: any[];
8
+ refresh: () => void;
9
+ }>;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CollectionManagerContext = exports.CollectionFieldContext = exports.CollectionContext = void 0;
6
+ exports.CollectionManagerContext = exports.CollectionFieldContext = exports.CollectionContext = exports.CollectionCategroriesContext = void 0;
7
7
 
8
8
  var _react = require("react");
9
9
 
@@ -15,4 +15,9 @@ exports.CollectionManagerContext = CollectionManagerContext;
15
15
  var CollectionContext = /*#__PURE__*/(0, _react.createContext)({});
16
16
  exports.CollectionContext = CollectionContext;
17
17
  var CollectionFieldContext = /*#__PURE__*/(0, _react.createContext)({});
18
- exports.CollectionFieldContext = CollectionFieldContext;
18
+ exports.CollectionFieldContext = CollectionFieldContext;
19
+ var CollectionCategroriesContext = /*#__PURE__*/(0, _react.createContext)({
20
+ data: [],
21
+ refresh: function refresh() {}
22
+ });
23
+ exports.CollectionCategroriesContext = CollectionCategroriesContext;
@@ -10,6 +10,13 @@ export declare const useCollectionManager: () => {
10
10
  getInheritedFields: (name: any) => any[];
11
11
  getCollectionField: (name: string) => CollectionFieldOptions;
12
12
  getCollectionFields: (name: string) => CollectionFieldOptions[];
13
+ getCollectionFieldsOptions: (collectionName: string, type?: string | string[], opts?: {
14
+ /**
15
+ * 为 true 时允许查询所有关联字段
16
+ * 为 Array<string> 时仅允许查询指定的关联字段
17
+ */
18
+ association?: boolean | string[];
19
+ }) => any[];
13
20
  getCurrentCollectionFields: (name: string) => any;
14
21
  getCollection(name: any): any;
15
22
  getCollectionJoinField(name: string): any;
@@ -11,6 +11,8 @@ var _lodash = require("lodash");
11
11
 
12
12
  var _react = require("react");
13
13
 
14
+ var _schemaComponent = require("../../schema-component");
15
+
14
16
  var _context = require("../context");
15
17
 
16
18
  function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
@@ -37,6 +39,8 @@ var useCollectionManager = function useCollectionManager() {
37
39
  collections = _useContext.collections,
38
40
  templates = _useContext.templates;
39
41
 
42
+ var compile = (0, _schemaComponent.useCompile)();
43
+
40
44
  var getInheritedFields = function getInheritedFields(name) {
41
45
  var inheritKeys = getInheritCollections(name);
42
46
  var inheritedFields = (0, _lodash.reduce)(inheritKeys, function (result, value) {
@@ -115,9 +119,9 @@ var useCollectionManager = function useCollectionManager() {
115
119
  };
116
120
 
117
121
  var getChildrenCollections = function getChildrenCollections(name) {
118
- var childrens = [];
122
+ var children = [];
119
123
 
120
- var getChildrens = function getChildrens(name) {
124
+ var getChildren = function getChildren(name) {
121
125
  var inheritCollections = collections.filter(function (v) {
122
126
  var _v$inherits;
123
127
 
@@ -125,13 +129,13 @@ var useCollectionManager = function useCollectionManager() {
125
129
  });
126
130
  inheritCollections.forEach(function (v) {
127
131
  var collectionKey = v.name;
128
- childrens.push(v);
129
- return getChildrens(collectionKey);
132
+ children.push(v);
133
+ return getChildren(collectionKey);
130
134
  });
131
- return childrens;
135
+ return (0, _lodash.uniqBy)(children, 'key');
132
136
  };
133
137
 
134
- return getChildrens(name);
138
+ return getChildren(name);
135
139
  };
136
140
 
137
141
  var getCurrentCollectionFields = function getCurrentCollectionFields(name) {
@@ -141,6 +145,47 @@ var useCollectionManager = function useCollectionManager() {
141
145
  return (collection === null || collection === void 0 ? void 0 : collection.fields) || [];
142
146
  };
143
147
 
148
+ var getCollectionFieldsOptions = function getCollectionFieldsOptions(collectionName) {
149
+ var _fields$filter;
150
+
151
+ var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'string';
152
+ var opts = arguments.length > 2 ? arguments[2] : undefined;
153
+
154
+ var _ref = opts || {},
155
+ _ref$association = _ref.association,
156
+ association = _ref$association === void 0 ? false : _ref$association;
157
+
158
+ if (typeof type === 'string') {
159
+ type = [type];
160
+ }
161
+
162
+ var fields = getCollectionFields(collectionName);
163
+ var options = fields === null || fields === void 0 ? void 0 : (_fields$filter = fields.filter(function (field) {
164
+ return field.interface && (type.includes(field.type) || (association && field.target && field.target !== collectionName && Array.isArray(association) ? association.includes(field.interface) : false));
165
+ })) === null || _fields$filter === void 0 ? void 0 : _fields$filter.map(function (field) {
166
+ var _field$uiSchema;
167
+
168
+ var result = {
169
+ value: field.name,
170
+ label: compile(field === null || field === void 0 ? void 0 : (_field$uiSchema = field.uiSchema) === null || _field$uiSchema === void 0 ? void 0 : _field$uiSchema.title) || field.name
171
+ };
172
+
173
+ if (association && field.target) {
174
+ var _result$children;
175
+
176
+ result.children = getCollectionFieldsOptions(field.target, type, opts);
177
+
178
+ if (!((_result$children = result.children) === null || _result$children === void 0 ? void 0 : _result$children.length)) {
179
+ return null;
180
+ }
181
+ }
182
+
183
+ return result;
184
+ }) // 过滤 map 产生为 null 的数据
185
+ .filter(Boolean);
186
+ return options;
187
+ };
188
+
144
189
  return {
145
190
  service: service,
146
191
  interfaces: interfaces,
@@ -158,6 +203,7 @@ var useCollectionManager = function useCollectionManager() {
158
203
  getInheritedFields: getInheritedFields,
159
204
  getCollectionField: getCollectionField,
160
205
  getCollectionFields: getCollectionFields,
206
+ getCollectionFieldsOptions: getCollectionFieldsOptions,
161
207
  getCurrentCollectionFields: getCurrentCollectionFields,
162
208
  getCollection: function getCollection(name) {
163
209
  if (typeof name !== 'string') {
@@ -205,7 +205,7 @@ var m2m = {
205
205
  'x-decorator': 'FormItem',
206
206
  'x-component': 'Input',
207
207
  'x-validator': 'uid',
208
- 'x-disabled': '{{ !createOnly }}'
208
+ 'x-disabled': '{{ !createOnly||override }}'
209
209
  }
210
210
  }
211
211
  },
@@ -238,7 +238,7 @@ var m2m = {
238
238
  'x-decorator': 'FormItem',
239
239
  'x-component': 'Input',
240
240
  'x-validator': 'uid',
241
- 'x-disabled': '{{ !createOnly }}'
241
+ 'x-disabled': '{{ !createOnly||override }}'
242
242
  }
243
243
  }
244
244
  },
@@ -46,62 +46,6 @@ export declare const defaultProps: {
46
46
  'x-validator': string;
47
47
  description: string;
48
48
  };
49
- type: import("@formily/react").Stringify<{
50
- [key: symbol]: any;
51
- [key: `x-${string}`]: any;
52
- [key: `x-${number}`]: any;
53
- version?: string;
54
- name?: import("@formily/react").SchemaKey;
55
- title?: any;
56
- description?: any;
57
- default?: any;
58
- readOnly?: boolean;
59
- writeOnly?: boolean;
60
- type?: import("@formily/react").SchemaTypes;
61
- enum?: import("@formily/react").SchemaEnum<any>;
62
- const?: any;
63
- multipleOf?: number;
64
- maximum?: number;
65
- exclusiveMaximum?: number;
66
- minimum?: number;
67
- exclusiveMinimum?: number;
68
- maxLength?: number;
69
- minLength?: number;
70
- pattern?: string | RegExp;
71
- maxItems?: number;
72
- minItems?: number;
73
- uniqueItems?: boolean;
74
- maxProperties?: number;
75
- minProperties?: number;
76
- required?: string | boolean | string[];
77
- format?: string;
78
- $ref?: string;
79
- $namespace?: string;
80
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
81
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
82
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
83
- additionalItems?: import("@formily/react").Stringify<any>;
84
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
85
- additionalProperties?: import("@formily/react").Stringify<any>;
86
- "x-value"?: any;
87
- "x-index"?: number;
88
- "x-pattern"?: any;
89
- "x-display"?: any;
90
- "x-validator"?: any;
91
- "x-decorator"?: any;
92
- "x-decorator-props"?: any;
93
- "x-component"?: any;
94
- "x-component-props"?: any;
95
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
96
- "x-content"?: any;
97
- "x-data"?: any;
98
- "x-visible"?: boolean;
99
- "x-hidden"?: boolean;
100
- "x-disabled"?: boolean;
101
- "x-editable"?: boolean;
102
- "x-read-only"?: boolean;
103
- "x-read-pretty"?: boolean;
104
- }>;
105
49
  };
106
50
  export declare const recordPickerSelector: ISchema;
107
51
  export declare const recordPickerViewer: {
@@ -393,8 +393,7 @@ var defaultProps = {
393
393
  'x-component': 'Input',
394
394
  'x-validator': 'uid',
395
395
  description: "{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}"
396
- },
397
- type: type
396
+ }
398
397
  };
399
398
  exports.defaultProps = defaultProps;
400
399
  var recordPickerSelector = {
@@ -48,6 +48,6 @@ var calendar = {
48
48
  availableFieldInterfaces: {
49
49
  include: []
50
50
  },
51
- configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits')
51
+ configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits', 'category')
52
52
  };
53
53
  exports.calendar = calendar;
@@ -15,6 +15,6 @@ var general = {
15
15
  default: {
16
16
  fields: []
17
17
  },
18
- configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits', 'moreOptions')
18
+ configurableProperties: (0, _properties.getConfigurableProperties)('title', 'name', 'inherits', 'category', 'moreOptions')
19
19
  };
20
20
  exports.general = general;
@@ -169,6 +169,17 @@ export declare const defaultConfigurableProperties: {
169
169
  'x-visible': string;
170
170
  'x-reactions': string[];
171
171
  };
172
+ category: {
173
+ title: string;
174
+ type: string;
175
+ name: string;
176
+ 'x-decorator': string;
177
+ 'x-component': string;
178
+ 'x-component-props': {
179
+ mode: string;
180
+ };
181
+ 'x-reactions': string[];
182
+ };
172
183
  };
173
- export declare type DefaultConfigurableKeys = 'name' | 'title' | 'inherits' | 'autoGenId' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'sortable' | 'moreOptions';
184
+ export declare type DefaultConfigurableKeys = 'name' | 'title' | 'inherits' | 'category' | 'autoGenId' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'sortable' | 'moreOptions';
174
185
  export declare const getConfigurableProperties: (...keys: DefaultConfigurableKeys[]) => {};
@@ -115,6 +115,17 @@ var defaultConfigurableProperties = _objectSpread(_objectSpread({
115
115
  'x-disabled': '{{ !createOnly }}',
116
116
  'x-visible': '{{ enableInherits}}',
117
117
  'x-reactions': ['{{useAsyncDataSource(loadCollections)}}']
118
+ },
119
+ category: {
120
+ title: '{{t("Categories")}}',
121
+ type: 'hasMany',
122
+ name: 'category',
123
+ 'x-decorator': 'FormItem',
124
+ 'x-component': 'Select',
125
+ 'x-component-props': {
126
+ mode: 'multiple'
127
+ },
128
+ 'x-reactions': ['{{useAsyncDataSource(loadCategories)}}']
118
129
  }
119
130
  }, moreOptions), {}, {
120
131
  moreOptions: {
package/lib/i18n/i18n.js CHANGED
@@ -36,7 +36,9 @@ i18n // .use(Backend)
36
36
  // return key;
37
37
  // },
38
38
  // ns: ['client'],
39
- resources: {}
39
+ resources: {},
40
+ keySeparator: false,
41
+ nsSeparator: false
40
42
  });
41
43
  i18n.on('languageChanged', function (lng) {
42
44
  localStorage.setItem('NOCOBASE_LOCALE', lng);
@@ -34,6 +34,29 @@ declare const _default: {
34
34
  "UI editor": string;
35
35
  Collection: string;
36
36
  "Collections & Fields": string;
37
+ "All collections": string;
38
+ "Add category": string;
39
+ "Delete category": string;
40
+ "Edit category": string;
41
+ "Collection category": string;
42
+ Sort: string;
43
+ Categories: string;
44
+ Visible: string;
45
+ "Read only": string;
46
+ "Easy reading": string;
47
+ Hidden: string;
48
+ "Hidden(reserved value)": string;
49
+ "Not required": string;
50
+ Value: string;
51
+ Disabled: string;
52
+ Enabled: string;
53
+ "Linkage rule": string;
54
+ "Linkage rules": string;
55
+ Condition: string;
56
+ Properties: string;
57
+ "Add linkage rule": string;
58
+ "Add property": string;
59
+ "Category name": string;
37
60
  "Roles & Permissions": string;
38
61
  "Edit profile": string;
39
62
  "Change password": string;
@@ -40,6 +40,29 @@ var _default = {
40
40
  "UI editor": "UI editor",
41
41
  "Collection": "Collection",
42
42
  "Collections & Fields": "Collections & Fields",
43
+ "All collections": "All collections",
44
+ "Add category": "Add category",
45
+ "Delete category": "Delete category",
46
+ "Edit category": "Edit category",
47
+ "Collection category": "Collection category",
48
+ "Sort": "Sort",
49
+ "Categories": "Categories",
50
+ "Visible": "Visible",
51
+ "Read only": "Read only",
52
+ "Easy reading": "Easy reading",
53
+ "Hidden": "Hidden",
54
+ "Hidden(reserved value)": "Hidden(reserved value)",
55
+ "Not required": "Not required",
56
+ "Value": "Value",
57
+ "Disabled": "Disabled",
58
+ "Enabled": "Enabled",
59
+ "Linkage rule": "Linkage rule",
60
+ "Linkage rules": "Linkage rules",
61
+ "Condition": "Condition",
62
+ "Properties": "Properties",
63
+ "Add linkage rule": "Add linkage rule",
64
+ "Add property": "Add property",
65
+ "Category name": "Category name",
43
66
  "Roles & Permissions": "Roles & Permissions",
44
67
  "Edit profile": "Edit profile",
45
68
  "Change password": "Change password",
@@ -34,6 +34,29 @@ declare const _default: {
34
34
  "UI editor": string;
35
35
  Collection: string;
36
36
  "Collections & Fields": string;
37
+ "All collections": string;
38
+ "Add category": string;
39
+ "Edit category": string;
40
+ Sort: string;
41
+ Categories: string;
42
+ "Category name": string;
43
+ "Delete category": string;
44
+ "Collection category": string;
45
+ Visible: string;
46
+ "Read only": string;
47
+ "Easy reading": string;
48
+ Hidden: string;
49
+ "Hidden(reserved value)": string;
50
+ "Not required": string;
51
+ Value: string;
52
+ Disabled: string;
53
+ Enabled: string;
54
+ "Linkage rule": string;
55
+ "Linkage rules": string;
56
+ Condition: string;
57
+ Properties: string;
58
+ "Add linkage rule": string;
59
+ "Add property": string;
37
60
  "Roles & Permissions": string;
38
61
  "Edit profile": string;
39
62
  "Change password": string;
@@ -40,6 +40,29 @@ var _default = {
40
40
  "UI editor": "UI エディタ",
41
41
  "Collection": "コレクション",
42
42
  "Collections & Fields": "コレクションとフィールド",
43
+ "All collections": "すべてのデータテーブル",
44
+ "Add category": "分類の追加",
45
+ "Edit category": "分類の編集",
46
+ "Sort": "ソート#ソート#",
47
+ "Categories": "データテーブルカテゴリ",
48
+ "Category name": "分類名",
49
+ "Delete category": "分類の削除",
50
+ "Collection category": "Collection category",
51
+ "Visible": "表示",
52
+ "Read only": "読み取り専用(編集不可)",
53
+ "Easy reading": "読み取り専用(読取りモード)",
54
+ "Hidden": "非表示",
55
+ "Hidden(reserved value)": "非表示(値の保持)",
56
+ "Not required": "必須ではありません",
57
+ "Value": "フィールド値",
58
+ "Disabled": "無効化",
59
+ "Enabled": "有効化",
60
+ "Linkage rule": "連動規則",
61
+ "Linkage rules": "連動規則",
62
+ "Condition": "条件#ジョウケン#",
63
+ "Properties": "属性#ゾクセイ#",
64
+ "Add linkage rule": "連動規則の追加",
65
+ "Add property": "属性の追加",
43
66
  "Roles & Permissions": "役割と権限",
44
67
  "Edit profile": "プロフィール",
45
68
  "Change password": "パスワード変更",
@@ -375,7 +398,7 @@ var _default = {
375
398
  "Role UID": "役割ID",
376
399
  "Precision": "精度",
377
400
  "Formula mode": "数式モード",
378
- "Expression": "表示",
401
+ "Expression": "表达式",
379
402
  "Input +, -, *, /, ( ) to calculate, input @ to open field variables.": "+、-、*、/、( ) で算術演算、@でフィールド変数を開くことができます。",
380
403
  "Formula error.": "式の検証エラーです。",
381
404
  "Accept": "ファイル形式",
@@ -107,6 +107,7 @@ declare const _default: {
107
107
  "Create collection": string;
108
108
  "Collection display name": string;
109
109
  "Collection name": string;
110
+ Categories: string;
110
111
  "Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.": string;
111
112
  "Storage type": string;
112
113
  Edit: string;
@@ -113,6 +113,7 @@ var _default = {
113
113
  "Create collection": "Создать Коллекцию",
114
114
  "Collection display name": "Отображение имени Коллекции",
115
115
  "Collection name": "Имя Коллекции",
116
+ "Categories": "Категории таблиц данных",
116
117
  "Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.": "Случайно сгенерированный и может быть изменен. Поддерживает буквы, цифры и подчеркивания, должно начинаться с буквы.",
117
118
  "Storage type": "Тип Хранилища",
118
119
  "Edit": "Изменить",
@@ -34,6 +34,30 @@ declare const _default: {
34
34
  "UI editor": string;
35
35
  Collection: string;
36
36
  "Collections & Fields": string;
37
+ "All collections": string;
38
+ "Add category": string;
39
+ "Delete category": string;
40
+ "Edit category": string;
41
+ "Collection category": string;
42
+ Visible: string;
43
+ "Read only": string;
44
+ "Easy reading": string;
45
+ Hidden: string;
46
+ "Hidden(reserved value)": string;
47
+ "Not required": string;
48
+ Value: string;
49
+ Disabled: string;
50
+ Enabled: string;
51
+ "Linkage rule": string;
52
+ "Linkage rules": string;
53
+ Condition: string;
54
+ Properties: string;
55
+ "Add linkage rule": string;
56
+ "Add property": string;
57
+ Expression: string;
58
+ Sort: string;
59
+ Categories: string;
60
+ "Category name": string;
37
61
  "Roles & Permissions": string;
38
62
  "Edit profile": string;
39
63
  "Change password": string;
@@ -127,6 +151,7 @@ declare const _default: {
127
151
  "General collection": string;
128
152
  "Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.": string;
129
153
  "Storage type": string;
154
+ "Types will be used in database": string;
130
155
  Edit: string;
131
156
  "Edit collection": string;
132
157
  "Configure fields": string;
@@ -146,15 +171,22 @@ declare const _default: {
146
171
  "Long text": string;
147
172
  Phone: string;
148
173
  Email: string;
174
+ Null: string;
175
+ Boolean: string;
149
176
  Number: string;
150
177
  Integer: string;
151
178
  Percent: string;
179
+ String: string;
152
180
  Password: string;
153
181
  "Advanced type": string;
154
182
  Formula: string;
155
183
  "Formula description": string;
184
+ "Syntax references": string;
185
+ "Math.js comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types": string;
186
+ "Formula.js supports most Microsoft Excel formula functions.": string;
156
187
  Choices: string;
157
188
  Checkbox: string;
189
+ "Display <icon></icon> when unchecked": string;
158
190
  "Single select": string;
159
191
  "Multiple select": string;
160
192
  "Radio group": string;
@@ -435,10 +467,6 @@ declare const _default: {
435
467
  '\u2264': string;
436
468
  'Role UID': string;
437
469
  Precision: string;
438
- 'Formula mode': string;
439
- Expression: string;
440
- 'Input +, -, *, /, ( ) to calculate, input @ to open field variables.': string;
441
- 'Formula error.': string;
442
470
  Accept: string;
443
471
  'Rich Text': string;
444
472
  'Junction collection': string;
@@ -593,5 +621,16 @@ declare const _default: {
593
621
  'Fix block': string;
594
622
  'Plugin name': string;
595
623
  'Plugin tab name': string;
624
+ 'Enable page header': string;
625
+ 'Display page title': string;
626
+ 'Edit page title': string;
627
+ 'Enable page tabs': string;
628
+ 'Column width': string;
629
+ Sortable: string;
630
+ Constant: string;
631
+ 'Use variable': string;
632
+ True: string;
633
+ False: string;
634
+ Prettify: string;
596
635
  };
597
636
  export default _default;