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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1340) hide show
  1. package/es/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.mjs +8 -0
  67. package/es/application/schema-initializer/hoc/index.mjs +117 -0
  68. package/es/application/schema-initializer/hooks/index.mjs +153 -0
  69. package/es/application/schema-initializer/hooks/useAriaAttributeOfMenuItem.mjs +17 -0
  70. package/es/application/schema-initializer/index.mjs +7 -0
  71. package/es/application/schema-initializer/types.mjs +0 -0
  72. package/es/application/schema-settings/SchemaSettings.mjs +71 -0
  73. package/es/application/schema-settings/SchemaSettingsDefaults.mjs +215 -0
  74. package/es/application/schema-settings/SchemaSettingsManager.mjs +72 -0
  75. package/es/application/schema-settings/components/SchemaSettingsChildren.mjs +90 -0
  76. package/es/application/schema-settings/components/SchemaSettingsIcon.mjs +19 -0
  77. package/es/application/schema-settings/components/SchemaSettingsWrapper.mjs +33 -0
  78. package/es/application/schema-settings/components/index.mjs +2 -0
  79. package/es/application/schema-settings/context/index.mjs +7 -0
  80. package/es/application/schema-settings/hooks/index.mjs +44 -0
  81. package/es/application/schema-settings/index.mjs +6 -0
  82. package/es/application/schema-settings/types.mjs +0 -0
  83. package/es/application/schema-toolbar/context/index.mjs +15 -0
  84. package/es/application/schema-toolbar/hooks/index.mjs +25 -0
  85. package/es/application/schema-toolbar/index.mjs +2 -0
  86. package/es/application/utils/globalDeps.mjs +60 -0
  87. package/es/application/utils/index.mjs +39 -0
  88. package/es/application/utils/remotePlugins.mjs +102 -0
  89. package/es/async-data-provider/index.mjs +21 -0
  90. package/es/block-provider/BlockProvider.mjs +308 -0
  91. package/es/block-provider/DetailsBlockProvider.mjs +98 -0
  92. package/es/block-provider/FilterFormBlockProvider.mjs +19 -0
  93. package/es/block-provider/FormBlockProvider.mjs +166 -0
  94. package/es/block-provider/FormFieldProvider.mjs +84 -0
  95. package/es/block-provider/MobileProvider.mjs +15 -0
  96. package/es/block-provider/PageLayout.mjs +9 -0
  97. package/es/block-provider/TableBlockProvider.mjs +110 -0
  98. package/es/block-provider/TableFieldProvider.mjs +163 -0
  99. package/es/block-provider/TableSelectorProvider.mjs +285 -0
  100. package/es/block-provider/TreeBlockProvider.mjs +117 -0
  101. package/es/block-provider/hooks/index.mjs +1206 -0
  102. package/es/block-provider/hooks/useDataBlockSourceId.mjs +14 -0
  103. package/es/block-provider/hooks/useFormActiveFields.mjs +34 -0
  104. package/es/block-provider/hooks/useIsMobile.mjs +7 -0
  105. package/es/block-provider/hooks/useParsedFilter.mjs +48 -0
  106. package/es/block-provider/index.mjs +11 -0
  107. package/es/built-in/acl/ACLPlugin.mjs +13 -0
  108. package/es/built-in/acl/ACLProvider.mjs +280 -0
  109. package/es/built-in/acl/ACLShortcut.mjs +23 -0
  110. package/es/built-in/acl/Configuration/ConfigureCenter.mjs +123 -0
  111. package/es/built-in/acl/Configuration/MenuConfigure.mjs +147 -0
  112. package/es/built-in/acl/Configuration/MenuItemsProvider.mjs +40 -0
  113. package/es/built-in/acl/Configuration/PermisionProvider.mjs +69 -0
  114. package/es/built-in/acl/Configuration/RoleConfigure.mjs +127 -0
  115. package/es/built-in/acl/Configuration/RoleTable.mjs +40 -0
  116. package/es/built-in/acl/Configuration/RolesResourcesActions.mjs +216 -0
  117. package/es/built-in/acl/Configuration/ScopeSelect.mjs +41 -0
  118. package/es/built-in/acl/Configuration/StrategyActions.mjs +109 -0
  119. package/es/built-in/acl/Configuration/index.mjs +17 -0
  120. package/es/built-in/acl/Configuration/schemas/roles.mjs +395 -0
  121. package/es/built-in/acl/Configuration/schemas/scopes.mjs +362 -0
  122. package/es/built-in/acl/Configuration/schemas/useRoleResourceValues.mjs +35 -0
  123. package/es/built-in/acl/Configuration/schemas/useSaveRoleResourceAction.mjs +23 -0
  124. package/es/built-in/acl/index.mjs +4 -0
  125. package/es/built-in/acl/style.mjs +23 -0
  126. package/es/built-in/admin-layout/AdminContent.mjs +13 -0
  127. package/es/built-in/admin-layout/AdminTabs.mjs +9 -0
  128. package/es/built-in/admin-layout/NoticeArea.mjs +16 -0
  129. package/es/built-in/admin-layout/components/AddNewButton.mjs +55 -0
  130. package/es/built-in/admin-layout/components/WelcomeCard.mjs +81 -0
  131. package/es/built-in/admin-layout/index.mjs +233 -0
  132. package/es/built-in/admin-layout/style.mjs +142 -0
  133. package/es/built-in/assistant/Assistant.provider.mjs +77 -0
  134. package/es/built-in/assistant/ai-chat/index.mjs +330 -0
  135. package/es/built-in/assistant/ai-chat/index.module.mjs +30 -0
  136. package/es/built-in/assistant/ai-chat/index_module.css +257 -0
  137. package/es/built-in/assistant/calculator/AutoScalingText.mjs +33 -0
  138. package/es/built-in/assistant/calculator/Calculator.mjs +235 -0
  139. package/es/built-in/assistant/calculator/CalculatorDisplay.mjs +21 -0
  140. package/es/built-in/assistant/calculator/CalculatorKey.mjs +11 -0
  141. package/es/built-in/assistant/calculator/CalculatorProvider.mjs +29 -0
  142. package/es/built-in/assistant/calculator/Draggable.mjs +54 -0
  143. package/es/built-in/assistant/calculator/style.mjs +25 -0
  144. package/es/built-in/assistant/index.mjs +12 -0
  145. package/es/built-in/assistant/search-and-jump/index.mjs +59 -0
  146. package/es/built-in/attachment-preview/index.mjs +15 -0
  147. package/es/built-in/attachment-preview/interface.mjs +0 -0
  148. package/es/built-in/attachment-preview/previewers/file-default.mjs +83 -0
  149. package/es/built-in/attachment-preview/previewers/file-pdf.mjs +109 -0
  150. package/es/built-in/attachment-preview/previewers/file-pdf.style.mjs +45 -0
  151. package/es/built-in/attachment-preview/previewers/file-sheet.mjs +103 -0
  152. package/es/built-in/attachment-preview/previewers/file-sheet.style.mjs +45 -0
  153. package/es/built-in/attachment-preview/previewers/image-jpeg.mjs +34 -0
  154. package/es/built-in/attachment-preview/previewers/image-png.mjs +34 -0
  155. package/es/built-in/attachment-preview/previewers/image-svg.mjs +20 -0
  156. package/es/built-in/attachment-preview/previewers/index.mjs +6 -0
  157. package/es/built-in/block-schema-component/index.mjs +87 -0
  158. package/es/built-in/built-in-collections/index.mjs +59 -0
  159. package/es/built-in/context-menu/ContextMenu.provider.mjs +68 -0
  160. package/es/built-in/context-menu/ContextMenuItemsProps.mjs +146 -0
  161. package/es/built-in/context-menu/index.mjs +18 -0
  162. package/es/built-in/context-menu/useContextMenu.mjs +4 -0
  163. package/es/built-in/document-title/index.mjs +52 -0
  164. package/es/built-in/dynamic-page/DynamicPage.mjs +36 -0
  165. package/es/built-in/dynamic-page/index.mjs +58 -0
  166. package/es/built-in/dynamic-page/style.mjs +52 -0
  167. package/es/built-in/dynamic-page/utils.mjs +61 -0
  168. package/es/built-in/index.mjs +454 -0
  169. package/es/built-in/locale/LocalePlugin.mjs +70 -0
  170. package/es/built-in/locale/loadConstrueLocale.mjs +185 -0
  171. package/es/built-in/page-style/CustomAdminHeader.mjs +9 -0
  172. package/es/built-in/page-style/PageStyle.provider.mjs +32 -0
  173. package/es/built-in/page-style/TabContent.mjs +65 -0
  174. package/es/built-in/page-style/TabHeader.mjs +80 -0
  175. package/es/built-in/page-style/index.mjs +14 -0
  176. package/es/built-in/page-style/usePageStyle.mjs +4 -0
  177. package/es/built-in/page-style/useTabSettings.mjs +69 -0
  178. package/es/built-in/pinned-list/PinnedPluginListProvider.mjs +61 -0
  179. package/es/built-in/pinned-list/PluginPinnedList.mjs +8 -0
  180. package/es/built-in/pinned-list/context.mjs +6 -0
  181. package/es/built-in/pinned-list/index.mjs +2 -0
  182. package/es/built-in/pm/PluginCard.mjs +256 -0
  183. package/es/built-in/pm/PluginDetail.mjs +320 -0
  184. package/es/built-in/pm/PluginDocument.mjs +71 -0
  185. package/es/built-in/pm/PluginForm/form/PluginNpmForm.mjs +140 -0
  186. package/es/built-in/pm/PluginForm/form/PluginUploadForm.mjs +107 -0
  187. package/es/built-in/pm/PluginForm/form/PluginUrlForm.mjs +101 -0
  188. package/es/built-in/pm/PluginForm/modal/PluginAddModal.mjs +61 -0
  189. package/es/built-in/pm/PluginForm/modal/PluginUpgradeModal.mjs +65 -0
  190. package/es/built-in/pm/PluginManager.mjs +271 -0
  191. package/es/built-in/pm/index.mjs +55 -0
  192. package/es/built-in/pm/style.mjs +72 -0
  193. package/es/built-in/pm/types.mjs +0 -0
  194. package/es/built-in/quick-access/Action.mjs +90 -0
  195. package/es/built-in/quick-access/Block.mjs +128 -0
  196. package/es/built-in/quick-access/CustomRequestActionSchemaInitializerItem.mjs +90 -0
  197. package/es/built-in/quick-access/LinkActionSchemaInitializerItem.mjs +83 -0
  198. package/es/built-in/quick-access/ModalActionSchemaInitializerItem.mjs +92 -0
  199. package/es/built-in/quick-access/PopupActionSchemaInitializerItem.mjs +118 -0
  200. package/es/built-in/quick-access/SchemaSettingsBlockTitleItem.mjs +45 -0
  201. package/es/built-in/quick-access/blockInitializerItem.mjs +19 -0
  202. package/es/built-in/quick-access/blockSchema.mjs +17 -0
  203. package/es/built-in/quick-access/blockSettings.mjs +65 -0
  204. package/es/built-in/quick-access/configureActions.mjs +15 -0
  205. package/es/built-in/quick-access/index.mjs +31 -0
  206. package/es/built-in/scroll-assistant/ScrollAssistant.provider.mjs +42 -0
  207. package/es/built-in/scroll-assistant/ScrollAssistantStatus.provider.mjs +22 -0
  208. package/es/built-in/scroll-assistant/index.mjs +26 -0
  209. package/es/built-in/scroll-assistant/useJoystick.mjs +167 -0
  210. package/es/built-in/setting-layout/AdminSettings.mjs +126 -0
  211. package/es/built-in/setting-layout/SettingLayout.mjs +136 -0
  212. package/es/built-in/setting-layout/SettingsCenterDropdown.mjs +75 -0
  213. package/es/built-in/system-settings/SystemSettingsProvider.mjs +17 -0
  214. package/es/built-in/system-settings/SystemSettingsShortcut.mjs +148 -0
  215. package/es/built-in/system-settings/index.mjs +12 -0
  216. package/es/built-in/system-version/SystemVersion.provider.mjs +34 -0
  217. package/es/built-in/system-version/index.mjs +8 -0
  218. package/es/built-in/user-settings/UserSettingsLayout.mjs +169 -0
  219. package/es/built-in/user-settings/index.mjs +17 -0
  220. package/es/built-in/user-settings/style.mjs +72 -0
  221. package/es/collection-manager/CollectionHistoryProvider.mjs +58 -0
  222. package/es/collection-manager/CollectionManagerProvider.mjs +57 -0
  223. package/es/collection-manager/CollectionManagerSchemaComponentProvider.mjs +23 -0
  224. package/es/collection-manager/CollectionProvider_deprecated.mjs +21 -0
  225. package/es/collection-manager/Configuration/AddCollectionAction.mjs +224 -0
  226. package/es/collection-manager/Configuration/AddFieldAction.mjs +359 -0
  227. package/es/collection-manager/Configuration/AddSubFieldAction.mjs +140 -0
  228. package/es/collection-manager/Configuration/DeleteCollectionAction.mjs +218 -0
  229. package/es/collection-manager/Configuration/EditCollectionAction.mjs +171 -0
  230. package/es/collection-manager/Configuration/EditFieldAction.mjs +245 -0
  231. package/es/collection-manager/Configuration/EditSubFieldAction.mjs +115 -0
  232. package/es/collection-manager/Configuration/ImportCollectionMetaAction.mjs +128 -0
  233. package/es/collection-manager/Configuration/OverridingCollectionField.mjs +216 -0
  234. package/es/collection-manager/Configuration/SyncFieldsAction.mjs +198 -0
  235. package/es/collection-manager/Configuration/SyncSQLFieldsAction.mjs +166 -0
  236. package/es/collection-manager/Configuration/ViewInheritedField.mjs +138 -0
  237. package/es/collection-manager/Configuration/components/CollectionCategory.mjs +18 -0
  238. package/es/collection-manager/Configuration/components/CollectionFieldInterfaceTag.mjs +19 -0
  239. package/es/collection-manager/Configuration/components/CollectionTemplateTag.mjs +18 -0
  240. package/es/collection-manager/Configuration/components/FieldSummary.mjs +19 -0
  241. package/es/collection-manager/Configuration/components/Summary.mjs +61 -0
  242. package/es/collection-manager/Configuration/components/TemplateSummary.mjs +19 -0
  243. package/es/collection-manager/Configuration/components/index.mjs +319 -0
  244. package/es/collection-manager/Configuration/index.mjs +22 -0
  245. package/es/collection-manager/Configuration/interfaces.mjs +35 -0
  246. package/es/collection-manager/ResourceActionProvider.mjs +136 -0
  247. package/es/collection-manager/action-hooks.mjs +538 -0
  248. package/es/collection-manager/collectionPlugin.mjs +129 -0
  249. package/es/collection-manager/context.mjs +7 -0
  250. package/es/collection-manager/demos/demo2.mjs +106 -0
  251. package/es/collection-manager/demos/demo3.mjs +76 -0
  252. package/es/collection-manager/demos/demo4.mjs +168 -0
  253. package/es/collection-manager/demos/demo5.mjs +152 -0
  254. package/es/collection-manager/hooks/index.mjs +4 -0
  255. package/es/collection-manager/hooks/useCollectionDataSource.mjs +17 -0
  256. package/es/collection-manager/hooks/useCollectionField_deprecated.mjs +21 -0
  257. package/es/collection-manager/hooks/useCollectionManager_deprecated.mjs +224 -0
  258. package/es/collection-manager/hooks/useCollection_deprecated.mjs +54 -0
  259. package/es/collection-manager/hooks/useDialect.mjs +11 -0
  260. package/es/collection-manager/index.mjs +30 -0
  261. package/es/collection-manager/interfaces/__tests__/json.mjs +40 -0
  262. package/es/collection-manager/interfaces/checkbox.mjs +49 -0
  263. package/es/collection-manager/interfaces/checkboxGroup.mjs +43 -0
  264. package/es/collection-manager/interfaces/chinaRegion.mjs +102 -0
  265. package/es/collection-manager/interfaces/collection.mjs +43 -0
  266. package/es/collection-manager/interfaces/color.mjs +31 -0
  267. package/es/collection-manager/interfaces/components/index.mjs +49 -0
  268. package/es/collection-manager/interfaces/createdAt.mjs +35 -0
  269. package/es/collection-manager/interfaces/createdBy.mjs +55 -0
  270. package/es/collection-manager/interfaces/datetime.mjs +44 -0
  271. package/es/collection-manager/interfaces/email.mjs +42 -0
  272. package/es/collection-manager/interfaces/icon.mjs +28 -0
  273. package/es/collection-manager/interfaces/id.mjs +54 -0
  274. package/es/collection-manager/interfaces/index.mjs +39 -0
  275. package/es/collection-manager/interfaces/input.mjs +182 -0
  276. package/es/collection-manager/interfaces/integer.mjs +118 -0
  277. package/es/collection-manager/interfaces/json.mjs +75 -0
  278. package/es/collection-manager/interfaces/linkTo.mjs +92 -0
  279. package/es/collection-manager/interfaces/m2m.mjs +217 -0
  280. package/es/collection-manager/interfaces/m2o.mjs +159 -0
  281. package/es/collection-manager/interfaces/markdown.mjs +77 -0
  282. package/es/collection-manager/interfaces/multipleSelect.mjs +48 -0
  283. package/es/collection-manager/interfaces/nanoid.mjs +60 -0
  284. package/es/collection-manager/interfaces/number.mjs +131 -0
  285. package/es/collection-manager/interfaces/o2m.mjs +191 -0
  286. package/es/collection-manager/interfaces/o2o.mjs +452 -0
  287. package/es/collection-manager/interfaces/password.mjs +63 -0
  288. package/es/collection-manager/interfaces/percent.mjs +162 -0
  289. package/es/collection-manager/interfaces/phone.mjs +34 -0
  290. package/es/collection-manager/interfaces/properties/index.mjs +493 -0
  291. package/es/collection-manager/interfaces/properties/operators.mjs +367 -0
  292. package/es/collection-manager/interfaces/radioGroup.mjs +34 -0
  293. package/es/collection-manager/interfaces/richText.mjs +75 -0
  294. package/es/collection-manager/interfaces/select.mjs +46 -0
  295. package/es/collection-manager/interfaces/sort.mjs +106 -0
  296. package/es/collection-manager/interfaces/subTable.mjs +197 -0
  297. package/es/collection-manager/interfaces/tableoid.mjs +48 -0
  298. package/es/collection-manager/interfaces/textarea.mjs +75 -0
  299. package/es/collection-manager/interfaces/time.mjs +47 -0
  300. package/es/collection-manager/interfaces/types.mjs +0 -0
  301. package/es/collection-manager/interfaces/unixTimestamp.mjs +52 -0
  302. package/es/collection-manager/interfaces/updatedAt.mjs +35 -0
  303. package/es/collection-manager/interfaces/updatedBy.mjs +55 -0
  304. package/es/collection-manager/interfaces/url.mjs +34 -0
  305. package/es/collection-manager/interfaces/uuid.mjs +48 -0
  306. package/es/collection-manager/mixins/InheritanceCollectionMixin.mjs +187 -0
  307. package/es/collection-manager/sub-table.mjs +238 -0
  308. package/es/collection-manager/templates/components/PresetFields.mjs +228 -0
  309. package/es/collection-manager/templates/components/PreviewFields.mjs +309 -0
  310. package/es/collection-manager/templates/components/PreviewTable.mjs +140 -0
  311. package/es/collection-manager/templates/components/sql-collection/FieldsConfigure.mjs +280 -0
  312. package/es/collection-manager/templates/components/sql-collection/PreviewTable.mjs +60 -0
  313. package/es/collection-manager/templates/components/sql-collection/SQLInput.mjs +90 -0
  314. package/es/collection-manager/templates/components/sql-collection/SQLRequestProvider.mjs +51 -0
  315. package/es/collection-manager/templates/components/sql-collection/index.mjs +4 -0
  316. package/es/collection-manager/templates/expression.mjs +62 -0
  317. package/es/collection-manager/templates/general.mjs +20 -0
  318. package/es/collection-manager/templates/import.mjs +19 -0
  319. package/es/collection-manager/templates/index.mjs +6 -0
  320. package/es/collection-manager/templates/properties/index.mjs +69 -0
  321. package/es/collection-manager/templates/sql.mjs +85 -0
  322. package/es/collection-manager/templates/tree.mjs +78 -0
  323. package/es/collection-manager/templates/types.mjs +0 -0
  324. package/es/collection-manager/templates/view.mjs +159 -0
  325. package/es/collection-manager/types.mjs +0 -0
  326. package/es/collection-manager/utils.mjs +16 -0
  327. package/es/common/SelectWithTitle.mjs +44 -0
  328. package/es/common/appInfo/CurrentAppInfoProvider.mjs +17 -0
  329. package/es/common/appInfo/index.mjs +1 -0
  330. package/es/common/index.mjs +3 -0
  331. package/es/common/useFieldComponentName.mjs +23 -0
  332. package/es/common/useNiceDropdownHeight.mjs +18 -0
  333. package/es/data-source/__tests__/collection/AssociationProvider.test.mjs +113 -0
  334. package/es/data-source/__tests__/collection/Collection.test.mjs +297 -0
  335. package/es/data-source/__tests__/collection/CollectionManager.test.mjs +297 -0
  336. package/es/data-source/__tests__/collection/CollectionManagerProvider.test.mjs +114 -0
  337. package/es/data-source/__tests__/collection/CollectionProvider.test.mjs +106 -0
  338. package/es/data-source/__tests__/collection/ExtendCollectionsProvider.test.mjs +87 -0
  339. package/es/data-source/__tests__/collection-field/CollectionField.test.mjs +67 -0
  340. package/es/data-source/__tests__/collection-field/CollectionFieldProvider.test.mjs +51 -0
  341. package/es/data-source/__tests__/collection-field-interface/CollectionFieldInterfaceManager.test.mjs +162 -0
  342. package/es/data-source/__tests__/collection-record/CollectionRecord.test.mjs +21 -0
  343. package/es/data-source/__tests__/collection-record/CollectionRecordProvider.test.mjs +253 -0
  344. package/es/data-source/__tests__/collection-record/isNewRecord.test.mjs +45 -0
  345. package/es/data-source/__tests__/collection-template/CollectionTemplateManager.test.mjs +123 -0
  346. package/es/data-source/__tests__/components/CollectionDeletedPlaceholder.test.mjs +43 -0
  347. package/es/data-source/__tests__/data-block/DataBlockProvider.test.mjs +114 -0
  348. package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-parent-record.mjs +88 -0
  349. package/es/data-source/__tests__/data-block/data-block-demos/association-table-list-and-source-id.mjs +139 -0
  350. package/es/data-source/__tests__/data-block/data-block-demos/collection-form-create.mjs +109 -0
  351. package/es/data-source/__tests__/data-block/data-block-demos/collection-form-get-and-update.mjs +174 -0
  352. package/es/data-source/__tests__/data-block/data-block-demos/collection-form-record-and-update.mjs +138 -0
  353. package/es/data-source/__tests__/data-block/data-block-demos/collection-table-list.mjs +94 -0
  354. package/es/data-source/__tests__/data-block/data-block-demos/createApp.mjs +55 -0
  355. package/es/data-source/__tests__/data-source/CollectionDataSourceProvider.test.mjs +35 -0
  356. package/es/data-source/__tests__/data-source/DataSource.test.mjs +75 -0
  357. package/es/data-source/__tests__/data-source/DataSourceManager.test.mjs +166 -0
  358. package/es/data-source/__tests__/data-source/DataSourceManagerProvider.test.mjs +30 -0
  359. package/es/data-source/__tests__/data-source/DataSourceProvider.test.mjs +79 -0
  360. package/es/data-source/__tests__/utils.test.mjs +55 -0
  361. package/es/data-source/collection/AssociationProvider.mjs +42 -0
  362. package/es/data-source/collection/Collection.mjs +177 -0
  363. package/es/data-source/collection/CollectionManager.mjs +119 -0
  364. package/es/data-source/collection/CollectionManagerProvider.mjs +47 -0
  365. package/es/data-source/collection/CollectionProvider.mjs +38 -0
  366. package/es/data-source/collection/ExtendCollectionsProvider.mjs +30 -0
  367. package/es/data-source/collection/index.mjs +6 -0
  368. package/es/data-source/collection/utils.mjs +46 -0
  369. package/es/data-source/collection-field/CollectionField.mjs +73 -0
  370. package/es/data-source/collection-field/CollectionFieldProvider.mjs +40 -0
  371. package/es/data-source/collection-field/index.mjs +2 -0
  372. package/es/data-source/collection-field-interface/CollectionFieldInterface.mjs +33 -0
  373. package/es/data-source/collection-field-interface/CollectionFieldInterfaceManager.mjs +59 -0
  374. package/es/data-source/collection-field-interface/index.mjs +2 -0
  375. package/es/data-source/collection-record/CollectionRecord.mjs +28 -0
  376. package/es/data-source/collection-record/CollectionRecordProvider.mjs +62 -0
  377. package/es/data-source/collection-record/index.mjs +2 -0
  378. package/es/data-source/collection-record/isNewRecord.mjs +9 -0
  379. package/es/data-source/collection-template/CollectionTemplate.mjs +32 -0
  380. package/es/data-source/collection-template/CollectionTemplateManager.mjs +52 -0
  381. package/es/data-source/collection-template/index.mjs +2 -0
  382. package/es/data-source/commonsSettingsItem/fieldComponent.mjs +57 -0
  383. package/es/data-source/commonsSettingsItem/index.mjs +1 -0
  384. package/es/data-source/components/CollectionDeletedPlaceholder.mjs +81 -0
  385. package/es/data-source/components/DataSourceApplicationProvider.mjs +15 -0
  386. package/es/data-source/components/index.mjs +2 -0
  387. package/es/data-source/data-block/DataBlockProvider.mjs +79 -0
  388. package/es/data-source/data-block/DataBlockRequestProvider.mjs +124 -0
  389. package/es/data-source/data-block/DataBlockResourceProvider.mjs +54 -0
  390. package/es/data-source/data-block/context/ConfigSetting.provider.mjs +10 -0
  391. package/es/data-source/data-block/index.mjs +4 -0
  392. package/es/data-source/data-source/DataSource.mjs +72 -0
  393. package/es/data-source/data-source/DataSourceManager.mjs +108 -0
  394. package/es/data-source/data-source/DataSourceManagerProvider.mjs +16 -0
  395. package/es/data-source/data-source/DataSourceProvider.mjs +54 -0
  396. package/es/data-source/data-source/index.mjs +4 -0
  397. package/es/data-source/index.mjs +10 -0
  398. package/es/data-source/utils.mjs +17 -0
  399. package/es/env.d.mjs +0 -0
  400. package/es/filter-provider/FilterProvider.mjs +127 -0
  401. package/es/filter-provider/__tests__/transformToFilter.mjs +65 -0
  402. package/es/filter-provider/__tests__/useFilter.mjs +41 -0
  403. package/es/filter-provider/__tests__/utiles.test.mjs +265 -0
  404. package/es/filter-provider/index.mjs +2 -0
  405. package/es/filter-provider/utils.mjs +180 -0
  406. package/es/flag-provider/FlagProvider.mjs +8 -0
  407. package/es/flag-provider/__tests__/flag-provider.test.mjs +19 -0
  408. package/es/flag-provider/hooks/useFlag.mjs +4 -0
  409. package/es/flag-provider/index.mjs +2 -0
  410. package/es/global.css +34 -0
  411. package/es/hooks/index.mjs +2 -0
  412. package/es/hooks/useAdminSchemaUid.mjs +2 -0
  413. package/es/hooks/useMenuItem.mjs +70 -0
  414. package/es/hooks/useViewport.mjs +35 -0
  415. package/es/i18n/i18n.mjs +23 -0
  416. package/es/i18n/index.mjs +1 -0
  417. package/es/icon/Icon.mjs +56 -0
  418. package/es/icon/__tests__/icon.test.mjs +25 -0
  419. package/es/icon/demos/antd-icon.mjs +7 -0
  420. package/es/icon/demos/custom-icon.mjs +16 -0
  421. package/es/icon/demos/iconfont.mjs +10 -0
  422. package/es/icon/demos/register-icon.mjs +23 -0
  423. package/es/icon/index.mjs +1 -0
  424. package/es/icon/preloaded.mjs +122 -0
  425. package/es/index.mjs +50 -0
  426. package/es/locale/index.mjs +269 -0
  427. package/es/modules/actions/ActionSchemaToolbar.mjs +10 -0
  428. package/es/modules/actions/add-child/CreateChildInitializer.mjs +64 -0
  429. package/es/modules/actions/add-child/addChildActionSettings.mjs +64 -0
  430. package/es/modules/actions/add-new/CreateActionInitializer.mjs +67 -0
  431. package/es/modules/actions/add-new/addNewActionSettings.mjs +57 -0
  432. package/es/modules/actions/add-new/createFormBlockInitializers.mjs +56 -0
  433. package/es/modules/actions/add-record/CustomizeAddRecordActionInitializer.mjs +63 -0
  434. package/es/modules/actions/add-record/customizeAddRecordActionSettings.mjs +35 -0
  435. package/es/modules/actions/add-record/customizeCreateFormBlockInitializers.mjs +36 -0
  436. package/es/modules/actions/bulk-destroy/BulkDestroyActionInitializer.mjs +35 -0
  437. package/es/modules/actions/bulk-destroy/bulkDeleteActionSettings.mjs +30 -0
  438. package/es/modules/actions/delete/DestroyActionInitializer.mjs +28 -0
  439. package/es/modules/actions/delete/deleteActionSettings.mjs +39 -0
  440. package/es/modules/actions/disassociate/DisassociateActionInitializer.mjs +28 -0
  441. package/es/modules/actions/disassociate/__e2e__/disassociate.test.mjs +39 -0
  442. package/es/modules/actions/disassociate/__e2e__/templatesOfPage.mjs +383 -0
  443. package/es/modules/actions/disassociate/disassociateActionSettings.mjs +39 -0
  444. package/es/modules/actions/expand-collapse/ExpandableActionInitializer.mjs +26 -0
  445. package/es/modules/actions/expand-collapse/expendableActionSettings.mjs +118 -0
  446. package/es/modules/actions/filter/FilterActionInitializer.mjs +22 -0
  447. package/es/modules/actions/filter/filterActionSettings.mjs +83 -0
  448. package/es/modules/actions/link/customizeLinkActionSettings.mjs +107 -0
  449. package/es/modules/actions/link/hooks.mjs +199 -0
  450. package/es/modules/actions/refresh/RefreshActionInitializer.mjs +21 -0
  451. package/es/modules/actions/refresh/refreshActionSettings.mjs +30 -0
  452. package/es/modules/actions/save-record/SaveRecordActionInitializer.mjs +34 -0
  453. package/es/modules/actions/save-record/customizeSaveRecordActionSettings.mjs +52 -0
  454. package/es/modules/actions/submit/CreateSubmitActionInitializer.mjs +27 -0
  455. package/es/modules/actions/submit/UpdateSubmitActionInitializer.mjs +31 -0
  456. package/es/modules/actions/submit/createSubmitActionSettings.mjs +210 -0
  457. package/es/modules/actions/submit/updateSubmitActionSettings.mjs +89 -0
  458. package/es/modules/actions/update-record/UpdateRecordActionInitializer.mjs +32 -0
  459. package/es/modules/actions/update-record/customizeUpdateRecordActionSettings.mjs +62 -0
  460. package/es/modules/actions/view-edit-popup/PopupActionInitializer.mjs +59 -0
  461. package/es/modules/actions/view-edit-popup/RecordFormBlockInitializers.mjs +35 -0
  462. package/es/modules/actions/view-edit-popup/UpdateActionInitializer.mjs +57 -0
  463. package/es/modules/actions/view-edit-popup/ViewActionInitializer.mjs +56 -0
  464. package/es/modules/actions/view-edit-popup/customizePopupActionSettings.mjs +49 -0
  465. package/es/modules/actions/view-edit-popup/editActionSettings.mjs +44 -0
  466. package/es/modules/actions/view-edit-popup/viewActionSettings.mjs +49 -0
  467. package/es/modules/blocks/BlockSchemaToolbar.mjs +56 -0
  468. package/es/modules/blocks/data-blocks/details-multi/DetailsActionInitializers.mjs +40 -0
  469. package/es/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.mjs +49 -0
  470. package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaInitializer.test.mjs +112 -0
  471. package/es/modules/blocks/data-blocks/details-multi/__e2e__/schemaSettings.test.mjs +72 -0
  472. package/es/modules/blocks/data-blocks/details-multi/__e2e__/templatesOfBug.mjs +0 -0
  473. package/es/modules/blocks/data-blocks/details-multi/__tests__/createDetailsBlockWithPagingUISchema.test.mjs +14 -0
  474. package/es/modules/blocks/data-blocks/details-multi/createDetailsWithPaginationUISchema.mjs +58 -0
  475. package/es/modules/blocks/data-blocks/details-multi/detailsWithPaginationSettings.mjs +216 -0
  476. package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationDecoratorProps.mjs +9 -0
  477. package/es/modules/blocks/data-blocks/details-multi/hooks/useDetailsWithPaginationProps.mjs +5 -0
  478. package/es/modules/blocks/data-blocks/details-multi/setDataLoadingModeSettingsItem.mjs +73 -0
  479. package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormActionInitializers.mjs +85 -0
  480. package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.mjs +86 -0
  481. package/es/modules/blocks/data-blocks/details-single/RecordReadPrettyFormBlockInitializer.mjs +73 -0
  482. package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaInitializer.test.mjs +98 -0
  483. package/es/modules/blocks/data-blocks/details-single/__e2e__/schemaSettings.test.mjs +24 -0
  484. package/es/modules/blocks/data-blocks/details-single/__e2e__/templatesOfBug.mjs +0 -0
  485. package/es/modules/blocks/data-blocks/details-single/__tests__/createDetailsBlockWithoutPagingUISchema.test.mjs +14 -0
  486. package/es/modules/blocks/data-blocks/details-single/createDetailsUISchema.mjs +54 -0
  487. package/es/modules/blocks/data-blocks/details-single/detailsBlockSettings.mjs +49 -0
  488. package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsDecoratorProps.mjs +21 -0
  489. package/es/modules/blocks/data-blocks/details-single/hooks/useDetailsProps.mjs +5 -0
  490. package/es/modules/blocks/data-blocks/form/CreateFormBlockInitializer.mjs +48 -0
  491. package/es/modules/blocks/data-blocks/form/FilterItemCustomSettings.mjs +279 -0
  492. package/es/modules/blocks/data-blocks/form/FormBlockInitializer.mjs +79 -0
  493. package/es/modules/blocks/data-blocks/form/FormItemSchemaToolbar.mjs +9 -0
  494. package/es/modules/blocks/data-blocks/form/RecordFormBlockInitializer.mjs +84 -0
  495. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/associationForm.test.mjs +14 -0
  496. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/dragAndDrop.test.mjs +26 -0
  497. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadAssociationFields.test.mjs +168 -0
  498. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/lazyLoadVariables.test.mjs +28 -0
  499. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaInitializer.test.mjs +141 -0
  500. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/schemaSettings.test.mjs +1254 -0
  501. package/es/modules/blocks/data-blocks/form/__e2e__/form-create/templatesOfBug.mjs +6002 -0
  502. package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaInitializer.test.mjs +16 -0
  503. package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/schemaSettings.test.mjs +212 -0
  504. package/es/modules/blocks/data-blocks/form/__e2e__/form-edit/templatesOfBug.mjs +0 -0
  505. package/es/modules/blocks/data-blocks/form/__tests__/createCreateFormBlockUISchema.test.mjs +19 -0
  506. package/es/modules/blocks/data-blocks/form/__tests__/createEditFormBlockUISchema.test.mjs +18 -0
  507. package/es/modules/blocks/data-blocks/form/createCreateFormBlockUISchema.mjs +51 -0
  508. package/es/modules/blocks/data-blocks/form/createEditFormBlockUISchema.mjs +54 -0
  509. package/es/modules/blocks/data-blocks/form/createFormActionInitializers.mjs +45 -0
  510. package/es/modules/blocks/data-blocks/form/createFormBlockSettings.mjs +138 -0
  511. package/es/modules/blocks/data-blocks/form/editFormBlockSettings.mjs +72 -0
  512. package/es/modules/blocks/data-blocks/form/fieldSettingsFormItem.mjs +525 -0
  513. package/es/modules/blocks/data-blocks/form/formActionInitializers.mjs +45 -0
  514. package/es/modules/blocks/data-blocks/form/formItemInitializers.mjs +39 -0
  515. package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockDecoratorProps.mjs +9 -0
  516. package/es/modules/blocks/data-blocks/form/hooks/useCreateFormBlockProps.mjs +5 -0
  517. package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockDecoratorProps.mjs +15 -0
  518. package/es/modules/blocks/data-blocks/form/hooks/useEditFormBlockProps.mjs +5 -0
  519. package/es/modules/blocks/data-blocks/form/index.mjs +14 -0
  520. package/es/modules/blocks/data-blocks/form/updateFormActionInitializers.mjs +56 -0
  521. package/es/modules/blocks/data-blocks/grid-card/GridCardActionInitializers.mjs +85 -0
  522. package/es/modules/blocks/data-blocks/grid-card/GridCardBlockInitializer.mjs +43 -0
  523. package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaInitializer.test.mjs +220 -0
  524. package/es/modules/blocks/data-blocks/grid-card/__e2e__/schemaSettings.test.mjs +48 -0
  525. package/es/modules/blocks/data-blocks/grid-card/__e2e__/templatesOfBug.mjs +0 -0
  526. package/es/modules/blocks/data-blocks/grid-card/__tests__/createGridCardBlockSchema.test.mjs +26 -0
  527. package/es/modules/blocks/data-blocks/grid-card/createGridCardBlockUISchema.mjs +73 -0
  528. package/es/modules/blocks/data-blocks/grid-card/gridCardBlockSettings.mjs +431 -0
  529. package/es/modules/blocks/data-blocks/grid-card/gridCardItemActionInitializers.mjs +100 -0
  530. package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockDecoratorProps.mjs +12 -0
  531. package/es/modules/blocks/data-blocks/grid-card/hooks/useGridCardBlockParams.mjs +17 -0
  532. package/es/modules/blocks/data-blocks/grid-card/utils.mjs +14 -0
  533. package/es/modules/blocks/data-blocks/list/ListActionInitializers.mjs +81 -0
  534. package/es/modules/blocks/data-blocks/list/ListBlockInitializer.mjs +43 -0
  535. package/es/modules/blocks/data-blocks/list/__e2e__/schemaInitializer.test.mjs +211 -0
  536. package/es/modules/blocks/data-blocks/list/__e2e__/schemaSettings.test.mjs +23 -0
  537. package/es/modules/blocks/data-blocks/list/__e2e__/templatesOfBug.mjs +0 -0
  538. package/es/modules/blocks/data-blocks/list/__tests__/createListBlockSchema.test.mjs +24 -0
  539. package/es/modules/blocks/data-blocks/list/createListBlockUISchema.mjs +68 -0
  540. package/es/modules/blocks/data-blocks/list/hooks/useListBlockDecoratorProps.mjs +9 -0
  541. package/es/modules/blocks/data-blocks/list/listBlockSettings.mjs +249 -0
  542. package/es/modules/blocks/data-blocks/list/listItemActionInitializers.mjs +100 -0
  543. package/es/modules/blocks/data-blocks/table/TableActionColumnInitializers.mjs +238 -0
  544. package/es/modules/blocks/data-blocks/table/TableActionInitializers.mjs +131 -0
  545. package/es/modules/blocks/data-blocks/table/TableBlockInitializer.mjs +43 -0
  546. package/es/modules/blocks/data-blocks/table/TableColumnInitializers.mjs +105 -0
  547. package/es/modules/blocks/data-blocks/table/TableColumnSchemaToolbar.mjs +15 -0
  548. package/es/modules/blocks/data-blocks/table/__e2e__/actions/duplicate.test.mjs +9 -0
  549. package/es/modules/blocks/data-blocks/table/__e2e__/actions/filter.test.mjs +33 -0
  550. package/es/modules/blocks/data-blocks/table/__e2e__/checkboxForTableRow.test.mjs +19 -0
  551. package/es/modules/blocks/data-blocks/table/__e2e__/dragAndDrop.test.mjs +31 -0
  552. package/es/modules/blocks/data-blocks/table/__e2e__/schemaInitializer.test.mjs +419 -0
  553. package/es/modules/blocks/data-blocks/table/__e2e__/schemaSettings.test.mjs +869 -0
  554. package/es/modules/blocks/data-blocks/table/__e2e__/templatesOfBug.mjs +934 -0
  555. package/es/modules/blocks/data-blocks/table/__e2e__/tree/schemaSettings.test.mjs +42 -0
  556. package/es/modules/blocks/data-blocks/table/__tests__/createTableBLockSchema.test.mjs +16 -0
  557. package/es/modules/blocks/data-blocks/table/createTableBlockUISchema.mjs +82 -0
  558. package/es/modules/blocks/data-blocks/table/hooks/useTableBlockDecoratorProps.mjs +35 -0
  559. package/es/modules/blocks/data-blocks/table/hooks/useTableBlockProps.mjs +137 -0
  560. package/es/modules/blocks/data-blocks/table/index.mjs +9 -0
  561. package/es/modules/blocks/data-blocks/table/tableBlockSettings.mjs +416 -0
  562. package/es/modules/blocks/data-blocks/table/tableColumnSettings.mjs +333 -0
  563. package/es/modules/blocks/data-blocks/table/utils.mjs +17 -0
  564. package/es/modules/blocks/data-blocks/table-selector/TableSelectorInitializer.mjs +24 -0
  565. package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaInitializer.test.mjs +159 -0
  566. package/es/modules/blocks/data-blocks/table-selector/__e2e__/schemaSettings.test.mjs +146 -0
  567. package/es/modules/blocks/data-blocks/table-selector/__e2e__/templatesOfBug.mjs +692 -0
  568. package/es/modules/blocks/data-blocks/table-selector/__e2e__/utils.mjs +12 -0
  569. package/es/modules/blocks/data-blocks/table-selector/__tests__/createTableSelectorSchema.test.mjs +14 -0
  570. package/es/modules/blocks/data-blocks/table-selector/createTableSelectorUISchema.mjs +47 -0
  571. package/es/modules/blocks/data-blocks/table-selector/hooks/useTableSelectorDecoratorProps.mjs +2 -0
  572. package/es/modules/blocks/data-blocks/table-selector/index.mjs +2 -0
  573. package/es/modules/blocks/data-blocks/table-selector/tableSelectorBlockSettings.mjs +310 -0
  574. package/es/modules/blocks/filter-blocks/collapse/CollapseItemSchemaToolbar.mjs +8 -0
  575. package/es/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.mjs +29 -0
  576. package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaInitializer.test.mjs +59 -0
  577. package/es/modules/blocks/filter-blocks/collapse/__e2e__/schemaSettings.test.mjs +62 -0
  578. package/es/modules/blocks/filter-blocks/collapse/__e2e__/templatesOfBug.mjs +0 -0
  579. package/es/modules/blocks/filter-blocks/collapse/__tests__/createCollapseBlockSchema.test.mjs +40 -0
  580. package/es/modules/blocks/filter-blocks/collapse/createFilterCollapseBlockSchema.mjs +31 -0
  581. package/es/modules/blocks/filter-blocks/collapse/filterCollapseBlockSettings.mjs +58 -0
  582. package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemFieldSettings.mjs +213 -0
  583. package/es/modules/blocks/filter-blocks/collapse/filterCollapseItemInitializer.mjs +153 -0
  584. package/es/modules/blocks/filter-blocks/collapse/hooks/useCollapseBlockDecoratorProps.mjs +2 -0
  585. package/es/modules/blocks/filter-blocks/form/FilterFormActionInitializers.mjs +32 -0
  586. package/es/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.mjs +37 -0
  587. package/es/modules/blocks/filter-blocks/form/__e2e__/schemaInitializer.test.mjs +115 -0
  588. package/es/modules/blocks/filter-blocks/form/__e2e__/schemaSettings.test.mjs +98 -0
  589. package/es/modules/blocks/filter-blocks/form/__e2e__/templatesOfBug.mjs +0 -0
  590. package/es/modules/blocks/filter-blocks/form/__tests__/createFilterFormBlockSchema.test.mjs +23 -0
  591. package/es/modules/blocks/filter-blocks/form/createFilterFormBlockSchema.mjs +46 -0
  592. package/es/modules/blocks/filter-blocks/form/filterFormBlockSettings.mjs +66 -0
  593. package/es/modules/blocks/filter-blocks/form/filterFormItemFieldSettings.mjs +355 -0
  594. package/es/modules/blocks/filter-blocks/form/filterFormItemInitializers.mjs +41 -0
  595. package/es/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockDecoratorProps.mjs +2 -0
  596. package/es/modules/blocks/filter-blocks/form/hooks/useFilterFormBlockProps.mjs +5 -0
  597. package/es/modules/blocks/filter-blocks/tree/FilterTreeActionInitializers.mjs +32 -0
  598. package/es/modules/blocks/filter-blocks/tree/FilterTreeBlockInitializer.mjs +73 -0
  599. package/es/modules/blocks/filter-blocks/tree/filterTreeBlockSettings.mjs +66 -0
  600. package/es/modules/blocks/filter-blocks/tree/filterTreeItemFieldSettings.mjs +355 -0
  601. package/es/modules/blocks/filter-blocks/tree/filterTreeItemInitializers.mjs +41 -0
  602. package/es/modules/blocks/other-blocks/markdown/MarkdownBlockInitializer.mjs +30 -0
  603. package/es/modules/blocks/other-blocks/markdown/MarkdownFormItemInitializer.mjs +26 -0
  604. package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaInitializer.test.mjs +10 -0
  605. package/es/modules/blocks/other-blocks/markdown/__e2e__/schemaSettings.test.mjs +33 -0
  606. package/es/modules/blocks/other-blocks/markdown/__e2e__/templatesOfBug.mjs +0 -0
  607. package/es/modules/blocks/other-blocks/markdown/markdownBlockSettings.mjs +39 -0
  608. package/es/modules/blocks/useParentRecordCommon.mjs +7 -0
  609. package/es/modules/blocks/useSourceId.mjs +12 -0
  610. package/es/modules/blocks/useSourceKey.mjs +6 -0
  611. package/es/modules/dialog/__e2e__/schemaInitializer.test.mjs +388 -0
  612. package/es/modules/dialog/__e2e__/schemaSettings.test.mjs +59 -0
  613. package/es/modules/dialog/__e2e__/templatesOfBug.mjs +2122 -0
  614. package/es/modules/dialog/__e2e__/zIndex.test.mjs +35 -0
  615. package/es/modules/fields/component/CascadeSelect/cascadeSelectComponentFieldSettings.mjs +91 -0
  616. package/es/modules/fields/component/Cascader/cascaderComponentFieldSettings.mjs +380 -0
  617. package/es/modules/fields/component/Checkbox/checkboxComponentFieldSettings.mjs +53 -0
  618. package/es/modules/fields/component/DatePicker/__e2e__/schemaSettings.test.mjs +74 -0
  619. package/es/modules/fields/component/DatePicker/__e2e__/utils.mjs +323 -0
  620. package/es/modules/fields/component/DatePicker/datePickerComponentFieldSettings.mjs +22 -0
  621. package/es/modules/fields/component/DrawerSubTable/drawerSubTableComponentFieldSettings.mjs +149 -0
  622. package/es/modules/fields/component/FileManager/fileManagerComponentFieldSettings.mjs +190 -0
  623. package/es/modules/fields/component/FileManager/uploadAttachmentComponentFieldSettings.mjs +102 -0
  624. package/es/modules/fields/component/InputNumber/inputNumberComponentFieldSettings.mjs +27 -0
  625. package/es/modules/fields/component/Nester/subformComponentFieldSettings.mjs +125 -0
  626. package/es/modules/fields/component/Picker/TableSelectorInitializers.mjs +86 -0
  627. package/es/modules/fields/component/Picker/recordPickerComponentFieldSettings.mjs +190 -0
  628. package/es/modules/fields/component/PopoverNester/subformPopoverComponentFieldSettings.mjs +99 -0
  629. package/es/modules/fields/component/Radio/radioComponentFieldSettings.mjs +53 -0
  630. package/es/modules/fields/component/Select/selectComponentFieldSettings.mjs +378 -0
  631. package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.mjs +404 -0
  632. package/es/modules/fields/component/Tag/tagComponentFieldSettings.mjs +172 -0
  633. package/es/modules/fields/component/UnixTimestamp/unixTimestampComponentFieldSettings.mjs +22 -0
  634. package/es/modules/fields/initializer/CollectionFieldInitializer.mjs +15 -0
  635. package/es/modules/fields/initializer/TableCollectionFieldInitializer.mjs +15 -0
  636. package/es/modules/menu/GroupItem.mjs +78 -0
  637. package/es/modules/menu/LinkMenuItem.mjs +84 -0
  638. package/es/modules/menu/PageMenuItem.mjs +93 -0
  639. package/es/modules/menu/__e2e__/dragAndDrop.test.mjs +27 -0
  640. package/es/modules/menu/__e2e__/schemaInitializer.test.mjs +101 -0
  641. package/es/modules/menu/__e2e__/schemaSettings.test.mjs +347 -0
  642. package/es/modules/menu/__e2e__/templatesOfBug.mjs +0 -0
  643. package/es/modules/menu/menuItemInitializer.mjs +48 -0
  644. package/es/modules/page/BlockInitializers.mjs +77 -0
  645. package/es/modules/page/__e2e__/blockInitializers.test.mjs +17 -0
  646. package/es/modules/page/__e2e__/dragAndDrop.test.mjs +16 -0
  647. package/es/modules/page/__e2e__/schemaInitailizer.test.mjs +15 -0
  648. package/es/modules/page/__e2e__/schemaSettings.test.mjs +134 -0
  649. package/es/modules/page/__e2e__/templatesOfBug.mjs +0 -0
  650. package/es/modules/plugin-manager/__e2e__/pluginManager.test.mjs +113 -0
  651. package/es/modules/plugin-manager/__e2e__/templatesOfBug.mjs +0 -0
  652. package/es/modules/user-center/__e2e__/settings.test.mjs +12 -0
  653. package/es/modules/variable/DeclareVariable.mjs +16 -0
  654. package/es/modules/variable/useVariable.mjs +12 -0
  655. package/es/powered-by/index.mjs +43 -0
  656. package/es/record-provider/index.mjs +51 -0
  657. package/es/route-switch/RouteSchemaComponent.mjs +12 -0
  658. package/es/route-switch/index.mjs +1 -0
  659. package/es/schema-component/antd/AntdSchemaComponentProvider.mjs +39 -0
  660. package/es/schema-component/antd/__builtins__/hooks/index.mjs +3 -0
  661. package/es/schema-component/antd/__builtins__/hooks/useConfig.mjs +5 -0
  662. package/es/schema-component/antd/__builtins__/hooks/usePrefixCls.mjs +12 -0
  663. package/es/schema-component/antd/__builtins__/hooks/useToken.mjs +6 -0
  664. package/es/schema-component/antd/__builtins__/index.mjs +4 -0
  665. package/es/schema-component/antd/__builtins__/loading.mjs +15 -0
  666. package/es/schema-component/antd/__builtins__/portal.mjs +51 -0
  667. package/es/schema-component/antd/__builtins__/render.mjs +47 -0
  668. package/es/schema-component/antd/__builtins__/style.mjs +65 -0
  669. package/es/schema-component/antd/action/Action.Area.mjs +102 -0
  670. package/es/schema-component/antd/action/Action.Area.style.mjs +40 -0
  671. package/es/schema-component/antd/action/Action.Container.mjs +42 -0
  672. package/es/schema-component/antd/action/Action.Designer.mjs +906 -0
  673. package/es/schema-component/antd/action/Action.Drawer.mjs +136 -0
  674. package/es/schema-component/antd/action/Action.Drawer.style.mjs +46 -0
  675. package/es/schema-component/antd/action/Action.Link.mjs +14 -0
  676. package/es/schema-component/antd/action/Action.Modal.mjs +172 -0
  677. package/es/schema-component/antd/action/Action.Page.mjs +83 -0
  678. package/es/schema-component/antd/action/Action.Popover.mjs +0 -0
  679. package/es/schema-component/antd/action/Action.Sheet.mjs +81 -0
  680. package/es/schema-component/antd/action/Action.mjs +228 -0
  681. package/es/schema-component/antd/action/Action.style.mjs +47 -0
  682. package/es/schema-component/antd/action/ActionBar.mjs +128 -0
  683. package/es/schema-component/antd/action/__tests__/action.test.mjs +116 -0
  684. package/es/schema-component/antd/action/context.mjs +17 -0
  685. package/es/schema-component/antd/action/demos/demo1.mjs +70 -0
  686. package/es/schema-component/antd/action/demos/demo2.mjs +75 -0
  687. package/es/schema-component/antd/action/demos/demo3.mjs +127 -0
  688. package/es/schema-component/antd/action/demos/demo4.mjs +58 -0
  689. package/es/schema-component/antd/action/demos/demo5.mjs +211 -0
  690. package/es/schema-component/antd/action/demos/demo6.mjs +95 -0
  691. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfAction.mjs +37 -0
  692. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfDrawer.mjs +25 -0
  693. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfModal.mjs +25 -0
  694. package/es/schema-component/antd/action/hooks/useGetAriaLabelOfPopover.mjs +25 -0
  695. package/es/schema-component/antd/action/hooks/useSetAriaLabelForDrawer.mjs +30 -0
  696. package/es/schema-component/antd/action/hooks/useSetAriaLabelForModal.mjs +30 -0
  697. package/es/schema-component/antd/action/hooks/useSetAriaLabelForPopover.mjs +22 -0
  698. package/es/schema-component/antd/action/hooks.mjs +60 -0
  699. package/es/schema-component/antd/action/index.mjs +10 -0
  700. package/es/schema-component/antd/action/types.mjs +0 -0
  701. package/es/schema-component/antd/action/utils.mjs +213 -0
  702. package/es/schema-component/antd/appends-tree-select/AppendsTreeSelect.mjs +216 -0
  703. package/es/schema-component/antd/appends-tree-select/AppendsTreeSelectV2.mjs +215 -0
  704. package/es/schema-component/antd/appends-tree-select/index.mjs +2 -0
  705. package/es/schema-component/antd/association-cascader/AssociationCascader.mjs +135 -0
  706. package/es/schema-component/antd/association-cascader/index.mjs +1 -0
  707. package/es/schema-component/antd/association-field/AssociationFieldProvider.mjs +125 -0
  708. package/es/schema-component/antd/association-field/AssociationSelect.mjs +172 -0
  709. package/es/schema-component/antd/association-field/Editable.mjs +103 -0
  710. package/es/schema-component/antd/association-field/FileManager.mjs +201 -0
  711. package/es/schema-component/antd/association-field/InternalCascadeSelect.mjs +394 -0
  712. package/es/schema-component/antd/association-field/InternalCascader.mjs +365 -0
  713. package/es/schema-component/antd/association-field/InternalDrawerSubTable.mjs +99 -0
  714. package/es/schema-component/antd/association-field/InternalNester.mjs +80 -0
  715. package/es/schema-component/antd/association-field/InternalPicker.mjs +228 -0
  716. package/es/schema-component/antd/association-field/InternalPopoverNester.mjs +131 -0
  717. package/es/schema-component/antd/association-field/InternalSubTable.mjs +91 -0
  718. package/es/schema-component/antd/association-field/InternalTag.mjs +122 -0
  719. package/es/schema-component/antd/association-field/InternalViewer.mjs +136 -0
  720. package/es/schema-component/antd/association-field/Nester.mjs +247 -0
  721. package/es/schema-component/antd/association-field/ReadPretty.mjs +47 -0
  722. package/es/schema-component/antd/association-field/SubTable.mjs +278 -0
  723. package/es/schema-component/antd/association-field/SubTabs/InternalCollapse.mjs +321 -0
  724. package/es/schema-component/antd/association-field/SubTabs/hook.mjs +53 -0
  725. package/es/schema-component/antd/association-field/SubTabs/index.mjs +1 -0
  726. package/es/schema-component/antd/association-field/SubTabs/styles.mjs +25 -0
  727. package/es/schema-component/antd/association-field/components/CreateRecordAction.mjs +55 -0
  728. package/es/schema-component/antd/association-field/context.mjs +4 -0
  729. package/es/schema-component/antd/association-field/hooks.mjs +150 -0
  730. package/es/schema-component/antd/association-field/index.mjs +17 -0
  731. package/es/schema-component/antd/association-field/schema.mjs +131 -0
  732. package/es/schema-component/antd/association-field/util.mjs +103 -0
  733. package/es/schema-component/antd/association-filter/ActionBarAssociationFilterAction.mjs +54 -0
  734. package/es/schema-component/antd/association-filter/AssociationFilter.BlockDesigner.mjs +40 -0
  735. package/es/schema-component/antd/association-filter/AssociationFilter.Initializer.mjs +55 -0
  736. package/es/schema-component/antd/association-filter/AssociationFilter.Item.Designer.mjs +134 -0
  737. package/es/schema-component/antd/association-filter/AssociationFilter.Item.mjs +131 -0
  738. package/es/schema-component/antd/association-filter/AssociationFilter.Item.style.mjs +101 -0
  739. package/es/schema-component/antd/association-filter/AssociationFilter.mjs +75 -0
  740. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDelete.mjs +31 -0
  741. package/es/schema-component/antd/association-filter/AssociationFilterDesignerDisplayField.mjs +23 -0
  742. package/es/schema-component/antd/association-filter/utilts.mjs +2 -0
  743. package/es/schema-component/antd/association-select/AssociationSelect.mjs +865 -0
  744. package/es/schema-component/antd/association-select/ReadPretty.mjs +17 -0
  745. package/es/schema-component/antd/association-select/__tests__/association-select.test.mjs +16 -0
  746. package/es/schema-component/antd/association-select/demos/demo1.mjs +55 -0
  747. package/es/schema-component/antd/association-select/index.mjs +1 -0
  748. package/es/schema-component/antd/association-select/useServiceOptions.mjs +82 -0
  749. package/es/schema-component/antd/auto-complete/AutoComplete.mjs +58 -0
  750. package/es/schema-component/antd/auto-complete/index.mjs +1 -0
  751. package/es/schema-component/antd/block-item/BlockItem.mjs +49 -0
  752. package/es/schema-component/antd/block-item/BlockToolbar.mjs +88 -0
  753. package/es/schema-component/antd/block-item/__tests__/block-item.test.mjs +14 -0
  754. package/es/schema-component/antd/block-item/demos/demo1.mjs +60 -0
  755. package/es/schema-component/antd/block-item/hooks/useGetAriaLabelOfBlockItem.mjs +39 -0
  756. package/es/schema-component/antd/block-item/index.mjs +1 -0
  757. package/es/schema-component/antd/block-item/useBlockToolbar.mjs +81 -0
  758. package/es/schema-component/antd/card-item/CardItem.mjs +25 -0
  759. package/es/schema-component/antd/card-item/__tests__/card-item.test.mjs +11 -0
  760. package/es/schema-component/antd/card-item/demos/demo1.mjs +31 -0
  761. package/es/schema-component/antd/card-item/index.mjs +1 -0
  762. package/es/schema-component/antd/card-item/style.mjs +25 -0
  763. package/es/schema-component/antd/cascader/Cascader.mjs +73 -0
  764. package/es/schema-component/antd/cascader/ReadPretty.mjs +30 -0
  765. package/es/schema-component/antd/cascader/__tests__/cascader.test.mjs +29 -0
  766. package/es/schema-component/antd/cascader/defaultFieldNames.mjs +6 -0
  767. package/es/schema-component/antd/cascader/demos/demo1.mjs +82 -0
  768. package/es/schema-component/antd/cascader/demos/demo2.mjs +115 -0
  769. package/es/schema-component/antd/cascader/index.mjs +1 -0
  770. package/es/schema-component/antd/checkbox/Checkbox.mjs +83 -0
  771. package/es/schema-component/antd/checkbox/__tests__/checkbox.test.mjs +40 -0
  772. package/es/schema-component/antd/checkbox/demos/checkbox.group.mjs +54 -0
  773. package/es/schema-component/antd/checkbox/demos/checkbox.mjs +40 -0
  774. package/es/schema-component/antd/checkbox/index.mjs +1 -0
  775. package/es/schema-component/antd/collection-select/CollectionSelect.mjs +146 -0
  776. package/es/schema-component/antd/collection-select/__tests__/collection-select.test.mjs +16 -0
  777. package/es/schema-component/antd/collection-select/demos/demo1.mjs +36 -0
  778. package/es/schema-component/antd/collection-select/index.mjs +1 -0
  779. package/es/schema-component/antd/color-picker/ColorPicker.mjs +86 -0
  780. package/es/schema-component/antd/color-picker/ReadPretty.mjs +19 -0
  781. package/es/schema-component/antd/color-picker/demos/demo1.mjs +49 -0
  782. package/es/schema-component/antd/color-picker/index.mjs +1 -0
  783. package/es/schema-component/antd/color-picker/util.mjs +158 -0
  784. package/es/schema-component/antd/color-select/ColorSelect.mjs +48 -0
  785. package/es/schema-component/antd/color-select/__tests__/color-select.test.mjs +16 -0
  786. package/es/schema-component/antd/color-select/demos/demo1.mjs +40 -0
  787. package/es/schema-component/antd/color-select/index.mjs +1 -0
  788. package/es/schema-component/antd/cron/Cron.mjs +68 -0
  789. package/es/schema-component/antd/cron/CronSet.mjs +106 -0
  790. package/es/schema-component/antd/cron/__tests__/cron-set.test.mjs +30 -0
  791. package/es/schema-component/antd/cron/demos/demo1.mjs +32 -0
  792. package/es/schema-component/antd/cron/demos/demo2.mjs +51 -0
  793. package/es/schema-component/antd/cron/index.mjs +2 -0
  794. package/es/schema-component/antd/custom-cascader/CustomCascader.mjs +34 -0
  795. package/es/schema-component/antd/custom-cascader/ReadPretty.mjs +30 -0
  796. package/es/schema-component/antd/custom-cascader/defaultFieldNames.mjs +6 -0
  797. package/es/schema-component/antd/custom-cascader/index.mjs +1 -0
  798. package/es/schema-component/antd/date-picker/DatePicker.mjs +144 -0
  799. package/es/schema-component/antd/date-picker/ReadPretty.mjs +38 -0
  800. package/es/schema-component/antd/date-picker/__tests__/date-picker.test.mjs +178 -0
  801. package/es/schema-component/antd/date-picker/__tests__/getDateRanges.test.mjs +110 -0
  802. package/es/schema-component/antd/date-picker/__tests__/mapDatePicker.test.mjs +200 -0
  803. package/es/schema-component/antd/date-picker/__tests__/mapRangePicker.test.mjs +59 -0
  804. package/es/schema-component/antd/date-picker/__tests__/util.test.mjs +166 -0
  805. package/es/schema-component/antd/date-picker/demos/demo1.mjs +57 -0
  806. package/es/schema-component/antd/date-picker/demos/demo10.mjs +61 -0
  807. package/es/schema-component/antd/date-picker/demos/demo11.mjs +65 -0
  808. package/es/schema-component/antd/date-picker/demos/demo2.mjs +60 -0
  809. package/es/schema-component/antd/date-picker/demos/demo3.mjs +58 -0
  810. package/es/schema-component/antd/date-picker/demos/demo4.mjs +72 -0
  811. package/es/schema-component/antd/date-picker/demos/demo5.mjs +71 -0
  812. package/es/schema-component/antd/date-picker/demos/demo6.mjs +71 -0
  813. package/es/schema-component/antd/date-picker/demos/demo7.mjs +61 -0
  814. package/es/schema-component/antd/date-picker/demos/demo8.mjs +61 -0
  815. package/es/schema-component/antd/date-picker/demos/demo9.mjs +61 -0
  816. package/es/schema-component/antd/date-picker/index.mjs +1 -0
  817. package/es/schema-component/antd/date-picker/util.mjs +179 -0
  818. package/es/schema-component/antd/details/Details.mjs +18 -0
  819. package/es/schema-component/antd/details/__tests__/details.test.mjs +10 -0
  820. package/es/schema-component/antd/details/demos/demo1.mjs +42 -0
  821. package/es/schema-component/antd/details/index.mjs +1 -0
  822. package/es/schema-component/antd/error-fallback/ErrorFallback.mjs +59 -0
  823. package/es/schema-component/antd/error-fallback/__tests__/error-fallback.test.mjs +17 -0
  824. package/es/schema-component/antd/error-fallback/demos/demo1.mjs +13 -0
  825. package/es/schema-component/antd/error-fallback/index.mjs +1 -0
  826. package/es/schema-component/antd/expand-action/Expand.Action.Design.mjs +107 -0
  827. package/es/schema-component/antd/expand-action/Expand.Action.mjs +70 -0
  828. package/es/schema-component/antd/expand-action/index.mjs +6 -0
  829. package/es/schema-component/antd/filter/DynamicComponent.mjs +58 -0
  830. package/es/schema-component/antd/filter/Filter.Action.Designer.mjs +121 -0
  831. package/es/schema-component/antd/filter/Filter.mjs +56 -0
  832. package/es/schema-component/antd/filter/FilterAction.mjs +164 -0
  833. package/es/schema-component/antd/filter/FilterGroup.mjs +134 -0
  834. package/es/schema-component/antd/filter/FilterItem.mjs +85 -0
  835. package/es/schema-component/antd/filter/FilterItems.mjs +24 -0
  836. package/es/schema-component/antd/filter/SaveDefaultValue.mjs +36 -0
  837. package/es/schema-component/antd/filter/__tests__/filter.test.mjs +113 -0
  838. package/es/schema-component/antd/filter/context.mjs +8 -0
  839. package/es/schema-component/antd/filter/demos/demo2.mjs +129 -0
  840. package/es/schema-component/antd/filter/demos/demo3.mjs +196 -0
  841. package/es/schema-component/antd/filter/demos/demo4.mjs +184 -0
  842. package/es/schema-component/antd/filter/demos/demo5.mjs +131 -0
  843. package/es/schema-component/antd/filter/demos/demo6.mjs +118 -0
  844. package/es/schema-component/antd/filter/index.mjs +3 -0
  845. package/es/schema-component/antd/filter/useFilterActionProps.mjs +213 -0
  846. package/es/schema-component/antd/filter/useOperators.mjs +23 -0
  847. package/es/schema-component/antd/filter/useValues.mjs +122 -0
  848. package/es/schema-component/antd/filter/utils.mjs +13 -0
  849. package/es/schema-component/antd/form/Form.Designer.mjs +12 -0
  850. package/es/schema-component/antd/form/Form.Settings.mjs +34 -0
  851. package/es/schema-component/antd/form/Form.mjs +148 -0
  852. package/es/schema-component/antd/form/__tests__/form.test.mjs +113 -0
  853. package/es/schema-component/antd/form/demos/apiClient.mjs +17 -0
  854. package/es/schema-component/antd/form/demos/demo1.mjs +73 -0
  855. package/es/schema-component/antd/form/demos/demo2.mjs +73 -0
  856. package/es/schema-component/antd/form/demos/demo3.mjs +72 -0
  857. package/es/schema-component/antd/form/demos/demo4.mjs +80 -0
  858. package/es/schema-component/antd/form/demos/demo5.mjs +114 -0
  859. package/es/schema-component/antd/form/demos/demo6.mjs +71 -0
  860. package/es/schema-component/antd/form/demos/demo7.mjs +75 -0
  861. package/es/schema-component/antd/form/demos/demo8.mjs +86 -0
  862. package/es/schema-component/antd/form/index.mjs +2 -0
  863. package/es/schema-component/antd/form-dialog/index.mjs +154 -0
  864. package/es/schema-component/antd/form-item/FormItem.FilterFormDesigner.mjs +7 -0
  865. package/es/schema-component/antd/form-item/FormItem.FilterFormSettings.mjs +128 -0
  866. package/es/schema-component/antd/form-item/FormItem.Settings.mjs +1204 -0
  867. package/es/schema-component/antd/form-item/FormItem.mjs +133 -0
  868. package/es/schema-component/antd/form-item/SchemaSettingOptions.mjs +562 -0
  869. package/es/schema-component/antd/form-item/__tests__/form-item.test.mjs +12 -0
  870. package/es/schema-component/antd/form-item/__tests__/hooks/useSpecialCase.test.mjs +27 -0
  871. package/es/schema-component/antd/form-item/__tests__/utils.test.mjs +65 -0
  872. package/es/schema-component/antd/form-item/demos/demo1.mjs +37 -0
  873. package/es/schema-component/antd/form-item/hooks/useLazyLoadDisplayAssociationFieldsOfForm.mjs +69 -0
  874. package/es/schema-component/antd/form-item/hooks/useParseDefaultValue.mjs +84 -0
  875. package/es/schema-component/antd/form-item/hooks/useSpecialCase.mjs +106 -0
  876. package/es/schema-component/antd/form-item/index.mjs +4 -0
  877. package/es/schema-component/antd/form-item/utils.mjs +7 -0
  878. package/es/schema-component/antd/form-tab/index.mjs +140 -0
  879. package/es/schema-component/antd/form-v2/Form.Designer.mjs +33 -0
  880. package/es/schema-component/antd/form-v2/Form.FilterDesigner.mjs +15 -0
  881. package/es/schema-component/antd/form-v2/Form.Settings.mjs +315 -0
  882. package/es/schema-component/antd/form-v2/Form.mjs +330 -0
  883. package/es/schema-component/antd/form-v2/FormField.mjs +30 -0
  884. package/es/schema-component/antd/form-v2/Templates.mjs +191 -0
  885. package/es/schema-component/antd/form-v2/__tests__/form-v2.test.mjs +47 -0
  886. package/es/schema-component/antd/form-v2/demos/collections.mjs +1565 -0
  887. package/es/schema-component/antd/form-v2/demos/demo1.mjs +108 -0
  888. package/es/schema-component/antd/form-v2/demos/demo2.mjs +131 -0
  889. package/es/schema-component/antd/form-v2/demos/demo3.mjs +117 -0
  890. package/es/schema-component/antd/form-v2/index.mjs +14 -0
  891. package/es/schema-component/antd/form-v2/utils.mjs +143 -0
  892. package/es/schema-component/antd/grid/Block.mjs +24 -0
  893. package/es/schema-component/antd/grid/Grid.mjs +479 -0
  894. package/es/schema-component/antd/grid/Grid.style.mjs +45 -0
  895. package/es/schema-component/antd/grid/__tests__/grid.test.mjs +26 -0
  896. package/es/schema-component/antd/grid/demos/demo1.mjs +194 -0
  897. package/es/schema-component/antd/grid/demos/demo2.mjs +97 -0
  898. package/es/schema-component/antd/grid/demos/demo3.mjs +83 -0
  899. package/es/schema-component/antd/grid/index.mjs +2 -0
  900. package/es/schema-component/antd/grid-card/GridCard.Decorator.mjs +67 -0
  901. package/es/schema-component/antd/grid-card/GridCard.Decorator.style.mjs +24 -0
  902. package/es/schema-component/antd/grid-card/GridCard.Designer.mjs +252 -0
  903. package/es/schema-component/antd/grid-card/GridCard.Item.mjs +77 -0
  904. package/es/schema-component/antd/grid-card/GridCard.mjs +156 -0
  905. package/es/schema-component/antd/grid-card/__tests__/grid-card.test.mjs +9 -0
  906. package/es/schema-component/antd/grid-card/demos/demo1.mjs +6 -0
  907. package/es/schema-component/antd/grid-card/hooks.mjs +32 -0
  908. package/es/schema-component/antd/grid-card/index.mjs +1 -0
  909. package/es/schema-component/antd/grid-card/options.mjs +35 -0
  910. package/es/schema-component/antd/icon-picker/IconFilterInput.mjs +17 -0
  911. package/es/schema-component/antd/icon-picker/IconList.mjs +50 -0
  912. package/es/schema-component/antd/icon-picker/IconPicker.mjs +74 -0
  913. package/es/schema-component/antd/icon-picker/__tests__/icon-picker.test.mjs +25 -0
  914. package/es/schema-component/antd/icon-picker/demos/icon-picker.mjs +40 -0
  915. package/es/schema-component/antd/icon-picker/index.mjs +1 -0
  916. package/es/schema-component/antd/index.css +30 -0
  917. package/es/schema-component/antd/index.mjs +65 -0
  918. package/es/schema-component/antd/input/EllipsisWithTooltip.mjs +64 -0
  919. package/es/schema-component/antd/input/Input.mjs +27 -0
  920. package/es/schema-component/antd/input/Json.mjs +60 -0
  921. package/es/schema-component/antd/input/ReadPretty.mjs +153 -0
  922. package/es/schema-component/antd/input/__tests__/Input.test.mjs +115 -0
  923. package/es/schema-component/antd/input/demos/input.mjs +40 -0
  924. package/es/schema-component/antd/input/demos/json.mjs +46 -0
  925. package/es/schema-component/antd/input/demos/textarea.mjs +68 -0
  926. package/es/schema-component/antd/input/demos/url.mjs +42 -0
  927. package/es/schema-component/antd/input/index.mjs +5 -0
  928. package/es/schema-component/antd/input/shared.mjs +8 -0
  929. package/es/schema-component/antd/input-number/InputNumber.mjs +19 -0
  930. package/es/schema-component/antd/input-number/ReadPretty.mjs +115 -0
  931. package/es/schema-component/antd/input-number/__tests__/input-number.test.mjs +116 -0
  932. package/es/schema-component/antd/input-number/demos/addonBefore&addonAfter.mjs +48 -0
  933. package/es/schema-component/antd/input-number/demos/highPrecisionDecimals.mjs +50 -0
  934. package/es/schema-component/antd/input-number/demos/inputNumber.mjs +40 -0
  935. package/es/schema-component/antd/input-number/index.mjs +1 -0
  936. package/es/schema-component/antd/list/List.Decorator.mjs +94 -0
  937. package/es/schema-component/antd/list/List.Designer.mjs +206 -0
  938. package/es/schema-component/antd/list/List.Item.mjs +53 -0
  939. package/es/schema-component/antd/list/List.mjs +80 -0
  940. package/es/schema-component/antd/list/List.style.mjs +55 -0
  941. package/es/schema-component/antd/list/__tests__/list.test.mjs +9 -0
  942. package/es/schema-component/antd/list/demos/demo1.mjs +6 -0
  943. package/es/schema-component/antd/list/hooks.mjs +11 -0
  944. package/es/schema-component/antd/list/index.mjs +1 -0
  945. package/es/schema-component/antd/markdown/Markdown.Void.Designer.mjs +27 -0
  946. package/es/schema-component/antd/markdown/Markdown.Void.mjs +110 -0
  947. package/es/schema-component/antd/markdown/Markdown.mjs +46 -0
  948. package/es/schema-component/antd/markdown/__tests__/markdown.test.mjs +27 -0
  949. package/es/schema-component/antd/markdown/demos/demo1.mjs +40 -0
  950. package/es/schema-component/antd/markdown/demos/demo2.mjs +51 -0
  951. package/es/schema-component/antd/markdown/index.mjs +1 -0
  952. package/es/schema-component/antd/markdown/markdown-it-plugins/mermaidPlugin.mjs +51 -0
  953. package/es/schema-component/antd/markdown/md.mjs +13 -0
  954. package/es/schema-component/antd/markdown/style.mjs +220 -0
  955. package/es/schema-component/antd/markdown/util.mjs +38 -0
  956. package/es/schema-component/antd/menu/Menu.Designer.mjs +435 -0
  957. package/es/schema-component/antd/menu/Menu.mjs +591 -0
  958. package/es/schema-component/antd/menu/Menu.styles.mjs +77 -0
  959. package/es/schema-component/antd/menu/MenuItemInitializers/index.mjs +11 -0
  960. package/es/schema-component/antd/menu/__tests__/menu.test.mjs +38 -0
  961. package/es/schema-component/antd/menu/demos/demo1.mjs +93 -0
  962. package/es/schema-component/antd/menu/demos/demo2.mjs +96 -0
  963. package/es/schema-component/antd/menu/demos/demo3.mjs +135 -0
  964. package/es/schema-component/antd/menu/index.mjs +3 -0
  965. package/es/schema-component/antd/menu/locale.mjs +3 -0
  966. package/es/schema-component/antd/menu/util.mjs +34 -0
  967. package/es/schema-component/antd/nanoIDInput/NanoIDInput.mjs +33 -0
  968. package/es/schema-component/antd/nanoIDInput/index.mjs +1 -0
  969. package/es/schema-component/antd/page/FixedBlock.mjs +96 -0
  970. package/es/schema-component/antd/page/FixedBlockDesignerItem.mjs +40 -0
  971. package/es/schema-component/antd/page/Page.Settings.mjs +147 -0
  972. package/es/schema-component/antd/page/Page.mjs +220 -0
  973. package/es/schema-component/antd/page/PageTab.Settings.mjs +88 -0
  974. package/es/schema-component/antd/page/PageTabDesigner.mjs +64 -0
  975. package/es/schema-component/antd/page/__tests__/page.test.mjs +18 -0
  976. package/es/schema-component/antd/page/demos/demo1.mjs +38 -0
  977. package/es/schema-component/antd/page/hooks/useIsBlockInPage.mjs +12 -0
  978. package/es/schema-component/antd/page/index.mjs +5 -0
  979. package/es/schema-component/antd/page/style.mjs +143 -0
  980. package/es/schema-component/antd/pagination/index.mjs +22 -0
  981. package/es/schema-component/antd/password/Password.mjs +80 -0
  982. package/es/schema-component/antd/password/PasswordStrength.mjs +11 -0
  983. package/es/schema-component/antd/password/__tests__/password.test.mjs +28 -0
  984. package/es/schema-component/antd/password/__tests__/utils.test.mjs +21 -0
  985. package/es/schema-component/antd/password/demos/demo1.mjs +40 -0
  986. package/es/schema-component/antd/password/demos/demo2.mjs +43 -0
  987. package/es/schema-component/antd/password/index.mjs +1 -0
  988. package/es/schema-component/antd/password/utils.mjs +104 -0
  989. package/es/schema-component/antd/percent/Percent.mjs +34 -0
  990. package/es/schema-component/antd/percent/__tests__/percent.test.mjs +16 -0
  991. package/es/schema-component/antd/percent/demos/percent.mjs +40 -0
  992. package/es/schema-component/antd/percent/index.mjs +1 -0
  993. package/es/schema-component/antd/popover/Popover.mjs +39 -0
  994. package/es/schema-component/antd/popover/index.mjs +1 -0
  995. package/es/schema-component/antd/preview/Preview.mjs +273 -0
  996. package/es/schema-component/antd/preview/__tests__/preview.test.mjs +11 -0
  997. package/es/schema-component/antd/preview/demos/demo1.mjs +81 -0
  998. package/es/schema-component/antd/preview/index.mjs +1 -0
  999. package/es/schema-component/antd/quick-edit/QuickEdit.mjs +115 -0
  1000. package/es/schema-component/antd/quick-edit/index.mjs +1 -0
  1001. package/es/schema-component/antd/radio/Radio.mjs +40 -0
  1002. package/es/schema-component/antd/radio/__tests__/radio.test.mjs +43 -0
  1003. package/es/schema-component/antd/radio/demos/demo1.mjs +40 -0
  1004. package/es/schema-component/antd/radio/demos/demo2.mjs +52 -0
  1005. package/es/schema-component/antd/radio/demos/demo3.mjs +54 -0
  1006. package/es/schema-component/antd/radio/index.mjs +1 -0
  1007. package/es/schema-component/antd/record-picker/InputRecordPicker.mjs +252 -0
  1008. package/es/schema-component/antd/record-picker/ReadPrettyRecordPicker.mjs +120 -0
  1009. package/es/schema-component/antd/record-picker/RecordPicker.mjs +5 -0
  1010. package/es/schema-component/antd/record-picker/__tests__/record-picker.test.mjs +27 -0
  1011. package/es/schema-component/antd/record-picker/demos/demo1.mjs +175 -0
  1012. package/es/schema-component/antd/record-picker/demos/mockData.mjs +211 -0
  1013. package/es/schema-component/antd/record-picker/index.mjs +10 -0
  1014. package/es/schema-component/antd/record-picker/useFieldNames.mjs +12 -0
  1015. package/es/schema-component/antd/record-picker/util.mjs +37 -0
  1016. package/es/schema-component/antd/remote-select/ReadPretty.mjs +44 -0
  1017. package/es/schema-component/antd/remote-select/RemoteSelect.mjs +224 -0
  1018. package/es/schema-component/antd/remote-select/__tests__/remote-select.test.mjs +16 -0
  1019. package/es/schema-component/antd/remote-select/demos/demo1.mjs +55 -0
  1020. package/es/schema-component/antd/remote-select/index.mjs +1 -0
  1021. package/es/schema-component/antd/remote-select/shared.mjs +3 -0
  1022. package/es/schema-component/antd/rich-text/RichText.mjs +59 -0
  1023. package/es/schema-component/antd/rich-text/__tests__/rich-text.test.mjs +13 -0
  1024. package/es/schema-component/antd/rich-text/demos/demo1.mjs +41 -0
  1025. package/es/schema-component/antd/rich-text/index.mjs +1 -0
  1026. package/es/schema-component/antd/rich-text/style.mjs +813 -0
  1027. package/es/schema-component/antd/rich-text/style.mjs.LICENSE.txt +6 -0
  1028. package/es/schema-component/antd/scroll-area/ScrollArea.mjs +43 -0
  1029. package/es/schema-component/antd/scroll-area/index.mjs +1 -0
  1030. package/es/schema-component/antd/select/FormulaSelect.mjs +196 -0
  1031. package/es/schema-component/antd/select/ReadPretty.mjs +33 -0
  1032. package/es/schema-component/antd/select/Select.mjs +155 -0
  1033. package/es/schema-component/antd/select/__tests__/select.test.mjs +41 -0
  1034. package/es/schema-component/antd/select/__tests__/utils.test.mjs +129 -0
  1035. package/es/schema-component/antd/select/demos/demo1.mjs +72 -0
  1036. package/es/schema-component/antd/select/demos/demo2.mjs +76 -0
  1037. package/es/schema-component/antd/select/demos/demo3.mjs +84 -0
  1038. package/es/schema-component/antd/select/index.mjs +2 -0
  1039. package/es/schema-component/antd/select/utils.mjs +38 -0
  1040. package/es/schema-component/antd/space/index.mjs +19 -0
  1041. package/es/schema-component/antd/table/Table.Array.Designer.mjs +12 -0
  1042. package/es/schema-component/antd/table/Table.Array.mjs +293 -0
  1043. package/es/schema-component/antd/table/Table.Column.ActionBar.mjs +42 -0
  1044. package/es/schema-component/antd/table/Table.Column.Decorator.mjs +49 -0
  1045. package/es/schema-component/antd/table/Table.Column.Designer.mjs +144 -0
  1046. package/es/schema-component/antd/table/Table.Column.mjs +10 -0
  1047. package/es/schema-component/antd/table/Table.Designer.mjs +17 -0
  1048. package/es/schema-component/antd/table/Table.RowActionDesigner.mjs +33 -0
  1049. package/es/schema-component/antd/table/Table.RowSelection.mjs +29 -0
  1050. package/es/schema-component/antd/table/Table.Void.Designer.mjs +241 -0
  1051. package/es/schema-component/antd/table/Table.Void.mjs +119 -0
  1052. package/es/schema-component/antd/table/__tests__/table.test.mjs +21 -0
  1053. package/es/schema-component/antd/table/demos/demo1.mjs +63 -0
  1054. package/es/schema-component/antd/table/demos/demo2.mjs +63 -0
  1055. package/es/schema-component/antd/table/demos/demo3.mjs +63 -0
  1056. package/es/schema-component/antd/table/demos/demo4.mjs +217 -0
  1057. package/es/schema-component/antd/table/index.mjs +24 -0
  1058. package/es/schema-component/antd/table-v2/Table.ActionColumnDesigner.mjs +33 -0
  1059. package/es/schema-component/antd/table-v2/Table.Column.ActionBar.mjs +49 -0
  1060. package/es/schema-component/antd/table-v2/Table.Column.Decorator.mjs +60 -0
  1061. package/es/schema-component/antd/table-v2/Table.Column.Designer.mjs +445 -0
  1062. package/es/schema-component/antd/table-v2/Table.Column.mjs +11 -0
  1063. package/es/schema-component/antd/table-v2/Table.Designer.mjs +17 -0
  1064. package/es/schema-component/antd/table-v2/Table.Index.mjs +10 -0
  1065. package/es/schema-component/antd/table-v2/Table.mjs +445 -0
  1066. package/es/schema-component/antd/table-v2/Table.styles.mjs +135 -0
  1067. package/es/schema-component/antd/table-v2/TableBlockDesigner.mjs +328 -0
  1068. package/es/schema-component/antd/table-v2/TableField.mjs +51 -0
  1069. package/es/schema-component/antd/table-v2/TableSelector.mjs +3 -0
  1070. package/es/schema-component/antd/table-v2/TableSelectorDesigner.mjs +272 -0
  1071. package/es/schema-component/antd/table-v2/__tests__/table-v2.test.mjs +13 -0
  1072. package/es/schema-component/antd/table-v2/components/ColumnFieldProvider.mjs +39 -0
  1073. package/es/schema-component/antd/table-v2/demos/collections.mjs +1560 -0
  1074. package/es/schema-component/antd/table-v2/demos/demo1.mjs +220 -0
  1075. package/es/schema-component/antd/table-v2/demos/demo2.mjs +117 -0
  1076. package/es/schema-component/antd/table-v2/index.mjs +21 -0
  1077. package/es/schema-component/antd/table-v2/utils.mjs +13 -0
  1078. package/es/schema-component/antd/tabs/Tabs.Designer.mjs +132 -0
  1079. package/es/schema-component/antd/tabs/Tabs.mjs +98 -0
  1080. package/es/schema-component/antd/tabs/__tests__/tabs.test.mjs +14 -0
  1081. package/es/schema-component/antd/tabs/context.mjs +12 -0
  1082. package/es/schema-component/antd/tabs/demos/demo1.mjs +67 -0
  1083. package/es/schema-component/antd/tabs/index.mjs +2 -0
  1084. package/es/schema-component/antd/time-picker/ReadPretty.mjs +21 -0
  1085. package/es/schema-component/antd/time-picker/TimePicker.mjs +22 -0
  1086. package/es/schema-component/antd/time-picker/__tests__/time-picker.test.mjs +45 -0
  1087. package/es/schema-component/antd/time-picker/demos/demo1.mjs +40 -0
  1088. package/es/schema-component/antd/time-picker/demos/demo2.mjs +40 -0
  1089. package/es/schema-component/antd/time-picker/index.mjs +1 -0
  1090. package/es/schema-component/antd/tree/Tree.mjs +82 -0
  1091. package/es/schema-component/antd/tree/index.mjs +3 -0
  1092. package/es/schema-component/antd/tree-select/ReadPretty.mjs +62 -0
  1093. package/es/schema-component/antd/tree-select/TreeSelect.mjs +14 -0
  1094. package/es/schema-component/antd/tree-select/__tests__/tree-select.test.mjs +14 -0
  1095. package/es/schema-component/antd/tree-select/demos/demo1.mjs +84 -0
  1096. package/es/schema-component/antd/tree-select/index.mjs +1 -0
  1097. package/es/schema-component/antd/unixTimestamp/UnixTimestamp.mjs +42 -0
  1098. package/es/schema-component/antd/unixTimestamp/index.mjs +1 -0
  1099. package/es/schema-component/antd/upload/ReadPretty.mjs +199 -0
  1100. package/es/schema-component/antd/upload/Upload.mjs +330 -0
  1101. package/es/schema-component/antd/upload/__tests__/upload.test.mjs +13 -0
  1102. package/es/schema-component/antd/upload/demos/apiClient.mjs +43 -0
  1103. package/es/schema-component/antd/upload/demos/demo1.mjs +48 -0
  1104. package/es/schema-component/antd/upload/demos/demo2.mjs +115 -0
  1105. package/es/schema-component/antd/upload/index.mjs +1 -0
  1106. package/es/schema-component/antd/upload/placeholder.mjs +63 -0
  1107. package/es/schema-component/antd/upload/shared.mjs +185 -0
  1108. package/es/schema-component/antd/upload/style.mjs +75 -0
  1109. package/es/schema-component/antd/upload/type.d.mjs +1 -0
  1110. package/es/schema-component/antd/variable/CodeMirror.mjs +98 -0
  1111. package/es/schema-component/antd/variable/Input.mjs +310 -0
  1112. package/es/schema-component/antd/variable/JSONInput.mjs +37 -0
  1113. package/es/schema-component/antd/variable/RawTextArea.mjs +99 -0
  1114. package/es/schema-component/antd/variable/TextArea.mjs +387 -0
  1115. package/es/schema-component/antd/variable/Variable.mjs +30 -0
  1116. package/es/schema-component/antd/variable/VariableSelect.mjs +66 -0
  1117. package/es/schema-component/antd/variable/VariableSelect.style.mjs +30 -0
  1118. package/es/schema-component/antd/variable/XButton.mjs +21 -0
  1119. package/es/schema-component/antd/variable/__tests__/variable.test.mjs +45 -0
  1120. package/es/schema-component/antd/variable/demos/demo1.mjs +44 -0
  1121. package/es/schema-component/antd/variable/demos/demo2.mjs +44 -0
  1122. package/es/schema-component/antd/variable/demos/demo3.mjs +44 -0
  1123. package/es/schema-component/antd/variable/index.mjs +1 -0
  1124. package/es/schema-component/antd/variable/style.mjs +175 -0
  1125. package/es/schema-component/common/dnd-context/index.mjs +100 -0
  1126. package/es/schema-component/common/index.mjs +2 -0
  1127. package/es/schema-component/common/infinite-scroll/infinite-scroll.mjs +123 -0
  1128. package/es/schema-component/common/infinite-scroll/style.mjs +28 -0
  1129. package/es/schema-component/common/sortable-item/SortableItem.mjs +131 -0
  1130. package/es/schema-component/common/sortable-item/index.mjs +1 -0
  1131. package/es/schema-component/common/utils/logic.mjs +386 -0
  1132. package/es/schema-component/common/utils/uitls.mjs +111 -0
  1133. package/es/schema-component/context.mjs +4 -0
  1134. package/es/schema-component/core/DesignableSwitch.mjs +37 -0
  1135. package/es/schema-component/core/FormProvider.mjs +53 -0
  1136. package/es/schema-component/core/RemoteSchemaComponent.mjs +44 -0
  1137. package/es/schema-component/core/SchemaComponent.mjs +60 -0
  1138. package/es/schema-component/core/SchemaComponentOptions.mjs +44 -0
  1139. package/es/schema-component/core/SchemaComponentPlugin.d.ts +1 -1
  1140. package/es/schema-component/core/SchemaComponentPlugin.mjs +13 -0
  1141. package/es/schema-component/core/SchemaComponentProvider.mjs +84 -0
  1142. package/es/schema-component/core/index.mjs +7 -0
  1143. package/es/schema-component/demos/demo1.mjs +89 -0
  1144. package/es/schema-component/demos/demo2.mjs +23 -0
  1145. package/es/schema-component/demos/demo3.mjs +24 -0
  1146. package/es/schema-component/demos/demo4.mjs +24 -0
  1147. package/es/schema-component/hooks/__tests__/designable.test.mjs +548 -0
  1148. package/es/schema-component/hooks/__tests__/splitWrapSchema.test.mjs +89 -0
  1149. package/es/schema-component/hooks/index.mjs +12 -0
  1150. package/es/schema-component/hooks/useAttach.mjs +16 -0
  1151. package/es/schema-component/hooks/useCompile.mjs +40 -0
  1152. package/es/schema-component/hooks/useComponent.mjs +10 -0
  1153. package/es/schema-component/hooks/useDesignable.mjs +675 -0
  1154. package/es/schema-component/hooks/useDesigner.mjs +19 -0
  1155. package/es/schema-component/hooks/useFieldComponentOptions.mjs +87 -0
  1156. package/es/schema-component/hooks/useFieldModeOptions.mjs +283 -0
  1157. package/es/schema-component/hooks/useFieldProps.mjs +18 -0
  1158. package/es/schema-component/hooks/useFieldTitle.mjs +22 -0
  1159. package/es/schema-component/hooks/useProps.mjs +13 -0
  1160. package/es/schema-component/hooks/useSchemaComponentContext.mjs +6 -0
  1161. package/es/schema-component/hooks/useTableSize.mjs +31 -0
  1162. package/es/schema-component/index.mjs +6 -0
  1163. package/es/schema-component/types.mjs +1 -0
  1164. package/es/schema-initializer/SchemaInitializerPlugin.d.ts +1 -1
  1165. package/es/schema-initializer/SchemaInitializerPlugin.mjs +126 -0
  1166. package/es/schema-initializer/buttons/CustomFormItemInitializers.mjs +46 -0
  1167. package/es/schema-initializer/buttons/FormItemInitializers.mjs +152 -0
  1168. package/es/schema-initializer/buttons/RecordBlockInitializers.mjs +375 -0
  1169. package/es/schema-initializer/buttons/SubTableActionInitializers.mjs +35 -0
  1170. package/es/schema-initializer/buttons/TabPaneInitializers.mjs +162 -0
  1171. package/es/schema-initializer/buttons/index.mjs +6 -0
  1172. package/es/schema-initializer/components/CreateRecordAction.mjs +340 -0
  1173. package/es/schema-initializer/components/DeletedField.mjs +13 -0
  1174. package/es/schema-initializer/components/assigned-field/AssignedField.mjs +119 -0
  1175. package/es/schema-initializer/components/assigned-field/index.mjs +1 -0
  1176. package/es/schema-initializer/components/index.mjs +2 -0
  1177. package/es/schema-initializer/demos/basic.mjs +62 -0
  1178. package/es/schema-initializer/demos/build-type.mjs +83 -0
  1179. package/es/schema-initializer/demos/custom-button.mjs +94 -0
  1180. package/es/schema-initializer/demos/custom-items-component.mjs +100 -0
  1181. package/es/schema-initializer/demos/dynamic-visible-children.mjs +81 -0
  1182. package/es/schema-initializer/demos/insert-schema-action.mjs +92 -0
  1183. package/es/schema-initializer/demos/insert-schema-basic.mjs +112 -0
  1184. package/es/schema-initializer/demos/insert-schema-form-item.mjs +136 -0
  1185. package/es/schema-initializer/demos/nested-items.mjs +148 -0
  1186. package/es/schema-initializer/hooks/useGetAriaLabelOfSchemaInitializer.mjs +21 -0
  1187. package/es/schema-initializer/index.mjs +20 -0
  1188. package/es/schema-initializer/items/ActionInitializer.mjs +14 -0
  1189. package/es/schema-initializer/items/BlockInitializer.mjs +27 -0
  1190. package/es/schema-initializer/items/CreateFilterActionInitializer.mjs +21 -0
  1191. package/es/schema-initializer/items/CreateResetActionInitializer.mjs +16 -0
  1192. package/es/schema-initializer/items/CustomFilterFormItemInitializer.mjs +461 -0
  1193. package/es/schema-initializer/items/CustomizeActionInitializer.mjs +12 -0
  1194. package/es/schema-initializer/items/DataBlockInitializer.mjs +310 -0
  1195. package/es/schema-initializer/items/DeleteEventActionInitializer.mjs +24 -0
  1196. package/es/schema-initializer/items/FilterBlockInitializer.mjs +3 -0
  1197. package/es/schema-initializer/items/G2PlotInitializer.mjs +16 -0
  1198. package/es/schema-initializer/items/InitializerWithSwitch.mjs +25 -0
  1199. package/es/schema-initializer/items/RecordAssociationBlockInitializer.mjs +55 -0
  1200. package/es/schema-initializer/items/RecordAssociationDetailsBlockInitializer.mjs +55 -0
  1201. package/es/schema-initializer/items/RecordAssociationFormBlockInitializer.mjs +81 -0
  1202. package/es/schema-initializer/items/RecordAssociationGridCardBlockInitializer.mjs +55 -0
  1203. package/es/schema-initializer/items/RecordAssociationListBlockInitializer.mjs +55 -0
  1204. package/es/schema-initializer/items/RecordReadPrettyAssociationFormBlockInitializer.mjs +80 -0
  1205. package/es/schema-initializer/items/SelectActionInitializer.mjs +63 -0
  1206. package/es/schema-initializer/items/SubmitActionInitializer.mjs +21 -0
  1207. package/es/schema-initializer/items/TableActionColumnInitializer.mjs +39 -0
  1208. package/es/schema-initializer/items/index.mjs +23 -0
  1209. package/es/schema-initializer/style.mjs +17 -0
  1210. package/es/schema-initializer/utils.mjs +1368 -0
  1211. package/es/schema-items/GeneralSchemaItems.mjs +150 -0
  1212. package/es/schema-items/GeneralSettings.mjs +207 -0
  1213. package/es/schema-items/OpenModeSchemaItems.mjs +186 -0
  1214. package/es/schema-items/index.mjs +2 -0
  1215. package/es/schema-settings/DataTemplates/FormDataTemplates.mjs +274 -0
  1216. package/es/schema-settings/DataTemplates/TreeLabel.mjs +30 -0
  1217. package/es/schema-settings/DataTemplates/components/AsDefaultTemplate.mjs +46 -0
  1218. package/es/schema-settings/DataTemplates/components/DataTemplateTitle.mjs +256 -0
  1219. package/es/schema-settings/DataTemplates/components/DataTemplateTitle.style.mjs +7 -0
  1220. package/es/schema-settings/DataTemplates/components/Designer.mjs +159 -0
  1221. package/es/schema-settings/DataTemplates/hooks/useCollectionState.mjs +270 -0
  1222. package/es/schema-settings/DataTemplates/index.mjs +1 -0
  1223. package/es/schema-settings/DataTemplates/utils.mjs +233 -0
  1224. package/es/schema-settings/DateFormat/ExpiresRadio.mjs +122 -0
  1225. package/es/schema-settings/EditCustomDefaultValue.mjs +108 -0
  1226. package/es/schema-settings/EditFormulaTitleField.mjs +97 -0
  1227. package/es/schema-settings/EnableChildCollections/DynamicComponent.mjs +64 -0
  1228. package/es/schema-settings/EnableChildCollections/index.mjs +101 -0
  1229. package/es/schema-settings/GeneralSchemaDesigner.mjs +264 -0
  1230. package/es/schema-settings/LinkageRules/DynamicComponent.mjs +56 -0
  1231. package/es/schema-settings/LinkageRules/LinkageRuleAction.mjs +223 -0
  1232. package/es/schema-settings/LinkageRules/LinkageRuleActionGroup.mjs +83 -0
  1233. package/es/schema-settings/LinkageRules/ValueDynamicComponent.mjs +156 -0
  1234. package/es/schema-settings/LinkageRules/Variables.mjs +98 -0
  1235. package/es/schema-settings/LinkageRules/action-hooks.mjs +103 -0
  1236. package/es/schema-settings/LinkageRules/components/EnableLinkage.mjs +38 -0
  1237. package/es/schema-settings/LinkageRules/components/LinkageHeader.mjs +254 -0
  1238. package/es/schema-settings/LinkageRules/components/LinkageHeader.style.mjs +7 -0
  1239. package/es/schema-settings/LinkageRules/context.mjs +8 -0
  1240. package/es/schema-settings/LinkageRules/index.mjs +194 -0
  1241. package/es/schema-settings/LinkageRules/type.mjs +15 -0
  1242. package/es/schema-settings/LinkageRules/useValues.mjs +68 -0
  1243. package/es/schema-settings/SchemaSettingCollection.mjs +50 -0
  1244. package/es/schema-settings/SchemaSettingComponent.mjs +38 -0
  1245. package/es/schema-settings/SchemaSettings.mjs +1334 -0
  1246. package/es/schema-settings/SchemaSettingsDataScope.mjs +100 -0
  1247. package/es/schema-settings/SchemaSettingsDateFormat.mjs +199 -0
  1248. package/es/schema-settings/SchemaSettingsDefaultValue.mjs +204 -0
  1249. package/es/schema-settings/SchemaSettingsNumberFormat.mjs +178 -0
  1250. package/es/schema-settings/SchemaSettingsPlugin.mjs +108 -0
  1251. package/es/schema-settings/SchemaSettingsSortingRule.mjs +123 -0
  1252. package/es/schema-settings/VariableInput/VariableInput.mjs +164 -0
  1253. package/es/schema-settings/VariableInput/hooks/index.mjs +3 -0
  1254. package/es/schema-settings/VariableInput/hooks/useBaseVariable.mjs +160 -0
  1255. package/es/schema-settings/VariableInput/hooks/useBlockCollection.mjs +10 -0
  1256. package/es/schema-settings/VariableInput/hooks/useContextAssociationFields.mjs +97 -0
  1257. package/es/schema-settings/VariableInput/hooks/useDateVariable.mjs +163 -0
  1258. package/es/schema-settings/VariableInput/hooks/useFilterVariable.mjs +52 -0
  1259. package/es/schema-settings/VariableInput/hooks/useFormVariable.mjs +42 -0
  1260. package/es/schema-settings/VariableInput/hooks/useIterationVariable.mjs +45 -0
  1261. package/es/schema-settings/VariableInput/hooks/useParentRecordVariable.mjs +43 -0
  1262. package/es/schema-settings/VariableInput/hooks/usePopupVariable.mjs +24 -0
  1263. package/es/schema-settings/VariableInput/hooks/useRecordVariable.mjs +38 -0
  1264. package/es/schema-settings/VariableInput/hooks/useRoleVariable.mjs +41 -0
  1265. package/es/schema-settings/VariableInput/hooks/useUserVariable.mjs +41 -0
  1266. package/es/schema-settings/VariableInput/hooks/useVariableOptions.mjs +102 -0
  1267. package/es/schema-settings/VariableInput/index.mjs +2 -0
  1268. package/es/schema-settings/VariableInput/type.mjs +0 -0
  1269. package/es/schema-settings/VariableInput/utils/formatVariableScop.mjs +11 -0
  1270. package/es/schema-settings/demos/basic.mjs +60 -0
  1271. package/es/schema-settings/demos/built-type.mjs +142 -0
  1272. package/es/schema-settings/demos/custom-component.mjs +42 -0
  1273. package/es/schema-settings/demos/demo3.mjs +100 -0
  1274. package/es/schema-settings/demos/schema-basic.mjs +64 -0
  1275. package/es/schema-settings/filter-form/FormFilterScope.mjs +109 -0
  1276. package/es/schema-settings/filter-form/context.mjs +6 -0
  1277. package/es/schema-settings/hooks/useFilterFormCustomProps.mjs +16 -0
  1278. package/es/schema-settings/hooks/useGetAriaLabelOfDesigner.mjs +24 -0
  1279. package/es/schema-settings/hooks/useIsAllowToSetDefaultValue.mjs +67 -0
  1280. package/es/schema-settings/hooks/useIsShowMultipleSwitch.mjs +16 -0
  1281. package/es/schema-settings/hooks/useParseDataScopeFilter.mjs +54 -0
  1282. package/es/schema-settings/index.mjs +18 -0
  1283. package/es/schema-settings/isPatternDisabled.mjs +5 -0
  1284. package/es/schema-settings/styles.mjs +84 -0
  1285. package/es/schema-settings/types.mjs +0 -0
  1286. package/es/schema-templates/BlockTemplate.mjs +41 -0
  1287. package/es/schema-templates/BlockTemplateDetails.mjs +100 -0
  1288. package/es/schema-templates/BlockTemplatePage.mjs +32 -0
  1289. package/es/schema-templates/SchemaTemplateManagerProvider.mjs +74 -0
  1290. package/es/schema-templates/collections/uiSchemaTemplates.mjs +19 -0
  1291. package/es/schema-templates/index.mjs +4 -0
  1292. package/es/schema-templates/schemas/CollectionTitle.mjs +37 -0
  1293. package/es/schema-templates/schemas/uiSchemaTemplates.mjs +231 -0
  1294. package/es/schema-templates/useSchemaTemplateManager.mjs +88 -0
  1295. package/es/style/css-variable/CSSVariableProvider.mjs +74 -0
  1296. package/es/style/css-variable/index.mjs +3 -0
  1297. package/es/style/index.mjs +11 -0
  1298. package/es/style/theme/AntdAppProvider.mjs +35 -0
  1299. package/es/style/theme/defaultTheme.mjs +19 -0
  1300. package/es/style/theme/index.mjs +63 -0
  1301. package/es/style/theme/type.mjs +0 -0
  1302. package/es/style/useToken.mjs +6 -0
  1303. package/es/testUtils/index.mjs +1 -0
  1304. package/es/testUtils/mockAPIClient.mjs +32 -0
  1305. package/es/user/ChangePassword.mjs +157 -0
  1306. package/es/user/CurrentUser.mjs +222 -0
  1307. package/es/user/CurrentUserProvider.mjs +59 -0
  1308. package/es/user/CurrentUserSettingsMenuProvider.mjs +69 -0
  1309. package/es/user/EditProfile.mjs +149 -0
  1310. package/es/user/LanguageSettings.mjs +46 -0
  1311. package/es/user/SwitchRole.mjs +41 -0
  1312. package/es/user/VerificationCode.mjs +83 -0
  1313. package/es/user/__tests__/current-user-settings-menu-provider.test.mjs +36 -0
  1314. package/es/user/index.mjs +3 -0
  1315. package/es/variables/VariablesProvider.mjs +214 -0
  1316. package/es/variables/__tests__/useVariables.test.mjs +406 -0
  1317. package/es/variables/__tests__/utils/filterEmptyValues.test.mjs +46 -0
  1318. package/es/variables/__tests__/utils/getPath.test.mjs +4 -0
  1319. package/es/variables/__tests__/utils/getVariableName.test.mjs +4 -0
  1320. package/es/variables/__tests__/utils/isVariable.test.mjs +22 -0
  1321. package/es/variables/__tests__/utils/transformVariableValue.test.mjs +136 -0
  1322. package/es/variables/__tests__/utils/uniq.test.mjs +77 -0
  1323. package/es/variables/constants.mjs +2 -0
  1324. package/es/variables/hooks/useBuiltinVariables.mjs +51 -0
  1325. package/es/variables/hooks/useContextVariable.mjs +27 -0
  1326. package/es/variables/hooks/useLocalVariables.mjs +68 -0
  1327. package/es/variables/hooks/useVariables.mjs +5 -0
  1328. package/es/variables/index.mjs +15 -0
  1329. package/es/variables/types.mjs +0 -0
  1330. package/es/variables/utils/filterEmptyValues.mjs +5 -0
  1331. package/es/variables/utils/getAction.mjs +8 -0
  1332. package/es/variables/utils/getPath.mjs +7 -0
  1333. package/es/variables/utils/getVariableName.mjs +10 -0
  1334. package/es/variables/utils/hasRequested.mjs +13 -0
  1335. package/es/variables/utils/isVariable.mjs +8 -0
  1336. package/es/variables/utils/transformVariableValue.mjs +30 -0
  1337. package/es/variables/utils/uniq.mjs +10 -0
  1338. package/lib/index.mjs +106 -104
  1339. package/package.json +4 -4
  1340. package/LICENSE +0 -201
@@ -0,0 +1,265 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE__utils_mjs__ from "../utils.mjs";
2
+ describe('getSupportFieldsByAssociation', ()=>{
3
+ it('should return all associated fields matching the inherited collections chain', ()=>{
4
+ const block = {
5
+ associatedFields: [
6
+ {
7
+ id: 1,
8
+ target: 'collection1',
9
+ name: 'field1'
10
+ },
11
+ {
12
+ id: 2,
13
+ target: 'collection2',
14
+ name: 'field2'
15
+ },
16
+ {
17
+ id: 3,
18
+ target: 'collection1',
19
+ name: 'field3'
20
+ }
21
+ ]
22
+ };
23
+ const inheritCollectionsChain = [
24
+ 'collection1',
25
+ 'collection2'
26
+ ];
27
+ const result = (0, __WEBPACK_EXTERNAL_MODULE__utils_mjs__.getSupportFieldsByAssociation)(inheritCollectionsChain, block);
28
+ expect(result).toEqual([
29
+ {
30
+ id: 1,
31
+ target: 'collection1',
32
+ name: 'field1'
33
+ },
34
+ {
35
+ id: 2,
36
+ target: 'collection2',
37
+ name: 'field2'
38
+ },
39
+ {
40
+ id: 3,
41
+ target: 'collection1',
42
+ name: 'field3'
43
+ }
44
+ ]);
45
+ });
46
+ it('should return an empty array when there are no matching associated fields', ()=>{
47
+ const block = {
48
+ associatedFields: [
49
+ {
50
+ id: 1,
51
+ target: 'collection1',
52
+ name: 'field1'
53
+ },
54
+ {
55
+ id: 2,
56
+ target: 'collection2',
57
+ name: 'field2'
58
+ },
59
+ {
60
+ id: 3,
61
+ target: 'collection1',
62
+ name: 'field3'
63
+ }
64
+ ]
65
+ };
66
+ const inheritCollectionsChain = [
67
+ 'collection3',
68
+ 'collection4'
69
+ ];
70
+ const result = (0, __WEBPACK_EXTERNAL_MODULE__utils_mjs__.getSupportFieldsByAssociation)(inheritCollectionsChain, block);
71
+ expect(result).toEqual([]);
72
+ });
73
+ it('should return associated fields matching the inherited collections chain', ()=>{
74
+ const block = {
75
+ associatedFields: [
76
+ {
77
+ id: 1,
78
+ target: 'collection1',
79
+ name: 'field1'
80
+ },
81
+ {
82
+ id: 2,
83
+ target: 'collection2',
84
+ name: 'field2'
85
+ },
86
+ {
87
+ id: 3,
88
+ target: 'collection1',
89
+ name: 'field3'
90
+ }
91
+ ]
92
+ };
93
+ const inheritCollectionsChain = [
94
+ 'collection1'
95
+ ];
96
+ const result = (0, __WEBPACK_EXTERNAL_MODULE__utils_mjs__.getSupportFieldsByAssociation)(inheritCollectionsChain, block);
97
+ expect(result).toEqual([
98
+ {
99
+ id: 1,
100
+ target: 'collection1',
101
+ name: 'field1'
102
+ },
103
+ {
104
+ id: 3,
105
+ target: 'collection1',
106
+ name: 'field3'
107
+ }
108
+ ]);
109
+ });
110
+ });
111
+ describe('getSupportFieldsByForeignKey', ()=>{
112
+ it("should return all foreign key fields matching the filter block collection's foreign key properties", ()=>{
113
+ const filterBlockCollection = {
114
+ fields: [
115
+ {
116
+ id: 1,
117
+ name: 'field1',
118
+ foreignKey: 'fk1'
119
+ },
120
+ {
121
+ id: 2,
122
+ name: 'field2',
123
+ foreignKey: 'fk2'
124
+ },
125
+ {
126
+ id: 3,
127
+ name: 'field3',
128
+ foreignKey: 'fk3'
129
+ }
130
+ ]
131
+ };
132
+ const block = {
133
+ foreignKeyFields: [
134
+ {
135
+ id: 1,
136
+ name: 'fk1',
137
+ target: 'collection1'
138
+ },
139
+ {
140
+ id: 2,
141
+ name: 'fk2',
142
+ target: 'collection2'
143
+ },
144
+ {
145
+ id: 3,
146
+ name: 'fk4',
147
+ target: 'collection1'
148
+ }
149
+ ]
150
+ };
151
+ const result = (0, __WEBPACK_EXTERNAL_MODULE__utils_mjs__.getSupportFieldsByForeignKey)(filterBlockCollection, block);
152
+ expect(result).toEqual([
153
+ {
154
+ id: 1,
155
+ name: 'fk1',
156
+ target: 'collection1'
157
+ },
158
+ {
159
+ id: 2,
160
+ name: 'fk2',
161
+ target: 'collection2'
162
+ }
163
+ ]);
164
+ });
165
+ it('should return an empty array when there are no matching foreign key fields', ()=>{
166
+ const filterBlockCollection = {
167
+ fields: [
168
+ {
169
+ id: 1,
170
+ name: 'field1',
171
+ foreignKey: 'fk1'
172
+ },
173
+ {
174
+ id: 2,
175
+ name: 'field2',
176
+ foreignKey: 'fk2'
177
+ },
178
+ {
179
+ id: 3,
180
+ name: 'field3',
181
+ foreignKey: 'fk3'
182
+ }
183
+ ]
184
+ };
185
+ const block = {
186
+ foreignKeyFields: [
187
+ {
188
+ id: 1,
189
+ name: 'fk4',
190
+ target: 'collection1'
191
+ },
192
+ {
193
+ id: 2,
194
+ name: 'fk5',
195
+ target: 'collection2'
196
+ },
197
+ {
198
+ id: 3,
199
+ name: 'fk6',
200
+ target: 'collection1'
201
+ }
202
+ ]
203
+ };
204
+ const result = (0, __WEBPACK_EXTERNAL_MODULE__utils_mjs__.getSupportFieldsByForeignKey)(filterBlockCollection, block);
205
+ expect(result).toEqual([]);
206
+ });
207
+ it("should return foreign key fields matching the filter block collection's foreign key properties", ()=>{
208
+ const filterBlockCollection = {
209
+ fields: [
210
+ {
211
+ id: 1,
212
+ name: 'field1',
213
+ foreignKey: 'fk1'
214
+ },
215
+ {
216
+ id: 2,
217
+ name: 'field2',
218
+ foreignKey: 'fk2'
219
+ },
220
+ {
221
+ id: 3,
222
+ name: 'field3',
223
+ foreignKey: 'fk3'
224
+ }
225
+ ]
226
+ };
227
+ const block = {
228
+ foreignKeyFields: [
229
+ {
230
+ id: 1,
231
+ name: 'fk1',
232
+ target: 'collection1'
233
+ },
234
+ {
235
+ id: 2,
236
+ name: 'fk2',
237
+ target: 'collection2'
238
+ },
239
+ {
240
+ id: 3,
241
+ name: 'fk3',
242
+ target: 'collection1'
243
+ }
244
+ ]
245
+ };
246
+ const result = (0, __WEBPACK_EXTERNAL_MODULE__utils_mjs__.getSupportFieldsByForeignKey)(filterBlockCollection, block);
247
+ expect(result).toEqual([
248
+ {
249
+ id: 1,
250
+ name: 'fk1',
251
+ target: 'collection1'
252
+ },
253
+ {
254
+ id: 2,
255
+ name: 'fk2',
256
+ target: 'collection2'
257
+ },
258
+ {
259
+ id: 3,
260
+ name: 'fk3',
261
+ target: 'collection1'
262
+ }
263
+ ]);
264
+ });
265
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./FilterProvider.mjs";
2
+ export * from "./utils.mjs";
@@ -0,0 +1,180 @@
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__block_provider_hooks_index_mjs__ from "../block-provider/hooks/index.mjs";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__ from "../collection-manager/index.mjs";
7
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__ from "../schema-component/index.mjs";
8
+ import * as __WEBPACK_EXTERNAL_MODULE__schema_component_antd_form_item_SchemaSettingOptions_mjs__ from "../schema-component/antd/form-item/SchemaSettingOptions.mjs";
9
+ import * as __WEBPACK_EXTERNAL_MODULE__FilterProvider_mjs__ from "./FilterProvider.mjs";
10
+ var utils_rslib_entry_FilterBlockType = /*#__PURE__*/ function(FilterBlockType) {
11
+ FilterBlockType[FilterBlockType["FORM"] = 0] = "FORM";
12
+ FilterBlockType[FilterBlockType["TABLE"] = 1] = "TABLE";
13
+ FilterBlockType[FilterBlockType["TREE"] = 2] = "TREE";
14
+ FilterBlockType[FilterBlockType["COLLAPSE"] = 3] = "COLLAPSE";
15
+ return FilterBlockType;
16
+ }({});
17
+ const mergeFilter = function(filters) {
18
+ let op = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : '$and';
19
+ const items = filters.filter((f)=>{
20
+ if (f && 'object' == typeof f && !Array.isArray(f)) return Object.values(f).filter((v)=>void 0 !== v).length;
21
+ });
22
+ if (0 === items.length) return {};
23
+ if (1 === items.length) return items[0];
24
+ return {
25
+ [op]: items
26
+ };
27
+ };
28
+ const getSupportFieldsByAssociation = (inheritCollectionsChain, block)=>{
29
+ var _block_associatedFields;
30
+ return null === (_block_associatedFields = block.associatedFields) || void 0 === _block_associatedFields ? void 0 : _block_associatedFields.filter((field)=>null == inheritCollectionsChain ? void 0 : inheritCollectionsChain.some((collectionName)=>collectionName === field.target));
31
+ };
32
+ const getSupportFieldsByForeignKey = (filterBlockCollection, block)=>{
33
+ var _block_foreignKeyFields;
34
+ return null === (_block_foreignKeyFields = block.foreignKeyFields) || void 0 === _block_foreignKeyFields ? void 0 : _block_foreignKeyFields.filter((foreignKeyField)=>filterBlockCollection.fields.some((field)=>'belongsTo' !== field.type && field.foreignKey === foreignKeyField.name));
35
+ };
36
+ const useSupportedBlocks = (filterBlockType)=>{
37
+ const { getDataBlocks } = (0, __WEBPACK_EXTERNAL_MODULE__FilterProvider_mjs__.useFilterBlock)();
38
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
39
+ const collection = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
40
+ const { getAllCollectionsInheritChain } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollectionManager_deprecated)();
41
+ if (0 === filterBlockType || 3 === filterBlockType) return getDataBlocks().filter((block)=>isSameCollection(block.collection, collection));
42
+ if (1 === filterBlockType || 2 === filterBlockType) return getDataBlocks().filter((block)=>{
43
+ var _getSupportFieldsByAssociation, _getSupportFieldsByForeignKey;
44
+ return fieldSchema['x-uid'] !== block.uid && (isSameCollection(block.collection, collection) || (null === (_getSupportFieldsByAssociation = getSupportFieldsByAssociation(getAllCollectionsInheritChain(collection.name, collection.dataSource), block)) || void 0 === _getSupportFieldsByAssociation ? void 0 : _getSupportFieldsByAssociation.length) || (null === (_getSupportFieldsByForeignKey = getSupportFieldsByForeignKey(collection, block)) || void 0 === _getSupportFieldsByForeignKey ? void 0 : _getSupportFieldsByForeignKey.length));
45
+ });
46
+ };
47
+ const transformToFilter = (values, fieldSchema, getCollectionJoinField, collectionName)=>{
48
+ const { operators } = (0, __WEBPACK_EXTERNAL_MODULE__schema_component_antd_form_item_SchemaSettingOptions_mjs__.findFilterOperators)(fieldSchema);
49
+ values = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.flatten)(values, {
50
+ breakOn (param) {
51
+ let { value, path } = param;
52
+ if ([
53
+ '$match',
54
+ '$notMatch',
55
+ '$anyOf',
56
+ '$noneOf',
57
+ '$childIn',
58
+ '$childNotIn',
59
+ '$dateBetween',
60
+ '$in',
61
+ '$notIn'
62
+ ].includes(operators[path])) return true;
63
+ const collectionField = getCollectionJoinField("".concat(collectionName, ".").concat(path));
64
+ if (null == collectionField ? void 0 : collectionField.target) {
65
+ if (Array.isArray(value)) return true;
66
+ const targetKey = collectionField.targetKey || 'id';
67
+ if (value && null != value[targetKey]) return true;
68
+ }
69
+ return false;
70
+ }
71
+ });
72
+ const result = {
73
+ $and: Object.keys(values).map((key)=>{
74
+ const defKey = key;
75
+ let value = __WEBPACK_EXTERNAL_MODULE_lodash__["default"].get(values, key);
76
+ const collectionField = getCollectionJoinField("".concat(collectionName, ".").concat(key));
77
+ if (null == collectionField ? void 0 : collectionField.target) {
78
+ value = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_utils_client__.getValuesByPath)(value, collectionField.targetKey || 'id');
79
+ key = "".concat(key, ".").concat(collectionField.targetKey || 'id');
80
+ }
81
+ if (!value) return null;
82
+ if ('$isTruly' === operators[key] || '$isFalsy' === operators[key]) {
83
+ if ('true' === value) return {
84
+ [key]: {
85
+ $isTruly: true
86
+ }
87
+ };
88
+ if ('false' === value) return {
89
+ [key]: {
90
+ $isFalsy: true
91
+ }
92
+ };
93
+ }
94
+ return {
95
+ [key]: {
96
+ [operators[key] || operators[defKey] || '$eq']: value
97
+ }
98
+ };
99
+ }).filter(Boolean)
100
+ };
101
+ return result;
102
+ };
103
+ const useAssociatedFields = ()=>{
104
+ const { fields } = (0, __WEBPACK_EXTERNAL_MODULE__collection_manager_index_mjs__.useCollection_deprecated)();
105
+ return fields.filter((field)=>isAssocField(field)) || [];
106
+ };
107
+ const isAssocField = (field)=>[
108
+ 'o2o',
109
+ 'oho',
110
+ 'obo',
111
+ 'm2o',
112
+ 'createdBy',
113
+ 'updatedBy',
114
+ 'o2m',
115
+ 'm2m',
116
+ 'linkTo',
117
+ 'chinaRegion'
118
+ ].includes(null == field ? void 0 : field.interface);
119
+ const isSameCollection = (c1, c2)=>c1.name === c2.name && c1.dataSource === c2.dataSource;
120
+ const useFilterAPI = ()=>{
121
+ const fieldSchema = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.useFieldSchema)();
122
+ const { getDataBlocks } = (0, __WEBPACK_EXTERNAL_MODULE__FilterProvider_mjs__.useFilterBlock)();
123
+ const { targets, uid } = (0, __WEBPACK_EXTERNAL_MODULE__block_provider_hooks_index_mjs__.findFilterTargets)(fieldSchema);
124
+ const dataBlocks = getDataBlocks();
125
+ const [isConnected, setIsConnected] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(()=>targets && targets.some((target)=>dataBlocks.some((dataBlock)=>dataBlock.uid === target.uid)));
126
+ const targetsKeys = Object.keys(targets || {});
127
+ (0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
128
+ setIsConnected(targets && targets.some((target)=>dataBlocks.some((dataBlock)=>dataBlock.uid === target.uid)));
129
+ }, [
130
+ targetsKeys.length,
131
+ dataBlocks
132
+ ]);
133
+ const doFilter = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(function(value) {
134
+ let field = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 'id', operator = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : '$eq';
135
+ dataBlocks.forEach((block)=>{
136
+ var _block_service_params, _block_service_params_, _block_service_params1;
137
+ const target = targets.find((target)=>target.uid === block.uid);
138
+ if (!target) return;
139
+ if (__WEBPACK_EXTERNAL_MODULE_lodash__["default"].isFunction(field)) field = field(target);
140
+ if (__WEBPACK_EXTERNAL_MODULE_lodash__["default"].isFunction(operator)) operator = operator(target);
141
+ const param = (null === (_block_service_params = block.service.params) || void 0 === _block_service_params ? void 0 : _block_service_params[0]) || {};
142
+ const storedFilter = (null === (_block_service_params1 = block.service.params) || void 0 === _block_service_params1 ? void 0 : null === (_block_service_params_ = _block_service_params1[1]) || void 0 === _block_service_params_ ? void 0 : _block_service_params_.filters) || {};
143
+ if (void 0 !== value) storedFilter[uid] = {
144
+ $and: [
145
+ {
146
+ [field]: {
147
+ [operator]: value
148
+ }
149
+ }
150
+ ]
151
+ };
152
+ else delete storedFilter[uid];
153
+ const mergedFilter = mergeFilter([
154
+ ...Object.values(storedFilter).map((filter)=>(0, __WEBPACK_EXTERNAL_MODULE__schema_component_index_mjs__.removeNullCondition)(filter)),
155
+ block.defaultFilter
156
+ ]);
157
+ block.doFilter({
158
+ ...param,
159
+ page: 1,
160
+ filter: mergedFilter
161
+ }, {
162
+ filters: storedFilter
163
+ });
164
+ });
165
+ }, [
166
+ dataBlocks
167
+ ]);
168
+ return {
169
+ isConnected,
170
+ doFilter
171
+ };
172
+ };
173
+ const isInFilterFormBlock = (fieldSchema)=>{
174
+ while(fieldSchema){
175
+ if (fieldSchema['x-filter-targets']) return 'FilterFormBlockProvider' === fieldSchema['x-decorator'];
176
+ fieldSchema = fieldSchema.parent;
177
+ }
178
+ return false;
179
+ };
180
+ export { utils_rslib_entry_FilterBlockType as FilterBlockType, getSupportFieldsByAssociation, getSupportFieldsByForeignKey, isAssocField, isInFilterFormBlock, isSameCollection, mergeFilter, transformToFilter, useAssociatedFields, useFilterAPI, useSupportedBlocks };
@@ -0,0 +1,8 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
3
+ const FlagContext = /*#__PURE__*/ __WEBPACK_EXTERNAL_MODULE_react__["default"].createContext(null);
4
+ const FlagProvider = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(FlagContext.Provider, {
5
+ value: props,
6
+ children: props.children
7
+ });
8
+ export { FlagContext, FlagProvider };
@@ -0,0 +1,19 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
2
+ import "react";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__tachybase_test_client__ from "@tachybase/test/client";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__FlagProvider_mjs__ from "../FlagProvider.mjs";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__hooks_useFlag_mjs__ from "../hooks/useFlag.mjs";
6
+ describe('FlagProvider', ()=>{
7
+ it('should render', ()=>{
8
+ const { result } = (0, __WEBPACK_EXTERNAL_MODULE__tachybase_test_client__.renderHook)(()=>(0, __WEBPACK_EXTERNAL_MODULE__hooks_useFlag_mjs__.useFlag)(), {
9
+ wrapper: (param)=>{
10
+ let { children } = param;
11
+ return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__FlagProvider_mjs__.FlagProvider, {
12
+ isInAssignFieldValues: true,
13
+ children: children
14
+ });
15
+ }
16
+ });
17
+ expect(result.current.isInAssignFieldValues).toBe(true);
18
+ });
19
+ });
@@ -0,0 +1,4 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
2
+ import * as __WEBPACK_EXTERNAL_MODULE__FlagProvider_mjs__ from "../FlagProvider.mjs";
3
+ const useFlag = ()=>(0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__FlagProvider_mjs__.FlagContext);
4
+ export { useFlag };
@@ -0,0 +1,2 @@
1
+ export * from "./FlagProvider.mjs";
2
+ export * from "./hooks/useFlag.mjs";
package/es/global.css ADDED
@@ -0,0 +1,34 @@
1
+ ::-webkit-scrollbar {
2
+ width: 8px;
3
+ height: 8px;
4
+ }
5
+
6
+ ::-webkit-scrollbar-track {
7
+ background: var(--colorBgScrollTrack);
8
+ }
9
+
10
+ ::-webkit-scrollbar-thumb {
11
+ background: var(--colorBgScrollBar);
12
+ border-radius: 4px;
13
+ }
14
+
15
+ ::-webkit-scrollbar-thumb:hover {
16
+ background: var(--colorBgScrollBarHover);
17
+ }
18
+
19
+ ::-webkit-scrollbar-thumb:active {
20
+ background: var(--colorBgScrollBarActive);
21
+ }
22
+
23
+ .rc-virtual-list-scrollbar-thumb {
24
+ background: var(--colorBgScrollBar) !important;
25
+ }
26
+
27
+ .rc-virtual-list-scrollbar-thumb:hover {
28
+ background: var(--colorBgScrollBarHover) !important;
29
+ }
30
+
31
+ .rc-virtual-list-scrollbar-thumb:active {
32
+ background: var(--colorBgScrollBarActive) !important;
33
+ }
34
+
@@ -0,0 +1,2 @@
1
+ export * from "./useAdminSchemaUid.mjs";
2
+ export * from "./useViewport.mjs";
@@ -0,0 +1,2 @@
1
+ const useAdminSchemaUid = ()=>'default-admin-menu';
2
+ export { useAdminSchemaUid };
@@ -0,0 +1,70 @@
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_lodash__ from "lodash";
4
+ const GetMenuItemContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
5
+ GetMenuItemContext.displayName = 'GetMenuItemContext';
6
+ const GetMenuItemsContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
7
+ GetMenuItemsContext.displayName = 'GetMenuItemsContext';
8
+ const useCollectMenuItem = ()=>(0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(GetMenuItemContext) || {};
9
+ const useCollectMenuItems = ()=>(0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(GetMenuItemsContext) || {};
10
+ const useMenuItem = ()=>{
11
+ const list = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)([]);
12
+ const renderItems = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
13
+ const shouldRerender = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(false);
14
+ const Component = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((param)=>{
15
+ let { limitCount } = param;
16
+ if (!shouldRerender.current) return null;
17
+ shouldRerender.current = false;
18
+ if (renderItems.current) return renderItems.current();
19
+ if (limitCount && list.current.length > limitCount) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
20
+ children: list.current.slice(0, limitCount).map((Com, index)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(Com, {}, index))
21
+ });
22
+ return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.Fragment, {
23
+ children: list.current.map((Com, index)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(Com, {}, index))
24
+ });
25
+ }, []);
26
+ const getMenuItems = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((Com)=>{
27
+ const items = [];
28
+ const pushMenuItem = (item)=>{
29
+ items.push(item);
30
+ items.sort((a, b)=>(a.order || 0) - (b.order || 0));
31
+ };
32
+ shouldRerender.current = true;
33
+ renderItems.current = ()=>{
34
+ const notDeleteItems = items.filter((item)=>item.notdelete).map((item)=>__WEBPACK_EXTERNAL_MODULE_lodash__["default"].omit(item, 'notdelete'));
35
+ items.length = 0;
36
+ items.push(...notDeleteItems);
37
+ return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(GetMenuItemsContext.Provider, {
38
+ value: {
39
+ pushMenuItem
40
+ },
41
+ children: Com()
42
+ });
43
+ };
44
+ return items;
45
+ }, []);
46
+ const getMenuItem = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((Com)=>{
47
+ const item = {};
48
+ const collectMenuItem = (menuItem)=>{
49
+ Object.assign(item, menuItem);
50
+ };
51
+ shouldRerender.current = true;
52
+ list.current.push(()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(GetMenuItemContext.Provider, {
53
+ value: {
54
+ collectMenuItem
55
+ },
56
+ children: Com()
57
+ }));
58
+ return item;
59
+ }, []);
60
+ const clean = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)(()=>{
61
+ list.current = [];
62
+ }, []);
63
+ return {
64
+ Component,
65
+ getMenuItems,
66
+ getMenuItem,
67
+ clean
68
+ };
69
+ };
70
+ export { GetMenuItemContext, GetMenuItemsContext, useCollectMenuItem, useCollectMenuItems, useMenuItem };
@@ -0,0 +1,35 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
2
+ const useViewportMeta = ()=>{
3
+ const contentRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)('initial-scale=0.1');
4
+ const metaRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)();
5
+ (0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
6
+ let meta = document.querySelector('meta[name="viewport"]');
7
+ if (meta) contentRef.current = meta.content;
8
+ else {
9
+ meta = document.createElement('meta');
10
+ meta.name = 'viewport';
11
+ }
12
+ if (meta) {
13
+ meta.content = 'width=device-width, initial-scale=1, user-scalable=0';
14
+ metaRef.current = meta;
15
+ }
16
+ }, []);
17
+ const restore = ()=>{
18
+ if (metaRef.current) metaRef.current.content = contentRef.current;
19
+ };
20
+ return {
21
+ metaRef,
22
+ restore
23
+ };
24
+ };
25
+ function useViewport() {
26
+ const { metaRef, restore } = useViewportMeta();
27
+ (0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
28
+ if (!metaRef.current) return;
29
+ document.head.insertBefore(metaRef.current, document.head.firstChild);
30
+ return ()=>{
31
+ restore();
32
+ };
33
+ }, []);
34
+ }
35
+ export { useViewport };
@@ -0,0 +1,23 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_i18next__ from "i18next";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_react_i18next__ from "react-i18next";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__locale_index_mjs__ from "../locale/index.mjs";
4
+ function tval(text, options) {
5
+ if (options) return "{{t(".concat(JSON.stringify(text), ", ").concat(JSON.stringify(options), ")}}");
6
+ return "{{t(".concat(JSON.stringify(text), ")}}");
7
+ }
8
+ const i18n = __WEBPACK_EXTERNAL_MODULE_i18next__["default"].createInstance();
9
+ const resources = {};
10
+ Object.keys(__WEBPACK_EXTERNAL_MODULE__locale_index_mjs__["default"]).forEach((lang)=>{
11
+ resources[lang] = __WEBPACK_EXTERNAL_MODULE__locale_index_mjs__["default"][lang].resources;
12
+ });
13
+ i18n.use(__WEBPACK_EXTERNAL_MODULE_react_i18next__.initReactI18next).init({
14
+ lng: localStorage.getItem('TACHYBASE_LOCALE') || 'en-US',
15
+ defaultNS: 'core',
16
+ resources: {},
17
+ keySeparator: false,
18
+ nsSeparator: false
19
+ });
20
+ i18n.on('languageChanged', (lng)=>{
21
+ localStorage.setItem('TACHYBASE_LOCALE', lng);
22
+ });
23
+ export { i18n, tval };
@@ -0,0 +1 @@
1
+ export * from "./i18n.mjs";