@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,352 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, PropType, ComputedRef, Ref, GlobalComponents, GlobalDirectives } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { FieldRule, ValidatedError } from '@arco-design/web-vue';
|
|
3
|
+
import { FieldData } from '@arco-design/web-vue/es/form/interface';
|
|
4
|
+
import { Options } from 'scroll-into-view-if-needed';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
visible: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
width: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
height: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
disExpType: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
defaultExpType: {
|
|
31
|
+
type: {
|
|
32
|
+
(arrayLength: number): string[];
|
|
33
|
+
(...items: string[]): string[];
|
|
34
|
+
new (arrayLength: number): string[];
|
|
35
|
+
new (...items: string[]): string[];
|
|
36
|
+
isArray(arg: any): arg is any[];
|
|
37
|
+
readonly prototype: any[];
|
|
38
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
39
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
40
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
41
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
42
|
+
of<T>(...items: T[]): T[];
|
|
43
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
44
|
+
};
|
|
45
|
+
default: string[];
|
|
46
|
+
};
|
|
47
|
+
showExpType: {
|
|
48
|
+
type: {
|
|
49
|
+
(arrayLength: number): string[];
|
|
50
|
+
(...items: string[]): string[];
|
|
51
|
+
new (arrayLength: number): string[];
|
|
52
|
+
new (...items: string[]): string[];
|
|
53
|
+
isArray(arg: any): arg is any[];
|
|
54
|
+
readonly prototype: any[];
|
|
55
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
56
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
57
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
58
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
59
|
+
of<T>(...items: T[]): T[];
|
|
60
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
61
|
+
};
|
|
62
|
+
default: string[];
|
|
63
|
+
};
|
|
64
|
+
defaultExample: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
defaultReplace: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
73
|
+
"update:modelValue": (...args: any[]) => void;
|
|
74
|
+
"update:visible": (...args: any[]) => void;
|
|
75
|
+
change: (...args: any[]) => void;
|
|
76
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
visible: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
title: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
width: {
|
|
90
|
+
type: NumberConstructor;
|
|
91
|
+
default: number;
|
|
92
|
+
};
|
|
93
|
+
height: {
|
|
94
|
+
type: NumberConstructor;
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
97
|
+
disExpType: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
defaultExpType: {
|
|
102
|
+
type: {
|
|
103
|
+
(arrayLength: number): string[];
|
|
104
|
+
(...items: string[]): string[];
|
|
105
|
+
new (arrayLength: number): string[];
|
|
106
|
+
new (...items: string[]): string[];
|
|
107
|
+
isArray(arg: any): arg is any[];
|
|
108
|
+
readonly prototype: any[];
|
|
109
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
110
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
111
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
112
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
113
|
+
of<T>(...items: T[]): T[];
|
|
114
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
115
|
+
};
|
|
116
|
+
default: string[];
|
|
117
|
+
};
|
|
118
|
+
showExpType: {
|
|
119
|
+
type: {
|
|
120
|
+
(arrayLength: number): string[];
|
|
121
|
+
(...items: string[]): string[];
|
|
122
|
+
new (arrayLength: number): string[];
|
|
123
|
+
new (...items: string[]): string[];
|
|
124
|
+
isArray(arg: any): arg is any[];
|
|
125
|
+
readonly prototype: any[];
|
|
126
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
127
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
128
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
129
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
130
|
+
of<T>(...items: T[]): T[];
|
|
131
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
132
|
+
};
|
|
133
|
+
default: string[];
|
|
134
|
+
};
|
|
135
|
+
defaultExample: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
defaultReplace: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
}>> & Readonly<{
|
|
144
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
}>, {
|
|
148
|
+
modelValue: string;
|
|
149
|
+
title: string;
|
|
150
|
+
height: number;
|
|
151
|
+
visible: boolean;
|
|
152
|
+
width: number;
|
|
153
|
+
disExpType: boolean;
|
|
154
|
+
defaultExpType: string[];
|
|
155
|
+
showExpType: string[];
|
|
156
|
+
defaultExample: string;
|
|
157
|
+
defaultReplace: string;
|
|
158
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
159
|
+
validateForm: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
160
|
+
model: {
|
|
161
|
+
type: ObjectConstructor;
|
|
162
|
+
required: true;
|
|
163
|
+
};
|
|
164
|
+
layout: {
|
|
165
|
+
type: PropType<"inline" | "horizontal" | "vertical">;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
size: {
|
|
169
|
+
type: PropType<"mini" | "small" | "medium" | "large">;
|
|
170
|
+
};
|
|
171
|
+
labelColProps: {
|
|
172
|
+
type: ObjectConstructor;
|
|
173
|
+
default: () => {
|
|
174
|
+
span: number;
|
|
175
|
+
offset: number;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
wrapperColProps: {
|
|
179
|
+
type: ObjectConstructor;
|
|
180
|
+
default: () => {
|
|
181
|
+
span: number;
|
|
182
|
+
offset: number;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
labelColStyle: ObjectConstructor;
|
|
186
|
+
wrapperColStyle: ObjectConstructor;
|
|
187
|
+
labelAlign: {
|
|
188
|
+
type: PropType<"left" | "right">;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
disabled: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: undefined;
|
|
194
|
+
};
|
|
195
|
+
rules: {
|
|
196
|
+
type: PropType<Record<string, FieldRule<any> | FieldRule<any>[]>>;
|
|
197
|
+
};
|
|
198
|
+
autoLabelWidth: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
id: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
};
|
|
205
|
+
scrollToFirstError: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
}>> & Readonly<{
|
|
210
|
+
onSubmit?: ((data: {
|
|
211
|
+
values: Record<string, any>;
|
|
212
|
+
errors: Record<string, ValidatedError> | undefined;
|
|
213
|
+
}, ev: Event) => any) | undefined;
|
|
214
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
215
|
+
onSubmitFailed?: ((data: {
|
|
216
|
+
values: Record<string, any>;
|
|
217
|
+
errors: Record<string, ValidatedError>;
|
|
218
|
+
}, ev: Event) => any) | undefined;
|
|
219
|
+
}>, {
|
|
220
|
+
cls: ComputedRef<(string | {
|
|
221
|
+
[x: string]: boolean;
|
|
222
|
+
})[]>;
|
|
223
|
+
formRef: Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
224
|
+
handleSubmit: (e: Event) => void;
|
|
225
|
+
innerValidate: (callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, ValidatedError> | undefined>;
|
|
226
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, ValidatedError> | undefined>;
|
|
227
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
228
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
229
|
+
innerSetFields: (data: Record<string, FieldData>) => void;
|
|
230
|
+
innerScrollToField: (field: string, options?: Options<any> | undefined) => void;
|
|
231
|
+
}, {}, {}, {
|
|
232
|
+
validate(callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined): Promise<Record<string, ValidatedError> | undefined>;
|
|
233
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined): Promise<Record<string, ValidatedError> | undefined>;
|
|
234
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
235
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
236
|
+
setFields(data: Record<string, FieldData>): void;
|
|
237
|
+
scrollToField(field: string): void;
|
|
238
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
239
|
+
submit: (data: {
|
|
240
|
+
values: Record<string, any>;
|
|
241
|
+
errors: Record<string, ValidatedError> | undefined;
|
|
242
|
+
}, ev: Event) => true;
|
|
243
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
244
|
+
submitFailed: (data: {
|
|
245
|
+
values: Record<string, any>;
|
|
246
|
+
errors: Record<string, ValidatedError>;
|
|
247
|
+
}, ev: Event) => true;
|
|
248
|
+
}, PublicProps, {
|
|
249
|
+
disabled: boolean;
|
|
250
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
251
|
+
labelColProps: Record<string, any>;
|
|
252
|
+
wrapperColProps: Record<string, any>;
|
|
253
|
+
labelAlign: "left" | "right";
|
|
254
|
+
autoLabelWidth: boolean;
|
|
255
|
+
scrollToFirstError: boolean;
|
|
256
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
257
|
+
P: {};
|
|
258
|
+
B: {};
|
|
259
|
+
D: {};
|
|
260
|
+
C: {};
|
|
261
|
+
M: {};
|
|
262
|
+
Defaults: {};
|
|
263
|
+
}, Readonly< ExtractPropTypes<{
|
|
264
|
+
model: {
|
|
265
|
+
type: ObjectConstructor;
|
|
266
|
+
required: true;
|
|
267
|
+
};
|
|
268
|
+
layout: {
|
|
269
|
+
type: PropType<"inline" | "horizontal" | "vertical">;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
272
|
+
size: {
|
|
273
|
+
type: PropType<"mini" | "small" | "medium" | "large">;
|
|
274
|
+
};
|
|
275
|
+
labelColProps: {
|
|
276
|
+
type: ObjectConstructor;
|
|
277
|
+
default: () => {
|
|
278
|
+
span: number;
|
|
279
|
+
offset: number;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
wrapperColProps: {
|
|
283
|
+
type: ObjectConstructor;
|
|
284
|
+
default: () => {
|
|
285
|
+
span: number;
|
|
286
|
+
offset: number;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
labelColStyle: ObjectConstructor;
|
|
290
|
+
wrapperColStyle: ObjectConstructor;
|
|
291
|
+
labelAlign: {
|
|
292
|
+
type: PropType<"left" | "right">;
|
|
293
|
+
default: string;
|
|
294
|
+
};
|
|
295
|
+
disabled: {
|
|
296
|
+
type: BooleanConstructor;
|
|
297
|
+
default: undefined;
|
|
298
|
+
};
|
|
299
|
+
rules: {
|
|
300
|
+
type: PropType<Record<string, FieldRule<any> | FieldRule<any>[]>>;
|
|
301
|
+
};
|
|
302
|
+
autoLabelWidth: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
306
|
+
id: {
|
|
307
|
+
type: StringConstructor;
|
|
308
|
+
};
|
|
309
|
+
scrollToFirstError: {
|
|
310
|
+
type: BooleanConstructor;
|
|
311
|
+
default: boolean;
|
|
312
|
+
};
|
|
313
|
+
}>> & Readonly<{
|
|
314
|
+
onSubmit?: ((data: {
|
|
315
|
+
values: Record<string, any>;
|
|
316
|
+
errors: Record<string, ValidatedError> | undefined;
|
|
317
|
+
}, ev: Event) => any) | undefined;
|
|
318
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
319
|
+
onSubmitFailed?: ((data: {
|
|
320
|
+
values: Record<string, any>;
|
|
321
|
+
errors: Record<string, ValidatedError>;
|
|
322
|
+
}, ev: Event) => any) | undefined;
|
|
323
|
+
}>, {
|
|
324
|
+
cls: ComputedRef<(string | {
|
|
325
|
+
[x: string]: boolean;
|
|
326
|
+
})[]>;
|
|
327
|
+
formRef: Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
328
|
+
handleSubmit: (e: Event) => void;
|
|
329
|
+
innerValidate: (callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, ValidatedError> | undefined>;
|
|
330
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, ValidatedError> | undefined>;
|
|
331
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
332
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
333
|
+
innerSetFields: (data: Record<string, FieldData>) => void;
|
|
334
|
+
innerScrollToField: (field: string, options?: Options<any> | undefined) => void;
|
|
335
|
+
}, {}, {}, {
|
|
336
|
+
validate(callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined): Promise<Record<string, ValidatedError> | undefined>;
|
|
337
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, ValidatedError> | undefined) => void) | undefined): Promise<Record<string, ValidatedError> | undefined>;
|
|
338
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
339
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
340
|
+
setFields(data: Record<string, FieldData>): void;
|
|
341
|
+
scrollToField(field: string): void;
|
|
342
|
+
}, {
|
|
343
|
+
disabled: boolean;
|
|
344
|
+
layout: "inline" | "horizontal" | "vertical";
|
|
345
|
+
labelColProps: Record<string, any>;
|
|
346
|
+
wrapperColProps: Record<string, any>;
|
|
347
|
+
labelAlign: "left" | "right";
|
|
348
|
+
autoLabelWidth: boolean;
|
|
349
|
+
scrollToFirstError: boolean;
|
|
350
|
+
}> | null;
|
|
351
|
+
}, any>;
|
|
352
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const CommonMetacharacter: {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const CommonQualifier: {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const CommonAntonym: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}[];
|
|
13
|
+
export declare const RegMatchType: {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
other: string;
|
|
17
|
+
}[];
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { IComponentInstance } from '@geelato/gl-types';
|
|
3
|
+
import { ComponentInstance } from '@geelato/gl-ui-schema';
|
|
4
|
+
import { PageCustomType, PagePermission } from '@geelato/gl-runtime-core';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
parentId: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
};
|
|
9
|
+
glComponentInst: {
|
|
10
|
+
type: PropType<IComponentInstance>;
|
|
11
|
+
default(): ComponentInstance;
|
|
12
|
+
};
|
|
13
|
+
glChildren: {
|
|
14
|
+
type: PropType<Array<IComponentInstance>>;
|
|
15
|
+
default(): never[];
|
|
16
|
+
};
|
|
17
|
+
glCtx: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default(): {};
|
|
20
|
+
};
|
|
21
|
+
glIsRuntime: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default(): boolean;
|
|
24
|
+
};
|
|
25
|
+
glRuntimeFlag: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default(): string;
|
|
28
|
+
};
|
|
29
|
+
glIndex: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
};
|
|
32
|
+
glLoopItem: ObjectConstructor;
|
|
33
|
+
glLoopIndex: NumberConstructor;
|
|
34
|
+
glIgnoreInjectPageProxy: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default(): boolean;
|
|
37
|
+
};
|
|
38
|
+
componentStoreId: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default(): string;
|
|
41
|
+
};
|
|
42
|
+
pageCustom: PropType< PageCustomType>;
|
|
43
|
+
pagePermission: PropType< PagePermission>;
|
|
44
|
+
glDoAction: {
|
|
45
|
+
type: FunctionConstructor;
|
|
46
|
+
required: boolean;
|
|
47
|
+
};
|
|
48
|
+
spans: {
|
|
49
|
+
type: PropType<Array<number>>;
|
|
50
|
+
default(): number[];
|
|
51
|
+
};
|
|
52
|
+
label: StringConstructor;
|
|
53
|
+
/**
|
|
54
|
+
* 显否显示label,用于在表单中
|
|
55
|
+
*/
|
|
56
|
+
showLabel: BooleanConstructor;
|
|
57
|
+
offsets: {
|
|
58
|
+
type: PropType<Array<number>>;
|
|
59
|
+
default(): number[];
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* 每个label的flex属性,用于在表单中
|
|
63
|
+
*/
|
|
64
|
+
labelColFlexs: {
|
|
65
|
+
type: PropType<Array<string | undefined>>;
|
|
66
|
+
default(): never[];
|
|
67
|
+
};
|
|
68
|
+
gutter: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
default(): number;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* 通过 justify 来进行水平布局。
|
|
74
|
+
*/
|
|
75
|
+
justify: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* 通过 align 来进行垂直布局
|
|
80
|
+
*/
|
|
81
|
+
align: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Col 是否支持换行
|
|
86
|
+
*/
|
|
87
|
+
wrap: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
};
|
|
90
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
91
|
+
parentId: {
|
|
92
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
93
|
+
};
|
|
94
|
+
glComponentInst: {
|
|
95
|
+
type: PropType<IComponentInstance>;
|
|
96
|
+
default(): ComponentInstance;
|
|
97
|
+
};
|
|
98
|
+
glChildren: {
|
|
99
|
+
type: PropType<Array<IComponentInstance>>;
|
|
100
|
+
default(): never[];
|
|
101
|
+
};
|
|
102
|
+
glCtx: {
|
|
103
|
+
type: ObjectConstructor;
|
|
104
|
+
default(): {};
|
|
105
|
+
};
|
|
106
|
+
glIsRuntime: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default(): boolean;
|
|
109
|
+
};
|
|
110
|
+
glRuntimeFlag: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default(): string;
|
|
113
|
+
};
|
|
114
|
+
glIndex: {
|
|
115
|
+
type: NumberConstructor;
|
|
116
|
+
};
|
|
117
|
+
glLoopItem: ObjectConstructor;
|
|
118
|
+
glLoopIndex: NumberConstructor;
|
|
119
|
+
glIgnoreInjectPageProxy: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default(): boolean;
|
|
122
|
+
};
|
|
123
|
+
componentStoreId: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default(): string;
|
|
126
|
+
};
|
|
127
|
+
pageCustom: PropType< PageCustomType>;
|
|
128
|
+
pagePermission: PropType< PagePermission>;
|
|
129
|
+
glDoAction: {
|
|
130
|
+
type: FunctionConstructor;
|
|
131
|
+
required: boolean;
|
|
132
|
+
};
|
|
133
|
+
spans: {
|
|
134
|
+
type: PropType<Array<number>>;
|
|
135
|
+
default(): number[];
|
|
136
|
+
};
|
|
137
|
+
label: StringConstructor;
|
|
138
|
+
/**
|
|
139
|
+
* 显否显示label,用于在表单中
|
|
140
|
+
*/
|
|
141
|
+
showLabel: BooleanConstructor;
|
|
142
|
+
offsets: {
|
|
143
|
+
type: PropType<Array<number>>;
|
|
144
|
+
default(): number[];
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* 每个label的flex属性,用于在表单中
|
|
148
|
+
*/
|
|
149
|
+
labelColFlexs: {
|
|
150
|
+
type: PropType<Array<string | undefined>>;
|
|
151
|
+
default(): never[];
|
|
152
|
+
};
|
|
153
|
+
gutter: {
|
|
154
|
+
type: NumberConstructor;
|
|
155
|
+
default(): number;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* 通过 justify 来进行水平布局。
|
|
159
|
+
*/
|
|
160
|
+
justify: {
|
|
161
|
+
type: StringConstructor;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* 通过 align 来进行垂直布局
|
|
165
|
+
*/
|
|
166
|
+
align: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Col 是否支持换行
|
|
171
|
+
*/
|
|
172
|
+
wrap: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
};
|
|
175
|
+
}>> & Readonly<{}>, {
|
|
176
|
+
glComponentInst: IComponentInstance;
|
|
177
|
+
glChildren: IComponentInstance[];
|
|
178
|
+
glCtx: Record<string, any>;
|
|
179
|
+
glIsRuntime: boolean;
|
|
180
|
+
glRuntimeFlag: string;
|
|
181
|
+
glIgnoreInjectPageProxy: boolean;
|
|
182
|
+
componentStoreId: string;
|
|
183
|
+
showLabel: boolean;
|
|
184
|
+
gutter: number;
|
|
185
|
+
spans: number[];
|
|
186
|
+
offsets: number[];
|
|
187
|
+
labelColFlexs: (string | undefined)[];
|
|
188
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
189
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
options: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default(): never[];
|
|
10
|
+
};
|
|
11
|
+
readonly: BooleanConstructor;
|
|
12
|
+
size: PropType<"medium" | "small" | "mini" | "large" | undefined>;
|
|
13
|
+
placeholder: StringConstructor;
|
|
14
|
+
disabled: BooleanConstructor;
|
|
15
|
+
/**
|
|
16
|
+
* 选择的名称绑定的组件id
|
|
17
|
+
* 在选择时,同时将名称值绑定到另一个组件中,如果不设置,则不需绑定
|
|
18
|
+
* 可以有多个id,多个id之间用“,”分隔
|
|
19
|
+
*/
|
|
20
|
+
nameFieldBindComponentId: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default(): string;
|
|
23
|
+
};
|
|
24
|
+
valueFieldBindComponentId: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default(): string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* 默认选中的选项索引(从0开始)
|
|
30
|
+
* 仅在初始值为空时生效,优先级低于其他设置值的方式
|
|
31
|
+
*/
|
|
32
|
+
defaultSelectedIndex: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
+
"update:modelValue": (...args: any[]) => void;
|
|
38
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default(): string;
|
|
42
|
+
};
|
|
43
|
+
options: {
|
|
44
|
+
type: ArrayConstructor;
|
|
45
|
+
default(): never[];
|
|
46
|
+
};
|
|
47
|
+
readonly: BooleanConstructor;
|
|
48
|
+
size: PropType<"medium" | "small" | "mini" | "large" | undefined>;
|
|
49
|
+
placeholder: StringConstructor;
|
|
50
|
+
disabled: BooleanConstructor;
|
|
51
|
+
/**
|
|
52
|
+
* 选择的名称绑定的组件id
|
|
53
|
+
* 在选择时,同时将名称值绑定到另一个组件中,如果不设置,则不需绑定
|
|
54
|
+
* 可以有多个id,多个id之间用“,”分隔
|
|
55
|
+
*/
|
|
56
|
+
nameFieldBindComponentId: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default(): string;
|
|
59
|
+
};
|
|
60
|
+
valueFieldBindComponentId: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default(): string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* 默认选中的选项索引(从0开始)
|
|
66
|
+
* 仅在初始值为空时生效,优先级低于其他设置值的方式
|
|
67
|
+
*/
|
|
68
|
+
defaultSelectedIndex: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{
|
|
73
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
}>, {
|
|
75
|
+
modelValue: string;
|
|
76
|
+
disabled: boolean;
|
|
77
|
+
options: unknown[];
|
|
78
|
+
readonly: boolean;
|
|
79
|
+
defaultSelectedIndex: number;
|
|
80
|
+
nameFieldBindComponentId: string;
|
|
81
|
+
valueFieldBindComponentId: string;
|
|
82
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
83
|
+
export default _default;
|