@geelato/gl-ui-web-arco 0.0.1
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/README.md +55 -0
- package/dist/GlPdf-CP236wBj.js +891 -0
- package/dist/GlPdf-CP236wBj.js.gz +0 -0
- package/dist/gl-ui-web-arco.css +1 -0
- package/dist/gl-ui-web-arco.css.gz +0 -0
- package/dist/gl-ui-web-arco.js +21 -0
- package/dist/gl-ui-web-arco.js.gz +0 -0
- package/dist/main-D7ErSddl.js +164000 -0
- package/dist/main-D7ErSddl.js.gz +0 -0
- package/dist/pdfjs-Cvb5nkrC.js +26706 -0
- package/dist/pdfjs-Cvb5nkrC.js.gz +0 -0
- package/dist/types/api/SelectOptions.d.ts +41 -0
- package/dist/types/components/MetaHelper.d.ts +6 -0
- package/dist/types/components/gl-alert/GlAlert.vue.d.ts +27 -0
- package/dist/types/components/gl-button/GlButton.vue.d.ts +117 -0
- package/dist/types/components/gl-card/index.vue.d.ts +134 -0
- package/dist/types/components/gl-checkbox/GlCheckbox.vue.d.ts +19 -0
- package/dist/types/components/gl-color/GlColor.vue.d.ts +143 -0
- package/dist/types/components/gl-color-clipboard/GlColorClipboard.vue.d.ts +19 -0
- package/dist/types/components/gl-color-input/GlColorInput.vue.d.ts +37 -0
- package/dist/types/components/gl-comment/GlComment.vue.d.ts +80 -0
- package/dist/types/components/gl-comment/comment.vue.d.ts +72 -0
- package/dist/types/components/gl-comment/type.d.ts +30 -0
- package/dist/types/components/gl-countdown/GlCountdown.vue.d.ts +43 -0
- package/dist/types/components/gl-crontab/GlCrontab.vue.d.ts +39 -0
- package/dist/types/components/gl-crontab/tabs/day.vue.d.ts +30 -0
- package/dist/types/components/gl-crontab/tabs/hour.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/minute.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/mixin.d.ts +100 -0
- package/dist/types/components/gl-crontab/tabs/month.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/second.vue.d.ts +21 -0
- package/dist/types/components/gl-crontab/tabs/week.vue.d.ts +30 -0
- package/dist/types/components/gl-crontab/tabs/year.vue.d.ts +21 -0
- package/dist/types/components/gl-descriptions/GlDescriptions.vue.d.ts +36 -0
- package/dist/types/components/gl-dict/GlDict.vue.d.ts +444 -0
- package/dist/types/components/gl-dict/locale/en-US.d.ts +10 -0
- package/dist/types/components/gl-dict/locale/zh-CN.d.ts +10 -0
- package/dist/types/components/gl-divider/GlDevider.vue.d.ts +7 -0
- package/dist/types/components/gl-drag-verify/GlDragVerify.vue.d.ts +161 -0
- package/dist/types/components/gl-dropdown/GlDropdown.vue.d.ts +93 -0
- package/dist/types/components/gl-dynamic-select/GlDynamicSelect.vue.d.ts +582 -0
- package/dist/types/components/gl-email/GlEmailPreview.vue.d.ts +20 -0
- package/dist/types/components/gl-email/GlEmailSelect.vue.d.ts +1364 -0
- package/dist/types/components/gl-email/composables/index.d.ts +8 -0
- package/dist/types/components/gl-email/composables/useEmailData.d.ts +19 -0
- package/dist/types/components/gl-email/composables/useEmailForm.d.ts +57 -0
- package/dist/types/components/gl-email/composables/useEmailOperations.d.ts +15 -0
- package/dist/types/components/gl-email/composables/useEmailPreview.d.ts +10 -0
- package/dist/types/components/gl-email/composables/useEmailSchedule.d.ts +19 -0
- package/dist/types/components/gl-email/composables/useEmailValidation.d.ts +8 -0
- package/dist/types/components/gl-email/composables/useUserInfo.d.ts +18 -0
- package/dist/types/components/gl-email/locale/en-US.d.ts +51 -0
- package/dist/types/components/gl-email/locale/zh-CN.d.ts +51 -0
- package/dist/types/components/gl-email/types/index.d.ts +51 -0
- package/dist/types/components/gl-empty/GlEmpty.vue.d.ts +13 -0
- package/dist/types/components/gl-encode/GlEncode.vue.d.ts +152 -0
- package/dist/types/components/gl-entity-cascader/GlEntityCascader.vue.d.ts +26 -0
- package/dist/types/components/gl-entity-form/GlEntityForm.vue.d.ts +918 -0
- package/dist/types/components/gl-entity-form/composables/index.d.ts +16 -0
- package/dist/types/components/gl-entity-form/composables/useEmpty.d.ts +9 -0
- package/dist/types/components/gl-entity-form/composables/useFormCore.d.ts +560 -0
- package/dist/types/components/gl-entity-form/composables/useFormParams.d.ts +30 -0
- package/dist/types/components/gl-entity-form/composables/useFormValidation.d.ts +77 -0
- package/dist/types/components/gl-entity-table-plus/FilterManager.vue.d.ts +34 -0
- package/dist/types/components/gl-entity-table-plus/GlEntityTable.vue.d.ts +2910 -0
- package/dist/types/components/gl-entity-table-plus/GlEntityTableEdit.vue.d.ts +1322 -0
- package/dist/types/components/gl-entity-table-plus/GlEntityTableToolbar.vue.d.ts +471 -0
- package/dist/types/components/gl-entity-table-plus/constants.d.ts +292 -0
- package/dist/types/components/gl-entity-table-plus/index.vue.d.ts +3720 -0
- package/dist/types/components/gl-entity-table-plus/locale/en-US.d.ts +94 -0
- package/dist/types/components/gl-entity-table-plus/locale/zh-CN.d.ts +94 -0
- package/dist/types/components/gl-entity-table-plus/querySignature.d.ts +7 -0
- package/dist/types/components/gl-entity-table-plus/table.d.ts +137 -0
- package/dist/types/components/gl-entity-table-plus/useCellEditing.d.ts +55 -0
- package/dist/types/components/gl-entity-table-plus/useColumns.d.ts +20 -0
- package/dist/types/components/gl-entity-table-plus/useConvert.d.ts +5 -0
- package/dist/types/components/gl-entity-table-plus/useExport.d.ts +43 -0
- package/dist/types/components/gl-entity-table-plus/useFilters.d.ts +37 -0
- package/dist/types/components/gl-entity-table-plus/useLayout.d.ts +34 -0
- package/dist/types/components/gl-entity-table-plus/useMatch.d.ts +22 -0
- package/dist/types/components/gl-entity-table-plus/usePushedRecords.d.ts +39 -0
- package/dist/types/components/gl-entity-table-plus/useRow.d.ts +8 -0
- package/dist/types/components/gl-entity-table-plus/useRowHighlight.d.ts +33 -0
- package/dist/types/components/gl-entity-table-plus/useSelectedRecords.d.ts +25 -0
- package/dist/types/components/gl-entity-table-plus/useStore.d.ts +119 -0
- package/dist/types/components/gl-entity-table-plus/useSummary.d.ts +47 -0
- package/dist/types/components/gl-entity-table-plus/useTableDataAnalysis.d.ts +63 -0
- package/dist/types/components/gl-entity-table-plus/useTableHeight.d.ts +63 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityCardView.vue.d.ts +76 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityGalleryView.vue.d.ts +62 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityPivotView.vue.d.ts +90 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityTableStatView.vue.d.ts +127 -0
- package/dist/types/components/gl-entity-table-plus/views/GlEntityTableView.vue.d.ts +1150 -0
- package/dist/types/components/gl-entity-tree/GlBaseTree.vue.d.ts +944 -0
- package/dist/types/components/gl-entity-tree/GlEntityTree.vue.d.ts +1407 -0
- package/dist/types/components/gl-entity-tree/types.d.ts +11 -0
- package/dist/types/components/gl-flex-layout/GlFlexLayout.vue.d.ts +246 -0
- package/dist/types/components/gl-hidden-area/GlHiddenArea.vue.d.ts +109 -0
- package/dist/types/components/gl-iconfont-select/GlIconfontSelect.vue.d.ts +58 -0
- package/dist/types/components/gl-image/GlImage.vue.d.ts +554 -0
- package/dist/types/components/gl-import/GlImport.vue.d.ts +33 -0
- package/dist/types/components/gl-inst-runtime/GlInstRuntime.vue.d.ts +119 -0
- package/dist/types/components/gl-inst-runtime/GlInstsRuntime.vue.d.ts +100 -0
- package/dist/types/components/gl-layout-page/GlLayoutPage.vue.d.ts +224 -0
- package/dist/types/components/gl-layout-site/GlLayout.d.ts +24 -0
- package/dist/types/components/gl-layout-site/GlLayoutModeCollapse.vue.d.ts +19 -0
- package/dist/types/components/gl-layout-site/GlLayoutModeSidebar.vue.d.ts +41 -0
- package/dist/types/components/gl-layout-site/GlLayoutModeTopNav.vue.d.ts +19 -0
- package/dist/types/components/gl-layout-site/GlLayoutSite.vue.d.ts +26 -0
- package/dist/types/components/gl-layout-site/LayoutStore.d.ts +86 -0
- package/dist/types/components/gl-layout-site/ThemeSetting.vue.d.ts +19 -0
- package/dist/types/components/gl-list/GlList.vue.d.ts +104 -0
- package/dist/types/components/gl-metric-comparison-table/GlMetricComparisonTable.vue.d.ts +302 -0
- package/dist/types/components/gl-multi-components/GlMultiComponents.vue.d.ts +183 -0
- package/dist/types/components/gl-multi-components/locale/en-US.d.ts +5 -0
- package/dist/types/components/gl-multi-components/locale/zh-CN.d.ts +5 -0
- package/dist/types/components/gl-op-record/GlOpRecord.vue.d.ts +19 -0
- package/dist/types/components/gl-org-select/choose.vue.d.ts +124 -0
- package/dist/types/components/gl-org-select/index.vue.d.ts +178 -0
- package/dist/types/components/gl-org-select/tree.vue.d.ts +125 -0
- package/dist/types/components/gl-org-user-select/choose.vue.d.ts +428 -0
- package/dist/types/components/gl-org-user-select/index.vue.d.ts +178 -0
- package/dist/types/components/gl-org-user-select/list.vue.d.ts +133 -0
- package/dist/types/components/gl-page/GlPage.vue.d.ts +372 -0
- package/dist/types/components/gl-page-help/GlPageHelp.vue.d.ts +13 -0
- package/dist/types/components/gl-page-template/GlPageTemplateFlow.vue.d.ts +197 -0
- package/dist/types/components/gl-page-template/GlPageTemplateFlowApprove.vue.d.ts +19 -0
- package/dist/types/components/gl-page-template/ItemsManager.d.ts +23 -0
- package/dist/types/components/gl-page-template/locale/en-US.d.ts +25 -0
- package/dist/types/components/gl-page-template/locale/zh-CN.d.ts +25 -0
- package/dist/types/components/gl-page-template/state-wf/StateWFApprove.vue.d.ts +293 -0
- package/dist/types/components/gl-page-template/state-wf/StateWFTransfer.vue.d.ts +30 -0
- package/dist/types/components/gl-page-template/state-wf/stateWfApi.d.ts +114 -0
- package/dist/types/components/gl-pagination/GlPagination.vue.d.ts +19 -0
- package/dist/types/components/gl-pdf/GlPdf.vue.d.ts +90 -0
- package/dist/types/components/gl-popover/GlPopover.vue.d.ts +138 -0
- package/dist/types/components/gl-query/index.vue.d.ts +243 -0
- package/dist/types/components/gl-query/query.d.ts +47 -0
- package/dist/types/components/gl-rate/GlRate.vue.d.ts +19 -0
- package/dist/types/components/gl-ref-page/GlRefPage.vue.d.ts +171 -0
- package/dist/types/components/gl-regular-expression/GlRegularExpression.vue.d.ts +134 -0
- package/dist/types/components/gl-regular-expression/common.vue.d.ts +248 -0
- package/dist/types/components/gl-regular-expression/select.vue.d.ts +352 -0
- package/dist/types/components/gl-regular-expression/type.d.ts +17 -0
- package/dist/types/components/gl-row-col-layout/GlRowColLayout.vue.d.ts +189 -0
- package/dist/types/components/gl-select/GlSelect.vue.d.ts +83 -0
- package/dist/types/components/gl-slot/GlSlot.vue.d.ts +105 -0
- package/dist/types/components/gl-space/GlSpace.vue.d.ts +121 -0
- package/dist/types/components/gl-static-dict/GlStaticDict.vue.d.ts +32 -0
- package/dist/types/components/gl-static-dict/list.vue.d.ts +86 -0
- package/dist/types/components/gl-static-dict/type.d.ts +4 -0
- package/dist/types/components/gl-statistic/GlStatistic.vue.d.ts +65 -0
- package/dist/types/components/gl-table-select/GlTableSelect.vue.d.ts +474 -0
- package/dist/types/components/gl-table-select/GlTableSelectList.vue.d.ts +87 -0
- package/dist/types/components/gl-table-select/index.d.ts +4 -0
- package/dist/types/components/gl-tabs/GlDynamicTabs.vue.d.ts +226 -0
- package/dist/types/components/gl-tabs/GlTabs.vue.d.ts +152 -0
- package/dist/types/components/gl-tag/GlTag.vue.d.ts +122 -0
- package/dist/types/components/gl-text/GlText.vue.d.ts +152 -0
- package/dist/types/components/gl-textarea/GlTextarea.vue.d.ts +37 -0
- package/dist/types/components/gl-timeline/GlTimeline.vue.d.ts +110 -0
- package/dist/types/components/gl-timeline/type.d.ts +16 -0
- package/dist/types/components/gl-toolbar/index.vue.d.ts +65 -0
- package/dist/types/components/gl-toolbar/locale/en-US.d.ts +4 -0
- package/dist/types/components/gl-toolbar/locale/zh-CN.d.ts +4 -0
- package/dist/types/components/gl-toolbar/toolbar.d.ts +10 -0
- package/dist/types/components/gl-tooltip/GlTooltip.vue.d.ts +100 -0
- package/dist/types/components/gl-tree-select/GlTreeSelect.vue.d.ts +163 -0
- package/dist/types/components/gl-trigger-select/GlTriggerSelect.vue.d.ts +129 -0
- package/dist/types/components/gl-upload/GlUpload.vue.d.ts +559 -0
- package/dist/types/components/gl-upload/clipboard.vue.d.ts +370 -0
- package/dist/types/components/gl-upload/composables/useExternalDropArea.d.ts +11 -0
- package/dist/types/components/gl-upload/composables/useFileManager.d.ts +19 -0
- package/dist/types/components/gl-upload/locale/en-US.d.ts +10 -0
- package/dist/types/components/gl-upload/locale/zh-CN.d.ts +10 -0
- package/dist/types/components/gl-user-select/GlUserSelect.vue.d.ts +239 -0
- package/dist/types/components/gl-user-select/GlUserSelectInline.vue.d.ts +189 -0
- package/dist/types/components/gl-user-select/GlUserSelectPanel.vue.d.ts +97 -0
- package/dist/types/components/gl-user-select/GlUserSelectWorkflow.vue.d.ts +186 -0
- package/dist/types/components/gl-user-select/locale/en-US.d.ts +32 -0
- package/dist/types/components/gl-user-select/locale/zh-CN.d.ts +32 -0
- package/dist/types/components/gl-user-select/types.d.ts +62 -0
- package/dist/types/components/gl-workflow/GlWorkflowApprove.vue.d.ts +395 -0
- package/dist/types/components/gl-workflow/GlWorkflowModal.vue.d.ts +2086 -0
- package/dist/types/components/gl-workflow/GlWorkflowStart.vue.d.ts +19 -0
- package/dist/types/components/gl-workflow/GlWorkflowStartForm.vue.d.ts +294 -0
- package/dist/types/components/gl-workflow/GlWorkflowTasks.vue.d.ts +17 -0
- package/dist/types/components/gl-workflow/composables/useWorkflow.d.ts +99 -0
- package/dist/types/components/gl-workflow/index.d.ts +1075 -0
- package/dist/types/components/gl-workflow/types.d.ts +232 -0
- package/dist/types/composables/index.d.ts +3 -0
- package/dist/types/composables/useDropdownTriggerProps.d.ts +12 -0
- package/dist/types/composables/useStatus.d.ts +17 -0
- package/dist/types/composables/useTree.d.ts +31 -0
- package/dist/types/hooks/useEntityQuery.d.ts +8 -0
- package/dist/types/locale/en-US.d.ts +203 -0
- package/dist/types/locale/zh-CN.d.ts +203 -0
- package/dist/types/main.d.ts +16 -0
- package/dist/types/types/global.d.ts +64 -0
- package/package.json +78 -0
- package/src/main.ts +231 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { PropType } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { TabsPosition } from '@arco-design/web-vue/es/tabs/interface';
|
|
3
|
+
import { IComponentInstance } from '@geelato/gl-types';
|
|
4
|
+
import { ComponentInstance } from '@geelato/gl-ui-schema';
|
|
5
|
+
import { PageCustomType, PagePermission } from '@geelato/gl-runtime-core';
|
|
6
|
+
/**
|
|
7
|
+
* 布局模式常量
|
|
8
|
+
*/
|
|
9
|
+
export declare const LayoutMode: {
|
|
10
|
+
readonly collapse: "collapse";
|
|
11
|
+
readonly tabs: "tabs";
|
|
12
|
+
};
|
|
13
|
+
export type LayoutModeType = typeof LayoutMode[keyof typeof LayoutMode];
|
|
14
|
+
/**
|
|
15
|
+
* 流程图状态常量
|
|
16
|
+
*/
|
|
17
|
+
export declare const GraphState: {
|
|
18
|
+
readonly underway: "underway";
|
|
19
|
+
readonly approved: "approved";
|
|
20
|
+
readonly rejected: "rejected";
|
|
21
|
+
readonly canceled: "canceled";
|
|
22
|
+
};
|
|
23
|
+
export type GraphStateType = typeof GraphState[keyof typeof GraphState];
|
|
24
|
+
/**
|
|
25
|
+
* 流程实例类型定义
|
|
26
|
+
*/
|
|
27
|
+
export declare class ProcInst {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
status: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 流程任务类型定义
|
|
34
|
+
*/
|
|
35
|
+
export declare class ProcTask {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
assignee: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 流程步骤定义类型
|
|
42
|
+
*/
|
|
43
|
+
export interface ProcStepDef {
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
type: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 流程启动结果类型
|
|
50
|
+
*/
|
|
51
|
+
export interface WorkflowStartResult {
|
|
52
|
+
code: number;
|
|
53
|
+
msg: string;
|
|
54
|
+
status: string;
|
|
55
|
+
data: {
|
|
56
|
+
procId?: string;
|
|
57
|
+
taskId?: string;
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* GlWorkflowModal 组件属性定义
|
|
63
|
+
*/
|
|
64
|
+
export declare const workflowModalProps: {
|
|
65
|
+
parentId: {
|
|
66
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
67
|
+
};
|
|
68
|
+
glComponentInst: {
|
|
69
|
+
type: PropType< IComponentInstance>;
|
|
70
|
+
default(): ComponentInstance;
|
|
71
|
+
};
|
|
72
|
+
glChildren: {
|
|
73
|
+
type: PropType<Array< IComponentInstance>>;
|
|
74
|
+
default(): never[];
|
|
75
|
+
};
|
|
76
|
+
glCtx: {
|
|
77
|
+
type: ObjectConstructor;
|
|
78
|
+
default(): {};
|
|
79
|
+
};
|
|
80
|
+
glIsRuntime: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default(): boolean;
|
|
83
|
+
};
|
|
84
|
+
glRuntimeFlag: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default(): string;
|
|
87
|
+
};
|
|
88
|
+
glIndex: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
};
|
|
91
|
+
glLoopItem: ObjectConstructor;
|
|
92
|
+
glLoopIndex: NumberConstructor;
|
|
93
|
+
glIgnoreInjectPageProxy: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default(): boolean;
|
|
96
|
+
};
|
|
97
|
+
componentStoreId: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default(): string;
|
|
100
|
+
};
|
|
101
|
+
pageCustom: PropType< PageCustomType>;
|
|
102
|
+
pagePermission: PropType< PagePermission>;
|
|
103
|
+
glDoAction: {
|
|
104
|
+
type: FunctionConstructor;
|
|
105
|
+
required: boolean;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* 流程定义ID
|
|
109
|
+
*/
|
|
110
|
+
procDefId: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
required: boolean;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* 流程实例任ID
|
|
116
|
+
* 创建流程时,该值为空
|
|
117
|
+
*/
|
|
118
|
+
procInstId: StringConstructor;
|
|
119
|
+
/**
|
|
120
|
+
* 当前流程实例任务节点ID
|
|
121
|
+
* 用于获取当前环节的处理信息
|
|
122
|
+
* 为空的场景:创建流程时、处理无明确处理人的公共任务时,从业务表单列表进入
|
|
123
|
+
* 不为空的场景:处理有明确处理人的公共任务时,从待办、已办列表进入
|
|
124
|
+
*/
|
|
125
|
+
procTaskId: StringConstructor;
|
|
126
|
+
/**
|
|
127
|
+
* 业务表ID
|
|
128
|
+
*/
|
|
129
|
+
bizId: StringConstructor;
|
|
130
|
+
/**
|
|
131
|
+
* 插槽模式,可用于打开页面时将页面内容分发到插槽中
|
|
132
|
+
*/
|
|
133
|
+
slotMode: BooleanConstructor;
|
|
134
|
+
label: StringConstructor;
|
|
135
|
+
subLabel: StringConstructor;
|
|
136
|
+
/**
|
|
137
|
+
* 布局模式
|
|
138
|
+
* 折叠:collapse
|
|
139
|
+
* 标签:tabs
|
|
140
|
+
*/
|
|
141
|
+
layoutMode: {
|
|
142
|
+
type: PropType<LayoutModeType>;
|
|
143
|
+
default(): string;
|
|
144
|
+
};
|
|
145
|
+
tabsPosition: {
|
|
146
|
+
type: PropType<TabsPosition>;
|
|
147
|
+
required: boolean;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* 是否启用印章状态图片
|
|
151
|
+
*/
|
|
152
|
+
enabledStatusImage: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
readonly: BooleanConstructor;
|
|
157
|
+
disabled: BooleanConstructor;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* GlWorkflowApprove 组件属性定义
|
|
161
|
+
*/
|
|
162
|
+
export declare const workflowApproveProps: {
|
|
163
|
+
/**
|
|
164
|
+
* 流程实例ID
|
|
165
|
+
*/
|
|
166
|
+
procId: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
required: boolean;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* 任务ID
|
|
172
|
+
*/
|
|
173
|
+
taskId: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
required: boolean;
|
|
176
|
+
};
|
|
177
|
+
readonly: BooleanConstructor;
|
|
178
|
+
disabled: BooleanConstructor;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* 工作流组件对外暴露的方法类型
|
|
182
|
+
*/
|
|
183
|
+
export interface WorkflowModalExpose {
|
|
184
|
+
/**
|
|
185
|
+
* 启动新流程方法
|
|
186
|
+
* @param formData 表单数据
|
|
187
|
+
*/
|
|
188
|
+
startNewWorkflow: (formData: Record<string, any>) => Promise<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* 提交表单并启动流程
|
|
191
|
+
*/
|
|
192
|
+
submitAndStartWorkflow: () => Promise<boolean>;
|
|
193
|
+
/**
|
|
194
|
+
* 提交流程任务
|
|
195
|
+
*/
|
|
196
|
+
submitWorkflowTask: () => Promise<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* 保存表单数据并提交流程任务
|
|
199
|
+
*/
|
|
200
|
+
saveFormAndSubmitTask: () => Promise<boolean>;
|
|
201
|
+
/**
|
|
202
|
+
* 步骤选择变化处理
|
|
203
|
+
* @param step 工作流步骤
|
|
204
|
+
*/
|
|
205
|
+
onStepSelectionChange: (step: any) => Promise<void>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* 页面参数类型
|
|
209
|
+
*/
|
|
210
|
+
export interface PageParams {
|
|
211
|
+
procInstId: string;
|
|
212
|
+
bizId: string;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* 工作流启动表单组件属性定义
|
|
216
|
+
*/
|
|
217
|
+
export interface WorkflowStartFormProps {
|
|
218
|
+
/** 流程定义ID */
|
|
219
|
+
procDefId: string;
|
|
220
|
+
/** 申请说明 */
|
|
221
|
+
remark?: string;
|
|
222
|
+
/** 附件IDs */
|
|
223
|
+
attachIds?: string;
|
|
224
|
+
/** 是否隐藏提交按钮 */
|
|
225
|
+
hideSubmitButton?: boolean;
|
|
226
|
+
/** 提交按钮文本 */
|
|
227
|
+
submitButtonText?: string;
|
|
228
|
+
/** 是否只读 */
|
|
229
|
+
readonly?: boolean;
|
|
230
|
+
/** 是否禁用 */
|
|
231
|
+
disabled?: boolean;
|
|
232
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComputedRef } from '../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
export declare const useDropdownTriggerProps: (options: {
|
|
3
|
+
dropdownMaxWidth?: string | number;
|
|
4
|
+
}) => ComputedRef<{
|
|
5
|
+
autoFitPopupMinWidth?: undefined;
|
|
6
|
+
autoFitPopupWidth?: undefined;
|
|
7
|
+
contentStyle?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
autoFitPopupMinWidth: boolean;
|
|
10
|
+
autoFitPopupWidth: boolean;
|
|
11
|
+
contentStyle: any;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PageProvideProxy } from '@geelato/gl-runtime-core';
|
|
2
|
+
import { ComputedRef, Ref } from '../../vue/dist/vue.esm-bundler.js';
|
|
3
|
+
/**
|
|
4
|
+
* 页面状态及组件状态的相关的组合函数
|
|
5
|
+
* @param pageProvideProxy 页面代理对象
|
|
6
|
+
* @param props 组件属性
|
|
7
|
+
*/
|
|
8
|
+
export declare function useStatus(options: {
|
|
9
|
+
pageProvideProxy: PageProvideProxy;
|
|
10
|
+
props?: {
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
}): {
|
|
15
|
+
isRead: ComputedRef<boolean | undefined>;
|
|
16
|
+
isCopyCreate: Ref<boolean, boolean>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 树形组件相关的组合式函数
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 验证节点key是否有效
|
|
6
|
+
* @param key 节点key
|
|
7
|
+
* @returns 是否有效
|
|
8
|
+
*/
|
|
9
|
+
export declare const isValidNodeKey: (key: any) => boolean;
|
|
10
|
+
/**
|
|
11
|
+
* 根据层数获取需要展开的节点keys
|
|
12
|
+
* @param nodes 树形节点数组
|
|
13
|
+
* @param level 展开层级
|
|
14
|
+
* @returns 需要展开的节点key数组
|
|
15
|
+
*/
|
|
16
|
+
export declare const getExpandedKeysByLevel: (nodes: any[], level: number) => (string | number)[];
|
|
17
|
+
/**
|
|
18
|
+
* 过滤并验证展开节点keys
|
|
19
|
+
* @param keys 原始节点key数组
|
|
20
|
+
* @returns 过滤后的有效节点key数组
|
|
21
|
+
*/
|
|
22
|
+
export declare const filterValidExpandedKeys: (keys: (string | number)[]) => (string | number)[];
|
|
23
|
+
/**
|
|
24
|
+
* 树形组件相关的组合式函数
|
|
25
|
+
* @returns 树形组件相关的工具函数
|
|
26
|
+
*/
|
|
27
|
+
export declare const useTree: () => {
|
|
28
|
+
isValidNodeKey: (key: any) => boolean;
|
|
29
|
+
getExpandedKeysByLevel: (nodes: any[], level: number) => (string | number)[];
|
|
30
|
+
filterValidExpandedKeys: (keys: (string | number)[]) => (string | number)[];
|
|
31
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EntityReaderParam, PageProvideProxy } from '@geelato/gl-runtime-core';
|
|
2
|
+
/**
|
|
3
|
+
* 解析查询条件过滤器,形成用于实体查询的参数
|
|
4
|
+
* @param valueFilter
|
|
5
|
+
* @param pageProxy
|
|
6
|
+
* @param glCtx 上下文信息
|
|
7
|
+
*/
|
|
8
|
+
export declare const parseValueFilter: (valueFilter: EntityReaderParam[], pageProxy: PageProvideProxy, glCtx: any) => EntityReaderParam[];
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
订单费用补录申请流程: string;
|
|
3
|
+
暂存: string;
|
|
4
|
+
同意: string;
|
|
5
|
+
退回: string;
|
|
6
|
+
转交: string;
|
|
7
|
+
传阅: string;
|
|
8
|
+
加签: string;
|
|
9
|
+
催办: string;
|
|
10
|
+
'\u662F\u5426\u64A4\u56DE?': string;
|
|
11
|
+
撤回: string;
|
|
12
|
+
切换页面布局: string;
|
|
13
|
+
流程表单: string;
|
|
14
|
+
表单附件: string;
|
|
15
|
+
审批记录: string;
|
|
16
|
+
关联流程: string;
|
|
17
|
+
流程处理: string;
|
|
18
|
+
取消: string;
|
|
19
|
+
发送: string;
|
|
20
|
+
流程图: string;
|
|
21
|
+
删除: string;
|
|
22
|
+
移交给同岗位的人员处理: string;
|
|
23
|
+
'\u5220\u9664\u5F53\u524D\u6D41\u7A0B\u5B9E\u4F8B\uFF0C\u53EA\u6709\u5904\u7406\u4EBA\u662F\u53D1\u8D77\u4EBA\u65F6\u624D\u53EF\u4EE5\u5220\u9664': string;
|
|
24
|
+
'\u672A\u590D\u5236\uFF0C\u5185\u5BB9\u4E3A\u7A7A': string;
|
|
25
|
+
复制成功: string;
|
|
26
|
+
双击复制: string;
|
|
27
|
+
无: string;
|
|
28
|
+
请选择: string;
|
|
29
|
+
'\u3010\u6682\u65E0\u6570\u636E\u3011': string;
|
|
30
|
+
'\u3010\u672A\u914D\u7F6E\u5B57\u5178\u3011': string;
|
|
31
|
+
工具栏: string;
|
|
32
|
+
添加: string;
|
|
33
|
+
编辑: string;
|
|
34
|
+
预览: string;
|
|
35
|
+
复制源码: string;
|
|
36
|
+
发信设置: string;
|
|
37
|
+
'\u660E\u5929\u4E0A\u5348 9:00 \u53D1\u9001': string;
|
|
38
|
+
'\u81EA\u5B9A\u4E49\u65F6\u95F4\u53D1\u9001...': string;
|
|
39
|
+
邮件状态: string;
|
|
40
|
+
'\u53D1\u9001\u540E\uFF0C\u90AE\u4EF6\u5C06\u4E8E {0} \u53D1\u51FA': string;
|
|
41
|
+
发送人: string;
|
|
42
|
+
收件人: string;
|
|
43
|
+
抄送: string;
|
|
44
|
+
密送: string;
|
|
45
|
+
主题: string;
|
|
46
|
+
附件: string;
|
|
47
|
+
请选择发送人: string;
|
|
48
|
+
请选择收件人: string;
|
|
49
|
+
请选择抄送人: string;
|
|
50
|
+
请选择密送人: string;
|
|
51
|
+
请输入邮件标题: string;
|
|
52
|
+
当前用户: string;
|
|
53
|
+
未设置: string;
|
|
54
|
+
设置发送时间: string;
|
|
55
|
+
邮件预览: string;
|
|
56
|
+
关闭: string;
|
|
57
|
+
待发送: string;
|
|
58
|
+
发送成功: string;
|
|
59
|
+
发送失败: string;
|
|
60
|
+
部分成功: string;
|
|
61
|
+
草稿: string;
|
|
62
|
+
未知状态: string;
|
|
63
|
+
新建: string;
|
|
64
|
+
'\u5B9A\u65F6\u53D1\u9001\uFF1A{0}': string;
|
|
65
|
+
'(\u65E0\u4E3B\u9898)': string;
|
|
66
|
+
'\uFF08\u65E0\uFF09': string;
|
|
67
|
+
'(\u65E0\u5185\u5BB9)': string;
|
|
68
|
+
'\u53D1\u4EF6\u4EBA\uFF1A': string;
|
|
69
|
+
'\u6536\u4EF6\u4EBA\uFF1A': string;
|
|
70
|
+
'\u6284\u9001\uFF1A': string;
|
|
71
|
+
'\u5BC6\u9001\uFF1A': string;
|
|
72
|
+
无效时间: string;
|
|
73
|
+
'\u4ECA\u5929 {0}': string;
|
|
74
|
+
'\u660E\u5929 {0}': string;
|
|
75
|
+
'\u5468{0} {1}': string;
|
|
76
|
+
'{0}\u5E74{1}\u6708{2}\u65E5 {3}': string;
|
|
77
|
+
时间格式错误: string;
|
|
78
|
+
选择人员: string;
|
|
79
|
+
选择节点审批人: string;
|
|
80
|
+
输入关键字筛选用户: string;
|
|
81
|
+
输入关键字搜索用户: string;
|
|
82
|
+
'\u52A0\u8F7D\u4E2D...': string;
|
|
83
|
+
共: string;
|
|
84
|
+
条记录: string;
|
|
85
|
+
搜索: string;
|
|
86
|
+
请输入关键字搜索: string;
|
|
87
|
+
显示全部用户: string;
|
|
88
|
+
未找到匹配的用户: string;
|
|
89
|
+
'\u641C\u59D3\u540D\u3001\u82F1\u6587\u3001\u90E8\u95E8': string;
|
|
90
|
+
刷新数据: string;
|
|
91
|
+
刷新: string;
|
|
92
|
+
加载中: string;
|
|
93
|
+
离职: string;
|
|
94
|
+
在职: string;
|
|
95
|
+
所有: string;
|
|
96
|
+
输入名称过滤: string;
|
|
97
|
+
折叠: string;
|
|
98
|
+
展开: string;
|
|
99
|
+
已选择: string;
|
|
100
|
+
加载用户数据失败: string;
|
|
101
|
+
刷新数据失败: string;
|
|
102
|
+
加载节点审批人失败: string;
|
|
103
|
+
'\u4F7F\u7528\u5916\u90E8\u6570\u636E\uFF0C\u65E0\u9700\u5237\u65B0': string;
|
|
104
|
+
'upload.remove.success': string;
|
|
105
|
+
'upload.delete.success': string;
|
|
106
|
+
'upload.error': string;
|
|
107
|
+
'upload.success': string;
|
|
108
|
+
'upload.drag.here': string;
|
|
109
|
+
'upload.click': string;
|
|
110
|
+
'upload.drop.overlay': string;
|
|
111
|
+
'menu.list.searchTable': string;
|
|
112
|
+
'searchTable.form.number': string;
|
|
113
|
+
'searchTable.form.number.placeholder': string;
|
|
114
|
+
'searchTable.form.name': string;
|
|
115
|
+
'searchTable.form.name.placeholder': string;
|
|
116
|
+
'searchTable.form.contentType': string;
|
|
117
|
+
'searchTable.form.contentType.img': string;
|
|
118
|
+
'searchTable.form.contentType.horizontalVideo': string;
|
|
119
|
+
'searchTable.form.contentType.verticalVideo': string;
|
|
120
|
+
'searchTable.form.filterType': string;
|
|
121
|
+
'searchTable.form.filterType.artificial': string;
|
|
122
|
+
'searchTable.form.filterType.rules': string;
|
|
123
|
+
'searchTable.form.createdTime': string;
|
|
124
|
+
'searchTable.form.status': string;
|
|
125
|
+
'searchTable.form.status.online': string;
|
|
126
|
+
'searchTable.form.status.offline': string;
|
|
127
|
+
'searchTable.form.search': string;
|
|
128
|
+
'searchTable.form.reset': string;
|
|
129
|
+
'searchTable.form.selectDefault': string;
|
|
130
|
+
'searchTable.operation.create': string;
|
|
131
|
+
'searchTable.operation.import': string;
|
|
132
|
+
'searchTable.operation.download': string;
|
|
133
|
+
'searchTable.columns.index': string;
|
|
134
|
+
'searchTable.columns.number': string;
|
|
135
|
+
'searchTable.columns.name': string;
|
|
136
|
+
'searchTable.columns.contentType': string;
|
|
137
|
+
'searchTable.columns.filterType': string;
|
|
138
|
+
'searchTable.columns.count': string;
|
|
139
|
+
'searchTable.columns.createdTime': string;
|
|
140
|
+
'searchTable.columns.status': string;
|
|
141
|
+
'searchTable.columns.operations': string;
|
|
142
|
+
'searchTable.columns.operations.view': string;
|
|
143
|
+
'searchTable.size.mini': string;
|
|
144
|
+
'searchTable.size.small': string;
|
|
145
|
+
'searchTable.size.medium': string;
|
|
146
|
+
'searchTable.size.large': string;
|
|
147
|
+
'searchTable.actions.refresh': string;
|
|
148
|
+
'searchTable.actions.density': string;
|
|
149
|
+
'searchTable.actions.columnSetting': string;
|
|
150
|
+
'searchTable.query.expand': string;
|
|
151
|
+
'searchTable.query.collapse': string;
|
|
152
|
+
'searchTable.operation.addRow': string;
|
|
153
|
+
'searchTable.status.selected': string;
|
|
154
|
+
'searchTable.status.pushed': string;
|
|
155
|
+
'searchTable.filter.saveTitle': string;
|
|
156
|
+
'searchTable.filter.name.label': string;
|
|
157
|
+
'searchTable.filter.name.placeholder': string;
|
|
158
|
+
'searchTable.filter.displayMode': string;
|
|
159
|
+
'searchTable.filter.quickAdd.tooltip': string;
|
|
160
|
+
'searchTable.filter.myFilters.tooltip': string;
|
|
161
|
+
'searchTable.export': string;
|
|
162
|
+
'searchTable.columns.seqLabel': string;
|
|
163
|
+
'searchTable.actions.density.tooltip': string;
|
|
164
|
+
'searchTable.filter.manager.title': string;
|
|
165
|
+
'searchTable.filter.displayMode.toolbar': string;
|
|
166
|
+
'searchTable.filter.displayMode.dropdown': string;
|
|
167
|
+
'searchTable.filter.displayMode.tabs': string;
|
|
168
|
+
'searchTable.filter.noConditions': string;
|
|
169
|
+
'searchTable.filter.name.required': string;
|
|
170
|
+
'searchTable.filter.name.exists': string;
|
|
171
|
+
'searchTable.filter.list.title': string;
|
|
172
|
+
'searchTable.filter.remove.confirm': string;
|
|
173
|
+
'searchTable.filter.empty': string;
|
|
174
|
+
'searchTable.filter.conditions.title': string;
|
|
175
|
+
'searchTable.filter.conditions.hideEmpty': string;
|
|
176
|
+
'searchTable.filter.conditions.empty': string;
|
|
177
|
+
'searchTable.filter.conditions.emptyPlaceholder': string;
|
|
178
|
+
'searchTable.filter.alert.unsaved': string;
|
|
179
|
+
'searchTable.filter.name.empty': string;
|
|
180
|
+
'searchTable.filter.value.empty': string;
|
|
181
|
+
'searchTable.filter.value.true': string;
|
|
182
|
+
'searchTable.filter.value.false': string;
|
|
183
|
+
'searchTable.filter.addError.noPageCustom': string;
|
|
184
|
+
'searchTable.filter.saveError.noConfigStore': string;
|
|
185
|
+
'searchTable.filter.defaultName': string;
|
|
186
|
+
'searchTable.columns.stat.enabled': string;
|
|
187
|
+
'searchTable.columns.stat.disabled': string;
|
|
188
|
+
'searchTable.view.switchTooltip': string;
|
|
189
|
+
'searchTable.view.layoutTooltip.vertical': string;
|
|
190
|
+
'searchTable.view.layoutTooltip.horizontal': string;
|
|
191
|
+
'searchTable.view.table': string;
|
|
192
|
+
'searchTable.view.stat': string;
|
|
193
|
+
'searchTable.view.pivot': string;
|
|
194
|
+
'searchTable.view.switched': string;
|
|
195
|
+
'searchTable.status.deleted.tooltip': string;
|
|
196
|
+
'searchTable.status.deleted': string;
|
|
197
|
+
'common.cancel': string;
|
|
198
|
+
'common.ok': string;
|
|
199
|
+
'common.save': string;
|
|
200
|
+
'searchTable.localFilter.placeholder': string;
|
|
201
|
+
'searchTable.localFilter.result': string;
|
|
202
|
+
};
|
|
203
|
+
export default _default;
|