@tachybase/module-hera 1.9.8
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.
- package/.turbo/turbo-build.log +11 -0
- package/README.md +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/components/PDFViewer.d.ts +11 -0
- package/dist/client/components/SignatureInput.d.ts +2 -0
- package/dist/client/components/SignaturePad.d.ts +240 -0
- package/dist/client/components/custom-components/CustomAssociatedField.d.ts +2 -0
- package/dist/client/components/custom-components/CustomComponentDispatcher.d.ts +5 -0
- package/dist/client/components/custom-components/CustomField.d.ts +2 -0
- package/dist/client/components/custom-components/ErrorBoundary.d.ts +2 -0
- package/dist/client/components/custom-components/custom-components.d.ts +21 -0
- package/dist/client/components/excel-table/ExcelFile.d.ts +2 -0
- package/dist/client/components/excel-table/Sheet.d.ts +10 -0
- package/dist/client/components/fields/AssociatedField.d.ts +7 -0
- package/dist/client/components/fields/CalcResult.d.ts +1 -0
- package/dist/client/components/fields/Expression.d.ts +3 -0
- package/dist/client/components/index.d.ts +11 -0
- package/dist/client/components/modal-full-screen/ModalFullScreen.d.ts +15 -0
- package/dist/client/components/modal-full-screen/ModalFullScreenChild.d.ts +2 -0
- package/dist/client/features/block-group/GroupBlock.d.ts +4 -0
- package/dist/client/features/block-group/GroupBlockConfigure.d.ts +19 -0
- package/dist/client/features/block-group/GroupBlockInitializer.d.ts +9 -0
- package/dist/client/features/block-group/index.d.ts +4 -0
- package/dist/client/features/custom-components/index.d.ts +5 -0
- package/dist/client/features/departments/common/DepartmentTable.schema.d.ts +50 -0
- package/dist/client/features/departments/common/DepartmentTable.view.d.ts +5 -0
- package/dist/client/features/departments/common/FilterKeys.context.d.ts +10 -0
- package/dist/client/features/departments/common/InternalDepartmentTable.d.ts +6 -0
- package/dist/client/features/departments/common/Request.povider.d.ts +2 -0
- package/dist/client/features/departments/common/UserDepartmentsFieldNotSupport.d.ts +2 -0
- package/dist/client/features/departments/common/scopes/useDepartmentFilterActionProps.d.ts +5 -0
- package/dist/client/features/departments/common/scopes/useFilterActionProps.d.ts +5 -0
- package/dist/client/features/departments/index.d.ts +5 -0
- package/dist/client/features/departments/main-tab/DepartmentIndex.d.ts +6 -0
- package/dist/client/features/departments/main-tab/DepartmentIndex.provider.d.ts +4 -0
- package/dist/client/features/departments/main-tab/DepartmentManagement.component.d.ts +2 -0
- package/dist/client/features/departments/main-tab/DepartmentManagement.schema.d.ts +10 -0
- package/dist/client/features/departments/main-tab/DepartmentManagement.view.d.ts +2 -0
- package/dist/client/features/departments/main-tab/collections/departments.collection.d.ts +128 -0
- package/dist/client/features/departments/main-tab/collections/users.collection.d.ts +189 -0
- package/dist/client/features/departments/main-tab/components/DepartmentSelect.d.ts +2 -0
- package/dist/client/features/departments/main-tab/components/InternalSuperiorDepartmentSelect.d.ts +2 -0
- package/dist/client/features/departments/main-tab/components/SuperiorDepartmentSelect.d.ts +2 -0
- package/dist/client/features/departments/main-tab/context/Department.context.d.ts +23 -0
- package/dist/client/features/departments/main-tab/context/DepartmentsExpanded.context.d.ts +17 -0
- package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.schema.d.ts +67 -0
- package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.view.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-block/DepartmentOwnersField.component.d.ts +6 -0
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsBlock.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsSearch.component.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsTree.component.d.ts +9 -0
- package/dist/client/features/departments/main-tab/departments-block/Request.provider.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-block/UnknownOwerns.schema.d.ts +136 -0
- package/dist/client/features/departments/main-tab/departments-block/UnknownOwerns.view.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-block/schemas/schemaDepartmentEdit.d.ts +62 -0
- package/dist/client/features/departments/main-tab/departments-block/schemas/schemaDepartmentNewSub.d.ts +57 -0
- package/dist/client/features/departments/main-tab/departments-block/scopes/useCreateDepartment.d.ts +3 -0
- package/dist/client/features/departments/main-tab/departments-block/scopes/useUpdateDepartment.d.ts +3 -0
- package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.schema.d.ts +148 -0
- package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.view.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentField.component.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentsUsersBlock.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentsUsersBlock.schema.d.ts +676 -0
- package/dist/client/features/departments/main-tab/departments-users-block/IsOwnerField.component.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/MemberActions.schema.d.ts +49 -0
- package/dist/client/features/departments/main-tab/departments-users-block/MemberActions.view.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/RowRemoveAction.schema.d.ts +16 -0
- package/dist/client/features/departments/main-tab/departments-users-block/RowRemoveAction.view.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/UserDepartmentsField.component.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/UserSelectDepartment.schema.d.ts +42 -0
- package/dist/client/features/departments/main-tab/departments-users-block/UserSelectDepartment.view.d.ts +2 -0
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useBulkRemoveMembersAction.d.ts +3 -0
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useDataSource.d.ts +40 -0
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useMembersDataSource.d.ts +6 -0
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/usePropsAddMember.d.ts +1 -0
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useRefreshActionProps.d.ts +3 -0
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useRemoveMemberAction.d.ts +3 -0
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useShowTotal.d.ts +1 -0
- package/dist/client/features/departments/main-tab/hooks/useDeepTree.d.ts +14 -0
- package/dist/client/features/departments/main-tab/hooks/useGetDepTree.d.ts +18 -0
- package/dist/client/features/departments/main-tab/kit.d.ts +4 -0
- package/dist/client/features/departments/main-tab/providers/DepartmentsResource.provider.d.ts +4 -0
- package/dist/client/features/departments/main-tab/providers/UserResource.provider.d.ts +4 -0
- package/dist/client/features/departments/role-auth/DepartmentTitle.component.d.ts +2 -0
- package/dist/client/features/departments/role-auth/Departments.d.ts +2 -0
- package/dist/client/features/departments/role-auth/Departments.schema.d.ts +227 -0
- package/dist/client/features/departments/role-auth/kit.d.ts +4 -0
- package/dist/client/features/departments/role-auth/scopes/useAddDepartments.d.ts +3 -0
- package/dist/client/features/departments/role-auth/scopes/useBulkRemoveDepartments.d.ts +3 -0
- package/dist/client/features/departments/role-auth/scopes/useDataSource.d.ts +40 -0
- package/dist/client/features/departments/role-auth/scopes/useDisabled.d.ts +3 -0
- package/dist/client/features/departments/role-auth/scopes/useRemoveDepartment.d.ts +3 -0
- package/dist/client/features/departments/settings/DepartmentOwnersFieldSetting.d.ts +2 -0
- package/dist/client/features/departments/settings/UserDepartmentsFieldSetting.d.ts +2 -0
- package/dist/client/features/departments/settings/UserMainDepartmentFieldSetting.d.ts +2 -0
- package/dist/client/features/departments/settings/items/enableLinkItem.d.ts +2 -0
- package/dist/client/features/departments/settings/items/modeSelectItem.d.ts +2 -0
- package/dist/client/features/departments/settings/items/titleFieldItem.d.ts +2 -0
- package/dist/client/features/departments/utils/getDepartmentStr.d.ts +1 -0
- package/dist/client/features/departments/utils/getUserListByDepartment.d.ts +1 -0
- package/dist/client/features/embed/EmbedLayout.d.ts +2 -0
- package/dist/client/features/embed/EmbedPage.d.ts +2 -0
- package/dist/client/features/embed/EmbedSchemaComponent.d.ts +2 -0
- package/dist/client/features/embed/NotAuthorityResult.d.ts +2 -0
- package/dist/client/features/embed/index.d.ts +4 -0
- package/dist/client/features/embed/useEmbedToken.d.ts +1 -0
- package/dist/client/features/embed/usePageSettingsProps.d.ts +4 -0
- package/dist/client/features/field-appends/index.d.ts +4 -0
- package/dist/client/features/field-appends/show-code/Code.interface.d.ts +74 -0
- package/dist/client/features/field-appends/show-code/Code.view.d.ts +3 -0
- package/dist/client/features/field-appends/show-formula/Formula.interface.d.ts +75 -0
- package/dist/client/features/field-appends/show-formula/Formula.view.d.ts +3 -0
- package/dist/client/features/hera-version/HeraVersion.provider.d.ts +4 -0
- package/dist/client/features/hera-version/index.d.ts +4 -0
- package/dist/client/features/mode-highlight/ModeHighlight.provider.d.ts +4 -0
- package/dist/client/features/mode-highlight/index.d.ts +4 -0
- package/dist/client/features/outbound/OutboundLinkActionInitializer.d.ts +6 -0
- package/dist/client/features/outbound/OutboundPage.d.ts +2 -0
- package/dist/client/features/outbound/index.d.ts +4 -0
- package/dist/client/features/outbound/useOutboundActionProps.d.ts +3 -0
- package/dist/client/features/pdf/PDFVIewerBlockInitializer.d.ts +10 -0
- package/dist/client/features/pdf/PDFViewer.d.ts +2 -0
- package/dist/client/features/pdf/index.d.ts +4 -0
- package/dist/client/features/sheet/SheetBlockInitializer.d.ts +8 -0
- package/dist/client/features/sheet/index.d.ts +4 -0
- package/dist/client/hooks/useCustomComponent.d.ts +5 -0
- package/dist/client/hooks/useGetCustomAssociatedComponents.d.ts +4 -0
- package/dist/client/hooks/useGetCustomComponents.d.ts +4 -0
- package/dist/client/hooks/useNotifications.d.ts +2 -0
- package/dist/client/hooks/usePluginVersion.d.ts +1 -0
- package/dist/client/hooks/useTokenConfiguration.d.ts +3 -0
- package/dist/client/index.d.ts +16 -0
- package/dist/client/index.js +93 -0
- package/dist/client/interfaces/AssociatedFieldInterface.d.ts +118 -0
- package/dist/client/interfaces/CalcFieldInterface.d.ts +120 -0
- package/dist/client/interfaces/CustomAssociatedFieldInterface.d.ts +69 -0
- package/dist/client/interfaces/CustomFieldInterface.d.ts +45 -0
- package/dist/client/interfaces/ExcelFieldInterface.d.ts +38 -0
- package/dist/client/interfaces/SignaturePadFieldInterface.d.ts +38 -0
- package/dist/client/interfaces/TstzrangeFieldInterface.d.ts +41 -0
- package/dist/client/interfaces/index.d.ts +6 -0
- package/dist/client/locale.d.ts +9 -0
- package/dist/client/schema-initializer/blocks/SettingBlockInitializer.d.ts +2 -0
- package/dist/client/schema-initializer/index.d.ts +1 -0
- package/dist/client/schema-settings/SchemaSettingsDatePickerType.d.ts +2 -0
- package/dist/client/schema-settings/SchemaSettingsDatePresets.d.ts +11 -0
- package/dist/client/schema-settings/SchemaSettingsSubmitDataType.d.ts +5 -0
- package/dist/client/schema-settings/index.d.ts +4 -0
- package/dist/client/settings-manager-components/LinkManager.d.ts +2 -0
- package/dist/client/settings-manager-components/TokenConfiguration.d.ts +6 -0
- package/dist/client/settings-manager-components/index.d.ts +8 -0
- package/dist/client/utils.d.ts +2 -0
- package/dist/externalVersion.js +21 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +39 -0
- package/dist/locale/en-US.json +94 -0
- package/dist/locale/zh-CN.json +94 -0
- package/dist/node_modules/fs-extra/LICENSE +15 -0
- package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +161 -0
- package/dist/node_modules/fs-extra/lib/copy/copy.js +177 -0
- package/dist/node_modules/fs-extra/lib/copy/index.js +7 -0
- package/dist/node_modules/fs-extra/lib/empty/index.js +39 -0
- package/dist/node_modules/fs-extra/lib/ensure/file.js +66 -0
- package/dist/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/dist/node_modules/fs-extra/lib/ensure/link.js +64 -0
- package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
- package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
- package/dist/node_modules/fs-extra/lib/ensure/symlink.js +67 -0
- package/dist/node_modules/fs-extra/lib/fs/index.js +140 -0
- package/dist/node_modules/fs-extra/lib/index.js +1 -0
- package/dist/node_modules/fs-extra/lib/json/index.js +16 -0
- package/dist/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/dist/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/dist/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/dist/node_modules/fs-extra/lib/move/index.js +7 -0
- package/dist/node_modules/fs-extra/lib/move/move-sync.js +55 -0
- package/dist/node_modules/fs-extra/lib/move/move.js +59 -0
- package/dist/node_modules/fs-extra/lib/output-file/index.js +31 -0
- package/dist/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/dist/node_modules/fs-extra/lib/remove/index.js +17 -0
- package/dist/node_modules/fs-extra/lib/util/stat.js +158 -0
- package/dist/node_modules/fs-extra/lib/util/utimes.js +36 -0
- package/dist/node_modules/fs-extra/package.json +1 -0
- package/dist/server/actions/departments.d.ts +5 -0
- package/dist/server/actions/departments.js +105 -0
- package/dist/server/actions/index.d.ts +7 -0
- package/dist/server/actions/index.js +33 -0
- package/dist/server/actions/link-manager-controller.d.ts +6 -0
- package/dist/server/actions/link-manager-controller.js +133 -0
- package/dist/server/actions/plugin-version.d.ts +6 -0
- package/dist/server/actions/plugin-version.js +91 -0
- package/dist/server/actions/robot-controller.d.ts +5 -0
- package/dist/server/actions/robot-controller.js +134 -0
- package/dist/server/actions/system-message-controller.d.ts +5 -0
- package/dist/server/actions/system-message-controller.js +106 -0
- package/dist/server/actions/token-configuration-controller.d.ts +5 -0
- package/dist/server/actions/token-configuration-controller.js +120 -0
- package/dist/server/actions/users.d.ts +4 -0
- package/dist/server/actions/users.js +142 -0
- package/dist/server/collections/departmentRoles.d.ts +2 -0
- package/dist/server/collections/departmentRoles.js +27 -0
- package/dist/server/collections/departments.d.ts +29 -0
- package/dist/server/collections/departments.js +162 -0
- package/dist/server/collections/departmentsUsers.d.ts +2 -0
- package/dist/server/collections/departmentsUsers.js +43 -0
- package/dist/server/collections/link-manage.d.ts +2 -0
- package/dist/server/collections/link-manage.js +42 -0
- package/dist/server/collections/roles.d.ts +2 -0
- package/dist/server/collections/roles.js +39 -0
- package/dist/server/collections/systemSettings.d.ts +2 -0
- package/dist/server/collections/systemSettings.js +33 -0
- package/dist/server/collections/system_message.d.ts +2 -0
- package/dist/server/collections/system_message.js +67 -0
- package/dist/server/collections/token-configuration.d.ts +2 -0
- package/dist/server/collections/token-configuration.js +54 -0
- package/dist/server/collections/users.d.ts +55 -0
- package/dist/server/collections/users.js +87 -0
- package/dist/server/features/departments.d.ts +7 -0
- package/dist/server/features/departments.js +132 -0
- package/dist/server/fields/calc.d.ts +11 -0
- package/dist/server/fields/calc.js +43 -0
- package/dist/server/fields/tstzrange.d.ts +7 -0
- package/dist/server/fields/tstzrange.js +28 -0
- package/dist/server/index.d.ts +3 -0
- package/dist/server/index.js +41 -0
- package/dist/server/middlewares/destroy-department-check.d.ts +2 -0
- package/dist/server/middlewares/destroy-department-check.js +53 -0
- package/dist/server/middlewares/index.d.ts +6 -0
- package/dist/server/middlewares/index.js +31 -0
- package/dist/server/middlewares/list-users-include-child-department.d.ts +2 -0
- package/dist/server/middlewares/list-users-include-child-department.js +77 -0
- package/dist/server/middlewares/reset-user-departments-cache.d.ts +2 -0
- package/dist/server/middlewares/reset-user-departments-cache.js +39 -0
- package/dist/server/middlewares/set-department-owners.d.ts +2 -0
- package/dist/server/middlewares/set-department-owners.js +74 -0
- package/dist/server/middlewares/set-departments-roles.d.ts +2 -0
- package/dist/server/middlewares/set-departments-roles.js +64 -0
- package/dist/server/middlewares/set-main-department.d.ts +2 -0
- package/dist/server/middlewares/set-main-department.js +105 -0
- package/dist/server/middlewares/update-department-isleaf.d.ts +2 -0
- package/dist/server/middlewares/update-department-isleaf.js +84 -0
- package/dist/server/models/department.d.ts +4 -0
- package/dist/server/models/department.js +38 -0
- package/dist/server/plugin.d.ts +6 -0
- package/dist/server/plugin.js +111 -0
- package/dist/server/services/plugin-version.d.ts +5 -0
- package/dist/server/services/plugin-version.js +89 -0
- package/dist/server/services/sql-loader.d.ts +10 -0
- package/dist/server/services/sql-loader.js +129 -0
- package/dist/server/services/system-setting-service.d.ts +7 -0
- package/dist/server/services/system-setting-service.js +87 -0
- package/dist/server/utils/curren-formula.d.ts +1 -0
- package/dist/server/utils/curren-formula.js +30 -0
- package/dist/server/utils/multiprocess.d.ts +2 -0
- package/dist/server/utils/multiprocess.js +38 -0
- package/package.json +64 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
package/dist/client/features/departments/main-tab/departments-users-block/MemberActions.schema.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const schemaMemberActions: {
|
|
2
|
+
type: string;
|
|
3
|
+
'x-component': string;
|
|
4
|
+
properties: {
|
|
5
|
+
remove: {
|
|
6
|
+
type: string;
|
|
7
|
+
title: string;
|
|
8
|
+
'x-component': string;
|
|
9
|
+
'x-component-props': {
|
|
10
|
+
icon: string;
|
|
11
|
+
confirm: {
|
|
12
|
+
title: string;
|
|
13
|
+
content: string;
|
|
14
|
+
};
|
|
15
|
+
style: {
|
|
16
|
+
marginRight: number;
|
|
17
|
+
};
|
|
18
|
+
useAction: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
refresh: {
|
|
22
|
+
type: string;
|
|
23
|
+
title: string;
|
|
24
|
+
'x-component': string;
|
|
25
|
+
'x-use-component-props': string;
|
|
26
|
+
'x-component-props': {
|
|
27
|
+
icon: string;
|
|
28
|
+
style: {
|
|
29
|
+
marginRight: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
create: {
|
|
34
|
+
type: string;
|
|
35
|
+
title: string;
|
|
36
|
+
'x-component': string;
|
|
37
|
+
'x-component-props': {
|
|
38
|
+
type: string;
|
|
39
|
+
icon: string;
|
|
40
|
+
};
|
|
41
|
+
properties: {
|
|
42
|
+
drawer: {
|
|
43
|
+
type: string;
|
|
44
|
+
'x-component': string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const schemaRowRemoveAction: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
remove: {
|
|
5
|
+
title: string;
|
|
6
|
+
'x-component': string;
|
|
7
|
+
'x-component-props': {
|
|
8
|
+
confirm: {
|
|
9
|
+
title: string;
|
|
10
|
+
content: string;
|
|
11
|
+
};
|
|
12
|
+
useAction: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const schemaUserSelectDepartment: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
drawer: {
|
|
5
|
+
title: string;
|
|
6
|
+
'x-decorator': string;
|
|
7
|
+
'x-component': string;
|
|
8
|
+
properties: {
|
|
9
|
+
table: {
|
|
10
|
+
type: string;
|
|
11
|
+
'x-decorator': string;
|
|
12
|
+
'x-component': string;
|
|
13
|
+
'x-component-props': {
|
|
14
|
+
useDataSource: string;
|
|
15
|
+
useDisabled: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
footer: {
|
|
19
|
+
type: string;
|
|
20
|
+
'x-component': string;
|
|
21
|
+
properties: {
|
|
22
|
+
cancel: {
|
|
23
|
+
title: string;
|
|
24
|
+
'x-component': string;
|
|
25
|
+
'x-component-props': {
|
|
26
|
+
useAction: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
confirm: {
|
|
30
|
+
title: string;
|
|
31
|
+
'x-component': string;
|
|
32
|
+
'x-component-props': {
|
|
33
|
+
type: string;
|
|
34
|
+
useAction: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
package/dist/client/features/departments/main-tab/departments-users-block/scopes/useDataSource.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const useDataSource: (props: any) => {
|
|
2
|
+
defaultRequest: {
|
|
3
|
+
resource: string;
|
|
4
|
+
action: string;
|
|
5
|
+
params: {
|
|
6
|
+
appends: string[];
|
|
7
|
+
sort: string[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
state: any;
|
|
11
|
+
setState: import("ahooks/lib/useSetState").SetState<{}>;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
data?: {
|
|
14
|
+
appends: string[];
|
|
15
|
+
sort: string[];
|
|
16
|
+
};
|
|
17
|
+
error?: Error;
|
|
18
|
+
params: any;
|
|
19
|
+
cancel: import("ahooks/es/useRequest/src/Fetch").default<TData, TParams>["cancel"];
|
|
20
|
+
refresh: import("ahooks/es/useRequest/src/Fetch").default<TData, TParams>["refresh"];
|
|
21
|
+
refreshAsync: () => Promise<{
|
|
22
|
+
appends: string[];
|
|
23
|
+
sort: string[];
|
|
24
|
+
}>;
|
|
25
|
+
run: (...params: any) => void;
|
|
26
|
+
runAsync: (...params: any) => Promise<{
|
|
27
|
+
appends: string[];
|
|
28
|
+
sort: string[];
|
|
29
|
+
}>;
|
|
30
|
+
mutate: (data?: {
|
|
31
|
+
appends: string[];
|
|
32
|
+
sort: string[];
|
|
33
|
+
} | ((oldData?: {
|
|
34
|
+
appends: string[];
|
|
35
|
+
sort: string[];
|
|
36
|
+
}) => {
|
|
37
|
+
appends: string[];
|
|
38
|
+
sort: string[];
|
|
39
|
+
})) => void;
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function usePropsAddMembers(): any;
|
package/dist/client/features/departments/main-tab/departments-users-block/scopes/useShowTotal.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useShowTotal: () => any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const useDepTree: (options: any) => {
|
|
3
|
+
initData: (C: any) => void;
|
|
4
|
+
treeData: any[];
|
|
5
|
+
setTreeData: React.Dispatch<React.SetStateAction<any[]>>;
|
|
6
|
+
nodeMap: {};
|
|
7
|
+
updateTreeData: (C: any, v: any) => any;
|
|
8
|
+
constructTreeData: (C: any) => any;
|
|
9
|
+
getChildrenIds: (node: any) => any[];
|
|
10
|
+
loadedKeys: any[];
|
|
11
|
+
setLoadedKeys: React.Dispatch<React.SetStateAction<any[]>>;
|
|
12
|
+
expandedKeys: any[];
|
|
13
|
+
setExpandedKeys: React.Dispatch<React.SetStateAction<any[]>>;
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const useGetDepTree: (props?: any) => {
|
|
2
|
+
loadData: ({ key, children }: {
|
|
3
|
+
key: any;
|
|
4
|
+
children: any;
|
|
5
|
+
}) => Promise<void>;
|
|
6
|
+
getByKeyword: (keyword: any) => Promise<void>;
|
|
7
|
+
initData: (C: any) => void;
|
|
8
|
+
treeData: any[];
|
|
9
|
+
setTreeData: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
10
|
+
nodeMap: {};
|
|
11
|
+
updateTreeData: (C: any, v: any) => any;
|
|
12
|
+
constructTreeData: (C: any) => any;
|
|
13
|
+
getChildrenIds: (node: any) => any[];
|
|
14
|
+
loadedKeys: any[];
|
|
15
|
+
setLoadedKeys: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
16
|
+
expandedKeys: any[];
|
|
17
|
+
setExpandedKeys: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
18
|
+
};
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
export declare const getSchemaDepartments: () => {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
actions: {
|
|
5
|
+
type: string;
|
|
6
|
+
'x-component': string;
|
|
7
|
+
'x-component-props': {
|
|
8
|
+
style: {
|
|
9
|
+
marginBottom: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
properties: {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
type: string;
|
|
15
|
+
title: string;
|
|
16
|
+
'x-action': string;
|
|
17
|
+
'x-component': string;
|
|
18
|
+
'x-use-component-props': string;
|
|
19
|
+
'x-component-props': {
|
|
20
|
+
icon: string;
|
|
21
|
+
};
|
|
22
|
+
'x-align': string;
|
|
23
|
+
properties?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
type: string;
|
|
26
|
+
'x-component': string;
|
|
27
|
+
properties: {
|
|
28
|
+
remove: {
|
|
29
|
+
type: string;
|
|
30
|
+
title: string;
|
|
31
|
+
'x-component': string;
|
|
32
|
+
'x-component-props': {
|
|
33
|
+
icon: string;
|
|
34
|
+
confirm: {
|
|
35
|
+
title: string;
|
|
36
|
+
content: string;
|
|
37
|
+
};
|
|
38
|
+
style: {
|
|
39
|
+
marginRight: number;
|
|
40
|
+
};
|
|
41
|
+
useAction: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
create: {
|
|
45
|
+
type: string;
|
|
46
|
+
title: string;
|
|
47
|
+
'x-component': string;
|
|
48
|
+
'x-component-props': {
|
|
49
|
+
type: string;
|
|
50
|
+
icon: string;
|
|
51
|
+
};
|
|
52
|
+
properties: {
|
|
53
|
+
drawer: {
|
|
54
|
+
type: string;
|
|
55
|
+
'x-component': string;
|
|
56
|
+
'x-decorator': string;
|
|
57
|
+
title: string;
|
|
58
|
+
properties: {
|
|
59
|
+
table: {
|
|
60
|
+
type: string;
|
|
61
|
+
'x-decorator': string;
|
|
62
|
+
'x-component': string;
|
|
63
|
+
'x-component-props': {
|
|
64
|
+
useDataSource: string;
|
|
65
|
+
useDisabled: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
footer: {
|
|
69
|
+
type: string;
|
|
70
|
+
'x-component': string;
|
|
71
|
+
properties: {
|
|
72
|
+
cancel: {
|
|
73
|
+
title: string;
|
|
74
|
+
'x-component': string;
|
|
75
|
+
'x-component-props': {
|
|
76
|
+
useAction: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
submit: {
|
|
80
|
+
title: string;
|
|
81
|
+
'x-component': string;
|
|
82
|
+
'x-component-props': {
|
|
83
|
+
type: string;
|
|
84
|
+
useAction: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
title?: undefined;
|
|
95
|
+
'x-action'?: undefined;
|
|
96
|
+
'x-use-component-props'?: undefined;
|
|
97
|
+
'x-component-props'?: undefined;
|
|
98
|
+
'x-align'?: undefined;
|
|
99
|
+
};
|
|
100
|
+
actions: {
|
|
101
|
+
type: string;
|
|
102
|
+
'x-component': string;
|
|
103
|
+
properties: {
|
|
104
|
+
remove: {
|
|
105
|
+
type: string;
|
|
106
|
+
title: string;
|
|
107
|
+
'x-component': string;
|
|
108
|
+
'x-component-props': {
|
|
109
|
+
icon: string;
|
|
110
|
+
confirm: {
|
|
111
|
+
title: string;
|
|
112
|
+
content: string;
|
|
113
|
+
};
|
|
114
|
+
style: {
|
|
115
|
+
marginRight: number;
|
|
116
|
+
};
|
|
117
|
+
useAction: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
create: {
|
|
121
|
+
type: string;
|
|
122
|
+
title: string;
|
|
123
|
+
'x-component': string;
|
|
124
|
+
'x-component-props': {
|
|
125
|
+
type: string;
|
|
126
|
+
icon: string;
|
|
127
|
+
};
|
|
128
|
+
properties: {
|
|
129
|
+
drawer: {
|
|
130
|
+
type: string;
|
|
131
|
+
'x-component': string;
|
|
132
|
+
'x-decorator': string;
|
|
133
|
+
title: string;
|
|
134
|
+
properties: {
|
|
135
|
+
table: {
|
|
136
|
+
type: string;
|
|
137
|
+
'x-decorator': string;
|
|
138
|
+
'x-component': string;
|
|
139
|
+
'x-component-props': {
|
|
140
|
+
useDataSource: string;
|
|
141
|
+
useDisabled: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
footer: {
|
|
145
|
+
type: string;
|
|
146
|
+
'x-component': string;
|
|
147
|
+
properties: {
|
|
148
|
+
cancel: {
|
|
149
|
+
title: string;
|
|
150
|
+
'x-component': string;
|
|
151
|
+
'x-component-props': {
|
|
152
|
+
useAction: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
submit: {
|
|
156
|
+
title: string;
|
|
157
|
+
'x-component': string;
|
|
158
|
+
'x-component-props': {
|
|
159
|
+
type: string;
|
|
160
|
+
useAction: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
table: {
|
|
174
|
+
type: string;
|
|
175
|
+
'x-component': string;
|
|
176
|
+
'x-component-props': {
|
|
177
|
+
rowKey: string;
|
|
178
|
+
rowSelection: {
|
|
179
|
+
type: string;
|
|
180
|
+
};
|
|
181
|
+
useDataSource: string;
|
|
182
|
+
};
|
|
183
|
+
properties: {
|
|
184
|
+
title: {
|
|
185
|
+
type: string;
|
|
186
|
+
title: string;
|
|
187
|
+
'x-decorator': string;
|
|
188
|
+
'x-component': string;
|
|
189
|
+
properties: {
|
|
190
|
+
title: {
|
|
191
|
+
type: string;
|
|
192
|
+
'x-component': string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
actions: {
|
|
197
|
+
type: string;
|
|
198
|
+
title: string;
|
|
199
|
+
'x-component': string;
|
|
200
|
+
properties: {
|
|
201
|
+
actions: {
|
|
202
|
+
type: string;
|
|
203
|
+
'x-component': string;
|
|
204
|
+
'x-component-props': {
|
|
205
|
+
split: string;
|
|
206
|
+
};
|
|
207
|
+
properties: {
|
|
208
|
+
remove: {
|
|
209
|
+
type: string;
|
|
210
|
+
title: string;
|
|
211
|
+
'x-component': string;
|
|
212
|
+
'x-component-props': {
|
|
213
|
+
confirm: {
|
|
214
|
+
title: string;
|
|
215
|
+
content: string;
|
|
216
|
+
};
|
|
217
|
+
useAction: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const useDataSource: (props: any) => {
|
|
2
|
+
defaultRequest: {
|
|
3
|
+
resource: string;
|
|
4
|
+
action: string;
|
|
5
|
+
params: {
|
|
6
|
+
appends: string[];
|
|
7
|
+
sort: string[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
state: any;
|
|
11
|
+
setState: import("ahooks/lib/useSetState").SetState<{}>;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
data?: {
|
|
14
|
+
appends: string[];
|
|
15
|
+
sort: string[];
|
|
16
|
+
};
|
|
17
|
+
error?: Error;
|
|
18
|
+
params: any;
|
|
19
|
+
cancel: import("ahooks/es/useRequest/src/Fetch").default<TData, TParams>["cancel"];
|
|
20
|
+
refresh: import("ahooks/es/useRequest/src/Fetch").default<TData, TParams>["refresh"];
|
|
21
|
+
refreshAsync: () => Promise<{
|
|
22
|
+
appends: string[];
|
|
23
|
+
sort: string[];
|
|
24
|
+
}>;
|
|
25
|
+
run: (...params: any) => void;
|
|
26
|
+
runAsync: (...params: any) => Promise<{
|
|
27
|
+
appends: string[];
|
|
28
|
+
sort: string[];
|
|
29
|
+
}>;
|
|
30
|
+
mutate: (data?: {
|
|
31
|
+
appends: string[];
|
|
32
|
+
sort: string[];
|
|
33
|
+
} | ((oldData?: {
|
|
34
|
+
appends: string[];
|
|
35
|
+
sort: string[];
|
|
36
|
+
}) => {
|
|
37
|
+
appends: string[];
|
|
38
|
+
sort: string[];
|
|
39
|
+
})) => void;
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDepartmentStr: (department: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getUserListByDepartment: (api: any, departmentId: string) => Promise<any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useEmbedToken(): string;
|