@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,370 @@
|
|
|
1
|
+
import { FileItem, RequestOption, UploadRequest, CustomIcon } from '@arco-design/web-vue';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, PropType, GlobalComponents, GlobalDirectives } from '../../../vue/dist/vue.esm-bundler.js';
|
|
3
|
+
import { FileItem, ListType } from '@arco-design/web-vue/es/upload/interfaces';
|
|
4
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
visible: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
action: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (...args: any[]) => void;
|
|
19
|
+
"update:visible": (...args: any[]) => void;
|
|
20
|
+
success: (...args: any[]) => void;
|
|
21
|
+
cancel: (...args: any[]) => void;
|
|
22
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: ObjectConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
visible: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
action: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
modelValue: Record<string, any>;
|
|
42
|
+
visible: boolean;
|
|
43
|
+
action: string;
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
45
|
+
uploadRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
46
|
+
fileList: {
|
|
47
|
+
type: PropType< FileItem[]>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
defaultFileList: {
|
|
51
|
+
type: PropType< FileItem[]>;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
accept: StringConstructor;
|
|
55
|
+
action: StringConstructor;
|
|
56
|
+
disabled: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
multiple: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
directory: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
draggable: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
tip: StringConstructor;
|
|
73
|
+
headers: {
|
|
74
|
+
type: PropType<Record<string, string>>;
|
|
75
|
+
};
|
|
76
|
+
data: {
|
|
77
|
+
type: PropType<Record<string, string | Blob> | ((fileItem: FileItem) => Record<string, string | Blob>)>;
|
|
78
|
+
};
|
|
79
|
+
name: {
|
|
80
|
+
type: PropType<string | ((fileItem: FileItem) => string)>;
|
|
81
|
+
};
|
|
82
|
+
withCredentials: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
customRequest: {
|
|
87
|
+
type: PropType<(option: RequestOption) => UploadRequest>;
|
|
88
|
+
};
|
|
89
|
+
limit: {
|
|
90
|
+
type: NumberConstructor;
|
|
91
|
+
default: number;
|
|
92
|
+
};
|
|
93
|
+
autoUpload: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
showFileList: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
showRemoveButton: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
showRetryButton: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
showCancelButton: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
showUploadButton: {
|
|
114
|
+
type: PropType<boolean | {
|
|
115
|
+
showOnExceedLimit: boolean;
|
|
116
|
+
}>;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
showPreviewButton: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
download: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
showLink: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
imageLoading: {
|
|
132
|
+
type: PropType<"eager" | "lazy">;
|
|
133
|
+
};
|
|
134
|
+
listType: {
|
|
135
|
+
type: PropType<ListType>;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
responseUrlKey: {
|
|
139
|
+
type: PropType<string | ((fileItem: FileItem) => string)>;
|
|
140
|
+
};
|
|
141
|
+
customIcon: {
|
|
142
|
+
type: PropType<CustomIcon>;
|
|
143
|
+
};
|
|
144
|
+
imagePreview: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
onBeforeUpload: {
|
|
149
|
+
type: PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
150
|
+
};
|
|
151
|
+
onBeforeRemove: {
|
|
152
|
+
type: PropType<(fileItem: FileItem) => Promise<boolean>>;
|
|
153
|
+
};
|
|
154
|
+
onButtonClick: {
|
|
155
|
+
type: PropType<(event: Event) => void | Promise<FileList>>;
|
|
156
|
+
};
|
|
157
|
+
}>> & Readonly<{
|
|
158
|
+
onError?: ((fileItem: FileItem) => any) | undefined;
|
|
159
|
+
onProgress?: ((fileItem: FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
160
|
+
onChange?: ((fileList: FileItem[], fileItem: FileItem) => any) | undefined;
|
|
161
|
+
onSuccess?: ((fileItem: FileItem) => any) | undefined;
|
|
162
|
+
onPreview?: ((fileItem: FileItem) => any) | undefined;
|
|
163
|
+
onExceedLimit?: ((fileList: FileItem[], files: File[]) => any) | undefined;
|
|
164
|
+
"onUpdate:fileList"?: ((fileList: FileItem[]) => any) | undefined;
|
|
165
|
+
}>, {
|
|
166
|
+
prefixCls: string;
|
|
167
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
168
|
+
innerSubmit: (fileItem?: FileItem | undefined) => void;
|
|
169
|
+
innerAbort: (fileItem: FileItem) => void;
|
|
170
|
+
innerUpdateFile: (id: string, file: File) => void;
|
|
171
|
+
innerUpload: (files: File[]) => void;
|
|
172
|
+
}, {}, {}, {
|
|
173
|
+
submit(fileItem?: FileItem | undefined): void;
|
|
174
|
+
abort(fileItem: FileItem): void;
|
|
175
|
+
updateFile(id: string, file: File): void;
|
|
176
|
+
upload(files: File[]): void;
|
|
177
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
178
|
+
'update:fileList': (fileList: FileItem[]) => true;
|
|
179
|
+
exceedLimit: (fileList: FileItem[], files: File[]) => true;
|
|
180
|
+
change: (fileList: FileItem[], fileItem: FileItem) => true;
|
|
181
|
+
progress: (fileItem: FileItem, ev?: ProgressEvent<EventTarget> | undefined) => true;
|
|
182
|
+
preview: (fileItem: FileItem) => true;
|
|
183
|
+
success: (fileItem: FileItem) => true;
|
|
184
|
+
error: (fileItem: FileItem) => true;
|
|
185
|
+
}, PublicProps, {
|
|
186
|
+
disabled: boolean;
|
|
187
|
+
multiple: boolean;
|
|
188
|
+
draggable: boolean;
|
|
189
|
+
limit: number;
|
|
190
|
+
fileList: FileItem[];
|
|
191
|
+
defaultFileList: FileItem[];
|
|
192
|
+
directory: boolean;
|
|
193
|
+
withCredentials: boolean;
|
|
194
|
+
autoUpload: boolean;
|
|
195
|
+
showFileList: boolean;
|
|
196
|
+
showRemoveButton: boolean;
|
|
197
|
+
showRetryButton: boolean;
|
|
198
|
+
showCancelButton: boolean;
|
|
199
|
+
showUploadButton: boolean | {
|
|
200
|
+
showOnExceedLimit: boolean;
|
|
201
|
+
};
|
|
202
|
+
showPreviewButton: boolean;
|
|
203
|
+
download: boolean;
|
|
204
|
+
showLink: boolean;
|
|
205
|
+
listType: ListType;
|
|
206
|
+
imagePreview: boolean;
|
|
207
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
208
|
+
P: {};
|
|
209
|
+
B: {};
|
|
210
|
+
D: {};
|
|
211
|
+
C: {};
|
|
212
|
+
M: {};
|
|
213
|
+
Defaults: {};
|
|
214
|
+
}, Readonly< ExtractPropTypes<{
|
|
215
|
+
fileList: {
|
|
216
|
+
type: PropType< FileItem[]>;
|
|
217
|
+
default: undefined;
|
|
218
|
+
};
|
|
219
|
+
defaultFileList: {
|
|
220
|
+
type: PropType< FileItem[]>;
|
|
221
|
+
default: () => never[];
|
|
222
|
+
};
|
|
223
|
+
accept: StringConstructor;
|
|
224
|
+
action: StringConstructor;
|
|
225
|
+
disabled: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
multiple: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
directory: {
|
|
234
|
+
type: BooleanConstructor;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
|
+
draggable: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
tip: StringConstructor;
|
|
242
|
+
headers: {
|
|
243
|
+
type: PropType<Record<string, string>>;
|
|
244
|
+
};
|
|
245
|
+
data: {
|
|
246
|
+
type: PropType<Record<string, string | Blob> | ((fileItem: FileItem) => Record<string, string | Blob>)>;
|
|
247
|
+
};
|
|
248
|
+
name: {
|
|
249
|
+
type: PropType<string | ((fileItem: FileItem) => string)>;
|
|
250
|
+
};
|
|
251
|
+
withCredentials: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
customRequest: {
|
|
256
|
+
type: PropType<(option: RequestOption) => UploadRequest>;
|
|
257
|
+
};
|
|
258
|
+
limit: {
|
|
259
|
+
type: NumberConstructor;
|
|
260
|
+
default: number;
|
|
261
|
+
};
|
|
262
|
+
autoUpload: {
|
|
263
|
+
type: BooleanConstructor;
|
|
264
|
+
default: boolean;
|
|
265
|
+
};
|
|
266
|
+
showFileList: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
270
|
+
showRemoveButton: {
|
|
271
|
+
type: BooleanConstructor;
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
showRetryButton: {
|
|
275
|
+
type: BooleanConstructor;
|
|
276
|
+
default: boolean;
|
|
277
|
+
};
|
|
278
|
+
showCancelButton: {
|
|
279
|
+
type: BooleanConstructor;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
showUploadButton: {
|
|
283
|
+
type: PropType<boolean | {
|
|
284
|
+
showOnExceedLimit: boolean;
|
|
285
|
+
}>;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
288
|
+
showPreviewButton: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
default: boolean;
|
|
291
|
+
};
|
|
292
|
+
download: {
|
|
293
|
+
type: BooleanConstructor;
|
|
294
|
+
default: boolean;
|
|
295
|
+
};
|
|
296
|
+
showLink: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
imageLoading: {
|
|
301
|
+
type: PropType<"eager" | "lazy">;
|
|
302
|
+
};
|
|
303
|
+
listType: {
|
|
304
|
+
type: PropType<ListType>;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
responseUrlKey: {
|
|
308
|
+
type: PropType<string | ((fileItem: FileItem) => string)>;
|
|
309
|
+
};
|
|
310
|
+
customIcon: {
|
|
311
|
+
type: PropType<CustomIcon>;
|
|
312
|
+
};
|
|
313
|
+
imagePreview: {
|
|
314
|
+
type: BooleanConstructor;
|
|
315
|
+
default: boolean;
|
|
316
|
+
};
|
|
317
|
+
onBeforeUpload: {
|
|
318
|
+
type: PropType<(file: File) => boolean | Promise<boolean | File>>;
|
|
319
|
+
};
|
|
320
|
+
onBeforeRemove: {
|
|
321
|
+
type: PropType<(fileItem: FileItem) => Promise<boolean>>;
|
|
322
|
+
};
|
|
323
|
+
onButtonClick: {
|
|
324
|
+
type: PropType<(event: Event) => void | Promise<FileList>>;
|
|
325
|
+
};
|
|
326
|
+
}>> & Readonly<{
|
|
327
|
+
onError?: ((fileItem: FileItem) => any) | undefined;
|
|
328
|
+
onProgress?: ((fileItem: FileItem, ev?: ProgressEvent<EventTarget> | undefined) => any) | undefined;
|
|
329
|
+
onChange?: ((fileList: FileItem[], fileItem: FileItem) => any) | undefined;
|
|
330
|
+
onSuccess?: ((fileItem: FileItem) => any) | undefined;
|
|
331
|
+
onPreview?: ((fileItem: FileItem) => any) | undefined;
|
|
332
|
+
onExceedLimit?: ((fileList: FileItem[], files: File[]) => any) | undefined;
|
|
333
|
+
"onUpdate:fileList"?: ((fileList: FileItem[]) => any) | undefined;
|
|
334
|
+
}>, {
|
|
335
|
+
prefixCls: string;
|
|
336
|
+
render: () => false | import("vue/jsx-runtime").JSX.Element;
|
|
337
|
+
innerSubmit: (fileItem?: FileItem | undefined) => void;
|
|
338
|
+
innerAbort: (fileItem: FileItem) => void;
|
|
339
|
+
innerUpdateFile: (id: string, file: File) => void;
|
|
340
|
+
innerUpload: (files: File[]) => void;
|
|
341
|
+
}, {}, {}, {
|
|
342
|
+
submit(fileItem?: FileItem | undefined): void;
|
|
343
|
+
abort(fileItem: FileItem): void;
|
|
344
|
+
updateFile(id: string, file: File): void;
|
|
345
|
+
upload(files: File[]): void;
|
|
346
|
+
}, {
|
|
347
|
+
disabled: boolean;
|
|
348
|
+
multiple: boolean;
|
|
349
|
+
draggable: boolean;
|
|
350
|
+
limit: number;
|
|
351
|
+
fileList: FileItem[];
|
|
352
|
+
defaultFileList: FileItem[];
|
|
353
|
+
directory: boolean;
|
|
354
|
+
withCredentials: boolean;
|
|
355
|
+
autoUpload: boolean;
|
|
356
|
+
showFileList: boolean;
|
|
357
|
+
showRemoveButton: boolean;
|
|
358
|
+
showRetryButton: boolean;
|
|
359
|
+
showCancelButton: boolean;
|
|
360
|
+
showUploadButton: boolean | {
|
|
361
|
+
showOnExceedLimit: boolean;
|
|
362
|
+
};
|
|
363
|
+
showPreviewButton: boolean;
|
|
364
|
+
download: boolean;
|
|
365
|
+
showLink: boolean;
|
|
366
|
+
listType: ListType;
|
|
367
|
+
imagePreview: boolean;
|
|
368
|
+
}> | null;
|
|
369
|
+
}, any>;
|
|
370
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Ref } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
export interface UseExternalDropAreaOptions {
|
|
3
|
+
externalDropAreaId: string | undefined;
|
|
4
|
+
isRead: Ref<boolean>;
|
|
5
|
+
onFilesDropped: (files: FileList) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function useExternalDropArea(options: UseExternalDropAreaOptions): {
|
|
8
|
+
isDragOver: Ref<boolean, boolean>;
|
|
9
|
+
setupExternalDropArea: () => void;
|
|
10
|
+
cleanupExternalDropArea: () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { FileItem } from '@arco-design/web-vue';
|
|
3
|
+
/**
|
|
4
|
+
* 文件管理组合式函数
|
|
5
|
+
* 提供文件添加、获取文件ID等功能
|
|
6
|
+
*/
|
|
7
|
+
export declare function useFileManager(fileList: Ref<FileItem[]>, resetMv: () => void, thumbnail?: boolean): {
|
|
8
|
+
getFileIds: (params?: {}) => string[];
|
|
9
|
+
addFileById: (params?: {
|
|
10
|
+
fileId: string;
|
|
11
|
+
showMessage?: boolean;
|
|
12
|
+
}) => Promise<boolean>;
|
|
13
|
+
addFilesByIds: (params?: {
|
|
14
|
+
fileIds: string[];
|
|
15
|
+
showMessage?: boolean;
|
|
16
|
+
}) => Promise<boolean>;
|
|
17
|
+
isExternallyAddedFile: (fileId: string) => boolean;
|
|
18
|
+
removeExternallyAddedFile: (fileId: string) => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'upload.remove.success': string;
|
|
3
|
+
'upload.delete.success': string;
|
|
4
|
+
'upload.error': string;
|
|
5
|
+
'upload.success': string;
|
|
6
|
+
'upload.drag.here': string;
|
|
7
|
+
'upload.click': string;
|
|
8
|
+
'upload.drop.overlay': string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'upload.remove.success': string;
|
|
3
|
+
'upload.delete.success': string;
|
|
4
|
+
'upload.error': string;
|
|
5
|
+
'upload.success': string;
|
|
6
|
+
'upload.drag.here': string;
|
|
7
|
+
'upload.click': string;
|
|
8
|
+
'upload.drop.overlay': string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* 值为一个用户id,如果是多选模式,则是多个id中间用","分隔
|
|
5
|
+
*/
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default(): string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 是否支持多选
|
|
12
|
+
*/
|
|
13
|
+
multipleSelect: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default(): boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 选择的名称绑定的组件id
|
|
19
|
+
* 在选择人员时,同时将名称值绑定到另一个组件中,如果不设置,则不需绑定
|
|
20
|
+
*/
|
|
21
|
+
nameFieldBindComponentId: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default(): string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 部门id绑定的组件id
|
|
27
|
+
* 在选择人员时,同时将部门id值绑定到另一个组件中,如果不设置,则不需绑定
|
|
28
|
+
*/
|
|
29
|
+
deptIdFieldBindComponentId: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default(): string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* 公司/事业部id绑定的组件id
|
|
35
|
+
*/
|
|
36
|
+
buIdFieldBindComponentId: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default(): string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 0;内部账号
|
|
42
|
+
* 1、系统账号
|
|
43
|
+
* 2、外部账号
|
|
44
|
+
* 默认为内部账号
|
|
45
|
+
*/
|
|
46
|
+
userTypes: {
|
|
47
|
+
type: PropType<Array<string>>;
|
|
48
|
+
default(): string[];
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* 显示英文名
|
|
52
|
+
*/
|
|
53
|
+
showEnName: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default(): boolean;
|
|
56
|
+
};
|
|
57
|
+
showCnName: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default(): boolean;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* 显示部门名称
|
|
63
|
+
*/
|
|
64
|
+
showOrgName: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default(): boolean;
|
|
67
|
+
};
|
|
68
|
+
readonly: BooleanConstructor;
|
|
69
|
+
disabled: BooleanConstructor;
|
|
70
|
+
/**
|
|
71
|
+
* 是否使用内联模式(不弹窗)
|
|
72
|
+
*/
|
|
73
|
+
inline: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* 内联模式下的下拉框最大高度
|
|
79
|
+
*/
|
|
80
|
+
inlineDropdownHeight: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* 查询模式
|
|
86
|
+
* true: 本地查询模式(推荐)
|
|
87
|
+
* - 适用场景:用户数量在1000以下,需要快速响应的场景
|
|
88
|
+
* - 优点:一次性加载所有数据到本地,搜索响应快,无网络延迟
|
|
89
|
+
* - 缺点:初始加载时间较长,占用前端内存
|
|
90
|
+
*
|
|
91
|
+
* false: 服务端查询模式
|
|
92
|
+
* - 适用场景:用户数量较多,或对初始加载速度要求高的场景
|
|
93
|
+
* - 优点:初始加载快,内存占用少
|
|
94
|
+
* - 缺点:每次搜索都需要请求服务器,有网络延迟
|
|
95
|
+
*/
|
|
96
|
+
localSearch: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* true: 显示离职人员(enableStatus=0)
|
|
102
|
+
* 是否显示离职人员,默认不显示
|
|
103
|
+
* true: 显示离职人员(enableStatus=0 + enableStatus=1)
|
|
104
|
+
* false: 不显示离职人员(默认)
|
|
105
|
+
*/
|
|
106
|
+
showResignedUsers: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default(): boolean;
|
|
109
|
+
};
|
|
110
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
111
|
+
"update:modelValue": (...args: any[]) => void;
|
|
112
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
113
|
+
/**
|
|
114
|
+
* 值为一个用户id,如果是多选模式,则是多个id中间用","分隔
|
|
115
|
+
*/
|
|
116
|
+
modelValue: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default(): string;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* 是否支持多选
|
|
122
|
+
*/
|
|
123
|
+
multipleSelect: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default(): boolean;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* 选择的名称绑定的组件id
|
|
129
|
+
* 在选择人员时,同时将名称值绑定到另一个组件中,如果不设置,则不需绑定
|
|
130
|
+
*/
|
|
131
|
+
nameFieldBindComponentId: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default(): string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* 部门id绑定的组件id
|
|
137
|
+
* 在选择人员时,同时将部门id值绑定到另一个组件中,如果不设置,则不需绑定
|
|
138
|
+
*/
|
|
139
|
+
deptIdFieldBindComponentId: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default(): string;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* 公司/事业部id绑定的组件id
|
|
145
|
+
*/
|
|
146
|
+
buIdFieldBindComponentId: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default(): string;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* 0;内部账号
|
|
152
|
+
* 1、系统账号
|
|
153
|
+
* 2、外部账号
|
|
154
|
+
* 默认为内部账号
|
|
155
|
+
*/
|
|
156
|
+
userTypes: {
|
|
157
|
+
type: PropType<Array<string>>;
|
|
158
|
+
default(): string[];
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* 显示英文名
|
|
162
|
+
*/
|
|
163
|
+
showEnName: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default(): boolean;
|
|
166
|
+
};
|
|
167
|
+
showCnName: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default(): boolean;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* 显示部门名称
|
|
173
|
+
*/
|
|
174
|
+
showOrgName: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default(): boolean;
|
|
177
|
+
};
|
|
178
|
+
readonly: BooleanConstructor;
|
|
179
|
+
disabled: BooleanConstructor;
|
|
180
|
+
/**
|
|
181
|
+
* 是否使用内联模式(不弹窗)
|
|
182
|
+
*/
|
|
183
|
+
inline: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* 内联模式下的下拉框最大高度
|
|
189
|
+
*/
|
|
190
|
+
inlineDropdownHeight: {
|
|
191
|
+
type: NumberConstructor;
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* 查询模式
|
|
196
|
+
* true: 本地查询模式(推荐)
|
|
197
|
+
* - 适用场景:用户数量在1000以下,需要快速响应的场景
|
|
198
|
+
* - 优点:一次性加载所有数据到本地,搜索响应快,无网络延迟
|
|
199
|
+
* - 缺点:初始加载时间较长,占用前端内存
|
|
200
|
+
*
|
|
201
|
+
* false: 服务端查询模式
|
|
202
|
+
* - 适用场景:用户数量较多,或对初始加载速度要求高的场景
|
|
203
|
+
* - 优点:初始加载快,内存占用少
|
|
204
|
+
* - 缺点:每次搜索都需要请求服务器,有网络延迟
|
|
205
|
+
*/
|
|
206
|
+
localSearch: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* true: 显示离职人员(enableStatus=0)
|
|
212
|
+
* 是否显示离职人员,默认不显示
|
|
213
|
+
* true: 显示离职人员(enableStatus=0 + enableStatus=1)
|
|
214
|
+
* false: 不显示离职人员(默认)
|
|
215
|
+
*/
|
|
216
|
+
showResignedUsers: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default(): boolean;
|
|
219
|
+
};
|
|
220
|
+
}>> & Readonly<{
|
|
221
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
222
|
+
}>, {
|
|
223
|
+
modelValue: string;
|
|
224
|
+
disabled: boolean;
|
|
225
|
+
readonly: boolean;
|
|
226
|
+
inline: boolean;
|
|
227
|
+
multipleSelect: boolean;
|
|
228
|
+
showEnName: boolean;
|
|
229
|
+
showCnName: boolean;
|
|
230
|
+
showOrgName: boolean;
|
|
231
|
+
localSearch: boolean;
|
|
232
|
+
showResignedUsers: boolean;
|
|
233
|
+
nameFieldBindComponentId: string;
|
|
234
|
+
deptIdFieldBindComponentId: string;
|
|
235
|
+
buIdFieldBindComponentId: string;
|
|
236
|
+
userTypes: string[];
|
|
237
|
+
inlineDropdownHeight: number;
|
|
238
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
239
|
+
export default _default;
|