@tachybase/client 0.23.8 → 0.23.16

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 (2717) hide show
  1. package/es/api-client/APIClient.mjs +131 -0
  2. package/es/api-client/APIClientProvider.mjs +11 -0
  3. package/es/api-client/__tests__/APIClient.test.mjs +55 -0
  4. package/es/api-client/context.mjs +5 -0
  5. package/es/api-client/demos/demo1.mjs +32 -0
  6. package/es/api-client/demos/demo2.mjs +31 -0
  7. package/es/api-client/demos/demo3.mjs +74 -0
  8. package/es/api-client/hooks/assign.mjs +61 -0
  9. package/es/api-client/hooks/index.mjs +3 -0
  10. package/es/api-client/hooks/useAPIClient.mjs +6 -0
  11. package/es/api-client/hooks/useRequest.mjs +38 -0
  12. package/es/api-client/hooks/useResource.mjs +6 -0
  13. package/es/api-client/index.mjs +4 -0
  14. package/es/application/AppSchemaComponentProvider.mjs +29 -0
  15. package/es/application/Application.mjs +312 -0
  16. package/es/application/AttachmentPreviewManager.mjs +31 -0
  17. package/es/application/NoticesManager.mjs +99 -0
  18. package/es/application/Plugin.mjs +60 -0
  19. package/es/application/PluginContextMenu.mjs +29 -0
  20. package/es/application/PluginManager.mjs +83 -0
  21. package/es/application/RouterManager.mjs +101 -0
  22. package/es/application/SystemSettingsManager.mjs +108 -0
  23. package/es/application/UserSettingsManager.mjs +110 -0
  24. package/es/application/WebSocketClient.mjs +156 -0
  25. package/es/application/__tests__/Application.test.mjs +481 -0
  26. package/es/application/__tests__/Plugin.test.mjs +197 -0
  27. package/es/application/__tests__/PluginSettingsManager.test.mjs +156 -0
  28. package/es/application/__tests__/RouterManager.test.mjs +311 -0
  29. package/es/application/__tests__/SchemaInitializer.test.mjs +163 -0
  30. package/es/application/__tests__/SchemaToolbar.test.mjs +143 -0
  31. package/es/application/__tests__/hoc/withDynamicSchemaProps.test.mjs +187 -0
  32. package/es/application/__tests__/hooks.test.mjs +85 -0
  33. package/es/application/__tests__/utils/remotePlugins.test.mjs +318 -0
  34. package/es/application/__tests__/utils.test.mjs +99 -0
  35. package/es/application/components/AppComponent.mjs +55 -0
  36. package/es/application/components/BlankComponent.mjs +9 -0
  37. package/es/application/components/MainComponent.mjs +17 -0
  38. package/es/application/components/RouterContextCleaner.mjs +16 -0
  39. package/es/application/components/defaultComponents.mjs +25 -0
  40. package/es/application/components/index.mjs +4 -0
  41. package/es/application/context.mjs +4 -0
  42. package/es/application/demos/demo1.mjs +110 -0
  43. package/es/application/demos/demo2.mjs +126 -0
  44. package/es/application/demos/demo3.mjs +11 -0
  45. package/es/application/hoc/index.mjs +1 -0
  46. package/es/application/hoc/withDynamicSchemaProps.mjs +115 -0
  47. package/es/application/hooks/index.mjs +3 -0
  48. package/es/application/hooks/useApp.mjs +4 -0
  49. package/es/application/hooks/usePlugin.mjs +6 -0
  50. package/es/application/hooks/useRouter.mjs +6 -0
  51. package/es/application/index.mjs +17 -0
  52. package/es/application/schema-initializer/SchemaInitializer.mjs +76 -0
  53. package/es/application/schema-initializer/SchemaInitializerManager.mjs +72 -0
  54. package/es/application/schema-initializer/components/SchemaInitializerActionModal.mjs +110 -0
  55. package/es/application/schema-initializer/components/SchemaInitializerButton.mjs +39 -0
  56. package/es/application/schema-initializer/components/SchemaInitializerChildren.mjs +69 -0
  57. package/es/application/schema-initializer/components/SchemaInitializerDivider.mjs +13 -0
  58. package/es/application/schema-initializer/components/SchemaInitializerItem.mjs +89 -0
  59. package/es/application/schema-initializer/components/SchemaInitializerItemGroup.mjs +36 -0
  60. package/es/application/schema-initializer/components/SchemaInitializerItems.mjs +11 -0
  61. package/es/application/schema-initializer/components/SchemaInitializerSelect.mjs +63 -0
  62. package/es/application/schema-initializer/components/SchemaInitializerSubMenu.mjs +105 -0
  63. package/es/application/schema-initializer/components/SchemaInitializerSwitch.mjs +38 -0
  64. package/es/application/schema-initializer/components/index.mjs +10 -0
  65. package/es/application/schema-initializer/components/style.mjs +41 -0
  66. package/es/application/schema-initializer/context/index.d.ts +1 -1
  67. package/es/application/schema-initializer/context/index.mjs +8 -0
  68. package/es/application/schema-initializer/hoc/index.mjs +117 -0
  69. package/es/application/schema-initializer/hooks/index.mjs +153 -0
  70. package/es/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.mjs +17 -0
  71. package/es/application/schema-initializer/index.mjs +7 -0
  72. package/es/application/schema-initializer/types.mjs +0 -0
  73. package/es/application/schema-settings/SchemaSettings.mjs +71 -0
  74. package/es/application/schema-settings/SchemaSettingsDefaults.mjs +215 -0
  75. package/es/application/schema-settings/SchemaSettingsManager.mjs +72 -0
  76. package/es/application/schema-settings/components/SchemaSettingsChildren.mjs +90 -0
  77. package/es/application/schema-settings/components/SchemaSettingsIcon.mjs +19 -0
  78. package/es/application/schema-settings/components/SchemaSettingsWrapper.mjs +33 -0
  79. package/es/application/schema-settings/components/index.mjs +2 -0
  80. package/es/application/schema-settings/context/index.mjs +7 -0
  81. package/es/application/schema-settings/hooks/index.mjs +44 -0
  82. package/es/application/schema-settings/index.mjs +6 -0
  83. package/es/application/schema-settings/types.mjs +0 -0
  84. package/es/application/schema-toolbar/context/index.mjs +15 -0
  85. package/es/application/schema-toolbar/hooks/index.mjs +25 -0
  86. package/es/application/schema-toolbar/index.mjs +2 -0
  87. package/es/application/utils/globalDeps.mjs +60 -0
  88. package/es/application/utils/index.mjs +39 -0
  89. package/es/application/utils/remotePlugins.mjs +102 -0
  90. package/es/async-data-provider/index.mjs +21 -0
  91. package/es/block-provider/BlockProvider.mjs +308 -0
  92. package/es/block-provider/DetailsBlockProvider.mjs +98 -0
  93. package/es/block-provider/FilterFormBlockProvider.mjs +19 -0
  94. package/es/block-provider/FormBlockProvider.mjs +166 -0
  95. package/es/block-provider/FormFieldProvider.mjs +84 -0
  96. package/es/block-provider/MobileProvider.mjs +15 -0
  97. package/es/block-provider/PageLayout.mjs +9 -0
  98. package/es/block-provider/TableBlockProvider.mjs +110 -0
  99. package/es/block-provider/TableFieldProvider.mjs +163 -0
  100. package/es/block-provider/TableSelectorProvider.mjs +285 -0
  101. package/es/block-provider/TreeBlockProvider.mjs +117 -0
  102. package/es/block-provider/hooks/index.mjs +1206 -0
  103. package/es/block-provider/hooks/useDataBlockSourceId.mjs +14 -0
  104. package/es/block-provider/hooks/useFormActiveFields.mjs +34 -0
  105. package/es/block-provider/hooks/useIsMobile.mjs +7 -0
  106. package/es/block-provider/hooks/useParsedFilter.mjs +48 -0
  107. package/es/block-provider/index.mjs +11 -0
  108. package/es/built-in/acl/ACLPlugin.d.ts +4 -0
  109. package/es/built-in/acl/ACLPlugin.mjs +13 -0
  110. package/es/built-in/acl/ACLProvider.mjs +280 -0
  111. package/es/built-in/acl/ACLShortcut.mjs +23 -0
  112. package/es/built-in/acl/Configuration/ConfigureCenter.mjs +123 -0
  113. package/es/built-in/acl/Configuration/MenuConfigure.mjs +147 -0
  114. package/es/built-in/acl/Configuration/MenuItemsProvider.mjs +40 -0
  115. package/es/built-in/acl/Configuration/PermisionProvider.mjs +69 -0
  116. package/es/built-in/acl/Configuration/RoleConfigure.mjs +127 -0
  117. package/es/built-in/acl/Configuration/RoleTable.mjs +40 -0
  118. package/es/built-in/acl/Configuration/RolesResourcesActions.mjs +216 -0
  119. package/es/built-in/acl/Configuration/ScopeSelect.mjs +41 -0
  120. package/es/built-in/acl/Configuration/StrategyActions.mjs +109 -0
  121. package/es/built-in/acl/Configuration/index.mjs +17 -0
  122. package/es/built-in/acl/Configuration/schemas/roles.mjs +395 -0
  123. package/es/built-in/acl/Configuration/schemas/scopes.mjs +362 -0
  124. package/es/built-in/acl/Configuration/schemas/useRoleResourceValues.mjs +35 -0
  125. package/es/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.mjs +23 -0
  126. package/es/built-in/acl/index.d.ts +1 -4
  127. package/es/built-in/acl/index.mjs +4 -0
  128. package/es/built-in/acl/style.mjs +23 -0
  129. package/es/built-in/admin-layout/AdminContent.mjs +13 -0
  130. package/es/built-in/admin-layout/AdminLayout.d.ts +2 -0
  131. package/es/built-in/admin-layout/AdminLayout.mjs +14 -0
  132. package/es/built-in/admin-layout/AdminLayoutPlugin.d.ts +5 -0
  133. package/es/built-in/admin-layout/AdminLayoutPlugin.mjs +14 -0
  134. package/es/built-in/admin-layout/AdminProvider.d.ts +2 -0
  135. package/es/built-in/admin-layout/AdminProvider.mjs +22 -0
  136. package/es/built-in/admin-layout/AdminTabs.mjs +9 -0
  137. package/es/built-in/admin-layout/InternalAdminLayout.d.ts +2 -0
  138. package/es/built-in/admin-layout/InternalAdminLayout.mjs +82 -0
  139. package/es/built-in/admin-layout/MenuEditor.d.ts +7 -0
  140. package/es/built-in/admin-layout/MenuEditor.mjs +114 -0
  141. package/es/built-in/admin-layout/NoticeArea.mjs +16 -0
  142. package/es/built-in/admin-layout/components/AddNewButton.mjs +55 -0
  143. package/es/built-in/admin-layout/components/WelcomeCard.mjs +81 -0
  144. package/es/built-in/admin-layout/filterByACL.d.ts +1 -0
  145. package/es/built-in/admin-layout/filterByACL.mjs +15 -0
  146. package/es/built-in/admin-layout/index.d.ts +8 -10
  147. package/es/built-in/admin-layout/index.mjs +9 -0
  148. package/es/built-in/admin-layout/style.mjs +142 -0
  149. package/es/built-in/assistant/Assistant.provider.mjs +77 -0
  150. package/es/built-in/assistant/ai-chat/index.mjs +330 -0
  151. package/es/built-in/assistant/ai-chat/index.module.mjs +30 -0
  152. package/es/built-in/assistant/ai-chat/index_module.css +257 -0
  153. package/es/built-in/assistant/calculator/AutoScalingText.mjs +33 -0
  154. package/es/built-in/assistant/calculator/Calculator.mjs +235 -0
  155. package/es/built-in/assistant/calculator/CalculatorDisplay.mjs +21 -0
  156. package/es/built-in/assistant/calculator/CalculatorKey.mjs +11 -0
  157. package/es/built-in/assistant/calculator/CalculatorProvider.mjs +29 -0
  158. package/es/built-in/assistant/calculator/Draggable.mjs +54 -0
  159. package/es/built-in/assistant/calculator/style.mjs +25 -0
  160. package/es/built-in/assistant/index.mjs +12 -0
  161. package/es/built-in/assistant/search-and-jump/index.mjs +59 -0
  162. package/es/built-in/attachment-preview/index.mjs +15 -0
  163. package/es/built-in/attachment-preview/interface.mjs +0 -0
  164. package/es/built-in/attachment-preview/previewers/file-default.mjs +83 -0
  165. package/es/built-in/attachment-preview/previewers/file-pdf.mjs +109 -0
  166. package/es/built-in/attachment-preview/previewers/file-pdf.style.mjs +45 -0
  167. package/es/built-in/attachment-preview/previewers/file-sheet.mjs +103 -0
  168. package/es/built-in/attachment-preview/previewers/file-sheet.style.mjs +45 -0
  169. package/es/built-in/attachment-preview/previewers/image-jpeg.mjs +34 -0
  170. package/es/built-in/attachment-preview/previewers/image-png.mjs +34 -0
  171. package/es/built-in/attachment-preview/previewers/image-svg.mjs +20 -0
  172. package/es/built-in/attachment-preview/previewers/index.mjs +6 -0
  173. package/es/built-in/block-schema-component/index.mjs +87 -0
  174. package/es/built-in/built-in-collections/index.mjs +59 -0
  175. package/es/built-in/context-menu/ContextMenu.provider.mjs +68 -0
  176. package/es/built-in/context-menu/ContextMenuItemsProps.mjs +146 -0
  177. package/es/built-in/context-menu/index.d.ts +2 -1
  178. package/es/built-in/context-menu/index.mjs +18 -0
  179. package/es/built-in/context-menu/useContextMenu.d.ts +3 -4
  180. package/es/built-in/context-menu/useContextMenu.mjs +4 -0
  181. package/es/built-in/document-title/index.mjs +52 -0
  182. package/es/built-in/dynamic-page/DynamicPage.mjs +36 -0
  183. package/es/built-in/dynamic-page/index.mjs +58 -0
  184. package/es/built-in/dynamic-page/style.mjs +52 -0
  185. package/es/built-in/dynamic-page/utils.mjs +61 -0
  186. package/es/built-in/index.mjs +455 -0
  187. package/es/built-in/locale/LocalePlugin.mjs +70 -0
  188. package/es/built-in/locale/loadConstrueLocale.mjs +185 -0
  189. package/es/built-in/page-style/CustomAdminHeader.mjs +9 -0
  190. package/es/built-in/page-style/PageStyle.provider.mjs +32 -0
  191. package/es/built-in/page-style/TabContent.mjs +65 -0
  192. package/es/built-in/page-style/TabHeader.mjs +80 -0
  193. package/es/built-in/page-style/index.mjs +14 -0
  194. package/es/built-in/page-style/usePageStyle.mjs +4 -0
  195. package/es/built-in/page-style/useTabSettings.mjs +69 -0
  196. package/es/built-in/pinned-list/PinnedPluginListProvider.mjs +61 -0
  197. package/es/built-in/pinned-list/PluginPinnedList.d.ts +4 -0
  198. package/es/built-in/pinned-list/PluginPinnedList.mjs +8 -0
  199. package/es/built-in/pinned-list/context.mjs +6 -0
  200. package/es/built-in/pinned-list/index.d.ts +0 -4
  201. package/es/built-in/pinned-list/index.mjs +2 -0
  202. package/es/built-in/pm/PluginCard.mjs +256 -0
  203. package/es/built-in/pm/PluginDetail.mjs +320 -0
  204. package/es/built-in/pm/PluginDocument.mjs +71 -0
  205. package/es/built-in/pm/PluginForm/form/PluginNpmForm.mjs +140 -0
  206. package/es/built-in/pm/PluginForm/form/PluginUploadForm.mjs +107 -0
  207. package/es/built-in/pm/PluginForm/form/PluginUrlForm.mjs +101 -0
  208. package/es/built-in/pm/PluginForm/modal/PluginAddModal.mjs +61 -0
  209. package/es/built-in/pm/PluginForm/modal/PluginUpgradeModal.mjs +65 -0
  210. package/es/built-in/pm/PluginManager.mjs +271 -0
  211. package/es/built-in/pm/index.d.ts +4 -3
  212. package/es/built-in/pm/index.mjs +55 -0
  213. package/es/built-in/pm/style.mjs +72 -0
  214. package/es/built-in/pm/types.mjs +0 -0
  215. package/es/built-in/quick-access/Action.mjs +90 -0
  216. package/es/built-in/quick-access/Block.mjs +128 -0
  217. package/es/built-in/quick-access/CustomRequestActionSchemaInitializerItem.mjs +90 -0
  218. package/es/built-in/quick-access/LinkActionSchemaInitializerItem.mjs +83 -0
  219. package/es/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +92 -0
  220. package/es/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +118 -0
  221. package/es/built-in/quick-access/SchemaSettingsBlockTitleItem.mjs +45 -0
  222. package/es/built-in/quick-access/blockInitializerItem.mjs +19 -0
  223. package/es/built-in/quick-access/blockSchema.mjs +17 -0
  224. package/es/built-in/quick-access/blockSettings.mjs +65 -0
  225. package/es/built-in/quick-access/configureActions.mjs +15 -0
  226. package/es/built-in/quick-access/index.mjs +31 -0
  227. package/es/built-in/scroll-assistant/ScrollAssistant.provider.mjs +42 -0
  228. package/es/built-in/scroll-assistant/ScrollAssistantStatus.provider.mjs +22 -0
  229. package/es/built-in/scroll-assistant/index.mjs +26 -0
  230. package/es/built-in/scroll-assistant/useJoystick.mjs +167 -0
  231. package/es/built-in/setting-layout/AdminSettings.mjs +126 -0
  232. package/es/built-in/setting-layout/SettingLayout.mjs +137 -0
  233. package/es/built-in/setting-layout/SettingsCenterDropdown.mjs +75 -0
  234. package/es/built-in/system-settings/SystemSettingsProvider.mjs +17 -0
  235. package/es/built-in/system-settings/SystemSettingsShortcut.mjs +148 -0
  236. package/es/built-in/system-settings/index.d.ts +1 -1
  237. package/es/built-in/system-settings/index.mjs +12 -0
  238. package/es/built-in/system-version/SystemVersion.provider.mjs +34 -0
  239. package/es/built-in/system-version/index.mjs +8 -0
  240. package/es/built-in/user-settings/UserSettingsLayout.mjs +169 -0
  241. package/es/built-in/user-settings/index.mjs +17 -0
  242. package/es/built-in/user-settings/style.mjs +72 -0
  243. package/es/collection-manager/CollectionHistoryProvider.mjs +58 -0
  244. package/es/collection-manager/CollectionManagerProvider.mjs +57 -0
  245. package/es/collection-manager/CollectionManagerSchemaComponentProvider.mjs +23 -0
  246. package/es/collection-manager/CollectionProvider_deprecated.mjs +21 -0
  247. package/es/collection-manager/Configuration/AddCollectionAction.mjs +224 -0
  248. package/es/collection-manager/Configuration/AddFieldAction.mjs +359 -0
  249. package/es/collection-manager/Configuration/AddSubFieldAction.mjs +140 -0
  250. package/es/collection-manager/Configuration/DeleteCollectionAction.mjs +218 -0
  251. package/es/collection-manager/Configuration/EditCollectionAction.mjs +171 -0
  252. package/es/collection-manager/Configuration/EditFieldAction.mjs +245 -0
  253. package/es/collection-manager/Configuration/EditSubFieldAction.mjs +115 -0
  254. package/es/collection-manager/Configuration/ImportCollectionMetaAction.mjs +128 -0
  255. package/es/collection-manager/Configuration/OverridingCollectionField.mjs +216 -0
  256. package/es/collection-manager/Configuration/SyncFieldsAction.mjs +198 -0
  257. package/es/collection-manager/Configuration/SyncSQLFieldsAction.mjs +166 -0
  258. package/es/collection-manager/Configuration/ViewInheritedField.mjs +138 -0
  259. package/es/collection-manager/Configuration/components/CollectionCategory.mjs +18 -0
  260. package/es/collection-manager/Configuration/components/CollectionFieldInterfaceTag.mjs +19 -0
  261. package/es/collection-manager/Configuration/components/CollectionTemplateTag.mjs +18 -0
  262. package/es/collection-manager/Configuration/components/FieldSummary.mjs +19 -0
  263. package/es/collection-manager/Configuration/components/Summary.mjs +61 -0
  264. package/es/collection-manager/Configuration/components/TemplateSummary.mjs +19 -0
  265. package/es/collection-manager/Configuration/components/index.mjs +319 -0
  266. package/es/collection-manager/Configuration/index.mjs +22 -0
  267. package/es/collection-manager/Configuration/interfaces.mjs +35 -0
  268. package/es/collection-manager/ResourceActionProvider.mjs +136 -0
  269. package/es/collection-manager/action-hooks.mjs +538 -0
  270. package/es/collection-manager/collectionPlugin.mjs +129 -0
  271. package/es/collection-manager/context.mjs +7 -0
  272. package/es/collection-manager/demos/demo2.mjs +106 -0
  273. package/es/collection-manager/demos/demo3.mjs +76 -0
  274. package/es/collection-manager/demos/demo4.mjs +168 -0
  275. package/es/collection-manager/demos/demo5.mjs +152 -0
  276. package/es/collection-manager/hooks/index.mjs +4 -0
  277. package/es/collection-manager/hooks/useCollectionDataSource.mjs +17 -0
  278. package/es/collection-manager/hooks/useCollectionField_deprecated.mjs +21 -0
  279. package/es/collection-manager/hooks/useCollectionManager_deprecated.mjs +224 -0
  280. package/es/collection-manager/hooks/useCollection_deprecated.mjs +54 -0
  281. package/es/collection-manager/hooks/useDialect.mjs +11 -0
  282. package/es/collection-manager/index.mjs +30 -0
  283. package/es/collection-manager/interfaces/__tests__/json.mjs +40 -0
  284. package/es/collection-manager/interfaces/checkbox.mjs +49 -0
  285. package/es/collection-manager/interfaces/checkboxGroup.mjs +43 -0
  286. package/es/collection-manager/interfaces/chinaRegion.mjs +102 -0
  287. package/es/collection-manager/interfaces/collection.mjs +43 -0
  288. package/es/collection-manager/interfaces/color.mjs +31 -0
  289. package/es/collection-manager/interfaces/components/index.mjs +49 -0
  290. package/es/collection-manager/interfaces/createdAt.mjs +35 -0
  291. package/es/collection-manager/interfaces/createdBy.mjs +55 -0
  292. package/es/collection-manager/interfaces/datetime.mjs +44 -0
  293. package/es/collection-manager/interfaces/email.mjs +42 -0
  294. package/es/collection-manager/interfaces/icon.mjs +28 -0
  295. package/es/collection-manager/interfaces/id.mjs +54 -0
  296. package/es/collection-manager/interfaces/index.mjs +39 -0
  297. package/es/collection-manager/interfaces/input.mjs +182 -0
  298. package/es/collection-manager/interfaces/integer.mjs +118 -0
  299. package/es/collection-manager/interfaces/json.mjs +75 -0
  300. package/es/collection-manager/interfaces/linkTo.mjs +92 -0
  301. package/es/collection-manager/interfaces/m2m.mjs +217 -0
  302. package/es/collection-manager/interfaces/m2o.mjs +159 -0
  303. package/es/collection-manager/interfaces/markdown.mjs +77 -0
  304. package/es/collection-manager/interfaces/multipleSelect.mjs +48 -0
  305. package/es/collection-manager/interfaces/nanoid.mjs +60 -0
  306. package/es/collection-manager/interfaces/number.mjs +131 -0
  307. package/es/collection-manager/interfaces/o2m.mjs +191 -0
  308. package/es/collection-manager/interfaces/o2o.mjs +452 -0
  309. package/es/collection-manager/interfaces/password.mjs +63 -0
  310. package/es/collection-manager/interfaces/percent.mjs +162 -0
  311. package/es/collection-manager/interfaces/phone.mjs +34 -0
  312. package/es/collection-manager/interfaces/properties/index.mjs +493 -0
  313. package/es/collection-manager/interfaces/properties/operators.mjs +367 -0
  314. package/es/collection-manager/interfaces/radioGroup.mjs +34 -0
  315. package/es/collection-manager/interfaces/richText.mjs +75 -0
  316. package/es/collection-manager/interfaces/select.mjs +46 -0
  317. package/es/collection-manager/interfaces/sort.mjs +106 -0
  318. package/es/collection-manager/interfaces/subTable.mjs +197 -0
  319. package/es/collection-manager/interfaces/tableoid.mjs +48 -0
  320. package/es/collection-manager/interfaces/textarea.mjs +75 -0
  321. package/es/collection-manager/interfaces/time.mjs +47 -0
  322. package/es/collection-manager/interfaces/types.mjs +0 -0
  323. package/es/collection-manager/interfaces/unixTimestamp.mjs +52 -0
  324. package/es/collection-manager/interfaces/updatedAt.mjs +35 -0
  325. package/es/collection-manager/interfaces/updatedBy.mjs +55 -0
  326. package/es/collection-manager/interfaces/url.mjs +34 -0
  327. package/es/collection-manager/interfaces/uuid.mjs +48 -0
  328. package/es/collection-manager/mixins/InheritanceCollectionMixin.mjs +187 -0
  329. package/es/collection-manager/sub-table.mjs +238 -0
  330. package/es/collection-manager/templates/components/PresetFields.mjs +228 -0
  331. package/es/collection-manager/templates/components/PreviewFields.mjs +309 -0
  332. package/es/collection-manager/templates/components/PreviewTable.mjs +140 -0
  333. package/es/collection-manager/templates/components/sql-collection/FieldsConfigure.mjs +280 -0
  334. package/es/collection-manager/templates/components/sql-collection/PreviewTable.mjs +60 -0
  335. package/es/collection-manager/templates/components/sql-collection/SQLInput.mjs +90 -0
  336. package/es/collection-manager/templates/components/sql-collection/SQLRequestProvider.mjs +51 -0
  337. package/es/collection-manager/templates/components/sql-collection/index.mjs +4 -0
  338. package/es/collection-manager/templates/expression.mjs +62 -0
  339. package/es/collection-manager/templates/general.mjs +20 -0
  340. package/es/collection-manager/templates/import.mjs +19 -0
  341. package/es/collection-manager/templates/index.mjs +6 -0
  342. package/es/collection-manager/templates/properties/index.mjs +69 -0
  343. package/es/collection-manager/templates/sql.mjs +85 -0
  344. package/es/collection-manager/templates/tree.mjs +78 -0
  345. package/es/collection-manager/templates/types.mjs +0 -0
  346. package/es/collection-manager/templates/view.mjs +159 -0
  347. package/es/collection-manager/types.mjs +0 -0
  348. package/es/collection-manager/utils.mjs +16 -0
  349. package/es/common/SelectWithTitle.mjs +44 -0
  350. package/es/common/appInfo/CurrentAppInfoProvider.mjs +17 -0
  351. package/es/common/appInfo/index.mjs +1 -0
  352. package/es/common/index.mjs +3 -0
  353. package/es/common/useFieldComponentName.mjs +23 -0
  354. package/es/common/useNiceDropdownHeight.mjs +18 -0
  355. package/es/data-source/__tests__/collection/AssociationProvider.test.mjs +113 -0
  356. package/es/data-source/__tests__/collection/Collection.test.mjs +297 -0
  357. package/es/data-source/__tests__/collection/CollectionManager.test.mjs +297 -0
  358. package/es/data-source/__tests__/collection/CollectionManagerProvider.test.mjs +114 -0
  359. package/es/data-source/__tests__/collection/CollectionProvider.test.mjs +106 -0
  360. package/es/data-source/__tests__/collection/ExtendCollectionsProvider.test.mjs +87 -0
  361. package/es/data-source/__tests__/collection-field/CollectionField.test.mjs +67 -0
  362. package/es/data-source/__tests__/collection-field/CollectionFieldProvider.test.mjs +51 -0
  363. package/es/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.mjs +162 -0
  364. package/es/data-source/__tests__/collection-record/CollectionRecord.test.mjs +21 -0
  365. package/es/data-source/__tests__/collection-record/CollectionRecordProvider.test.mjs +253 -0
  366. package/es/data-source/__tests__/collection-record/isNewRecord.test.mjs +45 -0
  367. package/es/data-source/__tests__/collection-template/CollectionTemplateManager.test.mjs +123 -0
  368. package/es/data-source/__tests__/components/CollectionDeletedPlaceholder.test.mjs +43 -0
  369. package/es/data-source/__tests__/data-block/DataBlockProvider.test.mjs +114 -0
  370. package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.mjs +88 -0
  371. package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.mjs +139 -0
  372. package/es/data-source/__tests__/data-block/data-block-demos/collection-form-create.mjs +109 -0
  373. package/es/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.mjs +174 -0
  374. package/es/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.mjs +138 -0
  375. package/es/data-source/__tests__/data-block/data-block-demos/collection-table-list.mjs +94 -0
  376. package/es/data-source/__tests__/data-block/data-block-demos/createApp.mjs +55 -0
  377. package/es/data-source/__tests__/data-source/CollectionDataSourceProvider.test.mjs +35 -0
  378. package/es/data-source/__tests__/data-source/DataSource.test.mjs +75 -0
  379. package/es/data-source/__tests__/data-source/DataSourceManager.test.mjs +166 -0
  380. package/es/data-source/__tests__/data-source/DataSourceManagerProvider.test.mjs +30 -0
  381. package/es/data-source/__tests__/data-source/DataSourceProvider.test.mjs +79 -0
  382. package/es/data-source/__tests__/utils.test.mjs +55 -0
  383. package/es/data-source/collection/AssociationProvider.mjs +42 -0
  384. package/es/data-source/collection/Collection.mjs +177 -0
  385. package/es/data-source/collection/CollectionManager.mjs +119 -0
  386. package/es/data-source/collection/CollectionManagerProvider.mjs +47 -0
  387. package/es/data-source/collection/CollectionProvider.mjs +38 -0
  388. package/es/data-source/collection/ExtendCollectionsProvider.mjs +30 -0
  389. package/es/data-source/collection/index.mjs +6 -0
  390. package/es/data-source/collection/utils.mjs +46 -0
  391. package/es/data-source/collection-field/CollectionField.mjs +73 -0
  392. package/es/data-source/collection-field/CollectionFieldProvider.mjs +40 -0
  393. package/es/data-source/collection-field/index.mjs +2 -0
  394. package/es/data-source/collection-field-interface/CollectionFieldInterface.mjs +33 -0
  395. package/es/data-source/collection-field-interface/CollectionFieldInterfaceManager.mjs +59 -0
  396. package/es/data-source/collection-field-interface/index.mjs +2 -0
  397. package/es/data-source/collection-record/CollectionRecord.mjs +28 -0
  398. package/es/data-source/collection-record/CollectionRecordProvider.mjs +62 -0
  399. package/es/data-source/collection-record/index.mjs +2 -0
  400. package/es/data-source/collection-record/isNewRecord.mjs +9 -0
  401. package/es/data-source/collection-template/CollectionTemplate.mjs +32 -0
  402. package/es/data-source/collection-template/CollectionTemplateManager.mjs +52 -0
  403. package/es/data-source/collection-template/index.mjs +2 -0
  404. package/es/data-source/commonsSettingsItem/fieldComponent.mjs +57 -0
  405. package/es/data-source/commonsSettingsItem/index.mjs +1 -0
  406. package/es/data-source/components/CollectionDeletedPlaceholder.mjs +81 -0
  407. package/es/data-source/components/DataSourceApplicationProvider.mjs +15 -0
  408. package/es/data-source/components/index.mjs +2 -0
  409. package/es/data-source/data-block/DataBlockProvider.mjs +79 -0
  410. package/es/data-source/data-block/DataBlockRequestProvider.mjs +124 -0
  411. package/es/data-source/data-block/DataBlockResourceProvider.mjs +54 -0
  412. package/es/data-source/data-block/context/ConfigSetting.provider.mjs +10 -0
  413. package/es/data-source/data-block/index.mjs +4 -0
  414. package/es/data-source/data-source/DataSource.mjs +72 -0
  415. package/es/data-source/data-source/DataSourceManager.mjs +108 -0
  416. package/es/data-source/data-source/DataSourceManagerProvider.mjs +16 -0
  417. package/es/data-source/data-source/DataSourceProvider.mjs +54 -0
  418. package/es/data-source/data-source/index.mjs +4 -0
  419. package/es/data-source/index.mjs +10 -0
  420. package/es/data-source/utils.mjs +17 -0
  421. package/es/env.d.mjs +0 -0
  422. package/es/filter-provider/FilterProvider.mjs +127 -0
  423. package/es/filter-provider/__tests__/transformToFilter.mjs +65 -0
  424. package/es/filter-provider/__tests__/useFilter.mjs +41 -0
  425. package/es/filter-provider/__tests__/utiles.test.mjs +265 -0
  426. package/es/filter-provider/index.mjs +2 -0
  427. package/es/filter-provider/utils.mjs +180 -0
  428. package/es/flag-provider/FlagProvider.mjs +8 -0
  429. package/es/flag-provider/__tests__/flag-provider.test.mjs +19 -0
  430. package/es/flag-provider/hooks/useFlag.mjs +4 -0
  431. package/es/flag-provider/index.mjs +2 -0
  432. package/es/global.css +34 -0
  433. package/es/hooks/index.mjs +2 -0
  434. package/es/hooks/useAdminSchemaUid.mjs +2 -0
  435. package/es/hooks/useMenuItem.mjs +70 -0
  436. package/es/hooks/useViewport.mjs +35 -0
  437. package/es/i18n/i18n.mjs +23 -0
  438. package/es/i18n/index.mjs +1 -0
  439. package/es/icon/Icon.mjs +57 -0
  440. package/es/icon/__tests__/icon.test.mjs +25 -0
  441. package/es/icon/demos/antd-icon.mjs +7 -0
  442. package/es/icon/demos/custom-icon.mjs +16 -0
  443. package/es/icon/demos/iconfont.mjs +10 -0
  444. package/es/icon/demos/register-icon.mjs +23 -0
  445. package/es/icon/index.mjs +1 -0
  446. package/es/icon/preloaded.mjs +122 -0
  447. package/es/index.d.ts +0 -1
  448. package/es/index.mjs +48 -61135
  449. package/es/locale/index.mjs +269 -0
  450. package/es/modules/actions/ActionSchemaToolbar.mjs +10 -0
  451. package/es/modules/actions/add-child/CreateChildInitializer.mjs +64 -0
  452. package/es/modules/actions/add-child/addChildActionSettings.mjs +64 -0
  453. package/es/modules/actions/add-new/CreateActionInitializer.mjs +67 -0
  454. package/es/modules/actions/add-new/addNewActionSettings.mjs +57 -0
  455. package/es/modules/actions/add-new/createFormBlockInitializers.mjs +56 -0
  456. package/es/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +63 -0
  457. package/es/modules/actions/add-record/customizeAddRecordActionSettings.mjs +35 -0
  458. package/es/modules/actions/add-record/customizeCreateFormBlockInitializers.mjs +36 -0
  459. package/es/modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs +35 -0
  460. package/es/modules/actions/bulk-destroy/bulkDeleteActionSettings.mjs +30 -0
  461. package/es/modules/actions/delete/DestroyActionInitializer.mjs +28 -0
  462. package/es/modules/actions/delete/deleteActionSettings.mjs +39 -0
  463. package/es/modules/actions/disassociate/DisassociateActionInitializer.mjs +28 -0
  464. package/es/modules/actions/disassociate/__e2e__/disassociate.test.mjs +39 -0
  465. package/es/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +383 -0
  466. package/es/modules/actions/disassociate/disassociateActionSettings.mjs +39 -0
  467. package/es/modules/actions/expand-collapse/ExpandableActionInitializer.mjs +26 -0
  468. package/es/modules/actions/expand-collapse/expendableActionSettings.mjs +118 -0
  469. package/es/modules/actions/filter/FilterActionInitializer.mjs +22 -0
  470. package/es/modules/actions/filter/filterActionSettings.mjs +83 -0
  471. package/es/modules/actions/link/customizeLinkActionSettings.mjs +107 -0
  472. package/es/modules/actions/link/hooks.mjs +199 -0
  473. package/es/modules/actions/refresh/RefreshActionInitializer.mjs +21 -0
  474. package/es/modules/actions/refresh/refreshActionSettings.mjs +30 -0
  475. package/es/modules/actions/save-record/SaveRecordActionInitializer.mjs +34 -0
  476. package/es/modules/actions/save-record/customizeSaveRecordActionSettings.mjs +52 -0
  477. package/es/modules/actions/submit/CreateSubmitActionInitializer.mjs +27 -0
  478. package/es/modules/actions/submit/UpdateSubmitActionInitializer.mjs +31 -0
  479. package/es/modules/actions/submit/createSubmitActionSettings.mjs +210 -0
  480. package/es/modules/actions/submit/updateSubmitActionSettings.mjs +89 -0
  481. package/es/modules/actions/update-record/UpdateRecordActionInitializer.mjs +32 -0
  482. package/es/modules/actions/update-record/customizeUpdateRecordActionSettings.mjs +62 -0
  483. package/es/modules/actions/view-edit-popup/PopupActionInitializer.mjs +59 -0
  484. package/es/modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs +35 -0
  485. package/es/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +57 -0
  486. package/es/modules/actions/view-edit-popup/ViewActionInitializer.mjs +56 -0
  487. package/es/modules/actions/view-edit-popup/customizePopupActionSettings.mjs +49 -0
  488. package/es/modules/actions/view-edit-popup/editActionSettings.mjs +44 -0
  489. package/es/modules/actions/view-edit-popup/viewActionSettings.mjs +49 -0
  490. package/es/modules/blocks/BlockSchemaToolbar.mjs +56 -0
  491. package/es/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs +40 -0
  492. package/es/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs +49 -0
  493. package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.mjs +112 -0
  494. package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.mjs +72 -0
  495. package/es/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.mjs +0 -0
  496. package/es/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.mjs +14 -0
  497. package/es/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.mjs +58 -0
  498. package/es/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +216 -0
  499. package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.mjs +9 -0
  500. package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.mjs +5 -0
  501. package/es/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.mjs +73 -0
  502. package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs +85 -0
  503. package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs +86 -0
  504. package/es/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs +73 -0
  505. package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.mjs +98 -0
  506. package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.mjs +24 -0
  507. package/es/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.mjs +0 -0
  508. package/es/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.mjs +14 -0
  509. package/es/modules/blocks/data-blocks/details-single/createDetailsUISchema.mjs +54 -0
  510. package/es/modules/blocks/data-blocks/details-single/detailsBlockSettings.mjs +49 -0
  511. package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.mjs +21 -0
  512. package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.mjs +5 -0
  513. package/es/modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs +48 -0
  514. package/es/modules/blocks/data-blocks/form/FilterItemCustomSettings.mjs +279 -0
  515. package/es/modules/blocks/data-blocks/form/FormBlockInitializer.mjs +79 -0
  516. package/es/modules/blocks/data-blocks/form/FormItemSchemaToolbar.mjs +9 -0
  517. package/es/modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs +84 -0
  518. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.mjs +14 -0
  519. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.mjs +26 -0
  520. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.mjs +168 -0
  521. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.mjs +28 -0
  522. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.mjs +141 -0
  523. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +1254 -0
  524. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +6002 -0
  525. package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.mjs +16 -0
  526. package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.mjs +212 -0
  527. package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.mjs +0 -0
  528. package/es/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.mjs +19 -0
  529. package/es/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.mjs +18 -0
  530. package/es/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.mjs +51 -0
  531. package/es/modules/blocks/data-blocks/form/createEditFormBlockUISchema.mjs +54 -0
  532. package/es/modules/blocks/data-blocks/form/createFormActionInitializers.mjs +45 -0
  533. package/es/modules/blocks/data-blocks/form/createFormBlockSettings.mjs +138 -0
  534. package/es/modules/blocks/data-blocks/form/editFormBlockSettings.mjs +72 -0
  535. package/es/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +525 -0
  536. package/es/modules/blocks/data-blocks/form/formActionInitializers.mjs +45 -0
  537. package/es/modules/blocks/data-blocks/form/formItemInitializers.mjs +39 -0
  538. package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.mjs +9 -0
  539. package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.mjs +5 -0
  540. package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +15 -0
  541. package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.mjs +5 -0
  542. package/es/modules/blocks/data-blocks/form/index.d.ts +2 -2
  543. package/es/modules/blocks/data-blocks/form/index.mjs +14 -0
  544. package/es/modules/blocks/data-blocks/form/updateFormActionInitializers.mjs +56 -0
  545. package/es/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs +85 -0
  546. package/es/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs +43 -0
  547. package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.mjs +220 -0
  548. package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.mjs +48 -0
  549. package/es/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.mjs +0 -0
  550. package/es/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.mjs +26 -0
  551. package/es/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.mjs +73 -0
  552. package/es/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +431 -0
  553. package/es/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs +100 -0
  554. package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.mjs +12 -0
  555. package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.mjs +17 -0
  556. package/es/modules/blocks/data-blocks/grid-card/utils.mjs +14 -0
  557. package/es/modules/blocks/data-blocks/list/ListActionInitializers.mjs +81 -0
  558. package/es/modules/blocks/data-blocks/list/ListBlockInitializer.mjs +43 -0
  559. package/es/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.mjs +211 -0
  560. package/es/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.mjs +23 -0
  561. package/es/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.mjs +0 -0
  562. package/es/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.mjs +24 -0
  563. package/es/modules/blocks/data-blocks/list/createListBlockUISchema.mjs +68 -0
  564. package/es/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.mjs +9 -0
  565. package/es/modules/blocks/data-blocks/list/listBlockSettings.mjs +249 -0
  566. package/es/modules/blocks/data-blocks/list/listItemActionInitializers.mjs +100 -0
  567. package/es/modules/blocks/data-blocks/table/TableActionColumnInitializers.mjs +238 -0
  568. package/es/modules/blocks/data-blocks/table/TableActionInitializers.mjs +131 -0
  569. package/es/modules/blocks/data-blocks/table/TableBlockInitializer.mjs +43 -0
  570. package/es/modules/blocks/data-blocks/table/TableColumnInitializers.mjs +105 -0
  571. package/es/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.mjs +15 -0
  572. package/es/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.mjs +9 -0
  573. package/es/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.mjs +33 -0
  574. package/es/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.mjs +19 -0
  575. package/es/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.mjs +31 -0
  576. package/es/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.mjs +419 -0
  577. package/es/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.mjs +869 -0
  578. package/es/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +934 -0
  579. package/es/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.mjs +42 -0
  580. package/es/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.mjs +16 -0
  581. package/es/modules/blocks/data-blocks/table/createTableBlockUISchema.mjs +82 -0
  582. package/es/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.mjs +35 -0
  583. package/es/modules/blocks/data-blocks/table/hooks/useTableBlockProps.mjs +137 -0
  584. package/es/modules/blocks/data-blocks/table/index.mjs +9 -0
  585. package/es/modules/blocks/data-blocks/table/tableBlockSettings.mjs +416 -0
  586. package/es/modules/blocks/data-blocks/table/tableColumnSettings.mjs +333 -0
  587. package/es/modules/blocks/data-blocks/table/utils.mjs +17 -0
  588. package/es/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs +24 -0
  589. package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.mjs +159 -0
  590. package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.mjs +146 -0
  591. package/es/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +692 -0
  592. package/es/modules/blocks/data-blocks/table-selector/__e2e__/utils.mjs +12 -0
  593. package/es/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.mjs +14 -0
  594. package/es/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.mjs +47 -0
  595. package/es/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.mjs +2 -0
  596. package/es/modules/blocks/data-blocks/table-selector/index.mjs +2 -0
  597. package/es/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +310 -0
  598. package/es/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.mjs +8 -0
  599. package/es/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs +29 -0
  600. package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.mjs +59 -0
  601. package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.mjs +62 -0
  602. package/es/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.mjs +0 -0
  603. package/es/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.mjs +40 -0
  604. package/es/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.mjs +31 -0
  605. package/es/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.mjs +58 -0
  606. package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.mjs +213 -0
  607. package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.mjs +153 -0
  608. package/es/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.mjs +2 -0
  609. package/es/modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs +32 -0
  610. package/es/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs +37 -0
  611. package/es/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.mjs +115 -0
  612. package/es/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.mjs +98 -0
  613. package/es/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.mjs +0 -0
  614. package/es/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.mjs +23 -0
  615. package/es/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.mjs +46 -0
  616. package/es/modules/blocks/filter-blocks/form/filterFormBlockSettings.mjs +66 -0
  617. package/es/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +355 -0
  618. package/es/modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs +41 -0
  619. package/es/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.mjs +2 -0
  620. package/es/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.mjs +5 -0
  621. package/es/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs +32 -0
  622. package/es/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs +73 -0
  623. package/es/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.mjs +66 -0
  624. package/es/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +355 -0
  625. package/es/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.mjs +41 -0
  626. package/es/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs +30 -0
  627. package/es/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs +26 -0
  628. package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.mjs +10 -0
  629. package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.mjs +33 -0
  630. package/es/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.mjs +0 -0
  631. package/es/modules/blocks/other-blocks/markdown/markdownBlockSettings.mjs +39 -0
  632. package/es/modules/blocks/useParentRecordCommon.mjs +7 -0
  633. package/es/modules/blocks/useSourceId.mjs +12 -0
  634. package/es/modules/blocks/useSourceKey.mjs +6 -0
  635. package/es/modules/dialog/__e2e__/schemaInitializer.test.mjs +388 -0
  636. package/es/modules/dialog/__e2e__/schemaSettings.test.mjs +59 -0
  637. package/es/modules/dialog/__e2e__/templatesOfBug.mjs +2122 -0
  638. package/es/modules/dialog/__e2e__/zIndex.test.mjs +35 -0
  639. package/es/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.mjs +91 -0
  640. package/es/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +380 -0
  641. package/es/modules/fields/component/Checkbox/checkboxComponentFieldSettings.mjs +53 -0
  642. package/es/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.mjs +74 -0
  643. package/es/modules/fields/component/DatePicker/__e2e__/utils.mjs +323 -0
  644. package/es/modules/fields/component/DatePicker/datePickerComponentFieldSettings.mjs +22 -0
  645. package/es/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +149 -0
  646. package/es/modules/fields/component/FileManager/fileManagerComponentFieldSettings.mjs +190 -0
  647. package/es/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.mjs +102 -0
  648. package/es/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +27 -0
  649. package/es/modules/fields/component/Nester/subformComponentFieldSettings.mjs +125 -0
  650. package/es/modules/fields/component/Picker/TableSelectorInitializers.mjs +86 -0
  651. package/es/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +190 -0
  652. package/es/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.mjs +99 -0
  653. package/es/modules/fields/component/Radio/radioComponentFieldSettings.mjs +53 -0
  654. package/es/modules/fields/component/Select/selectComponentFieldSettings.mjs +378 -0
  655. package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +404 -0
  656. package/es/modules/fields/component/Tag/tagComponentFieldSettings.mjs +172 -0
  657. package/es/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.mjs +22 -0
  658. package/es/modules/fields/initializer/CollectionFieldInitializer.mjs +15 -0
  659. package/es/modules/fields/initializer/TableCollectionFieldInitializer.mjs +15 -0
  660. package/es/modules/menu/GroupItem.mjs +78 -0
  661. package/es/modules/menu/LinkMenuItem.mjs +84 -0
  662. package/es/modules/menu/PageMenuItem.mjs +93 -0
  663. package/es/modules/menu/__e2e__/dragAndDrop.test.mjs +27 -0
  664. package/es/modules/menu/__e2e__/schemaInitializer.test.mjs +101 -0
  665. package/es/modules/menu/__e2e__/schemaSettings.test.mjs +347 -0
  666. package/es/modules/menu/__e2e__/templatesOfBug.mjs +0 -0
  667. package/es/modules/menu/menuItemInitializer.mjs +48 -0
  668. package/es/modules/page/BlockInitializers.mjs +77 -0
  669. package/es/modules/page/__e2e__/blockInitializers.test.mjs +17 -0
  670. package/es/modules/page/__e2e__/dragAndDrop.test.mjs +16 -0
  671. package/es/modules/page/__e2e__/schemaInitailizer.test.mjs +15 -0
  672. package/es/modules/page/__e2e__/schemaSettings.test.mjs +134 -0
  673. package/es/modules/page/__e2e__/templatesOfBug.mjs +0 -0
  674. package/es/modules/plugin-manager/__e2e__/pluginManager.test.mjs +113 -0
  675. package/es/modules/plugin-manager/__e2e__/templatesOfBug.mjs +0 -0
  676. package/es/modules/user-center/__e2e__/settings.test.mjs +12 -0
  677. package/es/modules/variable/DeclareVariable.mjs +16 -0
  678. package/es/modules/variable/useVariable.mjs +12 -0
  679. package/es/powered-by/index.mjs +43 -0
  680. package/es/record-provider/index.mjs +51 -0
  681. package/es/route-switch/RouteSchemaComponent.mjs +12 -0
  682. package/es/route-switch/index.mjs +1 -0
  683. package/es/schema-component/antd/AntdSchemaComponentProvider.mjs +39 -0
  684. package/es/schema-component/antd/__builtins__/hooks/index.mjs +3 -0
  685. package/es/schema-component/antd/__builtins__/hooks/useConfig.mjs +5 -0
  686. package/es/schema-component/antd/__builtins__/hooks/usePrefixCls.mjs +12 -0
  687. package/es/schema-component/antd/__builtins__/hooks/useToken.mjs +6 -0
  688. package/es/schema-component/antd/__builtins__/index.mjs +4 -0
  689. package/es/schema-component/antd/__builtins__/loading.mjs +15 -0
  690. package/es/schema-component/antd/__builtins__/portal.mjs +51 -0
  691. package/es/schema-component/antd/__builtins__/render.mjs +47 -0
  692. package/es/schema-component/antd/__builtins__/style.mjs +65 -0
  693. package/es/schema-component/antd/action/Action.Area.mjs +102 -0
  694. package/es/schema-component/antd/action/Action.Area.style.mjs +40 -0
  695. package/es/schema-component/antd/action/Action.Container.mjs +42 -0
  696. package/es/schema-component/antd/action/Action.Designer.mjs +906 -0
  697. package/es/schema-component/antd/action/Action.Drawer.mjs +136 -0
  698. package/es/schema-component/antd/action/Action.Drawer.style.mjs +46 -0
  699. package/es/schema-component/antd/action/Action.Link.mjs +14 -0
  700. package/es/schema-component/antd/action/Action.Modal.mjs +172 -0
  701. package/es/schema-component/antd/action/Action.Page.mjs +83 -0
  702. package/es/schema-component/antd/action/Action.Popover.mjs +0 -0
  703. package/es/schema-component/antd/action/Action.Sheet.mjs +81 -0
  704. package/es/schema-component/antd/action/Action.mjs +228 -0
  705. package/es/schema-component/antd/action/Action.style.mjs +47 -0
  706. package/es/schema-component/antd/action/ActionBar.mjs +128 -0
  707. package/es/schema-component/antd/action/__tests__/action.test.mjs +116 -0
  708. package/es/schema-component/antd/action/context.mjs +17 -0
  709. package/es/schema-component/antd/action/demos/demo1.mjs +70 -0
  710. package/es/schema-component/antd/action/demos/demo2.mjs +75 -0
  711. package/es/schema-component/antd/action/demos/demo3.mjs +127 -0
  712. package/es/schema-component/antd/action/demos/demo4.mjs +58 -0
  713. package/es/schema-component/antd/action/demos/demo5.mjs +211 -0
  714. package/es/schema-component/antd/action/demos/demo6.mjs +95 -0
  715. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfAction.mjs +37 -0
  716. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.mjs +25 -0
  717. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfModal.mjs +25 -0
  718. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.mjs +25 -0
  719. package/es/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.mjs +30 -0
  720. package/es/schema-component/antd/action/hooks/useSetAriaLabelForModal.mjs +30 -0
  721. package/es/schema-component/antd/action/hooks/useSetAriaLabelForPopover.mjs +22 -0
  722. package/es/schema-component/antd/action/hooks.mjs +60 -0
  723. package/es/schema-component/antd/action/index.mjs +10 -0
  724. package/es/schema-component/antd/action/types.mjs +0 -0
  725. package/es/schema-component/antd/action/utils.mjs +213 -0
  726. package/es/schema-component/antd/appends-tree-select/AppendsTreeSelect.mjs +216 -0
  727. package/es/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.mjs +215 -0
  728. package/es/schema-component/antd/appends-tree-select/index.mjs +2 -0
  729. package/es/schema-component/antd/association-cascader/AssociationCascader.mjs +135 -0
  730. package/es/schema-component/antd/association-cascader/index.mjs +1 -0
  731. package/es/schema-component/antd/association-field/AssociationFieldProvider.mjs +125 -0
  732. package/es/schema-component/antd/association-field/AssociationSelect.mjs +172 -0
  733. package/es/schema-component/antd/association-field/Editable.mjs +103 -0
  734. package/es/schema-component/antd/association-field/FileManager.mjs +201 -0
  735. package/es/schema-component/antd/association-field/InternalCascadeSelect.mjs +394 -0
  736. package/es/schema-component/antd/association-field/InternalCascader.mjs +365 -0
  737. package/es/schema-component/antd/association-field/InternalDrawerSubTable.mjs +99 -0
  738. package/es/schema-component/antd/association-field/InternalNester.mjs +80 -0
  739. package/es/schema-component/antd/association-field/InternalPicker.mjs +228 -0
  740. package/es/schema-component/antd/association-field/InternalPopoverNester.mjs +131 -0
  741. package/es/schema-component/antd/association-field/InternalSubTable.mjs +91 -0
  742. package/es/schema-component/antd/association-field/InternalTag.mjs +122 -0
  743. package/es/schema-component/antd/association-field/InternalViewer.mjs +136 -0
  744. package/es/schema-component/antd/association-field/Nester.mjs +247 -0
  745. package/es/schema-component/antd/association-field/ReadPretty.mjs +47 -0
  746. package/es/schema-component/antd/association-field/SubTable.mjs +278 -0
  747. package/es/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +321 -0
  748. package/es/schema-component/antd/association-field/SubTabs/hook.mjs +53 -0
  749. package/es/schema-component/antd/association-field/SubTabs/index.mjs +1 -0
  750. package/es/schema-component/antd/association-field/SubTabs/styles.mjs +25 -0
  751. package/es/schema-component/antd/association-field/components/CreateRecordAction.mjs +55 -0
  752. package/es/schema-component/antd/association-field/context.mjs +4 -0
  753. package/es/schema-component/antd/association-field/hooks.mjs +150 -0
  754. package/es/schema-component/antd/association-field/index.mjs +17 -0
  755. package/es/schema-component/antd/association-field/schema.mjs +131 -0
  756. package/es/schema-component/antd/association-field/util.mjs +103 -0
  757. package/es/schema-component/antd/association-filter/ActionBarAssociationFilterAction.mjs +54 -0
  758. package/es/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.mjs +40 -0
  759. package/es/schema-component/antd/association-filter/AssociationFilter.Initializer.mjs +55 -0
  760. package/es/schema-component/antd/association-filter/AssociationFilter.Item.Designer.mjs +134 -0
  761. package/es/schema-component/antd/association-filter/AssociationFilter.Item.mjs +131 -0
  762. package/es/schema-component/antd/association-filter/AssociationFilter.Item.style.mjs +101 -0
  763. package/es/schema-component/antd/association-filter/AssociationFilter.mjs +75 -0
  764. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDelete.mjs +31 -0
  765. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.mjs +23 -0
  766. package/es/schema-component/antd/association-filter/utilts.mjs +2 -0
  767. package/es/schema-component/antd/association-select/AssociationSelect.mjs +865 -0
  768. package/es/schema-component/antd/association-select/ReadPretty.mjs +17 -0
  769. package/es/schema-component/antd/association-select/__tests__/association-select.test.mjs +16 -0
  770. package/es/schema-component/antd/association-select/demos/demo1.mjs +55 -0
  771. package/es/schema-component/antd/association-select/index.mjs +1 -0
  772. package/es/schema-component/antd/association-select/useServiceOptions.mjs +82 -0
  773. package/es/schema-component/antd/auto-complete/AutoComplete.mjs +58 -0
  774. package/es/schema-component/antd/auto-complete/index.mjs +1 -0
  775. package/es/schema-component/antd/block-item/BlockItem.mjs +49 -0
  776. package/es/schema-component/antd/block-item/BlockToolbar.d.ts +48 -3
  777. package/es/schema-component/antd/block-item/BlockToolbar.mjs +88 -0
  778. package/es/schema-component/antd/block-item/__tests__/block-item.test.mjs +14 -0
  779. package/es/schema-component/antd/block-item/demos/demo1.mjs +60 -0
  780. package/es/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.mjs +39 -0
  781. package/es/schema-component/antd/block-item/index.mjs +1 -0
  782. package/es/schema-component/antd/block-item/useBlockToolbar.mjs +81 -0
  783. package/es/schema-component/antd/card-item/CardItem.mjs +25 -0
  784. package/es/schema-component/antd/card-item/__tests__/card-item.test.mjs +11 -0
  785. package/es/schema-component/antd/card-item/demos/demo1.mjs +31 -0
  786. package/es/schema-component/antd/card-item/index.mjs +1 -0
  787. package/es/schema-component/antd/card-item/style.mjs +25 -0
  788. package/es/schema-component/antd/cascader/Cascader.mjs +73 -0
  789. package/es/schema-component/antd/cascader/ReadPretty.mjs +30 -0
  790. package/es/schema-component/antd/cascader/__tests__/cascader.test.mjs +29 -0
  791. package/es/schema-component/antd/cascader/defaultFieldNames.mjs +6 -0
  792. package/es/schema-component/antd/cascader/demos/demo1.mjs +82 -0
  793. package/es/schema-component/antd/cascader/demos/demo2.mjs +115 -0
  794. package/es/schema-component/antd/cascader/index.mjs +1 -0
  795. package/es/schema-component/antd/checkbox/Checkbox.mjs +83 -0
  796. package/es/schema-component/antd/checkbox/__tests__/checkbox.test.mjs +40 -0
  797. package/es/schema-component/antd/checkbox/demos/checkbox.group.mjs +54 -0
  798. package/es/schema-component/antd/checkbox/demos/checkbox.mjs +40 -0
  799. package/es/schema-component/antd/checkbox/index.mjs +1 -0
  800. package/es/schema-component/antd/collection-select/CollectionSelect.mjs +146 -0
  801. package/es/schema-component/antd/collection-select/__tests__/collection-select.test.mjs +16 -0
  802. package/es/schema-component/antd/collection-select/demos/demo1.mjs +36 -0
  803. package/es/schema-component/antd/collection-select/index.mjs +1 -0
  804. package/es/schema-component/antd/color-picker/ColorPicker.mjs +86 -0
  805. package/es/schema-component/antd/color-picker/ReadPretty.mjs +19 -0
  806. package/es/schema-component/antd/color-picker/demos/demo1.mjs +49 -0
  807. package/es/schema-component/antd/color-picker/index.mjs +1 -0
  808. package/es/schema-component/antd/color-picker/util.mjs +158 -0
  809. package/es/schema-component/antd/color-select/ColorSelect.mjs +48 -0
  810. package/es/schema-component/antd/color-select/__tests__/color-select.test.mjs +16 -0
  811. package/es/schema-component/antd/color-select/demos/demo1.mjs +40 -0
  812. package/es/schema-component/antd/color-select/index.mjs +1 -0
  813. package/es/schema-component/antd/cron/Cron.mjs +68 -0
  814. package/es/schema-component/antd/cron/CronSet.mjs +106 -0
  815. package/es/schema-component/antd/cron/__tests__/cron-set.test.mjs +30 -0
  816. package/es/schema-component/antd/cron/demos/demo1.mjs +32 -0
  817. package/es/schema-component/antd/cron/demos/demo2.mjs +51 -0
  818. package/es/schema-component/antd/cron/index.mjs +2 -0
  819. package/es/schema-component/antd/custom-cascader/CustomCascader.mjs +34 -0
  820. package/es/schema-component/antd/custom-cascader/ReadPretty.mjs +30 -0
  821. package/es/schema-component/antd/custom-cascader/defaultFieldNames.mjs +6 -0
  822. package/es/schema-component/antd/custom-cascader/index.mjs +1 -0
  823. package/es/schema-component/antd/date-picker/DatePicker.mjs +144 -0
  824. package/es/schema-component/antd/date-picker/ReadPretty.mjs +38 -0
  825. package/es/schema-component/antd/date-picker/__tests__/date-picker.test.mjs +178 -0
  826. package/es/schema-component/antd/date-picker/__tests__/getDateRanges.test.mjs +110 -0
  827. package/es/schema-component/antd/date-picker/__tests__/mapDatePicker.test.mjs +200 -0
  828. package/es/schema-component/antd/date-picker/__tests__/mapRangePicker.test.mjs +59 -0
  829. package/es/schema-component/antd/date-picker/__tests__/util.test.mjs +166 -0
  830. package/es/schema-component/antd/date-picker/demos/demo1.mjs +57 -0
  831. package/es/schema-component/antd/date-picker/demos/demo10.mjs +61 -0
  832. package/es/schema-component/antd/date-picker/demos/demo11.mjs +65 -0
  833. package/es/schema-component/antd/date-picker/demos/demo2.mjs +60 -0
  834. package/es/schema-component/antd/date-picker/demos/demo3.mjs +58 -0
  835. package/es/schema-component/antd/date-picker/demos/demo4.mjs +72 -0
  836. package/es/schema-component/antd/date-picker/demos/demo5.mjs +71 -0
  837. package/es/schema-component/antd/date-picker/demos/demo6.mjs +71 -0
  838. package/es/schema-component/antd/date-picker/demos/demo7.mjs +61 -0
  839. package/es/schema-component/antd/date-picker/demos/demo8.mjs +61 -0
  840. package/es/schema-component/antd/date-picker/demos/demo9.mjs +61 -0
  841. package/es/schema-component/antd/date-picker/index.mjs +1 -0
  842. package/es/schema-component/antd/date-picker/util.mjs +179 -0
  843. package/es/schema-component/antd/details/Details.mjs +18 -0
  844. package/es/schema-component/antd/details/__tests__/details.test.mjs +10 -0
  845. package/es/schema-component/antd/details/demos/demo1.mjs +42 -0
  846. package/es/schema-component/antd/details/index.mjs +1 -0
  847. package/es/schema-component/antd/error-fallback/ErrorFallback.mjs +59 -0
  848. package/es/schema-component/antd/error-fallback/__tests__/error-fallback.test.mjs +17 -0
  849. package/es/schema-component/antd/error-fallback/demos/demo1.mjs +13 -0
  850. package/es/schema-component/antd/error-fallback/index.mjs +1 -0
  851. package/es/schema-component/antd/expand-action/Expand.Action.Design.mjs +107 -0
  852. package/es/schema-component/antd/expand-action/Expand.Action.mjs +70 -0
  853. package/es/schema-component/antd/expand-action/index.mjs +6 -0
  854. package/es/schema-component/antd/filter/DynamicComponent.mjs +58 -0
  855. package/es/schema-component/antd/filter/Filter.Action.Designer.mjs +121 -0
  856. package/es/schema-component/antd/filter/Filter.mjs +56 -0
  857. package/es/schema-component/antd/filter/FilterAction.mjs +164 -0
  858. package/es/schema-component/antd/filter/FilterGroup.mjs +134 -0
  859. package/es/schema-component/antd/filter/FilterItem.mjs +85 -0
  860. package/es/schema-component/antd/filter/FilterItems.mjs +24 -0
  861. package/es/schema-component/antd/filter/SaveDefaultValue.mjs +36 -0
  862. package/es/schema-component/antd/filter/__tests__/filter.test.mjs +113 -0
  863. package/es/schema-component/antd/filter/context.mjs +8 -0
  864. package/es/schema-component/antd/filter/demos/demo2.mjs +129 -0
  865. package/es/schema-component/antd/filter/demos/demo3.mjs +196 -0
  866. package/es/schema-component/antd/filter/demos/demo4.mjs +184 -0
  867. package/es/schema-component/antd/filter/demos/demo5.mjs +131 -0
  868. package/es/schema-component/antd/filter/demos/demo6.mjs +118 -0
  869. package/es/schema-component/antd/filter/index.mjs +3 -0
  870. package/es/schema-component/antd/filter/useFilterActionProps.mjs +213 -0
  871. package/es/schema-component/antd/filter/useOperators.mjs +23 -0
  872. package/es/schema-component/antd/filter/useValues.mjs +122 -0
  873. package/es/schema-component/antd/filter/utils.mjs +13 -0
  874. package/es/schema-component/antd/form/Form.Designer.mjs +12 -0
  875. package/es/schema-component/antd/form/Form.Settings.mjs +34 -0
  876. package/es/schema-component/antd/form/Form.mjs +148 -0
  877. package/es/schema-component/antd/form/__tests__/form.test.mjs +113 -0
  878. package/es/schema-component/antd/form/demos/apiClient.mjs +17 -0
  879. package/es/schema-component/antd/form/demos/demo1.mjs +73 -0
  880. package/es/schema-component/antd/form/demos/demo2.mjs +73 -0
  881. package/es/schema-component/antd/form/demos/demo3.mjs +72 -0
  882. package/es/schema-component/antd/form/demos/demo4.mjs +80 -0
  883. package/es/schema-component/antd/form/demos/demo5.mjs +114 -0
  884. package/es/schema-component/antd/form/demos/demo6.mjs +71 -0
  885. package/es/schema-component/antd/form/demos/demo7.mjs +75 -0
  886. package/es/schema-component/antd/form/demos/demo8.mjs +86 -0
  887. package/es/schema-component/antd/form/index.mjs +2 -0
  888. package/es/schema-component/antd/form-dialog/index.mjs +154 -0
  889. package/es/schema-component/antd/form-item/FormItem.FilterFormDesigner.mjs +7 -0
  890. package/es/schema-component/antd/form-item/FormItem.FilterFormSettings.mjs +128 -0
  891. package/es/schema-component/antd/form-item/FormItem.Settings.mjs +1204 -0
  892. package/es/schema-component/antd/form-item/FormItem.mjs +133 -0
  893. package/es/schema-component/antd/form-item/SchemaSettingOptions.mjs +562 -0
  894. package/es/schema-component/antd/form-item/__tests__/form-item.test.mjs +12 -0
  895. package/es/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.mjs +27 -0
  896. package/es/schema-component/antd/form-item/__tests__/utils.test.mjs +65 -0
  897. package/es/schema-component/antd/form-item/demos/demo1.mjs +37 -0
  898. package/es/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +69 -0
  899. package/es/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +84 -0
  900. package/es/schema-component/antd/form-item/hooks/useSpecialCase.mjs +106 -0
  901. package/es/schema-component/antd/form-item/index.mjs +4 -0
  902. package/es/schema-component/antd/form-item/utils.mjs +7 -0
  903. package/es/schema-component/antd/form-tab/index.mjs +140 -0
  904. package/es/schema-component/antd/form-v2/Form.Designer.mjs +33 -0
  905. package/es/schema-component/antd/form-v2/Form.FilterDesigner.mjs +15 -0
  906. package/es/schema-component/antd/form-v2/Form.Settings.mjs +315 -0
  907. package/es/schema-component/antd/form-v2/Form.mjs +330 -0
  908. package/es/schema-component/antd/form-v2/FormField.mjs +30 -0
  909. package/es/schema-component/antd/form-v2/Templates.mjs +191 -0
  910. package/es/schema-component/antd/form-v2/__tests__/form-v2.test.mjs +47 -0
  911. package/es/schema-component/antd/form-v2/demos/collections.mjs +1565 -0
  912. package/es/schema-component/antd/form-v2/demos/demo1.mjs +108 -0
  913. package/es/schema-component/antd/form-v2/demos/demo2.mjs +131 -0
  914. package/es/schema-component/antd/form-v2/demos/demo3.mjs +117 -0
  915. package/es/schema-component/antd/form-v2/index.d.ts +3 -2
  916. package/es/schema-component/antd/form-v2/index.mjs +14 -0
  917. package/es/schema-component/antd/form-v2/utils.mjs +143 -0
  918. package/es/schema-component/antd/grid/Block.mjs +24 -0
  919. package/es/schema-component/antd/grid/Grid.mjs +479 -0
  920. package/es/schema-component/antd/grid/Grid.style.mjs +45 -0
  921. package/es/schema-component/antd/grid/__tests__/grid.test.mjs +26 -0
  922. package/es/schema-component/antd/grid/demos/demo1.mjs +194 -0
  923. package/es/schema-component/antd/grid/demos/demo2.mjs +97 -0
  924. package/es/schema-component/antd/grid/demos/demo3.mjs +83 -0
  925. package/es/schema-component/antd/grid/index.mjs +2 -0
  926. package/es/schema-component/antd/grid-card/GridCard.Decorator.mjs +67 -0
  927. package/es/schema-component/antd/grid-card/GridCard.Decorator.style.mjs +24 -0
  928. package/es/schema-component/antd/grid-card/GridCard.Designer.mjs +252 -0
  929. package/es/schema-component/antd/grid-card/GridCard.Item.mjs +77 -0
  930. package/es/schema-component/antd/grid-card/GridCard.mjs +156 -0
  931. package/es/schema-component/antd/grid-card/__tests__/grid-card.test.mjs +9 -0
  932. package/es/schema-component/antd/grid-card/demos/demo1.mjs +6 -0
  933. package/es/schema-component/antd/grid-card/hooks.mjs +32 -0
  934. package/es/schema-component/antd/grid-card/index.mjs +1 -0
  935. package/es/schema-component/antd/grid-card/options.mjs +35 -0
  936. package/es/schema-component/antd/icon-picker/IconFilterInput.mjs +17 -0
  937. package/es/schema-component/antd/icon-picker/IconList.mjs +50 -0
  938. package/es/schema-component/antd/icon-picker/IconPicker.mjs +74 -0
  939. package/es/schema-component/antd/icon-picker/__tests__/icon-picker.test.mjs +25 -0
  940. package/es/schema-component/antd/icon-picker/demos/icon-picker.mjs +40 -0
  941. package/es/schema-component/antd/icon-picker/index.mjs +1 -0
  942. package/es/schema-component/antd/index.css +30 -0
  943. package/es/schema-component/antd/index.mjs +65 -0
  944. package/es/schema-component/antd/input/EllipsisWithTooltip.mjs +64 -0
  945. package/es/schema-component/antd/input/Input.mjs +27 -0
  946. package/es/schema-component/antd/input/Json.mjs +60 -0
  947. package/es/schema-component/antd/input/ReadPretty.mjs +153 -0
  948. package/es/schema-component/antd/input/__tests__/Input.test.mjs +115 -0
  949. package/es/schema-component/antd/input/demos/input.mjs +40 -0
  950. package/es/schema-component/antd/input/demos/json.mjs +46 -0
  951. package/es/schema-component/antd/input/demos/textarea.mjs +68 -0
  952. package/es/schema-component/antd/input/demos/url.mjs +42 -0
  953. package/es/schema-component/antd/input/index.mjs +5 -0
  954. package/es/schema-component/antd/input/shared.mjs +8 -0
  955. package/es/schema-component/antd/input-number/InputNumber.mjs +19 -0
  956. package/es/schema-component/antd/input-number/ReadPretty.mjs +115 -0
  957. package/es/schema-component/antd/input-number/__tests__/input-number.test.mjs +116 -0
  958. package/es/schema-component/antd/input-number/demos/addonBefore&addonAfter.mjs +48 -0
  959. package/es/schema-component/antd/input-number/demos/highPrecisionDecimals.mjs +50 -0
  960. package/es/schema-component/antd/input-number/demos/inputNumber.mjs +40 -0
  961. package/es/schema-component/antd/input-number/index.mjs +1 -0
  962. package/es/schema-component/antd/list/List.Decorator.mjs +94 -0
  963. package/es/schema-component/antd/list/List.Designer.mjs +206 -0
  964. package/es/schema-component/antd/list/List.Item.mjs +53 -0
  965. package/es/schema-component/antd/list/List.mjs +80 -0
  966. package/es/schema-component/antd/list/List.style.mjs +55 -0
  967. package/es/schema-component/antd/list/__tests__/list.test.mjs +9 -0
  968. package/es/schema-component/antd/list/demos/demo1.mjs +6 -0
  969. package/es/schema-component/antd/list/hooks.mjs +11 -0
  970. package/es/schema-component/antd/list/index.mjs +1 -0
  971. package/es/schema-component/antd/markdown/Markdown.Void.Designer.mjs +27 -0
  972. package/es/schema-component/antd/markdown/Markdown.Void.mjs +110 -0
  973. package/es/schema-component/antd/markdown/Markdown.mjs +46 -0
  974. package/es/schema-component/antd/markdown/__tests__/markdown.test.mjs +27 -0
  975. package/es/schema-component/antd/markdown/demos/demo1.mjs +40 -0
  976. package/es/schema-component/antd/markdown/demos/demo2.mjs +51 -0
  977. package/es/schema-component/antd/markdown/index.mjs +1 -0
  978. package/es/schema-component/antd/markdown/style.mjs +220 -0
  979. package/es/schema-component/antd/markdown/util.mjs +38 -0
  980. package/es/schema-component/antd/menu/Menu.Designer.mjs +435 -0
  981. package/es/schema-component/antd/menu/Menu.mjs +591 -0
  982. package/es/schema-component/antd/menu/Menu.styles.mjs +77 -0
  983. package/es/schema-component/antd/menu/MenuItemInitializers/index.mjs +11 -0
  984. package/es/schema-component/antd/menu/__tests__/menu.test.mjs +38 -0
  985. package/es/schema-component/antd/menu/demos/demo1.mjs +93 -0
  986. package/es/schema-component/antd/menu/demos/demo2.mjs +96 -0
  987. package/es/schema-component/antd/menu/demos/demo3.mjs +135 -0
  988. package/es/schema-component/antd/menu/index.mjs +3 -0
  989. package/es/schema-component/antd/menu/locale.mjs +3 -0
  990. package/es/schema-component/antd/menu/util.mjs +34 -0
  991. package/es/schema-component/antd/nanoIDInput/NanoIDInput.mjs +33 -0
  992. package/es/schema-component/antd/nanoIDInput/index.mjs +1 -0
  993. package/es/schema-component/antd/page/FixedBlock.mjs +96 -0
  994. package/es/schema-component/antd/page/FixedBlockDesignerItem.mjs +40 -0
  995. package/es/schema-component/antd/page/Page.Settings.mjs +147 -0
  996. package/es/schema-component/antd/page/Page.mjs +220 -0
  997. package/es/schema-component/antd/page/PageTab.Settings.mjs +88 -0
  998. package/es/schema-component/antd/page/PageTabDesigner.mjs +64 -0
  999. package/es/schema-component/antd/page/__tests__/page.test.mjs +18 -0
  1000. package/es/schema-component/antd/page/demos/demo1.mjs +38 -0
  1001. package/es/schema-component/antd/page/hooks/useIsBlockInPage.mjs +12 -0
  1002. package/es/schema-component/antd/page/index.mjs +5 -0
  1003. package/es/schema-component/antd/page/style.mjs +143 -0
  1004. package/es/schema-component/antd/pagination/index.mjs +22 -0
  1005. package/es/schema-component/antd/password/Password.mjs +80 -0
  1006. package/es/schema-component/antd/password/PasswordStrength.mjs +11 -0
  1007. package/es/schema-component/antd/password/__tests__/password.test.mjs +28 -0
  1008. package/es/schema-component/antd/password/__tests__/utils.test.mjs +21 -0
  1009. package/es/schema-component/antd/password/demos/demo1.mjs +40 -0
  1010. package/es/schema-component/antd/password/demos/demo2.mjs +43 -0
  1011. package/es/schema-component/antd/password/index.mjs +1 -0
  1012. package/es/schema-component/antd/password/utils.d.ts +1 -1
  1013. package/es/schema-component/antd/password/utils.mjs +104 -0
  1014. package/es/schema-component/antd/percent/Percent.mjs +34 -0
  1015. package/es/schema-component/antd/percent/__tests__/percent.test.mjs +16 -0
  1016. package/es/schema-component/antd/percent/demos/percent.mjs +40 -0
  1017. package/es/schema-component/antd/percent/index.mjs +1 -0
  1018. package/es/schema-component/antd/popover/Popover.mjs +39 -0
  1019. package/es/schema-component/antd/popover/index.mjs +1 -0
  1020. package/es/schema-component/antd/preview/Preview.mjs +273 -0
  1021. package/es/schema-component/antd/preview/__tests__/preview.test.mjs +11 -0
  1022. package/es/schema-component/antd/preview/demos/demo1.mjs +81 -0
  1023. package/es/schema-component/antd/preview/index.mjs +1 -0
  1024. package/es/schema-component/antd/quick-edit/QuickEdit.mjs +115 -0
  1025. package/es/schema-component/antd/quick-edit/index.mjs +1 -0
  1026. package/es/schema-component/antd/radio/Radio.mjs +40 -0
  1027. package/es/schema-component/antd/radio/__tests__/radio.test.mjs +43 -0
  1028. package/es/schema-component/antd/radio/demos/demo1.mjs +40 -0
  1029. package/es/schema-component/antd/radio/demos/demo2.mjs +52 -0
  1030. package/es/schema-component/antd/radio/demos/demo3.mjs +54 -0
  1031. package/es/schema-component/antd/radio/index.mjs +1 -0
  1032. package/es/schema-component/antd/record-picker/InputRecordPicker.mjs +252 -0
  1033. package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +120 -0
  1034. package/es/schema-component/antd/record-picker/RecordPicker.mjs +5 -0
  1035. package/es/schema-component/antd/record-picker/__tests__/record-picker.test.mjs +27 -0
  1036. package/es/schema-component/antd/record-picker/demos/demo1.mjs +175 -0
  1037. package/es/schema-component/antd/record-picker/demos/mockData.mjs +211 -0
  1038. package/es/schema-component/antd/record-picker/index.mjs +10 -0
  1039. package/es/schema-component/antd/record-picker/useFieldNames.mjs +12 -0
  1040. package/es/schema-component/antd/record-picker/util.mjs +37 -0
  1041. package/es/schema-component/antd/remote-select/ReadPretty.mjs +44 -0
  1042. package/es/schema-component/antd/remote-select/RemoteSelect.mjs +224 -0
  1043. package/es/schema-component/antd/remote-select/__tests__/remote-select.test.mjs +16 -0
  1044. package/es/schema-component/antd/remote-select/demos/demo1.mjs +55 -0
  1045. package/es/schema-component/antd/remote-select/index.mjs +1 -0
  1046. package/es/schema-component/antd/remote-select/shared.mjs +3 -0
  1047. package/es/schema-component/antd/rich-text/RichText.mjs +59 -0
  1048. package/es/schema-component/antd/rich-text/__tests__/rich-text.test.mjs +13 -0
  1049. package/es/schema-component/antd/rich-text/demos/demo1.mjs +41 -0
  1050. package/es/schema-component/antd/rich-text/index.mjs +1 -0
  1051. package/es/schema-component/antd/rich-text/style.mjs +813 -0
  1052. package/es/schema-component/antd/rich-text/style.mjs.LICENSE.txt +6 -0
  1053. package/es/schema-component/antd/scroll-area/ScrollArea.mjs +43 -0
  1054. package/es/schema-component/antd/scroll-area/index.mjs +1 -0
  1055. package/es/schema-component/antd/select/FormulaSelect.mjs +196 -0
  1056. package/es/schema-component/antd/select/ReadPretty.mjs +33 -0
  1057. package/es/schema-component/antd/select/Select.mjs +155 -0
  1058. package/es/schema-component/antd/select/__tests__/select.test.mjs +41 -0
  1059. package/es/schema-component/antd/select/__tests__/utils.test.mjs +129 -0
  1060. package/es/schema-component/antd/select/demos/demo1.mjs +72 -0
  1061. package/es/schema-component/antd/select/demos/demo2.mjs +76 -0
  1062. package/es/schema-component/antd/select/demos/demo3.mjs +84 -0
  1063. package/es/schema-component/antd/select/index.mjs +2 -0
  1064. package/es/schema-component/antd/select/utils.mjs +38 -0
  1065. package/es/schema-component/antd/space/index.mjs +19 -0
  1066. package/es/schema-component/antd/table/Table.Array.Designer.mjs +12 -0
  1067. package/es/schema-component/antd/table/Table.Array.mjs +293 -0
  1068. package/es/schema-component/antd/table/Table.Column.ActionBar.mjs +42 -0
  1069. package/es/schema-component/antd/table/Table.Column.Decorator.mjs +49 -0
  1070. package/es/schema-component/antd/table/Table.Column.Designer.mjs +144 -0
  1071. package/es/schema-component/antd/table/Table.Column.mjs +10 -0
  1072. package/es/schema-component/antd/table/Table.Designer.mjs +17 -0
  1073. package/es/schema-component/antd/table/Table.RowActionDesigner.mjs +33 -0
  1074. package/es/schema-component/antd/table/Table.RowSelection.mjs +29 -0
  1075. package/es/schema-component/antd/table/Table.Void.Designer.mjs +241 -0
  1076. package/es/schema-component/antd/table/Table.Void.mjs +119 -0
  1077. package/es/schema-component/antd/table/__tests__/table.test.mjs +21 -0
  1078. package/es/schema-component/antd/table/demos/demo1.mjs +63 -0
  1079. package/es/schema-component/antd/table/demos/demo2.mjs +63 -0
  1080. package/es/schema-component/antd/table/demos/demo3.mjs +63 -0
  1081. package/es/schema-component/antd/table/demos/demo4.mjs +217 -0
  1082. package/es/schema-component/antd/table/index.mjs +24 -0
  1083. package/es/schema-component/antd/table-v2/Table.ActionColumnDesigner.mjs +33 -0
  1084. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.mjs +49 -0
  1085. package/es/schema-component/antd/table-v2/Table.Column.Decorator.mjs +60 -0
  1086. package/es/schema-component/antd/table-v2/Table.Column.Designer.mjs +445 -0
  1087. package/es/schema-component/antd/table-v2/Table.Column.mjs +11 -0
  1088. package/es/schema-component/antd/table-v2/Table.Designer.mjs +17 -0
  1089. package/es/schema-component/antd/table-v2/Table.Index.mjs +10 -0
  1090. package/es/schema-component/antd/table-v2/Table.mjs +445 -0
  1091. package/es/schema-component/antd/table-v2/Table.styles.mjs +135 -0
  1092. package/es/schema-component/antd/table-v2/TableBlockDesigner.mjs +328 -0
  1093. package/es/schema-component/antd/table-v2/TableField.mjs +51 -0
  1094. package/es/schema-component/antd/table-v2/TableSelector.mjs +3 -0
  1095. package/es/schema-component/antd/table-v2/TableSelectorDesigner.mjs +272 -0
  1096. package/es/schema-component/antd/table-v2/__tests__/table-v2.test.mjs +13 -0
  1097. package/es/schema-component/antd/table-v2/components/ColumnFieldProvider.mjs +39 -0
  1098. package/es/schema-component/antd/table-v2/demos/collections.mjs +1560 -0
  1099. package/es/schema-component/antd/table-v2/demos/demo1.mjs +220 -0
  1100. package/es/schema-component/antd/table-v2/demos/demo2.mjs +117 -0
  1101. package/es/schema-component/antd/table-v2/index.mjs +21 -0
  1102. package/es/schema-component/antd/table-v2/utils.mjs +13 -0
  1103. package/es/schema-component/antd/tabs/Tabs.Designer.mjs +132 -0
  1104. package/es/schema-component/antd/tabs/Tabs.mjs +98 -0
  1105. package/es/schema-component/antd/tabs/__tests__/tabs.test.mjs +14 -0
  1106. package/es/schema-component/antd/tabs/context.mjs +12 -0
  1107. package/es/schema-component/antd/tabs/demos/demo1.mjs +67 -0
  1108. package/es/schema-component/antd/tabs/index.mjs +2 -0
  1109. package/es/schema-component/antd/time-picker/ReadPretty.mjs +21 -0
  1110. package/es/schema-component/antd/time-picker/TimePicker.mjs +22 -0
  1111. package/es/schema-component/antd/time-picker/__tests__/time-picker.test.mjs +45 -0
  1112. package/es/schema-component/antd/time-picker/demos/demo1.mjs +40 -0
  1113. package/es/schema-component/antd/time-picker/demos/demo2.mjs +40 -0
  1114. package/es/schema-component/antd/time-picker/index.mjs +1 -0
  1115. package/es/schema-component/antd/tree/Tree.mjs +82 -0
  1116. package/es/schema-component/antd/tree/index.mjs +3 -0
  1117. package/es/schema-component/antd/tree-select/ReadPretty.mjs +62 -0
  1118. package/es/schema-component/antd/tree-select/TreeSelect.mjs +14 -0
  1119. package/es/schema-component/antd/tree-select/__tests__/tree-select.test.mjs +14 -0
  1120. package/es/schema-component/antd/tree-select/demos/demo1.mjs +84 -0
  1121. package/es/schema-component/antd/tree-select/index.mjs +1 -0
  1122. package/es/schema-component/antd/unixTimestamp/UnixTimestamp.mjs +42 -0
  1123. package/es/schema-component/antd/unixTimestamp/index.mjs +1 -0
  1124. package/es/schema-component/antd/upload/ReadPretty.mjs +199 -0
  1125. package/es/schema-component/antd/upload/Upload.mjs +330 -0
  1126. package/es/schema-component/antd/upload/__tests__/upload.test.mjs +13 -0
  1127. package/es/schema-component/antd/upload/demos/apiClient.mjs +43 -0
  1128. package/es/schema-component/antd/upload/demos/demo1.mjs +48 -0
  1129. package/es/schema-component/antd/upload/demos/demo2.mjs +115 -0
  1130. package/es/schema-component/antd/upload/index.mjs +1 -0
  1131. package/es/schema-component/antd/upload/placeholder.mjs +63 -0
  1132. package/es/schema-component/antd/upload/shared.mjs +185 -0
  1133. package/es/schema-component/antd/upload/style.mjs +75 -0
  1134. package/es/schema-component/antd/upload/type.d.mjs +1 -0
  1135. package/es/schema-component/antd/variable/CodeMirror.mjs +98 -0
  1136. package/es/schema-component/antd/variable/Input.mjs +310 -0
  1137. package/es/schema-component/antd/variable/JSONInput.mjs +37 -0
  1138. package/es/schema-component/antd/variable/RawTextArea.mjs +99 -0
  1139. package/es/schema-component/antd/variable/TextArea.mjs +387 -0
  1140. package/es/schema-component/antd/variable/Variable.mjs +30 -0
  1141. package/es/schema-component/antd/variable/VariableSelect.mjs +66 -0
  1142. package/es/schema-component/antd/variable/VariableSelect.style.mjs +30 -0
  1143. package/es/schema-component/antd/variable/XButton.mjs +21 -0
  1144. package/es/schema-component/antd/variable/__tests__/variable.test.mjs +45 -0
  1145. package/es/schema-component/antd/variable/demos/demo1.mjs +44 -0
  1146. package/es/schema-component/antd/variable/demos/demo2.mjs +44 -0
  1147. package/es/schema-component/antd/variable/demos/demo3.mjs +44 -0
  1148. package/es/schema-component/antd/variable/index.mjs +1 -0
  1149. package/es/schema-component/antd/variable/style.mjs +175 -0
  1150. package/es/schema-component/common/dnd-context/index.mjs +100 -0
  1151. package/es/schema-component/common/index.mjs +2 -0
  1152. package/es/schema-component/common/infinite-scroll/infinite-scroll.mjs +123 -0
  1153. package/es/schema-component/common/infinite-scroll/style.mjs +28 -0
  1154. package/es/schema-component/common/sortable-item/SortableItem.mjs +131 -0
  1155. package/es/schema-component/common/sortable-item/index.mjs +1 -0
  1156. package/es/schema-component/common/utils/logic.mjs +386 -0
  1157. package/es/schema-component/common/utils/uitls.mjs +111 -0
  1158. package/es/schema-component/context.mjs +4 -0
  1159. package/es/schema-component/core/DesignableSwitch.mjs +37 -0
  1160. package/es/schema-component/core/FormProvider.mjs +53 -0
  1161. package/es/schema-component/core/RemoteSchemaComponent.mjs +44 -0
  1162. package/es/schema-component/core/SchemaComponent.mjs +60 -0
  1163. package/es/schema-component/core/SchemaComponentOptions.mjs +44 -0
  1164. package/es/schema-component/core/SchemaComponentPlugin.d.ts +5 -0
  1165. package/es/schema-component/core/SchemaComponentPlugin.mjs +13 -0
  1166. package/es/schema-component/core/SchemaComponentProvider.mjs +84 -0
  1167. package/es/schema-component/core/index.d.ts +1 -6
  1168. package/es/schema-component/core/index.mjs +7 -0
  1169. package/es/schema-component/demos/demo1.mjs +89 -0
  1170. package/es/schema-component/demos/demo2.mjs +23 -0
  1171. package/es/schema-component/demos/demo3.mjs +24 -0
  1172. package/es/schema-component/demos/demo4.mjs +24 -0
  1173. package/es/schema-component/hooks/__tests__/designable.test.mjs +548 -0
  1174. package/es/schema-component/hooks/__tests__/splitWrapSchema.test.mjs +89 -0
  1175. package/es/schema-component/hooks/index.mjs +12 -0
  1176. package/es/schema-component/hooks/useAttach.mjs +16 -0
  1177. package/es/schema-component/hooks/useCompile.mjs +40 -0
  1178. package/es/schema-component/hooks/useComponent.mjs +10 -0
  1179. package/es/schema-component/hooks/useDesignable.mjs +675 -0
  1180. package/es/schema-component/hooks/useDesigner.mjs +19 -0
  1181. package/es/schema-component/hooks/useFieldComponentOptions.mjs +87 -0
  1182. package/es/schema-component/hooks/useFieldModeOptions.mjs +283 -0
  1183. package/es/schema-component/hooks/useFieldProps.mjs +18 -0
  1184. package/es/schema-component/hooks/useFieldTitle.mjs +22 -0
  1185. package/es/schema-component/hooks/useProps.mjs +13 -0
  1186. package/es/schema-component/hooks/useSchemaComponentContext.mjs +6 -0
  1187. package/es/schema-component/hooks/useTableSize.mjs +31 -0
  1188. package/es/schema-component/index.mjs +6 -0
  1189. package/es/schema-component/types.mjs +1 -0
  1190. package/es/schema-initializer/SchemaInitializerPlugin.d.ts +4 -0
  1191. package/es/schema-initializer/SchemaInitializerPlugin.mjs +126 -0
  1192. package/es/schema-initializer/buttons/CustomFormItemInitializers.mjs +46 -0
  1193. package/es/schema-initializer/buttons/FormItemInitializers.mjs +152 -0
  1194. package/es/schema-initializer/buttons/RecordBlockInitializers.mjs +375 -0
  1195. package/es/schema-initializer/buttons/SubTableActionInitializers.mjs +35 -0
  1196. package/es/schema-initializer/buttons/TabPaneInitializers.mjs +162 -0
  1197. package/es/schema-initializer/buttons/index.mjs +6 -0
  1198. package/es/schema-initializer/components/CreateRecordAction.mjs +340 -0
  1199. package/es/schema-initializer/components/DeletedField.mjs +13 -0
  1200. package/es/schema-initializer/components/assigned-field/AssignedField.mjs +119 -0
  1201. package/es/schema-initializer/components/assigned-field/index.mjs +1 -0
  1202. package/es/schema-initializer/components/index.mjs +2 -0
  1203. package/es/schema-initializer/demos/basic.mjs +62 -0
  1204. package/es/schema-initializer/demos/build-type.mjs +83 -0
  1205. package/es/schema-initializer/demos/custom-button.mjs +94 -0
  1206. package/es/schema-initializer/demos/custom-items-component.mjs +100 -0
  1207. package/es/schema-initializer/demos/dynamic-visible-children.mjs +81 -0
  1208. package/es/schema-initializer/demos/insert-schema-action.mjs +92 -0
  1209. package/es/schema-initializer/demos/insert-schema-basic.mjs +112 -0
  1210. package/es/schema-initializer/demos/insert-schema-form-item.mjs +136 -0
  1211. package/es/schema-initializer/demos/nested-items.mjs +148 -0
  1212. package/es/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.mjs +21 -0
  1213. package/es/schema-initializer/index.d.ts +1 -4
  1214. package/es/schema-initializer/index.mjs +20 -0
  1215. package/es/schema-initializer/items/ActionInitializer.mjs +14 -0
  1216. package/es/schema-initializer/items/BlockInitializer.mjs +27 -0
  1217. package/es/schema-initializer/items/CreateFilterActionInitializer.mjs +21 -0
  1218. package/es/schema-initializer/items/CreateResetActionInitializer.mjs +16 -0
  1219. package/es/schema-initializer/items/CustomFilterFormItemInitializer.mjs +461 -0
  1220. package/es/schema-initializer/items/CustomizeActionInitializer.mjs +12 -0
  1221. package/es/schema-initializer/items/DataBlockInitializer.mjs +310 -0
  1222. package/es/schema-initializer/items/DeleteEventActionInitializer.mjs +24 -0
  1223. package/es/schema-initializer/items/FilterBlockInitializer.mjs +3 -0
  1224. package/es/schema-initializer/items/G2PlotInitializer.mjs +16 -0
  1225. package/es/schema-initializer/items/InitializerWithSwitch.mjs +25 -0
  1226. package/es/schema-initializer/items/RecordAssociationBlockInitializer.mjs +55 -0
  1227. package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.mjs +55 -0
  1228. package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.mjs +81 -0
  1229. package/es/schema-initializer/items/RecordAssociationGridCardBlockInitializer.mjs +55 -0
  1230. package/es/schema-initializer/items/RecordAssociationListBlockInitializer.mjs +55 -0
  1231. package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.mjs +80 -0
  1232. package/es/schema-initializer/items/SelectActionInitializer.mjs +63 -0
  1233. package/es/schema-initializer/items/SubmitActionInitializer.mjs +21 -0
  1234. package/es/schema-initializer/items/TableActionColumnInitializer.mjs +39 -0
  1235. package/es/schema-initializer/items/index.mjs +23 -0
  1236. package/es/schema-initializer/style.mjs +17 -0
  1237. package/es/schema-initializer/utils.mjs +1368 -0
  1238. package/es/schema-items/GeneralSchemaItems.mjs +150 -0
  1239. package/es/schema-items/GeneralSettings.mjs +207 -0
  1240. package/es/schema-items/OpenModeSchemaItems.mjs +186 -0
  1241. package/es/schema-items/index.mjs +2 -0
  1242. package/es/schema-settings/DataTemplates/FormDataTemplates.mjs +274 -0
  1243. package/es/schema-settings/DataTemplates/TreeLabel.mjs +30 -0
  1244. package/es/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +46 -0
  1245. package/es/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +256 -0
  1246. package/es/schema-settings/DataTemplates/components/DataTemplateTitle.style.mjs +7 -0
  1247. package/es/schema-settings/DataTemplates/components/Designer.mjs +159 -0
  1248. package/es/schema-settings/DataTemplates/hooks/useCollectionState.mjs +270 -0
  1249. package/es/schema-settings/DataTemplates/index.mjs +1 -0
  1250. package/es/schema-settings/DataTemplates/utils.mjs +233 -0
  1251. package/es/schema-settings/DateFormat/ExpiresRadio.mjs +122 -0
  1252. package/es/schema-settings/EditCustomDefaultValue.mjs +108 -0
  1253. package/es/schema-settings/EditFormulaTitleField.d.ts +2 -2
  1254. package/es/schema-settings/EditFormulaTitleField.mjs +97 -0
  1255. package/es/schema-settings/EnableChildCollections/DynamicComponent.mjs +64 -0
  1256. package/es/schema-settings/EnableChildCollections/index.mjs +101 -0
  1257. package/es/schema-settings/GeneralSchemaDesigner.mjs +264 -0
  1258. package/es/schema-settings/LinkageRules/DynamicComponent.mjs +56 -0
  1259. package/es/schema-settings/LinkageRules/LinkageRuleAction.mjs +223 -0
  1260. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.mjs +83 -0
  1261. package/es/schema-settings/LinkageRules/ValueDynamicComponent.mjs +156 -0
  1262. package/es/schema-settings/LinkageRules/Variables.mjs +98 -0
  1263. package/es/schema-settings/LinkageRules/action-hooks.mjs +103 -0
  1264. package/es/schema-settings/LinkageRules/components/EnableLinkage.mjs +38 -0
  1265. package/es/schema-settings/LinkageRules/components/LinkageHeader.mjs +254 -0
  1266. package/es/schema-settings/LinkageRules/components/LinkageHeader.style.mjs +7 -0
  1267. package/es/schema-settings/LinkageRules/context.mjs +8 -0
  1268. package/es/schema-settings/LinkageRules/index.mjs +194 -0
  1269. package/es/schema-settings/LinkageRules/type.mjs +15 -0
  1270. package/es/schema-settings/LinkageRules/useValues.mjs +68 -0
  1271. package/es/schema-settings/SchemaSettingCollection.mjs +50 -0
  1272. package/es/schema-settings/SchemaSettingComponent.d.ts +1 -1
  1273. package/es/schema-settings/SchemaSettingComponent.mjs +38 -0
  1274. package/es/schema-settings/SchemaSettings.mjs +1334 -0
  1275. package/es/schema-settings/SchemaSettingsDataScope.mjs +100 -0
  1276. package/es/schema-settings/SchemaSettingsDateFormat.mjs +199 -0
  1277. package/es/schema-settings/SchemaSettingsDefaultValue.mjs +204 -0
  1278. package/es/schema-settings/SchemaSettingsNumberFormat.mjs +178 -0
  1279. package/es/schema-settings/SchemaSettingsPlugin.mjs +108 -0
  1280. package/es/schema-settings/SchemaSettingsSortingRule.mjs +123 -0
  1281. package/es/schema-settings/VariableInput/VariableInput.mjs +164 -0
  1282. package/es/schema-settings/VariableInput/hooks/index.mjs +3 -0
  1283. package/es/schema-settings/VariableInput/hooks/useBaseVariable.mjs +160 -0
  1284. package/es/schema-settings/VariableInput/hooks/useBlockCollection.mjs +10 -0
  1285. package/es/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +97 -0
  1286. package/es/schema-settings/VariableInput/hooks/useDateVariable.mjs +163 -0
  1287. package/es/schema-settings/VariableInput/hooks/useFilterVariable.mjs +52 -0
  1288. package/es/schema-settings/VariableInput/hooks/useFormVariable.mjs +42 -0
  1289. package/es/schema-settings/VariableInput/hooks/useIterationVariable.mjs +45 -0
  1290. package/es/schema-settings/VariableInput/hooks/useParentRecordVariable.mjs +43 -0
  1291. package/es/schema-settings/VariableInput/hooks/usePopupVariable.mjs +24 -0
  1292. package/es/schema-settings/VariableInput/hooks/useRecordVariable.mjs +38 -0
  1293. package/es/schema-settings/VariableInput/hooks/useRoleVariable.mjs +41 -0
  1294. package/es/schema-settings/VariableInput/hooks/useUserVariable.mjs +41 -0
  1295. package/es/schema-settings/VariableInput/hooks/useVariableOptions.mjs +102 -0
  1296. package/es/schema-settings/VariableInput/index.mjs +2 -0
  1297. package/es/schema-settings/VariableInput/type.mjs +0 -0
  1298. package/es/schema-settings/VariableInput/utils/formatVariableScop.mjs +11 -0
  1299. package/es/schema-settings/demos/basic.mjs +60 -0
  1300. package/es/schema-settings/demos/built-type.mjs +142 -0
  1301. package/es/schema-settings/demos/custom-component.mjs +42 -0
  1302. package/es/schema-settings/demos/demo3.mjs +100 -0
  1303. package/es/schema-settings/demos/schema-basic.mjs +64 -0
  1304. package/es/schema-settings/filter-form/FormFilterScope.mjs +109 -0
  1305. package/es/schema-settings/filter-form/context.mjs +6 -0
  1306. package/es/schema-settings/hooks/useFilterFormCustomProps.mjs +16 -0
  1307. package/es/schema-settings/hooks/useGetAriaLabelOfDesigner.mjs +24 -0
  1308. package/es/schema-settings/hooks/useIsAllowToSetDefaultValue.mjs +67 -0
  1309. package/es/schema-settings/hooks/useIsShowMultipleSwitch.mjs +16 -0
  1310. package/es/schema-settings/hooks/useParseDataScopeFilter.d.ts +2 -2
  1311. package/es/schema-settings/hooks/useParseDataScopeFilter.mjs +54 -0
  1312. package/es/schema-settings/index.d.ts +2 -2
  1313. package/es/schema-settings/index.mjs +18 -0
  1314. package/es/schema-settings/isPatternDisabled.mjs +5 -0
  1315. package/es/schema-settings/styles.mjs +84 -0
  1316. package/es/schema-settings/types.mjs +0 -0
  1317. package/es/schema-templates/BlockTemplate.mjs +41 -0
  1318. package/es/schema-templates/BlockTemplateDetails.mjs +100 -0
  1319. package/es/schema-templates/BlockTemplatePage.mjs +32 -0
  1320. package/es/schema-templates/SchemaTemplateManagerProvider.mjs +74 -0
  1321. package/es/schema-templates/collections/uiSchemaTemplates.mjs +19 -0
  1322. package/es/schema-templates/index.mjs +4 -0
  1323. package/es/schema-templates/schemas/CollectionTitle.mjs +37 -0
  1324. package/es/schema-templates/schemas/uiSchemaTemplates.mjs +231 -0
  1325. package/es/schema-templates/useSchemaTemplateManager.mjs +88 -0
  1326. package/es/style/css-variable/CSSVariableProvider.mjs +74 -0
  1327. package/es/style/css-variable/index.mjs +3 -0
  1328. package/es/style/index.d.ts +2 -2
  1329. package/es/style/index.mjs +11 -0
  1330. package/es/style/theme/AntdAppProvider.mjs +35 -0
  1331. package/es/style/theme/defaultTheme.mjs +19 -0
  1332. package/es/style/theme/index.mjs +63 -0
  1333. package/es/style/theme/type.mjs +0 -0
  1334. package/es/style/useToken.mjs +6 -0
  1335. package/es/testUtils/index.mjs +1 -0
  1336. package/es/testUtils/mockAPIClient.mjs +32 -0
  1337. package/es/user/ChangePassword.mjs +157 -0
  1338. package/es/user/CurrentUser.mjs +222 -0
  1339. package/es/user/CurrentUserProvider.mjs +59 -0
  1340. package/es/user/CurrentUserSettingsMenuProvider.mjs +69 -0
  1341. package/es/user/EditProfile.mjs +149 -0
  1342. package/es/user/LanguageSettings.mjs +46 -0
  1343. package/es/user/SwitchRole.mjs +41 -0
  1344. package/es/user/VerificationCode.mjs +83 -0
  1345. package/es/user/__tests__/current-user-settings-menu-provider.test.mjs +36 -0
  1346. package/es/user/index.mjs +3 -0
  1347. package/es/variables/VariablesProvider.mjs +214 -0
  1348. package/es/variables/__tests__/useVariables.test.mjs +406 -0
  1349. package/es/variables/__tests__/utils/filterEmptyValues.test.mjs +46 -0
  1350. package/es/variables/__tests__/utils/getPath.test.mjs +4 -0
  1351. package/es/variables/__tests__/utils/getVariableName.test.mjs +4 -0
  1352. package/es/variables/__tests__/utils/isVariable.test.mjs +22 -0
  1353. package/es/variables/__tests__/utils/transformVariableValue.test.mjs +136 -0
  1354. package/es/variables/__tests__/utils/uniq.test.mjs +77 -0
  1355. package/es/variables/constants.mjs +2 -0
  1356. package/es/variables/hooks/useBuiltinVariables.mjs +51 -0
  1357. package/es/variables/hooks/useContextVariable.mjs +27 -0
  1358. package/es/variables/hooks/useLocalVariables.mjs +68 -0
  1359. package/es/variables/hooks/useVariables.mjs +5 -0
  1360. package/es/variables/index.mjs +15 -0
  1361. package/es/variables/types.mjs +0 -0
  1362. package/es/variables/utils/filterEmptyValues.mjs +5 -0
  1363. package/es/variables/utils/getAction.mjs +8 -0
  1364. package/es/variables/utils/getPath.mjs +7 -0
  1365. package/es/variables/utils/getVariableName.mjs +10 -0
  1366. package/es/variables/utils/hasRequested.mjs +13 -0
  1367. package/es/variables/utils/isVariable.mjs +8 -0
  1368. package/es/variables/utils/transformVariableValue.mjs +30 -0
  1369. package/es/variables/utils/uniq.mjs +10 -0
  1370. package/lib/api-client/APIClient.js +179 -0
  1371. package/lib/api-client/APIClientProvider.js +45 -0
  1372. package/lib/api-client/__tests__/APIClient.test.js +90 -0
  1373. package/lib/api-client/context.js +39 -0
  1374. package/lib/api-client/demos/demo1.js +80 -0
  1375. package/lib/api-client/demos/demo2.js +79 -0
  1376. package/lib/api-client/demos/demo3.js +122 -0
  1377. package/lib/api-client/hooks/assign.js +110 -0
  1378. package/lib/api-client/hooks/index.js +83 -0
  1379. package/lib/api-client/hooks/useAPIClient.js +40 -0
  1380. package/lib/api-client/hooks/useRequest.js +72 -0
  1381. package/lib/api-client/hooks/useResource.js +40 -0
  1382. package/lib/api-client/index.js +92 -0
  1383. package/lib/application/AppSchemaComponentProvider.js +63 -0
  1384. package/lib/application/Application.js +360 -0
  1385. package/lib/application/AttachmentPreviewManager.js +67 -0
  1386. package/lib/application/NoticesManager.js +154 -0
  1387. package/lib/application/Plugin.js +96 -0
  1388. package/lib/application/PluginContextMenu.js +65 -0
  1389. package/lib/application/PluginManager.js +117 -0
  1390. package/lib/application/RouterManager.js +150 -0
  1391. package/lib/application/SystemSettingsManager.js +145 -0
  1392. package/lib/application/UserSettingsManager.js +147 -0
  1393. package/lib/application/WebSocketClient.js +190 -0
  1394. package/lib/application/__tests__/Application.test.js +517 -0
  1395. package/lib/application/__tests__/Plugin.test.js +233 -0
  1396. package/lib/application/__tests__/PluginSettingsManager.test.js +192 -0
  1397. package/lib/application/__tests__/RouterManager.test.js +347 -0
  1398. package/lib/application/__tests__/SchemaInitializer.test.js +170 -0
  1399. package/lib/application/__tests__/SchemaToolbar.test.js +150 -0
  1400. package/lib/application/__tests__/hoc/withDynamicSchemaProps.test.js +194 -0
  1401. package/lib/application/__tests__/hooks.test.js +92 -0
  1402. package/lib/application/__tests__/utils/remotePlugins.test.js +325 -0
  1403. package/lib/application/__tests__/utils.test.js +106 -0
  1404. package/lib/application/components/AppComponent.js +89 -0
  1405. package/lib/application/components/BlankComponent.js +43 -0
  1406. package/lib/application/components/MainComponent.js +65 -0
  1407. package/lib/application/components/RouterContextCleaner.js +64 -0
  1408. package/lib/application/components/defaultComponents.js +59 -0
  1409. package/lib/application/components/index.js +92 -0
  1410. package/lib/application/context.js +38 -0
  1411. package/lib/application/demos/demo1.js +144 -0
  1412. package/lib/application/demos/demo2.js +160 -0
  1413. package/lib/application/demos/demo3.js +46 -0
  1414. package/lib/application/hoc/index.js +65 -0
  1415. package/lib/application/hoc/withDynamicSchemaProps.js +164 -0
  1416. package/lib/application/hooks/index.js +83 -0
  1417. package/lib/application/hooks/useApp.js +38 -0
  1418. package/lib/application/hooks/usePlugin.js +40 -0
  1419. package/lib/application/hooks/useRouter.js +40 -0
  1420. package/lib/application/index.js +233 -0
  1421. package/lib/application/schema-initializer/SchemaInitializer.js +112 -0
  1422. package/lib/application/schema-initializer/SchemaInitializerManager.js +108 -0
  1423. package/lib/application/schema-initializer/components/SchemaInitializerActionModal.js +145 -0
  1424. package/lib/application/schema-initializer/components/SchemaInitializerButton.js +87 -0
  1425. package/lib/application/schema-initializer/components/SchemaInitializerChildren.js +104 -0
  1426. package/lib/application/schema-initializer/components/SchemaInitializerDivider.js +47 -0
  1427. package/lib/application/schema-initializer/components/SchemaInitializerItem.js +139 -0
  1428. package/lib/application/schema-initializer/components/SchemaInitializerItemGroup.js +71 -0
  1429. package/lib/application/schema-initializer/components/SchemaInitializerItems.js +45 -0
  1430. package/lib/application/schema-initializer/components/SchemaInitializerSelect.js +98 -0
  1431. package/lib/application/schema-initializer/components/SchemaInitializerSubMenu.js +157 -0
  1432. package/lib/application/schema-initializer/components/SchemaInitializerSwitch.js +73 -0
  1433. package/lib/application/schema-initializer/components/index.js +146 -0
  1434. package/lib/application/schema-initializer/components/style.js +75 -0
  1435. package/lib/application/schema-initializer/context/index.js +59 -0
  1436. package/lib/application/schema-initializer/hoc/index.js +165 -0
  1437. package/lib/application/schema-initializer/hooks/index.js +251 -0
  1438. package/lib/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.js +51 -0
  1439. package/lib/application/schema-initializer/index.js +119 -0
  1440. package/lib/application/schema-initializer/types.js +19 -0
  1441. package/lib/application/schema-settings/SchemaSettings.js +107 -0
  1442. package/lib/application/schema-settings/SchemaSettingsDefaults.js +249 -0
  1443. package/lib/application/schema-settings/SchemaSettingsManager.js +108 -0
  1444. package/lib/application/schema-settings/components/SchemaSettingsChildren.js +125 -0
  1445. package/lib/application/schema-settings/components/SchemaSettingsIcon.js +67 -0
  1446. package/lib/application/schema-settings/components/SchemaSettingsWrapper.js +81 -0
  1447. package/lib/application/schema-settings/components/index.js +74 -0
  1448. package/lib/application/schema-settings/context/index.js +42 -0
  1449. package/lib/application/schema-settings/hooks/index.js +92 -0
  1450. package/lib/application/schema-settings/index.js +110 -0
  1451. package/lib/application/schema-settings/types.js +19 -0
  1452. package/lib/application/schema-toolbar/context/index.js +51 -0
  1453. package/lib/application/schema-toolbar/hooks/index.js +59 -0
  1454. package/lib/application/schema-toolbar/index.js +74 -0
  1455. package/lib/application/utils/globalDeps.js +112 -0
  1456. package/lib/application/utils/index.js +74 -0
  1457. package/lib/application/utils/remotePlugins.js +153 -0
  1458. package/lib/async-data-provider/index.js +57 -0
  1459. package/lib/block-provider/BlockProvider.js +373 -0
  1460. package/lib/block-provider/DetailsBlockProvider.js +149 -0
  1461. package/lib/block-provider/FilterFormBlockProvider.js +53 -0
  1462. package/lib/block-provider/FormBlockProvider.js +220 -0
  1463. package/lib/block-provider/FormFieldProvider.js +122 -0
  1464. package/lib/block-provider/MobileProvider.js +50 -0
  1465. package/lib/block-provider/PageLayout.js +43 -0
  1466. package/lib/block-provider/TableBlockProvider.js +147 -0
  1467. package/lib/block-provider/TableFieldProvider.js +202 -0
  1468. package/lib/block-provider/TableSelectorProvider.js +338 -0
  1469. package/lib/block-provider/TreeBlockProvider.js +154 -0
  1470. package/lib/block-provider/hooks/index.js +1559 -0
  1471. package/lib/block-provider/hooks/useDataBlockSourceId.js +48 -0
  1472. package/lib/block-provider/hooks/useFormActiveFields.js +69 -0
  1473. package/lib/block-provider/hooks/useIsMobile.js +41 -0
  1474. package/lib/block-provider/hooks/useParsedFilter.js +96 -0
  1475. package/lib/block-provider/index.js +155 -0
  1476. package/lib/built-in/acl/ACLPlugin.js +47 -0
  1477. package/lib/built-in/acl/ACLProvider.js +328 -0
  1478. package/lib/built-in/acl/ACLShortcut.js +57 -0
  1479. package/lib/built-in/acl/Configuration/ConfigureCenter.js +158 -0
  1480. package/lib/built-in/acl/Configuration/MenuConfigure.js +181 -0
  1481. package/lib/built-in/acl/Configuration/MenuItemsProvider.js +76 -0
  1482. package/lib/built-in/acl/Configuration/PermisionProvider.js +105 -0
  1483. package/lib/built-in/acl/Configuration/RoleConfigure.js +175 -0
  1484. package/lib/built-in/acl/Configuration/RoleTable.js +75 -0
  1485. package/lib/built-in/acl/Configuration/RolesResourcesActions.js +251 -0
  1486. package/lib/built-in/acl/Configuration/ScopeSelect.js +76 -0
  1487. package/lib/built-in/acl/Configuration/StrategyActions.js +143 -0
  1488. package/lib/built-in/acl/Configuration/index.js +153 -0
  1489. package/lib/built-in/acl/Configuration/schemas/roles.js +443 -0
  1490. package/lib/built-in/acl/Configuration/schemas/scopes.js +397 -0
  1491. package/lib/built-in/acl/Configuration/schemas/useRoleResourceValues.js +69 -0
  1492. package/lib/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.js +57 -0
  1493. package/lib/built-in/acl/index.js +92 -0
  1494. package/lib/built-in/acl/style.js +57 -0
  1495. package/lib/built-in/admin-layout/AdminContent.js +47 -0
  1496. package/lib/built-in/admin-layout/AdminLayout.js +48 -0
  1497. package/lib/built-in/admin-layout/AdminLayoutPlugin.js +48 -0
  1498. package/lib/built-in/admin-layout/AdminProvider.js +70 -0
  1499. package/lib/built-in/admin-layout/AdminTabs.js +43 -0
  1500. package/lib/built-in/admin-layout/InternalAdminLayout.js +116 -0
  1501. package/lib/built-in/admin-layout/MenuEditor.js +150 -0
  1502. package/lib/built-in/admin-layout/NoticeArea.js +50 -0
  1503. package/lib/built-in/admin-layout/components/AddNewButton.js +89 -0
  1504. package/lib/built-in/admin-layout/components/WelcomeCard.js +115 -0
  1505. package/lib/built-in/admin-layout/filterByACL.js +51 -0
  1506. package/lib/built-in/admin-layout/index.js +137 -0
  1507. package/lib/built-in/admin-layout/style.js +176 -0
  1508. package/lib/built-in/assistant/Assistant.provider.js +125 -0
  1509. package/lib/built-in/assistant/ai-chat/index.js +378 -0
  1510. package/lib/built-in/assistant/ai-chat/index.module.js +64 -0
  1511. package/lib/built-in/assistant/ai-chat/index_module.css +257 -0
  1512. package/lib/built-in/assistant/calculator/AutoScalingText.js +67 -0
  1513. package/lib/built-in/assistant/calculator/Calculator.js +283 -0
  1514. package/lib/built-in/assistant/calculator/CalculatorDisplay.js +55 -0
  1515. package/lib/built-in/assistant/calculator/CalculatorKey.js +45 -0
  1516. package/lib/built-in/assistant/calculator/CalculatorProvider.js +65 -0
  1517. package/lib/built-in/assistant/calculator/Draggable.js +102 -0
  1518. package/lib/built-in/assistant/calculator/style.js +59 -0
  1519. package/lib/built-in/assistant/index.js +46 -0
  1520. package/lib/built-in/assistant/search-and-jump/index.js +96 -0
  1521. package/lib/built-in/attachment-preview/index.js +49 -0
  1522. package/lib/built-in/attachment-preview/interface.js +19 -0
  1523. package/lib/built-in/attachment-preview/previewers/file-default.js +117 -0
  1524. package/lib/built-in/attachment-preview/previewers/file-pdf.js +143 -0
  1525. package/lib/built-in/attachment-preview/previewers/file-pdf.style.js +79 -0
  1526. package/lib/built-in/attachment-preview/previewers/file-sheet.js +153 -0
  1527. package/lib/built-in/attachment-preview/previewers/file-sheet.style.js +79 -0
  1528. package/lib/built-in/attachment-preview/previewers/image-jpeg.js +68 -0
  1529. package/lib/built-in/attachment-preview/previewers/image-png.js +68 -0
  1530. package/lib/built-in/attachment-preview/previewers/image-svg.js +54 -0
  1531. package/lib/built-in/attachment-preview/previewers/index.js +110 -0
  1532. package/lib/built-in/block-schema-component/index.js +121 -0
  1533. package/lib/built-in/built-in-collections/index.js +94 -0
  1534. package/lib/built-in/context-menu/ContextMenu.provider.js +102 -0
  1535. package/lib/built-in/context-menu/ContextMenuItemsProps.js +183 -0
  1536. package/lib/built-in/context-menu/index.js +52 -0
  1537. package/lib/built-in/context-menu/useContextMenu.js +39 -0
  1538. package/lib/built-in/document-title/index.js +91 -0
  1539. package/lib/built-in/dynamic-page/DynamicPage.js +70 -0
  1540. package/lib/built-in/dynamic-page/index.js +109 -0
  1541. package/lib/built-in/dynamic-page/style.js +87 -0
  1542. package/lib/built-in/dynamic-page/utils.js +97 -0
  1543. package/lib/built-in/index.js +668 -0
  1544. package/lib/built-in/locale/LocalePlugin.js +132 -0
  1545. package/lib/built-in/locale/loadConstrueLocale.js +233 -0
  1546. package/lib/built-in/page-style/CustomAdminHeader.js +43 -0
  1547. package/lib/built-in/page-style/PageStyle.provider.js +67 -0
  1548. package/lib/built-in/page-style/TabContent.js +101 -0
  1549. package/lib/built-in/page-style/TabHeader.js +129 -0
  1550. package/lib/built-in/page-style/index.js +48 -0
  1551. package/lib/built-in/page-style/usePageStyle.js +38 -0
  1552. package/lib/built-in/page-style/useTabSettings.js +105 -0
  1553. package/lib/built-in/pinned-list/PinnedPluginListProvider.js +96 -0
  1554. package/lib/built-in/pinned-list/PluginPinnedList.js +42 -0
  1555. package/lib/built-in/pinned-list/context.js +40 -0
  1556. package/lib/built-in/pinned-list/index.js +74 -0
  1557. package/lib/built-in/pm/PluginCard.js +305 -0
  1558. package/lib/built-in/pm/PluginDetail.js +369 -0
  1559. package/lib/built-in/pm/PluginDocument.js +105 -0
  1560. package/lib/built-in/pm/PluginForm/form/PluginNpmForm.js +175 -0
  1561. package/lib/built-in/pm/PluginForm/form/PluginUploadForm.js +141 -0
  1562. package/lib/built-in/pm/PluginForm/form/PluginUrlForm.js +135 -0
  1563. package/lib/built-in/pm/PluginForm/modal/PluginAddModal.js +95 -0
  1564. package/lib/built-in/pm/PluginForm/modal/PluginUpgradeModal.js +99 -0
  1565. package/lib/built-in/pm/PluginManager.js +319 -0
  1566. package/lib/built-in/pm/index.js +90 -0
  1567. package/lib/built-in/pm/style.js +106 -0
  1568. package/lib/built-in/pm/types.js +19 -0
  1569. package/lib/built-in/quick-access/Action.js +124 -0
  1570. package/lib/built-in/quick-access/Block.js +163 -0
  1571. package/lib/built-in/quick-access/CustomRequestActionSchemaInitializerItem.js +125 -0
  1572. package/lib/built-in/quick-access/LinkActionSchemaInitializerItem.js +118 -0
  1573. package/lib/built-in/quick-access/ModalActionSchemaInitializerItem.js +126 -0
  1574. package/lib/built-in/quick-access/PopupActionSchemaInitializerItem.js +153 -0
  1575. package/lib/built-in/quick-access/SchemaSettingsBlockTitleItem.js +79 -0
  1576. package/lib/built-in/quick-access/blockInitializerItem.js +53 -0
  1577. package/lib/built-in/quick-access/blockSchema.js +53 -0
  1578. package/lib/built-in/quick-access/blockSettings.js +100 -0
  1579. package/lib/built-in/quick-access/configureActions.js +49 -0
  1580. package/lib/built-in/quick-access/index.js +65 -0
  1581. package/lib/built-in/scroll-assistant/ScrollAssistant.provider.js +76 -0
  1582. package/lib/built-in/scroll-assistant/ScrollAssistantStatus.provider.js +57 -0
  1583. package/lib/built-in/scroll-assistant/index.js +61 -0
  1584. package/lib/built-in/scroll-assistant/useJoystick.js +201 -0
  1585. package/lib/built-in/setting-layout/AdminSettings.js +161 -0
  1586. package/lib/built-in/setting-layout/SettingLayout.js +171 -0
  1587. package/lib/built-in/setting-layout/SettingsCenterDropdown.js +109 -0
  1588. package/lib/built-in/system-settings/SystemSettingsProvider.js +53 -0
  1589. package/lib/built-in/system-settings/SystemSettingsShortcut.js +196 -0
  1590. package/lib/built-in/system-settings/index.js +98 -0
  1591. package/lib/built-in/system-version/SystemVersion.provider.js +68 -0
  1592. package/lib/built-in/system-version/index.js +42 -0
  1593. package/lib/built-in/user-settings/UserSettingsLayout.js +203 -0
  1594. package/lib/built-in/user-settings/index.js +51 -0
  1595. package/lib/built-in/user-settings/style.js +106 -0
  1596. package/lib/collection-manager/CollectionHistoryProvider.js +94 -0
  1597. package/lib/collection-manager/CollectionManagerProvider.js +93 -0
  1598. package/lib/collection-manager/CollectionManagerSchemaComponentProvider.js +57 -0
  1599. package/lib/collection-manager/CollectionProvider_deprecated.js +55 -0
  1600. package/lib/collection-manager/Configuration/AddCollectionAction.js +259 -0
  1601. package/lib/collection-manager/Configuration/AddFieldAction.js +409 -0
  1602. package/lib/collection-manager/Configuration/AddSubFieldAction.js +174 -0
  1603. package/lib/collection-manager/Configuration/DeleteCollectionAction.js +257 -0
  1604. package/lib/collection-manager/Configuration/EditCollectionAction.js +223 -0
  1605. package/lib/collection-manager/Configuration/EditFieldAction.js +297 -0
  1606. package/lib/collection-manager/Configuration/EditSubFieldAction.js +163 -0
  1607. package/lib/collection-manager/Configuration/ImportCollectionMetaAction.js +176 -0
  1608. package/lib/collection-manager/Configuration/OverridingCollectionField.js +265 -0
  1609. package/lib/collection-manager/Configuration/SyncFieldsAction.js +233 -0
  1610. package/lib/collection-manager/Configuration/SyncSQLFieldsAction.js +200 -0
  1611. package/lib/collection-manager/Configuration/ViewInheritedField.js +188 -0
  1612. package/lib/collection-manager/Configuration/components/CollectionCategory.js +52 -0
  1613. package/lib/collection-manager/Configuration/components/CollectionFieldInterfaceTag.js +53 -0
  1614. package/lib/collection-manager/Configuration/components/CollectionTemplateTag.js +52 -0
  1615. package/lib/collection-manager/Configuration/components/FieldSummary.js +67 -0
  1616. package/lib/collection-manager/Configuration/components/Summary.js +95 -0
  1617. package/lib/collection-manager/Configuration/components/TemplateSummary.js +67 -0
  1618. package/lib/collection-manager/Configuration/components/index.js +360 -0
  1619. package/lib/collection-manager/Configuration/index.js +225 -0
  1620. package/lib/collection-manager/Configuration/interfaces.js +70 -0
  1621. package/lib/collection-manager/ResourceActionProvider.js +174 -0
  1622. package/lib/collection-manager/action-hooks.js +615 -0
  1623. package/lib/collection-manager/collectionPlugin.js +163 -0
  1624. package/lib/collection-manager/context.js +41 -0
  1625. package/lib/collection-manager/demos/demo2.js +140 -0
  1626. package/lib/collection-manager/demos/demo3.js +124 -0
  1627. package/lib/collection-manager/demos/demo4.js +202 -0
  1628. package/lib/collection-manager/demos/demo5.js +186 -0
  1629. package/lib/collection-manager/hooks/index.js +92 -0
  1630. package/lib/collection-manager/hooks/useCollectionDataSource.js +51 -0
  1631. package/lib/collection-manager/hooks/useCollectionField_deprecated.js +55 -0
  1632. package/lib/collection-manager/hooks/useCollectionManager_deprecated.js +272 -0
  1633. package/lib/collection-manager/hooks/useCollection_deprecated.js +88 -0
  1634. package/lib/collection-manager/hooks/useDialect.js +45 -0
  1635. package/lib/collection-manager/index.js +437 -0
  1636. package/lib/collection-manager/interfaces/__tests__/json.js +47 -0
  1637. package/lib/collection-manager/interfaces/checkbox.js +83 -0
  1638. package/lib/collection-manager/interfaces/checkboxGroup.js +77 -0
  1639. package/lib/collection-manager/interfaces/chinaRegion.js +136 -0
  1640. package/lib/collection-manager/interfaces/collection.js +77 -0
  1641. package/lib/collection-manager/interfaces/color.js +65 -0
  1642. package/lib/collection-manager/interfaces/components/index.js +88 -0
  1643. package/lib/collection-manager/interfaces/createdAt.js +69 -0
  1644. package/lib/collection-manager/interfaces/createdBy.js +89 -0
  1645. package/lib/collection-manager/interfaces/datetime.js +78 -0
  1646. package/lib/collection-manager/interfaces/email.js +76 -0
  1647. package/lib/collection-manager/interfaces/icon.js +62 -0
  1648. package/lib/collection-manager/interfaces/id.js +88 -0
  1649. package/lib/collection-manager/interfaces/index.js +407 -0
  1650. package/lib/collection-manager/interfaces/input.js +216 -0
  1651. package/lib/collection-manager/interfaces/integer.js +152 -0
  1652. package/lib/collection-manager/interfaces/json.js +109 -0
  1653. package/lib/collection-manager/interfaces/linkTo.js +126 -0
  1654. package/lib/collection-manager/interfaces/m2m.js +251 -0
  1655. package/lib/collection-manager/interfaces/m2o.js +193 -0
  1656. package/lib/collection-manager/interfaces/markdown.js +111 -0
  1657. package/lib/collection-manager/interfaces/multipleSelect.js +82 -0
  1658. package/lib/collection-manager/interfaces/nanoid.js +94 -0
  1659. package/lib/collection-manager/interfaces/number.js +165 -0
  1660. package/lib/collection-manager/interfaces/o2m.js +226 -0
  1661. package/lib/collection-manager/interfaces/o2o.js +488 -0
  1662. package/lib/collection-manager/interfaces/password.js +97 -0
  1663. package/lib/collection-manager/interfaces/percent.js +196 -0
  1664. package/lib/collection-manager/interfaces/phone.js +68 -0
  1665. package/lib/collection-manager/interfaces/properties/index.js +539 -0
  1666. package/lib/collection-manager/interfaces/properties/operators.js +436 -0
  1667. package/lib/collection-manager/interfaces/radioGroup.js +68 -0
  1668. package/lib/collection-manager/interfaces/richText.js +109 -0
  1669. package/lib/collection-manager/interfaces/select.js +80 -0
  1670. package/lib/collection-manager/interfaces/sort.js +140 -0
  1671. package/lib/collection-manager/interfaces/subTable.js +231 -0
  1672. package/lib/collection-manager/interfaces/tableoid.js +82 -0
  1673. package/lib/collection-manager/interfaces/textarea.js +109 -0
  1674. package/lib/collection-manager/interfaces/time.js +81 -0
  1675. package/lib/collection-manager/interfaces/types.js +19 -0
  1676. package/lib/collection-manager/interfaces/unixTimestamp.js +86 -0
  1677. package/lib/collection-manager/interfaces/updatedAt.js +69 -0
  1678. package/lib/collection-manager/interfaces/updatedBy.js +89 -0
  1679. package/lib/collection-manager/interfaces/url.js +68 -0
  1680. package/lib/collection-manager/interfaces/uuid.js +82 -0
  1681. package/lib/collection-manager/mixins/InheritanceCollectionMixin.js +221 -0
  1682. package/lib/collection-manager/sub-table.js +275 -0
  1683. package/lib/collection-manager/templates/components/PresetFields.js +262 -0
  1684. package/lib/collection-manager/templates/components/PreviewFields.js +357 -0
  1685. package/lib/collection-manager/templates/components/PreviewTable.js +174 -0
  1686. package/lib/collection-manager/templates/components/sql-collection/FieldsConfigure.js +328 -0
  1687. package/lib/collection-manager/templates/components/sql-collection/PreviewTable.js +94 -0
  1688. package/lib/collection-manager/templates/components/sql-collection/SQLInput.js +124 -0
  1689. package/lib/collection-manager/templates/components/sql-collection/SQLRequestProvider.js +85 -0
  1690. package/lib/collection-manager/templates/components/sql-collection/index.js +92 -0
  1691. package/lib/collection-manager/templates/expression.js +96 -0
  1692. package/lib/collection-manager/templates/general.js +54 -0
  1693. package/lib/collection-manager/templates/import.js +53 -0
  1694. package/lib/collection-manager/templates/index.js +110 -0
  1695. package/lib/collection-manager/templates/properties/index.js +104 -0
  1696. package/lib/collection-manager/templates/sql.js +119 -0
  1697. package/lib/collection-manager/templates/tree.js +112 -0
  1698. package/lib/collection-manager/templates/types.js +19 -0
  1699. package/lib/collection-manager/templates/view.js +193 -0
  1700. package/lib/collection-manager/types.js +19 -0
  1701. package/lib/collection-manager/utils.js +55 -0
  1702. package/lib/common/SelectWithTitle.js +78 -0
  1703. package/lib/common/appInfo/CurrentAppInfoProvider.js +53 -0
  1704. package/lib/common/appInfo/index.js +65 -0
  1705. package/lib/common/index.js +83 -0
  1706. package/lib/common/useFieldComponentName.js +57 -0
  1707. package/lib/common/useNiceDropdownHeight.js +52 -0
  1708. package/lib/data-source/__tests__/collection/AssociationProvider.test.js +120 -0
  1709. package/lib/data-source/__tests__/collection/Collection.test.js +304 -0
  1710. package/lib/data-source/__tests__/collection/CollectionManager.test.js +304 -0
  1711. package/lib/data-source/__tests__/collection/CollectionManagerProvider.test.js +121 -0
  1712. package/lib/data-source/__tests__/collection/CollectionProvider.test.js +113 -0
  1713. package/lib/data-source/__tests__/collection/ExtendCollectionsProvider.test.js +94 -0
  1714. package/lib/data-source/__tests__/collection-field/CollectionField.test.js +74 -0
  1715. package/lib/data-source/__tests__/collection-field/CollectionFieldProvider.test.js +58 -0
  1716. package/lib/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.js +169 -0
  1717. package/lib/data-source/__tests__/collection-record/CollectionRecord.test.js +28 -0
  1718. package/lib/data-source/__tests__/collection-record/CollectionRecordProvider.test.js +260 -0
  1719. package/lib/data-source/__tests__/collection-record/isNewRecord.test.js +52 -0
  1720. package/lib/data-source/__tests__/collection-template/CollectionTemplateManager.test.js +130 -0
  1721. package/lib/data-source/__tests__/components/CollectionDeletedPlaceholder.test.js +50 -0
  1722. package/lib/data-source/__tests__/data-block/DataBlockProvider.test.js +154 -0
  1723. package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.js +122 -0
  1724. package/lib/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.js +187 -0
  1725. package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-create.js +143 -0
  1726. package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.js +222 -0
  1727. package/lib/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.js +172 -0
  1728. package/lib/data-source/__tests__/data-block/data-block-demos/collection-table-list.js +128 -0
  1729. package/lib/data-source/__tests__/data-block/data-block-demos/createApp.js +103 -0
  1730. package/lib/data-source/__tests__/data-source/CollectionDataSourceProvider.test.js +42 -0
  1731. package/lib/data-source/__tests__/data-source/DataSource.test.js +82 -0
  1732. package/lib/data-source/__tests__/data-source/DataSourceManager.test.js +173 -0
  1733. package/lib/data-source/__tests__/data-source/DataSourceManagerProvider.test.js +37 -0
  1734. package/lib/data-source/__tests__/data-source/DataSourceProvider.test.js +86 -0
  1735. package/lib/data-source/__tests__/utils.test.js +62 -0
  1736. package/lib/data-source/collection/AssociationProvider.js +78 -0
  1737. package/lib/data-source/collection/Collection.js +211 -0
  1738. package/lib/data-source/collection/CollectionManager.js +153 -0
  1739. package/lib/data-source/collection/CollectionManagerProvider.js +84 -0
  1740. package/lib/data-source/collection/CollectionProvider.js +75 -0
  1741. package/lib/data-source/collection/ExtendCollectionsProvider.js +66 -0
  1742. package/lib/data-source/collection/index.js +110 -0
  1743. package/lib/data-source/collection/utils.js +85 -0
  1744. package/lib/data-source/collection-field/CollectionField.js +108 -0
  1745. package/lib/data-source/collection-field/CollectionFieldProvider.js +76 -0
  1746. package/lib/data-source/collection-field/index.js +74 -0
  1747. package/lib/data-source/collection-field-interface/CollectionFieldInterface.js +69 -0
  1748. package/lib/data-source/collection-field-interface/CollectionFieldInterfaceManager.js +95 -0
  1749. package/lib/data-source/collection-field-interface/index.js +74 -0
  1750. package/lib/data-source/collection-record/CollectionRecord.js +64 -0
  1751. package/lib/data-source/collection-record/CollectionRecordProvider.js +101 -0
  1752. package/lib/data-source/collection-record/index.js +74 -0
  1753. package/lib/data-source/collection-record/isNewRecord.js +44 -0
  1754. package/lib/data-source/collection-template/CollectionTemplate.js +68 -0
  1755. package/lib/data-source/collection-template/CollectionTemplateManager.js +88 -0
  1756. package/lib/data-source/collection-template/index.js +74 -0
  1757. package/lib/data-source/commonsSettingsItem/fieldComponent.js +105 -0
  1758. package/lib/data-source/commonsSettingsItem/index.js +65 -0
  1759. package/lib/data-source/components/CollectionDeletedPlaceholder.js +115 -0
  1760. package/lib/data-source/components/DataSourceApplicationProvider.js +49 -0
  1761. package/lib/data-source/components/index.js +74 -0
  1762. package/lib/data-source/data-block/DataBlockProvider.js +117 -0
  1763. package/lib/data-source/data-block/DataBlockRequestProvider.js +160 -0
  1764. package/lib/data-source/data-block/DataBlockResourceProvider.js +90 -0
  1765. package/lib/data-source/data-block/context/ConfigSetting.provider.js +46 -0
  1766. package/lib/data-source/data-block/index.js +92 -0
  1767. package/lib/data-source/data-source/DataSource.js +107 -0
  1768. package/lib/data-source/data-source/DataSourceManager.js +158 -0
  1769. package/lib/data-source/data-source/DataSourceManagerProvider.js +52 -0
  1770. package/lib/data-source/data-source/DataSourceProvider.js +105 -0
  1771. package/lib/data-source/data-source/index.js +92 -0
  1772. package/lib/data-source/index.js +146 -0
  1773. package/lib/data-source/utils.js +52 -0
  1774. package/lib/env.d.js +6 -0
  1775. package/lib/filter-provider/FilterProvider.js +177 -0
  1776. package/lib/filter-provider/__tests__/transformToFilter.js +72 -0
  1777. package/lib/filter-provider/__tests__/useFilter.js +48 -0
  1778. package/lib/filter-provider/__tests__/utiles.test.js +272 -0
  1779. package/lib/filter-provider/index.js +74 -0
  1780. package/lib/filter-provider/utils.js +238 -0
  1781. package/lib/flag-provider/FlagProvider.js +57 -0
  1782. package/lib/flag-provider/__tests__/flag-provider.test.js +26 -0
  1783. package/lib/flag-provider/hooks/useFlag.js +38 -0
  1784. package/lib/flag-provider/index.js +74 -0
  1785. package/lib/global.css +34 -0
  1786. package/lib/hooks/index.js +74 -0
  1787. package/lib/hooks/useAdminSchemaUid.js +38 -0
  1788. package/lib/hooks/useMenuItem.js +122 -0
  1789. package/lib/hooks/useViewport.js +69 -0
  1790. package/lib/i18n/i18n.js +73 -0
  1791. package/lib/i18n/index.js +65 -0
  1792. package/lib/icon/Icon.js +110 -0
  1793. package/lib/icon/__tests__/icon.test.js +63 -0
  1794. package/lib/icon/demos/antd-icon.js +41 -0
  1795. package/lib/icon/demos/custom-icon.js +50 -0
  1796. package/lib/icon/demos/iconfont.js +44 -0
  1797. package/lib/icon/demos/register-icon.js +57 -0
  1798. package/lib/icon/index.js +65 -0
  1799. package/lib/icon/preloaded.js +163 -0
  1800. package/lib/index.js +673 -1815
  1801. package/lib/modules/actions/ActionSchemaToolbar.js +44 -0
  1802. package/lib/modules/actions/add-child/CreateChildInitializer.js +98 -0
  1803. package/lib/modules/actions/add-child/addChildActionSettings.js +98 -0
  1804. package/lib/modules/actions/add-new/CreateActionInitializer.js +101 -0
  1805. package/lib/modules/actions/add-new/addNewActionSettings.js +91 -0
  1806. package/lib/modules/actions/add-new/createFormBlockInitializers.js +90 -0
  1807. package/lib/modules/actions/add-record/CustomizeAddRecordActionInitializer.js +97 -0
  1808. package/lib/modules/actions/add-record/customizeAddRecordActionSettings.js +69 -0
  1809. package/lib/modules/actions/add-record/customizeCreateFormBlockInitializers.js +70 -0
  1810. package/lib/modules/actions/bulk-destroy/BulkDestroyActionInitializer.js +69 -0
  1811. package/lib/modules/actions/bulk-destroy/bulkDeleteActionSettings.js +64 -0
  1812. package/lib/modules/actions/delete/DestroyActionInitializer.js +62 -0
  1813. package/lib/modules/actions/delete/deleteActionSettings.js +73 -0
  1814. package/lib/modules/actions/disassociate/DisassociateActionInitializer.js +62 -0
  1815. package/lib/modules/actions/disassociate/__e2e__/disassociate.test.js +46 -0
  1816. package/lib/modules/actions/disassociate/__e2e__/templatesOfPage.js +419 -0
  1817. package/lib/modules/actions/disassociate/disassociateActionSettings.js +73 -0
  1818. package/lib/modules/actions/expand-collapse/ExpandableActionInitializer.js +60 -0
  1819. package/lib/modules/actions/expand-collapse/expendableActionSettings.js +152 -0
  1820. package/lib/modules/actions/filter/FilterActionInitializer.js +56 -0
  1821. package/lib/modules/actions/filter/filterActionSettings.js +117 -0
  1822. package/lib/modules/actions/link/customizeLinkActionSettings.js +156 -0
  1823. package/lib/modules/actions/link/hooks.js +233 -0
  1824. package/lib/modules/actions/refresh/RefreshActionInitializer.js +55 -0
  1825. package/lib/modules/actions/refresh/refreshActionSettings.js +64 -0
  1826. package/lib/modules/actions/save-record/SaveRecordActionInitializer.js +68 -0
  1827. package/lib/modules/actions/save-record/customizeSaveRecordActionSettings.js +86 -0
  1828. package/lib/modules/actions/submit/CreateSubmitActionInitializer.js +61 -0
  1829. package/lib/modules/actions/submit/UpdateSubmitActionInitializer.js +65 -0
  1830. package/lib/modules/actions/submit/createSubmitActionSettings.js +245 -0
  1831. package/lib/modules/actions/submit/updateSubmitActionSettings.js +124 -0
  1832. package/lib/modules/actions/update-record/UpdateRecordActionInitializer.js +66 -0
  1833. package/lib/modules/actions/update-record/customizeUpdateRecordActionSettings.js +96 -0
  1834. package/lib/modules/actions/view-edit-popup/PopupActionInitializer.js +93 -0
  1835. package/lib/modules/actions/view-edit-popup/RecordFormBlockInitializers.js +69 -0
  1836. package/lib/modules/actions/view-edit-popup/UpdateActionInitializer.js +91 -0
  1837. package/lib/modules/actions/view-edit-popup/ViewActionInitializer.js +90 -0
  1838. package/lib/modules/actions/view-edit-popup/customizePopupActionSettings.js +83 -0
  1839. package/lib/modules/actions/view-edit-popup/editActionSettings.js +78 -0
  1840. package/lib/modules/actions/view-edit-popup/viewActionSettings.js +83 -0
  1841. package/lib/modules/blocks/BlockSchemaToolbar.js +90 -0
  1842. package/lib/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.js +74 -0
  1843. package/lib/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.js +84 -0
  1844. package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.js +119 -0
  1845. package/lib/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.js +79 -0
  1846. package/lib/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.js +6 -0
  1847. package/lib/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.js +21 -0
  1848. package/lib/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.js +92 -0
  1849. package/lib/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.js +251 -0
  1850. package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.js +43 -0
  1851. package/lib/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.js +39 -0
  1852. package/lib/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.js +123 -0
  1853. package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.js +119 -0
  1854. package/lib/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.js +120 -0
  1855. package/lib/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.js +108 -0
  1856. package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.js +105 -0
  1857. package/lib/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.js +31 -0
  1858. package/lib/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.js +6 -0
  1859. package/lib/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.js +21 -0
  1860. package/lib/modules/blocks/data-blocks/details-single/createDetailsUISchema.js +88 -0
  1861. package/lib/modules/blocks/data-blocks/details-single/detailsBlockSettings.js +84 -0
  1862. package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.js +56 -0
  1863. package/lib/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.js +39 -0
  1864. package/lib/modules/blocks/data-blocks/form/CreateFormBlockInitializer.js +82 -0
  1865. package/lib/modules/blocks/data-blocks/form/FilterItemCustomSettings.js +327 -0
  1866. package/lib/modules/blocks/data-blocks/form/FormBlockInitializer.js +114 -0
  1867. package/lib/modules/blocks/data-blocks/form/FormItemSchemaToolbar.js +43 -0
  1868. package/lib/modules/blocks/data-blocks/form/RecordFormBlockInitializer.js +119 -0
  1869. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.js +21 -0
  1870. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.js +33 -0
  1871. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.js +175 -0
  1872. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.js +35 -0
  1873. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.js +148 -0
  1874. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.js +1261 -0
  1875. package/lib/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.js +6047 -0
  1876. package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.js +23 -0
  1877. package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.js +219 -0
  1878. package/lib/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.js +6 -0
  1879. package/lib/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.js +26 -0
  1880. package/lib/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.js +25 -0
  1881. package/lib/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.js +85 -0
  1882. package/lib/modules/blocks/data-blocks/form/createEditFormBlockUISchema.js +88 -0
  1883. package/lib/modules/blocks/data-blocks/form/createFormActionInitializers.js +79 -0
  1884. package/lib/modules/blocks/data-blocks/form/createFormBlockSettings.js +173 -0
  1885. package/lib/modules/blocks/data-blocks/form/editFormBlockSettings.js +106 -0
  1886. package/lib/modules/blocks/data-blocks/form/fieldSettingsFormItem.js +573 -0
  1887. package/lib/modules/blocks/data-blocks/form/formActionInitializers.js +79 -0
  1888. package/lib/modules/blocks/data-blocks/form/formItemInitializers.js +73 -0
  1889. package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.js +43 -0
  1890. package/lib/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.js +39 -0
  1891. package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.js +49 -0
  1892. package/lib/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.js +39 -0
  1893. package/lib/modules/blocks/data-blocks/form/index.js +182 -0
  1894. package/lib/modules/blocks/data-blocks/form/updateFormActionInitializers.js +90 -0
  1895. package/lib/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.js +119 -0
  1896. package/lib/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.js +78 -0
  1897. package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.js +227 -0
  1898. package/lib/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.js +55 -0
  1899. package/lib/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.js +6 -0
  1900. package/lib/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.js +33 -0
  1901. package/lib/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.js +109 -0
  1902. package/lib/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.js +479 -0
  1903. package/lib/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.js +134 -0
  1904. package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.js +46 -0
  1905. package/lib/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.js +51 -0
  1906. package/lib/modules/blocks/data-blocks/grid-card/utils.js +50 -0
  1907. package/lib/modules/blocks/data-blocks/list/ListActionInitializers.js +115 -0
  1908. package/lib/modules/blocks/data-blocks/list/ListBlockInitializer.js +78 -0
  1909. package/lib/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.js +218 -0
  1910. package/lib/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.js +30 -0
  1911. package/lib/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.js +6 -0
  1912. package/lib/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.js +31 -0
  1913. package/lib/modules/blocks/data-blocks/list/createListBlockUISchema.js +104 -0
  1914. package/lib/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.js +43 -0
  1915. package/lib/modules/blocks/data-blocks/list/listBlockSettings.js +297 -0
  1916. package/lib/modules/blocks/data-blocks/list/listItemActionInitializers.js +134 -0
  1917. package/lib/modules/blocks/data-blocks/table/TableActionColumnInitializers.js +288 -0
  1918. package/lib/modules/blocks/data-blocks/table/TableActionInitializers.js +165 -0
  1919. package/lib/modules/blocks/data-blocks/table/TableBlockInitializer.js +78 -0
  1920. package/lib/modules/blocks/data-blocks/table/TableColumnInitializers.js +139 -0
  1921. package/lib/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.js +63 -0
  1922. package/lib/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.js +16 -0
  1923. package/lib/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.js +40 -0
  1924. package/lib/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.js +26 -0
  1925. package/lib/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.js +38 -0
  1926. package/lib/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.js +426 -0
  1927. package/lib/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.js +876 -0
  1928. package/lib/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.js +979 -0
  1929. package/lib/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.js +49 -0
  1930. package/lib/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.js +23 -0
  1931. package/lib/modules/blocks/data-blocks/table/createTableBlockUISchema.js +116 -0
  1932. package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.js +70 -0
  1933. package/lib/modules/blocks/data-blocks/table/hooks/useTableBlockProps.js +185 -0
  1934. package/lib/modules/blocks/data-blocks/table/index.js +137 -0
  1935. package/lib/modules/blocks/data-blocks/table/tableBlockSettings.js +450 -0
  1936. package/lib/modules/blocks/data-blocks/table/tableColumnSettings.js +367 -0
  1937. package/lib/modules/blocks/data-blocks/table/utils.js +51 -0
  1938. package/lib/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.js +58 -0
  1939. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.js +166 -0
  1940. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.js +153 -0
  1941. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.js +728 -0
  1942. package/lib/modules/blocks/data-blocks/table-selector/__e2e__/utils.js +46 -0
  1943. package/lib/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.js +21 -0
  1944. package/lib/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.js +81 -0
  1945. package/lib/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.js +38 -0
  1946. package/lib/modules/blocks/data-blocks/table-selector/index.js +74 -0
  1947. package/lib/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.js +344 -0
  1948. package/lib/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.js +42 -0
  1949. package/lib/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.js +63 -0
  1950. package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.js +66 -0
  1951. package/lib/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.js +69 -0
  1952. package/lib/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.js +6 -0
  1953. package/lib/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.js +47 -0
  1954. package/lib/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.js +65 -0
  1955. package/lib/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.js +92 -0
  1956. package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.js +261 -0
  1957. package/lib/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.js +188 -0
  1958. package/lib/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.js +38 -0
  1959. package/lib/modules/blocks/filter-blocks/form/FilterFormActionInitializers.js +66 -0
  1960. package/lib/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.js +71 -0
  1961. package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.js +122 -0
  1962. package/lib/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.js +105 -0
  1963. package/lib/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.js +6 -0
  1964. package/lib/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.js +30 -0
  1965. package/lib/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.js +80 -0
  1966. package/lib/modules/blocks/filter-blocks/form/filterFormBlockSettings.js +100 -0
  1967. package/lib/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.js +403 -0
  1968. package/lib/modules/blocks/filter-blocks/form/filterFormItemInitializers.js +75 -0
  1969. package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.js +38 -0
  1970. package/lib/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.js +39 -0
  1971. package/lib/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.js +66 -0
  1972. package/lib/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.js +108 -0
  1973. package/lib/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.js +100 -0
  1974. package/lib/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.js +403 -0
  1975. package/lib/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.js +75 -0
  1976. package/lib/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.js +64 -0
  1977. package/lib/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.js +60 -0
  1978. package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.js +17 -0
  1979. package/lib/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.js +40 -0
  1980. package/lib/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.js +6 -0
  1981. package/lib/modules/blocks/other-blocks/markdown/markdownBlockSettings.js +73 -0
  1982. package/lib/modules/blocks/useParentRecordCommon.js +41 -0
  1983. package/lib/modules/blocks/useSourceId.js +46 -0
  1984. package/lib/modules/blocks/useSourceKey.js +40 -0
  1985. package/lib/modules/dialog/__e2e__/schemaInitializer.test.js +395 -0
  1986. package/lib/modules/dialog/__e2e__/schemaSettings.test.js +66 -0
  1987. package/lib/modules/dialog/__e2e__/templatesOfBug.js +2161 -0
  1988. package/lib/modules/dialog/__e2e__/zIndex.test.js +42 -0
  1989. package/lib/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.js +125 -0
  1990. package/lib/modules/fields/component/Cascader/cascaderComponentFieldSettings.js +430 -0
  1991. package/lib/modules/fields/component/Checkbox/checkboxComponentFieldSettings.js +87 -0
  1992. package/lib/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.js +109 -0
  1993. package/lib/modules/fields/component/DatePicker/__e2e__/utils.js +358 -0
  1994. package/lib/modules/fields/component/DatePicker/datePickerComponentFieldSettings.js +56 -0
  1995. package/lib/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.js +183 -0
  1996. package/lib/modules/fields/component/FileManager/fileManagerComponentFieldSettings.js +224 -0
  1997. package/lib/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.js +136 -0
  1998. package/lib/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.js +61 -0
  1999. package/lib/modules/fields/component/Nester/subformComponentFieldSettings.js +159 -0
  2000. package/lib/modules/fields/component/Picker/TableSelectorInitializers.js +120 -0
  2001. package/lib/modules/fields/component/Picker/recordPickerComponentFieldSettings.js +225 -0
  2002. package/lib/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.js +133 -0
  2003. package/lib/modules/fields/component/Radio/radioComponentFieldSettings.js +87 -0
  2004. package/lib/modules/fields/component/Select/selectComponentFieldSettings.js +427 -0
  2005. package/lib/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.js +443 -0
  2006. package/lib/modules/fields/component/Tag/tagComponentFieldSettings.js +206 -0
  2007. package/lib/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.js +56 -0
  2008. package/lib/modules/fields/initializer/CollectionFieldInitializer.js +49 -0
  2009. package/lib/modules/fields/initializer/TableCollectionFieldInitializer.js +49 -0
  2010. package/lib/modules/menu/GroupItem.js +112 -0
  2011. package/lib/modules/menu/LinkMenuItem.js +118 -0
  2012. package/lib/modules/menu/PageMenuItem.js +127 -0
  2013. package/lib/modules/menu/__e2e__/dragAndDrop.test.js +34 -0
  2014. package/lib/modules/menu/__e2e__/schemaInitializer.test.js +108 -0
  2015. package/lib/modules/menu/__e2e__/schemaSettings.test.js +354 -0
  2016. package/lib/modules/menu/__e2e__/templatesOfBug.js +6 -0
  2017. package/lib/modules/menu/menuItemInitializer.js +83 -0
  2018. package/lib/modules/page/BlockInitializers.js +111 -0
  2019. package/lib/modules/page/__e2e__/blockInitializers.test.js +24 -0
  2020. package/lib/modules/page/__e2e__/dragAndDrop.test.js +23 -0
  2021. package/lib/modules/page/__e2e__/schemaInitailizer.test.js +22 -0
  2022. package/lib/modules/page/__e2e__/schemaSettings.test.js +141 -0
  2023. package/lib/modules/page/__e2e__/templatesOfBug.js +6 -0
  2024. package/lib/modules/plugin-manager/__e2e__/pluginManager.test.js +120 -0
  2025. package/lib/modules/plugin-manager/__e2e__/templatesOfBug.js +6 -0
  2026. package/lib/modules/user-center/__e2e__/settings.test.js +19 -0
  2027. package/lib/modules/variable/DeclareVariable.js +51 -0
  2028. package/lib/modules/variable/useVariable.js +46 -0
  2029. package/lib/powered-by/index.js +77 -0
  2030. package/lib/record-provider/index.js +92 -0
  2031. package/lib/route-switch/RouteSchemaComponent.js +46 -0
  2032. package/lib/route-switch/index.js +65 -0
  2033. package/lib/schema-component/antd/AntdSchemaComponentProvider.js +73 -0
  2034. package/lib/schema-component/antd/__builtins__/hooks/index.js +83 -0
  2035. package/lib/schema-component/antd/__builtins__/hooks/useConfig.js +39 -0
  2036. package/lib/schema-component/antd/__builtins__/hooks/usePrefixCls.js +46 -0
  2037. package/lib/schema-component/antd/__builtins__/hooks/useToken.js +40 -0
  2038. package/lib/schema-component/antd/__builtins__/index.js +92 -0
  2039. package/lib/schema-component/antd/__builtins__/loading.js +49 -0
  2040. package/lib/schema-component/antd/__builtins__/portal.js +86 -0
  2041. package/lib/schema-component/antd/__builtins__/render.js +82 -0
  2042. package/lib/schema-component/antd/__builtins__/style.js +100 -0
  2043. package/lib/schema-component/antd/action/Action.Area.js +155 -0
  2044. package/lib/schema-component/antd/action/Action.Area.style.js +74 -0
  2045. package/lib/schema-component/antd/action/Action.Container.js +77 -0
  2046. package/lib/schema-component/antd/action/Action.Designer.js +957 -0
  2047. package/lib/schema-component/antd/action/Action.Drawer.js +186 -0
  2048. package/lib/schema-component/antd/action/Action.Drawer.style.js +80 -0
  2049. package/lib/schema-component/antd/action/Action.Link.js +63 -0
  2050. package/lib/schema-component/antd/action/Action.Modal.js +222 -0
  2051. package/lib/schema-component/antd/action/Action.Page.js +118 -0
  2052. package/lib/schema-component/antd/action/Action.Popover.js +6 -0
  2053. package/lib/schema-component/antd/action/Action.Sheet.js +130 -0
  2054. package/lib/schema-component/antd/action/Action.js +280 -0
  2055. package/lib/schema-component/antd/action/Action.style.js +81 -0
  2056. package/lib/schema-component/antd/action/ActionBar.js +179 -0
  2057. package/lib/schema-component/antd/action/__tests__/action.test.js +154 -0
  2058. package/lib/schema-component/antd/action/context.js +52 -0
  2059. package/lib/schema-component/antd/action/demos/demo1.js +104 -0
  2060. package/lib/schema-component/antd/action/demos/demo2.js +109 -0
  2061. package/lib/schema-component/antd/action/demos/demo3.js +175 -0
  2062. package/lib/schema-component/antd/action/demos/demo4.js +92 -0
  2063. package/lib/schema-component/antd/action/demos/demo5.js +245 -0
  2064. package/lib/schema-component/antd/action/demos/demo6.js +129 -0
  2065. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfAction.js +71 -0
  2066. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.js +59 -0
  2067. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfModal.js +59 -0
  2068. package/lib/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.js +59 -0
  2069. package/lib/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.js +64 -0
  2070. package/lib/schema-component/antd/action/hooks/useSetAriaLabelForModal.js +64 -0
  2071. package/lib/schema-component/antd/action/hooks/useSetAriaLabelForPopover.js +56 -0
  2072. package/lib/schema-component/antd/action/hooks.js +97 -0
  2073. package/lib/schema-component/antd/action/index.js +146 -0
  2074. package/lib/schema-component/antd/action/types.js +19 -0
  2075. package/lib/schema-component/antd/action/utils.js +249 -0
  2076. package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelect.js +250 -0
  2077. package/lib/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.js +249 -0
  2078. package/lib/schema-component/antd/appends-tree-select/index.js +74 -0
  2079. package/lib/schema-component/antd/association-cascader/AssociationCascader.js +171 -0
  2080. package/lib/schema-component/antd/association-cascader/index.js +65 -0
  2081. package/lib/schema-component/antd/association-field/AssociationFieldProvider.js +159 -0
  2082. package/lib/schema-component/antd/association-field/AssociationSelect.js +222 -0
  2083. package/lib/schema-component/antd/association-field/Editable.js +151 -0
  2084. package/lib/schema-component/antd/association-field/FileManager.js +250 -0
  2085. package/lib/schema-component/antd/association-field/InternalCascadeSelect.js +444 -0
  2086. package/lib/schema-component/antd/association-field/InternalCascader.js +415 -0
  2087. package/lib/schema-component/antd/association-field/InternalDrawerSubTable.js +133 -0
  2088. package/lib/schema-component/antd/association-field/InternalNester.js +129 -0
  2089. package/lib/schema-component/antd/association-field/InternalPicker.js +277 -0
  2090. package/lib/schema-component/antd/association-field/InternalPopoverNester.js +165 -0
  2091. package/lib/schema-component/antd/association-field/InternalSubTable.js +140 -0
  2092. package/lib/schema-component/antd/association-field/InternalTag.js +170 -0
  2093. package/lib/schema-component/antd/association-field/InternalViewer.js +185 -0
  2094. package/lib/schema-component/antd/association-field/Nester.js +295 -0
  2095. package/lib/schema-component/antd/association-field/ReadPretty.js +81 -0
  2096. package/lib/schema-component/antd/association-field/SubTable.js +312 -0
  2097. package/lib/schema-component/antd/association-field/SubTabs/InternalCollapse.js +371 -0
  2098. package/lib/schema-component/antd/association-field/SubTabs/hook.js +101 -0
  2099. package/lib/schema-component/antd/association-field/SubTabs/index.js +65 -0
  2100. package/lib/schema-component/antd/association-field/SubTabs/styles.js +59 -0
  2101. package/lib/schema-component/antd/association-field/components/CreateRecordAction.js +103 -0
  2102. package/lib/schema-component/antd/association-field/context.js +38 -0
  2103. package/lib/schema-component/antd/association-field/hooks.js +204 -0
  2104. package/lib/schema-component/antd/association-field/index.js +109 -0
  2105. package/lib/schema-component/antd/association-field/schema.js +167 -0
  2106. package/lib/schema-component/antd/association-field/util.js +158 -0
  2107. package/lib/schema-component/antd/association-filter/ActionBarAssociationFilterAction.js +88 -0
  2108. package/lib/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.js +74 -0
  2109. package/lib/schema-component/antd/association-filter/AssociationFilter.Initializer.js +89 -0
  2110. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.Designer.js +182 -0
  2111. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.js +180 -0
  2112. package/lib/schema-component/antd/association-filter/AssociationFilter.Item.style.js +135 -0
  2113. package/lib/schema-component/antd/association-filter/AssociationFilter.js +125 -0
  2114. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDelete.js +65 -0
  2115. package/lib/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.js +57 -0
  2116. package/lib/schema-component/antd/association-filter/utilts.js +38 -0
  2117. package/lib/schema-component/antd/association-select/AssociationSelect.js +915 -0
  2118. package/lib/schema-component/antd/association-select/ReadPretty.js +65 -0
  2119. package/lib/schema-component/antd/association-select/__tests__/association-select.test.js +51 -0
  2120. package/lib/schema-component/antd/association-select/demos/demo1.js +89 -0
  2121. package/lib/schema-component/antd/association-select/index.js +65 -0
  2122. package/lib/schema-component/antd/association-select/useServiceOptions.js +116 -0
  2123. package/lib/schema-component/antd/auto-complete/AutoComplete.js +92 -0
  2124. package/lib/schema-component/antd/auto-complete/index.js +65 -0
  2125. package/lib/schema-component/antd/block-item/BlockItem.js +97 -0
  2126. package/lib/schema-component/antd/block-item/BlockToolbar.js +125 -0
  2127. package/lib/schema-component/antd/block-item/__tests__/block-item.test.js +49 -0
  2128. package/lib/schema-component/antd/block-item/demos/demo1.js +94 -0
  2129. package/lib/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.js +87 -0
  2130. package/lib/schema-component/antd/block-item/index.js +65 -0
  2131. package/lib/schema-component/antd/block-item/useBlockToolbar.js +132 -0
  2132. package/lib/schema-component/antd/card-item/CardItem.js +73 -0
  2133. package/lib/schema-component/antd/card-item/__tests__/card-item.test.js +46 -0
  2134. package/lib/schema-component/antd/card-item/demos/demo1.js +65 -0
  2135. package/lib/schema-component/antd/card-item/index.js +65 -0
  2136. package/lib/schema-component/antd/card-item/style.js +59 -0
  2137. package/lib/schema-component/antd/cascader/Cascader.js +108 -0
  2138. package/lib/schema-component/antd/cascader/ReadPretty.js +64 -0
  2139. package/lib/schema-component/antd/cascader/__tests__/cascader.test.js +65 -0
  2140. package/lib/schema-component/antd/cascader/defaultFieldNames.js +42 -0
  2141. package/lib/schema-component/antd/cascader/demos/demo1.js +116 -0
  2142. package/lib/schema-component/antd/cascader/demos/demo2.js +163 -0
  2143. package/lib/schema-component/antd/cascader/index.js +65 -0
  2144. package/lib/schema-component/antd/checkbox/Checkbox.js +134 -0
  2145. package/lib/schema-component/antd/checkbox/__tests__/checkbox.test.js +76 -0
  2146. package/lib/schema-component/antd/checkbox/demos/checkbox.group.js +88 -0
  2147. package/lib/schema-component/antd/checkbox/demos/checkbox.js +74 -0
  2148. package/lib/schema-component/antd/checkbox/index.js +65 -0
  2149. package/lib/schema-component/antd/collection-select/CollectionSelect.js +182 -0
  2150. package/lib/schema-component/antd/collection-select/__tests__/collection-select.test.js +51 -0
  2151. package/lib/schema-component/antd/collection-select/demos/demo1.js +70 -0
  2152. package/lib/schema-component/antd/collection-select/index.js +65 -0
  2153. package/lib/schema-component/antd/color-picker/ColorPicker.js +135 -0
  2154. package/lib/schema-component/antd/color-picker/ReadPretty.js +67 -0
  2155. package/lib/schema-component/antd/color-picker/demos/demo1.js +83 -0
  2156. package/lib/schema-component/antd/color-picker/index.js +65 -0
  2157. package/lib/schema-component/antd/color-picker/util.js +195 -0
  2158. package/lib/schema-component/antd/color-select/ColorSelect.js +83 -0
  2159. package/lib/schema-component/antd/color-select/__tests__/color-select.test.js +51 -0
  2160. package/lib/schema-component/antd/color-select/demos/demo1.js +74 -0
  2161. package/lib/schema-component/antd/color-select/index.js +65 -0
  2162. package/lib/schema-component/antd/cron/Cron.js +117 -0
  2163. package/lib/schema-component/antd/cron/CronSet.js +154 -0
  2164. package/lib/schema-component/antd/cron/__tests__/cron-set.test.js +66 -0
  2165. package/lib/schema-component/antd/cron/demos/demo1.js +66 -0
  2166. package/lib/schema-component/antd/cron/demos/demo2.js +85 -0
  2167. package/lib/schema-component/antd/cron/index.js +74 -0
  2168. package/lib/schema-component/antd/custom-cascader/CustomCascader.js +69 -0
  2169. package/lib/schema-component/antd/custom-cascader/ReadPretty.js +64 -0
  2170. package/lib/schema-component/antd/custom-cascader/defaultFieldNames.js +42 -0
  2171. package/lib/schema-component/antd/custom-cascader/index.js +65 -0
  2172. package/lib/schema-component/antd/date-picker/DatePicker.js +196 -0
  2173. package/lib/schema-component/antd/date-picker/ReadPretty.js +87 -0
  2174. package/lib/schema-component/antd/date-picker/__tests__/date-picker.test.js +222 -0
  2175. package/lib/schema-component/antd/date-picker/__tests__/getDateRanges.test.js +145 -0
  2176. package/lib/schema-component/antd/date-picker/__tests__/mapDatePicker.test.js +235 -0
  2177. package/lib/schema-component/antd/date-picker/__tests__/mapRangePicker.test.js +94 -0
  2178. package/lib/schema-component/antd/date-picker/__tests__/util.test.js +201 -0
  2179. package/lib/schema-component/antd/date-picker/demos/demo1.js +91 -0
  2180. package/lib/schema-component/antd/date-picker/demos/demo10.js +95 -0
  2181. package/lib/schema-component/antd/date-picker/demos/demo11.js +99 -0
  2182. package/lib/schema-component/antd/date-picker/demos/demo2.js +94 -0
  2183. package/lib/schema-component/antd/date-picker/demos/demo3.js +92 -0
  2184. package/lib/schema-component/antd/date-picker/demos/demo4.js +120 -0
  2185. package/lib/schema-component/antd/date-picker/demos/demo5.js +119 -0
  2186. package/lib/schema-component/antd/date-picker/demos/demo6.js +119 -0
  2187. package/lib/schema-component/antd/date-picker/demos/demo7.js +95 -0
  2188. package/lib/schema-component/antd/date-picker/demos/demo8.js +95 -0
  2189. package/lib/schema-component/antd/date-picker/demos/demo9.js +95 -0
  2190. package/lib/schema-component/antd/date-picker/index.js +65 -0
  2191. package/lib/schema-component/antd/date-picker/util.js +216 -0
  2192. package/lib/schema-component/antd/details/Details.js +66 -0
  2193. package/lib/schema-component/antd/details/__tests__/details.test.js +45 -0
  2194. package/lib/schema-component/antd/details/demos/demo1.js +76 -0
  2195. package/lib/schema-component/antd/details/index.js +65 -0
  2196. package/lib/schema-component/antd/error-fallback/ErrorFallback.js +93 -0
  2197. package/lib/schema-component/antd/error-fallback/__tests__/error-fallback.test.js +52 -0
  2198. package/lib/schema-component/antd/error-fallback/demos/demo1.js +47 -0
  2199. package/lib/schema-component/antd/error-fallback/index.js +65 -0
  2200. package/lib/schema-component/antd/expand-action/Expand.Action.Design.js +141 -0
  2201. package/lib/schema-component/antd/expand-action/Expand.Action.js +104 -0
  2202. package/lib/schema-component/antd/expand-action/index.js +40 -0
  2203. package/lib/schema-component/antd/filter/DynamicComponent.js +106 -0
  2204. package/lib/schema-component/antd/filter/Filter.Action.Designer.js +157 -0
  2205. package/lib/schema-component/antd/filter/Filter.js +90 -0
  2206. package/lib/schema-component/antd/filter/FilterAction.js +199 -0
  2207. package/lib/schema-component/antd/filter/FilterGroup.js +168 -0
  2208. package/lib/schema-component/antd/filter/FilterItem.js +119 -0
  2209. package/lib/schema-component/antd/filter/FilterItems.js +58 -0
  2210. package/lib/schema-component/antd/filter/SaveDefaultValue.js +70 -0
  2211. package/lib/schema-component/antd/filter/__tests__/filter.test.js +152 -0
  2212. package/lib/schema-component/antd/filter/context.js +44 -0
  2213. package/lib/schema-component/antd/filter/demos/demo2.js +163 -0
  2214. package/lib/schema-component/antd/filter/demos/demo3.js +230 -0
  2215. package/lib/schema-component/antd/filter/demos/demo4.js +218 -0
  2216. package/lib/schema-component/antd/filter/demos/demo5.js +165 -0
  2217. package/lib/schema-component/antd/filter/demos/demo6.js +152 -0
  2218. package/lib/schema-component/antd/filter/index.js +83 -0
  2219. package/lib/schema-component/antd/filter/useFilterActionProps.js +269 -0
  2220. package/lib/schema-component/antd/filter/useOperators.js +57 -0
  2221. package/lib/schema-component/antd/filter/useValues.js +172 -0
  2222. package/lib/schema-component/antd/filter/utils.js +49 -0
  2223. package/lib/schema-component/antd/form/Form.Designer.js +46 -0
  2224. package/lib/schema-component/antd/form/Form.Settings.js +68 -0
  2225. package/lib/schema-component/antd/form/Form.js +182 -0
  2226. package/lib/schema-component/antd/form/__tests__/form.test.js +155 -0
  2227. package/lib/schema-component/antd/form/demos/apiClient.js +65 -0
  2228. package/lib/schema-component/antd/form/demos/demo1.js +107 -0
  2229. package/lib/schema-component/antd/form/demos/demo2.js +107 -0
  2230. package/lib/schema-component/antd/form/demos/demo3.js +106 -0
  2231. package/lib/schema-component/antd/form/demos/demo4.js +114 -0
  2232. package/lib/schema-component/antd/form/demos/demo5.js +148 -0
  2233. package/lib/schema-component/antd/form/demos/demo6.js +105 -0
  2234. package/lib/schema-component/antd/form/demos/demo7.js +109 -0
  2235. package/lib/schema-component/antd/form/demos/demo8.js +120 -0
  2236. package/lib/schema-component/antd/form/index.js +74 -0
  2237. package/lib/schema-component/antd/form-dialog/index.js +203 -0
  2238. package/lib/schema-component/antd/form-item/FormItem.FilterFormDesigner.js +41 -0
  2239. package/lib/schema-component/antd/form-item/FormItem.FilterFormSettings.js +176 -0
  2240. package/lib/schema-component/antd/form-item/FormItem.Settings.js +1261 -0
  2241. package/lib/schema-component/antd/form-item/FormItem.js +185 -0
  2242. package/lib/schema-component/antd/form-item/SchemaSettingOptions.js +621 -0
  2243. package/lib/schema-component/antd/form-item/__tests__/form-item.test.js +47 -0
  2244. package/lib/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.js +34 -0
  2245. package/lib/schema-component/antd/form-item/__tests__/utils.test.js +72 -0
  2246. package/lib/schema-component/antd/form-item/demos/demo1.js +71 -0
  2247. package/lib/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.js +117 -0
  2248. package/lib/schema-component/antd/form-item/hooks/useParseDefaultValue.js +132 -0
  2249. package/lib/schema-component/antd/form-item/hooks/useSpecialCase.js +159 -0
  2250. package/lib/schema-component/antd/form-item/index.js +92 -0
  2251. package/lib/schema-component/antd/form-item/utils.js +56 -0
  2252. package/lib/schema-component/antd/form-tab/index.js +189 -0
  2253. package/lib/schema-component/antd/form-v2/Form.Designer.js +69 -0
  2254. package/lib/schema-component/antd/form-v2/Form.FilterDesigner.js +49 -0
  2255. package/lib/schema-component/antd/form-v2/Form.Settings.js +351 -0
  2256. package/lib/schema-component/antd/form-v2/Form.js +364 -0
  2257. package/lib/schema-component/antd/form-v2/FormField.js +64 -0
  2258. package/lib/schema-component/antd/form-v2/Templates.js +240 -0
  2259. package/lib/schema-component/antd/form-v2/__tests__/form-v2.test.js +84 -0
  2260. package/lib/schema-component/antd/form-v2/demos/collections.js +1601 -0
  2261. package/lib/schema-component/antd/form-v2/demos/demo1.js +156 -0
  2262. package/lib/schema-component/antd/form-v2/demos/demo2.js +179 -0
  2263. package/lib/schema-component/antd/form-v2/demos/demo3.js +165 -0
  2264. package/lib/schema-component/antd/form-v2/index.js +115 -0
  2265. package/lib/schema-component/antd/form-v2/utils.js +192 -0
  2266. package/lib/schema-component/antd/grid/Block.js +58 -0
  2267. package/lib/schema-component/antd/grid/Grid.js +533 -0
  2268. package/lib/schema-component/antd/grid/Grid.style.js +79 -0
  2269. package/lib/schema-component/antd/grid/__tests__/grid.test.js +63 -0
  2270. package/lib/schema-component/antd/grid/demos/demo1.js +228 -0
  2271. package/lib/schema-component/antd/grid/demos/demo2.js +131 -0
  2272. package/lib/schema-component/antd/grid/demos/demo3.js +118 -0
  2273. package/lib/schema-component/antd/grid/index.js +74 -0
  2274. package/lib/schema-component/antd/grid-card/GridCard.Decorator.js +118 -0
  2275. package/lib/schema-component/antd/grid-card/GridCard.Decorator.style.js +58 -0
  2276. package/lib/schema-component/antd/grid-card/GridCard.Designer.js +300 -0
  2277. package/lib/schema-component/antd/grid-card/GridCard.Item.js +111 -0
  2278. package/lib/schema-component/antd/grid-card/GridCard.js +204 -0
  2279. package/lib/schema-component/antd/grid-card/__tests__/grid-card.test.js +44 -0
  2280. package/lib/schema-component/antd/grid-card/demos/demo1.js +40 -0
  2281. package/lib/schema-component/antd/grid-card/hooks.js +74 -0
  2282. package/lib/schema-component/antd/grid-card/index.js +65 -0
  2283. package/lib/schema-component/antd/grid-card/options.js +83 -0
  2284. package/lib/schema-component/antd/icon-picker/IconFilterInput.js +65 -0
  2285. package/lib/schema-component/antd/icon-picker/IconList.js +84 -0
  2286. package/lib/schema-component/antd/icon-picker/IconPicker.js +109 -0
  2287. package/lib/schema-component/antd/icon-picker/__tests__/icon-picker.test.js +60 -0
  2288. package/lib/schema-component/antd/icon-picker/demos/icon-picker.js +74 -0
  2289. package/lib/schema-component/antd/icon-picker/index.js +65 -0
  2290. package/lib/schema-component/antd/index.css +30 -0
  2291. package/lib/schema-component/antd/index.js +881 -0
  2292. package/lib/schema-component/antd/input/EllipsisWithTooltip.js +98 -0
  2293. package/lib/schema-component/antd/input/Input.js +62 -0
  2294. package/lib/schema-component/antd/input/Json.js +108 -0
  2295. package/lib/schema-component/antd/input/ReadPretty.js +201 -0
  2296. package/lib/schema-component/antd/input/__tests__/Input.test.js +153 -0
  2297. package/lib/schema-component/antd/input/demos/input.js +74 -0
  2298. package/lib/schema-component/antd/input/demos/json.js +80 -0
  2299. package/lib/schema-component/antd/input/demos/textarea.js +102 -0
  2300. package/lib/schema-component/antd/input/demos/url.js +76 -0
  2301. package/lib/schema-component/antd/input/index.js +101 -0
  2302. package/lib/schema-component/antd/input/shared.js +44 -0
  2303. package/lib/schema-component/antd/input-number/InputNumber.js +54 -0
  2304. package/lib/schema-component/antd/input-number/ReadPretty.js +153 -0
  2305. package/lib/schema-component/antd/input-number/__tests__/input-number.test.js +153 -0
  2306. package/lib/schema-component/antd/input-number/demos/addonBefore&addonAfter.js +82 -0
  2307. package/lib/schema-component/antd/input-number/demos/highPrecisionDecimals.js +84 -0
  2308. package/lib/schema-component/antd/input-number/demos/inputNumber.js +74 -0
  2309. package/lib/schema-component/antd/input-number/index.js +65 -0
  2310. package/lib/schema-component/antd/list/List.Decorator.js +145 -0
  2311. package/lib/schema-component/antd/list/List.Designer.js +254 -0
  2312. package/lib/schema-component/antd/list/List.Item.js +101 -0
  2313. package/lib/schema-component/antd/list/List.js +129 -0
  2314. package/lib/schema-component/antd/list/List.style.js +89 -0
  2315. package/lib/schema-component/antd/list/__tests__/list.test.js +44 -0
  2316. package/lib/schema-component/antd/list/demos/demo1.js +40 -0
  2317. package/lib/schema-component/antd/list/hooks.js +47 -0
  2318. package/lib/schema-component/antd/list/index.js +65 -0
  2319. package/lib/schema-component/antd/markdown/Markdown.Void.Designer.js +61 -0
  2320. package/lib/schema-component/antd/markdown/Markdown.Void.js +158 -0
  2321. package/lib/schema-component/antd/markdown/Markdown.js +82 -0
  2322. package/lib/schema-component/antd/markdown/__tests__/markdown.test.js +63 -0
  2323. package/lib/schema-component/antd/markdown/demos/demo1.js +74 -0
  2324. package/lib/schema-component/antd/markdown/demos/demo2.js +85 -0
  2325. package/lib/schema-component/antd/markdown/index.js +65 -0
  2326. package/lib/schema-component/antd/markdown/style.js +254 -0
  2327. package/lib/schema-component/antd/markdown/util.js +88 -0
  2328. package/lib/schema-component/antd/menu/Menu.Designer.js +469 -0
  2329. package/lib/schema-component/antd/menu/Menu.js +625 -0
  2330. package/lib/schema-component/antd/menu/Menu.styles.js +111 -0
  2331. package/lib/schema-component/antd/menu/MenuItemInitializers/index.js +45 -0
  2332. package/lib/schema-component/antd/menu/__tests__/menu.test.js +75 -0
  2333. package/lib/schema-component/antd/menu/demos/demo1.js +127 -0
  2334. package/lib/schema-component/antd/menu/demos/demo2.js +130 -0
  2335. package/lib/schema-component/antd/menu/demos/demo3.js +169 -0
  2336. package/lib/schema-component/antd/menu/index.js +83 -0
  2337. package/lib/schema-component/antd/menu/locale.js +37 -0
  2338. package/lib/schema-component/antd/menu/util.js +70 -0
  2339. package/lib/schema-component/antd/nanoIDInput/NanoIDInput.js +67 -0
  2340. package/lib/schema-component/antd/nanoIDInput/index.js +65 -0
  2341. package/lib/schema-component/antd/page/FixedBlock.js +147 -0
  2342. package/lib/schema-component/antd/page/FixedBlockDesignerItem.js +74 -0
  2343. package/lib/schema-component/antd/page/Page.Settings.js +181 -0
  2344. package/lib/schema-component/antd/page/Page.js +269 -0
  2345. package/lib/schema-component/antd/page/PageTab.Settings.js +122 -0
  2346. package/lib/schema-component/antd/page/PageTabDesigner.js +99 -0
  2347. package/lib/schema-component/antd/page/__tests__/page.test.js +53 -0
  2348. package/lib/schema-component/antd/page/demos/demo1.js +72 -0
  2349. package/lib/schema-component/antd/page/hooks/useIsBlockInPage.js +46 -0
  2350. package/lib/schema-component/antd/page/index.js +101 -0
  2351. package/lib/schema-component/antd/page/style.js +177 -0
  2352. package/lib/schema-component/antd/pagination/index.js +56 -0
  2353. package/lib/schema-component/antd/password/Password.js +115 -0
  2354. package/lib/schema-component/antd/password/PasswordStrength.js +45 -0
  2355. package/lib/schema-component/antd/password/__tests__/password.test.js +64 -0
  2356. package/lib/schema-component/antd/password/__tests__/utils.test.js +28 -0
  2357. package/lib/schema-component/antd/password/demos/demo1.js +74 -0
  2358. package/lib/schema-component/antd/password/demos/demo2.js +77 -0
  2359. package/lib/schema-component/antd/password/index.js +65 -0
  2360. package/lib/schema-component/antd/password/utils.js +140 -0
  2361. package/lib/schema-component/antd/percent/Percent.js +68 -0
  2362. package/lib/schema-component/antd/percent/__tests__/percent.test.js +51 -0
  2363. package/lib/schema-component/antd/percent/demos/percent.js +74 -0
  2364. package/lib/schema-component/antd/percent/index.js +65 -0
  2365. package/lib/schema-component/antd/popover/Popover.js +73 -0
  2366. package/lib/schema-component/antd/popover/index.js +65 -0
  2367. package/lib/schema-component/antd/preview/Preview.js +323 -0
  2368. package/lib/schema-component/antd/preview/__tests__/preview.test.js +46 -0
  2369. package/lib/schema-component/antd/preview/demos/demo1.js +129 -0
  2370. package/lib/schema-component/antd/preview/index.js +65 -0
  2371. package/lib/schema-component/antd/quick-edit/QuickEdit.js +164 -0
  2372. package/lib/schema-component/antd/quick-edit/index.js +65 -0
  2373. package/lib/schema-component/antd/radio/Radio.js +75 -0
  2374. package/lib/schema-component/antd/radio/__tests__/radio.test.js +80 -0
  2375. package/lib/schema-component/antd/radio/demos/demo1.js +74 -0
  2376. package/lib/schema-component/antd/radio/demos/demo2.js +86 -0
  2377. package/lib/schema-component/antd/radio/demos/demo3.js +88 -0
  2378. package/lib/schema-component/antd/radio/index.js +65 -0
  2379. package/lib/schema-component/antd/record-picker/InputRecordPicker.js +289 -0
  2380. package/lib/schema-component/antd/record-picker/ReadPrettyRecordPicker.js +154 -0
  2381. package/lib/schema-component/antd/record-picker/RecordPicker.js +39 -0
  2382. package/lib/schema-component/antd/record-picker/__tests__/record-picker.test.js +62 -0
  2383. package/lib/schema-component/antd/record-picker/demos/demo1.js +223 -0
  2384. package/lib/schema-component/antd/record-picker/demos/mockData.js +247 -0
  2385. package/lib/schema-component/antd/record-picker/index.js +120 -0
  2386. package/lib/schema-component/antd/record-picker/useFieldNames.js +46 -0
  2387. package/lib/schema-component/antd/record-picker/util.js +87 -0
  2388. package/lib/schema-component/antd/remote-select/ReadPretty.js +78 -0
  2389. package/lib/schema-component/antd/remote-select/RemoteSelect.js +273 -0
  2390. package/lib/schema-component/antd/remote-select/__tests__/remote-select.test.js +51 -0
  2391. package/lib/schema-component/antd/remote-select/demos/demo1.js +89 -0
  2392. package/lib/schema-component/antd/remote-select/index.js +65 -0
  2393. package/lib/schema-component/antd/remote-select/shared.js +37 -0
  2394. package/lib/schema-component/antd/rich-text/RichText.js +107 -0
  2395. package/lib/schema-component/antd/rich-text/__tests__/rich-text.test.js +48 -0
  2396. package/lib/schema-component/antd/rich-text/demos/demo1.js +75 -0
  2397. package/lib/schema-component/antd/rich-text/index.js +65 -0
  2398. package/lib/schema-component/antd/rich-text/style.js +847 -0
  2399. package/lib/schema-component/antd/rich-text/style.js.LICENSE.txt +6 -0
  2400. package/lib/schema-component/antd/scroll-area/ScrollArea.js +78 -0
  2401. package/lib/schema-component/antd/scroll-area/index.js +65 -0
  2402. package/lib/schema-component/antd/select/FormulaSelect.js +230 -0
  2403. package/lib/schema-component/antd/select/ReadPretty.js +67 -0
  2404. package/lib/schema-component/antd/select/Select.js +204 -0
  2405. package/lib/schema-component/antd/select/__tests__/select.test.js +78 -0
  2406. package/lib/schema-component/antd/select/__tests__/utils.test.js +136 -0
  2407. package/lib/schema-component/antd/select/demos/demo1.js +106 -0
  2408. package/lib/schema-component/antd/select/demos/demo2.js +110 -0
  2409. package/lib/schema-component/antd/select/demos/demo3.js +118 -0
  2410. package/lib/schema-component/antd/select/index.js +74 -0
  2411. package/lib/schema-component/antd/select/utils.js +73 -0
  2412. package/lib/schema-component/antd/space/index.js +68 -0
  2413. package/lib/schema-component/antd/table/Table.Array.Designer.js +46 -0
  2414. package/lib/schema-component/antd/table/Table.Array.js +342 -0
  2415. package/lib/schema-component/antd/table/Table.Column.ActionBar.js +77 -0
  2416. package/lib/schema-component/antd/table/Table.Column.Decorator.js +84 -0
  2417. package/lib/schema-component/antd/table/Table.Column.Designer.js +192 -0
  2418. package/lib/schema-component/antd/table/Table.Column.js +44 -0
  2419. package/lib/schema-component/antd/table/Table.Designer.js +51 -0
  2420. package/lib/schema-component/antd/table/Table.RowActionDesigner.js +67 -0
  2421. package/lib/schema-component/antd/table/Table.RowSelection.js +63 -0
  2422. package/lib/schema-component/antd/table/Table.Void.Designer.js +275 -0
  2423. package/lib/schema-component/antd/table/Table.Void.js +153 -0
  2424. package/lib/schema-component/antd/table/__tests__/table.test.js +59 -0
  2425. package/lib/schema-component/antd/table/demos/demo1.js +97 -0
  2426. package/lib/schema-component/antd/table/demos/demo2.js +97 -0
  2427. package/lib/schema-component/antd/table/demos/demo3.js +97 -0
  2428. package/lib/schema-component/antd/table/demos/demo4.js +251 -0
  2429. package/lib/schema-component/antd/table/index.js +58 -0
  2430. package/lib/schema-component/antd/table-v2/Table.ActionColumnDesigner.js +67 -0
  2431. package/lib/schema-component/antd/table-v2/Table.Column.ActionBar.js +84 -0
  2432. package/lib/schema-component/antd/table-v2/Table.Column.Decorator.js +95 -0
  2433. package/lib/schema-component/antd/table-v2/Table.Column.Designer.js +495 -0
  2434. package/lib/schema-component/antd/table-v2/Table.Column.js +45 -0
  2435. package/lib/schema-component/antd/table-v2/Table.Designer.js +51 -0
  2436. package/lib/schema-component/antd/table-v2/Table.Index.js +44 -0
  2437. package/lib/schema-component/antd/table-v2/Table.js +495 -0
  2438. package/lib/schema-component/antd/table-v2/Table.styles.js +169 -0
  2439. package/lib/schema-component/antd/table-v2/TableBlockDesigner.js +363 -0
  2440. package/lib/schema-component/antd/table-v2/TableField.js +85 -0
  2441. package/lib/schema-component/antd/table-v2/TableSelector.js +37 -0
  2442. package/lib/schema-component/antd/table-v2/TableSelectorDesigner.js +320 -0
  2443. package/lib/schema-component/antd/table-v2/__tests__/table-v2.test.js +49 -0
  2444. package/lib/schema-component/antd/table-v2/components/ColumnFieldProvider.js +73 -0
  2445. package/lib/schema-component/antd/table-v2/demos/collections.js +1596 -0
  2446. package/lib/schema-component/antd/table-v2/demos/demo1.js +268 -0
  2447. package/lib/schema-component/antd/table-v2/demos/demo2.js +151 -0
  2448. package/lib/schema-component/antd/table-v2/index.js +143 -0
  2449. package/lib/schema-component/antd/table-v2/utils.js +55 -0
  2450. package/lib/schema-component/antd/tabs/Tabs.Designer.js +166 -0
  2451. package/lib/schema-component/antd/tabs/Tabs.js +147 -0
  2452. package/lib/schema-component/antd/tabs/__tests__/tabs.test.js +49 -0
  2453. package/lib/schema-component/antd/tabs/context.js +61 -0
  2454. package/lib/schema-component/antd/tabs/demos/demo1.js +101 -0
  2455. package/lib/schema-component/antd/tabs/index.js +74 -0
  2456. package/lib/schema-component/antd/time-picker/ReadPretty.js +70 -0
  2457. package/lib/schema-component/antd/time-picker/TimePicker.js +57 -0
  2458. package/lib/schema-component/antd/time-picker/__tests__/time-picker.test.js +81 -0
  2459. package/lib/schema-component/antd/time-picker/demos/demo1.js +74 -0
  2460. package/lib/schema-component/antd/time-picker/demos/demo2.js +74 -0
  2461. package/lib/schema-component/antd/time-picker/index.js +65 -0
  2462. package/lib/schema-component/antd/tree/Tree.js +116 -0
  2463. package/lib/schema-component/antd/tree/index.js +36 -0
  2464. package/lib/schema-component/antd/tree-select/ReadPretty.js +110 -0
  2465. package/lib/schema-component/antd/tree-select/TreeSelect.js +49 -0
  2466. package/lib/schema-component/antd/tree-select/__tests__/tree-select.test.js +49 -0
  2467. package/lib/schema-component/antd/tree-select/demos/demo1.js +118 -0
  2468. package/lib/schema-component/antd/tree-select/index.js +65 -0
  2469. package/lib/schema-component/antd/unixTimestamp/UnixTimestamp.js +90 -0
  2470. package/lib/schema-component/antd/unixTimestamp/index.js +65 -0
  2471. package/lib/schema-component/antd/upload/ReadPretty.js +249 -0
  2472. package/lib/schema-component/antd/upload/Upload.js +380 -0
  2473. package/lib/schema-component/antd/upload/__tests__/upload.test.js +49 -0
  2474. package/lib/schema-component/antd/upload/demos/apiClient.js +77 -0
  2475. package/lib/schema-component/antd/upload/demos/demo1.js +96 -0
  2476. package/lib/schema-component/antd/upload/demos/demo2.js +163 -0
  2477. package/lib/schema-component/antd/upload/index.js +65 -0
  2478. package/lib/schema-component/antd/upload/placeholder.js +99 -0
  2479. package/lib/schema-component/antd/upload/shared.js +236 -0
  2480. package/lib/schema-component/antd/upload/style.js +109 -0
  2481. package/lib/schema-component/antd/upload/type.d.js +8 -0
  2482. package/lib/schema-component/antd/variable/CodeMirror.js +132 -0
  2483. package/lib/schema-component/antd/variable/Input.js +360 -0
  2484. package/lib/schema-component/antd/variable/JSONInput.js +71 -0
  2485. package/lib/schema-component/antd/variable/RawTextArea.js +133 -0
  2486. package/lib/schema-component/antd/variable/TextArea.js +436 -0
  2487. package/lib/schema-component/antd/variable/Variable.js +67 -0
  2488. package/lib/schema-component/antd/variable/VariableSelect.js +115 -0
  2489. package/lib/schema-component/antd/variable/VariableSelect.style.js +64 -0
  2490. package/lib/schema-component/antd/variable/XButton.js +55 -0
  2491. package/lib/schema-component/antd/variable/__tests__/variable.test.js +82 -0
  2492. package/lib/schema-component/antd/variable/demos/demo1.js +78 -0
  2493. package/lib/schema-component/antd/variable/demos/demo2.js +78 -0
  2494. package/lib/schema-component/antd/variable/demos/demo3.js +78 -0
  2495. package/lib/schema-component/antd/variable/index.js +65 -0
  2496. package/lib/schema-component/antd/variable/style.js +209 -0
  2497. package/lib/schema-component/common/dnd-context/index.js +134 -0
  2498. package/lib/schema-component/common/index.js +74 -0
  2499. package/lib/schema-component/common/infinite-scroll/infinite-scroll.js +171 -0
  2500. package/lib/schema-component/common/infinite-scroll/style.js +62 -0
  2501. package/lib/schema-component/common/sortable-item/SortableItem.js +185 -0
  2502. package/lib/schema-component/common/sortable-item/index.js +65 -0
  2503. package/lib/schema-component/common/utils/logic.js +434 -0
  2504. package/lib/schema-component/common/utils/uitls.js +163 -0
  2505. package/lib/schema-component/context.js +38 -0
  2506. package/lib/schema-component/core/DesignableSwitch.js +71 -0
  2507. package/lib/schema-component/core/FormProvider.js +87 -0
  2508. package/lib/schema-component/core/RemoteSchemaComponent.js +78 -0
  2509. package/lib/schema-component/core/SchemaComponent.js +94 -0
  2510. package/lib/schema-component/core/SchemaComponentOptions.js +79 -0
  2511. package/lib/schema-component/core/SchemaComponentPlugin.js +47 -0
  2512. package/lib/schema-component/core/SchemaComponentProvider.js +118 -0
  2513. package/lib/schema-component/core/index.js +119 -0
  2514. package/lib/schema-component/demos/demo1.js +123 -0
  2515. package/lib/schema-component/demos/demo2.js +57 -0
  2516. package/lib/schema-component/demos/demo3.js +58 -0
  2517. package/lib/schema-component/demos/demo4.js +58 -0
  2518. package/lib/schema-component/hooks/__tests__/designable.test.js +555 -0
  2519. package/lib/schema-component/hooks/__tests__/splitWrapSchema.test.js +96 -0
  2520. package/lib/schema-component/hooks/index.js +164 -0
  2521. package/lib/schema-component/hooks/useAttach.js +50 -0
  2522. package/lib/schema-component/hooks/useCompile.js +74 -0
  2523. package/lib/schema-component/hooks/useComponent.js +44 -0
  2524. package/lib/schema-component/hooks/useDesignable.js +713 -0
  2525. package/lib/schema-component/hooks/useDesigner.js +53 -0
  2526. package/lib/schema-component/hooks/useFieldComponentOptions.js +121 -0
  2527. package/lib/schema-component/hooks/useFieldModeOptions.js +317 -0
  2528. package/lib/schema-component/hooks/useFieldProps.js +52 -0
  2529. package/lib/schema-component/hooks/useFieldTitle.js +56 -0
  2530. package/lib/schema-component/hooks/useProps.js +49 -0
  2531. package/lib/schema-component/hooks/useSchemaComponentContext.js +40 -0
  2532. package/lib/schema-component/hooks/useTableSize.js +65 -0
  2533. package/lib/schema-component/index.js +110 -0
  2534. package/lib/schema-component/types.js +8 -0
  2535. package/lib/schema-initializer/SchemaInitializerPlugin.js +160 -0
  2536. package/lib/schema-initializer/buttons/CustomFormItemInitializers.js +80 -0
  2537. package/lib/schema-initializer/buttons/FormItemInitializers.js +190 -0
  2538. package/lib/schema-initializer/buttons/RecordBlockInitializers.js +410 -0
  2539. package/lib/schema-initializer/buttons/SubTableActionInitializers.js +69 -0
  2540. package/lib/schema-initializer/buttons/TabPaneInitializers.js +201 -0
  2541. package/lib/schema-initializer/buttons/index.js +110 -0
  2542. package/lib/schema-initializer/components/CreateRecordAction.js +390 -0
  2543. package/lib/schema-initializer/components/DeletedField.js +47 -0
  2544. package/lib/schema-initializer/components/assigned-field/AssignedField.js +169 -0
  2545. package/lib/schema-initializer/components/assigned-field/index.js +65 -0
  2546. package/lib/schema-initializer/components/index.js +74 -0
  2547. package/lib/schema-initializer/demos/basic.js +96 -0
  2548. package/lib/schema-initializer/demos/build-type.js +117 -0
  2549. package/lib/schema-initializer/demos/custom-button.js +128 -0
  2550. package/lib/schema-initializer/demos/custom-items-component.js +134 -0
  2551. package/lib/schema-initializer/demos/dynamic-visible-children.js +115 -0
  2552. package/lib/schema-initializer/demos/insert-schema-action.js +126 -0
  2553. package/lib/schema-initializer/demos/insert-schema-basic.js +146 -0
  2554. package/lib/schema-initializer/demos/insert-schema-form-item.js +170 -0
  2555. package/lib/schema-initializer/demos/nested-items.js +182 -0
  2556. package/lib/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.js +55 -0
  2557. package/lib/schema-initializer/index.js +185 -0
  2558. package/lib/schema-initializer/items/ActionInitializer.js +48 -0
  2559. package/lib/schema-initializer/items/BlockInitializer.js +62 -0
  2560. package/lib/schema-initializer/items/CreateFilterActionInitializer.js +55 -0
  2561. package/lib/schema-initializer/items/CreateResetActionInitializer.js +50 -0
  2562. package/lib/schema-initializer/items/CustomFilterFormItemInitializer.js +514 -0
  2563. package/lib/schema-initializer/items/CustomizeActionInitializer.js +46 -0
  2564. package/lib/schema-initializer/items/DataBlockInitializer.js +360 -0
  2565. package/lib/schema-initializer/items/DeleteEventActionInitializer.js +58 -0
  2566. package/lib/schema-initializer/items/FilterBlockInitializer.js +37 -0
  2567. package/lib/schema-initializer/items/G2PlotInitializer.js +50 -0
  2568. package/lib/schema-initializer/items/InitializerWithSwitch.js +59 -0
  2569. package/lib/schema-initializer/items/RecordAssociationBlockInitializer.js +90 -0
  2570. package/lib/schema-initializer/items/RecordAssociationDetailsBlockInitializer.js +90 -0
  2571. package/lib/schema-initializer/items/RecordAssociationFormBlockInitializer.js +116 -0
  2572. package/lib/schema-initializer/items/RecordAssociationGridCardBlockInitializer.js +90 -0
  2573. package/lib/schema-initializer/items/RecordAssociationListBlockInitializer.js +90 -0
  2574. package/lib/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.js +115 -0
  2575. package/lib/schema-initializer/items/SelectActionInitializer.js +97 -0
  2576. package/lib/schema-initializer/items/SubmitActionInitializer.js +55 -0
  2577. package/lib/schema-initializer/items/TableActionColumnInitializer.js +73 -0
  2578. package/lib/schema-initializer/items/index.js +263 -0
  2579. package/lib/schema-initializer/style.js +51 -0
  2580. package/lib/schema-initializer/utils.js +1438 -0
  2581. package/lib/schema-items/GeneralSchemaItems.js +198 -0
  2582. package/lib/schema-items/GeneralSettings.js +241 -0
  2583. package/lib/schema-items/OpenModeSchemaItems.js +221 -0
  2584. package/lib/schema-items/index.js +74 -0
  2585. package/lib/schema-settings/DataTemplates/FormDataTemplates.js +324 -0
  2586. package/lib/schema-settings/DataTemplates/TreeLabel.js +64 -0
  2587. package/lib/schema-settings/DataTemplates/components/AsDefaultTemplate.js +94 -0
  2588. package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.js +306 -0
  2589. package/lib/schema-settings/DataTemplates/components/DataTemplateTitle.style.js +41 -0
  2590. package/lib/schema-settings/DataTemplates/components/Designer.js +208 -0
  2591. package/lib/schema-settings/DataTemplates/hooks/useCollectionState.js +319 -0
  2592. package/lib/schema-settings/DataTemplates/index.js +65 -0
  2593. package/lib/schema-settings/DataTemplates/utils.js +282 -0
  2594. package/lib/schema-settings/DateFormat/ExpiresRadio.js +171 -0
  2595. package/lib/schema-settings/EditCustomDefaultValue.js +143 -0
  2596. package/lib/schema-settings/EditFormulaTitleField.js +133 -0
  2597. package/lib/schema-settings/EnableChildCollections/DynamicComponent.js +98 -0
  2598. package/lib/schema-settings/EnableChildCollections/index.js +135 -0
  2599. package/lib/schema-settings/GeneralSchemaDesigner.js +313 -0
  2600. package/lib/schema-settings/LinkageRules/DynamicComponent.js +104 -0
  2601. package/lib/schema-settings/LinkageRules/LinkageRuleAction.js +272 -0
  2602. package/lib/schema-settings/LinkageRules/LinkageRuleActionGroup.js +118 -0
  2603. package/lib/schema-settings/LinkageRules/ValueDynamicComponent.js +204 -0
  2604. package/lib/schema-settings/LinkageRules/Variables.js +132 -0
  2605. package/lib/schema-settings/LinkageRules/action-hooks.js +137 -0
  2606. package/lib/schema-settings/LinkageRules/components/EnableLinkage.js +86 -0
  2607. package/lib/schema-settings/LinkageRules/components/LinkageHeader.js +304 -0
  2608. package/lib/schema-settings/LinkageRules/components/LinkageHeader.style.js +41 -0
  2609. package/lib/schema-settings/LinkageRules/context.js +44 -0
  2610. package/lib/schema-settings/LinkageRules/index.js +228 -0
  2611. package/lib/schema-settings/LinkageRules/type.js +51 -0
  2612. package/lib/schema-settings/LinkageRules/useValues.js +102 -0
  2613. package/lib/schema-settings/SchemaSettingCollection.js +84 -0
  2614. package/lib/schema-settings/SchemaSettingComponent.js +72 -0
  2615. package/lib/schema-settings/SchemaSettings.js +1409 -0
  2616. package/lib/schema-settings/SchemaSettingsDataScope.js +134 -0
  2617. package/lib/schema-settings/SchemaSettingsDateFormat.js +233 -0
  2618. package/lib/schema-settings/SchemaSettingsDefaultValue.js +252 -0
  2619. package/lib/schema-settings/SchemaSettingsNumberFormat.js +212 -0
  2620. package/lib/schema-settings/SchemaSettingsPlugin.js +142 -0
  2621. package/lib/schema-settings/SchemaSettingsSortingRule.js +171 -0
  2622. package/lib/schema-settings/VariableInput/VariableInput.js +214 -0
  2623. package/lib/schema-settings/VariableInput/hooks/index.js +83 -0
  2624. package/lib/schema-settings/VariableInput/hooks/useBaseVariable.js +209 -0
  2625. package/lib/schema-settings/VariableInput/hooks/useBlockCollection.js +44 -0
  2626. package/lib/schema-settings/VariableInput/hooks/useContextAssociationFields.js +132 -0
  2627. package/lib/schema-settings/VariableInput/hooks/useDateVariable.js +197 -0
  2628. package/lib/schema-settings/VariableInput/hooks/useFilterVariable.js +86 -0
  2629. package/lib/schema-settings/VariableInput/hooks/useFormVariable.js +77 -0
  2630. package/lib/schema-settings/VariableInput/hooks/useIterationVariable.js +80 -0
  2631. package/lib/schema-settings/VariableInput/hooks/useParentRecordVariable.js +78 -0
  2632. package/lib/schema-settings/VariableInput/hooks/usePopupVariable.js +58 -0
  2633. package/lib/schema-settings/VariableInput/hooks/useRecordVariable.js +87 -0
  2634. package/lib/schema-settings/VariableInput/hooks/useRoleVariable.js +76 -0
  2635. package/lib/schema-settings/VariableInput/hooks/useUserVariable.js +76 -0
  2636. package/lib/schema-settings/VariableInput/hooks/useVariableOptions.js +136 -0
  2637. package/lib/schema-settings/VariableInput/index.js +74 -0
  2638. package/lib/schema-settings/VariableInput/type.js +19 -0
  2639. package/lib/schema-settings/VariableInput/utils/formatVariableScop.js +47 -0
  2640. package/lib/schema-settings/demos/basic.js +94 -0
  2641. package/lib/schema-settings/demos/built-type.js +176 -0
  2642. package/lib/schema-settings/demos/custom-component.js +76 -0
  2643. package/lib/schema-settings/demos/demo3.js +134 -0
  2644. package/lib/schema-settings/demos/schema-basic.js +98 -0
  2645. package/lib/schema-settings/filter-form/FormFilterScope.js +143 -0
  2646. package/lib/schema-settings/filter-form/context.js +43 -0
  2647. package/lib/schema-settings/hooks/useFilterFormCustomProps.js +50 -0
  2648. package/lib/schema-settings/hooks/useGetAriaLabelOfDesigner.js +58 -0
  2649. package/lib/schema-settings/hooks/useIsAllowToSetDefaultValue.js +117 -0
  2650. package/lib/schema-settings/hooks/useIsShowMultipleSwitch.js +50 -0
  2651. package/lib/schema-settings/hooks/useParseDataScopeFilter.js +88 -0
  2652. package/lib/schema-settings/index.js +218 -0
  2653. package/lib/schema-settings/isPatternDisabled.js +41 -0
  2654. package/lib/schema-settings/styles.js +118 -0
  2655. package/lib/schema-settings/types.js +19 -0
  2656. package/lib/schema-templates/BlockTemplate.js +76 -0
  2657. package/lib/schema-templates/BlockTemplateDetails.js +134 -0
  2658. package/lib/schema-templates/BlockTemplatePage.js +67 -0
  2659. package/lib/schema-templates/SchemaTemplateManagerProvider.js +113 -0
  2660. package/lib/schema-templates/collections/uiSchemaTemplates.js +55 -0
  2661. package/lib/schema-templates/index.js +92 -0
  2662. package/lib/schema-templates/schemas/CollectionTitle.js +71 -0
  2663. package/lib/schema-templates/schemas/uiSchemaTemplates.js +265 -0
  2664. package/lib/schema-templates/useSchemaTemplateManager.js +122 -0
  2665. package/lib/style/css-variable/CSSVariableProvider.js +109 -0
  2666. package/lib/style/css-variable/index.js +50 -0
  2667. package/lib/style/index.js +44 -0
  2668. package/lib/style/theme/AntdAppProvider.js +69 -0
  2669. package/lib/style/theme/defaultTheme.js +55 -0
  2670. package/lib/style/theme/index.js +165 -0
  2671. package/lib/style/theme/type.js +19 -0
  2672. package/lib/style/useToken.js +40 -0
  2673. package/lib/testUtils/index.js +65 -0
  2674. package/lib/testUtils/mockAPIClient.js +64 -0
  2675. package/lib/user/ChangePassword.js +191 -0
  2676. package/lib/user/CurrentUser.js +258 -0
  2677. package/lib/user/CurrentUserProvider.js +97 -0
  2678. package/lib/user/CurrentUserSettingsMenuProvider.js +104 -0
  2679. package/lib/user/EditProfile.js +183 -0
  2680. package/lib/user/LanguageSettings.js +94 -0
  2681. package/lib/user/SwitchRole.js +75 -0
  2682. package/lib/user/VerificationCode.js +117 -0
  2683. package/lib/user/__tests__/current-user-settings-menu-provider.test.js +43 -0
  2684. package/lib/user/index.js +83 -0
  2685. package/lib/variables/VariablesProvider.js +264 -0
  2686. package/lib/variables/__tests__/useVariables.test.js +442 -0
  2687. package/lib/variables/__tests__/utils/filterEmptyValues.test.js +53 -0
  2688. package/lib/variables/__tests__/utils/getPath.test.js +11 -0
  2689. package/lib/variables/__tests__/utils/getVariableName.test.js +11 -0
  2690. package/lib/variables/__tests__/utils/isVariable.test.js +29 -0
  2691. package/lib/variables/__tests__/utils/transformVariableValue.test.js +143 -0
  2692. package/lib/variables/__tests__/utils/uniq.test.js +84 -0
  2693. package/lib/variables/constants.js +38 -0
  2694. package/lib/variables/hooks/useBuiltinVariables.js +85 -0
  2695. package/lib/variables/hooks/useContextVariable.js +61 -0
  2696. package/lib/variables/hooks/useLocalVariables.js +102 -0
  2697. package/lib/variables/hooks/useVariables.js +39 -0
  2698. package/lib/variables/index.js +152 -0
  2699. package/lib/variables/types.js +19 -0
  2700. package/lib/variables/utils/filterEmptyValues.js +41 -0
  2701. package/lib/variables/utils/getAction.js +44 -0
  2702. package/lib/variables/utils/getPath.js +41 -0
  2703. package/lib/variables/utils/getVariableName.js +58 -0
  2704. package/lib/variables/utils/hasRequested.js +58 -0
  2705. package/lib/variables/utils/isVariable.js +47 -0
  2706. package/lib/variables/utils/transformVariableValue.js +78 -0
  2707. package/lib/variables/utils/uniq.js +58 -0
  2708. package/package.json +10 -15
  2709. package/.turbo/turbo-build.log +0 -24
  2710. package/LICENSE +0 -201
  2711. package/es/index.css +0 -1
  2712. package/es/md-CvgT1iV9.mjs +0 -60
  2713. package/es/schema-component/antd/association-filter/AssociationFilterProvider.d.ts +0 -1
  2714. package/es/schema-component/antd/markdown/markdown-it-plugins/mermaidPlugin.d.ts +0 -5
  2715. package/es/schema-component/antd/markdown/md.d.ts +0 -3
  2716. package/lib/index.css +0 -1
  2717. package/lib/md-CvgT1iV9-DbJ3_uTf.js +0 -1
@@ -0,0 +1,25 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_antd_style__ from "antd-style";
2
+ function _tagged_template_literal(strings, raw) {
3
+ if (!raw) raw = strings.slice(0);
4
+ return Object.freeze(Object.defineProperties(strings, {
5
+ raw: {
6
+ value: Object.freeze(raw)
7
+ }
8
+ }));
9
+ }
10
+ function _templateObject() {
11
+ const data = _tagged_template_literal([
12
+ "\n display: flex;\n flex-direction: row;\n max-height: 30vh;\n .left-pane {\n padding: 2px;\n display: flex;\n font-weight: 500;\n flex-direction: column;\n width: 100px;\n overflow-y: auto;\n /* 隐藏滚动条 微软/火狐 */\n -ms-overflow-style: none;\n scrollbar-width: none;\n border-right: 2px solid #d4d4d4;\n padding: 2px;\n margin-right: 5px;\n div {\n background-color: #ffffff;\n white-space: normal;\n cursor: pointer;\n margin: 5px 0 5px;\n }\n div:last-of-type {\n margin-bottom: 0;\n }\n }\n /* 隐藏滚动条 谷歌浏览器 */\n .left-pane::-webkit-scrollbar {\n display: none;\n }\n\n .right-pane {\n padding: 2px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n flex: 1;\n div {\n margin-bottom: 1em;\n .ant-btn {\n margin-right: 2px;\n }\n }\n div:last-of-type {\n margin-bottom: 0;\n }\n }\n "
13
+ ]);
14
+ _templateObject = function() {
15
+ return data;
16
+ };
17
+ return data;
18
+ }
19
+ const useStyles = (0, __WEBPACK_EXTERNAL_MODULE_antd_style__.createStyles)((param)=>{
20
+ let { css } = param;
21
+ return {
22
+ container: css(_templateObject())
23
+ };
24
+ });
25
+ export { useStyles };
@@ -0,0 +1,55 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../../../collection-manager/index.mjs";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_initializer_components_index_mjs__ from "../../../../schema-initializer/components/index.mjs";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__action_index_mjs__ from "../../action/index.mjs";
7
+ import * as __WEBPACK_EXTERNAL_MODULE__hooks_mjs__ from "../hooks.mjs";
8
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_mjs__ from "../schema.mjs";
9
+ const CreateRecordAction = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.observer)((props)=>{
10
+ const field = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useField)();
11
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
12
+ const ctx = (0, __WEBPACK_EXTERNAL_MODULE__action_index_mjs__.useActionContext)();
13
+ const { getCollection } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollectionManager_deprecated)();
14
+ const insertAddNewer = (0, __WEBPACK_EXTERNAL_MODULE__hooks_mjs__.useInsertSchema)('AddNewer');
15
+ const { options: collectionField } = (0, __WEBPACK_EXTERNAL_MODULE__hooks_mjs__.useAssociationFieldContext)();
16
+ const [visibleAddNewer, setVisibleAddNewer] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
17
+ const targetCollection = getCollection(null == collectionField ? void 0 : collectionField.target);
18
+ const [currentCollection, setCurrentCollection] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(null == targetCollection ? void 0 : targetCollection.name);
19
+ const [currentDataSource, setCurrentDataSource] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(null == targetCollection ? void 0 : targetCollection.dataSource);
20
+ const addbuttonClick = (collectionData)=>{
21
+ insertAddNewer(__WEBPACK_EXTERNAL_MODULE__schema_mjs__["default"].AddNewer);
22
+ setVisibleAddNewer(true);
23
+ setCurrentCollection(collectionData.name);
24
+ setCurrentDataSource(collectionData.dataSource);
25
+ };
26
+ return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsxs)(__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.CollectionProvider_deprecated, {
27
+ name: null == collectionField ? void 0 : collectionField.target,
28
+ children: [
29
+ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_initializer_components_index_mjs__.CreateAction, {
30
+ ...props,
31
+ onClick: (arg)=>addbuttonClick(arg)
32
+ }),
33
+ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__action_index_mjs__.ActionContextProvider, {
34
+ value: {
35
+ ...ctx,
36
+ visible: visibleAddNewer,
37
+ setVisible: setVisibleAddNewer
38
+ },
39
+ children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.CollectionProvider_deprecated, {
40
+ name: currentCollection,
41
+ dataSource: currentDataSource,
42
+ children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_schema__.RecursionField, {
43
+ onlyRenderProperties: true,
44
+ basePath: field.address,
45
+ schema: fieldSchema,
46
+ filterProperties: (s)=>'AssociationField.AddNewer' === s['x-component']
47
+ })
48
+ })
49
+ })
50
+ ]
51
+ });
52
+ }, {
53
+ displayName: 'CreateRecordAction'
54
+ });
55
+ export { CreateRecordAction };
@@ -0,0 +1,4 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
2
+ const AssociationFieldContext = (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)({});
3
+ AssociationFieldContext.displayName = 'AssociationFieldContext';
4
+ export { AssociationFieldContext };
@@ -0,0 +1,150 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
2
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__ from "@tachybase/utils/client";
4
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
5
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep__ from "lodash/cloneDeep";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../../collection-manager/index.mjs";
7
+ import * as __WEBPACK_EXTERNAL_MODULE__filter_provider_index_mjs__ from "../../../filter-provider/index.mjs";
8
+ import * as __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__ from "../../../filter-provider/utils.mjs";
9
+ import * as __WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__ from "../../../record-provider/index.mjs";
10
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__ from "../../../schema-settings/index.mjs";
11
+ import * as __WEBPACK_EXTERNAL_MODULE__variables_index_mjs__ from "../../../variables/index.mjs";
12
+ import * as __WEBPACK_EXTERNAL_MODULE__variables_utils_getPath_mjs__ from "../../../variables/utils/getPath.mjs";
13
+ import * as __WEBPACK_EXTERNAL_MODULE__variables_utils_getVariableName_mjs__ from "../../../variables/utils/getVariableName.mjs";
14
+ import * as __WEBPACK_EXTERNAL_MODULE__variables_utils_isVariable_mjs__ from "../../../variables/utils/isVariable.mjs";
15
+ import * as __WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__ from "../../hooks/index.mjs";
16
+ import * as __WEBPACK_EXTERNAL_MODULE__context_mjs__ from "./context.mjs";
17
+ const useInsertSchema = (component)=>{
18
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
19
+ const { insertAfterBegin } = (0, __WEBPACK_EXTERNAL_MODULE__hooks_index_mjs__.useDesignable)();
20
+ const insert = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((ss)=>{
21
+ const schema = fieldSchema.reduceProperties((buf, s)=>{
22
+ if (s['x-component'] === 'AssociationField.' + component) return s;
23
+ return buf;
24
+ }, null);
25
+ if (!schema) insertAfterBegin((0, __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep__["default"])(ss));
26
+ }, [
27
+ component
28
+ ]);
29
+ return insert;
30
+ };
31
+ function useAssociationFieldContext() {
32
+ return (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__context_mjs__.AssociationFieldContext);
33
+ }
34
+ function useServiceOptions(props) {
35
+ var _field_componentProps_service_params, _field_componentProps_service, _field_componentProps, _service_params;
36
+ const { action = 'list', service, useOriginalFilter } = props;
37
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
38
+ const field = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useField)();
39
+ const { getField } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
40
+ const { getCollectionJoinField } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollectionManager_deprecated)();
41
+ const record = (0, __WEBPACK_EXTERNAL_MODULE__record_provider_index_mjs__.useRecord)();
42
+ const { parseFilter, findVariable } = (0, __WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.useParseDataScopeFilter)();
43
+ const [fieldServiceFilter, setFieldServiceFilter] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(null);
44
+ (0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
45
+ var _fieldSchema_xcomponentprops_service_params, _fieldSchema_xcomponentprops_service, _fieldSchema_xcomponentprops, _field_componentProps_service_params, _field_componentProps_service, _field_componentProps, _fieldSchema_xcomponentprops_service_params1, _fieldSchema_xcomponentprops_service1, _fieldSchema_xcomponentprops1;
46
+ const filterFromSchema = (0, __WEBPACK_EXTERNAL_MODULE_lodash__.isString)(null == fieldSchema ? void 0 : null === (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops ? void 0 : null === (_fieldSchema_xcomponentprops_service = _fieldSchema_xcomponentprops.service) || void 0 === _fieldSchema_xcomponentprops_service ? void 0 : null === (_fieldSchema_xcomponentprops_service_params = _fieldSchema_xcomponentprops_service.params) || void 0 === _fieldSchema_xcomponentprops_service_params ? void 0 : _fieldSchema_xcomponentprops_service_params.filter) ? null === (_field_componentProps = field.componentProps) || void 0 === _field_componentProps ? void 0 : null === (_field_componentProps_service = _field_componentProps.service) || void 0 === _field_componentProps_service ? void 0 : null === (_field_componentProps_service_params = _field_componentProps_service.params) || void 0 === _field_componentProps_service_params ? void 0 : _field_componentProps_service_params.filter : null == fieldSchema ? void 0 : null === (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops1 ? void 0 : null === (_fieldSchema_xcomponentprops_service1 = _fieldSchema_xcomponentprops1.service) || void 0 === _fieldSchema_xcomponentprops_service1 ? void 0 : null === (_fieldSchema_xcomponentprops_service_params1 = _fieldSchema_xcomponentprops_service1.params) || void 0 === _fieldSchema_xcomponentprops_service_params1 ? void 0 : _fieldSchema_xcomponentprops_service_params1.filter;
47
+ const _run = async ()=>{
48
+ var _service_params;
49
+ const result = await parseFilter((0, __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__.mergeFilter)([
50
+ filterFromSchema || (null == service ? void 0 : null === (_service_params = service.params) || void 0 === _service_params ? void 0 : _service_params.filter)
51
+ ]));
52
+ setFieldServiceFilter(result);
53
+ };
54
+ const run = __WEBPACK_EXTERNAL_MODULE_lodash__["default"].debounce(_run, __WEBPACK_EXTERNAL_MODULE__variables_index_mjs__.DEBOUNCE_WAIT);
55
+ _run();
56
+ const dispose = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.reaction)(()=>{
57
+ const flat = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.flatten)(filterFromSchema, {
58
+ breakOn (param) {
59
+ let { key } = param;
60
+ return key.startsWith('$') && '$and' !== key && '$or' !== key;
61
+ },
62
+ transformValue (value) {
63
+ if (!(0, __WEBPACK_EXTERNAL_MODULE__variables_utils_isVariable_mjs__.isVariable)(value)) return value;
64
+ const variableName = (0, __WEBPACK_EXTERNAL_MODULE__variables_utils_getVariableName_mjs__.getVariableName)(value);
65
+ const variable = findVariable(variableName);
66
+ const result = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.getValuesByPath)({
67
+ [variableName]: (null == variable ? void 0 : variable.ctx) || {}
68
+ }, (0, __WEBPACK_EXTERNAL_MODULE__variables_utils_getPath_mjs__.getPath)(value));
69
+ return result;
70
+ }
71
+ });
72
+ return flat;
73
+ }, run);
74
+ return dispose;
75
+ }, [
76
+ null === (_field_componentProps = field.componentProps) || void 0 === _field_componentProps ? void 0 : null === (_field_componentProps_service = _field_componentProps.service) || void 0 === _field_componentProps_service ? void 0 : null === (_field_componentProps_service_params = _field_componentProps_service.params) || void 0 === _field_componentProps_service_params ? void 0 : _field_componentProps_service_params.filter,
77
+ fieldSchema,
78
+ findVariable,
79
+ parseFilter,
80
+ record,
81
+ null == service ? void 0 : null === (_service_params = service.params) || void 0 === _service_params ? void 0 : _service_params.filter
82
+ ]);
83
+ const collectionField = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>getField(fieldSchema.name) || getCollectionJoinField(null == fieldSchema ? void 0 : fieldSchema['x-collection-field']), [
84
+ fieldSchema
85
+ ]);
86
+ const sourceValue = null == record ? void 0 : record[null == collectionField ? void 0 : collectionField.sourceKey];
87
+ const filter = (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>{
88
+ const isOToAny = [
89
+ 'oho',
90
+ 'o2m'
91
+ ].includes(null == collectionField ? void 0 : collectionField.interface);
92
+ return (0, __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__.mergeFilter)([
93
+ (0, __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__.mergeFilter)([
94
+ isOToAny && !(0, __WEBPACK_EXTERNAL_MODULE__filter_provider_index_mjs__.isInFilterFormBlock)(fieldSchema) && (null == collectionField ? void 0 : collectionField.foreignKey) && !useOriginalFilter ? {
95
+ [collectionField.foreignKey]: {
96
+ $is: null
97
+ }
98
+ } : null,
99
+ fieldServiceFilter
100
+ ]),
101
+ isOToAny && null != sourceValue && !(0, __WEBPACK_EXTERNAL_MODULE__filter_provider_index_mjs__.isInFilterFormBlock)(fieldSchema) && (null == collectionField ? void 0 : collectionField.foreignKey) && !useOriginalFilter ? {
102
+ [collectionField.foreignKey]: {
103
+ $eq: sourceValue
104
+ }
105
+ } : null
106
+ ], '$or');
107
+ }, [
108
+ null == collectionField ? void 0 : collectionField.interface,
109
+ null == collectionField ? void 0 : collectionField.foreignKey,
110
+ fieldSchema,
111
+ fieldServiceFilter,
112
+ sourceValue,
113
+ useOriginalFilter
114
+ ]);
115
+ return (0, __WEBPACK_EXTERNAL_MODULE_react__.useMemo)(()=>({
116
+ resource: null == collectionField ? void 0 : collectionField.target,
117
+ action,
118
+ ...service,
119
+ params: {
120
+ ...null == service ? void 0 : service.params,
121
+ filter
122
+ }
123
+ }), [
124
+ null == collectionField ? void 0 : collectionField.target,
125
+ action,
126
+ filter,
127
+ service
128
+ ]);
129
+ }
130
+ const useFieldNames = (props)=>{
131
+ var _fieldSchema_xcomponentprops_field_uiSchema_xcomponentprops, _fieldSchema_xcomponentprops_field_uiSchema, _fieldSchema_xcomponentprops_field, _fieldSchema_xcomponentprops, _fieldSchema_xcomponentprops1;
132
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
133
+ const fieldNames = (null === (_fieldSchema_xcomponentprops = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops ? void 0 : null === (_fieldSchema_xcomponentprops_field = _fieldSchema_xcomponentprops['field']) || void 0 === _fieldSchema_xcomponentprops_field ? void 0 : null === (_fieldSchema_xcomponentprops_field_uiSchema = _fieldSchema_xcomponentprops_field['uiSchema']) || void 0 === _fieldSchema_xcomponentprops_field_uiSchema ? void 0 : null === (_fieldSchema_xcomponentprops_field_uiSchema_xcomponentprops = _fieldSchema_xcomponentprops_field_uiSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops_field_uiSchema_xcomponentprops ? void 0 : _fieldSchema_xcomponentprops_field_uiSchema_xcomponentprops['fieldNames']) || (null == fieldSchema ? void 0 : null === (_fieldSchema_xcomponentprops1 = fieldSchema['x-component-props']) || void 0 === _fieldSchema_xcomponentprops1 ? void 0 : _fieldSchema_xcomponentprops1['fieldNames']) || props.fieldNames;
134
+ return {
135
+ label: 'label',
136
+ value: 'value',
137
+ ...fieldNames
138
+ };
139
+ };
140
+ const SubFormContext = (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
141
+ SubFormContext.displayName = 'SubFormContext';
142
+ const SubFormProvider = SubFormContext.Provider;
143
+ const useSubFormValue = ()=>{
144
+ const { value, collection } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(SubFormContext) || {};
145
+ return {
146
+ formValue: value,
147
+ collection
148
+ };
149
+ };
150
+ export { SubFormProvider, useServiceOptions as default, useAssociationFieldContext, useFieldNames, useInsertSchema, useSubFormValue };
@@ -0,0 +1,17 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
2
+ import * as __WEBPACK_EXTERNAL_MODULE__action_index_mjs__ from "../action/index.mjs";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__Editable_mjs__ from "./Editable.mjs";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__InternalPicker_mjs__ from "./InternalPicker.mjs";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__Nester_mjs__ from "./Nester.mjs";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__ReadPretty_mjs__ from "./ReadPretty.mjs";
7
+ import * as __WEBPACK_EXTERNAL_MODULE__SubTable_mjs__ from "./SubTable.mjs";
8
+ export * from "./SubTabs/index.mjs";
9
+ const AssociationField = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.connect)(__WEBPACK_EXTERNAL_MODULE__Editable_mjs__.Editable, (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.mapReadPretty)(__WEBPACK_EXTERNAL_MODULE__ReadPretty_mjs__.ReadPretty));
10
+ AssociationField.SubTable = __WEBPACK_EXTERNAL_MODULE__SubTable_mjs__.SubTable;
11
+ AssociationField.Nester = __WEBPACK_EXTERNAL_MODULE__Nester_mjs__.Nester;
12
+ AssociationField.AddNewer = __WEBPACK_EXTERNAL_MODULE__action_index_mjs__.Action.Container;
13
+ AssociationField.Selector = __WEBPACK_EXTERNAL_MODULE__action_index_mjs__.Action.Container;
14
+ AssociationField.Viewer = __WEBPACK_EXTERNAL_MODULE__action_index_mjs__.Action.Container;
15
+ AssociationField.InternalSelect = __WEBPACK_EXTERNAL_MODULE__InternalPicker_mjs__.InternalPicker;
16
+ AssociationField.ReadPretty = __WEBPACK_EXTERNAL_MODULE__ReadPretty_mjs__.ReadPretty;
17
+ export { AssociationField };
@@ -0,0 +1,131 @@
1
+ const schema_rslib_entry_ = {
2
+ Nester: {
3
+ type: 'void',
4
+ 'x-component': 'AssociationField.Nester',
5
+ properties: {
6
+ grid: {
7
+ type: 'void',
8
+ 'x-component': 'Grid',
9
+ 'x-initializer': 'form:configureFields'
10
+ }
11
+ }
12
+ },
13
+ AddNewer: {
14
+ type: 'void',
15
+ 'x-component': 'AssociationField.AddNewer',
16
+ 'x-action': 'create',
17
+ title: '{{ t("Add record") }}',
18
+ 'x-component-props': {
19
+ className: 'tb-action-popup'
20
+ },
21
+ properties: {
22
+ tabs: {
23
+ type: 'void',
24
+ 'x-component': 'Tabs',
25
+ 'x-component-props': {},
26
+ 'x-initializer': 'TabPaneInitializersForCreateFormBlock',
27
+ properties: {
28
+ tab1: {
29
+ type: 'void',
30
+ title: '{{t("Add new")}}',
31
+ 'x-component': 'Tabs.TabPane',
32
+ 'x-designer': 'Tabs.Designer',
33
+ 'x-component-props': {},
34
+ properties: {
35
+ grid: {
36
+ type: 'void',
37
+ 'x-component': 'Grid',
38
+ 'x-initializer': 'popup:addNew:addBlock',
39
+ properties: {}
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ },
47
+ Selector: {
48
+ type: 'void',
49
+ 'x-component': 'AssociationField.Selector',
50
+ title: '{{ t("Select record") }}',
51
+ 'x-component-props': {
52
+ className: 'tb-record-picker-selector'
53
+ },
54
+ properties: {
55
+ grid: {
56
+ type: 'void',
57
+ 'x-component': 'Grid',
58
+ 'x-initializer': 'popup:tableSelector:addBlock',
59
+ properties: {}
60
+ },
61
+ footer: {
62
+ 'x-component': 'Action.Container.Footer',
63
+ 'x-component-props': {},
64
+ properties: {
65
+ actions: {
66
+ type: 'void',
67
+ 'x-component': 'ActionBar',
68
+ 'x-component-props': {},
69
+ properties: {
70
+ submit: {
71
+ title: '{{ t("Submit") }}',
72
+ 'x-action': 'submit',
73
+ 'x-component': 'Action',
74
+ 'x-use-component-props': 'usePickActionProps',
75
+ 'x-toolbar': 'ActionSchemaToolbar',
76
+ 'x-settings': 'actionSettings:submit',
77
+ 'x-component-props': {
78
+ type: 'primary',
79
+ htmlType: 'submit'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ },
88
+ Viewer: {
89
+ type: 'void',
90
+ title: '{{ t("View record") }}',
91
+ 'x-component': 'AssociationField.Viewer',
92
+ 'x-component-props': {
93
+ className: 'tb-action-popup'
94
+ },
95
+ properties: {
96
+ tabs: {
97
+ type: 'void',
98
+ 'x-component': 'Tabs',
99
+ 'x-component-props': {},
100
+ 'x-initializer': 'TabPaneInitializers',
101
+ properties: {
102
+ tab1: {
103
+ type: 'void',
104
+ title: '{{t("Details")}}',
105
+ 'x-component': 'Tabs.TabPane',
106
+ 'x-designer': 'Tabs.Designer',
107
+ 'x-component-props': {},
108
+ properties: {
109
+ grid: {
110
+ type: 'void',
111
+ 'x-component': 'Grid',
112
+ 'x-initializer': 'popup:common:addBlock',
113
+ properties: {}
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ },
121
+ SubTable: {
122
+ type: 'void',
123
+ 'x-component': 'AssociationField.SubTable',
124
+ 'x-initializer': 'table:configureColumns',
125
+ 'x-initializer-props': {
126
+ action: false
127
+ },
128
+ properties: {}
129
+ }
130
+ };
131
+ export { schema_rslib_entry_ as default };
@@ -0,0 +1,103 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
2
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__ from "@tachybase/utils/client";
4
+ import * as __WEBPACK_EXTERNAL_MODULE_antd__ from "antd";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../../collection-manager/index.mjs";
6
+ const useLabelUiSchemaV2 = ()=>{
7
+ const { getCollectionJoinField } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollectionManager_deprecated)();
8
+ return (collectionName, label)=>{
9
+ if (!collectionName) return;
10
+ const labelField = getCollectionJoinField("".concat(collectionName, ".").concat(label));
11
+ return null == labelField ? void 0 : labelField.uiSchema;
12
+ };
13
+ };
14
+ const useLabelUiSchema = (collectionName, label)=>{
15
+ const { getCollectionJoinField } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollectionManager_deprecated)();
16
+ if (!collectionName) return;
17
+ const labelField = getCollectionJoinField("".concat(collectionName, ".").concat(label));
18
+ return null == labelField ? void 0 : labelField.uiSchema;
19
+ };
20
+ const getDatePickerLabels = (props)=>{
21
+ const format = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.getDefaultFormat)(props);
22
+ const m = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.str2moment)(props.value, props);
23
+ const labels = m && m.isValid() ? m.format(format) : props.value;
24
+ return (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.isArr)(labels) ? labels.join('~') : labels;
25
+ };
26
+ const toArr = (v)=>{
27
+ if (!v) return [];
28
+ return Array.isArray(v) ? v : [
29
+ v
30
+ ];
31
+ };
32
+ const getLabelFormatValue = function(labelUiSchema, value) {
33
+ let isTag = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
34
+ const options = null == labelUiSchema ? void 0 : labelUiSchema.enum;
35
+ if (Array.isArray(options) && value) {
36
+ const values = toArr(value).map((val)=>{
37
+ const opt = options.find((option)=>option.value === val);
38
+ if (isTag) return __WEBPACK_EXTERNAL_MODULE_react__["default"].createElement(__WEBPACK_EXTERNAL_MODULE_antd__.Tag, {
39
+ color: null == opt ? void 0 : opt.color
40
+ }, null == opt ? void 0 : opt.label);
41
+ return null == opt ? void 0 : opt.label;
42
+ });
43
+ return isTag ? values : values.join(', ');
44
+ }
45
+ switch(null == labelUiSchema ? void 0 : labelUiSchema['x-component']){
46
+ case 'DatePicker':
47
+ return getDatePickerLabels({
48
+ ...null == labelUiSchema ? void 0 : labelUiSchema['x-component-props'],
49
+ value
50
+ });
51
+ default:
52
+ return value;
53
+ }
54
+ };
55
+ const getTabFormatValue = (labelUiSchema, value, tagColor)=>{
56
+ const options = null == labelUiSchema ? void 0 : labelUiSchema.enum;
57
+ if (Array.isArray(options) && value) {
58
+ const values = toArr(value).map((val)=>{
59
+ const opt = options.find((option)=>option.value === val);
60
+ return __WEBPACK_EXTERNAL_MODULE_react__["default"].createElement(__WEBPACK_EXTERNAL_MODULE_antd__.Tag, {
61
+ color: tagColor || (null == opt ? void 0 : opt.color)
62
+ }, null == opt ? void 0 : opt.label);
63
+ });
64
+ return values;
65
+ }
66
+ switch(null == labelUiSchema ? void 0 : labelUiSchema['x-component']){
67
+ case 'DatePicker':
68
+ return __WEBPACK_EXTERNAL_MODULE_react__["default"].createElement(__WEBPACK_EXTERNAL_MODULE_antd__.Tag, {
69
+ color: tagColor
70
+ }, getDatePickerLabels({
71
+ ...null == labelUiSchema ? void 0 : labelUiSchema['x-component-props'],
72
+ value
73
+ }));
74
+ default:
75
+ return __WEBPACK_EXTERNAL_MODULE_react__["default"].createElement(__WEBPACK_EXTERNAL_MODULE_antd__.Tag, {
76
+ color: tagColor
77
+ }, value);
78
+ }
79
+ };
80
+ function flatData(data) {
81
+ const newArr = [];
82
+ for(let i = 0; i < data.length; i++){
83
+ const children = data[i]['children'];
84
+ if (Array.isArray(children)) newArr.push(...flatData(children));
85
+ newArr.push({
86
+ ...data[i]
87
+ });
88
+ }
89
+ return newArr;
90
+ }
91
+ function isShowFilePicker(labelUiSchema) {
92
+ return (null == labelUiSchema ? void 0 : labelUiSchema['x-component']) === 'Preview';
93
+ }
94
+ function isSubMode(field) {
95
+ var _field_xcomponentprops, _field_componentProps;
96
+ const mode = (null === (_field_xcomponentprops = field['x-component-props']) || void 0 === _field_xcomponentprops ? void 0 : _field_xcomponentprops.mode) || (null === (_field_componentProps = field.componentProps) || void 0 === _field_componentProps ? void 0 : _field_componentProps.mode);
97
+ return [
98
+ 'Nester',
99
+ 'SubTable',
100
+ 'PopoverNester'
101
+ ].includes(mode);
102
+ }
103
+ export { flatData, getDatePickerLabels, getLabelFormatValue, getTabFormatValue, isShowFilePicker, isSubMode, useLabelUiSchema, useLabelUiSchemaV2 };
@@ -0,0 +1,54 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
4
+ import * as __WEBPACK_EXTERNAL_MODULE_react_i18next__ from "react-i18next";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__index_mjs__ from "../../index.mjs";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__ from "../../../api-client/index.mjs";
7
+ import * as __WEBPACK_EXTERNAL_MODULE__block_provider_index_mjs__ from "../../../block-provider/index.mjs";
8
+ import * as __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__ from "../../../filter-provider/utils.mjs";
9
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_initializer_items_ActionInitializer_mjs__ from "../../../schema-initializer/items/ActionInitializer.mjs";
10
+ const ActionBarAssociationFilterAction = (props)=>{
11
+ const { refresh } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__index_mjs__.SchemaComponentContext);
12
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
13
+ const api = (0, __WEBPACK_EXTERNAL_MODULE__api_client_index_mjs__.useAPIClient)();
14
+ const { t } = (0, __WEBPACK_EXTERNAL_MODULE_react_i18next__.useTranslation)();
15
+ const dn = (0, __WEBPACK_EXTERNAL_MODULE__index_mjs__.createDesignable)({
16
+ t,
17
+ api,
18
+ refresh,
19
+ current: fieldSchema
20
+ });
21
+ const { service, props: blockProps } = (0, __WEBPACK_EXTERNAL_MODULE__block_provider_index_mjs__.useBlockRequestContext)();
22
+ dn.loadAPIClientEvents();
23
+ const handleInsert = (s)=>{
24
+ dn.insertBeforeBegin(s);
25
+ };
26
+ const handleRemove = (schema, remove)=>{
27
+ var _service_params, _blockProps_params;
28
+ remove(schema);
29
+ service.run({
30
+ ...null === (_service_params = service.params) || void 0 === _service_params ? void 0 : _service_params[0],
31
+ filter: (0, __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__.mergeFilter)([
32
+ null == blockProps ? void 0 : null === (_blockProps_params = blockProps.params) || void 0 === _blockProps_params ? void 0 : _blockProps_params.filter
33
+ ])
34
+ });
35
+ };
36
+ const schema = {
37
+ type: 'void',
38
+ 'x-action': 'associateFilter',
39
+ 'x-initializer': 'AssociationFilter.Initializer',
40
+ 'x-component': 'AssociationFilter',
41
+ properties: {}
42
+ };
43
+ const newProps = {
44
+ ...props,
45
+ insert: handleInsert,
46
+ remove: handleRemove,
47
+ wrap: (s)=>s
48
+ };
49
+ return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_initializer_items_ActionInitializer_mjs__.ActionInitializer, {
50
+ ...newProps,
51
+ schema: schema
52
+ });
53
+ };
54
+ export { ActionBarAssociationFilterAction };
@@ -0,0 +1,40 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
2
+ import "react";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
4
+ import * as __WEBPACK_EXTERNAL_MODULE_react_i18next__ from "react-i18next";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../../../collection-manager/index.mjs";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__ from "../../../filter-provider/utils.mjs";
7
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__ from "../../../schema-settings/index.mjs";
8
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_templates_index_mjs__ from "../../../schema-templates/index.mjs";
9
+ const AssociationFilterBlockDesigner = ()=>{
10
+ var _fieldSchema_xdecoratorprops, _fieldSchema_xdecoratorprops1;
11
+ const { name, title } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
12
+ const template = (0, __WEBPACK_EXTERNAL_MODULE__schema_templates_index_mjs__.useSchemaTemplate)();
13
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
14
+ const { t } = (0, __WEBPACK_EXTERNAL_MODULE_react_i18next__.useTranslation)();
15
+ const defaultResource = (null == fieldSchema ? void 0 : null === (_fieldSchema_xdecoratorprops = fieldSchema['x-decorator-props']) || void 0 === _fieldSchema_xdecoratorprops ? void 0 : _fieldSchema_xdecoratorprops.resource) || (null == fieldSchema ? void 0 : null === (_fieldSchema_xdecoratorprops1 = fieldSchema['x-decorator-props']) || void 0 === _fieldSchema_xdecoratorprops1 ? void 0 : _fieldSchema_xdecoratorprops1.association);
16
+ return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsxs)(__WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.GeneralSchemaDesigner, {
17
+ template: template,
18
+ title: title || name,
19
+ children: [
20
+ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.SchemaSettingsBlockTitleItem, {}),
21
+ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.SchemaSettingsTemplate, {
22
+ componentName: 'FilterCollapse',
23
+ collectionName: name,
24
+ resourceName: defaultResource
25
+ }),
26
+ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.SchemaSettingsConnectDataBlocks, {
27
+ type: __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__.FilterBlockType.COLLAPSE,
28
+ emptyDescription: t('No blocks to connect')
29
+ }),
30
+ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.SchemaSettingsDivider, {}),
31
+ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_settings_index_mjs__.SchemaSettingsRemove, {
32
+ removeParentsIfNoChildren: true,
33
+ breakRemoveOn: {
34
+ 'x-component': 'Grid'
35
+ }
36
+ })
37
+ ]
38
+ });
39
+ };
40
+ export { AssociationFilterBlockDesigner };
@@ -0,0 +1,55 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE__application_schema_initializer_SchemaInitializer_mjs__ from "../../../application/schema-initializer/SchemaInitializer.mjs";
2
+ import * as __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__ from "../../../filter-provider/utils.mjs";
3
+ const associationFilterInitializer = new __WEBPACK_EXTERNAL_MODULE__application_schema_initializer_SchemaInitializer_mjs__.SchemaInitializer({
4
+ name: 'AssociationFilter.Initializer',
5
+ style: {
6
+ marginTop: 16
7
+ },
8
+ icon: 'SettingOutlined',
9
+ title: '{{t("Configure fields")}}',
10
+ items: [
11
+ {
12
+ name: 'associationFields',
13
+ type: 'itemGroup',
14
+ title: '{{t("Association fields")}}',
15
+ useChildren () {
16
+ const associatedFields = (0, __WEBPACK_EXTERNAL_MODULE__filter_provider_utils_mjs__.useAssociatedFields)();
17
+ const children = associatedFields.map((field)=>{
18
+ var _field_uiSchema, _field_uiSchema1;
19
+ return {
20
+ type: 'item',
21
+ name: field.key,
22
+ title: null === (_field_uiSchema = field.uiSchema) || void 0 === _field_uiSchema ? void 0 : _field_uiSchema.title,
23
+ Component: 'AssociationFilterDesignerDisplayField',
24
+ schema: {
25
+ name: field.name,
26
+ title: null === (_field_uiSchema1 = field.uiSchema) || void 0 === _field_uiSchema1 ? void 0 : _field_uiSchema1.title,
27
+ type: 'void',
28
+ 'x-toolbar': 'CollapseItemSchemaToolbar',
29
+ 'x-settings': 'fieldSettings:FilterCollapseItem',
30
+ 'x-component': 'AssociationFilter.Item',
31
+ 'x-use-component-props': 'useAssociationFilterProps',
32
+ 'x-component-props': {
33
+ fieldNames: {
34
+ label: field.targetKey || 'id'
35
+ }
36
+ },
37
+ properties: {}
38
+ }
39
+ };
40
+ });
41
+ return children;
42
+ }
43
+ },
44
+ {
45
+ name: 'divider',
46
+ type: 'divider'
47
+ },
48
+ {
49
+ name: 'delete',
50
+ title: '{{t("Delete")}}',
51
+ Component: 'AssociationFilterDesignerDelete'
52
+ }
53
+ ]
54
+ });
55
+ export { associationFilterInitializer };