star-horse-lowcode 3.0.3 → 3.0.4
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 +5 -0
- package/dist/api/WebSocketUtils.d.ts +100 -0
- package/dist/api/date_utils.d.ts +58 -0
- package/dist/api/device.d.ts +21 -0
- package/dist/api/finger_utils.d.ts +9 -0
- package/dist/api/form_utils.d.ts +140 -0
- package/dist/api/pcas-code.json.d.ts +185519 -0
- package/dist/api/settings.d.ts +1 -0
- package/dist/api/star_horse_apis.d.ts +93 -0
- package/dist/api/star_horse_utils.d.ts +213 -0
- package/dist/api/system.d.ts +78 -0
- package/dist/api/user_func.d.ts +22 -0
- package/dist/api/valid_utils.d.ts +7 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/comp/ShDynamicForm.vue.d.ts +56 -0
- package/dist/components/comp/ShForm.vue.d.ts +58 -0
- package/dist/components/comp/ShTableListColumn.vue.d.ts +79 -0
- package/dist/components/comp/StarHorseDataSelector.vue.d.ts +107 -0
- package/dist/components/comp/StarHorseDataView.vue.d.ts +161 -0
- package/dist/components/comp/StarHorseDialog.vue.d.ts +231 -0
- package/dist/components/comp/StarHorseDraggable.vue.d.ts +82 -0
- package/dist/components/comp/StarHorseForm.vue.d.ts +176 -0
- package/dist/components/comp/StarHorseFormItem.vue.d.ts +26 -0
- package/dist/components/comp/StarHorseFormList.vue.d.ts +165 -0
- package/dist/components/comp/StarHorseFormTable.vue.d.ts +71 -0
- package/dist/components/comp/StarHorseIcon.vue.d.ts +119 -0
- package/dist/components/comp/StarHorseItem.vue.d.ts +106 -0
- package/dist/components/comp/StarHorseJsonEditor.vue.d.ts +44 -0
- package/dist/components/comp/StarHorsePopover.vue.d.ts +50 -0
- package/dist/components/comp/StarHorseSearchComp.vue.d.ts +48 -0
- package/dist/components/comp/StarHorseSearchForm.vue.d.ts +77 -0
- package/dist/components/comp/StarHorseStaticTable.vue.d.ts +101 -0
- package/dist/components/comp/StarHorseTableColumn.vue.d.ts +106 -0
- package/dist/components/comp/StarHorseTableComp.vue.d.ts +42 -0
- package/dist/components/comp/StarHorseTree.vue.d.ts +264 -0
- package/dist/components/comp/app/MainBar.vue.d.ts +20 -0
- package/dist/components/comp/app/MainContainer.vue.d.ts +18 -0
- package/dist/components/comp/app/MainContent.vue.d.ts +26 -0
- package/dist/components/comp/app/MainSubBar.vue.d.ts +38 -0
- package/dist/components/comp/app/MenuShot.vue.d.ts +64 -0
- package/dist/components/comp/index.d.ts +25 -0
- package/dist/components/comp/items/UTableColumn.vue.d.ts +72 -0
- package/dist/components/comp/items/boxItem.vue.d.ts +22 -0
- package/dist/components/comp/items/callitem.d.ts +2 -0
- package/dist/components/comp/items/dytableItem.vue.d.ts +22 -0
- package/dist/components/comp/items/tableColumn.vue.d.ts +86 -0
- package/dist/components/comp/items/tablebtn.vue.d.ts +60 -0
- package/dist/components/comp/selfcomp.d.ts +2 -0
- package/dist/components/comp/utils/DataPicker.vue.d.ts +85 -0
- package/dist/components/cron/Crontab-Day.vue.d.ts +29 -0
- package/dist/components/cron/Crontab-Hour.vue.d.ts +28 -0
- package/dist/components/cron/Crontab-Min.vue.d.ts +28 -0
- package/dist/components/cron/Crontab-Month.vue.d.ts +28 -0
- package/dist/components/cron/Crontab-Second.vue.d.ts +31 -0
- package/dist/components/cron/Crontab-Week.vue.d.ts +29 -0
- package/dist/components/cron/Crontab-Year.vue.d.ts +30 -0
- package/dist/components/cron/Crontab.vue.d.ts +15 -0
- package/dist/components/enums/ModuleEnums.d.ts +10 -0
- package/dist/components/enums/ServiceEnums.d.ts +18 -0
- package/dist/components/formcomp/items/allitem.d.ts +2 -0
- package/dist/components/formcomp/items/area-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/audio-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/autocomplete-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/barcode-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/button-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/cascade-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/checkbox-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/color-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/cron-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/datapicker-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/datetime-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/depart-item.vue.d.ts +16 -0
- package/dist/components/formcomp/items/dialog-input-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/dialog-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/divider-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/drawer-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/empty-item.vue.d.ts +16 -0
- package/dist/components/formcomp/items/html-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/htmleditor-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/icon-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/image-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/index.d.ts +50 -0
- package/dist/components/formcomp/items/input-item.vue.d.ts +17 -0
- package/dist/components/formcomp/items/input-tag-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/json-array-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/json-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/markdown-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/number-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/number-range-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/page-select-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/password-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/qrcode-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/radio-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/rate-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/select-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/signature-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/slider-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/starhorse-form-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/switch-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/tag-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/text-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/textarea-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/time-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/time-picker-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/transfer-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/tselect-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/unknown-item.vue.d.ts +16 -0
- package/dist/components/formcomp/items/upload-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/user-item.vue.d.ts +23 -0
- package/dist/components/formcomp/items/usercomp-item.vue.d.ts +24 -0
- package/dist/components/formcomp/items/view-markdown-item.vue.d.ts +23 -0
- package/dist/components/formcomp/utils/EditDataDialog.vue.d.ts +55 -0
- package/dist/components/formcomp/utils/FieldList.vue.d.ts +7 -0
- package/dist/components/formcomp/utils/ItemRelationEventUtils.d.ts +32 -0
- package/dist/components/formcomp/utils/prefixSuffixUtils.d.ts +28 -0
- package/dist/components/help.vue.d.ts +26 -0
- package/dist/components/menu/MenuItem.vue.d.ts +49 -0
- package/dist/components/system/ContentMenu.vue.d.ts +77 -0
- package/dist/components/system/PageConfig.vue.d.ts +66 -0
- package/dist/components/system/StarHorseButtonList.vue.d.ts +72 -0
- package/dist/components/system/StarHorseEditor.vue.d.ts +82 -0
- package/dist/components/system/StarHorseMenu.vue.d.ts +40 -0
- package/dist/components/system/StarHorseSidebar.vue.d.ts +13 -0
- package/dist/components/system/StarHorseSvg.vue.d.ts +112 -0
- package/dist/components/system/SvgLoader.vue.d.ts +59 -0
- package/dist/components/system/SystemComp.d.ts +2 -0
- package/dist/components/system/index.d.ts +8 -0
- package/dist/components/types/ApiUrls.d.ts +171 -0
- package/dist/components/types/BtnAction.d.ts +35 -0
- package/dist/components/types/BtnAuth.d.ts +43 -0
- package/dist/components/types/CompInfo.d.ts +50 -0
- package/dist/components/types/DialogProps.d.ts +54 -0
- package/dist/components/types/DyCompField.d.ts +14 -0
- package/dist/components/types/DynamicNode.d.ts +34 -0
- package/dist/components/types/FormType.d.ts +113 -0
- package/dist/components/types/ItemPreps.d.ts +151 -0
- package/dist/components/types/MenusInfo.d.ts +44 -0
- package/dist/components/types/PageFieldInfo.d.ts +547 -0
- package/dist/components/types/PageProps.d.ts +177 -0
- package/dist/components/types/Params.d.ts +146 -0
- package/dist/components/types/RuleType.d.ts +10 -0
- package/dist/components/types/SearchProps.d.ts +59 -0
- package/dist/components/types/ShortKey.d.ts +30 -0
- package/dist/components/types/StarHorseType.d.ts +18 -0
- package/dist/components/types/UserinfoType.d.ts +46 -0
- package/dist/components/types/index.d.ts +18 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.es.js +8 -8
- package/dist/lang/en_US.d.ts +730 -0
- package/dist/lang/index.d.ts +17 -0
- package/dist/lang/zh_CN.d.ts +731 -0
- package/dist/main.d.ts +0 -0
- package/dist/plugins/AblesPlugin.d.ts +48 -0
- package/dist/plugins/registerCompPlugin.d.ts +10 -0
- package/dist/router/index.d.ts +2 -0
- package/dist/store/ButtonPermission.d.ts +32 -0
- package/dist/store/ConsumerView.d.ts +22 -0
- package/dist/store/CopyerOperation.d.ts +35 -0
- package/dist/store/DesignForm.d.ts +1728 -0
- package/dist/store/DesignPage.d.ts +149 -0
- package/dist/store/DynamicForm.d.ts +52 -0
- package/dist/store/GlobalConfig.d.ts +13 -0
- package/dist/store/SelfOperation.d.ts +651 -0
- package/dist/store/UserInfo.d.ts +44 -0
- package/dist/store/index.d.ts +2 -0
- package/dist/theme/localStorge.d.ts +10 -0
- package/dist/theme/theme.d.ts +24 -0
- package/dist/types/index.d.ts +6 -10604
- package/dist/utils/FieldOperationUtils.d.ts +6 -0
- package/dist/utils/auth.d.ts +25 -0
- package/dist/utils/message.d.ts +25 -0
- package/dist/utils/preview.d.ts +16 -0
- package/package.json +18 -16
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { DynamicNode } from '../types/DynamicNode';
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_1) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_3) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
10
|
+
msg: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
};
|
|
13
|
+
node: {
|
|
14
|
+
type: PropType<DynamicNode>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
isActive: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
showLine: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 大小控制类型,percent:百分比,px:像素
|
|
27
|
+
*/
|
|
28
|
+
sizeControlType: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
isDesign: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
contextAction: (...args: any[]) => void;
|
|
38
|
+
selectNode: (...args: any[]) => void;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
msg: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
};
|
|
43
|
+
node: {
|
|
44
|
+
type: PropType<DynamicNode>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
isActive: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
showLine: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* 大小控制类型,percent:百分比,px:像素
|
|
57
|
+
*/
|
|
58
|
+
sizeControlType: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
isDesign: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
onContextAction?: (...args: any[]) => any;
|
|
68
|
+
onSelectNode?: (...args: any[]) => any;
|
|
69
|
+
}>, {
|
|
70
|
+
isActive: boolean;
|
|
71
|
+
showLine: boolean;
|
|
72
|
+
sizeControlType: string;
|
|
73
|
+
isDesign: boolean;
|
|
74
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
76
|
+
declare const _default: typeof __VLS_export;
|
|
77
|
+
export default _default;
|
|
78
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
|
+
new (): {
|
|
80
|
+
$slots: S;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { ApiUrls } from '../types/ApiUrls';
|
|
2
|
+
import { FieldInfo, PageFieldInfo } from '../types/PageFieldInfo';
|
|
3
|
+
import { SelectOption } from '../types/SearchProps';
|
|
4
|
+
import { PropType } from 'vue';
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
compUrl: {
|
|
7
|
+
type: PropType<ApiUrls>;
|
|
8
|
+
};
|
|
9
|
+
fieldList: {
|
|
10
|
+
type: PropType<PageFieldInfo>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
batchName: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
batchFieldName: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
outerFormData: {
|
|
22
|
+
type: PropType<any>;
|
|
23
|
+
};
|
|
24
|
+
primaryKey: {
|
|
25
|
+
type: PropType<string | any>;
|
|
26
|
+
};
|
|
27
|
+
globalCondition: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
};
|
|
30
|
+
rules: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
};
|
|
33
|
+
formSize: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
labelPosition: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
typeModel: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
};
|
|
44
|
+
dynamicForm: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
preview: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
selectData: {
|
|
53
|
+
type: {
|
|
54
|
+
(arrayLength: number): SelectOption[];
|
|
55
|
+
(...items: SelectOption[]): SelectOption[];
|
|
56
|
+
new (arrayLength: number): SelectOption[];
|
|
57
|
+
new (...items: SelectOption[]): SelectOption[];
|
|
58
|
+
isArray(arg: any): arg is any[];
|
|
59
|
+
readonly prototype: any[];
|
|
60
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
61
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
62
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
63
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
64
|
+
of<T>(...items: T[]): T[];
|
|
65
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
66
|
+
};
|
|
67
|
+
default: () => {
|
|
68
|
+
name: any;
|
|
69
|
+
value: string;
|
|
70
|
+
}[];
|
|
71
|
+
};
|
|
72
|
+
}>, {
|
|
73
|
+
merge: (type: string) => void;
|
|
74
|
+
mergeDraft: (type: string) => void;
|
|
75
|
+
resetForm: () => void;
|
|
76
|
+
setFormData: (data: any) => void;
|
|
77
|
+
getFormData: () => import('vue').Ref<any, any>;
|
|
78
|
+
updateFormData: (data: any) => void;
|
|
79
|
+
starHorseFormRef: import('vue').Ref<any, any>;
|
|
80
|
+
tableListRef: import('vue').Ref<any, any>;
|
|
81
|
+
getFields: () => FieldInfo[];
|
|
82
|
+
getFormFields: () => any;
|
|
83
|
+
validate: () => Promise<any>;
|
|
84
|
+
setSource: (dataSource: number) => void;
|
|
85
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
86
|
+
refresh: (...args: any[]) => void;
|
|
87
|
+
addRow: (...args: any[]) => void;
|
|
88
|
+
removeRow: (...args: any[]) => void;
|
|
89
|
+
dataLoaded: (...args: any[]) => void;
|
|
90
|
+
exportData: (...args: any[]) => void;
|
|
91
|
+
inited: (...args: any[]) => void;
|
|
92
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
compUrl: {
|
|
94
|
+
type: PropType<ApiUrls>;
|
|
95
|
+
};
|
|
96
|
+
fieldList: {
|
|
97
|
+
type: PropType<PageFieldInfo>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
batchName: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
batchFieldName: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
outerFormData: {
|
|
109
|
+
type: PropType<any>;
|
|
110
|
+
};
|
|
111
|
+
primaryKey: {
|
|
112
|
+
type: PropType<string | any>;
|
|
113
|
+
};
|
|
114
|
+
globalCondition: {
|
|
115
|
+
type: ObjectConstructor;
|
|
116
|
+
};
|
|
117
|
+
rules: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
};
|
|
120
|
+
formSize: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
labelPosition: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
typeModel: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
};
|
|
131
|
+
dynamicForm: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
preview: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
selectData: {
|
|
140
|
+
type: {
|
|
141
|
+
(arrayLength: number): SelectOption[];
|
|
142
|
+
(...items: SelectOption[]): SelectOption[];
|
|
143
|
+
new (arrayLength: number): SelectOption[];
|
|
144
|
+
new (...items: SelectOption[]): SelectOption[];
|
|
145
|
+
isArray(arg: any): arg is any[];
|
|
146
|
+
readonly prototype: any[];
|
|
147
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
148
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
149
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
150
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
151
|
+
of<T>(...items: T[]): T[];
|
|
152
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
153
|
+
};
|
|
154
|
+
default: () => {
|
|
155
|
+
name: any;
|
|
156
|
+
value: string;
|
|
157
|
+
}[];
|
|
158
|
+
};
|
|
159
|
+
}>> & Readonly<{
|
|
160
|
+
onRefresh?: (...args: any[]) => any;
|
|
161
|
+
onAddRow?: (...args: any[]) => any;
|
|
162
|
+
onRemoveRow?: (...args: any[]) => any;
|
|
163
|
+
onDataLoaded?: (...args: any[]) => any;
|
|
164
|
+
onExportData?: (...args: any[]) => any;
|
|
165
|
+
onInited?: (...args: any[]) => any;
|
|
166
|
+
}>, {
|
|
167
|
+
batchName: string;
|
|
168
|
+
preview: boolean;
|
|
169
|
+
labelPosition: string;
|
|
170
|
+
selectData: SelectOption[];
|
|
171
|
+
batchFieldName: string;
|
|
172
|
+
formSize: string;
|
|
173
|
+
dynamicForm: boolean;
|
|
174
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
175
|
+
declare const _default: typeof __VLS_export;
|
|
176
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ContainerPreps } from '../types/ItemPreps';
|
|
2
|
+
type __VLS_Props = ContainerPreps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
"dataForm"?: any;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
addRow: (...args: any[]) => void;
|
|
9
|
+
removeRow: (...args: any[]) => void;
|
|
10
|
+
"update:dataForm": (value: any) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
onAddRow?: (...args: any[]) => any;
|
|
13
|
+
onRemoveRow?: (...args: any[]) => any;
|
|
14
|
+
"onUpdate:dataForm"?: (value: any) => any;
|
|
15
|
+
}>, {
|
|
16
|
+
source: number;
|
|
17
|
+
batchName: string;
|
|
18
|
+
subFormFlag: string;
|
|
19
|
+
dataIndex: number;
|
|
20
|
+
compSize: string;
|
|
21
|
+
propPrefix: string;
|
|
22
|
+
parentPreps: any;
|
|
23
|
+
batchFieldName: string;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ApiUrls } from '../types/ApiUrls';
|
|
3
|
+
import { FieldInfo } from '../types';
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
compUrl: {
|
|
6
|
+
type: PropType<ApiUrls>;
|
|
7
|
+
};
|
|
8
|
+
fieldList: {
|
|
9
|
+
type: PropType<FieldInfo[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
defaultValues: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: {};
|
|
15
|
+
};
|
|
16
|
+
batchName: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
primaryKey: {
|
|
21
|
+
type: PropType<string | any>;
|
|
22
|
+
};
|
|
23
|
+
initRows: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
importInfo: {
|
|
28
|
+
type: PropType<any>;
|
|
29
|
+
};
|
|
30
|
+
title: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
helpMsg: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
rules: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
};
|
|
41
|
+
staticColumn: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
source: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
showCheckBox: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
selectAll: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
subFlag: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
commonFormat: {
|
|
66
|
+
type: FunctionConstructor;
|
|
67
|
+
default: () => void;
|
|
68
|
+
};
|
|
69
|
+
dataForm: {
|
|
70
|
+
type: PropType<any>;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
73
|
+
addRow: (...args: any[]) => void;
|
|
74
|
+
removeRow: (...args: any[]) => void;
|
|
75
|
+
inited: (...args: any[]) => void;
|
|
76
|
+
"update:dataForm": (value: any) => void;
|
|
77
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
78
|
+
compUrl: {
|
|
79
|
+
type: PropType<ApiUrls>;
|
|
80
|
+
};
|
|
81
|
+
fieldList: {
|
|
82
|
+
type: PropType<FieldInfo[]>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
defaultValues: {
|
|
86
|
+
type: ObjectConstructor;
|
|
87
|
+
default: {};
|
|
88
|
+
};
|
|
89
|
+
batchName: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
primaryKey: {
|
|
94
|
+
type: PropType<string | any>;
|
|
95
|
+
};
|
|
96
|
+
initRows: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
importInfo: {
|
|
101
|
+
type: PropType<any>;
|
|
102
|
+
};
|
|
103
|
+
title: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
helpMsg: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
rules: {
|
|
112
|
+
type: ObjectConstructor;
|
|
113
|
+
};
|
|
114
|
+
staticColumn: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
size: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
source: {
|
|
123
|
+
type: NumberConstructor;
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
126
|
+
showCheckBox: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
selectAll: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
subFlag: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
commonFormat: {
|
|
139
|
+
type: FunctionConstructor;
|
|
140
|
+
default: () => void;
|
|
141
|
+
};
|
|
142
|
+
dataForm: {
|
|
143
|
+
type: PropType<any>;
|
|
144
|
+
};
|
|
145
|
+
}>> & Readonly<{
|
|
146
|
+
onAddRow?: (...args: any[]) => any;
|
|
147
|
+
onRemoveRow?: (...args: any[]) => any;
|
|
148
|
+
"onUpdate:dataForm"?: (value: any) => any;
|
|
149
|
+
onInited?: (...args: any[]) => any;
|
|
150
|
+
}>, {
|
|
151
|
+
source: number;
|
|
152
|
+
title: string;
|
|
153
|
+
size: string;
|
|
154
|
+
batchName: string;
|
|
155
|
+
helpMsg: string;
|
|
156
|
+
initRows: number;
|
|
157
|
+
defaultValues: Record<string, any>;
|
|
158
|
+
staticColumn: string;
|
|
159
|
+
commonFormat: Function;
|
|
160
|
+
showCheckBox: boolean;
|
|
161
|
+
selectAll: boolean;
|
|
162
|
+
subFlag: boolean;
|
|
163
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
164
|
+
declare const _default: typeof __VLS_export;
|
|
165
|
+
export default _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
item: {
|
|
4
|
+
type: PropType<any>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
rules: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
};
|
|
10
|
+
initRows: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
source: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
commonFormat: {
|
|
23
|
+
type: FunctionConstructor;
|
|
24
|
+
default: () => void;
|
|
25
|
+
};
|
|
26
|
+
dataForm: {
|
|
27
|
+
type: PropType<any>;
|
|
28
|
+
};
|
|
29
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
addRow: (...args: any[]) => void;
|
|
31
|
+
removeRow: (...args: any[]) => void;
|
|
32
|
+
"update:dataForm": (value: any) => void;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
+
item: {
|
|
35
|
+
type: PropType<any>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
rules: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
};
|
|
41
|
+
initRows: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
source: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
commonFormat: {
|
|
54
|
+
type: FunctionConstructor;
|
|
55
|
+
default: () => void;
|
|
56
|
+
};
|
|
57
|
+
dataForm: {
|
|
58
|
+
type: PropType<any>;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
onAddRow?: (...args: any[]) => any;
|
|
62
|
+
onRemoveRow?: (...args: any[]) => any;
|
|
63
|
+
"onUpdate:dataForm"?: (value: any) => any;
|
|
64
|
+
}>, {
|
|
65
|
+
source: number;
|
|
66
|
+
size: string;
|
|
67
|
+
initRows: number;
|
|
68
|
+
commonFormat: Function;
|
|
69
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
export default _default;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
iconClass: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
className: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
marginLeft: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
marginRight: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
borderRadius: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
borderPadding: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
boxShow: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
border: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
color: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
cursor: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
svgIconName: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
54
|
+
iconClass: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
className: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
};
|
|
61
|
+
title: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
size: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
marginLeft: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
marginRight: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
borderRadius: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
borderPadding: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
boxShow: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
border: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
color: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
cursor: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
svgIconName: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
}>> & Readonly<{}>, {
|
|
106
|
+
title: string;
|
|
107
|
+
size: string;
|
|
108
|
+
marginLeft: string;
|
|
109
|
+
marginRight: string;
|
|
110
|
+
borderRadius: string;
|
|
111
|
+
borderPadding: string;
|
|
112
|
+
boxShow: boolean;
|
|
113
|
+
border: boolean;
|
|
114
|
+
color: string;
|
|
115
|
+
cursor: string;
|
|
116
|
+
svgIconName: string;
|
|
117
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
118
|
+
declare const _default: typeof __VLS_export;
|
|
119
|
+
export default _default;
|