@tachybase/module-hera 1.9.22 → 1.9.40
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/dist/client/index.js +15 -26
- package/dist/externalVersion.js +8 -10
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/server/actions/index.d.ts +0 -2
- package/dist/server/actions/index.js +1 -5
- package/dist/server/migrations/20250102010713-add-plugin-department.d.ts +6 -0
- package/dist/server/{middlewares/set-department-owners.js → migrations/20250102010713-add-plugin-department.js} +22 -41
- package/dist/server/plugin.js +0 -2
- package/package.json +14 -14
- package/dist/client/features/departments/common/DepartmentTable.schema.d.ts +0 -50
- package/dist/client/features/departments/common/DepartmentTable.view.d.ts +0 -4
- package/dist/client/features/departments/common/FilterKeys.context.d.ts +0 -10
- package/dist/client/features/departments/common/InternalDepartmentTable.d.ts +0 -5
- package/dist/client/features/departments/common/Request.povider.d.ts +0 -1
- package/dist/client/features/departments/common/UserDepartmentsFieldNotSupport.d.ts +0 -2
- package/dist/client/features/departments/common/scopes/useDepartmentFilterActionProps.d.ts +0 -5
- package/dist/client/features/departments/common/scopes/useFilterActionProps.d.ts +0 -5
- package/dist/client/features/departments/index.d.ts +0 -5
- package/dist/client/features/departments/main-tab/DepartmentIndex.d.ts +0 -5
- package/dist/client/features/departments/main-tab/DepartmentIndex.provider.d.ts +0 -3
- package/dist/client/features/departments/main-tab/DepartmentManagement.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/DepartmentManagement.schema.d.ts +0 -10
- package/dist/client/features/departments/main-tab/DepartmentManagement.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/collections/departments.collection.d.ts +0 -128
- package/dist/client/features/departments/main-tab/collections/users.collection.d.ts +0 -189
- package/dist/client/features/departments/main-tab/components/DepartmentSelect.d.ts +0 -1
- package/dist/client/features/departments/main-tab/components/InternalSuperiorDepartmentSelect.d.ts +0 -1
- package/dist/client/features/departments/main-tab/components/SuperiorDepartmentSelect.d.ts +0 -1
- package/dist/client/features/departments/main-tab/context/Department.context.d.ts +0 -23
- package/dist/client/features/departments/main-tab/context/DepartmentsExpanded.context.d.ts +0 -17
- package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.schema.d.ts +0 -67
- package/dist/client/features/departments/main-tab/departments-block/AddNewDepartment.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/DepartmentOwnersField.component.d.ts +0 -5
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsBlock.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsSearch.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/DepartmentsTree.component.d.ts +0 -8
- package/dist/client/features/departments/main-tab/departments-block/Request.provider.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/UnknownOwerns.schema.d.ts +0 -136
- package/dist/client/features/departments/main-tab/departments-block/UnknownOwerns.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-block/schemas/schemaDepartmentEdit.d.ts +0 -62
- package/dist/client/features/departments/main-tab/departments-block/schemas/schemaDepartmentNewSub.d.ts +0 -57
- package/dist/client/features/departments/main-tab/departments-block/scopes/useCreateDepartment.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-block/scopes/useUpdateDepartment.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.schema.d.ts +0 -148
- package/dist/client/features/departments/main-tab/departments-users-block/AddMembers.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentField.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentsUsersBlock.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/DepartmentsUsersBlock.schema.d.ts +0 -676
- package/dist/client/features/departments/main-tab/departments-users-block/IsOwnerField.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/MemberActions.schema.d.ts +0 -49
- package/dist/client/features/departments/main-tab/departments-users-block/MemberActions.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/RowRemoveAction.schema.d.ts +0 -16
- package/dist/client/features/departments/main-tab/departments-users-block/RowRemoveAction.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/UserDepartmentsField.component.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/UserSelectDepartment.schema.d.ts +0 -42
- package/dist/client/features/departments/main-tab/departments-users-block/UserSelectDepartment.view.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useBulkRemoveMembersAction.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useDataSource.d.ts +0 -40
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useMembersDataSource.d.ts +0 -6
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/usePropsAddMember.d.ts +0 -1
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useRefreshActionProps.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useRemoveMemberAction.d.ts +0 -3
- package/dist/client/features/departments/main-tab/departments-users-block/scopes/useShowTotal.d.ts +0 -1
- package/dist/client/features/departments/main-tab/hooks/useDeepTree.d.ts +0 -14
- package/dist/client/features/departments/main-tab/hooks/useGetDepTree.d.ts +0 -18
- package/dist/client/features/departments/main-tab/kit.d.ts +0 -4
- package/dist/client/features/departments/main-tab/providers/DepartmentsResource.provider.d.ts +0 -3
- package/dist/client/features/departments/main-tab/providers/UserResource.provider.d.ts +0 -3
- package/dist/client/features/departments/role-auth/DepartmentTitle.component.d.ts +0 -1
- package/dist/client/features/departments/role-auth/Departments.d.ts +0 -1
- package/dist/client/features/departments/role-auth/Departments.schema.d.ts +0 -227
- package/dist/client/features/departments/role-auth/kit.d.ts +0 -4
- package/dist/client/features/departments/role-auth/scopes/useAddDepartments.d.ts +0 -3
- package/dist/client/features/departments/role-auth/scopes/useBulkRemoveDepartments.d.ts +0 -3
- package/dist/client/features/departments/role-auth/scopes/useDataSource.d.ts +0 -40
- package/dist/client/features/departments/role-auth/scopes/useDisabled.d.ts +0 -3
- package/dist/client/features/departments/role-auth/scopes/useRemoveDepartment.d.ts +0 -3
- package/dist/client/features/departments/settings/DepartmentOwnersFieldSetting.d.ts +0 -2
- package/dist/client/features/departments/settings/UserDepartmentsFieldSetting.d.ts +0 -2
- package/dist/client/features/departments/settings/UserMainDepartmentFieldSetting.d.ts +0 -2
- package/dist/client/features/departments/settings/items/enableLinkItem.d.ts +0 -2
- package/dist/client/features/departments/settings/items/modeSelectItem.d.ts +0 -2
- package/dist/client/features/departments/settings/items/titleFieldItem.d.ts +0 -2
- package/dist/client/features/departments/utils/getDepartmentStr.d.ts +0 -1
- package/dist/client/features/departments/utils/getUserListByDepartment.d.ts +0 -1
- package/dist/server/actions/departments.d.ts +0 -5
- package/dist/server/actions/departments.js +0 -105
- package/dist/server/actions/users.d.ts +0 -4
- package/dist/server/actions/users.js +0 -142
- package/dist/server/collections/departmentRoles.d.ts +0 -2
- package/dist/server/collections/departmentRoles.js +0 -27
- package/dist/server/collections/departments.d.ts +0 -29
- package/dist/server/collections/departments.js +0 -162
- package/dist/server/collections/departmentsUsers.d.ts +0 -2
- package/dist/server/collections/departmentsUsers.js +0 -43
- package/dist/server/collections/roles.d.ts +0 -2
- package/dist/server/collections/roles.js +0 -39
- package/dist/server/collections/users.d.ts +0 -55
- package/dist/server/collections/users.js +0 -87
- package/dist/server/features/departments.d.ts +0 -7
- package/dist/server/features/departments.js +0 -132
- package/dist/server/middlewares/destroy-department-check.d.ts +0 -2
- package/dist/server/middlewares/destroy-department-check.js +0 -53
- package/dist/server/middlewares/index.d.ts +0 -6
- package/dist/server/middlewares/index.js +0 -31
- package/dist/server/middlewares/list-users-include-child-department.d.ts +0 -2
- package/dist/server/middlewares/list-users-include-child-department.js +0 -77
- package/dist/server/middlewares/reset-user-departments-cache.d.ts +0 -2
- package/dist/server/middlewares/reset-user-departments-cache.js +0 -39
- package/dist/server/middlewares/set-department-owners.d.ts +0 -2
- package/dist/server/middlewares/set-departments-roles.d.ts +0 -2
- package/dist/server/middlewares/set-departments-roles.js +0 -64
- package/dist/server/middlewares/set-main-department.d.ts +0 -2
- package/dist/server/middlewares/set-main-department.js +0 -105
- package/dist/server/middlewares/update-department-isleaf.d.ts +0 -2
- package/dist/server/middlewares/update-department-isleaf.js +0 -84
- package/dist/server/models/department.d.ts +0 -4
- package/dist/server/models/department.js +0 -38
package/dist/externalVersion.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "0.23.
|
|
3
|
-
"@tachybase/components": "0.23.
|
|
4
|
-
"@tachybase/server": "0.23.
|
|
2
|
+
"@tachybase/client": "0.23.40",
|
|
3
|
+
"@tachybase/components": "0.23.40",
|
|
4
|
+
"@tachybase/server": "0.23.40",
|
|
5
5
|
"react": "18.3.1",
|
|
6
|
-
"@tachybase/schema": "0.23.
|
|
6
|
+
"@tachybase/schema": "0.23.40",
|
|
7
7
|
"@ant-design/icons": "5.3.7",
|
|
8
8
|
"antd": "5.22.5",
|
|
9
9
|
"lodash": "4.17.21",
|
|
10
|
-
"@tachybase/utils": "0.23.
|
|
10
|
+
"@tachybase/utils": "0.23.40",
|
|
11
11
|
"ahooks": "3.8.4",
|
|
12
12
|
"react-router-dom": "6.28.1",
|
|
13
|
-
"@tachybase/actions": "0.23.
|
|
13
|
+
"@tachybase/actions": "0.23.40",
|
|
14
14
|
"axios": "1.7.7",
|
|
15
|
-
"@tachybase/database": "0.23.
|
|
16
|
-
"@tachybase/
|
|
17
|
-
"@tachybase/evaluators": "0.23.22",
|
|
15
|
+
"@tachybase/database": "0.23.40",
|
|
16
|
+
"@tachybase/evaluators": "0.23.40",
|
|
18
17
|
"react-dom": "18.3.1",
|
|
19
|
-
"@tachybase/module-acl": "0.23.22",
|
|
20
18
|
"dayjs": "1.11.13"
|
|
21
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"fs-extra","version":"11.2.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=14.14"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^10.1.0","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^17.0.0"},"main":"./lib/index.js","exports":{".":"./lib/index.js","./esm":"./lib/esm.mjs"},"files":["lib/","!lib/**/__tests__/"],"scripts":{"lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit && npm run unit-esm","unit":"nyc node test.js","unit-esm":"node test.mjs"},"sideEffects":false,"_lastModified":"
|
|
1
|
+
{"name":"fs-extra","version":"11.2.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=14.14"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^10.1.0","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^17.0.0"},"main":"./lib/index.js","exports":{".":"./lib/index.js","./esm":"./lib/esm.mjs"},"files":["lib/","!lib/**/__tests__/"],"scripts":{"lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit && npm run unit-esm","unit":"nyc node test.js","unit-esm":"node test.mjs"},"sideEffects":false,"_lastModified":"2025-01-18T18:52:58.007Z"}
|
|
@@ -19,15 +19,11 @@ __reExport(actions_exports, require("./token-configuration-controller"), module.
|
|
|
19
19
|
__reExport(actions_exports, require("./plugin-version"), module.exports);
|
|
20
20
|
__reExport(actions_exports, require("./link-manager-controller"), module.exports);
|
|
21
21
|
__reExport(actions_exports, require("./system-message-controller"), module.exports);
|
|
22
|
-
__reExport(actions_exports, require("./departments"), module.exports);
|
|
23
|
-
__reExport(actions_exports, require("./users"), module.exports);
|
|
24
22
|
// Annotate the CommonJS export names for ESM import in node:
|
|
25
23
|
0 && (module.exports = {
|
|
26
24
|
...require("./robot-controller"),
|
|
27
25
|
...require("./token-configuration-controller"),
|
|
28
26
|
...require("./plugin-version"),
|
|
29
27
|
...require("./link-manager-controller"),
|
|
30
|
-
...require("./system-message-controller")
|
|
31
|
-
...require("./departments"),
|
|
32
|
-
...require("./users")
|
|
28
|
+
...require("./system-message-controller")
|
|
33
29
|
});
|
|
@@ -25,50 +25,31 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
mod
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
var
|
|
29
|
-
__export(
|
|
30
|
-
|
|
28
|
+
var add_plugin_department_exports = {};
|
|
29
|
+
__export(add_plugin_department_exports, {
|
|
30
|
+
default: () => add_plugin_department_default
|
|
31
31
|
});
|
|
32
|
-
module.exports = __toCommonJS(
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
module.exports = __toCommonJS(add_plugin_department_exports);
|
|
33
|
+
var import_server = require("@tachybase/server");
|
|
34
|
+
var import_plugin = __toESM(require("../plugin"));
|
|
35
|
+
class add_plugin_department_default extends import_server.Migration {
|
|
36
|
+
on = "afterLoad";
|
|
37
|
+
// 'beforeLoad' or 'afterLoad'
|
|
38
|
+
appVersion = "<0.23.23";
|
|
39
|
+
async up() {
|
|
40
|
+
const plugin = this.app.pm.get(import_plugin.default);
|
|
41
|
+
if (!plugin.enabled) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
await this.pm.repository.update({
|
|
38
45
|
filter: {
|
|
39
|
-
|
|
46
|
+
packageName: "@tachybase/plugin-department"
|
|
40
47
|
},
|
|
41
48
|
values: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
installed: true,
|
|
50
|
+
enabled: true
|
|
51
|
+
}
|
|
45
52
|
});
|
|
46
|
-
|
|
47
|
-
filter: {
|
|
48
|
-
departmentId: filterByTk,
|
|
49
|
-
userId: {
|
|
50
|
-
$in: owners.map((owner) => owner.id)
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
values: {
|
|
54
|
-
isOwner: true
|
|
55
|
-
},
|
|
56
|
-
transaction: t
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
const setDepartmentOwners = async (ctx, next) => {
|
|
61
|
-
const { filterByTk, values = {}, resourceName, actionName } = ctx.action.params;
|
|
62
|
-
const { owners } = values;
|
|
63
|
-
if (resourceName === "departments" && actionName === "update" && owners) {
|
|
64
|
-
ctx.action.params.values = import_lodash.default.omit(values, ["owners"]);
|
|
65
|
-
await next();
|
|
66
|
-
await setOwners(ctx, filterByTk, owners);
|
|
67
|
-
} else {
|
|
68
|
-
return next();
|
|
53
|
+
this.app.logger.info("enable plugin-department success!");
|
|
69
54
|
}
|
|
70
|
-
}
|
|
71
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
72
|
-
0 && (module.exports = {
|
|
73
|
-
setDepartmentOwners
|
|
74
|
-
});
|
|
55
|
+
}
|
package/dist/server/plugin.js
CHANGED
|
@@ -77,7 +77,6 @@ __export(plugin_exports, {
|
|
|
77
77
|
module.exports = __toCommonJS(plugin_exports);
|
|
78
78
|
var import_server = require("@tachybase/server");
|
|
79
79
|
var import_actions = require("./actions");
|
|
80
|
-
var import_departments = require("./features/departments");
|
|
81
80
|
var import_calc = __toESM(require("./fields/calc"));
|
|
82
81
|
var import_tstzrange = __toESM(require("./fields/tstzrange"));
|
|
83
82
|
var _PluginCoreServer_decorators, _init, _a;
|
|
@@ -96,7 +95,6 @@ class PluginCoreServer extends (_a = import_server.Plugin) {
|
|
|
96
95
|
calc: import_calc.default,
|
|
97
96
|
tstzrange: import_tstzrange.default
|
|
98
97
|
});
|
|
99
|
-
this.addFeature(import_departments.DepartmentsPlugin);
|
|
100
98
|
}
|
|
101
99
|
async load() {
|
|
102
100
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/module-hera",
|
|
3
3
|
"displayName": "Hera platform - Deprecated",
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.40",
|
|
5
5
|
"description": "Hera platform - Deprecated",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"System management"
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"throttle-debounce": "^5.0.2",
|
|
42
42
|
"vitest": "^1.6.0",
|
|
43
43
|
"ws": "^8.18.0",
|
|
44
|
-
"@tachybase/components": "0.23.
|
|
45
|
-
"@tachybase/schema": "0.23.
|
|
44
|
+
"@tachybase/components": "0.23.40",
|
|
45
|
+
"@tachybase/schema": "0.23.40"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@tachybase/actions": "0.23.
|
|
49
|
-
"@tachybase/
|
|
50
|
-
"@tachybase/
|
|
51
|
-
"@tachybase/
|
|
52
|
-
"@tachybase/
|
|
53
|
-
"@tachybase/module-acl": "0.23.
|
|
54
|
-
"@tachybase/
|
|
55
|
-
"@tachybase/
|
|
56
|
-
"@tachybase/
|
|
57
|
-
"@tachybase/
|
|
58
|
-
"@tachybase/
|
|
48
|
+
"@tachybase/actions": "0.23.40",
|
|
49
|
+
"@tachybase/client": "0.23.40",
|
|
50
|
+
"@tachybase/database": "0.23.40",
|
|
51
|
+
"@tachybase/data-source": "0.23.40",
|
|
52
|
+
"@tachybase/evaluators": "0.23.40",
|
|
53
|
+
"@tachybase/module-acl": "0.23.40",
|
|
54
|
+
"@tachybase/schema": "0.23.40",
|
|
55
|
+
"@tachybase/module-workflow": "0.23.40",
|
|
56
|
+
"@tachybase/server": "0.23.40",
|
|
57
|
+
"@tachybase/test": "0.23.40",
|
|
58
|
+
"@tachybase/utils": "0.23.40"
|
|
59
59
|
},
|
|
60
60
|
"description.zh-CN": "赫拉平台(已废弃)",
|
|
61
61
|
"displayName.zh-CN": "赫拉平台",
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export declare const getSchemaDepartmentTable: (params: any) => {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
[x: string]: {
|
|
5
|
-
type: string;
|
|
6
|
-
'x-component': string;
|
|
7
|
-
'x-component-props': {
|
|
8
|
-
useDataSource: any;
|
|
9
|
-
};
|
|
10
|
-
properties: {
|
|
11
|
-
actions: {
|
|
12
|
-
type: string;
|
|
13
|
-
'x-component': string;
|
|
14
|
-
'x-component-props': {
|
|
15
|
-
style: {
|
|
16
|
-
marginBottom: number;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
properties: {
|
|
20
|
-
filter: {
|
|
21
|
-
type: string;
|
|
22
|
-
title: string;
|
|
23
|
-
default: {
|
|
24
|
-
$and: {
|
|
25
|
-
title: {
|
|
26
|
-
$includes: string;
|
|
27
|
-
};
|
|
28
|
-
}[];
|
|
29
|
-
};
|
|
30
|
-
'x-action': string;
|
|
31
|
-
'x-component': string;
|
|
32
|
-
'x-use-component-props': string;
|
|
33
|
-
'x-component-props': {
|
|
34
|
-
icon: string;
|
|
35
|
-
};
|
|
36
|
-
'x-align': string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
departments: {
|
|
41
|
-
type: string;
|
|
42
|
-
'x-component': string;
|
|
43
|
-
'x-component-props': {
|
|
44
|
-
useDisabled: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface FilterKeysContextProps {
|
|
3
|
-
expandedKeys: any[];
|
|
4
|
-
setExpandedKeys: any;
|
|
5
|
-
hasFilter: any;
|
|
6
|
-
setHasFilter: any;
|
|
7
|
-
}
|
|
8
|
-
export declare const ProviderContextFilterKeys: React.Provider<Partial<FilterKeysContextProps>>;
|
|
9
|
-
export declare function useContextFilterKeys(): Partial<FilterKeysContextProps>;
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ProviderRequest: (prop: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DepartmentManagement: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ViewDepartmentManagement: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
export declare const collectionDepartments: {
|
|
2
|
-
name: string;
|
|
3
|
-
fields: ({
|
|
4
|
-
interface: string;
|
|
5
|
-
type: string;
|
|
6
|
-
name: string;
|
|
7
|
-
primaryKey: boolean;
|
|
8
|
-
autoIncrement: boolean;
|
|
9
|
-
uiSchema: {
|
|
10
|
-
type: string;
|
|
11
|
-
title: string;
|
|
12
|
-
'x-component'?: undefined;
|
|
13
|
-
required?: undefined;
|
|
14
|
-
'x-component-props'?: undefined;
|
|
15
|
-
};
|
|
16
|
-
collectionName?: undefined;
|
|
17
|
-
foreignKey?: undefined;
|
|
18
|
-
target?: undefined;
|
|
19
|
-
targetKey?: undefined;
|
|
20
|
-
treeParent?: undefined;
|
|
21
|
-
through?: undefined;
|
|
22
|
-
otherKey?: undefined;
|
|
23
|
-
sourceKey?: undefined;
|
|
24
|
-
scope?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
interface: string;
|
|
27
|
-
type: string;
|
|
28
|
-
name: string;
|
|
29
|
-
uiSchema: {
|
|
30
|
-
type: string;
|
|
31
|
-
title: string;
|
|
32
|
-
'x-component': string;
|
|
33
|
-
required: boolean;
|
|
34
|
-
'x-component-props'?: undefined;
|
|
35
|
-
};
|
|
36
|
-
primaryKey?: undefined;
|
|
37
|
-
autoIncrement?: undefined;
|
|
38
|
-
collectionName?: undefined;
|
|
39
|
-
foreignKey?: undefined;
|
|
40
|
-
target?: undefined;
|
|
41
|
-
targetKey?: undefined;
|
|
42
|
-
treeParent?: undefined;
|
|
43
|
-
through?: undefined;
|
|
44
|
-
otherKey?: undefined;
|
|
45
|
-
sourceKey?: undefined;
|
|
46
|
-
scope?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
interface: string;
|
|
49
|
-
type: string;
|
|
50
|
-
name: string;
|
|
51
|
-
collectionName: string;
|
|
52
|
-
foreignKey: string;
|
|
53
|
-
target: string;
|
|
54
|
-
targetKey: string;
|
|
55
|
-
treeParent: boolean;
|
|
56
|
-
uiSchema: {
|
|
57
|
-
title: string;
|
|
58
|
-
'x-component': string;
|
|
59
|
-
type?: undefined;
|
|
60
|
-
required?: undefined;
|
|
61
|
-
'x-component-props'?: undefined;
|
|
62
|
-
};
|
|
63
|
-
primaryKey?: undefined;
|
|
64
|
-
autoIncrement?: undefined;
|
|
65
|
-
through?: undefined;
|
|
66
|
-
otherKey?: undefined;
|
|
67
|
-
sourceKey?: undefined;
|
|
68
|
-
scope?: undefined;
|
|
69
|
-
} | {
|
|
70
|
-
interface: string;
|
|
71
|
-
type: string;
|
|
72
|
-
name: string;
|
|
73
|
-
target: string;
|
|
74
|
-
collectionName: string;
|
|
75
|
-
through: string;
|
|
76
|
-
foreignKey: string;
|
|
77
|
-
otherKey: string;
|
|
78
|
-
targetKey: string;
|
|
79
|
-
sourceKey: string;
|
|
80
|
-
uiSchema: {
|
|
81
|
-
title: string;
|
|
82
|
-
'x-component': string;
|
|
83
|
-
'x-component-props': {
|
|
84
|
-
multiple: boolean;
|
|
85
|
-
fieldNames: {
|
|
86
|
-
label: string;
|
|
87
|
-
value: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
type?: undefined;
|
|
91
|
-
required?: undefined;
|
|
92
|
-
};
|
|
93
|
-
primaryKey?: undefined;
|
|
94
|
-
autoIncrement?: undefined;
|
|
95
|
-
treeParent?: undefined;
|
|
96
|
-
scope?: undefined;
|
|
97
|
-
} | {
|
|
98
|
-
interface: string;
|
|
99
|
-
type: string;
|
|
100
|
-
name: string;
|
|
101
|
-
collectionName: string;
|
|
102
|
-
target: string;
|
|
103
|
-
through: string;
|
|
104
|
-
foreignKey: string;
|
|
105
|
-
otherKey: string;
|
|
106
|
-
targetKey: string;
|
|
107
|
-
sourceKey: string;
|
|
108
|
-
scope: {
|
|
109
|
-
isOwner: boolean;
|
|
110
|
-
};
|
|
111
|
-
uiSchema: {
|
|
112
|
-
title: string;
|
|
113
|
-
'x-component': string;
|
|
114
|
-
'x-component-props': {
|
|
115
|
-
multiple: boolean;
|
|
116
|
-
fieldNames: {
|
|
117
|
-
label: string;
|
|
118
|
-
value: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
type?: undefined;
|
|
122
|
-
required?: undefined;
|
|
123
|
-
};
|
|
124
|
-
primaryKey?: undefined;
|
|
125
|
-
autoIncrement?: undefined;
|
|
126
|
-
treeParent?: undefined;
|
|
127
|
-
})[];
|
|
128
|
-
};
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
export declare const collectionUsers: {
|
|
2
|
-
name: string;
|
|
3
|
-
fields: ({
|
|
4
|
-
interface: string;
|
|
5
|
-
type: string;
|
|
6
|
-
name: string;
|
|
7
|
-
primaryKey: boolean;
|
|
8
|
-
autoIncrement: boolean;
|
|
9
|
-
allowNull: boolean;
|
|
10
|
-
uiSchema: {
|
|
11
|
-
type: string;
|
|
12
|
-
title: string;
|
|
13
|
-
'x-component': string;
|
|
14
|
-
'x-read-pretty': boolean;
|
|
15
|
-
'x-validator'?: undefined;
|
|
16
|
-
required?: undefined;
|
|
17
|
-
'x-component-props'?: undefined;
|
|
18
|
-
};
|
|
19
|
-
unique?: undefined;
|
|
20
|
-
target?: undefined;
|
|
21
|
-
foreignKey?: undefined;
|
|
22
|
-
otherKey?: undefined;
|
|
23
|
-
onDelete?: undefined;
|
|
24
|
-
sourceKey?: undefined;
|
|
25
|
-
targetKey?: undefined;
|
|
26
|
-
through?: undefined;
|
|
27
|
-
throughScope?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
interface: string;
|
|
30
|
-
type: string;
|
|
31
|
-
name: string;
|
|
32
|
-
uiSchema: {
|
|
33
|
-
type: string;
|
|
34
|
-
title: string;
|
|
35
|
-
'x-component': string;
|
|
36
|
-
'x-read-pretty'?: undefined;
|
|
37
|
-
'x-validator'?: undefined;
|
|
38
|
-
required?: undefined;
|
|
39
|
-
'x-component-props'?: undefined;
|
|
40
|
-
};
|
|
41
|
-
primaryKey?: undefined;
|
|
42
|
-
autoIncrement?: undefined;
|
|
43
|
-
allowNull?: undefined;
|
|
44
|
-
unique?: undefined;
|
|
45
|
-
target?: undefined;
|
|
46
|
-
foreignKey?: undefined;
|
|
47
|
-
otherKey?: undefined;
|
|
48
|
-
onDelete?: undefined;
|
|
49
|
-
sourceKey?: undefined;
|
|
50
|
-
targetKey?: undefined;
|
|
51
|
-
through?: undefined;
|
|
52
|
-
throughScope?: undefined;
|
|
53
|
-
} | {
|
|
54
|
-
interface: string;
|
|
55
|
-
type: string;
|
|
56
|
-
name: string;
|
|
57
|
-
unique: boolean;
|
|
58
|
-
uiSchema: {
|
|
59
|
-
type: string;
|
|
60
|
-
title: string;
|
|
61
|
-
'x-component': string;
|
|
62
|
-
'x-validator': {
|
|
63
|
-
username: boolean;
|
|
64
|
-
};
|
|
65
|
-
required: boolean;
|
|
66
|
-
'x-read-pretty'?: undefined;
|
|
67
|
-
'x-component-props'?: undefined;
|
|
68
|
-
};
|
|
69
|
-
primaryKey?: undefined;
|
|
70
|
-
autoIncrement?: undefined;
|
|
71
|
-
allowNull?: undefined;
|
|
72
|
-
target?: undefined;
|
|
73
|
-
foreignKey?: undefined;
|
|
74
|
-
otherKey?: undefined;
|
|
75
|
-
onDelete?: undefined;
|
|
76
|
-
sourceKey?: undefined;
|
|
77
|
-
targetKey?: undefined;
|
|
78
|
-
through?: undefined;
|
|
79
|
-
throughScope?: undefined;
|
|
80
|
-
} | {
|
|
81
|
-
interface: string;
|
|
82
|
-
type: string;
|
|
83
|
-
name: string;
|
|
84
|
-
unique: boolean;
|
|
85
|
-
uiSchema: {
|
|
86
|
-
type: string;
|
|
87
|
-
title: string;
|
|
88
|
-
'x-component': string;
|
|
89
|
-
'x-validator': string;
|
|
90
|
-
required: boolean;
|
|
91
|
-
'x-read-pretty'?: undefined;
|
|
92
|
-
'x-component-props'?: undefined;
|
|
93
|
-
};
|
|
94
|
-
primaryKey?: undefined;
|
|
95
|
-
autoIncrement?: undefined;
|
|
96
|
-
allowNull?: undefined;
|
|
97
|
-
target?: undefined;
|
|
98
|
-
foreignKey?: undefined;
|
|
99
|
-
otherKey?: undefined;
|
|
100
|
-
onDelete?: undefined;
|
|
101
|
-
sourceKey?: undefined;
|
|
102
|
-
targetKey?: undefined;
|
|
103
|
-
through?: undefined;
|
|
104
|
-
throughScope?: undefined;
|
|
105
|
-
} | {
|
|
106
|
-
interface: string;
|
|
107
|
-
type: string;
|
|
108
|
-
name: string;
|
|
109
|
-
target: string;
|
|
110
|
-
foreignKey: string;
|
|
111
|
-
otherKey: string;
|
|
112
|
-
onDelete: string;
|
|
113
|
-
sourceKey: string;
|
|
114
|
-
targetKey: string;
|
|
115
|
-
through: string;
|
|
116
|
-
uiSchema: {
|
|
117
|
-
type: string;
|
|
118
|
-
title: string;
|
|
119
|
-
'x-component': string;
|
|
120
|
-
'x-component-props': {
|
|
121
|
-
multiple: boolean;
|
|
122
|
-
fieldNames: {
|
|
123
|
-
label: string;
|
|
124
|
-
value: string;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
'x-read-pretty'?: undefined;
|
|
128
|
-
'x-validator'?: undefined;
|
|
129
|
-
required?: undefined;
|
|
130
|
-
};
|
|
131
|
-
primaryKey?: undefined;
|
|
132
|
-
autoIncrement?: undefined;
|
|
133
|
-
allowNull?: undefined;
|
|
134
|
-
unique?: undefined;
|
|
135
|
-
throughScope?: undefined;
|
|
136
|
-
} | {
|
|
137
|
-
interface: string;
|
|
138
|
-
type: string;
|
|
139
|
-
name: string;
|
|
140
|
-
target: string;
|
|
141
|
-
foreignKey: string;
|
|
142
|
-
otherKey: string;
|
|
143
|
-
onDelete: string;
|
|
144
|
-
sourceKey: string;
|
|
145
|
-
targetKey: string;
|
|
146
|
-
through: string;
|
|
147
|
-
uiSchema: {
|
|
148
|
-
type: string;
|
|
149
|
-
title: string;
|
|
150
|
-
'x-component': string;
|
|
151
|
-
'x-read-pretty'?: undefined;
|
|
152
|
-
'x-validator'?: undefined;
|
|
153
|
-
required?: undefined;
|
|
154
|
-
'x-component-props'?: undefined;
|
|
155
|
-
};
|
|
156
|
-
primaryKey?: undefined;
|
|
157
|
-
autoIncrement?: undefined;
|
|
158
|
-
allowNull?: undefined;
|
|
159
|
-
unique?: undefined;
|
|
160
|
-
throughScope?: undefined;
|
|
161
|
-
} | {
|
|
162
|
-
interface: string;
|
|
163
|
-
type: string;
|
|
164
|
-
name: string;
|
|
165
|
-
target: string;
|
|
166
|
-
foreignKey: string;
|
|
167
|
-
otherKey: string;
|
|
168
|
-
onDelete: string;
|
|
169
|
-
sourceKey: string;
|
|
170
|
-
targetKey: string;
|
|
171
|
-
through: string;
|
|
172
|
-
throughScope: {
|
|
173
|
-
isMain: boolean;
|
|
174
|
-
};
|
|
175
|
-
uiSchema: {
|
|
176
|
-
type: string;
|
|
177
|
-
title: string;
|
|
178
|
-
'x-component': string;
|
|
179
|
-
'x-read-pretty'?: undefined;
|
|
180
|
-
'x-validator'?: undefined;
|
|
181
|
-
required?: undefined;
|
|
182
|
-
'x-component-props'?: undefined;
|
|
183
|
-
};
|
|
184
|
-
primaryKey?: undefined;
|
|
185
|
-
autoIncrement?: undefined;
|
|
186
|
-
allowNull?: undefined;
|
|
187
|
-
unique?: undefined;
|
|
188
|
-
})[];
|
|
189
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DepartmentSelect: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/client/features/departments/main-tab/components/InternalSuperiorDepartmentSelect.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const InternalSuperiorDepartmentSelect: (props: any) => import("react/jsx-runtime").JSX.Element;
|