@szjy/workflow 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.mjs +24629 -24417
  3. package/dist/index.umd.js +235 -235
  4. package/dist/packages/components/Workflow/biz-logic/leave/carbon-copy/index.d.ts +3 -0
  5. package/dist/packages/components/Workflow/biz-logic/leave/carbon-copy/palette.d.ts +13 -0
  6. package/dist/packages/components/Workflow/biz-logic/leave/carbon-copy/property.vue.d.ts +2 -0
  7. package/dist/packages/components/Workflow/biz-logic/leave/constant.d.ts +26 -0
  8. package/dist/packages/components/Workflow/biz-logic/leave/index.d.ts +9 -0
  9. package/dist/packages/components/Workflow/biz-logic/leave/types.d.ts +12 -1
  10. package/dist/packages/components/Workflow/biz-logic/leave/utils/counterSignUtil.d.ts +1 -1
  11. package/dist/packages/components/Workflow/biz-logic/leave/utils/findElementUtil.d.ts +2 -0
  12. package/dist/packages/components/Workflow/biz-logic/leave/utils/userUtil.d.ts +1 -0
  13. package/dist/packages/components/Workflow/components/biz/ui/UserForm.vue.d.ts +26 -0
  14. package/dist/packages/components/Workflow/components/biz/ui/UserJSONDesc.vue.d.ts +22 -0
  15. package/dist/packages/components/Workflow/components/biz/ui/UserSearchInfo.vue.d.ts +35 -0
  16. package/dist/packages/components/Workflow/exposeApi.d.ts +7 -11
  17. package/dist/packages/components/Workflow/index.vue.d.ts +4 -2
  18. package/dist/packages/components/Workflow/palette/CustomPaletteProvider.d.ts +9 -0
  19. package/dist/packages/components/Workflow/store/bpmn-utils/initiatorUtil.d.ts +1 -0
  20. package/dist/packages/components/Workflow/store/permission/constants.d.ts +39 -5
  21. package/dist/packages/components/Workflow/store/permission/index.d.ts +31 -16
  22. package/dist/packages/components/contants.d.ts +1 -1
  23. package/dist/style.css +1 -1
  24. package/package.json +1 -1
  25. package/dist/packages/components/Workflow/biz-logic/form-permissions/util.d.ts +0 -2
@@ -0,0 +1,3 @@
1
+ export * from './palette';
2
+ import CarbonCopyProperty from './property.vue';
3
+ export { CarbonCopyProperty };
@@ -0,0 +1,13 @@
1
+ import type Create from 'diagram-js/lib/features/create/Create';
2
+ import type ElementFactory from 'diagram-js/lib/core/ElementFactory';
3
+ export declare const carbonCopyPaletteEntries: (create: Create, elementFactory: ElementFactory) => {
4
+ "carbon-copy": {
5
+ group: string;
6
+ title: string;
7
+ imageUrl: any;
8
+ action: {
9
+ click: (event: any) => void;
10
+ dragstart: (event: any) => void;
11
+ };
12
+ };
13
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -12,21 +12,47 @@ export declare const ELE_MULTI_SIGN_RECEIPT = "MULTI_SIGN_RECEIPT";
12
12
  export declare const ELE_APPROVAL = "APPROVAL";
13
13
  export declare const ELE_SIGN_RECEIPT = "SIGN_RECEIPT";
14
14
  export declare const ELE_REFORM = "REFORM";
15
+ export declare const ELE_CARBON_COPY = "CARBON_COPY";
15
16
  export declare const ELE_LEAVE_GATEWAY = "LEAVE_GATEWAY";
16
17
  export declare const ELE_SET_WORK_STATUS = "SET_WORK_STATUS";
17
18
  export declare const ELE_LEAVE_END = "LEAVE_END";
18
19
  export declare const GET_USER_TYPES: {
19
20
  CREATOR: string;
20
21
  USER_ID: string;
22
+ USER_ID_LIST: string;
21
23
  FORM_FIELD: string;
22
24
  GET_SINGLE_USER: string;
23
25
  GET_MULTI_USERS: string;
26
+ CREATOR_RELATED: string;
24
27
  UNKNOWN: string;
25
28
  };
26
29
  export declare const GET_USER_TYPES_OPTIONS: {
27
30
  label: string;
28
31
  value: string;
29
32
  }[];
33
+ export declare const USER_WITH_CREATOR_RES_TYPES_OPTIONS: any;
34
+ export declare enum SearchType {
35
+ SEARCH_WITH_COMPANY_AND_TITLE = "SEARCH_WITH_COMPANY_AND_TITLE"
36
+ }
37
+ export declare enum SearchWithCompanyType {
38
+ SELF_ORG = "SELF_ORG",// 本单位
39
+ CONSTRUCTION_ORG = "CONSTRUCTION_ORG",// 施工单位
40
+ SUPERVISORY_ORG = "SUPERVISORY_ORG",// 监理单位
41
+ BUILD_ORG = "BUILD_ORG"
42
+ }
43
+ export declare const getLabelByComponyType: (type: SearchWithCompanyType) => "" | "本单位" | "施工单位" | "监理单位" | "建设单位";
44
+ export declare const SEARCH_WITH_COMPANY_TYPE_OPTIONS: {
45
+ label: string;
46
+ value: SearchWithCompanyType;
47
+ }[];
48
+ export declare const DEFAULT_USER_SEARCH_INFO: {
49
+ enabled: boolean;
50
+ searchType: SearchType;
51
+ searchWithCompanyAndTitleinfo: {
52
+ searchWithCompanyType: SearchWithCompanyType;
53
+ titleList: never[];
54
+ };
55
+ };
30
56
  export declare const GET_ORG_TYPES: {
31
57
  ORG_ID: string;
32
58
  GET_ORG_TASK_OUTPUT: string;
@@ -30,6 +30,15 @@ export declare const getBizPaletteEntries: (create: Create, elementFactory: Elem
30
30
  dragstart: (event: any) => void;
31
31
  };
32
32
  };
33
+ "carbon-copy": {
34
+ group: string;
35
+ title: string;
36
+ imageUrl: any;
37
+ action: {
38
+ click: (event: any) => void;
39
+ dragstart: (event: any) => void;
40
+ };
41
+ };
33
42
  "reform-user": {
34
43
  group: string;
35
44
  title: string;
@@ -1,9 +1,11 @@
1
- import type { CONDITION_OPT_KEYS, CONDITION_VALUE_KEYS, GATEWAY_CONDITION_KEYS, WORKFLOW_STATUS_TYPES } from "./constant";
1
+ import type { CONDITION_OPT_KEYS, CONDITION_VALUE_KEYS, GATEWAY_CONDITION_KEYS, SearchType, SearchWithCompanyType, WORKFLOW_STATUS_TYPES } from "./constant";
2
2
  export type UserJSON = {
3
3
  userIdType: string;
4
4
  userId: string;
5
5
  outputTaskDefKey: string;
6
+ userIdList?: string[];
6
7
  formFieldId?: string;
8
+ userSearchInfo?: UserSearchInfoType;
7
9
  };
8
10
  export type JobTitleJSON = {
9
11
  titleListType: string;
@@ -41,3 +43,12 @@ export type ConditionValueJSON = {
41
43
  taskOutputKey?: string;
42
44
  };
43
45
  export type WorkflowStatusType = keyof typeof WORKFLOW_STATUS_TYPES;
46
+ export type SearchWithCompanyAndTitleInfo = {
47
+ searchWithCompanyType: SearchWithCompanyType;
48
+ titleList: string[];
49
+ };
50
+ export type UserSearchInfoType = {
51
+ enabled: boolean;
52
+ searchType: SearchType;
53
+ searchWithCompanyAndTitleinfo: SearchWithCompanyAndTitleInfo;
54
+ };
@@ -8,7 +8,7 @@ export declare const DEFAULT_COMPLETE_CONDITION: {
8
8
  };
9
9
  export declare const initCounterSignrItems: (element: Element) => void;
10
10
  export declare const initMultiSignReceiptItems: (element: Element) => void;
11
- export declare const getUserValue: (element: Element) => any;
11
+ export declare const getUserValue: (element: Element) => UserJSON;
12
12
  export declare const updateUserValue: (element: Element, userJson: Partial<UserJSON>) => void;
13
13
  export declare const getConditionValue: (element: Element) => any;
14
14
  export declare const updateConditionValue: (element: Element, conditionJson: CounterSignConditionJSON, isUpdateListener?: boolean) => void;
@@ -1,2 +1,4 @@
1
1
  import type { ElementLike } from 'diagram-js/lib/model/Types';
2
2
  export declare const findByBizType: (bizType: string) => ElementLike[];
3
+ export declare const getAllElementIds: () => string[];
4
+ export declare const getElementsByCondition: (condition: (element: ElementLike) => boolean) => ElementLike[];
@@ -1,6 +1,7 @@
1
1
  import type { Element } from 'bpmn-js/lib/model/Types';
2
2
  import type { UserJSON } from '../types';
3
3
  export declare const USER_ID_KEY = "userId";
4
+ export declare const filterUserJson: (userJson: Partial<UserJSON>) => Partial<UserJSON>;
4
5
  export declare const getFieldContent: (userJson: Partial<UserJSON>) => {
5
6
  name: string;
6
7
  type: string;
@@ -0,0 +1,26 @@
1
+ import { PropType } from 'vue';
2
+ import { UserJSON } from '../../../biz-logic/leave/types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ user: {
5
+ type: PropType<UserJSON>;
6
+ default: {
7
+ userIdType: string;
8
+ userId: string;
9
+ };
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:user": (user: UserJSON) => void;
13
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ user: {
15
+ type: PropType<UserJSON>;
16
+ default: {
17
+ userIdType: string;
18
+ userId: string;
19
+ };
20
+ };
21
+ }>> & {
22
+ "onUpdate:user"?: ((user: UserJSON) => any) | undefined;
23
+ }, {
24
+ user: UserJSON;
25
+ }, {}>;
26
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { PropType } from 'vue';
2
+ import { UserJSON } from '../../../biz-logic/leave/types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ userJson: {
5
+ type: PropType<UserJSON>;
6
+ default: {
7
+ userIdType: string;
8
+ userId: string;
9
+ };
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ userJson: {
13
+ type: PropType<UserJSON>;
14
+ default: {
15
+ userIdType: string;
16
+ userId: string;
17
+ };
18
+ };
19
+ }>>, {
20
+ userJson: UserJSON;
21
+ }, {}>;
22
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { PropType } from 'vue';
2
+ import { UserSearchInfoType } from '../../../biz-logic/leave/types';
3
+ import { SearchType, SearchWithCompanyType } from '../../../biz-logic/leave/constant';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ searchInfo: {
6
+ type: PropType<UserSearchInfoType>;
7
+ default: {
8
+ enabled: boolean;
9
+ searchType: SearchType;
10
+ searchWithCompanyAndTitleinfo: {
11
+ searchWithCompanyType: SearchWithCompanyType;
12
+ titleList: never[];
13
+ };
14
+ };
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:searchInfo": (searchInfo: UserSearchInfoType) => void;
18
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ searchInfo: {
20
+ type: PropType<UserSearchInfoType>;
21
+ default: {
22
+ enabled: boolean;
23
+ searchType: SearchType;
24
+ searchWithCompanyAndTitleinfo: {
25
+ searchWithCompanyType: SearchWithCompanyType;
26
+ titleList: never[];
27
+ };
28
+ };
29
+ };
30
+ }>> & {
31
+ "onUpdate:searchInfo"?: ((searchInfo: UserSearchInfoType) => any) | undefined;
32
+ }, {
33
+ searchInfo: UserSearchInfoType;
34
+ }, {}>;
35
+ export default _default;
@@ -1,14 +1,10 @@
1
+ import { FieldItemType, FieldPermissionConfigMapNode, PermissionJSONLike } from "./store/permission/constants";
1
2
  export declare const getWorkflowXml: () => Promise<string | undefined>;
2
- export declare function getPermissionJSON(): {
3
- createFieldPermission: {
4
- assigneeFieldPermissionMap: {
5
- [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
6
- };
7
- othersFieldPermissionMap: {
8
- [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
9
- };
10
- };
11
- taskToFieldPermissionMap: any;
12
- };
13
3
  export declare function initXmlToStore(xml: string): Promise<void>;
14
4
  export declare function updateProcessId(processId: string): void;
5
+ export declare function getPermissionJSON(): {
6
+ createFieldPermission: {};
7
+ taskToFieldPermissionMap: FieldPermissionConfigMapNode;
8
+ };
9
+ export declare function setPermissionByFields(permissonJSON: PermissionJSONLike, fields: FieldItemType[]): void;
10
+ export declare function updatePermFields(fields: FieldItemType[]): void;
@@ -1,10 +1,12 @@
1
- import { getPermissionJSON, initXmlToStore, updateProcessId } from "./exposeApi";
1
+ import { getPermissionJSON, initXmlToStore, updateProcessId, setPermissionByFields, updatePermFields } from "./exposeApi";
2
2
  import BpmnModeler from 'bpmn-js/lib/Modeler.js';
3
3
  declare const _default: import("vue").DefineComponent<{}, {
4
4
  getWorkflowXml: () => Promise<string | undefined>;
5
- getPermissionJSON: typeof getPermissionJSON;
6
5
  initXmlToStore: typeof initXmlToStore;
7
6
  updateProcessId: typeof updateProcessId;
7
+ getPermissionJSON: typeof getPermissionJSON;
8
+ setPermissionByFields: typeof setPermissionByFields;
9
+ updatePermFields: typeof updatePermFields;
8
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  init: (modeler: BpmnModeler) => void;
10
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
@@ -41,6 +41,15 @@ export default class CustomPaletteProvider extends PaletteProvider {
41
41
  dragstart: (event: any) => void;
42
42
  };
43
43
  };
44
+ "carbon-copy": {
45
+ group: string;
46
+ title: string;
47
+ imageUrl: any;
48
+ action: {
49
+ click: (event: any) => void;
50
+ dragstart: (event: any) => void;
51
+ };
52
+ };
44
53
  "reform-user": {
45
54
  group: string;
46
55
  title: string;
@@ -2,4 +2,5 @@ import type { Element } from 'bpmn-js/lib/model/Types';
2
2
  export declare function getInitiatorValue(element: Element): string | undefined;
3
3
  export declare function setInitiatorValue(element: Element, value: string | undefined): void;
4
4
  export declare function isStartInitializable(element: Element): boolean;
5
+ export declare function isStartEvent(element: Element): boolean;
5
6
  export declare function isUserAssignmentSupported(element: Element): boolean;
@@ -1,20 +1,29 @@
1
1
  export declare const PERMISSION_TYPE: {
2
2
  readonly EDITABLE: "EDITABLE";
3
- readonly READ_ONLY: "READ_ONLY";
3
+ readonly ALL_READ_ONLY: "ALL_READ_ONLY";
4
4
  readonly HIDDEN: "HIDDEN";
5
5
  };
6
6
  export declare const ASSIGNEE_MAP_KEY = "assigneeFieldPermissionMap";
7
7
  export declare const OTHER_MAP_KEY = "othersFieldPermissionMap";
8
+ export declare const DEFAULT_PERM_VALUE_KEY = "defaultPermission";
8
9
  export type PermissionGroupName = "assigneeFieldPermissionMap" | "othersFieldPermissionMap";
9
10
  export type PermissionType = keyof typeof PERMISSION_TYPE;
10
11
  export declare const CREATION_KEY = "createFieldPermission";
11
12
  export declare const EDITABLE_KEY = "taskToFieldPermissionMap";
13
+ export type FieldItemType = {
14
+ id: string;
15
+ name?: string;
16
+ type?: string;
17
+ };
12
18
  export declare const PERMISSION_OPTIONS: ({
13
19
  label: string;
14
20
  value: "EDITABLE";
15
21
  } | {
16
22
  label: string;
17
- value: "READ_ONLY";
23
+ value: "ALL_READ_ONLY";
24
+ } | {
25
+ label: string;
26
+ value: "HIDDEN";
18
27
  })[];
19
28
  export type TaskPermissionMap = {
20
29
  [ASSIGNEE_MAP_KEY]: PermissionItem[];
@@ -23,19 +32,44 @@ export type TaskPermissionMap = {
23
32
  export type AllTaskPermissionMap = {
24
33
  [key: string]: TaskPermissionMap;
25
34
  };
35
+ export type TaskConfig = {
36
+ [DEFAULT_PERM_VALUE_KEY]?: PermissionType;
37
+ isStartTask?: boolean;
38
+ };
39
+ export type AllTaskConfigMap = {
40
+ [key: string]: TaskConfig;
41
+ };
26
42
  export type PermissionItem = {
27
43
  key: string;
44
+ fieldId: string;
28
45
  fieldName: string;
29
46
  permission: PermissionType;
30
47
  };
31
48
  export declare const convertPermissionArrayToMap: (permissionArray?: PermissionItem[]) => {
32
- [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
49
+ [key: string]: "EDITABLE" | "ALL_READ_ONLY" | "HIDDEN";
33
50
  };
34
51
  export declare const convertTaskPermissionMapToMap: (taskPermissionMap: Partial<TaskPermissionMap>) => {
35
52
  assigneeFieldPermissionMap: {
36
- [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
53
+ [key: string]: "EDITABLE" | "ALL_READ_ONLY" | "HIDDEN";
37
54
  };
38
55
  othersFieldPermissionMap: {
39
- [key: string]: "EDITABLE" | "READ_ONLY" | "HIDDEN";
56
+ [key: string]: "EDITABLE" | "ALL_READ_ONLY" | "HIDDEN";
40
57
  };
41
58
  };
59
+ export type ExtraInfo = {
60
+ [key: string]: {
61
+ name?: string;
62
+ [key: string]: any;
63
+ };
64
+ };
65
+ export declare const convertPermissionMapToArray: (obj: Record<string, PermissionType>, extraInfo: ExtraInfo) => PermissionItem[];
66
+ export type FieldPermissionConfig = ReturnType<typeof convertPermissionArrayToMap>;
67
+ export type FieldPermissionConfigMap = ReturnType<typeof convertTaskPermissionMapToMap>;
68
+ export type FieldPermissionConfigMapNode = {
69
+ [key: string]: FieldPermissionConfigMap;
70
+ };
71
+ export type PermissionJSONLike = {
72
+ [CREATION_KEY]?: FieldPermissionConfigMap;
73
+ [EDITABLE_KEY]?: FieldPermissionConfigMapNode;
74
+ [key: string]: any;
75
+ };
@@ -1,27 +1,42 @@
1
- import { type AllTaskPermissionMap, type PermissionGroupName, type PermissionType, type TaskPermissionMap } from './constants';
1
+ import { type AllTaskPermissionMap, type PermissionGroupName, type PermissionType, TaskConfig, FieldItemType, FieldPermissionConfigMapNode, PermissionJSONLike } from './constants';
2
2
  declare const usePermissionStore: import("pinia").StoreDefinition<"permission", import("pinia")._UnwrapAll<Pick<{
3
- creationMap: import("vue").ShallowRef<Partial<TaskPermissionMap>>;
4
- setCreationMap: (map: Partial<TaskPermissionMap>) => void;
5
- allNodesMap: import("vue").Ref<AllTaskPermissionMap>;
3
+ allTaskPermMap: import("vue").Ref<AllTaskPermissionMap>;
4
+ getPermissionJSON: () => {
5
+ createFieldPermission: {};
6
+ taskToFieldPermissionMap: FieldPermissionConfigMapNode;
7
+ };
8
+ initAllPermByFields: (permissonJSON: PermissionJSONLike, fields: FieldItemType[]) => void;
6
9
  curNodeId: import("vue").Ref<string>;
7
10
  setCurNodeId: (id?: string) => void;
8
- curNodeMap: import("vue").ComputedRef<TaskPermissionMap>;
11
+ setTaskConfig: (id?: string, config?: TaskConfig) => void;
12
+ curTaskMap: import("vue").ComputedRef<any>;
9
13
  updateFieldPermission: (groupName: PermissionGroupName, idx: number, permission: PermissionType) => void;
10
- }, "creationMap" | "allNodesMap" | "curNodeId">>, Pick<{
11
- creationMap: import("vue").ShallowRef<Partial<TaskPermissionMap>>;
12
- setCreationMap: (map: Partial<TaskPermissionMap>) => void;
13
- allNodesMap: import("vue").Ref<AllTaskPermissionMap>;
14
+ setAllFields: (fields: FieldItemType[]) => void;
15
+ }, "allTaskPermMap" | "curNodeId">>, Pick<{
16
+ allTaskPermMap: import("vue").Ref<AllTaskPermissionMap>;
17
+ getPermissionJSON: () => {
18
+ createFieldPermission: {};
19
+ taskToFieldPermissionMap: FieldPermissionConfigMapNode;
20
+ };
21
+ initAllPermByFields: (permissonJSON: PermissionJSONLike, fields: FieldItemType[]) => void;
14
22
  curNodeId: import("vue").Ref<string>;
15
23
  setCurNodeId: (id?: string) => void;
16
- curNodeMap: import("vue").ComputedRef<TaskPermissionMap>;
24
+ setTaskConfig: (id?: string, config?: TaskConfig) => void;
25
+ curTaskMap: import("vue").ComputedRef<any>;
17
26
  updateFieldPermission: (groupName: PermissionGroupName, idx: number, permission: PermissionType) => void;
18
- }, "curNodeMap">, Pick<{
19
- creationMap: import("vue").ShallowRef<Partial<TaskPermissionMap>>;
20
- setCreationMap: (map: Partial<TaskPermissionMap>) => void;
21
- allNodesMap: import("vue").Ref<AllTaskPermissionMap>;
27
+ setAllFields: (fields: FieldItemType[]) => void;
28
+ }, "curTaskMap">, Pick<{
29
+ allTaskPermMap: import("vue").Ref<AllTaskPermissionMap>;
30
+ getPermissionJSON: () => {
31
+ createFieldPermission: {};
32
+ taskToFieldPermissionMap: FieldPermissionConfigMapNode;
33
+ };
34
+ initAllPermByFields: (permissonJSON: PermissionJSONLike, fields: FieldItemType[]) => void;
22
35
  curNodeId: import("vue").Ref<string>;
23
36
  setCurNodeId: (id?: string) => void;
24
- curNodeMap: import("vue").ComputedRef<TaskPermissionMap>;
37
+ setTaskConfig: (id?: string, config?: TaskConfig) => void;
38
+ curTaskMap: import("vue").ComputedRef<any>;
25
39
  updateFieldPermission: (groupName: PermissionGroupName, idx: number, permission: PermissionType) => void;
26
- }, "setCreationMap" | "setCurNodeId" | "updateFieldPermission">>;
40
+ setAllFields: (fields: FieldItemType[]) => void;
41
+ }, "getPermissionJSON" | "initAllPermByFields" | "setCurNodeId" | "setTaskConfig" | "updateFieldPermission" | "setAllFields">>;
27
42
  export default usePermissionStore;
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.2";
1
+ export declare const VERSION: any;
2
2
  export declare const COMP_PREFIX = "Sz";