@ximatai/muyun-web-app 0.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/dist/EmployeeDetailWorkspaceView-mtdcsqgF.js +14 -0
  2. package/dist/EmployeeManagementView-CKKvQZaC.js +1706 -0
  3. package/dist/MetadataOrchestrationView-CprWBocy.js +655 -0
  4. package/dist/ModuleActionManagementView-DNuAQUPE.js +597 -0
  5. package/dist/RoleAuthorizationView-CQtSAJoJ.js +592 -0
  6. package/dist/RoleDetailWorkspaceView-Dh8DXpyS.js +26 -0
  7. package/dist/RoleManagementView-BrqaFV7y.js +1927 -0
  8. package/dist/SystemUserDetailWorkspaceView-N-kvycAu.js +17 -0
  9. package/dist/SystemUserManagementView-BVS5moV5.js +761 -0
  10. package/dist/UserDetailWorkspaceView-Iek6xwix.js +17 -0
  11. package/dist/UserManagementView-BR_Jz8O-.js +965 -0
  12. package/dist/currentUserContext-B1lj1WgF.js +11 -0
  13. package/dist/index.css +2 -0
  14. package/dist/index.js +7127 -0
  15. package/dist/pageRealtime-sRtDYlQP.js +140 -0
  16. package/dist/platform-components-bC1gwhic.js +8412 -0
  17. package/dist/types/App.vue.d.ts +3 -0
  18. package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +27 -0
  19. package/dist/types/app/LoginView.vue.d.ts +14 -0
  20. package/dist/types/app/appWorkbenchStartup.d.ts +3 -0
  21. package/dist/types/app/devWorkbenchStartup.d.ts +1 -0
  22. package/dist/types/app/loginTenant.d.ts +6 -0
  23. package/dist/types/app/platformMessage.d.ts +6 -0
  24. package/dist/types/app/query.d.ts +3 -0
  25. package/dist/types/app/router.d.ts +1 -0
  26. package/dist/types/app/workbenchStartup.d.ts +24 -0
  27. package/dist/types/consumer/PlatformAdminOutlet.vue.d.ts +7 -0
  28. package/dist/types/consumer/index.d.ts +15 -0
  29. package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +7 -0
  30. package/dist/types/dynamic-page-runtime/DynamicModulePage.vue.d.ts +7 -0
  31. package/dist/types/dynamic-page-runtime/actionReactions.d.ts +16 -0
  32. package/dist/types/dynamic-page-runtime/index.d.ts +3 -0
  33. package/dist/types/dynamic-page-runtime/mockDescriptor.d.ts +2 -0
  34. package/dist/types/main.d.ts +2 -0
  35. package/dist/types/platform-admin-runtime/PlatformAdminOutlet.vue.d.ts +7 -0
  36. package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +32 -0
  37. package/dist/types/platform-admin-runtime/WorkspaceViewOutlet.vue.d.ts +7 -0
  38. package/dist/types/platform-admin-runtime/authSession.d.ts +8 -0
  39. package/dist/types/platform-admin-runtime/backendHttp.d.ts +3 -0
  40. package/dist/types/platform-admin-runtime/currentUserContext.d.ts +4 -0
  41. package/dist/types/platform-admin-runtime/index.d.ts +12 -0
  42. package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +36 -0
  43. package/dist/types/platform-admin-runtime/pageRealtime.d.ts +61 -0
  44. package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +21 -0
  45. package/dist/types/platform-admin-runtime/realtime.d.ts +20 -0
  46. package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -0
  47. package/dist/types/platform-admin-runtime/useWorkspaceViewPromotion.d.ts +24 -0
  48. package/dist/types/platform-admin-runtime/workspaceViewContract.d.ts +36 -0
  49. package/dist/types/platform-admin-runtime/workspaceViewContributions.d.ts +3 -0
  50. package/dist/types/platform-admin-runtime/workspaceViewHost.d.ts +10 -0
  51. package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +18 -0
  52. package/dist/types/platform-admin-runtime/workspaceViews.d.ts +18 -0
  53. package/dist/types/platform-components/ApplicationScopeSwitcher.vue.d.ts +18 -0
  54. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +52 -0
  55. package/dist/types/platform-components/DateTimeText.vue.d.ts +15 -0
  56. package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +18 -0
  57. package/dist/types/platform-components/EnabledSelect.vue.d.ts +14 -0
  58. package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +13 -0
  59. package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +19 -0
  60. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +40 -0
  61. package/dist/types/platform-components/RecordActionBar.vue.d.ts +20 -0
  62. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +37 -0
  63. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +23 -0
  64. package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +37 -0
  65. package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +25 -0
  66. package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +29 -0
  67. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +39 -0
  68. package/dist/types/platform-components/RecordExternalChangeNotice.vue.d.ts +20 -0
  69. package/dist/types/platform-components/RecordFormFields.vue.d.ts +31 -0
  70. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +42 -0
  71. package/dist/types/platform-components/RecordMetaSection.vue.d.ts +8 -0
  72. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +74 -0
  73. package/dist/types/platform-components/RecordPicker.vue.d.ts +35 -0
  74. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +103 -0
  75. package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +18 -0
  76. package/dist/types/platform-components/RecordStatusTag.vue.d.ts +6 -0
  77. package/dist/types/platform-components/RecordTreeSelector.vue.d.ts +22 -0
  78. package/dist/types/platform-components/RecycleBinModeButton.vue.d.ts +16 -0
  79. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +44 -0
  80. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +57 -0
  81. package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +26 -0
  82. package/dist/types/platform-components/actionConfirmation.d.ts +3 -0
  83. package/dist/types/platform-components/crudRecordListModel.d.ts +10 -0
  84. package/dist/types/platform-components/drawerPromotion.d.ts +4 -0
  85. package/dist/types/platform-components/index.d.ts +76 -0
  86. package/dist/types/platform-components/optionFieldOptions.d.ts +10 -0
  87. package/dist/types/platform-components/pageLayoutContext.d.ts +6 -0
  88. package/dist/types/platform-components/platformActionResultFeedback.d.ts +12 -0
  89. package/dist/types/platform-components/platformActionResultReactions.d.ts +53 -0
  90. package/dist/types/platform-components/platformDateTime.d.ts +16 -0
  91. package/dist/types/platform-components/platformErrorFeedback.d.ts +15 -0
  92. package/dist/types/platform-components/platformTimeZoneContext.d.ts +3 -0
  93. package/dist/types/platform-components/recordActionBarModel.d.ts +27 -0
  94. package/dist/types/platform-components/recordDetailFieldModel.d.ts +7 -0
  95. package/dist/types/platform-components/recordDraftNormalizer.d.ts +1 -0
  96. package/dist/types/platform-components/recordEditorSessionState.d.ts +38 -0
  97. package/dist/types/platform-components/recordExplorerItemModel.d.ts +8 -0
  98. package/dist/types/platform-components/recordFormFieldModel.d.ts +57 -0
  99. package/dist/types/platform-components/recordPickerConstraints.d.ts +20 -0
  100. package/dist/types/platform-components/recordPickerModel.d.ts +2 -0
  101. package/dist/types/platform-components/recycleBinState.d.ts +39 -0
  102. package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +6 -0
  103. package/dist/types/platform-components/scopedTreeModuleContext.d.ts +10 -0
  104. package/dist/types/platform-components/softDeletedConflictHandler.d.ts +75 -0
  105. package/dist/types/platform-components/staticCrudManagementState.d.ts +66 -0
  106. package/dist/types/platform-components/staticFormActionFlow.d.ts +39 -0
  107. package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +7 -0
  108. package/dist/types/platform-components/treeRecordModel.d.ts +17 -0
  109. package/dist/types/platform-components/useRecycleBinExplorerMode.d.ts +26 -0
  110. package/dist/types/platform-components/userSessionPresentation.d.ts +12 -0
  111. package/dist/types/platform-workbench/Workbench.vue.d.ts +46 -0
  112. package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +23 -0
  113. package/dist/types/platform-workbench/WorkbenchMenuTree.vue.d.ts +13 -0
  114. package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +7 -0
  115. package/dist/types/platform-workbench/hosts/BusinessRouteHost.vue.d.ts +7 -0
  116. package/dist/types/platform-workbench/hosts/ExternalPageHost.vue.d.ts +7 -0
  117. package/dist/types/platform-workbench/hosts/PlatformRouteHost.vue.d.ts +7 -0
  118. package/dist/types/platform-workbench/index.d.ts +11 -0
  119. package/dist/types/platform-workbench/menuNavigation.d.ts +28 -0
  120. package/dist/types/platform-workbench/menuTreeModel.d.ts +20 -0
  121. package/dist/types/platform-workbench/pageHostRegistry.d.ts +3 -0
  122. package/dist/types/platform-workbench/realtimeStatus.d.ts +7 -0
  123. package/dist/types/platform-workbench/workbenchNavigation.d.ts +12 -0
  124. package/dist/types/views/ApplicationManagementView.vue.d.ts +3 -0
  125. package/dist/types/views/DepartmentManagementView.vue.d.ts +3 -0
  126. package/dist/types/views/DictionaryManagementView.vue.d.ts +3 -0
  127. package/dist/types/views/EmployeeDetailContent.vue.d.ts +64 -0
  128. package/dist/types/views/EmployeeDetailWorkspaceView.vue.d.ts +6 -0
  129. package/dist/types/views/EmployeeEmploymentDrawer.vue.d.ts +14 -0
  130. package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +18 -0
  131. package/dist/types/views/EmployeeManagementView.vue.d.ts +7 -0
  132. package/dist/types/views/FieldSpecManagementView.vue.d.ts +3 -0
  133. package/dist/types/views/FieldUiControlManagementView.vue.d.ts +3 -0
  134. package/dist/types/views/HomeView.vue.d.ts +3 -0
  135. package/dist/types/views/MenuManagementView.vue.d.ts +3 -0
  136. package/dist/types/views/MetadataOrchestrationView.vue.d.ts +8 -0
  137. package/dist/types/views/ModuleActionManagementView.vue.d.ts +9 -0
  138. package/dist/types/views/ModuleManagementView.vue.d.ts +3 -0
  139. package/dist/types/views/ModuleOpenApiView.vue.d.ts +10 -0
  140. package/dist/types/views/OpenApiCatalogView.vue.d.ts +9 -0
  141. package/dist/types/views/OrganizationManagementView.vue.d.ts +3 -0
  142. package/dist/types/views/PasswordManagementView.vue.d.ts +3 -0
  143. package/dist/types/views/PositionManagementView.vue.d.ts +3 -0
  144. package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +16 -0
  145. package/dist/types/views/RoleAuthorizationView.vue.d.ts +12 -0
  146. package/dist/types/views/RoleDetailWorkspaceView.vue.d.ts +9 -0
  147. package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +16 -0
  148. package/dist/types/views/RoleGroupMemberSelector.vue.d.ts +18 -0
  149. package/dist/types/views/RoleManagementView.vue.d.ts +9 -0
  150. package/dist/types/views/SystemUserDetailWorkspaceView.vue.d.ts +7 -0
  151. package/dist/types/views/SystemUserManagementView.vue.d.ts +7 -0
  152. package/dist/types/views/TenantManagementView.vue.d.ts +3 -0
  153. package/dist/types/views/UserDetailContent.vue.d.ts +32 -0
  154. package/dist/types/views/UserDetailWorkspaceView.vue.d.ts +7 -0
  155. package/dist/types/views/UserManagementView.vue.d.ts +8 -0
  156. package/dist/types/views/applicationManagementState.d.ts +64 -0
  157. package/dist/types/views/departmentManagementState.d.ts +137 -0
  158. package/dist/types/views/dictionaryManagementState.d.ts +215 -0
  159. package/dist/types/views/employeeDetailStateModel.d.ts +39 -0
  160. package/dist/types/views/employeeDetailWorkspaceSession.d.ts +16 -0
  161. package/dist/types/views/employeeDetailWorkspaceView.d.ts +4 -0
  162. package/dist/types/views/fieldSpecManagementState.d.ts +80 -0
  163. package/dist/types/views/fieldUiControlManagementState.d.ts +76 -0
  164. package/dist/types/views/menuManagementState.d.ts +178 -0
  165. package/dist/types/views/metadataOrchestrationState.d.ts +278 -0
  166. package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +6 -0
  167. package/dist/types/views/moduleActionManagementWorkspaceView.d.ts +7 -0
  168. package/dist/types/views/moduleManagementState.d.ts +76 -0
  169. package/dist/types/views/organizationManagementState.d.ts +64 -0
  170. package/dist/types/views/positionManagementState.d.ts +218 -0
  171. package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +17 -0
  172. package/dist/types/views/roleAuthorizationWorkspaceView.d.ts +5 -0
  173. package/dist/types/views/roleDetailWorkspaceSession.d.ts +19 -0
  174. package/dist/types/views/roleDetailWorkspaceView.d.ts +8 -0
  175. package/dist/types/views/roleGrantClient.d.ts +59 -0
  176. package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +12 -0
  177. package/dist/types/views/systemUserDetailWorkspaceView.d.ts +5 -0
  178. package/dist/types/views/tenantManagementState.d.ts +64 -0
  179. package/dist/types/views/useEmployeeEmploymentRows.d.ts +20 -0
  180. package/dist/types/views/useUserSessionRows.d.ts +28 -0
  181. package/dist/types/views/userDetailStateModel.d.ts +11 -0
  182. package/dist/types/views/userDetailWorkspaceSession.d.ts +14 -0
  183. package/dist/types/views/userDetailWorkspaceView.d.ts +4 -0
  184. package/dist/types/vue-ui-antdv/components/ActionBar.vue.d.ts +11 -0
  185. package/dist/types/vue-ui-antdv/components/DictionarySelect.vue.d.ts +14 -0
  186. package/dist/types/vue-ui-antdv/components/ReferenceSelect.vue.d.ts +16 -0
  187. package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +37 -0
  188. package/dist/types/vue-ui-antdv/components/UiBadge.vue.d.ts +20 -0
  189. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +41 -0
  190. package/dist/types/vue-ui-antdv/components/UiCheckbox.vue.d.ts +30 -0
  191. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +71 -0
  192. package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +29 -0
  193. package/dist/types/vue-ui-antdv/components/UiEmpty.vue.d.ts +6 -0
  194. package/dist/types/vue-ui-antdv/components/UiError.vue.d.ts +7 -0
  195. package/dist/types/vue-ui-antdv/components/UiForm.vue.d.ts +15 -0
  196. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +7 -0
  197. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +25 -0
  198. package/dist/types/vue-ui-antdv/components/UiMenu.vue.d.ts +19 -0
  199. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +36 -0
  200. package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +26 -0
  201. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +22 -0
  202. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +30 -0
  203. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +28 -0
  204. package/dist/types/vue-ui-antdv/components/UiSidePanelHost.vue.d.ts +13 -0
  205. package/dist/types/vue-ui-antdv/components/UiSpin.vue.d.ts +22 -0
  206. package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +22 -0
  207. package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +13 -0
  208. package/dist/types/vue-ui-antdv/components/UiTabs.vue.d.ts +14 -0
  209. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +20 -0
  210. package/dist/types/vue-ui-antdv/components/UiTooltip.vue.d.ts +19 -0
  211. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +17 -0
  212. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +30 -0
  213. package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -0
  214. package/dist/types/vue-ui-antdv/confirm.d.ts +5 -0
  215. package/dist/types/vue-ui-antdv/dataTableModel.d.ts +10 -0
  216. package/dist/types/vue-ui-antdv/dictionaries.d.ts +2 -0
  217. package/dist/types/vue-ui-antdv/feedback.d.ts +10 -0
  218. package/dist/types/vue-ui-antdv/index.d.ts +36 -0
  219. package/dist/types/vue-ui-antdv/references.d.ts +8 -0
  220. package/dist/types/vue-ui-antdv/registry.d.ts +3 -0
  221. package/dist/types/vue-ui-antdv/types.d.ts +65 -0
  222. package/dist/types/web-contracts/index.d.ts +862 -0
  223. package/dist/types/web-core/actionResult.d.ts +28 -0
  224. package/dist/types/web-core/clients.d.ts +23 -0
  225. package/dist/types/web-core/dataChanges.d.ts +15 -0
  226. package/dist/types/web-core/errors.d.ts +65 -0
  227. package/dist/types/web-core/http.d.ts +21 -0
  228. package/dist/types/web-core/index.d.ts +8 -0
  229. package/dist/types/web-core/mock.d.ts +6 -0
  230. package/dist/types/web-core/module/abilities.d.ts +21 -0
  231. package/dist/types/web-core/module/abilityCodes.d.ts +18 -0
  232. package/dist/types/web-core/module/index.d.ts +6 -0
  233. package/dist/types/web-core/module/moduleContext.d.ts +49 -0
  234. package/dist/types/web-core/module/recycleBin.d.ts +6 -0
  235. package/dist/types/web-core/module/runtimeContext.d.ts +65 -0
  236. package/dist/types/web-core/module/staticModuleClient.d.ts +45 -0
  237. package/dist/types/web-core/query.d.ts +16 -0
  238. package/dist/types/web-core/realtime.d.ts +104 -0
  239. package/dist/useUserSessionRows-CLM0ZvAF.js +128 -0
  240. package/dist/workspaceViewSessions-WsJU3OS7.js +1578 -0
  241. package/package.json +27 -0
@@ -0,0 +1,36 @@
1
+ type __VLS_Props = {
2
+ open: boolean;
3
+ title: string;
4
+ confirmText?: string;
5
+ cancelText?: string;
6
+ confirmLoading?: boolean;
7
+ confirmDisabled?: boolean;
8
+ closable?: boolean;
9
+ width?: number | string;
10
+ };
11
+ declare var __VLS_11: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_11) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ cancel: () => any;
17
+ confirm: () => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onCancel?: (() => any) | undefined;
20
+ onConfirm?: (() => any) | undefined;
21
+ }>, {
22
+ closable: boolean;
23
+ width: number | string;
24
+ confirmText: string;
25
+ cancelText: string;
26
+ confirmLoading: boolean;
27
+ confirmDisabled: boolean;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,26 @@
1
+ import type { UiRecordInlineAction } from '../types';
2
+ type __VLS_Props = {
3
+ title: string;
4
+ secondary?: string;
5
+ tag?: string;
6
+ muted?: boolean;
7
+ selected?: boolean;
8
+ actions?: UiRecordInlineAction[];
9
+ clickable?: boolean;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ click: () => any;
13
+ action: (action: UiRecordInlineAction) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClick?: (() => any) | undefined;
16
+ onAction?: ((action: UiRecordInlineAction) => any) | undefined;
17
+ }>, {
18
+ secondary: string;
19
+ actions: UiRecordInlineAction[];
20
+ tag: string;
21
+ muted: boolean;
22
+ selected: boolean;
23
+ clickable: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ value?: string;
3
+ placeholder?: string;
4
+ disabled?: boolean;
5
+ loading?: boolean;
6
+ searchText?: string;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ search: (value: string) => any;
10
+ "update:value": (value: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onSearch?: ((value: string) => any) | undefined;
13
+ "onUpdate:value"?: ((value: string) => any) | undefined;
14
+ }>, {
15
+ disabled: boolean;
16
+ loading: boolean;
17
+ value: string;
18
+ placeholder: string;
19
+ searchText: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import type { Option, OptionValue, OptionValueList } from '@muyun/web-contracts';
2
+ type __VLS_Props = {
3
+ value?: OptionValue | OptionValueList | null;
4
+ options: Option[];
5
+ mode?: 'multiple';
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ allowClear?: boolean;
9
+ showSearch?: boolean;
10
+ filterOption?: boolean;
11
+ loading?: boolean;
12
+ };
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ search: (keyword: string) => any;
15
+ "update:value": (value: OptionValue | OptionValueList | null) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSearch?: ((keyword: string) => any) | undefined;
18
+ "onUpdate:value"?: ((value: OptionValue | OptionValueList | null) => any) | undefined;
19
+ }>, {
20
+ disabled: boolean;
21
+ loading: boolean;
22
+ value: OptionValue | OptionValueList | null;
23
+ mode: "multiple";
24
+ placeholder: string;
25
+ allowClear: boolean;
26
+ showSearch: boolean;
27
+ filterOption: boolean;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { type UiSidePanelScope } from './sidePanelHost';
2
+ type __VLS_Props = {
3
+ open: boolean;
4
+ width?: number | string;
5
+ closeOnOutside?: boolean;
6
+ scope?: UiSidePanelScope;
7
+ };
8
+ declare var __VLS_10: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_10) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ close: () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onClose?: (() => any) | undefined;
16
+ }>, {
17
+ scope: UiSidePanelScope;
18
+ width: number | string;
19
+ closeOnOutside: boolean;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ spinning?: boolean;
3
+ tip?: string;
4
+ size?: 'small' | 'default' | 'large';
5
+ };
6
+ declare var __VLS_8: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_8) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ size: "small" | "default" | "large";
12
+ spinning: boolean;
13
+ tip: string;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ checked?: boolean;
3
+ disabled?: boolean;
4
+ loading?: boolean;
5
+ checkedText?: string;
6
+ uncheckedText?: string;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:checked": (checked: boolean) => any;
10
+ change: (checked: boolean) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
13
+ onChange?: ((checked: boolean) => any) | undefined;
14
+ }>, {
15
+ disabled: boolean;
16
+ loading: boolean;
17
+ checked: boolean;
18
+ checkedText: string;
19
+ uncheckedText: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import type { UiDataTablePagination, UiDataTableSelection } from '../types';
2
+ import type { RecordData, TableContract } from '@muyun/web-contracts';
3
+ type __VLS_Props = {
4
+ contract: TableContract;
5
+ rows: RecordData[];
6
+ loading?: boolean;
7
+ pagination?: false | UiDataTablePagination;
8
+ selection?: UiDataTableSelection;
9
+ size?: 'small' | 'middle' | 'large';
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import type { UiTabItem } from '../types';
2
+ type __VLS_Props = {
3
+ tabs: UiTabItem[];
4
+ activeKey: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ close: (key: string) => any;
8
+ "update:activeKey": (key: string) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onClose?: ((key: string) => any) | undefined;
11
+ "onUpdate:activeKey"?: ((key: string) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ value?: string;
3
+ placeholder?: string;
4
+ disabled?: boolean;
5
+ rows?: number;
6
+ maxlength?: number;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:value": (value: string) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ "onUpdate:value"?: ((value: string) => any) | undefined;
12
+ }>, {
13
+ disabled: boolean;
14
+ value: string;
15
+ placeholder: string;
16
+ maxlength: number;
17
+ rows: number;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ placement?: 'top' | 'topLeft' | 'topRight' | 'right' | 'rightTop' | 'rightBottom' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftTop' | 'leftBottom';
4
+ };
5
+ declare var __VLS_8: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_8) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ placement: "top" | "topLeft" | "topRight" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "left" | "leftTop" | "leftBottom";
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,17 @@
1
+ import type { UiRecordInlineAction, UiTreeNode } from '../types';
2
+ type __VLS_Props = {
3
+ nodes: UiTreeNode[];
4
+ selectedKey?: string;
5
+ expandedKeys?: string[];
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ select: (node: UiTreeNode) => any;
9
+ action: (action: UiRecordInlineAction, node: UiTreeNode) => any;
10
+ "update:expandedKeys": (keys: string[]) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onSelect?: ((node: UiTreeNode) => any) | undefined;
13
+ onAction?: ((action: UiRecordInlineAction, node: UiTreeNode) => any) | undefined;
14
+ "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import type { OptionValue, OptionValueList } from '@muyun/web-contracts';
2
+ export interface UiTreeSelectNode {
3
+ value: OptionValue;
4
+ title: string;
5
+ disabled?: boolean;
6
+ children?: UiTreeSelectNode[];
7
+ }
8
+ type __VLS_Props = {
9
+ value?: OptionValue | OptionValueList | null;
10
+ treeData: UiTreeSelectNode[];
11
+ mode?: 'multiple';
12
+ placeholder?: string;
13
+ disabled?: boolean;
14
+ allowClear?: boolean;
15
+ loading?: boolean;
16
+ };
17
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:value": (value: OptionValue | OptionValueList | null) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:value"?: ((value: OptionValue | OptionValueList | null) => any) | undefined;
21
+ }>, {
22
+ disabled: boolean;
23
+ loading: boolean;
24
+ value: OptionValue | OptionValueList | null;
25
+ mode: "multiple";
26
+ placeholder: string;
27
+ allowClear: boolean;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { InjectionKey, Ref } from 'vue';
2
+ export type UiSidePanelScope = 'tab' | 'viewport';
3
+ export declare const sidePanelHostKey: InjectionKey<Ref<HTMLElement | undefined>>;
@@ -0,0 +1,5 @@
1
+ import { Modal } from 'ant-design-vue';
2
+ import type { UiConfirmOptions } from './types';
3
+ export declare const confirmAction: (options: UiConfirmOptions) => Promise<boolean>;
4
+ export declare function createConfirmAction(confirm: typeof Modal.confirm): (options: UiConfirmOptions) => Promise<boolean>;
5
+ export declare function matchesRequiredText(requiredText: string | undefined, typedText: string): boolean;
@@ -0,0 +1,10 @@
1
+ export interface UiDataTableScrollOptions {
2
+ horizontal: boolean;
3
+ fillHeight: boolean;
4
+ hasFixedColumn: boolean;
5
+ }
6
+ export interface UiDataTableResolvedScroll {
7
+ x?: 'max-content';
8
+ y?: '100%';
9
+ }
10
+ export declare function resolveUiDataTableScroll(options: UiDataTableScrollOptions): UiDataTableResolvedScroll | undefined;
@@ -0,0 +1,2 @@
1
+ import type { Option } from '@muyun/web-contracts';
2
+ export declare function resolveDictionaryOptions(dictionaryAlias: string): Option[];
@@ -0,0 +1,10 @@
1
+ export type UiFeedbackTone = 'error' | 'success' | 'info' | 'warning';
2
+ export interface UiFeedbackOptions {
3
+ tone: UiFeedbackTone;
4
+ content: string;
5
+ }
6
+ export declare function showFeedback(options: UiFeedbackOptions): void;
7
+ export declare function showErrorMessage(content: string): void;
8
+ export declare function showSuccessMessage(content: string): void;
9
+ export declare function showInfoMessage(content: string): void;
10
+ export declare function showWarningMessage(content: string): void;
@@ -0,0 +1,36 @@
1
+ export { default as ActionBar } from './components/ActionBar.vue';
2
+ export { default as UiActionButton } from './components/UiActionButton.vue';
3
+ export { default as UiButton } from './components/UiButton.vue';
4
+ export { default as UiBadge } from './components/UiBadge.vue';
5
+ export { default as UiCheckbox } from './components/UiCheckbox.vue';
6
+ export { default as UiForm } from './components/UiForm.vue';
7
+ export { default as UiInput } from './components/UiInput.vue';
8
+ export { default as UiSearchInput } from './components/UiSearchInput.vue';
9
+ export { default as UiTextArea } from './components/UiTextArea.vue';
10
+ export { default as UiSelect } from './components/UiSelect.vue';
11
+ export { default as UiTreeSelect } from './components/UiTreeSelect.vue';
12
+ export { default as UiTooltip } from './components/UiTooltip.vue';
13
+ export { default as UiSwitch } from './components/UiSwitch.vue';
14
+ export { default as UiMenu } from './components/UiMenu.vue';
15
+ export { default as UiTabs } from './components/UiTabs.vue';
16
+ export { default as UiTree } from './components/UiTree.vue';
17
+ export { default as UiDataTable } from './components/UiDataTable.vue';
18
+ export { default as UiDropdown } from './components/UiDropdown.vue';
19
+ export { default as UiModal } from './components/UiModal.vue';
20
+ export { default as UiSidePanel } from './components/UiSidePanel.vue';
21
+ export { default as UiSidePanelHost } from './components/UiSidePanelHost.vue';
22
+ export { default as UiRecordExplorerItem } from './components/UiRecordExplorerItem.vue';
23
+ export { default as UiSpin } from './components/UiSpin.vue';
24
+ export { default as UiEmpty } from './components/UiEmpty.vue';
25
+ export { default as UiError } from './components/UiError.vue';
26
+ export { default as UiIcon } from './components/UiIcon.vue';
27
+ export { default as DictionarySelect } from './components/DictionarySelect.vue';
28
+ export { default as ReferenceSelect } from './components/ReferenceSelect.vue';
29
+ export { default as UiTable } from './components/UiTable.vue';
30
+ export { confirmAction } from './confirm';
31
+ export { showErrorMessage, showFeedback, showInfoMessage, showSuccessMessage, showWarningMessage, } from './feedback';
32
+ export type { UiFeedbackOptions, UiFeedbackTone } from './feedback';
33
+ export { resolveFieldComponent } from './registry';
34
+ export type { UiIconName } from './components/UiIcon.vue';
35
+ export type { UiSidePanelScope } from './components/sidePanelHost';
36
+ export type { UiConfirmOptions, UiDataTableColumn, UiDataTableKey, UiDataTablePagination, UiDataTableRecord, UiDataTableSelection, UiDropdownItem, UiMenuItem, UiRecordInlineAction, UiTabItem, UiTreeNode, UiTreeNodeAction, } from './types';
@@ -0,0 +1,8 @@
1
+ import type { Primitive } from '@muyun/web-contracts';
2
+ export interface ReferenceRecord {
3
+ key: string | number;
4
+ title: string;
5
+ subtitle?: string;
6
+ fields: Record<string, Primitive>;
7
+ }
8
+ export declare function searchReferenceRecords(moduleAlias: string, keyword: string): Promise<ReferenceRecord[]>;
@@ -0,0 +1,3 @@
1
+ import type { Component } from 'vue';
2
+ import type { FieldKind } from '@muyun/web-contracts';
3
+ export declare function resolveFieldComponent(kind: FieldKind): Component;
@@ -0,0 +1,65 @@
1
+ import type { UiIconName } from './components/UiIcon.vue';
2
+ export type UiDataTableKey = string | number;
3
+ export type UiDataTableRecord = Record<string, unknown>;
4
+ export interface UiDataTableColumn {
5
+ key: string;
6
+ title: string;
7
+ dataIndex?: string;
8
+ width?: string | number;
9
+ align?: 'left' | 'center' | 'right';
10
+ fixed?: 'left' | 'right' | boolean;
11
+ }
12
+ export interface UiDataTablePagination {
13
+ pageSize: number;
14
+ showSizeChanger?: boolean;
15
+ }
16
+ export interface UiDataTableSelection {
17
+ selectedRowKeys: UiDataTableKey[];
18
+ preserveSelectedRowKeys?: boolean;
19
+ disabledOf?: (record: UiDataTableRecord) => boolean;
20
+ onChange?: (keys: UiDataTableKey[]) => void;
21
+ }
22
+ export interface UiMenuItem {
23
+ key: string;
24
+ title: string;
25
+ disabled?: boolean;
26
+ children?: UiMenuItem[];
27
+ }
28
+ export interface UiTabItem {
29
+ key: string;
30
+ title: string;
31
+ closable?: boolean;
32
+ }
33
+ export interface UiDropdownItem {
34
+ key: string;
35
+ title: string;
36
+ disabled?: boolean;
37
+ danger?: boolean;
38
+ }
39
+ export interface UiRecordInlineAction {
40
+ key: string;
41
+ title: string;
42
+ iconName?: UiIconName;
43
+ showLabel?: boolean;
44
+ disabled?: boolean;
45
+ danger?: boolean;
46
+ }
47
+ export type UiTreeNodeAction = UiRecordInlineAction;
48
+ export interface UiTreeNode {
49
+ key: string;
50
+ title: string;
51
+ disabled?: boolean;
52
+ secondary?: string;
53
+ tag?: string;
54
+ muted?: boolean;
55
+ actions?: UiRecordInlineAction[];
56
+ children?: UiTreeNode[];
57
+ }
58
+ export interface UiConfirmOptions {
59
+ title: string;
60
+ content?: string;
61
+ okText?: string;
62
+ cancelText?: string;
63
+ danger?: boolean;
64
+ requiredText?: string;
65
+ }