@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
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@tachybase/client';
|
|
2
|
+
export declare class AssociatedFieldInterface extends CollectionFieldInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
group: string;
|
|
6
|
+
order: number;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
isAssociation: boolean;
|
|
10
|
+
default: {
|
|
11
|
+
type: string;
|
|
12
|
+
uiSchema: {
|
|
13
|
+
'x-component': string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
availableTypes: string[];
|
|
17
|
+
properties: {
|
|
18
|
+
'uiSchema.x-component-props.collection': {
|
|
19
|
+
type: string;
|
|
20
|
+
title: string;
|
|
21
|
+
'x-decorator': string;
|
|
22
|
+
'x-component': string;
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
multiple: boolean;
|
|
25
|
+
};
|
|
26
|
+
enum: string;
|
|
27
|
+
required: boolean;
|
|
28
|
+
};
|
|
29
|
+
'uiSchema.x-component-props.sourceCollection': {
|
|
30
|
+
type: string;
|
|
31
|
+
title: string;
|
|
32
|
+
'x-decorator': string;
|
|
33
|
+
'x-component': string;
|
|
34
|
+
'x-component-props': {
|
|
35
|
+
multiple: boolean;
|
|
36
|
+
};
|
|
37
|
+
enum: string;
|
|
38
|
+
required: boolean;
|
|
39
|
+
};
|
|
40
|
+
'uiSchema.x-component-props.sourceField': {
|
|
41
|
+
type: string;
|
|
42
|
+
title: string;
|
|
43
|
+
'x-component': string;
|
|
44
|
+
'x-decorator': string;
|
|
45
|
+
required: boolean;
|
|
46
|
+
};
|
|
47
|
+
'uiSchema.x-component-props.fieldExp': {
|
|
48
|
+
type: string;
|
|
49
|
+
title: string;
|
|
50
|
+
required: boolean;
|
|
51
|
+
'x-component': string;
|
|
52
|
+
'x-decorator': string;
|
|
53
|
+
'x-component-props': {
|
|
54
|
+
useCurrentFields: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
'uiSchema.x-component-props.dateFieldExp': {
|
|
58
|
+
type: string;
|
|
59
|
+
title: string;
|
|
60
|
+
required: boolean;
|
|
61
|
+
'x-component': string;
|
|
62
|
+
'x-decorator': string;
|
|
63
|
+
'x-component-props': {
|
|
64
|
+
useCurrentFields: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
target: {
|
|
68
|
+
type: string;
|
|
69
|
+
title: string;
|
|
70
|
+
'x-decorator': string;
|
|
71
|
+
'x-component': string;
|
|
72
|
+
'x-component-props': {
|
|
73
|
+
multiple: boolean;
|
|
74
|
+
};
|
|
75
|
+
enum: string;
|
|
76
|
+
required: boolean;
|
|
77
|
+
'x-display': string;
|
|
78
|
+
'x-reactions': {
|
|
79
|
+
dependencies: string[];
|
|
80
|
+
fulfill: {
|
|
81
|
+
state: {
|
|
82
|
+
value: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}[];
|
|
86
|
+
};
|
|
87
|
+
targetKey: {
|
|
88
|
+
type: string;
|
|
89
|
+
title: string;
|
|
90
|
+
required: boolean;
|
|
91
|
+
default: string;
|
|
92
|
+
'x-display': string;
|
|
93
|
+
'x-decorator': string;
|
|
94
|
+
'x-component': string;
|
|
95
|
+
};
|
|
96
|
+
'uiSchema.title': {
|
|
97
|
+
type: string;
|
|
98
|
+
title: string;
|
|
99
|
+
required: boolean;
|
|
100
|
+
"x-decorator": string;
|
|
101
|
+
"x-component": string;
|
|
102
|
+
};
|
|
103
|
+
name: {
|
|
104
|
+
type: string;
|
|
105
|
+
title: string;
|
|
106
|
+
required: boolean;
|
|
107
|
+
"x-disabled": string;
|
|
108
|
+
"x-decorator": string;
|
|
109
|
+
"x-component": string;
|
|
110
|
+
"x-validator": string;
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
filterable: {
|
|
115
|
+
nested: boolean;
|
|
116
|
+
children: any[];
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@tachybase/client';
|
|
2
|
+
export declare class CalcFieldInterface extends CollectionFieldInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
group: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
sortable: boolean;
|
|
9
|
+
default: {
|
|
10
|
+
type: string;
|
|
11
|
+
uiSchema: {
|
|
12
|
+
type: string;
|
|
13
|
+
'x-component': string;
|
|
14
|
+
'x-component-props': {
|
|
15
|
+
formula: string;
|
|
16
|
+
prefix: string;
|
|
17
|
+
suffix: string;
|
|
18
|
+
decimal: string;
|
|
19
|
+
panel: string;
|
|
20
|
+
};
|
|
21
|
+
'x-read-pretty': boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
properties: {
|
|
25
|
+
dataType: {
|
|
26
|
+
type: string;
|
|
27
|
+
title: string;
|
|
28
|
+
'x-decorator': string;
|
|
29
|
+
'x-component': string;
|
|
30
|
+
enum: {
|
|
31
|
+
value: string;
|
|
32
|
+
label: string;
|
|
33
|
+
}[];
|
|
34
|
+
required: boolean;
|
|
35
|
+
default: string;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
38
|
+
'uiSchema.x-component-props.formula': {
|
|
39
|
+
type: string;
|
|
40
|
+
title: string;
|
|
41
|
+
'x-decorator': string;
|
|
42
|
+
'x-component': string;
|
|
43
|
+
default: string;
|
|
44
|
+
required: boolean;
|
|
45
|
+
'x-reactions': {
|
|
46
|
+
dependencies: string[];
|
|
47
|
+
fulfill: {
|
|
48
|
+
state: {
|
|
49
|
+
display: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
'uiSchema.x-component-props.panel': {
|
|
55
|
+
type: string;
|
|
56
|
+
title: string;
|
|
57
|
+
'x-decorator': string;
|
|
58
|
+
'x-component': string;
|
|
59
|
+
description: string;
|
|
60
|
+
required: boolean;
|
|
61
|
+
'x-reactions': {
|
|
62
|
+
dependencies: string[];
|
|
63
|
+
fulfill: {
|
|
64
|
+
state: {
|
|
65
|
+
display: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
}[];
|
|
69
|
+
};
|
|
70
|
+
'uiSchema.x-component-props.prefix': {
|
|
71
|
+
type: string;
|
|
72
|
+
title: string;
|
|
73
|
+
'x-decorator': string;
|
|
74
|
+
'x-component': string;
|
|
75
|
+
};
|
|
76
|
+
'uiSchema.x-component-props.suffix': {
|
|
77
|
+
type: string;
|
|
78
|
+
title: string;
|
|
79
|
+
'x-decorator': string;
|
|
80
|
+
'x-component': string;
|
|
81
|
+
};
|
|
82
|
+
'uiSchema.x-component-props.decimal': {
|
|
83
|
+
type: string;
|
|
84
|
+
title: string;
|
|
85
|
+
'x-component': string;
|
|
86
|
+
'x-decorator': string;
|
|
87
|
+
required: boolean;
|
|
88
|
+
default: string;
|
|
89
|
+
enum: {
|
|
90
|
+
value: string;
|
|
91
|
+
label: string;
|
|
92
|
+
}[];
|
|
93
|
+
'x-reactions': {
|
|
94
|
+
dependencies: string[];
|
|
95
|
+
fulfill: {
|
|
96
|
+
state: {
|
|
97
|
+
display: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}[];
|
|
101
|
+
};
|
|
102
|
+
'uiSchema.title': {
|
|
103
|
+
type: string;
|
|
104
|
+
title: string;
|
|
105
|
+
required: boolean;
|
|
106
|
+
"x-decorator": string;
|
|
107
|
+
"x-component": string;
|
|
108
|
+
};
|
|
109
|
+
name: {
|
|
110
|
+
type: string;
|
|
111
|
+
title: string;
|
|
112
|
+
required: boolean;
|
|
113
|
+
"x-disabled": string;
|
|
114
|
+
"x-decorator": string;
|
|
115
|
+
"x-component": string;
|
|
116
|
+
"x-validator": string;
|
|
117
|
+
description: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@tachybase/client';
|
|
2
|
+
export declare class CustomAssociatedFieldInterface extends CollectionFieldInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
group: string;
|
|
6
|
+
order: number;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
isAssociation: boolean;
|
|
10
|
+
default: {
|
|
11
|
+
type: string;
|
|
12
|
+
uiSchema: {
|
|
13
|
+
'x-component': string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
availableTypes: string[];
|
|
17
|
+
properties: {
|
|
18
|
+
'uiSchema.x-component-props.component': {
|
|
19
|
+
type: string;
|
|
20
|
+
title: string;
|
|
21
|
+
'x-decorator': string;
|
|
22
|
+
'x-component': string;
|
|
23
|
+
enum: string;
|
|
24
|
+
required: boolean;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
target: {
|
|
28
|
+
type: string;
|
|
29
|
+
title: string;
|
|
30
|
+
'x-decorator': string;
|
|
31
|
+
'x-component': string;
|
|
32
|
+
'x-component-props': {
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
};
|
|
35
|
+
enum: string;
|
|
36
|
+
required: boolean;
|
|
37
|
+
};
|
|
38
|
+
targetKey: {
|
|
39
|
+
type: string;
|
|
40
|
+
title: string;
|
|
41
|
+
required: boolean;
|
|
42
|
+
default: string;
|
|
43
|
+
'x-display': string;
|
|
44
|
+
'x-decorator': string;
|
|
45
|
+
'x-component': string;
|
|
46
|
+
};
|
|
47
|
+
'uiSchema.title': {
|
|
48
|
+
type: string;
|
|
49
|
+
title: string;
|
|
50
|
+
required: boolean;
|
|
51
|
+
"x-decorator": string;
|
|
52
|
+
"x-component": string;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
type: string;
|
|
56
|
+
title: string;
|
|
57
|
+
required: boolean;
|
|
58
|
+
"x-disabled": string;
|
|
59
|
+
"x-decorator": string;
|
|
60
|
+
"x-component": string;
|
|
61
|
+
"x-validator": string;
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
filterable: {
|
|
66
|
+
nested: boolean;
|
|
67
|
+
children: any[];
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@tachybase/client';
|
|
2
|
+
export declare class CustomFieldInterface extends CollectionFieldInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
group: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
sortable: boolean;
|
|
9
|
+
default: {
|
|
10
|
+
type: string;
|
|
11
|
+
uiSchema: {
|
|
12
|
+
type: string;
|
|
13
|
+
'x-component': string;
|
|
14
|
+
'x-read-pretty': boolean;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
properties: {
|
|
18
|
+
'uiSchema.x-component-props.component': {
|
|
19
|
+
type: string;
|
|
20
|
+
title: string;
|
|
21
|
+
'x-decorator': string;
|
|
22
|
+
'x-component': string;
|
|
23
|
+
enum: string;
|
|
24
|
+
required: boolean;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
'uiSchema.title': {
|
|
28
|
+
type: string;
|
|
29
|
+
title: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
"x-decorator": string;
|
|
32
|
+
"x-component": string;
|
|
33
|
+
};
|
|
34
|
+
name: {
|
|
35
|
+
type: string;
|
|
36
|
+
title: string;
|
|
37
|
+
required: boolean;
|
|
38
|
+
"x-disabled": string;
|
|
39
|
+
"x-decorator": string;
|
|
40
|
+
"x-component": string;
|
|
41
|
+
"x-validator": string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@tachybase/client';
|
|
2
|
+
export declare class ExcelFieldInterface extends CollectionFieldInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
group: string;
|
|
6
|
+
order: number;
|
|
7
|
+
title: string;
|
|
8
|
+
sortable: boolean;
|
|
9
|
+
default: {
|
|
10
|
+
interface: string;
|
|
11
|
+
type: string;
|
|
12
|
+
uiSchema: {
|
|
13
|
+
type: string;
|
|
14
|
+
'x-component': string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
availableTypes: string[];
|
|
18
|
+
hasDefaultValue: boolean;
|
|
19
|
+
properties: {
|
|
20
|
+
'uiSchema.title': {
|
|
21
|
+
type: string;
|
|
22
|
+
title: string;
|
|
23
|
+
required: boolean;
|
|
24
|
+
"x-decorator": string;
|
|
25
|
+
"x-component": string;
|
|
26
|
+
};
|
|
27
|
+
name: {
|
|
28
|
+
type: string;
|
|
29
|
+
title: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
"x-disabled": string;
|
|
32
|
+
"x-decorator": string;
|
|
33
|
+
"x-component": string;
|
|
34
|
+
"x-validator": string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@tachybase/client';
|
|
2
|
+
export declare class SignaturePadFieldInterface extends CollectionFieldInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
group: string;
|
|
6
|
+
order: number;
|
|
7
|
+
title: string;
|
|
8
|
+
sortable: boolean;
|
|
9
|
+
default: {
|
|
10
|
+
interface: string;
|
|
11
|
+
type: string;
|
|
12
|
+
uiSchema: {
|
|
13
|
+
type: string;
|
|
14
|
+
'x-component': string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
availableTypes: string[];
|
|
18
|
+
hasDefaultValue: boolean;
|
|
19
|
+
properties: {
|
|
20
|
+
'uiSchema.title': {
|
|
21
|
+
type: string;
|
|
22
|
+
title: string;
|
|
23
|
+
required: boolean;
|
|
24
|
+
"x-decorator": string;
|
|
25
|
+
"x-component": string;
|
|
26
|
+
};
|
|
27
|
+
name: {
|
|
28
|
+
type: string;
|
|
29
|
+
title: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
"x-disabled": string;
|
|
32
|
+
"x-decorator": string;
|
|
33
|
+
"x-component": string;
|
|
34
|
+
"x-validator": string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CollectionFieldInterface } from '@tachybase/client';
|
|
2
|
+
export declare class TstzrangeFieldInterface extends CollectionFieldInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
group: string;
|
|
6
|
+
order: number;
|
|
7
|
+
title: string;
|
|
8
|
+
sortable: boolean;
|
|
9
|
+
default: {
|
|
10
|
+
type: string;
|
|
11
|
+
uiSchema: {
|
|
12
|
+
type: string;
|
|
13
|
+
'x-component': string;
|
|
14
|
+
'x-component-props': {
|
|
15
|
+
utc: boolean;
|
|
16
|
+
valueType: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
availableTypes: string[];
|
|
21
|
+
hasDefaultValue: boolean;
|
|
22
|
+
properties: {
|
|
23
|
+
'uiSchema.title': {
|
|
24
|
+
type: string;
|
|
25
|
+
title: string;
|
|
26
|
+
required: boolean;
|
|
27
|
+
"x-decorator": string;
|
|
28
|
+
"x-component": string;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
type: string;
|
|
32
|
+
title: string;
|
|
33
|
+
required: boolean;
|
|
34
|
+
"x-disabled": string;
|
|
35
|
+
"x-decorator": string;
|
|
36
|
+
"x-component": string;
|
|
37
|
+
"x-validator": string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Application } from '@tachybase/client';
|
|
2
|
+
export declare class Locale {
|
|
3
|
+
private app;
|
|
4
|
+
constructor(app: Application);
|
|
5
|
+
lang(key: string): string;
|
|
6
|
+
}
|
|
7
|
+
export declare const useTranslation: () => any;
|
|
8
|
+
export declare const tval: (key: string) => string;
|
|
9
|
+
export declare function lang(key: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './blocks/SettingBlockInitializer';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { dayjs } from '@tachybase/utils/client';
|
|
3
|
+
export declare const useCustomPresets1: () => "{{ useCustomPresets1() }}" | ({
|
|
4
|
+
label: any;
|
|
5
|
+
value: dayjs.Dayjs[];
|
|
6
|
+
} | {
|
|
7
|
+
label: any;
|
|
8
|
+
value: () => dayjs.Dayjs[];
|
|
9
|
+
})[];
|
|
10
|
+
export declare const useCustomPresets: (name: string) => string;
|
|
11
|
+
export declare const SchemaSettingsDatePresets: React.FC;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
"@tachybase/client": "0.23.8",
|
|
3
|
+
"@tachybase/components": "0.23.8",
|
|
4
|
+
"@tachybase/server": "0.23.8",
|
|
5
|
+
"react": "18.3.1",
|
|
6
|
+
"@tachybase/schema": "0.23.8",
|
|
7
|
+
"@ant-design/icons": "5.3.7",
|
|
8
|
+
"antd": "5.22.5",
|
|
9
|
+
"lodash": "4.17.21",
|
|
10
|
+
"@tachybase/utils": "0.23.8",
|
|
11
|
+
"ahooks": "3.8.4",
|
|
12
|
+
"react-router-dom": "6.28.1",
|
|
13
|
+
"@tachybase/actions": "0.23.8",
|
|
14
|
+
"axios": "1.7.9",
|
|
15
|
+
"@tachybase/database": "0.23.8",
|
|
16
|
+
"@tachybase/module-collection": "0.23.8",
|
|
17
|
+
"@tachybase/evaluators": "0.23.8",
|
|
18
|
+
"react-dom": "18.3.1",
|
|
19
|
+
"@tachybase/module-acl": "0.23.8",
|
|
20
|
+
"dayjs": "1.11.13"
|
|
21
|
+
};
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var src_exports = {};
|
|
30
|
+
__export(src_exports, {
|
|
31
|
+
default: () => import_server.default
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(src_exports);
|
|
34
|
+
__reExport(src_exports, require("./server"), module.exports);
|
|
35
|
+
var import_server = __toESM(require("./server"));
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
...require("./server")
|
|
39
|
+
});
|