@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,93 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default(): string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* 按钮的部分的专用属性
|
|
9
|
+
*/
|
|
10
|
+
buttonProps: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default(): {};
|
|
13
|
+
};
|
|
14
|
+
label: StringConstructor;
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<"mini" | "small" | "medium" | "large">;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
loading: BooleanConstructor;
|
|
20
|
+
disabled: BooleanConstructor;
|
|
21
|
+
/**
|
|
22
|
+
* 下拉选项
|
|
23
|
+
*/
|
|
24
|
+
options: {
|
|
25
|
+
type: PropType<GlDropDownOption[]>;
|
|
26
|
+
default(): never[];
|
|
27
|
+
};
|
|
28
|
+
trigger: {
|
|
29
|
+
type: PropType<"hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[]>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
position: {
|
|
33
|
+
type: PropType<"top" | "tl" | "tr" | "bottom" | "bl" | "br">;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
+
"update:modelValue": (...args: any[]) => void;
|
|
38
|
+
select: (...args: any[]) => void;
|
|
39
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
40
|
+
modelValue: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default(): string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* 按钮的部分的专用属性
|
|
46
|
+
*/
|
|
47
|
+
buttonProps: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
default(): {};
|
|
50
|
+
};
|
|
51
|
+
label: StringConstructor;
|
|
52
|
+
size: {
|
|
53
|
+
type: PropType<"mini" | "small" | "medium" | "large">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
loading: BooleanConstructor;
|
|
57
|
+
disabled: BooleanConstructor;
|
|
58
|
+
/**
|
|
59
|
+
* 下拉选项
|
|
60
|
+
*/
|
|
61
|
+
options: {
|
|
62
|
+
type: PropType<GlDropDownOption[]>;
|
|
63
|
+
default(): never[];
|
|
64
|
+
};
|
|
65
|
+
trigger: {
|
|
66
|
+
type: PropType<"hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[]>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
position: {
|
|
70
|
+
type: PropType<"top" | "tl" | "tr" | "bottom" | "bl" | "br">;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{
|
|
74
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
modelValue: string;
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
size: "small" | "medium" | "large" | "mini";
|
|
80
|
+
loading: boolean;
|
|
81
|
+
options: GlDropDownOption[];
|
|
82
|
+
position: "br" | "tr" | "top" | "bottom" | "tl" | "bl";
|
|
83
|
+
trigger: "click" | "focus" | "hover" | "contextMenu" | ("click" | "focus" | "hover" | "contextMenu")[];
|
|
84
|
+
buttonProps: Record<string, any>;
|
|
85
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
86
|
+
export default _default;
|
|
87
|
+
export type GlDropDownOption = {
|
|
88
|
+
title: string;
|
|
89
|
+
key: string;
|
|
90
|
+
iconType?: string;
|
|
91
|
+
color?: string;
|
|
92
|
+
disabled?: boolean;
|
|
93
|
+
};
|
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { EntityReaderParam, TriggerConstraint, TriggerMode, EntityReaderOrderEnum, PageCustomType, PagePermission } from '@geelato/gl-runtime-core';
|
|
3
|
+
import { IComponentInstance } from '@geelato/gl-types';
|
|
4
|
+
import { ComponentInstance } from '@geelato/gl-ui-schema';
|
|
5
|
+
/**
|
|
6
|
+
* GlDynamicSelect 动态选择器组件
|
|
7
|
+
*
|
|
8
|
+
* 功能概述:
|
|
9
|
+
* - 基于实体模型加载选项,支持单选/多选。
|
|
10
|
+
* - 页面级静态数据源优先:通过 `pageDataSourceKey` 使用 GlPage 注入的数据源,前端本地过滤/排序/截取。
|
|
11
|
+
* - 服务端查询模式:`isSearchFormServer=true` 时按防抖触发向服务端查询。
|
|
12
|
+
* - 支持显示模板 `displayTemplate` 与多字段标签 `labelFieldNames`。
|
|
13
|
+
* - 默认选中 `defaultSelectedIndex` 与结果格式 `multiValueFormat`(array/string)。
|
|
14
|
+
* - 联动字段 `extraFieldAndBindIds`,可选 `doNotUpdateIfTargetHasValue` 避免覆盖已有值。
|
|
15
|
+
* - 支持刷新按钮 `showRefreshButton` 与忽略搜索词 `ignoreSearchWords`。
|
|
16
|
+
*
|
|
17
|
+
* 关键行为:
|
|
18
|
+
* - 当配置了 `pageDataSourceKey` 且对应页面数据源 `status=loaded` 时,组件将自动重置查询并刷新展示,无需手动 refresh。
|
|
19
|
+
* - 触发模式:
|
|
20
|
+
* - `TriggerMode.onCreated`:自动监听属性与页面数据源变化并加载。
|
|
21
|
+
* - `TriggerMode.onInvoked`:监听变化但不自动加载,需要外部调用 `refresh()` 或 `fetchData()`。
|
|
22
|
+
* - 查询参数 `valueFilter` 支持表达式解析,依赖 `PageProvideProxy` 与页面上下文(`glCtx`)。
|
|
23
|
+
*
|
|
24
|
+
* 使用示例:
|
|
25
|
+
* <GlDynamicSelect
|
|
26
|
+
* v-model="val"
|
|
27
|
+
* :entity-name="'sys_user'"
|
|
28
|
+
* :label-field-names="['name']"
|
|
29
|
+
* :value-filed-name="'id'"
|
|
30
|
+
* :page-data-source-key="'people'"
|
|
31
|
+
* :is-search-form-server="false"
|
|
32
|
+
* />
|
|
33
|
+
*
|
|
34
|
+
* 注意事项:
|
|
35
|
+
* - `useGlobal()` 需在组件 script 中执行(已遵循平台规则),不要在组合式函数外部执行。
|
|
36
|
+
* - 如使用页面级数据源,请确保 `GlPage` 通过 `PageProvideProxy.setStaticDataSource()` 或 `setEntityReaderDataSource()` 注入。
|
|
37
|
+
* - 页面数据源通常异步加载;组件已监听其 Ref 变化(idle/loading/loaded),`loaded` 时自动刷新;`onInvoked` 模式除外。
|
|
38
|
+
* - 本地过滤/排序依赖 `valueFilter`、`orderFiledName`、`ascOrDesc`、`maxRecordCount` 配置。
|
|
39
|
+
*/
|
|
40
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
41
|
+
parentId: {
|
|
42
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
43
|
+
};
|
|
44
|
+
glComponentInst: {
|
|
45
|
+
type: PropType< IComponentInstance>;
|
|
46
|
+
default(): ComponentInstance;
|
|
47
|
+
};
|
|
48
|
+
glChildren: {
|
|
49
|
+
type: PropType<Array< IComponentInstance>>;
|
|
50
|
+
default(): never[];
|
|
51
|
+
};
|
|
52
|
+
glCtx: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default(): {};
|
|
55
|
+
};
|
|
56
|
+
glIsRuntime: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default(): boolean;
|
|
59
|
+
};
|
|
60
|
+
glRuntimeFlag: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default(): string;
|
|
63
|
+
};
|
|
64
|
+
glIndex: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
};
|
|
67
|
+
glLoopItem: ObjectConstructor;
|
|
68
|
+
glLoopIndex: NumberConstructor;
|
|
69
|
+
glIgnoreInjectPageProxy: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default(): boolean;
|
|
72
|
+
};
|
|
73
|
+
componentStoreId: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default(): string;
|
|
76
|
+
};
|
|
77
|
+
pageCustom: PropType< PageCustomType>;
|
|
78
|
+
pagePermission: PropType< PagePermission>;
|
|
79
|
+
glDoAction: {
|
|
80
|
+
type: FunctionConstructor;
|
|
81
|
+
required: boolean;
|
|
82
|
+
};
|
|
83
|
+
id: StringConstructor;
|
|
84
|
+
modelValue: {
|
|
85
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* 多选时的返回值格式
|
|
89
|
+
* string: 返回逗号分隔的字符串,如 'a,b,c'
|
|
90
|
+
* array: 返回数组,如 ['a','b','c']
|
|
91
|
+
* 默认为 array
|
|
92
|
+
*/
|
|
93
|
+
multiValueFormat: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* 显示模板字符串,支持变量替换
|
|
99
|
+
* 例如: "{name} - {code}" 或 "{title}({type})"
|
|
100
|
+
* 变量名对应labelFieldNames中配置的字段名
|
|
101
|
+
* 当配置了displayTemplate时,优先使用模板格式
|
|
102
|
+
* 为空时使用默认的拼接方式(多个字段用空格连接)
|
|
103
|
+
*/
|
|
104
|
+
displayTemplate: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
entityName: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* 加载数据的触发模式
|
|
114
|
+
*/
|
|
115
|
+
triggerMode: {
|
|
116
|
+
type: PropType<TriggerMode>;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* 触发约束条件,限制触发条件
|
|
120
|
+
* 可以有多个触发约束条件,需要满足所有的条件,才会触发
|
|
121
|
+
* 为空则不限制
|
|
122
|
+
*/
|
|
123
|
+
triggerConstraint: {
|
|
124
|
+
type: PropType<Array<TriggerConstraint>>;
|
|
125
|
+
default(): never[];
|
|
126
|
+
};
|
|
127
|
+
labelFieldNames: {
|
|
128
|
+
type: PropType<string[]>;
|
|
129
|
+
required: true;
|
|
130
|
+
default(): never[];
|
|
131
|
+
};
|
|
132
|
+
valueFiledName: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default(): string;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* 查询过滤条件
|
|
138
|
+
*/
|
|
139
|
+
valueFilter: {
|
|
140
|
+
type: PropType<Array<EntityReaderParam>>;
|
|
141
|
+
default(): never[];
|
|
142
|
+
};
|
|
143
|
+
orderFiledName: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default(): string;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* 数据联动
|
|
149
|
+
* 额外查询出来的字段fieldName,并将结果设置到id中
|
|
150
|
+
* 其中,doNotUpdateIfTargetHasValue,默认情况下,下拉选择后会同步更新绑定的组件值,不管目标组件是否已有值,启用此选项后,如果目标组件已有值,则不会更新
|
|
151
|
+
* {id: string, fieldName: string, bindId: string, doNotUpdateIfTargetHasValue?: boolean}其中,id为联动字段的唯一标识,如:uHlG8lNSvccmBPN1rt8o,fieldName为查询出来的字段名,bindId为绑定的组件id,doNotUpdateIfTargetHasValue为是否不更新目标组件已有值
|
|
152
|
+
*/
|
|
153
|
+
extraFieldAndBindIds: {
|
|
154
|
+
type: PropType<Array<{
|
|
155
|
+
id: string;
|
|
156
|
+
fieldName: string;
|
|
157
|
+
bindId: string;
|
|
158
|
+
doNotUpdateIfTargetHasValue?: boolean;
|
|
159
|
+
}>>;
|
|
160
|
+
default(): never[];
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* 目标组件有值时不更新
|
|
164
|
+
* 默认情况下,下拉选择后会同步更新绑定的组件值,不管目标组件是否已有值
|
|
165
|
+
* 启用此选项后,如果目标组件已有值,则不会更新
|
|
166
|
+
*/
|
|
167
|
+
/**
|
|
168
|
+
* asc or desc
|
|
169
|
+
*/
|
|
170
|
+
ascOrDesc: {
|
|
171
|
+
type: PropType<EntityReaderOrderEnum>;
|
|
172
|
+
default(): any;
|
|
173
|
+
};
|
|
174
|
+
allowClear: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default(): boolean;
|
|
177
|
+
};
|
|
178
|
+
allowSearch: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default(): boolean;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* 双击复制当前选项展示内容
|
|
184
|
+
*/
|
|
185
|
+
copyOnDblClick: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default(): boolean;
|
|
188
|
+
};
|
|
189
|
+
maxRecordCount: {
|
|
190
|
+
type: NumberConstructor;
|
|
191
|
+
default(): number;
|
|
192
|
+
};
|
|
193
|
+
maxTagCount: {
|
|
194
|
+
type: NumberConstructor;
|
|
195
|
+
default(): number;
|
|
196
|
+
};
|
|
197
|
+
size: PropType<"medium" | "small" | "mini" | "large" | undefined>;
|
|
198
|
+
placeholder: StringConstructor;
|
|
199
|
+
disabled: BooleanConstructor;
|
|
200
|
+
readonly: BooleanConstructor;
|
|
201
|
+
/**
|
|
202
|
+
* 是否可多选
|
|
203
|
+
*/
|
|
204
|
+
multiple: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default(): boolean;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* 忽略搜索的词,不参与搜索
|
|
210
|
+
* 比如:'公司,广州',多个词用半角逗号","分隔
|
|
211
|
+
* 输入这些词,不会触发查询
|
|
212
|
+
* !!注意,如果启用了该属性,默认加载的数据不展示
|
|
213
|
+
* 需要依据该输入的内容,进行查询过滤
|
|
214
|
+
*/
|
|
215
|
+
ignoreSearchWords: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
default(): string;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* 是否启用服务器端查询过滤
|
|
221
|
+
* true: 服务端查询模式 - 用户输入搜索内容时,向服务端发送请求进行查询
|
|
222
|
+
* false: 客户端查询模式 - 一次性加载所有数据到本地,在本地进行过滤查询
|
|
223
|
+
*/
|
|
224
|
+
isSearchFormServer: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default(): boolean;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* 默认选中第几项(从0开始计数)
|
|
230
|
+
* 仅在组件有效加载完成(有加载到数据)且modelValue为空时生效
|
|
231
|
+
* 优先级最低,如果modelValue有值则此属性不生效
|
|
232
|
+
* -1表示不启用默认选中功能
|
|
233
|
+
*/
|
|
234
|
+
defaultSelectedIndex: {
|
|
235
|
+
type: NumberConstructor;
|
|
236
|
+
default(): number;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* 是否显示刷新按钮
|
|
240
|
+
* 在下拉框右侧显示一个刷新图标按钮,点击可重新加载数据
|
|
241
|
+
* 默认不显示
|
|
242
|
+
*/
|
|
243
|
+
showRefreshButton: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default(): boolean;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* 页面级静态数据源Key,设置后优先使用页面提供的数据源,
|
|
249
|
+
* 并在前端进行过滤、排序、记录数限制。
|
|
250
|
+
*/
|
|
251
|
+
pageDataSourceKey: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default(): string;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* 展开下拉框时再加载完整选项,优化首屏性能
|
|
257
|
+
*/
|
|
258
|
+
deferLoadUntilOpen: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
default(): boolean;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* 初次展示(无搜索词时)的最大渲染条数
|
|
264
|
+
*/
|
|
265
|
+
initialDisplayMaxCount: {
|
|
266
|
+
type: NumberConstructor;
|
|
267
|
+
default(): number;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* 列表展示组件初始默认展示的内容
|
|
271
|
+
* 用于 triggerMode=lazy 模式下,在未点击时显示的默认文本
|
|
272
|
+
*/
|
|
273
|
+
defaultDisplay: {
|
|
274
|
+
type: StringConstructor;
|
|
275
|
+
default(): string;
|
|
276
|
+
};
|
|
277
|
+
}>, {
|
|
278
|
+
fetchData: (message?: string, opts?: {
|
|
279
|
+
forceServerInit?: boolean;
|
|
280
|
+
renderImmediately?: boolean;
|
|
281
|
+
}) => Promise<void> | undefined;
|
|
282
|
+
selectIndex: (params: {
|
|
283
|
+
index: number;
|
|
284
|
+
}) => void;
|
|
285
|
+
selectAll: () => void;
|
|
286
|
+
getText: () => string;
|
|
287
|
+
refresh: () => void;
|
|
288
|
+
clear: () => void;
|
|
289
|
+
focus: (e?: Event) => Promise<void>;
|
|
290
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
291
|
+
"update:modelValue": (...args: any[]) => void;
|
|
292
|
+
select: (...args: any[]) => void;
|
|
293
|
+
click: (...args: any[]) => void;
|
|
294
|
+
fetchSuccess: (...args: any[]) => void;
|
|
295
|
+
fetchFail: (...args: any[]) => void;
|
|
296
|
+
fetchInterdict: (...args: any[]) => void;
|
|
297
|
+
changeText: (...args: any[]) => void;
|
|
298
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
299
|
+
parentId: {
|
|
300
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
301
|
+
};
|
|
302
|
+
glComponentInst: {
|
|
303
|
+
type: PropType< IComponentInstance>;
|
|
304
|
+
default(): ComponentInstance;
|
|
305
|
+
};
|
|
306
|
+
glChildren: {
|
|
307
|
+
type: PropType<Array< IComponentInstance>>;
|
|
308
|
+
default(): never[];
|
|
309
|
+
};
|
|
310
|
+
glCtx: {
|
|
311
|
+
type: ObjectConstructor;
|
|
312
|
+
default(): {};
|
|
313
|
+
};
|
|
314
|
+
glIsRuntime: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default(): boolean;
|
|
317
|
+
};
|
|
318
|
+
glRuntimeFlag: {
|
|
319
|
+
type: StringConstructor;
|
|
320
|
+
default(): string;
|
|
321
|
+
};
|
|
322
|
+
glIndex: {
|
|
323
|
+
type: NumberConstructor;
|
|
324
|
+
};
|
|
325
|
+
glLoopItem: ObjectConstructor;
|
|
326
|
+
glLoopIndex: NumberConstructor;
|
|
327
|
+
glIgnoreInjectPageProxy: {
|
|
328
|
+
type: BooleanConstructor;
|
|
329
|
+
default(): boolean;
|
|
330
|
+
};
|
|
331
|
+
componentStoreId: {
|
|
332
|
+
type: StringConstructor;
|
|
333
|
+
default(): string;
|
|
334
|
+
};
|
|
335
|
+
pageCustom: PropType< PageCustomType>;
|
|
336
|
+
pagePermission: PropType< PagePermission>;
|
|
337
|
+
glDoAction: {
|
|
338
|
+
type: FunctionConstructor;
|
|
339
|
+
required: boolean;
|
|
340
|
+
};
|
|
341
|
+
id: StringConstructor;
|
|
342
|
+
modelValue: {
|
|
343
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* 多选时的返回值格式
|
|
347
|
+
* string: 返回逗号分隔的字符串,如 'a,b,c'
|
|
348
|
+
* array: 返回数组,如 ['a','b','c']
|
|
349
|
+
* 默认为 array
|
|
350
|
+
*/
|
|
351
|
+
multiValueFormat: {
|
|
352
|
+
type: StringConstructor;
|
|
353
|
+
default: string;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* 显示模板字符串,支持变量替换
|
|
357
|
+
* 例如: "{name} - {code}" 或 "{title}({type})"
|
|
358
|
+
* 变量名对应labelFieldNames中配置的字段名
|
|
359
|
+
* 当配置了displayTemplate时,优先使用模板格式
|
|
360
|
+
* 为空时使用默认的拼接方式(多个字段用空格连接)
|
|
361
|
+
*/
|
|
362
|
+
displayTemplate: {
|
|
363
|
+
type: StringConstructor;
|
|
364
|
+
default: string;
|
|
365
|
+
};
|
|
366
|
+
entityName: {
|
|
367
|
+
type: StringConstructor;
|
|
368
|
+
required: true;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* 加载数据的触发模式
|
|
372
|
+
*/
|
|
373
|
+
triggerMode: {
|
|
374
|
+
type: PropType<TriggerMode>;
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* 触发约束条件,限制触发条件
|
|
378
|
+
* 可以有多个触发约束条件,需要满足所有的条件,才会触发
|
|
379
|
+
* 为空则不限制
|
|
380
|
+
*/
|
|
381
|
+
triggerConstraint: {
|
|
382
|
+
type: PropType<Array<TriggerConstraint>>;
|
|
383
|
+
default(): never[];
|
|
384
|
+
};
|
|
385
|
+
labelFieldNames: {
|
|
386
|
+
type: PropType<string[]>;
|
|
387
|
+
required: true;
|
|
388
|
+
default(): never[];
|
|
389
|
+
};
|
|
390
|
+
valueFiledName: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
default(): string;
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* 查询过滤条件
|
|
396
|
+
*/
|
|
397
|
+
valueFilter: {
|
|
398
|
+
type: PropType<Array<EntityReaderParam>>;
|
|
399
|
+
default(): never[];
|
|
400
|
+
};
|
|
401
|
+
orderFiledName: {
|
|
402
|
+
type: StringConstructor;
|
|
403
|
+
default(): string;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* 数据联动
|
|
407
|
+
* 额外查询出来的字段fieldName,并将结果设置到id中
|
|
408
|
+
* 其中,doNotUpdateIfTargetHasValue,默认情况下,下拉选择后会同步更新绑定的组件值,不管目标组件是否已有值,启用此选项后,如果目标组件已有值,则不会更新
|
|
409
|
+
* {id: string, fieldName: string, bindId: string, doNotUpdateIfTargetHasValue?: boolean}其中,id为联动字段的唯一标识,如:uHlG8lNSvccmBPN1rt8o,fieldName为查询出来的字段名,bindId为绑定的组件id,doNotUpdateIfTargetHasValue为是否不更新目标组件已有值
|
|
410
|
+
*/
|
|
411
|
+
extraFieldAndBindIds: {
|
|
412
|
+
type: PropType<Array<{
|
|
413
|
+
id: string;
|
|
414
|
+
fieldName: string;
|
|
415
|
+
bindId: string;
|
|
416
|
+
doNotUpdateIfTargetHasValue?: boolean;
|
|
417
|
+
}>>;
|
|
418
|
+
default(): never[];
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* 目标组件有值时不更新
|
|
422
|
+
* 默认情况下,下拉选择后会同步更新绑定的组件值,不管目标组件是否已有值
|
|
423
|
+
* 启用此选项后,如果目标组件已有值,则不会更新
|
|
424
|
+
*/
|
|
425
|
+
/**
|
|
426
|
+
* asc or desc
|
|
427
|
+
*/
|
|
428
|
+
ascOrDesc: {
|
|
429
|
+
type: PropType<EntityReaderOrderEnum>;
|
|
430
|
+
default(): any;
|
|
431
|
+
};
|
|
432
|
+
allowClear: {
|
|
433
|
+
type: BooleanConstructor;
|
|
434
|
+
default(): boolean;
|
|
435
|
+
};
|
|
436
|
+
allowSearch: {
|
|
437
|
+
type: BooleanConstructor;
|
|
438
|
+
default(): boolean;
|
|
439
|
+
};
|
|
440
|
+
/**
|
|
441
|
+
* 双击复制当前选项展示内容
|
|
442
|
+
*/
|
|
443
|
+
copyOnDblClick: {
|
|
444
|
+
type: BooleanConstructor;
|
|
445
|
+
default(): boolean;
|
|
446
|
+
};
|
|
447
|
+
maxRecordCount: {
|
|
448
|
+
type: NumberConstructor;
|
|
449
|
+
default(): number;
|
|
450
|
+
};
|
|
451
|
+
maxTagCount: {
|
|
452
|
+
type: NumberConstructor;
|
|
453
|
+
default(): number;
|
|
454
|
+
};
|
|
455
|
+
size: PropType<"medium" | "small" | "mini" | "large" | undefined>;
|
|
456
|
+
placeholder: StringConstructor;
|
|
457
|
+
disabled: BooleanConstructor;
|
|
458
|
+
readonly: BooleanConstructor;
|
|
459
|
+
/**
|
|
460
|
+
* 是否可多选
|
|
461
|
+
*/
|
|
462
|
+
multiple: {
|
|
463
|
+
type: BooleanConstructor;
|
|
464
|
+
default(): boolean;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* 忽略搜索的词,不参与搜索
|
|
468
|
+
* 比如:'公司,广州',多个词用半角逗号","分隔
|
|
469
|
+
* 输入这些词,不会触发查询
|
|
470
|
+
* !!注意,如果启用了该属性,默认加载的数据不展示
|
|
471
|
+
* 需要依据该输入的内容,进行查询过滤
|
|
472
|
+
*/
|
|
473
|
+
ignoreSearchWords: {
|
|
474
|
+
type: StringConstructor;
|
|
475
|
+
default(): string;
|
|
476
|
+
};
|
|
477
|
+
/**
|
|
478
|
+
* 是否启用服务器端查询过滤
|
|
479
|
+
* true: 服务端查询模式 - 用户输入搜索内容时,向服务端发送请求进行查询
|
|
480
|
+
* false: 客户端查询模式 - 一次性加载所有数据到本地,在本地进行过滤查询
|
|
481
|
+
*/
|
|
482
|
+
isSearchFormServer: {
|
|
483
|
+
type: BooleanConstructor;
|
|
484
|
+
default(): boolean;
|
|
485
|
+
};
|
|
486
|
+
/**
|
|
487
|
+
* 默认选中第几项(从0开始计数)
|
|
488
|
+
* 仅在组件有效加载完成(有加载到数据)且modelValue为空时生效
|
|
489
|
+
* 优先级最低,如果modelValue有值则此属性不生效
|
|
490
|
+
* -1表示不启用默认选中功能
|
|
491
|
+
*/
|
|
492
|
+
defaultSelectedIndex: {
|
|
493
|
+
type: NumberConstructor;
|
|
494
|
+
default(): number;
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* 是否显示刷新按钮
|
|
498
|
+
* 在下拉框右侧显示一个刷新图标按钮,点击可重新加载数据
|
|
499
|
+
* 默认不显示
|
|
500
|
+
*/
|
|
501
|
+
showRefreshButton: {
|
|
502
|
+
type: BooleanConstructor;
|
|
503
|
+
default(): boolean;
|
|
504
|
+
};
|
|
505
|
+
/**
|
|
506
|
+
* 页面级静态数据源Key,设置后优先使用页面提供的数据源,
|
|
507
|
+
* 并在前端进行过滤、排序、记录数限制。
|
|
508
|
+
*/
|
|
509
|
+
pageDataSourceKey: {
|
|
510
|
+
type: StringConstructor;
|
|
511
|
+
default(): string;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* 展开下拉框时再加载完整选项,优化首屏性能
|
|
515
|
+
*/
|
|
516
|
+
deferLoadUntilOpen: {
|
|
517
|
+
type: BooleanConstructor;
|
|
518
|
+
default(): boolean;
|
|
519
|
+
};
|
|
520
|
+
/**
|
|
521
|
+
* 初次展示(无搜索词时)的最大渲染条数
|
|
522
|
+
*/
|
|
523
|
+
initialDisplayMaxCount: {
|
|
524
|
+
type: NumberConstructor;
|
|
525
|
+
default(): number;
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* 列表展示组件初始默认展示的内容
|
|
529
|
+
* 用于 triggerMode=lazy 模式下,在未点击时显示的默认文本
|
|
530
|
+
*/
|
|
531
|
+
defaultDisplay: {
|
|
532
|
+
type: StringConstructor;
|
|
533
|
+
default(): string;
|
|
534
|
+
};
|
|
535
|
+
}>> & Readonly<{
|
|
536
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
537
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
538
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
539
|
+
onFetchSuccess?: ((...args: any[]) => any) | undefined;
|
|
540
|
+
onFetchFail?: ((...args: any[]) => any) | undefined;
|
|
541
|
+
onFetchInterdict?: ((...args: any[]) => any) | undefined;
|
|
542
|
+
onChangeText?: ((...args: any[]) => any) | undefined;
|
|
543
|
+
}>, {
|
|
544
|
+
disabled: boolean;
|
|
545
|
+
allowClear: boolean;
|
|
546
|
+
glComponentInst: IComponentInstance;
|
|
547
|
+
glChildren: IComponentInstance[];
|
|
548
|
+
glCtx: Record<string, any>;
|
|
549
|
+
glIsRuntime: boolean;
|
|
550
|
+
glRuntimeFlag: string;
|
|
551
|
+
glIgnoreInjectPageProxy: boolean;
|
|
552
|
+
componentStoreId: string;
|
|
553
|
+
readonly: boolean;
|
|
554
|
+
multiple: boolean;
|
|
555
|
+
allowSearch: boolean;
|
|
556
|
+
maxTagCount: number;
|
|
557
|
+
labelFieldNames: string[];
|
|
558
|
+
valueFiledName: string;
|
|
559
|
+
defaultSelectedIndex: number;
|
|
560
|
+
multiValueFormat: string;
|
|
561
|
+
displayTemplate: string;
|
|
562
|
+
triggerConstraint: TriggerConstraint[];
|
|
563
|
+
valueFilter: EntityReaderParam[];
|
|
564
|
+
orderFiledName: string;
|
|
565
|
+
extraFieldAndBindIds: {
|
|
566
|
+
id: string;
|
|
567
|
+
fieldName: string;
|
|
568
|
+
bindId: string;
|
|
569
|
+
doNotUpdateIfTargetHasValue?: boolean;
|
|
570
|
+
}[];
|
|
571
|
+
ascOrDesc: EntityReaderOrderEnum;
|
|
572
|
+
copyOnDblClick: boolean;
|
|
573
|
+
maxRecordCount: number;
|
|
574
|
+
ignoreSearchWords: string;
|
|
575
|
+
isSearchFormServer: boolean;
|
|
576
|
+
showRefreshButton: boolean;
|
|
577
|
+
pageDataSourceKey: string;
|
|
578
|
+
deferLoadUntilOpen: boolean;
|
|
579
|
+
initialDisplayMaxCount: number;
|
|
580
|
+
defaultDisplay: string;
|
|
581
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
582
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
interface Props {
|
|
3
|
+
title?: string;
|
|
4
|
+
sender?: string;
|
|
5
|
+
receivers?: string;
|
|
6
|
+
cc?: string;
|
|
7
|
+
bcc?: string;
|
|
8
|
+
content?: string;
|
|
9
|
+
scheduleTime?: string | Date;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
title: string;
|
|
13
|
+
content: string;
|
|
14
|
+
sender: string;
|
|
15
|
+
receivers: string;
|
|
16
|
+
cc: string;
|
|
17
|
+
bcc: string;
|
|
18
|
+
scheduleTime: string | Date;
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|