@tachybase/client 0.23.8-alpha.29 → 0.23.8-alpha.31

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 (1340) hide show
  1. package/es/built-in/acl/ACLPlugin.d.ts +1 -1
  2. package/es/modules/blocks/data-blocks/form/index.d.ts +2 -2
  3. package/es/schema-component/antd/block-item/BlockToolbar.d.ts +48 -3
  4. package/es/schema-settings/EditFormulaTitleField.d.ts +2 -2
  5. package/es/schema-settings/SchemaSettingComponent.d.ts +1 -1
  6. package/lib/{built-in/assistant/ai-chat/index_module.css → index.css} +64 -0
  7. package/lib/index.mjs +94745 -48
  8. package/package.json +3 -5
  9. package/lib/api-client/APIClient.mjs +0 -176
  10. package/lib/api-client/APIClientProvider.mjs +0 -23
  11. package/lib/api-client/__tests__/APIClient.test.mjs +0 -64
  12. package/lib/api-client/context.mjs +0 -14
  13. package/lib/api-client/demos/demo1.mjs +0 -47
  14. package/lib/api-client/demos/demo2.mjs +0 -46
  15. package/lib/api-client/demos/demo3.mjs +0 -97
  16. package/lib/api-client/hooks/assign.mjs +0 -106
  17. package/lib/api-client/hooks/index.mjs +0 -9
  18. package/lib/api-client/hooks/useAPIClient.mjs +0 -15
  19. package/lib/api-client/hooks/useRequest.mjs +0 -70
  20. package/lib/api-client/hooks/useResource.mjs +0 -12
  21. package/lib/api-client/index.mjs +0 -11
  22. package/lib/application/AppSchemaComponentProvider.mjs +0 -48
  23. package/lib/application/Application.mjs +0 -431
  24. package/lib/application/AttachmentPreviewManager.mjs +0 -37
  25. package/lib/application/NoticesManager.mjs +0 -132
  26. package/lib/application/Plugin.mjs +0 -66
  27. package/lib/application/PluginContextMenu.mjs +0 -35
  28. package/lib/application/PluginManager.mjs +0 -113
  29. package/lib/application/RouterManager.mjs +0 -148
  30. package/lib/application/SystemSettingsManager.mjs +0 -133
  31. package/lib/application/UserSettingsManager.mjs +0 -135
  32. package/lib/application/WebSocketClient.mjs +0 -202
  33. package/lib/application/__tests__/Application.test.mjs +0 -518
  34. package/lib/application/__tests__/Plugin.test.mjs +0 -213
  35. package/lib/application/__tests__/PluginSettingsManager.test.mjs +0 -168
  36. package/lib/application/__tests__/RouterManager.test.mjs +0 -345
  37. package/lib/application/__tests__/SchemaInitializer.test.mjs +0 -169
  38. package/lib/application/__tests__/SchemaToolbar.test.mjs +0 -171
  39. package/lib/application/__tests__/hoc/withDynamicSchemaProps.test.mjs +0 -207
  40. package/lib/application/__tests__/hooks.test.mjs +0 -112
  41. package/lib/application/__tests__/utils/remotePlugins.test.mjs +0 -331
  42. package/lib/application/__tests__/utils.test.mjs +0 -117
  43. package/lib/application/components/AppComponent.mjs +0 -78
  44. package/lib/application/components/BlankComponent.mjs +0 -18
  45. package/lib/application/components/MainComponent.mjs +0 -29
  46. package/lib/application/components/RouterContextCleaner.mjs +0 -30
  47. package/lib/application/components/defaultComponents.mjs +0 -37
  48. package/lib/application/components/index.mjs +0 -11
  49. package/lib/application/context.mjs +0 -10
  50. package/lib/application/demos/demo1.mjs +0 -136
  51. package/lib/application/demos/demo2.mjs +0 -149
  52. package/lib/application/demos/demo3.mjs +0 -17
  53. package/lib/application/hoc/index.mjs +0 -5
  54. package/lib/application/hoc/withDynamicSchemaProps.mjs +0 -165
  55. package/lib/application/hooks/index.mjs +0 -9
  56. package/lib/application/hooks/useApp.mjs +0 -15
  57. package/lib/application/hooks/usePlugin.mjs +0 -12
  58. package/lib/application/hooks/useRouter.mjs +0 -12
  59. package/lib/application/index.mjs +0 -37
  60. package/lib/application/schema-initializer/SchemaInitializer.mjs +0 -103
  61. package/lib/application/schema-initializer/SchemaInitializerManager.mjs +0 -86
  62. package/lib/application/schema-initializer/components/SchemaInitializerActionModal.mjs +0 -134
  63. package/lib/application/schema-initializer/components/SchemaInitializerButton.mjs +0 -60
  64. package/lib/application/schema-initializer/components/SchemaInitializerChildren.mjs +0 -91
  65. package/lib/application/schema-initializer/components/SchemaInitializerDivider.mjs +0 -25
  66. package/lib/application/schema-initializer/components/SchemaInitializerItem.mjs +0 -124
  67. package/lib/application/schema-initializer/components/SchemaInitializerItemGroup.mjs +0 -63
  68. package/lib/application/schema-initializer/components/SchemaInitializerItems.mjs +0 -23
  69. package/lib/application/schema-initializer/components/SchemaInitializerSelect.mjs +0 -86
  70. package/lib/application/schema-initializer/components/SchemaInitializerSubMenu.mjs +0 -147
  71. package/lib/application/schema-initializer/components/SchemaInitializerSwitch.mjs +0 -59
  72. package/lib/application/schema-initializer/components/index.mjs +0 -23
  73. package/lib/application/schema-initializer/components/style.mjs +0 -47
  74. package/lib/application/schema-initializer/context/index.mjs +0 -18
  75. package/lib/application/schema-initializer/hoc/index.mjs +0 -159
  76. package/lib/application/schema-initializer/hooks/index.mjs +0 -193
  77. package/lib/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.mjs +0 -32
  78. package/lib/application/schema-initializer/index.mjs +0 -17
  79. package/lib/application/schema-initializer/types.mjs +0 -4
  80. package/lib/application/schema-settings/SchemaSettings.mjs +0 -94
  81. package/lib/application/schema-settings/SchemaSettingsDefaults.mjs +0 -241
  82. package/lib/application/schema-settings/SchemaSettingsManager.mjs +0 -86
  83. package/lib/application/schema-settings/components/SchemaSettingsChildren.mjs +0 -123
  84. package/lib/application/schema-settings/components/SchemaSettingsIcon.mjs +0 -34
  85. package/lib/application/schema-settings/components/SchemaSettingsWrapper.mjs +0 -59
  86. package/lib/application/schema-settings/components/index.mjs +0 -7
  87. package/lib/application/schema-settings/context/index.mjs +0 -13
  88. package/lib/application/schema-settings/hooks/index.mjs +0 -63
  89. package/lib/application/schema-settings/index.mjs +0 -15
  90. package/lib/application/schema-settings/types.mjs +0 -4
  91. package/lib/application/schema-toolbar/context/index.mjs +0 -24
  92. package/lib/application/schema-toolbar/hooks/index.mjs +0 -46
  93. package/lib/application/schema-toolbar/index.mjs +0 -7
  94. package/lib/application/utils/globalDeps.mjs +0 -162
  95. package/lib/application/utils/index.mjs +0 -59
  96. package/lib/application/utils/remotePlugins.mjs +0 -129
  97. package/lib/async-data-provider/index.mjs +0 -37
  98. package/lib/block-provider/BlockProvider.mjs +0 -401
  99. package/lib/block-provider/DetailsBlockProvider.mjs +0 -145
  100. package/lib/block-provider/FilterFormBlockProvider.mjs +0 -42
  101. package/lib/block-provider/FormBlockProvider.mjs +0 -222
  102. package/lib/block-provider/FormFieldProvider.mjs +0 -124
  103. package/lib/block-provider/MobileProvider.mjs +0 -24
  104. package/lib/block-provider/PageLayout.mjs +0 -25
  105. package/lib/block-provider/TableBlockProvider.mjs +0 -155
  106. package/lib/block-provider/TableFieldProvider.mjs +0 -197
  107. package/lib/block-provider/TableSelectorProvider.mjs +0 -372
  108. package/lib/block-provider/TreeBlockProvider.mjs +0 -158
  109. package/lib/block-provider/hooks/index.mjs +0 -1465
  110. package/lib/block-provider/hooks/useDataBlockSourceId.mjs +0 -33
  111. package/lib/block-provider/hooks/useFormActiveFields.mjs +0 -56
  112. package/lib/block-provider/hooks/useIsMobile.mjs +0 -16
  113. package/lib/block-provider/hooks/useParsedFilter.mjs +0 -85
  114. package/lib/block-provider/index.mjs +0 -25
  115. package/lib/built-in/acl/ACLPlugin.mjs +0 -22
  116. package/lib/built-in/acl/ACLProvider.mjs +0 -396
  117. package/lib/built-in/acl/ACLShortcut.mjs +0 -46
  118. package/lib/built-in/acl/Configuration/ConfigureCenter.mjs +0 -182
  119. package/lib/built-in/acl/Configuration/MenuConfigure.mjs +0 -188
  120. package/lib/built-in/acl/Configuration/MenuItemsProvider.mjs +0 -66
  121. package/lib/built-in/acl/Configuration/PermisionProvider.mjs +0 -95
  122. package/lib/built-in/acl/Configuration/RoleConfigure.mjs +0 -173
  123. package/lib/built-in/acl/Configuration/RoleTable.mjs +0 -73
  124. package/lib/built-in/acl/Configuration/RolesResourcesActions.mjs +0 -265
  125. package/lib/built-in/acl/Configuration/ScopeSelect.mjs +0 -61
  126. package/lib/built-in/acl/Configuration/StrategyActions.mjs +0 -143
  127. package/lib/built-in/acl/Configuration/index.mjs +0 -41
  128. package/lib/built-in/acl/Configuration/schemas/roles.mjs +0 -427
  129. package/lib/built-in/acl/Configuration/schemas/scopes.mjs +0 -384
  130. package/lib/built-in/acl/Configuration/schemas/useRoleResourceValues.mjs +0 -46
  131. package/lib/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.mjs +0 -32
  132. package/lib/built-in/acl/index.mjs +0 -11
  133. package/lib/built-in/acl/style.mjs +0 -31
  134. package/lib/built-in/admin-layout/AdminContent.mjs +0 -34
  135. package/lib/built-in/admin-layout/AdminTabs.mjs +0 -21
  136. package/lib/built-in/admin-layout/NoticeArea.mjs +0 -37
  137. package/lib/built-in/admin-layout/components/AddNewButton.mjs +0 -89
  138. package/lib/built-in/admin-layout/components/WelcomeCard.mjs +0 -114
  139. package/lib/built-in/admin-layout/index.mjs +0 -299
  140. package/lib/built-in/admin-layout/style.mjs +0 -150
  141. package/lib/built-in/assistant/Assistant.provider.mjs +0 -114
  142. package/lib/built-in/assistant/ai-chat/index.mjs +0 -359
  143. package/lib/built-in/assistant/ai-chat/index.module.mjs +0 -9
  144. package/lib/built-in/assistant/calculator/AutoScalingText.mjs +0 -45
  145. package/lib/built-in/assistant/calculator/Calculator.mjs +0 -259
  146. package/lib/built-in/assistant/calculator/CalculatorDisplay.mjs +0 -34
  147. package/lib/built-in/assistant/calculator/CalculatorKey.mjs +0 -20
  148. package/lib/built-in/assistant/calculator/CalculatorProvider.mjs +0 -52
  149. package/lib/built-in/assistant/calculator/Draggable.mjs +0 -66
  150. package/lib/built-in/assistant/calculator/style.mjs +0 -33
  151. package/lib/built-in/assistant/index.mjs +0 -27
  152. package/lib/built-in/assistant/search-and-jump/index.mjs +0 -75
  153. package/lib/built-in/attachment-preview/index.mjs +0 -24
  154. package/lib/built-in/attachment-preview/interface.mjs +0 -4
  155. package/lib/built-in/attachment-preview/previewers/file-default.mjs +0 -97
  156. package/lib/built-in/attachment-preview/previewers/file-pdf.mjs +0 -142
  157. package/lib/built-in/attachment-preview/previewers/file-pdf.style.mjs +0 -53
  158. package/lib/built-in/attachment-preview/previewers/file-sheet.mjs +0 -132
  159. package/lib/built-in/attachment-preview/previewers/file-sheet.style.mjs +0 -53
  160. package/lib/built-in/attachment-preview/previewers/image-jpeg.mjs +0 -43
  161. package/lib/built-in/attachment-preview/previewers/image-png.mjs +0 -43
  162. package/lib/built-in/attachment-preview/previewers/image-svg.mjs +0 -29
  163. package/lib/built-in/attachment-preview/previewers/index.mjs +0 -15
  164. package/lib/built-in/block-schema-component/index.mjs +0 -186
  165. package/lib/built-in/built-in-collections/index.mjs +0 -74
  166. package/lib/built-in/context-menu/ContextMenu.provider.mjs +0 -89
  167. package/lib/built-in/context-menu/ContextMenuItemsProps.mjs +0 -176
  168. package/lib/built-in/context-menu/index.mjs +0 -37
  169. package/lib/built-in/context-menu/useContextMenu.mjs +0 -12
  170. package/lib/built-in/document-title/index.mjs +0 -75
  171. package/lib/built-in/dynamic-page/DynamicPage.mjs +0 -67
  172. package/lib/built-in/dynamic-page/index.mjs +0 -79
  173. package/lib/built-in/dynamic-page/style.mjs +0 -60
  174. package/lib/built-in/dynamic-page/utils.mjs +0 -84
  175. package/lib/built-in/index.mjs +0 -595
  176. package/lib/built-in/locale/LocalePlugin.mjs +0 -96
  177. package/lib/built-in/locale/loadConstrueLocale.mjs +0 -194
  178. package/lib/built-in/page-style/CustomAdminHeader.mjs +0 -24
  179. package/lib/built-in/page-style/PageStyle.provider.mjs +0 -47
  180. package/lib/built-in/page-style/TabContent.mjs +0 -97
  181. package/lib/built-in/page-style/TabHeader.mjs +0 -114
  182. package/lib/built-in/page-style/index.mjs +0 -29
  183. package/lib/built-in/page-style/usePageStyle.mjs +0 -15
  184. package/lib/built-in/page-style/useTabSettings.mjs +0 -97
  185. package/lib/built-in/pinned-list/PinnedPluginListProvider.mjs +0 -87
  186. package/lib/built-in/pinned-list/PluginPinnedList.mjs +0 -17
  187. package/lib/built-in/pinned-list/context.mjs +0 -12
  188. package/lib/built-in/pinned-list/index.mjs +0 -7
  189. package/lib/built-in/pm/PluginCard.mjs +0 -306
  190. package/lib/built-in/pm/PluginDetail.mjs +0 -350
  191. package/lib/built-in/pm/PluginDocument.mjs +0 -99
  192. package/lib/built-in/pm/PluginForm/form/PluginNpmForm.mjs +0 -189
  193. package/lib/built-in/pm/PluginForm/form/PluginUploadForm.mjs +0 -142
  194. package/lib/built-in/pm/PluginForm/form/PluginUrlForm.mjs +0 -133
  195. package/lib/built-in/pm/PluginForm/modal/PluginAddModal.mjs +0 -88
  196. package/lib/built-in/pm/PluginForm/modal/PluginUpgradeModal.mjs +0 -92
  197. package/lib/built-in/pm/PluginManager.mjs +0 -341
  198. package/lib/built-in/pm/index.mjs +0 -88
  199. package/lib/built-in/pm/style.mjs +0 -86
  200. package/lib/built-in/pm/types.mjs +0 -4
  201. package/lib/built-in/quick-access/Action.mjs +0 -125
  202. package/lib/built-in/quick-access/Block.mjs +0 -170
  203. package/lib/built-in/quick-access/CustomRequestActionSchemaInitializerItem.mjs +0 -115
  204. package/lib/built-in/quick-access/LinkActionSchemaInitializerItem.mjs +0 -108
  205. package/lib/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +0 -118
  206. package/lib/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +0 -143
  207. package/lib/built-in/quick-access/SchemaSettingsBlockTitleItem.mjs +0 -66
  208. package/lib/built-in/quick-access/blockInitializerItem.mjs +0 -31
  209. package/lib/built-in/quick-access/blockSchema.mjs +0 -20
  210. package/lib/built-in/quick-access/blockSettings.mjs +0 -92
  211. package/lib/built-in/quick-access/configureActions.mjs +0 -25
  212. package/lib/built-in/quick-access/index.mjs +0 -66
  213. package/lib/built-in/scroll-assistant/ScrollAssistant.provider.mjs +0 -62
  214. package/lib/built-in/scroll-assistant/ScrollAssistantStatus.provider.mjs +0 -31
  215. package/lib/built-in/scroll-assistant/index.mjs +0 -41
  216. package/lib/built-in/scroll-assistant/useJoystick.mjs +0 -216
  217. package/lib/built-in/setting-layout/AdminSettings.mjs +0 -174
  218. package/lib/built-in/setting-layout/SettingLayout.mjs +0 -171
  219. package/lib/built-in/setting-layout/SettingsCenterDropdown.mjs +0 -104
  220. package/lib/built-in/system-settings/SystemSettingsProvider.mjs +0 -33
  221. package/lib/built-in/system-settings/SystemSettingsShortcut.mjs +0 -189
  222. package/lib/built-in/system-settings/index.mjs +0 -23
  223. package/lib/built-in/system-version/SystemVersion.provider.mjs +0 -52
  224. package/lib/built-in/system-version/index.mjs +0 -17
  225. package/lib/built-in/user-settings/UserSettingsLayout.mjs +0 -221
  226. package/lib/built-in/user-settings/index.mjs +0 -38
  227. package/lib/built-in/user-settings/style.mjs +0 -86
  228. package/lib/collection-manager/CollectionHistoryProvider.mjs +0 -81
  229. package/lib/collection-manager/CollectionManagerProvider.mjs +0 -92
  230. package/lib/collection-manager/CollectionManagerSchemaComponentProvider.mjs +0 -46
  231. package/lib/collection-manager/CollectionProvider_deprecated.mjs +0 -40
  232. package/lib/collection-manager/Configuration/AddCollectionAction.mjs +0 -292
  233. package/lib/collection-manager/Configuration/AddFieldAction.mjs +0 -457
  234. package/lib/collection-manager/Configuration/AddSubFieldAction.mjs +0 -211
  235. package/lib/collection-manager/Configuration/DeleteCollectionAction.mjs +0 -268
  236. package/lib/collection-manager/Configuration/EditCollectionAction.mjs +0 -221
  237. package/lib/collection-manager/Configuration/EditFieldAction.mjs +0 -315
  238. package/lib/collection-manager/Configuration/EditSubFieldAction.mjs +0 -163
  239. package/lib/collection-manager/Configuration/ImportCollectionMetaAction.mjs +0 -210
  240. package/lib/collection-manager/Configuration/OverridingCollectionField.mjs +0 -274
  241. package/lib/collection-manager/Configuration/SyncFieldsAction.mjs +0 -257
  242. package/lib/collection-manager/Configuration/SyncSQLFieldsAction.mjs +0 -214
  243. package/lib/collection-manager/Configuration/ViewInheritedField.mjs +0 -187
  244. package/lib/collection-manager/Configuration/components/CollectionCategory.mjs +0 -38
  245. package/lib/collection-manager/Configuration/components/CollectionFieldInterfaceTag.mjs +0 -40
  246. package/lib/collection-manager/Configuration/components/CollectionTemplateTag.mjs +0 -39
  247. package/lib/collection-manager/Configuration/components/FieldSummary.mjs +0 -39
  248. package/lib/collection-manager/Configuration/components/Summary.mjs +0 -84
  249. package/lib/collection-manager/Configuration/components/TemplateSummary.mjs +0 -39
  250. package/lib/collection-manager/Configuration/components/index.mjs +0 -359
  251. package/lib/collection-manager/Configuration/index.mjs +0 -46
  252. package/lib/collection-manager/Configuration/interfaces.mjs +0 -48
  253. package/lib/collection-manager/ResourceActionProvider.mjs +0 -168
  254. package/lib/collection-manager/action-hooks.mjs +0 -658
  255. package/lib/collection-manager/collectionPlugin.mjs +0 -151
  256. package/lib/collection-manager/context.mjs +0 -13
  257. package/lib/collection-manager/demos/demo2.mjs +0 -143
  258. package/lib/collection-manager/demos/demo3.mjs +0 -96
  259. package/lib/collection-manager/demos/demo4.mjs +0 -183
  260. package/lib/collection-manager/demos/demo5.mjs +0 -187
  261. package/lib/collection-manager/hooks/index.mjs +0 -11
  262. package/lib/collection-manager/hooks/useCollectionDataSource.mjs +0 -29
  263. package/lib/collection-manager/hooks/useCollectionField_deprecated.mjs +0 -43
  264. package/lib/collection-manager/hooks/useCollectionManager_deprecated.mjs +0 -272
  265. package/lib/collection-manager/hooks/useCollection_deprecated.mjs +0 -70
  266. package/lib/collection-manager/hooks/useDialect.mjs +0 -17
  267. package/lib/collection-manager/index.mjs +0 -63
  268. package/lib/collection-manager/interfaces/__tests__/json.mjs +0 -73
  269. package/lib/collection-manager/interfaces/checkbox.mjs +0 -61
  270. package/lib/collection-manager/interfaces/checkboxGroup.mjs +0 -55
  271. package/lib/collection-manager/interfaces/chinaRegion.mjs +0 -127
  272. package/lib/collection-manager/interfaces/collection.mjs +0 -57
  273. package/lib/collection-manager/interfaces/color.mjs +0 -43
  274. package/lib/collection-manager/interfaces/components/index.mjs +0 -73
  275. package/lib/collection-manager/interfaces/createdAt.mjs +0 -47
  276. package/lib/collection-manager/interfaces/createdBy.mjs +0 -70
  277. package/lib/collection-manager/interfaces/datetime.mjs +0 -56
  278. package/lib/collection-manager/interfaces/email.mjs +0 -54
  279. package/lib/collection-manager/interfaces/icon.mjs +0 -40
  280. package/lib/collection-manager/interfaces/id.mjs +0 -66
  281. package/lib/collection-manager/interfaces/index.mjs +0 -81
  282. package/lib/collection-manager/interfaces/input.mjs +0 -200
  283. package/lib/collection-manager/interfaces/integer.mjs +0 -138
  284. package/lib/collection-manager/interfaces/json.mjs +0 -102
  285. package/lib/collection-manager/interfaces/linkTo.mjs +0 -119
  286. package/lib/collection-manager/interfaces/m2m.mjs +0 -253
  287. package/lib/collection-manager/interfaces/m2o.mjs +0 -182
  288. package/lib/collection-manager/interfaces/markdown.mjs +0 -94
  289. package/lib/collection-manager/interfaces/multipleSelect.mjs +0 -62
  290. package/lib/collection-manager/interfaces/nanoid.mjs +0 -72
  291. package/lib/collection-manager/interfaces/number.mjs +0 -146
  292. package/lib/collection-manager/interfaces/o2m.mjs +0 -211
  293. package/lib/collection-manager/interfaces/o2o.mjs +0 -493
  294. package/lib/collection-manager/interfaces/password.mjs +0 -80
  295. package/lib/collection-manager/interfaces/percent.mjs +0 -193
  296. package/lib/collection-manager/interfaces/phone.mjs +0 -46
  297. package/lib/collection-manager/interfaces/properties/index.mjs +0 -506
  298. package/lib/collection-manager/interfaces/properties/operators.mjs +0 -370
  299. package/lib/collection-manager/interfaces/radioGroup.mjs +0 -46
  300. package/lib/collection-manager/interfaces/richText.mjs +0 -92
  301. package/lib/collection-manager/interfaces/select.mjs +0 -60
  302. package/lib/collection-manager/interfaces/sort.mjs +0 -123
  303. package/lib/collection-manager/interfaces/subTable.mjs +0 -218
  304. package/lib/collection-manager/interfaces/tableoid.mjs +0 -60
  305. package/lib/collection-manager/interfaces/textarea.mjs +0 -92
  306. package/lib/collection-manager/interfaces/time.mjs +0 -59
  307. package/lib/collection-manager/interfaces/types.mjs +0 -4
  308. package/lib/collection-manager/interfaces/unixTimestamp.mjs +0 -64
  309. package/lib/collection-manager/interfaces/updatedAt.mjs +0 -47
  310. package/lib/collection-manager/interfaces/updatedBy.mjs +0 -70
  311. package/lib/collection-manager/interfaces/url.mjs +0 -46
  312. package/lib/collection-manager/interfaces/uuid.mjs +0 -60
  313. package/lib/collection-manager/mixins/InheritanceCollectionMixin.mjs +0 -249
  314. package/lib/collection-manager/sub-table.mjs +0 -270
  315. package/lib/collection-manager/templates/components/PresetFields.mjs +0 -271
  316. package/lib/collection-manager/templates/components/PreviewFields.mjs +0 -345
  317. package/lib/collection-manager/templates/components/PreviewTable.mjs +0 -171
  318. package/lib/collection-manager/templates/components/sql-collection/FieldsConfigure.mjs +0 -348
  319. package/lib/collection-manager/templates/components/sql-collection/PreviewTable.mjs +0 -81
  320. package/lib/collection-manager/templates/components/sql-collection/SQLInput.mjs +0 -130
  321. package/lib/collection-manager/templates/components/sql-collection/SQLRequestProvider.mjs +0 -74
  322. package/lib/collection-manager/templates/components/sql-collection/index.mjs +0 -11
  323. package/lib/collection-manager/templates/expression.mjs +0 -78
  324. package/lib/collection-manager/templates/general.mjs +0 -32
  325. package/lib/collection-manager/templates/import.mjs +0 -28
  326. package/lib/collection-manager/templates/index.mjs +0 -15
  327. package/lib/collection-manager/templates/properties/index.mjs +0 -81
  328. package/lib/collection-manager/templates/sql.mjs +0 -105
  329. package/lib/collection-manager/templates/tree.mjs +0 -94
  330. package/lib/collection-manager/templates/types.mjs +0 -4
  331. package/lib/collection-manager/templates/view.mjs +0 -177
  332. package/lib/collection-manager/types.mjs +0 -4
  333. package/lib/collection-manager/utils.mjs +0 -23
  334. package/lib/common/SelectWithTitle.mjs +0 -56
  335. package/lib/common/appInfo/CurrentAppInfoProvider.mjs +0 -33
  336. package/lib/common/appInfo/index.mjs +0 -5
  337. package/lib/common/index.mjs +0 -9
  338. package/lib/common/useFieldComponentName.mjs +0 -39
  339. package/lib/common/useNiceDropdownHeight.mjs +0 -28
  340. package/lib/data-source/__tests__/collection/AssociationProvider.test.mjs +0 -132
  341. package/lib/data-source/__tests__/collection/Collection.test.mjs +0 -308
  342. package/lib/data-source/__tests__/collection/CollectionManager.test.mjs +0 -308
  343. package/lib/data-source/__tests__/collection/CollectionManagerProvider.test.mjs +0 -135
  344. package/lib/data-source/__tests__/collection/CollectionProvider.test.mjs +0 -123
  345. package/lib/data-source/__tests__/collection/ExtendCollectionsProvider.test.mjs +0 -105
  346. package/lib/data-source/__tests__/collection-field/CollectionField.test.mjs +0 -84
  347. package/lib/data-source/__tests__/collection-field/CollectionFieldProvider.test.mjs +0 -70
  348. package/lib/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.mjs +0 -171
  349. package/lib/data-source/__tests__/collection-record/CollectionRecord.test.mjs +0 -27
  350. package/lib/data-source/__tests__/collection-record/CollectionRecordProvider.test.mjs +0 -268
  351. package/lib/data-source/__tests__/collection-record/isNewRecord.test.mjs +0 -55
  352. package/lib/data-source/__tests__/collection-template/CollectionTemplateManager.test.mjs +0 -132
  353. package/lib/data-source/__tests__/components/CollectionDeletedPlaceholder.test.mjs +0 -58
  354. package/lib/data-source/__tests__/data-block/DataBlockProvider.test.mjs +0 -151
  355. package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.mjs +0 -108
  356. package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.mjs +0 -160
  357. package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-create.mjs +0 -131
  358. package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.mjs +0 -197
  359. package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.mjs +0 -160
  360. package/lib/data-source/__tests__/data-block/data-block-demos/collection-table-list.mjs +0 -114
  361. package/lib/data-source/__tests__/data-block/data-block-demos/createApp.mjs +0 -66
  362. package/lib/data-source/__tests__/data-source/CollectionDataSourceProvider.test.mjs +0 -56
  363. package/lib/data-source/__tests__/data-source/DataSource.test.mjs +0 -81
  364. package/lib/data-source/__tests__/data-source/DataSourceManager.test.mjs +0 -174
  365. package/lib/data-source/__tests__/data-source/DataSourceManagerProvider.test.mjs +0 -45
  366. package/lib/data-source/__tests__/data-source/DataSourceProvider.test.mjs +0 -100
  367. package/lib/data-source/__tests__/utils.test.mjs +0 -66
  368. package/lib/data-source/collection/AssociationProvider.mjs +0 -68
  369. package/lib/data-source/collection/Collection.mjs +0 -200
  370. package/lib/data-source/collection/CollectionManager.mjs +0 -165
  371. package/lib/data-source/collection/CollectionManagerProvider.mjs +0 -64
  372. package/lib/data-source/collection/CollectionProvider.mjs +0 -53
  373. package/lib/data-source/collection/ExtendCollectionsProvider.mjs +0 -47
  374. package/lib/data-source/collection/index.mjs +0 -15
  375. package/lib/data-source/collection/utils.mjs +0 -62
  376. package/lib/data-source/collection-field/CollectionField.mjs +0 -116
  377. package/lib/data-source/collection-field/CollectionFieldProvider.mjs +0 -65
  378. package/lib/data-source/collection-field/index.mjs +0 -7
  379. package/lib/data-source/collection-field-interface/CollectionFieldInterface.mjs +0 -42
  380. package/lib/data-source/collection-field-interface/CollectionFieldInterfaceManager.mjs +0 -65
  381. package/lib/data-source/collection-field-interface/index.mjs +0 -7
  382. package/lib/data-source/collection-record/CollectionRecord.mjs +0 -34
  383. package/lib/data-source/collection-record/CollectionRecordProvider.mjs +0 -78
  384. package/lib/data-source/collection-record/index.mjs +0 -7
  385. package/lib/data-source/collection-record/isNewRecord.mjs +0 -26
  386. package/lib/data-source/collection-template/CollectionTemplate.mjs +0 -39
  387. package/lib/data-source/collection-template/CollectionTemplateManager.mjs +0 -61
  388. package/lib/data-source/collection-template/index.mjs +0 -7
  389. package/lib/data-source/commonsSettingsItem/fieldComponent.mjs +0 -80
  390. package/lib/data-source/commonsSettingsItem/index.mjs +0 -5
  391. package/lib/data-source/components/CollectionDeletedPlaceholder.mjs +0 -125
  392. package/lib/data-source/components/DataSourceApplicationProvider.mjs +0 -32
  393. package/lib/data-source/components/index.mjs +0 -7
  394. package/lib/data-source/data-block/DataBlockProvider.mjs +0 -115
  395. package/lib/data-source/data-block/DataBlockRequestProvider.mjs +0 -168
  396. package/lib/data-source/data-block/DataBlockResourceProvider.mjs +0 -84
  397. package/lib/data-source/data-block/context/ConfigSetting.provider.mjs +0 -18
  398. package/lib/data-source/data-block/index.mjs +0 -11
  399. package/lib/data-source/data-source/DataSource.mjs +0 -83
  400. package/lib/data-source/data-source/DataSourceManager.mjs +0 -127
  401. package/lib/data-source/data-source/DataSourceManagerProvider.mjs +0 -25
  402. package/lib/data-source/data-source/DataSourceProvider.mjs +0 -87
  403. package/lib/data-source/data-source/index.mjs +0 -11
  404. package/lib/data-source/index.mjs +0 -23
  405. package/lib/data-source/utils.mjs +0 -28
  406. package/lib/env.d.mjs +0 -1
  407. package/lib/filter-provider/FilterProvider.mjs +0 -182
  408. package/lib/filter-provider/__tests__/transformToFilter.mjs +0 -74
  409. package/lib/filter-provider/__tests__/useFilter.mjs +0 -61
  410. package/lib/filter-provider/__tests__/utiles.test.mjs +0 -271
  411. package/lib/filter-provider/index.mjs +0 -7
  412. package/lib/filter-provider/utils.mjs +0 -262
  413. package/lib/flag-provider/FlagProvider.mjs +0 -19
  414. package/lib/flag-provider/__tests__/flag-provider.test.mjs +0 -37
  415. package/lib/flag-provider/hooks/useFlag.mjs +0 -15
  416. package/lib/flag-provider/index.mjs +0 -7
  417. package/lib/global.css +0 -34
  418. package/lib/hooks/index.mjs +0 -7
  419. package/lib/hooks/useAdminSchemaUid.mjs +0 -7
  420. package/lib/hooks/useMenuItem.mjs +0 -101
  421. package/lib/hooks/useViewport.mjs +0 -47
  422. package/lib/i18n/i18n.mjs +0 -37
  423. package/lib/i18n/index.mjs +0 -5
  424. package/lib/icon/Icon.mjs +0 -80
  425. package/lib/icon/__tests__/icon.test.mjs +0 -49
  426. package/lib/icon/demos/antd-icon.mjs +0 -19
  427. package/lib/icon/demos/custom-icon.mjs +0 -28
  428. package/lib/icon/demos/iconfont.mjs +0 -22
  429. package/lib/icon/demos/register-icon.mjs +0 -35
  430. package/lib/icon/index.mjs +0 -5
  431. package/lib/icon/preloaded.mjs +0 -139
  432. package/lib/locale/index.mjs +0 -274
  433. package/lib/modules/actions/ActionSchemaToolbar.mjs +0 -24
  434. package/lib/modules/actions/add-child/CreateChildInitializer.mjs +0 -76
  435. package/lib/modules/actions/add-child/addChildActionSettings.mjs +0 -88
  436. package/lib/modules/actions/add-new/CreateActionInitializer.mjs +0 -82
  437. package/lib/modules/actions/add-new/addNewActionSettings.mjs +0 -81
  438. package/lib/modules/actions/add-new/createFormBlockInitializers.mjs +0 -75
  439. package/lib/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +0 -78
  440. package/lib/modules/actions/add-record/customizeAddRecordActionSettings.mjs +0 -50
  441. package/lib/modules/actions/add-record/customizeCreateFormBlockInitializers.mjs +0 -45
  442. package/lib/modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs +0 -52
  443. package/lib/modules/actions/bulk-destroy/bulkDeleteActionSettings.mjs +0 -42
  444. package/lib/modules/actions/delete/DestroyActionInitializer.mjs +0 -40
  445. package/lib/modules/actions/delete/deleteActionSettings.mjs +0 -57
  446. package/lib/modules/actions/disassociate/DisassociateActionInitializer.mjs +0 -40
  447. package/lib/modules/actions/disassociate/__e2e__/disassociate.test.mjs +0 -53
  448. package/lib/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +0 -386
  449. package/lib/modules/actions/disassociate/disassociateActionSettings.mjs +0 -57
  450. package/lib/modules/actions/expand-collapse/ExpandableActionInitializer.mjs +0 -40
  451. package/lib/modules/actions/expand-collapse/expendableActionSettings.mjs +0 -148
  452. package/lib/modules/actions/filter/FilterActionInitializer.mjs +0 -34
  453. package/lib/modules/actions/filter/filterActionSettings.mjs +0 -103
  454. package/lib/modules/actions/link/customizeLinkActionSettings.mjs +0 -149
  455. package/lib/modules/actions/link/hooks.mjs +0 -243
  456. package/lib/modules/actions/refresh/RefreshActionInitializer.mjs +0 -33
  457. package/lib/modules/actions/refresh/refreshActionSettings.mjs +0 -42
  458. package/lib/modules/actions/save-record/SaveRecordActionInitializer.mjs +0 -49
  459. package/lib/modules/actions/save-record/customizeSaveRecordActionSettings.mjs +0 -67
  460. package/lib/modules/actions/submit/CreateSubmitActionInitializer.mjs +0 -39
  461. package/lib/modules/actions/submit/UpdateSubmitActionInitializer.mjs +0 -44
  462. package/lib/modules/actions/submit/createSubmitActionSettings.mjs +0 -250
  463. package/lib/modules/actions/submit/updateSubmitActionSettings.mjs +0 -107
  464. package/lib/modules/actions/update-record/UpdateRecordActionInitializer.mjs +0 -48
  465. package/lib/modules/actions/update-record/customizeUpdateRecordActionSettings.mjs +0 -83
  466. package/lib/modules/actions/view-edit-popup/PopupActionInitializer.mjs +0 -74
  467. package/lib/modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs +0 -46
  468. package/lib/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +0 -69
  469. package/lib/modules/actions/view-edit-popup/ViewActionInitializer.mjs +0 -68
  470. package/lib/modules/actions/view-edit-popup/customizePopupActionSettings.mjs +0 -70
  471. package/lib/modules/actions/view-edit-popup/editActionSettings.mjs +0 -65
  472. package/lib/modules/actions/view-edit-popup/viewActionSettings.mjs +0 -70
  473. package/lib/modules/blocks/BlockSchemaToolbar.mjs +0 -85
  474. package/lib/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs +0 -49
  475. package/lib/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs +0 -76
  476. package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.mjs +0 -123
  477. package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.mjs +0 -81
  478. package/lib/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.mjs +0 -1
  479. package/lib/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.mjs +0 -20
  480. package/lib/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.mjs +0 -66
  481. package/lib/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +0 -256
  482. package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.mjs +0 -19
  483. package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.mjs +0 -11
  484. package/lib/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.mjs +0 -106
  485. package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs +0 -94
  486. package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs +0 -110
  487. package/lib/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs +0 -108
  488. package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.mjs +0 -110
  489. package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.mjs +0 -31
  490. package/lib/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.mjs +0 -1
  491. package/lib/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.mjs +0 -21
  492. package/lib/modules/blocks/data-blocks/details-single/createDetailsUISchema.mjs +0 -62
  493. package/lib/modules/blocks/data-blocks/details-single/detailsBlockSettings.mjs +0 -67
  494. package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.mjs +0 -43
  495. package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.mjs +0 -11
  496. package/lib/modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs +0 -85
  497. package/lib/modules/blocks/data-blocks/form/FilterItemCustomSettings.mjs +0 -321
  498. package/lib/modules/blocks/data-blocks/form/FormBlockInitializer.mjs +0 -113
  499. package/lib/modules/blocks/data-blocks/form/FormItemSchemaToolbar.mjs +0 -23
  500. package/lib/modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs +0 -123
  501. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.mjs +0 -27
  502. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.mjs +0 -33
  503. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.mjs +0 -207
  504. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.mjs +0 -36
  505. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.mjs +0 -167
  506. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +0 -1367
  507. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +0 -6009
  508. package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.mjs +0 -22
  509. package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.mjs +0 -235
  510. package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.mjs +0 -1
  511. package/lib/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.mjs +0 -27
  512. package/lib/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.mjs +0 -27
  513. package/lib/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.mjs +0 -63
  514. package/lib/modules/blocks/data-blocks/form/createEditFormBlockUISchema.mjs +0 -62
  515. package/lib/modules/blocks/data-blocks/form/createFormActionInitializers.mjs +0 -51
  516. package/lib/modules/blocks/data-blocks/form/createFormBlockSettings.mjs +0 -157
  517. package/lib/modules/blocks/data-blocks/form/editFormBlockSettings.mjs +0 -90
  518. package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +0 -598
  519. package/lib/modules/blocks/data-blocks/form/formActionInitializers.mjs +0 -54
  520. package/lib/modules/blocks/data-blocks/form/formItemInitializers.mjs +0 -51
  521. package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.mjs +0 -19
  522. package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.mjs +0 -11
  523. package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +0 -29
  524. package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.mjs +0 -11
  525. package/lib/modules/blocks/data-blocks/form/index.mjs +0 -31
  526. package/lib/modules/blocks/data-blocks/form/updateFormActionInitializers.mjs +0 -62
  527. package/lib/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs +0 -94
  528. package/lib/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs +0 -69
  529. package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.mjs +0 -231
  530. package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.mjs +0 -58
  531. package/lib/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.mjs +0 -1
  532. package/lib/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.mjs +0 -32
  533. package/lib/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.mjs +0 -78
  534. package/lib/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +0 -484
  535. package/lib/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs +0 -109
  536. package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.mjs +0 -25
  537. package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.mjs +0 -28
  538. package/lib/modules/blocks/data-blocks/grid-card/utils.mjs +0 -17
  539. package/lib/modules/blocks/data-blocks/list/ListActionInitializers.mjs +0 -90
  540. package/lib/modules/blocks/data-blocks/list/ListBlockInitializer.mjs +0 -69
  541. package/lib/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.mjs +0 -224
  542. package/lib/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.mjs +0 -29
  543. package/lib/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.mjs +0 -1
  544. package/lib/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.mjs +0 -30
  545. package/lib/modules/blocks/data-blocks/list/createListBlockUISchema.mjs +0 -71
  546. package/lib/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.mjs +0 -19
  547. package/lib/modules/blocks/data-blocks/list/listBlockSettings.mjs +0 -286
  548. package/lib/modules/blocks/data-blocks/list/listItemActionInitializers.mjs +0 -109
  549. package/lib/modules/blocks/data-blocks/table/TableActionColumnInitializers.mjs +0 -287
  550. package/lib/modules/blocks/data-blocks/table/TableActionInitializers.mjs +0 -143
  551. package/lib/modules/blocks/data-blocks/table/TableBlockInitializer.mjs +0 -69
  552. package/lib/modules/blocks/data-blocks/table/TableColumnInitializers.mjs +0 -135
  553. package/lib/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.mjs +0 -35
  554. package/lib/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.mjs +0 -19
  555. package/lib/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.mjs +0 -46
  556. package/lib/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.mjs +0 -28
  557. package/lib/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.mjs +0 -40
  558. package/lib/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.mjs +0 -450
  559. package/lib/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.mjs +0 -922
  560. package/lib/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +0 -937
  561. package/lib/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.mjs +0 -53
  562. package/lib/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.mjs +0 -24
  563. package/lib/modules/blocks/data-blocks/table/createTableBlockUISchema.mjs +0 -90
  564. package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.mjs +0 -54
  565. package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockProps.mjs +0 -176
  566. package/lib/modules/blocks/data-blocks/table/index.mjs +0 -21
  567. package/lib/modules/blocks/data-blocks/table/tableBlockSettings.mjs +0 -461
  568. package/lib/modules/blocks/data-blocks/table/tableColumnSettings.mjs +0 -388
  569. package/lib/modules/blocks/data-blocks/table/utils.mjs +0 -30
  570. package/lib/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs +0 -45
  571. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.mjs +0 -174
  572. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.mjs +0 -169
  573. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +0 -695
  574. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/utils.mjs +0 -20
  575. package/lib/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.mjs +0 -22
  576. package/lib/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.mjs +0 -55
  577. package/lib/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.mjs +0 -5
  578. package/lib/modules/blocks/data-blocks/table-selector/index.mjs +0 -7
  579. package/lib/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +0 -353
  580. package/lib/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.mjs +0 -22
  581. package/lib/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs +0 -51
  582. package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.mjs +0 -67
  583. package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.mjs +0 -72
  584. package/lib/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.mjs +0 -1
  585. package/lib/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.mjs +0 -46
  586. package/lib/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.mjs +0 -37
  587. package/lib/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.mjs +0 -79
  588. package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.mjs +0 -244
  589. package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.mjs +0 -170
  590. package/lib/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.mjs +0 -5
  591. package/lib/modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs +0 -38
  592. package/lib/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs +0 -60
  593. package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.mjs +0 -127
  594. package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.mjs +0 -111
  595. package/lib/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.mjs +0 -1
  596. package/lib/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.mjs +0 -31
  597. package/lib/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.mjs +0 -56
  598. package/lib/modules/blocks/filter-blocks/form/filterFormBlockSettings.mjs +0 -87
  599. package/lib/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +0 -394
  600. package/lib/modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs +0 -53
  601. package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.mjs +0 -5
  602. package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.mjs +0 -11
  603. package/lib/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs +0 -38
  604. package/lib/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs +0 -101
  605. package/lib/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.mjs +0 -87
  606. package/lib/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +0 -394
  607. package/lib/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.mjs +0 -53
  608. package/lib/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs +0 -48
  609. package/lib/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs +0 -42
  610. package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.mjs +0 -16
  611. package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.mjs +0 -40
  612. package/lib/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.mjs +0 -1
  613. package/lib/modules/blocks/other-blocks/markdown/markdownBlockSettings.mjs +0 -51
  614. package/lib/modules/blocks/useParentRecordCommon.mjs +0 -18
  615. package/lib/modules/blocks/useSourceId.mjs +0 -23
  616. package/lib/modules/blocks/useSourceKey.mjs +0 -16
  617. package/lib/modules/dialog/__e2e__/schemaInitializer.test.mjs +0 -435
  618. package/lib/modules/dialog/__e2e__/schemaSettings.test.mjs +0 -65
  619. package/lib/modules/dialog/__e2e__/templatesOfBug.mjs +0 -2128
  620. package/lib/modules/dialog/__e2e__/zIndex.test.mjs +0 -46
  621. package/lib/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.mjs +0 -120
  622. package/lib/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +0 -457
  623. package/lib/modules/fields/component/Checkbox/checkboxComponentFieldSettings.mjs +0 -71
  624. package/lib/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.mjs +0 -86
  625. package/lib/modules/fields/component/DatePicker/__e2e__/utils.mjs +0 -335
  626. package/lib/modules/fields/component/DatePicker/datePickerComponentFieldSettings.mjs +0 -37
  627. package/lib/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +0 -184
  628. package/lib/modules/fields/component/FileManager/fileManagerComponentFieldSettings.mjs +0 -225
  629. package/lib/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.mjs +0 -123
  630. package/lib/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +0 -45
  631. package/lib/modules/fields/component/Nester/subformComponentFieldSettings.mjs +0 -157
  632. package/lib/modules/fields/component/Picker/TableSelectorInitializers.mjs +0 -98
  633. package/lib/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +0 -222
  634. package/lib/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.mjs +0 -134
  635. package/lib/modules/fields/component/Radio/radioComponentFieldSettings.mjs +0 -71
  636. package/lib/modules/fields/component/Select/selectComponentFieldSettings.mjs +0 -453
  637. package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +0 -447
  638. package/lib/modules/fields/component/Tag/tagComponentFieldSettings.mjs +0 -207
  639. package/lib/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.mjs +0 -37
  640. package/lib/modules/fields/initializer/CollectionFieldInitializer.mjs +0 -30
  641. package/lib/modules/fields/initializer/TableCollectionFieldInitializer.mjs +0 -30
  642. package/lib/modules/menu/GroupItem.mjs +0 -110
  643. package/lib/modules/menu/LinkMenuItem.mjs +0 -116
  644. package/lib/modules/menu/PageMenuItem.mjs +0 -125
  645. package/lib/modules/menu/__e2e__/dragAndDrop.test.mjs +0 -34
  646. package/lib/modules/menu/__e2e__/schemaInitializer.test.mjs +0 -114
  647. package/lib/modules/menu/__e2e__/schemaSettings.test.mjs +0 -366
  648. package/lib/modules/menu/__e2e__/templatesOfBug.mjs +0 -1
  649. package/lib/modules/menu/menuItemInitializer.mjs +0 -65
  650. package/lib/modules/page/BlockInitializers.mjs +0 -86
  651. package/lib/modules/page/__e2e__/blockInitializers.test.mjs +0 -23
  652. package/lib/modules/page/__e2e__/dragAndDrop.test.mjs +0 -24
  653. package/lib/modules/page/__e2e__/schemaInitailizer.test.mjs +0 -22
  654. package/lib/modules/page/__e2e__/schemaSettings.test.mjs +0 -154
  655. package/lib/modules/page/__e2e__/templatesOfBug.mjs +0 -1
  656. package/lib/modules/plugin-manager/__e2e__/pluginManager.test.mjs +0 -132
  657. package/lib/modules/plugin-manager/__e2e__/templatesOfBug.mjs +0 -1
  658. package/lib/modules/user-center/__e2e__/settings.test.mjs +0 -18
  659. package/lib/modules/variable/DeclareVariable.mjs +0 -27
  660. package/lib/modules/variable/useVariable.mjs +0 -27
  661. package/lib/powered-by/index.mjs +0 -57
  662. package/lib/record-provider/index.mjs +0 -77
  663. package/lib/route-switch/RouteSchemaComponent.mjs +0 -27
  664. package/lib/route-switch/index.mjs +0 -5
  665. package/lib/schema-component/antd/AntdSchemaComponentProvider.mjs +0 -74
  666. package/lib/schema-component/antd/__builtins__/hooks/index.mjs +0 -9
  667. package/lib/schema-component/antd/__builtins__/hooks/useConfig.mjs +0 -14
  668. package/lib/schema-component/antd/__builtins__/hooks/usePrefixCls.mjs +0 -22
  669. package/lib/schema-component/antd/__builtins__/hooks/useToken.mjs +0 -13
  670. package/lib/schema-component/antd/__builtins__/index.mjs +0 -11
  671. package/lib/schema-component/antd/__builtins__/loading.mjs +0 -21
  672. package/lib/schema-component/antd/__builtins__/portal.mjs +0 -76
  673. package/lib/schema-component/antd/__builtins__/render.mjs +0 -65
  674. package/lib/schema-component/antd/__builtins__/style.mjs +0 -79
  675. package/lib/schema-component/antd/action/Action.Area.mjs +0 -130
  676. package/lib/schema-component/antd/action/Action.Area.style.mjs +0 -48
  677. package/lib/schema-component/antd/action/Action.Container.mjs +0 -75
  678. package/lib/schema-component/antd/action/Action.Designer.mjs +0 -1053
  679. package/lib/schema-component/antd/action/Action.Drawer.mjs +0 -179
  680. package/lib/schema-component/antd/action/Action.Drawer.style.mjs +0 -52
  681. package/lib/schema-component/antd/action/Action.Link.mjs +0 -37
  682. package/lib/schema-component/antd/action/Action.Modal.mjs +0 -214
  683. package/lib/schema-component/antd/action/Action.Page.mjs +0 -112
  684. package/lib/schema-component/antd/action/Action.Popover.mjs +0 -1
  685. package/lib/schema-component/antd/action/Action.Sheet.mjs +0 -115
  686. package/lib/schema-component/antd/action/Action.mjs +0 -349
  687. package/lib/schema-component/antd/action/Action.style.mjs +0 -53
  688. package/lib/schema-component/antd/action/ActionBar.mjs +0 -172
  689. package/lib/schema-component/antd/action/__tests__/action.test.mjs +0 -161
  690. package/lib/schema-component/antd/action/context.mjs +0 -29
  691. package/lib/schema-component/antd/action/demos/demo1.mjs +0 -87
  692. package/lib/schema-component/antd/action/demos/demo2.mjs +0 -90
  693. package/lib/schema-component/antd/action/demos/demo3.mjs +0 -148
  694. package/lib/schema-component/antd/action/demos/demo4.mjs +0 -75
  695. package/lib/schema-component/antd/action/demos/demo5.mjs +0 -237
  696. package/lib/schema-component/antd/action/demos/demo6.mjs +0 -114
  697. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfAction.mjs +0 -62
  698. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.mjs +0 -43
  699. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfModal.mjs +0 -43
  700. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.mjs +0 -43
  701. package/lib/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.mjs +0 -42
  702. package/lib/schema-component/antd/action/hooks/useSetAriaLabelForModal.mjs +0 -44
  703. package/lib/schema-component/antd/action/hooks/useSetAriaLabelForPopover.mjs +0 -33
  704. package/lib/schema-component/antd/action/hooks.mjs +0 -86
  705. package/lib/schema-component/antd/action/index.mjs +0 -23
  706. package/lib/schema-component/antd/action/types.mjs +0 -4
  707. package/lib/schema-component/antd/action/utils.mjs +0 -229
  708. package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelect.mjs +0 -268
  709. package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.mjs +0 -267
  710. package/lib/schema-component/antd/appends-tree-select/index.mjs +0 -7
  711. package/lib/schema-component/antd/association-cascader/AssociationCascader.mjs +0 -173
  712. package/lib/schema-component/antd/association-cascader/index.mjs +0 -5
  713. package/lib/schema-component/antd/association-field/AssociationFieldProvider.mjs +0 -166
  714. package/lib/schema-component/antd/association-field/AssociationSelect.mjs +0 -229
  715. package/lib/schema-component/antd/association-field/Editable.mjs +0 -165
  716. package/lib/schema-component/antd/association-field/FileManager.mjs +0 -261
  717. package/lib/schema-component/antd/association-field/InternalCascadeSelect.mjs +0 -467
  718. package/lib/schema-component/antd/association-field/InternalCascader.mjs +0 -443
  719. package/lib/schema-component/antd/association-field/InternalDrawerSubTable.mjs +0 -138
  720. package/lib/schema-component/antd/association-field/InternalNester.mjs +0 -117
  721. package/lib/schema-component/antd/association-field/InternalPicker.mjs +0 -276
  722. package/lib/schema-component/antd/association-field/InternalPopoverNester.mjs +0 -176
  723. package/lib/schema-component/antd/association-field/InternalSubTable.mjs +0 -133
  724. package/lib/schema-component/antd/association-field/InternalTag.mjs +0 -180
  725. package/lib/schema-component/antd/association-field/InternalViewer.mjs +0 -197
  726. package/lib/schema-component/antd/association-field/Nester.mjs +0 -330
  727. package/lib/schema-component/antd/association-field/ReadPretty.mjs +0 -82
  728. package/lib/schema-component/antd/association-field/SubTable.mjs +0 -351
  729. package/lib/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +0 -384
  730. package/lib/schema-component/antd/association-field/SubTabs/hook.mjs +0 -87
  731. package/lib/schema-component/antd/association-field/SubTabs/index.mjs +0 -5
  732. package/lib/schema-component/antd/association-field/SubTabs/styles.mjs +0 -33
  733. package/lib/schema-component/antd/association-field/components/CreateRecordAction.mjs +0 -84
  734. package/lib/schema-component/antd/association-field/context.mjs +0 -10
  735. package/lib/schema-component/antd/association-field/hooks.mjs +0 -221
  736. package/lib/schema-component/antd/association-field/index.mjs +0 -42
  737. package/lib/schema-component/antd/association-field/schema.mjs +0 -135
  738. package/lib/schema-component/antd/association-field/util.mjs +0 -133
  739. package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.mjs +0 -88
  740. package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.mjs +0 -67
  741. package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.mjs +0 -67
  742. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.mjs +0 -168
  743. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.mjs +0 -183
  744. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.style.mjs +0 -107
  745. package/lib/schema-component/antd/association-filter/AssociationFilter.mjs +0 -128
  746. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.mjs +0 -55
  747. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.mjs +0 -43
  748. package/lib/schema-component/antd/association-filter/utilts.mjs +0 -7
  749. package/lib/schema-component/antd/association-select/AssociationSelect.mjs +0 -1010
  750. package/lib/schema-component/antd/association-select/ReadPretty.mjs +0 -38
  751. package/lib/schema-component/antd/association-select/__tests__/association-select.test.mjs +0 -33
  752. package/lib/schema-component/antd/association-select/demos/demo1.mjs +0 -75
  753. package/lib/schema-component/antd/association-select/index.mjs +0 -5
  754. package/lib/schema-component/antd/association-select/useServiceOptions.mjs +0 -114
  755. package/lib/schema-component/antd/auto-complete/AutoComplete.mjs +0 -92
  756. package/lib/schema-component/antd/auto-complete/index.mjs +0 -5
  757. package/lib/schema-component/antd/block-item/BlockItem.mjs +0 -93
  758. package/lib/schema-component/antd/block-item/BlockToolbar.mjs +0 -114
  759. package/lib/schema-component/antd/block-item/__tests__/block-item.test.mjs +0 -29
  760. package/lib/schema-component/antd/block-item/demos/demo1.mjs +0 -75
  761. package/lib/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.mjs +0 -63
  762. package/lib/schema-component/antd/block-item/index.mjs +0 -5
  763. package/lib/schema-component/antd/block-item/useBlockToolbar.mjs +0 -107
  764. package/lib/schema-component/antd/card-item/CardItem.mjs +0 -49
  765. package/lib/schema-component/antd/card-item/__tests__/card-item.test.mjs +0 -28
  766. package/lib/schema-component/antd/card-item/demos/demo1.mjs +0 -45
  767. package/lib/schema-component/antd/card-item/index.mjs +0 -5
  768. package/lib/schema-component/antd/card-item/style.mjs +0 -33
  769. package/lib/schema-component/antd/cascader/Cascader.mjs +0 -123
  770. package/lib/schema-component/antd/cascader/ReadPretty.mjs +0 -50
  771. package/lib/schema-component/antd/cascader/__tests__/cascader.test.mjs +0 -56
  772. package/lib/schema-component/antd/cascader/defaultFieldNames.mjs +0 -9
  773. package/lib/schema-component/antd/cascader/demos/demo1.mjs +0 -100
  774. package/lib/schema-component/antd/cascader/demos/demo2.mjs +0 -140
  775. package/lib/schema-component/antd/cascader/index.mjs +0 -5
  776. package/lib/schema-component/antd/checkbox/Checkbox.mjs +0 -120
  777. package/lib/schema-component/antd/checkbox/__tests__/checkbox.test.mjs +0 -60
  778. package/lib/schema-component/antd/checkbox/demos/checkbox.group.mjs +0 -73
  779. package/lib/schema-component/antd/checkbox/demos/checkbox.mjs +0 -59
  780. package/lib/schema-component/antd/checkbox/index.mjs +0 -5
  781. package/lib/schema-component/antd/collection-select/CollectionSelect.mjs +0 -194
  782. package/lib/schema-component/antd/collection-select/__tests__/collection-select.test.mjs +0 -33
  783. package/lib/schema-component/antd/collection-select/demos/demo1.mjs +0 -54
  784. package/lib/schema-component/antd/collection-select/index.mjs +0 -5
  785. package/lib/schema-component/antd/color-picker/ColorPicker.mjs +0 -114
  786. package/lib/schema-component/antd/color-picker/ReadPretty.mjs +0 -36
  787. package/lib/schema-component/antd/color-picker/demos/demo1.mjs +0 -68
  788. package/lib/schema-component/antd/color-picker/index.mjs +0 -5
  789. package/lib/schema-component/antd/color-picker/util.mjs +0 -196
  790. package/lib/schema-component/antd/color-select/ColorSelect.mjs +0 -73
  791. package/lib/schema-component/antd/color-select/__tests__/color-select.test.mjs +0 -32
  792. package/lib/schema-component/antd/color-select/demos/demo1.mjs +0 -59
  793. package/lib/schema-component/antd/color-select/index.mjs +0 -5
  794. package/lib/schema-component/antd/cron/Cron.mjs +0 -100
  795. package/lib/schema-component/antd/cron/CronSet.mjs +0 -147
  796. package/lib/schema-component/antd/cron/__tests__/cron-set.test.mjs +0 -50
  797. package/lib/schema-component/antd/cron/demos/demo1.mjs +0 -50
  798. package/lib/schema-component/antd/cron/demos/demo2.mjs +0 -69
  799. package/lib/schema-component/antd/cron/index.mjs +0 -7
  800. package/lib/schema-component/antd/custom-cascader/CustomCascader.mjs +0 -63
  801. package/lib/schema-component/antd/custom-cascader/ReadPretty.mjs +0 -50
  802. package/lib/schema-component/antd/custom-cascader/defaultFieldNames.mjs +0 -9
  803. package/lib/schema-component/antd/custom-cascader/index.mjs +0 -5
  804. package/lib/schema-component/antd/date-picker/DatePicker.mjs +0 -176
  805. package/lib/schema-component/antd/date-picker/ReadPretty.mjs +0 -66
  806. package/lib/schema-component/antd/date-picker/__tests__/date-picker.test.mjs +0 -250
  807. package/lib/schema-component/antd/date-picker/__tests__/getDateRanges.test.mjs +0 -119
  808. package/lib/schema-component/antd/date-picker/__tests__/mapDatePicker.test.mjs +0 -212
  809. package/lib/schema-component/antd/date-picker/__tests__/mapRangePicker.test.mjs +0 -71
  810. package/lib/schema-component/antd/date-picker/__tests__/util.test.mjs +0 -182
  811. package/lib/schema-component/antd/date-picker/demos/demo1.mjs +0 -76
  812. package/lib/schema-component/antd/date-picker/demos/demo10.mjs +0 -80
  813. package/lib/schema-component/antd/date-picker/demos/demo11.mjs +0 -84
  814. package/lib/schema-component/antd/date-picker/demos/demo2.mjs +0 -79
  815. package/lib/schema-component/antd/date-picker/demos/demo3.mjs +0 -77
  816. package/lib/schema-component/antd/date-picker/demos/demo4.mjs +0 -94
  817. package/lib/schema-component/antd/date-picker/demos/demo5.mjs +0 -93
  818. package/lib/schema-component/antd/date-picker/demos/demo6.mjs +0 -93
  819. package/lib/schema-component/antd/date-picker/demos/demo7.mjs +0 -80
  820. package/lib/schema-component/antd/date-picker/demos/demo8.mjs +0 -80
  821. package/lib/schema-component/antd/date-picker/demos/demo9.mjs +0 -80
  822. package/lib/schema-component/antd/date-picker/index.mjs +0 -5
  823. package/lib/schema-component/antd/date-picker/util.mjs +0 -217
  824. package/lib/schema-component/antd/details/Details.mjs +0 -44
  825. package/lib/schema-component/antd/details/__tests__/details.test.mjs +0 -25
  826. package/lib/schema-component/antd/details/demos/demo1.mjs +0 -59
  827. package/lib/schema-component/antd/details/index.mjs +0 -5
  828. package/lib/schema-component/antd/error-fallback/ErrorFallback.mjs +0 -77
  829. package/lib/schema-component/antd/error-fallback/__tests__/error-fallback.test.mjs +0 -33
  830. package/lib/schema-component/antd/error-fallback/demos/demo1.mjs +0 -30
  831. package/lib/schema-component/antd/error-fallback/index.mjs +0 -5
  832. package/lib/schema-component/antd/expand-action/Expand.Action.Design.mjs +0 -134
  833. package/lib/schema-component/antd/expand-action/Expand.Action.mjs +0 -103
  834. package/lib/schema-component/antd/expand-action/index.mjs +0 -15
  835. package/lib/schema-component/antd/filter/DynamicComponent.mjs +0 -81
  836. package/lib/schema-component/antd/filter/Filter.Action.Designer.mjs +0 -156
  837. package/lib/schema-component/antd/filter/Filter.mjs +0 -95
  838. package/lib/schema-component/antd/filter/FilterAction.mjs +0 -218
  839. package/lib/schema-component/antd/filter/FilterGroup.mjs +0 -166
  840. package/lib/schema-component/antd/filter/FilterItem.mjs +0 -120
  841. package/lib/schema-component/antd/filter/FilterItems.mjs +0 -47
  842. package/lib/schema-component/antd/filter/SaveDefaultValue.mjs +0 -61
  843. package/lib/schema-component/antd/filter/__tests__/filter.test.mjs +0 -152
  844. package/lib/schema-component/antd/filter/context.mjs +0 -14
  845. package/lib/schema-component/antd/filter/demos/demo2.mjs +0 -143
  846. package/lib/schema-component/antd/filter/demos/demo3.mjs +0 -213
  847. package/lib/schema-component/antd/filter/demos/demo4.mjs +0 -203
  848. package/lib/schema-component/antd/filter/demos/demo5.mjs +0 -145
  849. package/lib/schema-component/antd/filter/demos/demo6.mjs +0 -140
  850. package/lib/schema-component/antd/filter/index.mjs +0 -9
  851. package/lib/schema-component/antd/filter/useFilterActionProps.mjs +0 -298
  852. package/lib/schema-component/antd/filter/useOperators.mjs +0 -38
  853. package/lib/schema-component/antd/filter/useValues.mjs +0 -155
  854. package/lib/schema-component/antd/filter/utils.mjs +0 -20
  855. package/lib/schema-component/antd/form/Form.Designer.mjs +0 -27
  856. package/lib/schema-component/antd/form/Form.Settings.mjs +0 -48
  857. package/lib/schema-component/antd/form/Form.mjs +0 -187
  858. package/lib/schema-component/antd/form/__tests__/form.test.mjs +0 -155
  859. package/lib/schema-component/antd/form/demos/apiClient.mjs +0 -26
  860. package/lib/schema-component/antd/form/demos/demo1.mjs +0 -93
  861. package/lib/schema-component/antd/form/demos/demo2.mjs +0 -95
  862. package/lib/schema-component/antd/form/demos/demo3.mjs +0 -94
  863. package/lib/schema-component/antd/form/demos/demo4.mjs +0 -98
  864. package/lib/schema-component/antd/form/demos/demo5.mjs +0 -142
  865. package/lib/schema-component/antd/form/demos/demo6.mjs +0 -95
  866. package/lib/schema-component/antd/form/demos/demo7.mjs +0 -103
  867. package/lib/schema-component/antd/form/demos/demo8.mjs +0 -110
  868. package/lib/schema-component/antd/form/index.mjs +0 -7
  869. package/lib/schema-component/antd/form-dialog/index.mjs +0 -199
  870. package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.mjs +0 -21
  871. package/lib/schema-component/antd/form-item/FormItem.FilterFormSettings.mjs +0 -183
  872. package/lib/schema-component/antd/form-item/FormItem.Settings.mjs +0 -1326
  873. package/lib/schema-component/antd/form-item/FormItem.mjs +0 -200
  874. package/lib/schema-component/antd/form-item/SchemaSettingOptions.mjs +0 -638
  875. package/lib/schema-component/antd/form-item/__tests__/form-item.test.mjs +0 -27
  876. package/lib/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.mjs +0 -33
  877. package/lib/schema-component/antd/form-item/__tests__/utils.test.mjs +0 -71
  878. package/lib/schema-component/antd/form-item/demos/demo1.mjs +0 -56
  879. package/lib/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +0 -135
  880. package/lib/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +0 -164
  881. package/lib/schema-component/antd/form-item/hooks/useSpecialCase.mjs +0 -182
  882. package/lib/schema-component/antd/form-item/index.mjs +0 -11
  883. package/lib/schema-component/antd/form-item/utils.mjs +0 -22
  884. package/lib/schema-component/antd/form-tab/index.mjs +0 -168
  885. package/lib/schema-component/antd/form-v2/Form.Designer.mjs +0 -51
  886. package/lib/schema-component/antd/form-v2/Form.FilterDesigner.mjs +0 -36
  887. package/lib/schema-component/antd/form-v2/Form.Settings.mjs +0 -364
  888. package/lib/schema-component/antd/form-v2/Form.mjs +0 -432
  889. package/lib/schema-component/antd/form-v2/FormField.mjs +0 -51
  890. package/lib/schema-component/antd/form-v2/Templates.mjs +0 -257
  891. package/lib/schema-component/antd/form-v2/__tests__/form-v2.test.mjs +0 -69
  892. package/lib/schema-component/antd/form-v2/demos/collections.mjs +0 -1568
  893. package/lib/schema-component/antd/form-v2/demos/demo1.mjs +0 -139
  894. package/lib/schema-component/antd/form-v2/demos/demo2.mjs +0 -162
  895. package/lib/schema-component/antd/form-v2/demos/demo3.mjs +0 -139
  896. package/lib/schema-component/antd/form-v2/index.mjs +0 -32
  897. package/lib/schema-component/antd/form-v2/utils.mjs +0 -182
  898. package/lib/schema-component/antd/grid/Block.mjs +0 -39
  899. package/lib/schema-component/antd/grid/Grid.mjs +0 -562
  900. package/lib/schema-component/antd/grid/Grid.style.mjs +0 -51
  901. package/lib/schema-component/antd/grid/__tests__/grid.test.mjs +0 -47
  902. package/lib/schema-component/antd/grid/demos/demo1.mjs +0 -211
  903. package/lib/schema-component/antd/grid/demos/demo2.mjs +0 -119
  904. package/lib/schema-component/antd/grid/demos/demo3.mjs +0 -101
  905. package/lib/schema-component/antd/grid/index.mjs +0 -7
  906. package/lib/schema-component/antd/grid-card/GridCard.Decorator.mjs +0 -108
  907. package/lib/schema-component/antd/grid-card/GridCard.Decorator.style.mjs +0 -30
  908. package/lib/schema-component/antd/grid-card/GridCard.Designer.mjs +0 -317
  909. package/lib/schema-component/antd/grid-card/GridCard.Item.mjs +0 -120
  910. package/lib/schema-component/antd/grid-card/GridCard.mjs +0 -215
  911. package/lib/schema-component/antd/grid-card/__tests__/grid-card.test.mjs +0 -24
  912. package/lib/schema-component/antd/grid-card/demos/demo1.mjs +0 -17
  913. package/lib/schema-component/antd/grid-card/hooks.mjs +0 -37
  914. package/lib/schema-component/antd/grid-card/index.mjs +0 -5
  915. package/lib/schema-component/antd/grid-card/options.mjs +0 -38
  916. package/lib/schema-component/antd/icon-picker/IconFilterInput.mjs +0 -32
  917. package/lib/schema-component/antd/icon-picker/IconList.mjs +0 -71
  918. package/lib/schema-component/antd/icon-picker/IconPicker.mjs +0 -116
  919. package/lib/schema-component/antd/icon-picker/__tests__/icon-picker.test.mjs +0 -43
  920. package/lib/schema-component/antd/icon-picker/demos/icon-picker.mjs +0 -57
  921. package/lib/schema-component/antd/icon-picker/index.mjs +0 -5
  922. package/lib/schema-component/antd/index.css +0 -30
  923. package/lib/schema-component/antd/index.mjs +0 -137
  924. package/lib/schema-component/antd/input/EllipsisWithTooltip.mjs +0 -82
  925. package/lib/schema-component/antd/input/Input.mjs +0 -56
  926. package/lib/schema-component/antd/input/Json.mjs +0 -83
  927. package/lib/schema-component/antd/input/ReadPretty.mjs +0 -186
  928. package/lib/schema-component/antd/input/__tests__/Input.test.mjs +0 -141
  929. package/lib/schema-component/antd/input/demos/input.mjs +0 -57
  930. package/lib/schema-component/antd/input/demos/json.mjs +0 -63
  931. package/lib/schema-component/antd/input/demos/textarea.mjs +0 -85
  932. package/lib/schema-component/antd/input/demos/url.mjs +0 -59
  933. package/lib/schema-component/antd/input/index.mjs +0 -13
  934. package/lib/schema-component/antd/input/shared.mjs +0 -11
  935. package/lib/schema-component/antd/input-number/InputNumber.mjs +0 -37
  936. package/lib/schema-component/antd/input-number/ReadPretty.mjs +0 -161
  937. package/lib/schema-component/antd/input-number/__tests__/input-number.test.mjs +0 -152
  938. package/lib/schema-component/antd/input-number/demos/addonBefore&addonAfter.mjs +0 -65
  939. package/lib/schema-component/antd/input-number/demos/highPrecisionDecimals.mjs +0 -67
  940. package/lib/schema-component/antd/input-number/demos/inputNumber.mjs +0 -57
  941. package/lib/schema-component/antd/input-number/index.mjs +0 -5
  942. package/lib/schema-component/antd/list/List.Decorator.mjs +0 -135
  943. package/lib/schema-component/antd/list/List.Designer.mjs +0 -260
  944. package/lib/schema-component/antd/list/List.Item.mjs +0 -85
  945. package/lib/schema-component/antd/list/List.mjs +0 -129
  946. package/lib/schema-component/antd/list/List.style.mjs +0 -62
  947. package/lib/schema-component/antd/list/__tests__/list.test.mjs +0 -24
  948. package/lib/schema-component/antd/list/demos/demo1.mjs +0 -17
  949. package/lib/schema-component/antd/list/hooks.mjs +0 -16
  950. package/lib/schema-component/antd/list/index.mjs +0 -5
  951. package/lib/schema-component/antd/markdown/Markdown.Void.Designer.mjs +0 -45
  952. package/lib/schema-component/antd/markdown/Markdown.Void.mjs +0 -148
  953. package/lib/schema-component/antd/markdown/Markdown.mjs +0 -83
  954. package/lib/schema-component/antd/markdown/__tests__/markdown.test.mjs +0 -48
  955. package/lib/schema-component/antd/markdown/demos/demo1.mjs +0 -59
  956. package/lib/schema-component/antd/markdown/demos/demo2.mjs +0 -78
  957. package/lib/schema-component/antd/markdown/index.mjs +0 -5
  958. package/lib/schema-component/antd/markdown/markdown-it-plugins/mermaidPlugin.mjs +0 -73
  959. package/lib/schema-component/antd/markdown/md.mjs +0 -25
  960. package/lib/schema-component/antd/markdown/style.mjs +0 -233
  961. package/lib/schema-component/antd/markdown/util.mjs +0 -49
  962. package/lib/schema-component/antd/menu/Menu.Designer.mjs +0 -478
  963. package/lib/schema-component/antd/menu/Menu.mjs +0 -686
  964. package/lib/schema-component/antd/menu/Menu.styles.mjs +0 -85
  965. package/lib/schema-component/antd/menu/MenuItemInitializers/index.mjs +0 -17
  966. package/lib/schema-component/antd/menu/__tests__/menu.test.mjs +0 -65
  967. package/lib/schema-component/antd/menu/demos/demo1.mjs +0 -109
  968. package/lib/schema-component/antd/menu/demos/demo2.mjs +0 -112
  969. package/lib/schema-component/antd/menu/demos/demo3.mjs +0 -152
  970. package/lib/schema-component/antd/menu/index.mjs +0 -9
  971. package/lib/schema-component/antd/menu/locale.mjs +0 -11
  972. package/lib/schema-component/antd/menu/util.mjs +0 -56
  973. package/lib/schema-component/antd/nanoIDInput/NanoIDInput.mjs +0 -71
  974. package/lib/schema-component/antd/nanoIDInput/index.mjs +0 -5
  975. package/lib/schema-component/antd/page/FixedBlock.mjs +0 -118
  976. package/lib/schema-component/antd/page/FixedBlockDesignerItem.mjs +0 -72
  977. package/lib/schema-component/antd/page/Page.Settings.mjs +0 -167
  978. package/lib/schema-component/antd/page/Page.mjs +0 -317
  979. package/lib/schema-component/antd/page/PageTab.Settings.mjs +0 -108
  980. package/lib/schema-component/antd/page/PageTabDesigner.mjs +0 -98
  981. package/lib/schema-component/antd/page/__tests__/page.test.mjs +0 -33
  982. package/lib/schema-component/antd/page/demos/demo1.mjs +0 -52
  983. package/lib/schema-component/antd/page/hooks/useIsBlockInPage.mjs +0 -25
  984. package/lib/schema-component/antd/page/index.mjs +0 -13
  985. package/lib/schema-component/antd/page/style.mjs +0 -149
  986. package/lib/schema-component/antd/pagination/index.mjs +0 -48
  987. package/lib/schema-component/antd/password/Password.mjs +0 -102
  988. package/lib/schema-component/antd/password/PasswordStrength.mjs +0 -29
  989. package/lib/schema-component/antd/password/__tests__/password.test.mjs +0 -46
  990. package/lib/schema-component/antd/password/__tests__/utils.test.mjs +0 -27
  991. package/lib/schema-component/antd/password/demos/demo1.mjs +0 -59
  992. package/lib/schema-component/antd/password/demos/demo2.mjs +0 -62
  993. package/lib/schema-component/antd/password/index.mjs +0 -5
  994. package/lib/schema-component/antd/password/utils.mjs +0 -146
  995. package/lib/schema-component/antd/percent/Percent.mjs +0 -59
  996. package/lib/schema-component/antd/percent/__tests__/percent.test.mjs +0 -31
  997. package/lib/schema-component/antd/percent/demos/percent.mjs +0 -57
  998. package/lib/schema-component/antd/percent/index.mjs +0 -5
  999. package/lib/schema-component/antd/popover/Popover.mjs +0 -67
  1000. package/lib/schema-component/antd/popover/index.mjs +0 -5
  1001. package/lib/schema-component/antd/preview/Preview.mjs +0 -324
  1002. package/lib/schema-component/antd/preview/__tests__/preview.test.mjs +0 -26
  1003. package/lib/schema-component/antd/preview/demos/demo1.mjs +0 -103
  1004. package/lib/schema-component/antd/preview/index.mjs +0 -5
  1005. package/lib/schema-component/antd/quick-edit/QuickEdit.mjs +0 -148
  1006. package/lib/schema-component/antd/quick-edit/index.mjs +0 -5
  1007. package/lib/schema-component/antd/radio/Radio.mjs +0 -62
  1008. package/lib/schema-component/antd/radio/__tests__/radio.test.mjs +0 -64
  1009. package/lib/schema-component/antd/radio/demos/demo1.mjs +0 -60
  1010. package/lib/schema-component/antd/radio/demos/demo2.mjs +0 -72
  1011. package/lib/schema-component/antd/radio/demos/demo3.mjs +0 -73
  1012. package/lib/schema-component/antd/radio/index.mjs +0 -5
  1013. package/lib/schema-component/antd/record-picker/InputRecordPicker.mjs +0 -308
  1014. package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +0 -177
  1015. package/lib/schema-component/antd/record-picker/RecordPicker.mjs +0 -17
  1016. package/lib/schema-component/antd/record-picker/__tests__/record-picker.test.mjs +0 -44
  1017. package/lib/schema-component/antd/record-picker/demos/demo1.mjs +0 -198
  1018. package/lib/schema-component/antd/record-picker/demos/mockData.mjs +0 -214
  1019. package/lib/schema-component/antd/record-picker/index.mjs +0 -24
  1020. package/lib/schema-component/antd/record-picker/useFieldNames.mjs +0 -18
  1021. package/lib/schema-component/antd/record-picker/util.mjs +0 -59
  1022. package/lib/schema-component/antd/remote-select/ReadPretty.mjs +0 -71
  1023. package/lib/schema-component/antd/remote-select/RemoteSelect.mjs +0 -291
  1024. package/lib/schema-component/antd/remote-select/__tests__/remote-select.test.mjs +0 -33
  1025. package/lib/schema-component/antd/remote-select/demos/demo1.mjs +0 -75
  1026. package/lib/schema-component/antd/remote-select/index.mjs +0 -5
  1027. package/lib/schema-component/antd/remote-select/shared.mjs +0 -11
  1028. package/lib/schema-component/antd/rich-text/RichText.mjs +0 -85
  1029. package/lib/schema-component/antd/rich-text/__tests__/rich-text.test.mjs +0 -28
  1030. package/lib/schema-component/antd/rich-text/demos/demo1.mjs +0 -61
  1031. package/lib/schema-component/antd/rich-text/index.mjs +0 -5
  1032. package/lib/schema-component/antd/rich-text/style.mjs +0 -818
  1033. package/lib/schema-component/antd/scroll-area/ScrollArea.mjs +0 -63
  1034. package/lib/schema-component/antd/scroll-area/index.mjs +0 -5
  1035. package/lib/schema-component/antd/select/FormulaSelect.mjs +0 -263
  1036. package/lib/schema-component/antd/select/ReadPretty.mjs +0 -61
  1037. package/lib/schema-component/antd/select/Select.mjs +0 -214
  1038. package/lib/schema-component/antd/select/__tests__/select.test.mjs +0 -63
  1039. package/lib/schema-component/antd/select/__tests__/utils.test.mjs +0 -135
  1040. package/lib/schema-component/antd/select/demos/demo1.mjs +0 -91
  1041. package/lib/schema-component/antd/select/demos/demo2.mjs +0 -95
  1042. package/lib/schema-component/antd/select/demos/demo3.mjs +0 -105
  1043. package/lib/schema-component/antd/select/index.mjs +0 -7
  1044. package/lib/schema-component/antd/select/utils.mjs +0 -49
  1045. package/lib/schema-component/antd/space/index.mjs +0 -36
  1046. package/lib/schema-component/antd/table/Table.Array.Designer.mjs +0 -26
  1047. package/lib/schema-component/antd/table/Table.Array.mjs +0 -358
  1048. package/lib/schema-component/antd/table/Table.Column.ActionBar.mjs +0 -62
  1049. package/lib/schema-component/antd/table/Table.Column.Decorator.mjs +0 -77
  1050. package/lib/schema-component/antd/table/Table.Column.Designer.mjs +0 -173
  1051. package/lib/schema-component/antd/table/Table.Column.mjs +0 -22
  1052. package/lib/schema-component/antd/table/Table.Designer.mjs +0 -32
  1053. package/lib/schema-component/antd/table/Table.RowActionDesigner.mjs +0 -60
  1054. package/lib/schema-component/antd/table/Table.RowSelection.mjs +0 -47
  1055. package/lib/schema-component/antd/table/Table.Void.Designer.mjs +0 -278
  1056. package/lib/schema-component/antd/table/Table.Void.mjs +0 -155
  1057. package/lib/schema-component/antd/table/__tests__/table.test.mjs +0 -45
  1058. package/lib/schema-component/antd/table/demos/demo1.mjs +0 -77
  1059. package/lib/schema-component/antd/table/demos/demo2.mjs +0 -77
  1060. package/lib/schema-component/antd/table/demos/demo3.mjs +0 -77
  1061. package/lib/schema-component/antd/table/demos/demo4.mjs +0 -242
  1062. package/lib/schema-component/antd/table/index.mjs +0 -60
  1063. package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.mjs +0 -60
  1064. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.mjs +0 -72
  1065. package/lib/schema-component/antd/table-v2/Table.Column.Decorator.mjs +0 -91
  1066. package/lib/schema-component/antd/table-v2/Table.Column.Designer.mjs +0 -514
  1067. package/lib/schema-component/antd/table-v2/Table.Column.mjs +0 -23
  1068. package/lib/schema-component/antd/table-v2/Table.Designer.mjs +0 -32
  1069. package/lib/schema-component/antd/table-v2/Table.Index.mjs +0 -22
  1070. package/lib/schema-component/antd/table-v2/Table.mjs +0 -574
  1071. package/lib/schema-component/antd/table-v2/Table.styles.mjs +0 -146
  1072. package/lib/schema-component/antd/table-v2/TableBlockDesigner.mjs +0 -392
  1073. package/lib/schema-component/antd/table-v2/TableField.mjs +0 -77
  1074. package/lib/schema-component/antd/table-v2/TableSelector.mjs +0 -9
  1075. package/lib/schema-component/antd/table-v2/TableSelectorDesigner.mjs +0 -347
  1076. package/lib/schema-component/antd/table-v2/__tests__/table-v2.test.mjs +0 -31
  1077. package/lib/schema-component/antd/table-v2/components/ColumnFieldProvider.mjs +0 -59
  1078. package/lib/schema-component/antd/table-v2/demos/collections.mjs +0 -1563
  1079. package/lib/schema-component/antd/table-v2/demos/demo1.mjs +0 -251
  1080. package/lib/schema-component/antd/table-v2/demos/demo2.mjs +0 -145
  1081. package/lib/schema-component/antd/table-v2/index.mjs +0 -52
  1082. package/lib/schema-component/antd/table-v2/utils.mjs +0 -20
  1083. package/lib/schema-component/antd/tabs/Tabs.Designer.mjs +0 -159
  1084. package/lib/schema-component/antd/tabs/Tabs.mjs +0 -141
  1085. package/lib/schema-component/antd/tabs/__tests__/tabs.test.mjs +0 -29
  1086. package/lib/schema-component/antd/tabs/context.mjs +0 -23
  1087. package/lib/schema-component/antd/tabs/demos/demo1.mjs +0 -86
  1088. package/lib/schema-component/antd/tabs/index.mjs +0 -7
  1089. package/lib/schema-component/antd/time-picker/ReadPretty.mjs +0 -42
  1090. package/lib/schema-component/antd/time-picker/TimePicker.mjs +0 -40
  1091. package/lib/schema-component/antd/time-picker/__tests__/time-picker.test.mjs +0 -68
  1092. package/lib/schema-component/antd/time-picker/demos/demo1.mjs +0 -59
  1093. package/lib/schema-component/antd/time-picker/demos/demo2.mjs +0 -59
  1094. package/lib/schema-component/antd/time-picker/index.mjs +0 -5
  1095. package/lib/schema-component/antd/tree/Tree.mjs +0 -115
  1096. package/lib/schema-component/antd/tree/index.mjs +0 -10
  1097. package/lib/schema-component/antd/tree-select/ReadPretty.mjs +0 -91
  1098. package/lib/schema-component/antd/tree-select/TreeSelect.mjs +0 -37
  1099. package/lib/schema-component/antd/tree-select/__tests__/tree-select.test.mjs +0 -29
  1100. package/lib/schema-component/antd/tree-select/demos/demo1.mjs +0 -103
  1101. package/lib/schema-component/antd/tree-select/index.mjs +0 -5
  1102. package/lib/schema-component/antd/unixTimestamp/UnixTimestamp.mjs +0 -69
  1103. package/lib/schema-component/antd/unixTimestamp/index.mjs +0 -5
  1104. package/lib/schema-component/antd/upload/ReadPretty.mjs +0 -249
  1105. package/lib/schema-component/antd/upload/Upload.mjs +0 -394
  1106. package/lib/schema-component/antd/upload/__tests__/upload.test.mjs +0 -31
  1107. package/lib/schema-component/antd/upload/demos/apiClient.mjs +0 -51
  1108. package/lib/schema-component/antd/upload/demos/demo1.mjs +0 -71
  1109. package/lib/schema-component/antd/upload/demos/demo2.mjs +0 -137
  1110. package/lib/schema-component/antd/upload/index.mjs +0 -5
  1111. package/lib/schema-component/antd/upload/placeholder.mjs +0 -66
  1112. package/lib/schema-component/antd/upload/shared.mjs +0 -254
  1113. package/lib/schema-component/antd/upload/style.mjs +0 -81
  1114. package/lib/schema-component/antd/upload/type.d.mjs +0 -7
  1115. package/lib/schema-component/antd/variable/CodeMirror.mjs +0 -124
  1116. package/lib/schema-component/antd/variable/Input.mjs +0 -384
  1117. package/lib/schema-component/antd/variable/JSONInput.mjs +0 -57
  1118. package/lib/schema-component/antd/variable/RawTextArea.mjs +0 -125
  1119. package/lib/schema-component/antd/variable/TextArea.mjs +0 -504
  1120. package/lib/schema-component/antd/variable/Variable.mjs +0 -57
  1121. package/lib/schema-component/antd/variable/VariableSelect.mjs +0 -101
  1122. package/lib/schema-component/antd/variable/VariableSelect.style.mjs +0 -36
  1123. package/lib/schema-component/antd/variable/XButton.mjs +0 -35
  1124. package/lib/schema-component/antd/variable/__tests__/variable.test.mjs +0 -66
  1125. package/lib/schema-component/antd/variable/demos/demo1.mjs +0 -63
  1126. package/lib/schema-component/antd/variable/demos/demo2.mjs +0 -63
  1127. package/lib/schema-component/antd/variable/demos/demo3.mjs +0 -63
  1128. package/lib/schema-component/antd/variable/index.mjs +0 -5
  1129. package/lib/schema-component/antd/variable/style.mjs +0 -186
  1130. package/lib/schema-component/common/dnd-context/index.mjs +0 -124
  1131. package/lib/schema-component/common/index.mjs +0 -7
  1132. package/lib/schema-component/common/infinite-scroll/infinite-scroll.mjs +0 -153
  1133. package/lib/schema-component/common/infinite-scroll/style.mjs +0 -36
  1134. package/lib/schema-component/common/sortable-item/SortableItem.mjs +0 -166
  1135. package/lib/schema-component/common/sortable-item/index.mjs +0 -5
  1136. package/lib/schema-component/common/utils/logic.mjs +0 -578
  1137. package/lib/schema-component/common/utils/uitls.mjs +0 -155
  1138. package/lib/schema-component/context.mjs +0 -10
  1139. package/lib/schema-component/core/DesignableSwitch.mjs +0 -67
  1140. package/lib/schema-component/core/FormProvider.mjs +0 -70
  1141. package/lib/schema-component/core/RemoteSchemaComponent.mjs +0 -72
  1142. package/lib/schema-component/core/SchemaComponent.mjs +0 -86
  1143. package/lib/schema-component/core/SchemaComponentOptions.mjs +0 -62
  1144. package/lib/schema-component/core/SchemaComponentPlugin.mjs +0 -22
  1145. package/lib/schema-component/core/SchemaComponentProvider.mjs +0 -116
  1146. package/lib/schema-component/core/index.mjs +0 -17
  1147. package/lib/schema-component/demos/demo1.mjs +0 -111
  1148. package/lib/schema-component/demos/demo2.mjs +0 -40
  1149. package/lib/schema-component/demos/demo3.mjs +0 -41
  1150. package/lib/schema-component/demos/demo4.mjs +0 -41
  1151. package/lib/schema-component/hooks/__tests__/designable.test.mjs +0 -564
  1152. package/lib/schema-component/hooks/__tests__/splitWrapSchema.test.mjs +0 -98
  1153. package/lib/schema-component/hooks/index.mjs +0 -27
  1154. package/lib/schema-component/hooks/useAttach.mjs +0 -24
  1155. package/lib/schema-component/hooks/useCompile.mjs +0 -59
  1156. package/lib/schema-component/hooks/useComponent.mjs +0 -26
  1157. package/lib/schema-component/hooks/useDesignable.mjs +0 -858
  1158. package/lib/schema-component/hooks/useDesigner.mjs +0 -36
  1159. package/lib/schema-component/hooks/useFieldComponentOptions.mjs +0 -106
  1160. package/lib/schema-component/hooks/useFieldModeOptions.mjs +0 -304
  1161. package/lib/schema-component/hooks/useFieldProps.mjs +0 -27
  1162. package/lib/schema-component/hooks/useFieldTitle.mjs +0 -37
  1163. package/lib/schema-component/hooks/useProps.mjs +0 -22
  1164. package/lib/schema-component/hooks/useSchemaComponentContext.mjs +0 -15
  1165. package/lib/schema-component/hooks/useTableSize.mjs +0 -40
  1166. package/lib/schema-component/index.mjs +0 -15
  1167. package/lib/schema-component/types.mjs +0 -7
  1168. package/lib/schema-initializer/SchemaInitializerPlugin.mjs +0 -292
  1169. package/lib/schema-initializer/buttons/CustomFormItemInitializers.mjs +0 -71
  1170. package/lib/schema-initializer/buttons/FormItemInitializers.mjs +0 -187
  1171. package/lib/schema-initializer/buttons/RecordBlockInitializers.mjs +0 -460
  1172. package/lib/schema-initializer/buttons/SubTableActionInitializers.mjs +0 -41
  1173. package/lib/schema-initializer/buttons/TabPaneInitializers.mjs +0 -232
  1174. package/lib/schema-initializer/buttons/index.mjs +0 -16
  1175. package/lib/schema-initializer/components/CreateRecordAction.mjs +0 -414
  1176. package/lib/schema-initializer/components/DeletedField.mjs +0 -25
  1177. package/lib/schema-initializer/components/assigned-field/AssignedField.mjs +0 -177
  1178. package/lib/schema-initializer/components/assigned-field/index.mjs +0 -5
  1179. package/lib/schema-initializer/components/index.mjs +0 -7
  1180. package/lib/schema-initializer/demos/basic.mjs +0 -81
  1181. package/lib/schema-initializer/demos/build-type.mjs +0 -96
  1182. package/lib/schema-initializer/demos/custom-button.mjs +0 -114
  1183. package/lib/schema-initializer/demos/custom-items-component.mjs +0 -116
  1184. package/lib/schema-initializer/demos/dynamic-visible-children.mjs +0 -94
  1185. package/lib/schema-initializer/demos/insert-schema-action.mjs +0 -111
  1186. package/lib/schema-initializer/demos/insert-schema-basic.mjs +0 -133
  1187. package/lib/schema-initializer/demos/insert-schema-form-item.mjs +0 -153
  1188. package/lib/schema-initializer/demos/nested-items.mjs +0 -170
  1189. package/lib/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.mjs +0 -36
  1190. package/lib/schema-initializer/index.mjs +0 -29
  1191. package/lib/schema-initializer/items/ActionInitializer.mjs +0 -29
  1192. package/lib/schema-initializer/items/BlockInitializer.mjs +0 -43
  1193. package/lib/schema-initializer/items/CreateFilterActionInitializer.mjs +0 -33
  1194. package/lib/schema-initializer/items/CreateResetActionInitializer.mjs +0 -28
  1195. package/lib/schema-initializer/items/CustomFilterFormItemInitializer.mjs +0 -540
  1196. package/lib/schema-initializer/items/CustomizeActionInitializer.mjs +0 -27
  1197. package/lib/schema-initializer/items/DataBlockInitializer.mjs +0 -393
  1198. package/lib/schema-initializer/items/DeleteEventActionInitializer.mjs +0 -36
  1199. package/lib/schema-initializer/items/FilterBlockInitializer.mjs +0 -9
  1200. package/lib/schema-initializer/items/G2PlotInitializer.mjs +0 -28
  1201. package/lib/schema-initializer/items/InitializerWithSwitch.mjs +0 -47
  1202. package/lib/schema-initializer/items/RecordAssociationBlockInitializer.mjs +0 -86
  1203. package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.mjs +0 -84
  1204. package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.mjs +0 -119
  1205. package/lib/schema-initializer/items/RecordAssociationGridCardBlockInitializer.mjs +0 -86
  1206. package/lib/schema-initializer/items/RecordAssociationListBlockInitializer.mjs +0 -84
  1207. package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.mjs +0 -118
  1208. package/lib/schema-initializer/items/SelectActionInitializer.mjs +0 -76
  1209. package/lib/schema-initializer/items/SubmitActionInitializer.mjs +0 -34
  1210. package/lib/schema-initializer/items/TableActionColumnInitializer.mjs +0 -57
  1211. package/lib/schema-initializer/items/index.mjs +0 -50
  1212. package/lib/schema-initializer/style.mjs +0 -23
  1213. package/lib/schema-initializer/utils.mjs +0 -1535
  1214. package/lib/schema-items/GeneralSchemaItems.mjs +0 -181
  1215. package/lib/schema-items/GeneralSettings.mjs +0 -226
  1216. package/lib/schema-items/OpenModeSchemaItems.mjs +0 -215
  1217. package/lib/schema-items/index.mjs +0 -7
  1218. package/lib/schema-settings/DataTemplates/FormDataTemplates.mjs +0 -332
  1219. package/lib/schema-settings/DataTemplates/TreeLabel.mjs +0 -42
  1220. package/lib/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +0 -64
  1221. package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +0 -305
  1222. package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.style.mjs +0 -15
  1223. package/lib/schema-settings/DataTemplates/components/Designer.mjs +0 -208
  1224. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.mjs +0 -348
  1225. package/lib/schema-settings/DataTemplates/index.mjs +0 -5
  1226. package/lib/schema-settings/DataTemplates/utils.mjs +0 -300
  1227. package/lib/schema-settings/DateFormat/ExpiresRadio.mjs +0 -160
  1228. package/lib/schema-settings/EditCustomDefaultValue.mjs +0 -137
  1229. package/lib/schema-settings/EditFormulaTitleField.mjs +0 -127
  1230. package/lib/schema-settings/EnableChildCollections/DynamicComponent.mjs +0 -91
  1231. package/lib/schema-settings/EnableChildCollections/index.mjs +0 -129
  1232. package/lib/schema-settings/GeneralSchemaDesigner.mjs +0 -328
  1233. package/lib/schema-settings/LinkageRules/DynamicComponent.mjs +0 -79
  1234. package/lib/schema-settings/LinkageRules/LinkageRuleAction.mjs +0 -272
  1235. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.mjs +0 -116
  1236. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.mjs +0 -200
  1237. package/lib/schema-settings/LinkageRules/Variables.mjs +0 -119
  1238. package/lib/schema-settings/LinkageRules/action-hooks.mjs +0 -128
  1239. package/lib/schema-settings/LinkageRules/components/EnableLinkage.mjs +0 -56
  1240. package/lib/schema-settings/LinkageRules/components/LinkageHeader.mjs +0 -304
  1241. package/lib/schema-settings/LinkageRules/components/LinkageHeader.style.mjs +0 -15
  1242. package/lib/schema-settings/LinkageRules/context.mjs +0 -14
  1243. package/lib/schema-settings/LinkageRules/index.mjs +0 -247
  1244. package/lib/schema-settings/LinkageRules/type.mjs +0 -18
  1245. package/lib/schema-settings/LinkageRules/useValues.mjs +0 -84
  1246. package/lib/schema-settings/SchemaSettingCollection.mjs +0 -73
  1247. package/lib/schema-settings/SchemaSettingComponent.mjs +0 -62
  1248. package/lib/schema-settings/SchemaSettings.mjs +0 -1517
  1249. package/lib/schema-settings/SchemaSettingsDataScope.mjs +0 -152
  1250. package/lib/schema-settings/SchemaSettingsDateFormat.mjs +0 -231
  1251. package/lib/schema-settings/SchemaSettingsDefaultValue.mjs +0 -274
  1252. package/lib/schema-settings/SchemaSettingsNumberFormat.mjs +0 -205
  1253. package/lib/schema-settings/SchemaSettingsPlugin.mjs +0 -265
  1254. package/lib/schema-settings/SchemaSettingsSortingRule.mjs +0 -155
  1255. package/lib/schema-settings/VariableInput/VariableInput.mjs +0 -260
  1256. package/lib/schema-settings/VariableInput/hooks/index.mjs +0 -9
  1257. package/lib/schema-settings/VariableInput/hooks/useBaseVariable.mjs +0 -228
  1258. package/lib/schema-settings/VariableInput/hooks/useBlockCollection.mjs +0 -16
  1259. package/lib/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +0 -126
  1260. package/lib/schema-settings/VariableInput/hooks/useDateVariable.mjs +0 -179
  1261. package/lib/schema-settings/VariableInput/hooks/useFilterVariable.mjs +0 -77
  1262. package/lib/schema-settings/VariableInput/hooks/useFormVariable.mjs +0 -85
  1263. package/lib/schema-settings/VariableInput/hooks/useIterationVariable.mjs +0 -94
  1264. package/lib/schema-settings/VariableInput/hooks/useParentRecordVariable.mjs +0 -71
  1265. package/lib/schema-settings/VariableInput/hooks/usePopupVariable.mjs +0 -37
  1266. package/lib/schema-settings/VariableInput/hooks/useRecordVariable.mjs +0 -64
  1267. package/lib/schema-settings/VariableInput/hooks/useRoleVariable.mjs +0 -64
  1268. package/lib/schema-settings/VariableInput/hooks/useUserVariable.mjs +0 -67
  1269. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.mjs +0 -140
  1270. package/lib/schema-settings/VariableInput/index.mjs +0 -7
  1271. package/lib/schema-settings/VariableInput/type.mjs +0 -4
  1272. package/lib/schema-settings/VariableInput/utils/formatVariableScop.mjs +0 -16
  1273. package/lib/schema-settings/demos/basic.mjs +0 -75
  1274. package/lib/schema-settings/demos/built-type.mjs +0 -157
  1275. package/lib/schema-settings/demos/custom-component.mjs +0 -58
  1276. package/lib/schema-settings/demos/demo3.mjs +0 -120
  1277. package/lib/schema-settings/demos/schema-basic.mjs +0 -84
  1278. package/lib/schema-settings/filter-form/FormFilterScope.mjs +0 -147
  1279. package/lib/schema-settings/filter-form/context.mjs +0 -14
  1280. package/lib/schema-settings/hooks/useFilterFormCustomProps.mjs +0 -22
  1281. package/lib/schema-settings/hooks/useGetAriaLabelOfDesigner.mjs +0 -39
  1282. package/lib/schema-settings/hooks/useIsAllowToSetDefaultValue.mjs +0 -109
  1283. package/lib/schema-settings/hooks/useIsShowMultipleSwitch.mjs +0 -27
  1284. package/lib/schema-settings/hooks/useParseDataScopeFilter.mjs +0 -83
  1285. package/lib/schema-settings/index.mjs +0 -39
  1286. package/lib/schema-settings/isPatternDisabled.mjs +0 -8
  1287. package/lib/schema-settings/styles.mjs +0 -92
  1288. package/lib/schema-settings/types.mjs +0 -4
  1289. package/lib/schema-templates/BlockTemplate.mjs +0 -63
  1290. package/lib/schema-templates/BlockTemplateDetails.mjs +0 -126
  1291. package/lib/schema-templates/BlockTemplatePage.mjs +0 -55
  1292. package/lib/schema-templates/SchemaTemplateManagerProvider.mjs +0 -103
  1293. package/lib/schema-templates/collections/uiSchemaTemplates.mjs +0 -22
  1294. package/lib/schema-templates/index.mjs +0 -11
  1295. package/lib/schema-templates/schemas/CollectionTitle.mjs +0 -52
  1296. package/lib/schema-templates/schemas/uiSchemaTemplates.mjs +0 -249
  1297. package/lib/schema-templates/useSchemaTemplateManager.mjs +0 -119
  1298. package/lib/style/css-variable/CSSVariableProvider.mjs +0 -90
  1299. package/lib/style/css-variable/index.mjs +0 -9
  1300. package/lib/style/index.mjs +0 -23
  1301. package/lib/style/theme/AntdAppProvider.mjs +0 -54
  1302. package/lib/style/theme/defaultTheme.mjs +0 -24
  1303. package/lib/style/theme/index.mjs +0 -96
  1304. package/lib/style/theme/type.mjs +0 -4
  1305. package/lib/style/useToken.mjs +0 -13
  1306. package/lib/testUtils/index.mjs +0 -5
  1307. package/lib/testUtils/mockAPIClient.mjs +0 -57
  1308. package/lib/user/ChangePassword.mjs +0 -180
  1309. package/lib/user/CurrentUser.mjs +0 -282
  1310. package/lib/user/CurrentUserProvider.mjs +0 -89
  1311. package/lib/user/CurrentUserSettingsMenuProvider.mjs +0 -88
  1312. package/lib/user/EditProfile.mjs +0 -172
  1313. package/lib/user/LanguageSettings.mjs +0 -70
  1314. package/lib/user/SwitchRole.mjs +0 -66
  1315. package/lib/user/VerificationCode.mjs +0 -115
  1316. package/lib/user/__tests__/current-user-settings-menu-provider.test.mjs +0 -64
  1317. package/lib/user/index.mjs +0 -9
  1318. package/lib/variables/VariablesProvider.mjs +0 -319
  1319. package/lib/variables/__tests__/useVariables.test.mjs +0 -473
  1320. package/lib/variables/__tests__/utils/filterEmptyValues.test.mjs +0 -52
  1321. package/lib/variables/__tests__/utils/getPath.test.mjs +0 -10
  1322. package/lib/variables/__tests__/utils/getVariableName.test.mjs +0 -10
  1323. package/lib/variables/__tests__/utils/isVariable.test.mjs +0 -28
  1324. package/lib/variables/__tests__/utils/transformVariableValue.test.mjs +0 -142
  1325. package/lib/variables/__tests__/utils/uniq.test.mjs +0 -83
  1326. package/lib/variables/constants.mjs +0 -5
  1327. package/lib/variables/hooks/useBuiltinVariables.mjs +0 -80
  1328. package/lib/variables/hooks/useContextVariable.mjs +0 -38
  1329. package/lib/variables/hooks/useLocalVariables.mjs +0 -102
  1330. package/lib/variables/hooks/useVariables.mjs +0 -16
  1331. package/lib/variables/index.mjs +0 -36
  1332. package/lib/variables/types.mjs +0 -4
  1333. package/lib/variables/utils/filterEmptyValues.mjs +0 -12
  1334. package/lib/variables/utils/getAction.mjs +0 -14
  1335. package/lib/variables/utils/getPath.mjs +0 -19
  1336. package/lib/variables/utils/getVariableName.mjs +0 -25
  1337. package/lib/variables/utils/hasRequested.mjs +0 -24
  1338. package/lib/variables/utils/isVariable.mjs +0 -15
  1339. package/lib/variables/utils/transformVariableValue.mjs +0 -55
  1340. package/lib/variables/utils/uniq.mjs +0 -26
@@ -1,922 +0,0 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__ from "@tachybase/test/e2e";
2
-
3
- ;// CONCATENATED MODULE: external "@tachybase/test/e2e"
4
-
5
- ;// CONCATENATED MODULE: ./packages/client/src/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.ts?__rslib_entry__
6
-
7
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('table block schema settings', ()=>{
8
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
9
- let { page, mockPage } = param;
10
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithAddNewAndViewAndEditAndBasicFields).goto();
11
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
12
- page,
13
- showMenu: ()=>showSettingsMenu(page),
14
- supportedOptions: [
15
- 'Edit block title',
16
- 'Enable drag and drop sorting',
17
- 'Fix block',
18
- 'Set the data scope',
19
- 'Records per page',
20
- 'Connect data blocks',
21
- 'Save as template',
22
- 'Delete'
23
- ]
24
- });
25
- });
26
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('fix block', async (param)=>{
27
- let { page, mockPage } = param;
28
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithAddNewAndViewAndEditAndBasicFields).goto();
29
- const tableSize = await page.getByLabel('block-item-CardItem-general-table').boundingBox();
30
- await showSettingsMenu(page);
31
- await page.getByRole('menuitem', {
32
- name: 'Fix block'
33
- }).click();
34
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('menuitem', {
35
- name: 'Fix block'
36
- }).getByRole('switch')).toBeChecked();
37
- // 等待页面重新渲染
38
- await page.waitForTimeout(1000);
39
- const fixedTableSize = await page.getByLabel('block-item-CardItem-general-table').boundingBox();
40
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(fixedTableSize.height).toBeGreaterThan(570);
41
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(fixedTableSize.height).toBeLessThan(575);
42
- // 取消固定
43
- await page.getByRole('menuitem', {
44
- name: 'Fix block'
45
- }).click();
46
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('menuitem', {
47
- name: 'Fix block'
48
- }).getByRole('switch')).not.toBeChecked();
49
- // 等待页面重新渲染
50
- await page.waitForTimeout(100);
51
- const unfixedTableSize = await page.getByLabel('block-item-CardItem-general-table').boundingBox();
52
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(unfixedTableSize.height).toBe(tableSize.height);
53
- });
54
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('records per page', async (param)=>{
55
- let { page, mockPage, mockRecords } = param;
56
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithAddNewAndViewAndEditAndBasicFields).waitForInit();
57
- await mockRecords('general', 40);
58
- await nocoPage.goto();
59
- // 默认每页显示 20 条(算上顶部 head 一共 21 行)
60
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('row')).toHaveCount(21);
61
- // 底部 pagination 的显示布局:[Total 40 items] [1] [2] [20 / page]
62
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.locator('.ant-pagination')).toHaveText('Total 40 items1220 / page');
63
- await showSettingsMenu(page);
64
- await page.getByRole('menuitem', {
65
- name: 'Records per page'
66
- }).click();
67
- await page.getByRole('option', {
68
- name: '10',
69
- exact: true
70
- }).click();
71
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('row')).toHaveCount(11);
72
- // 底部 pagination 的显示布局:[Total 40 items] [1] [2] [3] [4] [10 / page]
73
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.locator('.ant-pagination')).toHaveText('Total 40 items123410 / page');
74
- });
75
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('enable drag and drop sorting', ()=>{
76
- // 该用例在 CI 并发环境下容易报错,原因未知,通过增加重试次数可以解决
77
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe.configure({
78
- retries: process.env.CI ? 4 : 0
79
- });
80
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('enable drag and drop sorting', async (param)=>{
81
- let { page, mockPage, mockRecords } = param;
82
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithAddNewAndViewAndEditAndBasicFields).waitForInit();
83
- const records = await mockRecords('general', 3);
84
- await nocoPage.goto();
85
- await page.getByLabel('block-item-CardItem-general-table').hover();
86
- await page.getByLabel('designer-schema-settings-CardItem-TableBlockDesigner-general').hover();
87
- // 默认是关闭状态
88
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('menuitem', {
89
- name: 'Enable drag and drop sorting'
90
- }).getByRole('switch')).not.toBeChecked();
91
- // 开启之后,隐藏 Set default sorting rules 选项
92
- await page.getByRole('menuitem', {
93
- name: 'Enable drag and drop sorting'
94
- }).click();
95
- await page.getByText('Drag and drop sorting field').click();
96
- await page.getByText('sort', {
97
- exact: true
98
- }).click();
99
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('menuitem', {
100
- name: 'Enable drag and drop sorting'
101
- }).getByRole('switch')).toBeChecked();
102
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('menuitem', {
103
- name: 'Set default sorting rules'
104
- })).toBeHidden();
105
- // 显示出来 email 和 ID
106
- await page.getByLabel('schema-initializer-TableV2-table:configureColumns-general').hover();
107
- await page.getByRole('menuitem', {
108
- name: 'email'
109
- }).click();
110
- await page.getByRole('menuitem', {
111
- name: 'ID',
112
- exact: true
113
- }).click();
114
- await page.getByLabel('schema-initializer-TableV2-').click();
115
- await page.mouse.move(300, 0);
116
- // 默认的排序
117
- let email1 = await page.getByText(records[0].email).boundingBox();
118
- let email2 = await page.getByText(records[1].email).boundingBox();
119
- let email3 = await page.getByText(records[2].email).boundingBox();
120
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(email1.y).toBeLessThan(email2.y);
121
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(email2.y).toBeLessThan(email3.y);
122
- // 将第二行拖动到第一行
123
- await page.getByLabel('table-index-2').getByRole('img', {
124
- name: 'menu'
125
- }).dragTo(page.getByLabel('table-index-1').getByRole('img', {
126
- name: 'menu'
127
- }));
128
- await page.reload();
129
- email1 = await page.getByText(records[0].email).boundingBox();
130
- email2 = await page.getByText(records[1].email).boundingBox();
131
- email3 = await page.getByText(records[2].email).boundingBox();
132
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(email2.y).toBeLessThan(email1.y);
133
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(email1.y).toBeLessThan(email3.y);
134
- });
135
- });
136
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('set the data scope', ()=>{
137
- async function showDialog(page) {
138
- await page.getByLabel('block-item-CardItem-general-table').hover();
139
- await page.getByLabel('designer-schema-settings-CardItem-TableBlockDesigner-general').hover();
140
- await page.getByRole('menuitem', {
141
- name: 'Set the data scope'
142
- }).click();
143
- }
144
- async function createColumnItem(page, fieldName) {
145
- await page.getByLabel('schema-initializer-TableV2-table:configureColumns-general').hover();
146
- await page.getByRole('menuitem', {
147
- name: fieldName,
148
- exact: true
149
- }).click();
150
- await page.mouse.move(300, 0);
151
- }
152
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('use constants', async (param)=>{
153
- let { page, mockRecords, mockPage } = param;
154
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithActionsAndFormBlocks).waitForInit();
155
- await mockRecords('general', 3);
156
- await nocoPage.goto();
157
- await createColumnItem(page, 'ID');
158
- await showDialog(page);
159
- // 添加一个 ID 为 1 的条件
160
- await page.getByText('Add condition', {
161
- exact: true
162
- }).click();
163
- await page.getByTestId('select-filter-field').click();
164
- await page.getByRole('menuitemcheckbox', {
165
- name: 'ID',
166
- exact: true
167
- }).click();
168
- await page.getByRole('spinbutton').click();
169
- await page.getByRole('spinbutton').fill('1');
170
- await page.getByRole('button', {
171
- name: 'OK',
172
- exact: true
173
- }).click();
174
- // 被筛选之后数据只有一条(有一行是空的)
175
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('row')).toHaveCount(2);
176
- // 有一行 id 为 1 的数据
177
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('cell', {
178
- name: '1',
179
- exact: true
180
- })).toBeVisible();
181
- });
182
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('use variable called current user', async (param)=>{
183
- let { page, mockPage, mockRecords } = param;
184
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithActionsAndFormBlocks).waitForInit();
185
- // Super Admin 是当前的用户的名字
186
- await mockRecords('general', [
187
- {
188
- singleLineText: 'Super Admin'
189
- },
190
- {},
191
- {}
192
- ]);
193
- await nocoPage.goto();
194
- await createColumnItem(page, 'singleLineText');
195
- await showDialog(page);
196
- // 添加一个 singleLineText 为 current user 的 Nickname 的条件
197
- await page.getByText('Add condition', {
198
- exact: true
199
- }).click();
200
- await page.getByTestId('select-filter-field').click();
201
- await page.getByRole('menuitemcheckbox', {
202
- name: 'singleLineText'
203
- }).click();
204
- await page.getByLabel('variable-button').click();
205
- await page.getByRole('menuitemcheckbox', {
206
- name: 'Current user'
207
- }).click();
208
- await page.getByRole('menuitemcheckbox', {
209
- name: 'Nickname'
210
- }).click();
211
- await page.getByRole('button', {
212
- name: 'OK',
213
- exact: true
214
- }).click();
215
- // 被筛选之后数据只有一条(有一行是空的)
216
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('row')).toHaveCount(2);
217
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('cell', {
218
- name: 'Super Admin',
219
- exact: true
220
- })).toBeVisible();
221
- });
222
- });
223
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('set default sorting rules', ()=>{
224
- // 该用例在 CI 并发环境下容易报错,原因未知,通过增加重试次数可以解决
225
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe.configure({
226
- retries: process.env.CI ? 4 : 0
227
- });
228
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('set default sorting rules', async (param)=>{
229
- let { page, mockPage, mockRecords } = param;
230
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithAddNewAndViewAndEditAndBasicFields).waitForInit();
231
- const records = await mockRecords('general', 3);
232
- await nocoPage.goto();
233
- // 打开配置弹窗
234
- await page.getByLabel('block-item-CardItem-general-table').hover();
235
- await page.getByLabel('designer-schema-settings-CardItem-TableBlockDesigner-general').hover();
236
- await page.getByRole('menuitem', {
237
- name: 'Set default sorting rules'
238
- }).click();
239
- // 设置一个按 ID 降序的规则
240
- await page.getByRole('button', {
241
- name: 'plus Add sort field'
242
- }).click();
243
- await page.getByTestId('select-single').click();
244
- await page.getByRole('option', {
245
- name: 'ID',
246
- exact: true
247
- }).click();
248
- await page.getByText('DESC', {
249
- exact: true
250
- }).click();
251
- await page.getByRole('button', {
252
- name: 'OK',
253
- exact: true
254
- }).click();
255
- // 显示出来 email 和 ID
256
- await page.getByLabel('schema-initializer-TableV2-table:configureColumns-general').hover();
257
- await page.getByRole('menuitem', {
258
- name: 'email'
259
- }).click();
260
- await page.getByRole('menuitem', {
261
- name: 'ID',
262
- exact: true
263
- }).click();
264
- await page.mouse.move(300, 0);
265
- // 规则生效后的顺序:3,2,1
266
- const email1 = await page.getByText(records[0].email).boundingBox();
267
- const email2 = await page.getByText(records[1].email).boundingBox();
268
- const email3 = await page.getByText(records[2].email).boundingBox();
269
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(email3.y).toBeLessThan(email2.y);
270
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(email2.y).toBeLessThan(email1.y);
271
- });
272
- });
273
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('connect data blocks', ()=>{
274
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('connecting two blocks of the same collection', async (param)=>{
275
- let { page, mockPage, mockRecords } = param;
276
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.twoTableWithSameCollection).waitForInit();
277
- const records = await mockRecords('users', 3);
278
- await nocoPage.goto();
279
- // 将左边的 Table 连接到右边的 Table
280
- await page.getByLabel('block-item-CardItem-users-table').first().hover();
281
- await page.getByRole('button', {
282
- name: 'designer-schema-settings-CardItem-TableBlockDesigner-users'
283
- }).hover();
284
- await page.getByRole('menuitem', {
285
- name: 'Connect data blocks'
286
- }).hover();
287
- await page.getByRole('menuitem', {
288
- name: 'Users'
289
- }).click();
290
- // 点击左边 Table 的某一行,右边 Table 的数据会被筛选为当前点中行的数据
291
- await page.getByLabel('block-item-CardItem-users-table').nth(0).getByText('Super Admin').click();
292
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').nth(1).getByText(records[0].nickname)).toBeHidden();
293
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').nth(1).getByText(records[1].nickname)).toBeHidden();
294
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').nth(1).getByText(records[2].nickname)).toBeHidden();
295
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').nth(1).getByText('Super Admin')).toBeVisible();
296
- });
297
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('connecting two blocks connected by a relationship field', async (param)=>{
298
- let { page, mockPage, mockRecords } = param;
299
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.twoTableWithAssociationFields).waitForInit();
300
- await mockRecords('users', 3);
301
- await nocoPage.goto();
302
- // 将左边的 Table 连接到右边的 Table
303
- await page.getByLabel('block-item-CardItem-roles-table').hover();
304
- await page.getByRole('button', {
305
- name: 'designer-schema-settings-CardItem-TableBlockDesigner-roles'
306
- }).hover();
307
- await page.getByRole('menuitem', {
308
- name: 'Connect data blocks'
309
- }).hover();
310
- await page.getByRole('menuitem', {
311
- name: 'Users'
312
- }).click();
313
- await page.getByRole('option', {
314
- name: 'Roles'
315
- }).click();
316
- // 点击左边 Table 的某一行
317
- await page.getByLabel('block-item-CardItem-roles-table').getByRole('cell', {
318
- name: 'Root',
319
- exact: true
320
- }).click();
321
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').getByRole('row').filter({
322
- hasNotText: 'Root'
323
- })).toHaveCount(1, {
324
- timeout: 1000 * 10
325
- });
326
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').getByRole('row', {
327
- name: 'Root'
328
- })).toBeVisible();
329
- // 再次点击,会取消筛选效果
330
- await page.getByLabel('block-item-CardItem-roles-table').getByRole('cell', {
331
- name: 'Root',
332
- exact: true
333
- }).click();
334
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').getByRole('row').filter({
335
- hasNotText: 'Root'
336
- })).toHaveCount(4, {
337
- timeout: 1000 * 10
338
- });
339
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('block-item-CardItem-users-table').getByRole('row', {
340
- name: 'Root'
341
- })).toBeVisible();
342
- });
343
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('connecting two blocks connected by a foreign key', async (param)=>{
344
- let { page, mockPage, mockRecords } = param;
345
- });
346
- });
347
- });
348
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('actions schema settings', ()=>{
349
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('add new', ()=>{
350
- const showMenu = async (page)=>{
351
- await page.getByRole('button', {
352
- name: 'Add new'
353
- }).hover();
354
- await page.getByRole('button', {
355
- name: 'designer-schema-settings-Action-Action.Designer-general'
356
- }).hover();
357
- };
358
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
359
- let { page, mockPage, mockRecord } = param;
360
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
361
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
362
- page,
363
- showMenu: ()=>showMenu(page),
364
- supportedOptions: [
365
- 'Edit button',
366
- 'Open mode',
367
- 'Popup size',
368
- 'Delete'
369
- ]
370
- });
371
- });
372
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('edit button', async (param)=>{
373
- let { page, mockPage, mockRecord } = param;
374
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
375
- await showMenu(page);
376
- await page.getByRole('menuitem', {
377
- name: 'Edit button'
378
- }).click();
379
- await page.getByLabel('block-item-Input-general-Button title').getByRole('textbox').click();
380
- await page.getByLabel('block-item-Input-general-Button title').getByRole('textbox').fill('1234');
381
- await page.getByRole('button', {
382
- name: 'OK',
383
- exact: true
384
- }).click();
385
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('button', {
386
- name: '1234'
387
- })).toBeVisible();
388
- });
389
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('open mode', async (param)=>{
390
- let { page, mockPage, mockRecord } = param;
391
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
392
- await showMenu(page);
393
- // 默认是 drawer
394
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('menuitem', {
395
- name: 'Open mode'
396
- }).getByText('Drawer')).toBeVisible();
397
- // 切换为 dialog
398
- await page.getByRole('menuitem', {
399
- name: 'Open mode'
400
- }).click();
401
- await page.getByRole('option', {
402
- name: 'Dialog'
403
- }).click();
404
- await page.getByRole('button', {
405
- name: 'Add new'
406
- }).click();
407
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByTestId('modal-Action.Container-general-Add record')).toBeVisible();
408
- });
409
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('popup size', async (param)=>{
410
- let { page, mockPage, mockRecord } = param;
411
- var _this, _this1;
412
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
413
- await showMenu(page);
414
- // 默认值 middle
415
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('menuitem', {
416
- name: 'Popup size'
417
- }).getByText('Middle')).toBeVisible();
418
- // 切换为 small
419
- await page.getByRole('menuitem', {
420
- name: 'Popup size'
421
- }).click();
422
- await page.getByRole('option', {
423
- name: 'Small'
424
- }).click();
425
- await page.getByRole('button', {
426
- name: 'Add new'
427
- }).click();
428
- const drawerWidth = ((_this = await page.getByTestId('drawer-Action.Container-general-Add record').boundingBox()) === null || _this === void 0 ? void 0 : _this.width) || 0;
429
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(drawerWidth).toBeLessThanOrEqual(400);
430
- await page.getByLabel('drawer-Action.Container-general-Add record-mask').click();
431
- // 切换为 large
432
- await showMenu(page);
433
- await page.getByRole('menuitem', {
434
- name: 'Popup size'
435
- }).click();
436
- await page.getByRole('option', {
437
- name: 'Large'
438
- }).click();
439
- await page.getByRole('button', {
440
- name: 'Add new'
441
- }).click();
442
- const drawerWidth2 = ((_this1 = await page.getByTestId('drawer-Action.Container-general-Add record').boundingBox()) === null || _this1 === void 0 ? void 0 : _this1.width) || 0;
443
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(drawerWidth2).toBeGreaterThanOrEqual(800);
444
- });
445
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('delete', async (param)=>{
446
- let { page, mockPage, mockRecord } = param;
447
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
448
- await showMenu(page);
449
- await page.getByRole('menuitem', {
450
- name: 'Delete'
451
- }).click();
452
- await page.mouse.move(300, 0);
453
- await page.getByRole('button', {
454
- name: 'OK',
455
- exact: true
456
- }).click();
457
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByRole('button', {
458
- name: 'Add new'
459
- })).toBeHidden();
460
- });
461
- });
462
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('bulk delete', ()=>{
463
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
464
- let { page, mockPage } = param;
465
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
466
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
467
- page,
468
- showMenu: async ()=>{
469
- await page.getByRole('button', {
470
- name: 'Delete'
471
- }).hover();
472
- await page.getByRole('button', {
473
- name: 'designer-schema-settings-Action-Action.Designer-general'
474
- }).hover();
475
- },
476
- supportedOptions: [
477
- 'Edit button',
478
- 'Delete'
479
- ]
480
- });
481
- });
482
- });
483
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('filter', ()=>{
484
- const showMenu = async (page)=>{
485
- await page.getByRole('button', {
486
- name: 'Filter'
487
- }).hover();
488
- await page.getByLabel('designer-schema-settings-Filter.Action-Filter.Action.Designer-general').hover();
489
- };
490
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
491
- let { page, mockPage, mockRecord } = param;
492
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
493
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
494
- page,
495
- showMenu: ()=>showMenu(page),
496
- supportedOptions: [
497
- 'Edit button',
498
- 'Delete',
499
- 'Many to one',
500
- 'One to many',
501
- 'Single select',
502
- 'ID',
503
- 'Created at',
504
- 'Last updated at',
505
- 'Created by',
506
- 'Last updated by'
507
- ]
508
- });
509
- });
510
- });
511
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('delete', ()=>{
512
- const showMenu = async (page)=>{
513
- await page.getByLabel('action-Action.Link-Delete-destroy-general-table-0').hover();
514
- await page.getByRole('button', {
515
- name: 'designer-schema-settings-Action.Link-Action.Designer-general'
516
- }).hover();
517
- };
518
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
519
- let { page, mockPage, mockRecord } = param;
520
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).waitForInit();
521
- await mockRecord('general');
522
- await nocoPage.goto();
523
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
524
- page,
525
- showMenu: ()=>showMenu(page),
526
- supportedOptions: [
527
- 'Edit button',
528
- 'Linkage rules',
529
- 'Delete'
530
- ]
531
- });
532
- });
533
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('edit button', async (param)=>{
534
- let { page, mockPage, mockRecord } = param;
535
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).waitForInit();
536
- await mockRecord('general');
537
- await nocoPage.goto();
538
- await showMenu(page);
539
- await page.getByRole('menuitem', {
540
- name: 'Edit button'
541
- }).click();
542
- await page.getByLabel('block-item-Input-general-Button title').getByRole('textbox').click();
543
- await page.getByLabel('block-item-Input-general-Button title').getByRole('textbox').fill('Delete record');
544
- await page.getByRole('button', {
545
- name: 'OK',
546
- exact: true
547
- }).click();
548
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('action-Action.Link-Delete record-destroy-general-table-0')).toBeVisible();
549
- });
550
- });
551
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('edit', ()=>{
552
- const showMenu = async (page)=>{
553
- await page.getByLabel('action-Action.Link-Edit-update-general-table-0').hover();
554
- await page.getByRole('button', {
555
- name: 'designer-schema-settings-Action.Link-Action.Designer-general'
556
- }).hover();
557
- };
558
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
559
- let { page, mockPage, mockRecord } = param;
560
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).waitForInit();
561
- await mockRecord('general');
562
- await nocoPage.goto();
563
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
564
- page,
565
- showMenu: ()=>showMenu(page),
566
- supportedOptions: [
567
- 'Edit button',
568
- 'Linkage rules',
569
- 'Open mode',
570
- 'Popup size',
571
- 'Delete'
572
- ]
573
- });
574
- });
575
- });
576
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('refresh', ()=>{
577
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
578
- let { page, mockPage } = param;
579
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
580
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
581
- page,
582
- showMenu: async ()=>{
583
- await page.getByRole('button', {
584
- name: 'Refresh'
585
- }).hover();
586
- await page.getByRole('button', {
587
- name: 'designer-schema-settings-Action-Action.Designer-general'
588
- }).hover();
589
- },
590
- supportedOptions: [
591
- 'Edit button',
592
- 'Delete'
593
- ]
594
- });
595
- });
596
- });
597
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('view', ()=>{
598
- const showMenu = async (page)=>{
599
- await page.getByLabel('action-Action.Link-View-view-general-table-0').hover();
600
- await page.getByRole('button', {
601
- name: 'designer-schema-settings-Action.Link-Action.Designer-general'
602
- }).hover();
603
- };
604
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
605
- let { page, mockPage, mockRecord } = param;
606
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).waitForInit();
607
- await mockRecord('general');
608
- await nocoPage.goto();
609
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
610
- page,
611
- showMenu: ()=>showMenu(page),
612
- supportedOptions: [
613
- 'Edit button',
614
- 'Linkage rules',
615
- 'Open mode',
616
- 'Popup size',
617
- 'Delete'
618
- ]
619
- });
620
- });
621
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('linkage rules', async (param)=>{
622
- let { page, mockPage, mockRecord } = param;
623
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneTableBlockWithAddNewAndViewAndEditAndBasicFields).waitForInit();
624
- await mockRecord('general');
625
- await nocoPage.goto();
626
- const openLinkageRules = async ()=>{
627
- await page.getByLabel('action-Action.Link-View record-view-general-table-0').hover();
628
- await page.getByRole('button', {
629
- name: 'designer-schema-settings-Action.Link-Action.Designer-general'
630
- }).hover();
631
- await page.getByRole('menuitem', {
632
- name: 'Linkage rules'
633
- }).click();
634
- };
635
- // 设置第一组规则 --------------------------------------------------------------------------
636
- await openLinkageRules();
637
- await page.getByRole('button', {
638
- name: 'plus Add linkage rule'
639
- }).click();
640
- // 添加一个条件:ID 等于 1
641
- await page.getByText('Add condition', {
642
- exact: true
643
- }).click();
644
- await page.getByTestId('select-filter-field').click();
645
- await page.getByRole('menuitemcheckbox', {
646
- name: 'ID',
647
- exact: true
648
- }).click();
649
- await page.getByRole('spinbutton').click();
650
- await page.getByRole('spinbutton').fill('1');
651
- // action: 禁用按钮
652
- await page.getByText('Add property').click();
653
- await page.getByLabel('block-item-ArrayCollapse-general').click();
654
- await page.getByTestId('select-linkage-properties').click();
655
- await page.getByRole('option', {
656
- name: 'Disabled'
657
- }).click();
658
- await page.getByRole('button', {
659
- name: 'OK',
660
- exact: true
661
- }).click();
662
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('action-Action.Link-View record-view-general-table-0')).toHaveAttribute('disabled', '');
663
- // 设置第二组规则 --------------------------------------------------------------------------
664
- await openLinkageRules();
665
- await page.getByRole('button', {
666
- name: 'plus Add linkage rule'
667
- }).click();
668
- await page.locator('.ant-collapse-header').nth(1).getByRole('img', {
669
- name: 'right'
670
- }).click();
671
- // 添加一个条件:ID 等于 1
672
- await page.getByRole('tabpanel').getByText('Add condition', {
673
- exact: true
674
- }).click();
675
- await page.getByRole('button', {
676
- name: 'Select field'
677
- }).click();
678
- await page.getByRole('menuitemcheckbox', {
679
- name: 'ID',
680
- exact: true
681
- }).click();
682
- await page.getByRole('spinbutton').click();
683
- await page.getByRole('spinbutton').fill('1');
684
- // action: 使按钮可用
685
- await page.getByRole('tabpanel').getByText('Add property').click();
686
- await page.locator('.ant-select', {
687
- hasText: 'action'
688
- }).click();
689
- await page.getByRole('option', {
690
- name: 'Enabled'
691
- }).click();
692
- await page.getByRole('button', {
693
- name: 'OK',
694
- exact: true
695
- }).click();
696
- // 后面的 action 会覆盖前面的
697
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expect)(page.getByLabel('action-Action.Link-View record-view-general-table-0')).not.toHaveAttribute('disabled', '');
698
- });
699
- });
700
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('popup', ()=>{
701
- const addSomeCustomActions = async (page)=>{
702
- // 先删除掉之前的 actions
703
- await page.getByRole('button', {
704
- name: 'Actions',
705
- exact: true
706
- }).hover();
707
- await page.getByLabel('designer-schema-settings-TableV2.Column-TableV2.ActionColumnDesigner-general').hover();
708
- await page.getByRole('menuitem', {
709
- name: 'View'
710
- }).click();
711
- await page.getByRole('menuitem', {
712
- name: 'Edit'
713
- }).click();
714
- await page.getByRole('menuitem', {
715
- name: 'Delete'
716
- }).click();
717
- await page.getByRole('menuitem', {
718
- name: 'Duplicate'
719
- }).click();
720
- // 再增加两个自定义的 actions
721
- await page.getByRole('menuitem', {
722
- name: 'Customize'
723
- }).hover();
724
- await page.getByRole('menuitem', {
725
- name: 'Popup'
726
- }).click();
727
- await page.getByRole('menuitem', {
728
- name: 'Update record'
729
- }).click();
730
- };
731
- const showMenu = async (page)=>{
732
- await page.getByLabel('action-Action.Link-Popup-customize:popup-general-table-0').hover();
733
- await page.getByRole('button', {
734
- name: 'designer-schema-settings-Action.Link-actionSettings:popup-general'
735
- }).hover();
736
- };
737
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
738
- let { page, mockPage, mockRecord } = param;
739
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).waitForInit();
740
- await mockRecord('general');
741
- await nocoPage.goto();
742
- await addSomeCustomActions(page);
743
- await showMenu(page);
744
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
745
- page,
746
- showMenu: ()=>showMenu(page),
747
- supportedOptions: [
748
- 'Edit button',
749
- 'Linkage rules',
750
- 'Open mode',
751
- 'Popup size',
752
- 'Delete'
753
- ]
754
- });
755
- });
756
- });
757
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('duplicate', ()=>{
758
- const showMenu = async (page)=>{
759
- await page.getByLabel('action-Action.Link-Duplicate-duplicate-general-table-0').hover();
760
- await page.getByRole('button', {
761
- name: 'designer-schema-settings-Action.Link-Action.Designer-general'
762
- }).hover();
763
- };
764
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
765
- let { page, mockPage, mockRecord } = param;
766
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).waitForInit();
767
- await mockRecord('general');
768
- await nocoPage.goto();
769
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
770
- page,
771
- showMenu: ()=>showMenu(page),
772
- supportedOptions: [
773
- 'Edit button',
774
- 'Linkage rules',
775
- 'Duplicate mode',
776
- 'Open mode',
777
- 'Popup size',
778
- 'Delete'
779
- ]
780
- });
781
- });
782
- });
783
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('update record', ()=>{
784
- const addSomeCustomActions = async (page)=>{
785
- // 先删除掉之前的 actions
786
- await page.getByRole('button', {
787
- name: 'Actions',
788
- exact: true
789
- }).hover();
790
- await page.getByLabel('designer-schema-settings-TableV2.Column-TableV2.ActionColumnDesigner-general').hover();
791
- await page.getByRole('menuitem', {
792
- name: 'View'
793
- }).click();
794
- await page.getByRole('menuitem', {
795
- name: 'Edit'
796
- }).click();
797
- await page.getByRole('menuitem', {
798
- name: 'Delete'
799
- }).click();
800
- await page.getByRole('menuitem', {
801
- name: 'Duplicate'
802
- }).click();
803
- // 再增加两个自定义的 actions
804
- await page.getByRole('menuitem', {
805
- name: 'Customize'
806
- }).hover();
807
- await page.getByRole('menuitem', {
808
- name: 'Popup'
809
- }).click();
810
- await page.getByRole('menuitem', {
811
- name: 'Update record'
812
- }).click();
813
- };
814
- const showMenu = async (page)=>{
815
- await page.getByLabel('action-Action.Link-Update record-customize:update-general-table-0').hover();
816
- await page.getByRole('button', {
817
- name: 'designer-schema-settings-Action.Link-actionSettings:updateRecord-general'
818
- }).hover();
819
- };
820
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
821
- let { page, mockPage, mockRecord } = param;
822
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).waitForInit();
823
- await mockRecord('general');
824
- await nocoPage.goto();
825
- await addSomeCustomActions(page);
826
- await showMenu(page);
827
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
828
- page,
829
- showMenu: ()=>showMenu(page),
830
- supportedOptions: [
831
- 'Edit button',
832
- 'Linkage rules',
833
- 'Assign field values',
834
- 'After successful submission',
835
- 'Delete'
836
- ]
837
- });
838
- });
839
- });
840
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('add child', ()=>{
841
- const showMenu = async (page)=>{
842
- await page.getByLabel('action-Action.Link-Add child-create-treeCollection-table-0').hover();
843
- await page.getByLabel('designer-schema-settings-Action.Link-actionSettings:addChild-tree').hover();
844
- };
845
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
846
- let { page, mockPage, mockRecord } = param;
847
- const nocoPage = await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableWithTreeCollection).waitForInit();
848
- await nocoPage.goto();
849
- // 添加一行数据
850
- // TODO: 使用 mockRecord 为 tree 表添加一行数据无效
851
- await page.getByLabel('schema-initializer-ActionBar-table:configureActions-treeCollection').hover();
852
- await page.getByRole('menuitem', {
853
- name: 'Add new'
854
- }).click();
855
- await page.getByRole('button', {
856
- name: 'Add new'
857
- }).click();
858
- await page.getByLabel('schema-initializer-Grid-popup:addNew:addBlock-treeCollection').hover();
859
- await page.getByRole('menuitem', {
860
- name: 'form Form'
861
- }).click();
862
- await page.mouse.move(300, 0);
863
- await page.getByLabel('schema-initializer-ActionBar-createForm:configureActions-treeCollection').hover();
864
- await page.getByRole('menuitem', {
865
- name: 'Submit'
866
- }).click();
867
- await page.mouse.move(300, 0);
868
- await page.getByRole('button', {
869
- name: 'Submit'
870
- }).click();
871
- // 添加 add child 按钮
872
- await page.getByRole('button', {
873
- name: 'Actions',
874
- exact: true
875
- }).hover();
876
- await page.getByLabel('designer-schema-settings-TableV2.Column-TableV2.ActionColumnDesigner-tree').hover();
877
- await page.getByRole('menuitem', {
878
- name: 'Add child'
879
- }).click();
880
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
881
- page,
882
- showMenu: ()=>showMenu(page),
883
- supportedOptions: [
884
- 'Edit button',
885
- 'Linkage rules',
886
- 'Open mode',
887
- 'Popup size',
888
- 'Delete'
889
- ]
890
- });
891
- });
892
- });
893
- __WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test.describe('add record', ()=>{
894
- const showMenu = async (page)=>{
895
- await page.getByRole('button', {
896
- name: 'Add record'
897
- }).hover();
898
- await page.getByRole('button', {
899
- name: 'designer-schema-settings-Action-Action.Designer-general'
900
- }).hover();
901
- };
902
- (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.test)('supported options', async (param)=>{
903
- let { page, mockPage, mockRecord } = param;
904
- await mockPage(__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.oneEmptyTableBlockWithActions).goto();
905
- await (0,__WEBPACK_EXTERNAL_MODULE__tachybase_test_e2e__.expectSettingsMenu)({
906
- page,
907
- showMenu: ()=>showMenu(page),
908
- supportedOptions: [
909
- 'Edit button',
910
- 'Open mode',
911
- 'Popup size',
912
- 'Delete'
913
- ]
914
- });
915
- });
916
- });
917
- });
918
- async function showSettingsMenu(page) {
919
- await page.getByLabel('block-item-CardItem-general-table').hover();
920
- await page.getByLabel('designer-schema-settings-CardItem-TableBlockDesigner-general').hover();
921
- }
922
-