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,56 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ApiUrls } from '../types/ApiUrls';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
compUrl: {
|
|
5
|
+
type: PropType<ApiUrls>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
fieldList: {
|
|
9
|
+
type: PropType<any>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
formInfo: {
|
|
13
|
+
type: PropType<any>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
rules: {
|
|
17
|
+
type: ObjectConstructor;
|
|
18
|
+
};
|
|
19
|
+
typeModel: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>, {
|
|
24
|
+
merge: (_type: string) => void;
|
|
25
|
+
mergeDraft: (type: string) => void;
|
|
26
|
+
resetForm: () => void;
|
|
27
|
+
assignDefault: () => void;
|
|
28
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
refresh: (...args: any[]) => void;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
compUrl: {
|
|
32
|
+
type: PropType<ApiUrls>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
fieldList: {
|
|
36
|
+
type: PropType<any>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
formInfo: {
|
|
40
|
+
type: PropType<any>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
rules: {
|
|
44
|
+
type: ObjectConstructor;
|
|
45
|
+
};
|
|
46
|
+
typeModel: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
onRefresh?: (...args: any[]) => any;
|
|
52
|
+
}>, {
|
|
53
|
+
typeModel: string;
|
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
declare const _default: typeof __VLS_export;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_17: {
|
|
2
|
+
form: unknown;
|
|
3
|
+
}, __VLS_19: {
|
|
4
|
+
form: unknown;
|
|
5
|
+
}, __VLS_21: {
|
|
6
|
+
form: unknown;
|
|
7
|
+
}, __VLS_23: {
|
|
8
|
+
form: unknown;
|
|
9
|
+
}, __VLS_25: {
|
|
10
|
+
form: unknown;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
header?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_17) => any;
|
|
16
|
+
} & {
|
|
17
|
+
empty?: (props: typeof __VLS_19) => any;
|
|
18
|
+
} & {
|
|
19
|
+
default?: (props: typeof __VLS_21) => any;
|
|
20
|
+
} & {
|
|
21
|
+
empty?: (props: typeof __VLS_23) => any;
|
|
22
|
+
} & {
|
|
23
|
+
button?: (props: typeof __VLS_25) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
26
|
+
needScroller: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
dataForm: {
|
|
31
|
+
type: import('vue').PropType<any>;
|
|
32
|
+
};
|
|
33
|
+
}>, {
|
|
34
|
+
getFields: () => any;
|
|
35
|
+
validate: () => Promise<any>;
|
|
36
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
"update:dataForm": (value: any) => any;
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
needScroller: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
dataForm: {
|
|
44
|
+
type: import('vue').PropType<any>;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{
|
|
47
|
+
"onUpdate:dataForm"?: (value: any) => any;
|
|
48
|
+
}>, {
|
|
49
|
+
needScroller: boolean;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
dataForm: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
index: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
item: {
|
|
12
|
+
type: PropType<any>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
staticColumn: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
primaryKey: {
|
|
20
|
+
type: PropType<string | any>;
|
|
21
|
+
};
|
|
22
|
+
batchName: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
rules: {
|
|
27
|
+
type: ObjectConstructor;
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
source: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
dataForm: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
index: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
item: {
|
|
47
|
+
type: PropType<any>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
staticColumn: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
primaryKey: {
|
|
55
|
+
type: PropType<string | any>;
|
|
56
|
+
};
|
|
57
|
+
batchName: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
rules: {
|
|
62
|
+
type: ObjectConstructor;
|
|
63
|
+
};
|
|
64
|
+
size: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
source: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{}>, {
|
|
73
|
+
source: number;
|
|
74
|
+
size: string;
|
|
75
|
+
batchName: string;
|
|
76
|
+
staticColumn: string;
|
|
77
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
78
|
+
declare const _default: typeof __VLS_export;
|
|
79
|
+
export default _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ModelValueType } from './utils/DataPicker.vue';
|
|
2
|
+
import { CSSProperties } from 'vue';
|
|
3
|
+
import { SearchParams } from '../types';
|
|
4
|
+
export interface DataSelectorProps {
|
|
5
|
+
/**
|
|
6
|
+
* 选中数据
|
|
7
|
+
*/
|
|
8
|
+
modelValue: ModelValueType;
|
|
9
|
+
/**
|
|
10
|
+
* 选中数据
|
|
11
|
+
*/
|
|
12
|
+
selectedData?: any;
|
|
13
|
+
/**
|
|
14
|
+
* 占位符
|
|
15
|
+
*/
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
/**
|
|
18
|
+
* 接口地址
|
|
19
|
+
*/
|
|
20
|
+
dataUrl?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 是否使用代理
|
|
23
|
+
*/
|
|
24
|
+
proxy?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 代理地址
|
|
27
|
+
*/
|
|
28
|
+
proxyUrl?: string;
|
|
29
|
+
/**
|
|
30
|
+
* 接口参数
|
|
31
|
+
*/
|
|
32
|
+
params?: SearchParams[];
|
|
33
|
+
/**
|
|
34
|
+
* 数据
|
|
35
|
+
*/
|
|
36
|
+
data?: Array<any>;
|
|
37
|
+
/**
|
|
38
|
+
* 页码
|
|
39
|
+
*/
|
|
40
|
+
pageSize?: number;
|
|
41
|
+
/**
|
|
42
|
+
* 标题
|
|
43
|
+
*/
|
|
44
|
+
title?: string;
|
|
45
|
+
/**
|
|
46
|
+
* 组件大小
|
|
47
|
+
*/
|
|
48
|
+
compSize?: string;
|
|
49
|
+
/**
|
|
50
|
+
* 显示名称
|
|
51
|
+
*/
|
|
52
|
+
displayName?: string;
|
|
53
|
+
/**
|
|
54
|
+
* 显示值
|
|
55
|
+
*/
|
|
56
|
+
displayValue?: string;
|
|
57
|
+
/**
|
|
58
|
+
* 是否多选
|
|
59
|
+
*/
|
|
60
|
+
multiple?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* 是否禁用
|
|
63
|
+
*/
|
|
64
|
+
disabled?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* 严格模式
|
|
67
|
+
*/
|
|
68
|
+
checkStrictly?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* 选择叶子节点
|
|
71
|
+
*/
|
|
72
|
+
selectLeaf?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* 显示标签长度
|
|
75
|
+
*/
|
|
76
|
+
showTagLength?: number;
|
|
77
|
+
/**
|
|
78
|
+
* 样式
|
|
79
|
+
*/
|
|
80
|
+
style?: CSSProperties;
|
|
81
|
+
tagType: "" | "primary" | "secondary" | "success" | "info" | "warning";
|
|
82
|
+
tagEffect: "" | "light" | "dark" | "plain";
|
|
83
|
+
}
|
|
84
|
+
declare const __VLS_export: import('vue').DefineComponent<DataSelectorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
85
|
+
change: (selectData: any) => any;
|
|
86
|
+
"update:modelValue": (modelValue: any) => any;
|
|
87
|
+
selectedData: (selectData: any) => any;
|
|
88
|
+
"update:selectedData": (selectData: any) => any;
|
|
89
|
+
}, string, import('vue').PublicProps, Readonly<DataSelectorProps> & Readonly<{
|
|
90
|
+
onChange?: (selectData: any) => any;
|
|
91
|
+
"onUpdate:modelValue"?: (modelValue: any) => any;
|
|
92
|
+
onSelectedData?: (selectData: any) => any;
|
|
93
|
+
"onUpdate:selectedData"?: (selectData: any) => any;
|
|
94
|
+
}>, {
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
placeholder: string;
|
|
97
|
+
displayName: string;
|
|
98
|
+
compSize: string;
|
|
99
|
+
pageSize: number;
|
|
100
|
+
displayValue: string;
|
|
101
|
+
multiple: boolean;
|
|
102
|
+
checkStrictly: boolean;
|
|
103
|
+
selectLeaf: boolean;
|
|
104
|
+
showTagLength: number;
|
|
105
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
106
|
+
declare const _default: typeof __VLS_export;
|
|
107
|
+
export default _default;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { ApiUrls } from '../types/ApiUrls';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare var __VLS_20: {
|
|
4
|
+
dataForm: any;
|
|
5
|
+
}, __VLS_22: {
|
|
6
|
+
dataForm: any;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
ext?: (props: typeof __VLS_20) => any;
|
|
10
|
+
} & {
|
|
11
|
+
user?: (props: typeof __VLS_22) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
compUrl: {
|
|
15
|
+
type: PropType<ApiUrls>;
|
|
16
|
+
};
|
|
17
|
+
objectName: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
subFormFlag: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
formSize: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
labelPosition: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
batchName: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
batchFieldName: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
fieldList: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
globalCondition: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
};
|
|
47
|
+
outerData: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
};
|
|
50
|
+
dynamicForm: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
preview: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
primaryKey: {
|
|
59
|
+
type: PropType<string | any>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
dataFormat: {
|
|
63
|
+
type: FunctionConstructor;
|
|
64
|
+
default: any;
|
|
65
|
+
};
|
|
66
|
+
useViewUrl: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
slotType: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>, {
|
|
75
|
+
setData: (data: any) => void;
|
|
76
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
77
|
+
dataLoaded: (...args: any[]) => void;
|
|
78
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
compUrl: {
|
|
80
|
+
type: PropType<ApiUrls>;
|
|
81
|
+
};
|
|
82
|
+
objectName: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
};
|
|
85
|
+
subFormFlag: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
formSize: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
labelPosition: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
batchName: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
batchFieldName: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
fieldList: {
|
|
106
|
+
type: ObjectConstructor;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
globalCondition: {
|
|
110
|
+
type: ObjectConstructor;
|
|
111
|
+
};
|
|
112
|
+
outerData: {
|
|
113
|
+
type: ObjectConstructor;
|
|
114
|
+
};
|
|
115
|
+
dynamicForm: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
preview: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
primaryKey: {
|
|
124
|
+
type: PropType<string | any>;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
dataFormat: {
|
|
128
|
+
type: FunctionConstructor;
|
|
129
|
+
default: any;
|
|
130
|
+
};
|
|
131
|
+
useViewUrl: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
slotType: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
}>> & Readonly<{
|
|
140
|
+
onDataLoaded?: (...args: any[]) => any;
|
|
141
|
+
}>, {
|
|
142
|
+
batchName: string;
|
|
143
|
+
primaryKey: any;
|
|
144
|
+
subFormFlag: string;
|
|
145
|
+
preview: boolean;
|
|
146
|
+
labelPosition: string;
|
|
147
|
+
dataFormat: Function;
|
|
148
|
+
batchFieldName: string;
|
|
149
|
+
formSize: string;
|
|
150
|
+
dynamicForm: boolean;
|
|
151
|
+
useViewUrl: boolean;
|
|
152
|
+
slotType: string;
|
|
153
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
154
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
155
|
+
declare const _default: typeof __VLS_export;
|
|
156
|
+
export default _default;
|
|
157
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
158
|
+
new (): {
|
|
159
|
+
$slots: S;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { DialogProps } from '../types/DialogProps';
|
|
3
|
+
import { UserFuncInfo } from '../types/PageFieldInfo';
|
|
4
|
+
declare var __VLS_56: {}, __VLS_58: {}, __VLS_61: {}, __VLS_141: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
header?: (props: typeof __VLS_56) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_58) => any;
|
|
9
|
+
} & {
|
|
10
|
+
extend?: (props: typeof __VLS_61) => any;
|
|
11
|
+
} & {
|
|
12
|
+
footer?: (props: typeof __VLS_141) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
dialogVisible: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
dialogProps: {
|
|
20
|
+
type: PropType<DialogProps>;
|
|
21
|
+
default: {};
|
|
22
|
+
};
|
|
23
|
+
isShowReset: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
isShowSave: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
isShowBtnContinue: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
draggable: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
boxHeight: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
boxWidth: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
isBatch: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
fullScreen: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
hideFullScreenIcon: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
selfFunc: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
selfClose: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
btnText: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
};
|
|
70
|
+
userBtn: {
|
|
71
|
+
type: {
|
|
72
|
+
(arrayLength: number): UserFuncInfo[];
|
|
73
|
+
(...items: UserFuncInfo[]): UserFuncInfo[];
|
|
74
|
+
new (arrayLength: number): UserFuncInfo[];
|
|
75
|
+
new (...items: UserFuncInfo[]): UserFuncInfo[];
|
|
76
|
+
isArray(arg: any): arg is any[];
|
|
77
|
+
readonly prototype: any[];
|
|
78
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
79
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
80
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
81
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
82
|
+
of<T>(...items: T[]): T[];
|
|
83
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
84
|
+
};
|
|
85
|
+
default: any[];
|
|
86
|
+
};
|
|
87
|
+
btnTextContinue: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: any;
|
|
90
|
+
};
|
|
91
|
+
title: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
source: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
compSize: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
104
|
+
merge: (...args: any[]) => void;
|
|
105
|
+
resetForm: (...args: any[]) => void;
|
|
106
|
+
mergeDraft: (...args: any[]) => void;
|
|
107
|
+
open: (...args: any[]) => void;
|
|
108
|
+
closeAction: (...args: any[]) => void;
|
|
109
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
110
|
+
dialogVisible: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
dialogProps: {
|
|
115
|
+
type: PropType<DialogProps>;
|
|
116
|
+
default: {};
|
|
117
|
+
};
|
|
118
|
+
isShowReset: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
isShowSave: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
isShowBtnContinue: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
draggable: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
boxHeight: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
boxWidth: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
isBatch: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
fullScreen: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
hideFullScreenIcon: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
selfFunc: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
selfClose: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
btnText: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
};
|
|
165
|
+
userBtn: {
|
|
166
|
+
type: {
|
|
167
|
+
(arrayLength: number): UserFuncInfo[];
|
|
168
|
+
(...items: UserFuncInfo[]): UserFuncInfo[];
|
|
169
|
+
new (arrayLength: number): UserFuncInfo[];
|
|
170
|
+
new (...items: UserFuncInfo[]): UserFuncInfo[];
|
|
171
|
+
isArray(arg: any): arg is any[];
|
|
172
|
+
readonly prototype: any[];
|
|
173
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
174
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
175
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
176
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
177
|
+
of<T>(...items: T[]): T[];
|
|
178
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
179
|
+
};
|
|
180
|
+
default: any[];
|
|
181
|
+
};
|
|
182
|
+
btnTextContinue: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
default: any;
|
|
185
|
+
};
|
|
186
|
+
title: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
source: {
|
|
191
|
+
type: NumberConstructor;
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
compSize: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
}>> & Readonly<{
|
|
199
|
+
onMerge?: (...args: any[]) => any;
|
|
200
|
+
onResetForm?: (...args: any[]) => any;
|
|
201
|
+
onMergeDraft?: (...args: any[]) => any;
|
|
202
|
+
onOpen?: (...args: any[]) => any;
|
|
203
|
+
onCloseAction?: (...args: any[]) => any;
|
|
204
|
+
}>, {
|
|
205
|
+
source: number;
|
|
206
|
+
title: string;
|
|
207
|
+
selfFunc: boolean;
|
|
208
|
+
dialogProps: DialogProps;
|
|
209
|
+
dialogVisible: boolean;
|
|
210
|
+
isShowReset: boolean;
|
|
211
|
+
isShowSave: boolean;
|
|
212
|
+
isShowBtnContinue: boolean;
|
|
213
|
+
draggable: boolean;
|
|
214
|
+
boxHeight: string;
|
|
215
|
+
boxWidth: string;
|
|
216
|
+
isBatch: boolean;
|
|
217
|
+
fullScreen: boolean;
|
|
218
|
+
hideFullScreenIcon: boolean;
|
|
219
|
+
selfClose: boolean;
|
|
220
|
+
userBtn: UserFuncInfo[];
|
|
221
|
+
btnTextContinue: string;
|
|
222
|
+
compSize: string;
|
|
223
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
224
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
225
|
+
declare const _default: typeof __VLS_export;
|
|
226
|
+
export default _default;
|
|
227
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
228
|
+
new (): {
|
|
229
|
+
$slots: S;
|
|
230
|
+
};
|
|
231
|
+
};
|