@qqt-product/ui 0.0.12 → 0.0.14
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/dist/index.es.js +56339 -59301
- package/dist/index.umd.js +15222 -56
- package/dist/lib/components/breadcrumb/index.d.ts +10 -0
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -0
- package/dist/lib/components/card-list-layout/index.d.ts +147 -0
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +70 -0
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +79 -0
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +144 -0
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +30 -0
- package/dist/lib/components/card-list-layout/src/types.d.ts +41 -0
- package/dist/lib/components/cascader/index.d.ts +43 -55
- package/dist/lib/components/cascader/src/cascader-types.d.ts +17 -23
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +43 -55
- package/dist/lib/components/cascader/src/use-cascader.d.ts +2 -2
- package/dist/lib/components/checkbox/index.d.ts +113 -0
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +62 -0
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +109 -0
- package/dist/lib/components/checkbox/src/use-checkbox.d.ts +2 -0
- package/dist/lib/components/codeEditorModel/index.d.ts +93 -0
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +90 -0
- package/dist/lib/components/collapse-transition/index.d.ts +16 -0
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +15 -0
- package/dist/lib/components/coutdown/index.d.ts +84 -0
- package/dist/lib/components/coutdown/src/coutdown.d.ts +48 -0
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +81 -0
- package/dist/lib/components/currency/index.d.ts +109 -0
- package/dist/lib/components/currency/src/currency-type.d.ts +47 -0
- package/dist/lib/components/currency/src/currency.vue.d.ts +105 -0
- package/dist/lib/components/currency/src/use-currency.d.ts +2 -0
- package/dist/lib/components/currency/src/use-methods.d.ts +14 -0
- package/dist/lib/components/detail-form/index.d.ts +102 -0
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +99 -0
- package/dist/lib/components/detail-form/src/use-detail-form.d.ts +2 -0
- package/dist/lib/components/detail-grid/index.d.ts +2678 -0
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +2675 -0
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/detail-grid/src/use-detail-grid.d.ts +2 -0
- package/dist/lib/components/detail-page-layout/index.d.ts +186 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +183 -0
- package/dist/lib/components/detail-page-layout/src/use-detail-page-layout.d.ts +2 -0
- package/dist/lib/components/edit-form/index.d.ts +104 -63
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +28 -24
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +105 -63
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +11 -0
- package/dist/lib/components/edit-form/src/hook/use-form-config-hook.d.ts +8 -0
- package/dist/lib/components/edit-form/src/use-edit-form.d.ts +1 -1
- package/dist/lib/components/edit-grid/index.d.ts +414 -343
- package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +8 -0
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +33 -24
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +414 -343
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/use-edit-grid.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/index.d.ts +67 -11
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +212 -40
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +67 -11
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/editor/index.d.ts +31 -0
- package/dist/lib/components/editor/src/index.vue.d.ts +28 -0
- package/dist/lib/components/field-select-modal/index.d.ts +150 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +85 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +146 -0
- package/dist/lib/components/field-select-modal/src/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/index.d.ts +23 -3
- package/dist/lib/components/item-wrap/index.d.ts +57 -0
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +27 -0
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +53 -0
- package/dist/lib/components/item-wrap/src/use-item-wrap.d.ts +2 -0
- package/dist/lib/components/layout/index.d.ts +94 -13
- package/dist/lib/components/layout/src/header/index.vue.d.ts +117 -84
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +10 -19
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +16 -3
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +105 -67
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +27 -7
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +26 -43
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +34 -0
- package/dist/lib/components/layout/src/index.vue.d.ts +94 -27
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +5 -2
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +57 -73
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +5 -23
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +4 -22
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +24 -25
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -10
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +78 -3
- package/dist/lib/components/layout/src/types.d.ts +68 -0
- package/dist/lib/components/{layout-auchor → layout-anchor}/index.d.ts +10 -7
- package/dist/lib/components/{layout-auchor/src/layout-auchor-types.d.ts → layout-anchor/src/layout-anchor-types.d.ts} +3 -3
- package/dist/lib/components/{layout-auchor → layout-anchor}/src/layout-auchor.vue.d.ts +7 -4
- package/dist/lib/components/layout-anchor/src/use-layout-anchor.d.ts +2 -0
- package/dist/lib/components/layout-buttons/index.d.ts +39 -2
- package/dist/lib/components/layout-buttons/src/layout-buttons-types.d.ts +16 -0
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +39 -2
- package/dist/lib/components/layout-buttons/src/use-layout-buttons.d.ts +1 -1
- package/dist/lib/components/layout-pattern/index.d.ts +8 -14
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +72 -4
- package/dist/lib/components/layout-pattern/src/layout-pattern-types.d.ts +3 -5
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +8 -14
- package/dist/lib/components/list-page-layout/index.d.ts +244 -0
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +21 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +293 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +22 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +16 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/types.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +40 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +5178 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +95 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +33 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +27 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +15 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +103 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +56 -0
- package/dist/lib/components/list-page-layout/src/hooks/export-xls-hook.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-data-hook.d.ts +5 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-head-data-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +238 -0
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +358 -0
- package/dist/lib/components/list-page-layout/src/symbol.d.ts +11 -0
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +12 -0
- package/dist/lib/components/list-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +174 -0
- package/dist/lib/components/page-layout/index.d.ts +12 -2
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +10 -0
- package/dist/lib/components/page-layout/src/constant/index.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/items.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +15 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +26 -0
- package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +7 -0
- package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +5 -2
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +7 -2
- package/dist/lib/components/page-layout/src/token.d.ts +7 -1
- package/dist/lib/components/page-layout/src/util.d.ts +10 -35
- package/dist/lib/components/radio/index.d.ts +104 -0
- package/dist/lib/components/radio/src/radio-types.d.ts +56 -0
- package/dist/lib/components/radio/src/radio.vue.d.ts +100 -0
- package/dist/lib/components/radio/src/use-radio.d.ts +2 -0
- package/dist/lib/components/remote-select/index.d.ts +122 -0
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +50 -0
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +118 -0
- package/dist/lib/components/remote-select/src/use-remote-select.d.ts +6 -0
- package/dist/lib/components/select/index.d.ts +8 -39
- package/dist/lib/components/select/src/select-types.d.ts +4 -15
- package/dist/lib/components/select/src/select.vue.d.ts +8 -39
- package/dist/lib/components/select/src/use-select.d.ts +2 -2
- package/dist/lib/components/select-modal/index.d.ts +333 -0
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +51 -0
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +329 -0
- package/dist/lib/components/select-modal/src/use-select-modal.d.ts +6 -0
- package/dist/lib/components/shared/hooks/use-namespace-last.d.ts +23 -0
- package/dist/lib/components/shared/hooks/use-namespace.d.ts +3 -3
- package/dist/lib/components/switch/index.d.ts +2 -4
- package/dist/lib/components/switch/src/switch-types.d.ts +0 -2
- package/dist/lib/components/switch/src/switch.vue.d.ts +2 -4
- package/dist/lib/components/tree-select/index.d.ts +114 -0
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +60 -0
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +110 -0
- package/dist/lib/components/tree-select/src/use-tree-select.d.ts +2 -0
- package/dist/lib/components/upload-file/index.d.ts +274 -0
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +34 -0
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +11 -0
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +141 -0
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +267 -0
- package/dist/lib/components/upload-image/index.d.ts +191 -0
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +53 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +187 -0
- package/dist/lib/components/vxe-select/index.d.ts +116 -0
- package/dist/lib/components/vxe-select/src/use-vxe-select.d.ts +2 -0
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +58 -0
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +112 -0
- package/dist/lib/index.d.ts +15 -2
- package/dist/lib/setting/vxe-table/config.d.ts +3 -0
- package/dist/lib/utils/event.d.ts +37 -0
- package/dist/style.css +6 -8
- package/dist/vite-env.d.ts +15 -0
- package/package.json +35 -22
- package/dist/lib/components/layout/src/menu/icon.d.ts +0 -6
- package/dist/lib/components/layout-auchor/src/use-layout-auchor.d.ts +0 -2
- package/dist/lib/components/layout-header/index.d.ts +0 -17
- package/dist/lib/components/layout-header/src/layout-header-types.d.ts +0 -8
- package/dist/lib/components/layout-header/src/layout-header.vue.d.ts +0 -13
- package/dist/lib/components/layout-header/src/use-layout-header.d.ts +0 -2
- package/dist/lib/constant/constant.d.ts +0 -1
- package/dist/lib/types/ComponentCustomProperties .d.ts +0 -6
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { SelectOption, VxeSelectProps } from './src/vxe-select-types';
|
|
2
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
4
|
+
import QVxeSelect from './src/vxe-select.vue';
|
|
5
|
+
export * from './src/vxe-select-types';
|
|
6
|
+
export { QVxeSelect };
|
|
7
|
+
declare const _default: SFCWithInstall<DefineComponent<{
|
|
8
|
+
readonly modelValue: {
|
|
9
|
+
readonly type: StringConstructor;
|
|
10
|
+
readonly default: "";
|
|
11
|
+
};
|
|
12
|
+
readonly maxTagCount: {
|
|
13
|
+
readonly type: NumberConstructor;
|
|
14
|
+
readonly default: 1;
|
|
15
|
+
};
|
|
16
|
+
readonly multiple: {
|
|
17
|
+
readonly type: BooleanConstructor;
|
|
18
|
+
readonly default: false;
|
|
19
|
+
};
|
|
20
|
+
readonly busAccount: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: "";
|
|
23
|
+
};
|
|
24
|
+
readonly placeholder: {
|
|
25
|
+
readonly type: StringConstructor;
|
|
26
|
+
readonly default: "请选择";
|
|
27
|
+
};
|
|
28
|
+
readonly dictCode: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: "";
|
|
31
|
+
};
|
|
32
|
+
readonly options: {
|
|
33
|
+
readonly type: PropType<SelectOption[]>;
|
|
34
|
+
readonly default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
readonly 'onUpdate:modelValue': {
|
|
37
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
38
|
+
default: unknown;
|
|
39
|
+
};
|
|
40
|
+
readonly onChange: {
|
|
41
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
42
|
+
default: unknown;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
classes: ComputedRef<{
|
|
46
|
+
[key: string]: string | boolean;
|
|
47
|
+
}>;
|
|
48
|
+
realValue: Ref<string | string[]>;
|
|
49
|
+
maxTagCount: number;
|
|
50
|
+
placeholder: string;
|
|
51
|
+
multiple: boolean;
|
|
52
|
+
options: Ref<{
|
|
53
|
+
[x: string]: string;
|
|
54
|
+
title: string;
|
|
55
|
+
value: string;
|
|
56
|
+
id: string;
|
|
57
|
+
textI18nKey: string;
|
|
58
|
+
children?: unknown[] | undefined;
|
|
59
|
+
label: string;
|
|
60
|
+
}[]>;
|
|
61
|
+
onChange: ({ value }: {
|
|
62
|
+
value: string | string[];
|
|
63
|
+
}) => void;
|
|
64
|
+
props: VxeSelectProps;
|
|
65
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
66
|
+
readonly modelValue: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: "";
|
|
69
|
+
};
|
|
70
|
+
readonly maxTagCount: {
|
|
71
|
+
readonly type: NumberConstructor;
|
|
72
|
+
readonly default: 1;
|
|
73
|
+
};
|
|
74
|
+
readonly multiple: {
|
|
75
|
+
readonly type: BooleanConstructor;
|
|
76
|
+
readonly default: false;
|
|
77
|
+
};
|
|
78
|
+
readonly busAccount: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: "";
|
|
81
|
+
};
|
|
82
|
+
readonly placeholder: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: "请选择";
|
|
85
|
+
};
|
|
86
|
+
readonly dictCode: {
|
|
87
|
+
readonly type: StringConstructor;
|
|
88
|
+
readonly default: "";
|
|
89
|
+
};
|
|
90
|
+
readonly options: {
|
|
91
|
+
readonly type: PropType<SelectOption[]>;
|
|
92
|
+
readonly default: () => never[];
|
|
93
|
+
};
|
|
94
|
+
readonly 'onUpdate:modelValue': {
|
|
95
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
96
|
+
default: unknown;
|
|
97
|
+
};
|
|
98
|
+
readonly onChange: {
|
|
99
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
100
|
+
default: unknown;
|
|
101
|
+
};
|
|
102
|
+
}>> & {
|
|
103
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
107
|
+
readonly multiple: boolean;
|
|
108
|
+
readonly options: SelectOption[];
|
|
109
|
+
readonly placeholder: string;
|
|
110
|
+
readonly maxTagCount: number;
|
|
111
|
+
readonly busAccount: string;
|
|
112
|
+
readonly dictCode: string;
|
|
113
|
+
readonly modelValue: string;
|
|
114
|
+
readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
|
|
115
|
+
}, {}>>;
|
|
116
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
export interface Option {
|
|
3
|
+
title: string;
|
|
4
|
+
value: string;
|
|
5
|
+
id: string;
|
|
6
|
+
textI18nKey: string;
|
|
7
|
+
[K: string]: string;
|
|
8
|
+
}
|
|
9
|
+
export type WithChildrenOption = Option & {
|
|
10
|
+
children?: unknown[];
|
|
11
|
+
};
|
|
12
|
+
export type SelectOption = WithChildrenOption & {
|
|
13
|
+
label: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const vxeSelectProps: {
|
|
16
|
+
readonly modelValue: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly default: "";
|
|
19
|
+
};
|
|
20
|
+
readonly maxTagCount: {
|
|
21
|
+
readonly type: NumberConstructor;
|
|
22
|
+
readonly default: 1;
|
|
23
|
+
};
|
|
24
|
+
readonly multiple: {
|
|
25
|
+
readonly type: BooleanConstructor;
|
|
26
|
+
readonly default: false;
|
|
27
|
+
};
|
|
28
|
+
readonly busAccount: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: "";
|
|
31
|
+
};
|
|
32
|
+
readonly placeholder: {
|
|
33
|
+
readonly type: StringConstructor;
|
|
34
|
+
readonly default: "请选择";
|
|
35
|
+
};
|
|
36
|
+
readonly dictCode: {
|
|
37
|
+
readonly type: StringConstructor;
|
|
38
|
+
readonly default: "";
|
|
39
|
+
};
|
|
40
|
+
readonly options: {
|
|
41
|
+
readonly type: PropType<SelectOption[]>;
|
|
42
|
+
readonly default: () => never[];
|
|
43
|
+
};
|
|
44
|
+
readonly 'onUpdate:modelValue': {
|
|
45
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
46
|
+
default: unknown;
|
|
47
|
+
};
|
|
48
|
+
readonly onChange: {
|
|
49
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
50
|
+
default: unknown;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type VxeSelectProps = ExtractPropTypes<typeof vxeSelectProps>;
|
|
54
|
+
export interface UseVxeSelectReturnType {
|
|
55
|
+
classes: ComputedRef<{
|
|
56
|
+
[key: string]: string | boolean;
|
|
57
|
+
}>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { VxeSelectProps, SelectOption } from './vxe-select-types';
|
|
3
|
+
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
readonly modelValue: {
|
|
5
|
+
readonly type: StringConstructor;
|
|
6
|
+
readonly default: "";
|
|
7
|
+
};
|
|
8
|
+
readonly maxTagCount: {
|
|
9
|
+
readonly type: NumberConstructor;
|
|
10
|
+
readonly default: 1;
|
|
11
|
+
};
|
|
12
|
+
readonly multiple: {
|
|
13
|
+
readonly type: BooleanConstructor;
|
|
14
|
+
readonly default: false;
|
|
15
|
+
};
|
|
16
|
+
readonly busAccount: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly default: "";
|
|
19
|
+
};
|
|
20
|
+
readonly placeholder: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: "请选择";
|
|
23
|
+
};
|
|
24
|
+
readonly dictCode: {
|
|
25
|
+
readonly type: StringConstructor;
|
|
26
|
+
readonly default: "";
|
|
27
|
+
};
|
|
28
|
+
readonly options: {
|
|
29
|
+
readonly type: PropType<SelectOption[]>;
|
|
30
|
+
readonly default: () => never[];
|
|
31
|
+
};
|
|
32
|
+
readonly 'onUpdate:modelValue': {
|
|
33
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
34
|
+
default: unknown;
|
|
35
|
+
};
|
|
36
|
+
readonly onChange: {
|
|
37
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
38
|
+
default: unknown;
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
classes: ComputedRef<{
|
|
42
|
+
[key: string]: string | boolean;
|
|
43
|
+
}>;
|
|
44
|
+
realValue: Ref<string | string[]>;
|
|
45
|
+
maxTagCount: number;
|
|
46
|
+
placeholder: string;
|
|
47
|
+
multiple: boolean;
|
|
48
|
+
options: Ref<{
|
|
49
|
+
[x: string]: string;
|
|
50
|
+
title: string;
|
|
51
|
+
value: string;
|
|
52
|
+
id: string;
|
|
53
|
+
textI18nKey: string;
|
|
54
|
+
children?: unknown[] | undefined;
|
|
55
|
+
label: string;
|
|
56
|
+
}[]>;
|
|
57
|
+
onChange: ({ value }: {
|
|
58
|
+
value: string | string[];
|
|
59
|
+
}) => void;
|
|
60
|
+
props: VxeSelectProps;
|
|
61
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
62
|
+
readonly modelValue: {
|
|
63
|
+
readonly type: StringConstructor;
|
|
64
|
+
readonly default: "";
|
|
65
|
+
};
|
|
66
|
+
readonly maxTagCount: {
|
|
67
|
+
readonly type: NumberConstructor;
|
|
68
|
+
readonly default: 1;
|
|
69
|
+
};
|
|
70
|
+
readonly multiple: {
|
|
71
|
+
readonly type: BooleanConstructor;
|
|
72
|
+
readonly default: false;
|
|
73
|
+
};
|
|
74
|
+
readonly busAccount: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: "";
|
|
77
|
+
};
|
|
78
|
+
readonly placeholder: {
|
|
79
|
+
readonly type: StringConstructor;
|
|
80
|
+
readonly default: "请选择";
|
|
81
|
+
};
|
|
82
|
+
readonly dictCode: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: "";
|
|
85
|
+
};
|
|
86
|
+
readonly options: {
|
|
87
|
+
readonly type: PropType<SelectOption[]>;
|
|
88
|
+
readonly default: () => never[];
|
|
89
|
+
};
|
|
90
|
+
readonly 'onUpdate:modelValue': {
|
|
91
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
92
|
+
default: unknown;
|
|
93
|
+
};
|
|
94
|
+
readonly onChange: {
|
|
95
|
+
type: PropType<((value: string) => void) | ((value: string) => void)[]>;
|
|
96
|
+
default: unknown;
|
|
97
|
+
};
|
|
98
|
+
}>> & {
|
|
99
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
readonly onChange: ((value: string) => void) | ((value: string) => void)[];
|
|
103
|
+
readonly multiple: boolean;
|
|
104
|
+
readonly options: SelectOption[];
|
|
105
|
+
readonly placeholder: string;
|
|
106
|
+
readonly maxTagCount: number;
|
|
107
|
+
readonly busAccount: string;
|
|
108
|
+
readonly dictCode: string;
|
|
109
|
+
readonly modelValue: string;
|
|
110
|
+
readonly 'onUpdate:modelValue': ((value: string) => void) | ((value: string) => void)[];
|
|
111
|
+
}, {}>;
|
|
112
|
+
export default _sfc_main;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
|
-
import * as components from '
|
|
3
|
-
export { setupVxeTable } from '
|
|
2
|
+
import * as components from './components/index';
|
|
3
|
+
export { setupVxeTable } from './setting/vxe-table';
|
|
4
4
|
export declare const antd: {
|
|
5
5
|
version: string;
|
|
6
6
|
install: (app: App<any>) => App<any>;
|
|
7
7
|
};
|
|
8
8
|
export { ConfigProvider, Modal, message } from 'ant-design-vue';
|
|
9
|
+
export * as GlobalPageLayoutTypes from './components/edit-page-layout/src/types';
|
|
10
|
+
export { LAYOUT_PROPS_TOKEN, LAYOUT_PROPS_TOKEN_DEFAULT_VALUE } from './components/edit-page-layout/src/token';
|
|
11
|
+
export * as GlobalListPageLayoutTypes from './components/list-page-layout/src/types';
|
|
12
|
+
import usePromiseStepHook from './components/page-layout/src/hook/use-promise-step';
|
|
13
|
+
import useRefInstanceHook from './components/page-layout/src/hook/use-ref-instance-hook';
|
|
14
|
+
import useButtonFunctionHook from './components/list-page-layout/src/hooks/use-button-function-hook';
|
|
15
|
+
export { usePromiseStepHook, useRefInstanceHook, useButtonFunctionHook };
|
|
16
|
+
export * from './components/page-layout/src/constant';
|
|
17
|
+
export { LAYOUT_CONFIG_TOKEN, LAYOUT_CONFIG_TOKEN_DEFAULT_VALUE, DEFAULT_VALUE_TOKEN, DEFAULT_VALUE_TOKEN_DEFAULT_VALUE, LAYOUT_PAGE_DATA_TOKEN, LAYOUT_PAGE_DATA_TOKEN_DEFAULT_VALUE, } from './components/page-layout/src/token';
|
|
18
|
+
export { getRemoteJsFilePath, loadJS, requireInjection } from './components/page-layout/src/util';
|
|
19
|
+
import useFileColumnHook from './components/upload-file/src/hook/use-file-column-hook';
|
|
20
|
+
import useOperationColumnButtonHook from './components/upload-file/src/hook/use-operation-column-button-hook';
|
|
21
|
+
export { useFileColumnHook, useOperationColumnButtonHook };
|
|
9
22
|
export declare const qqtUI: () => {
|
|
10
23
|
install: (app: App) => void;
|
|
11
24
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { Emitter } from '@qqt-product/utils';
|
|
2
|
+
import { VxeTableInstance } from 'vxe-table';
|
|
3
|
+
import { SYMBOL_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID } from '../../lib/components/page-layout';
|
|
4
|
+
import type { BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, ValidateResult } from '../../lib/components/edit-page-layout';
|
|
5
|
+
import type { ButtonItem, ObjectMap } from '../../lib/components/list-page-layout';
|
|
6
|
+
import type { VxeItemFileUpload } from '../../lib/components/upload-file';
|
|
7
|
+
import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
|
|
8
|
+
export type Events = {
|
|
9
|
+
[SYMBOL_BINDFUNCTION]: BindFunctionEvent;
|
|
10
|
+
[SYMBOL_VXE_BINDFUNCTION]: VxeBindFunctionEvent;
|
|
11
|
+
[SYMBOL_ADD_ONE_ROW]: PageButtonWithGroupCode;
|
|
12
|
+
[SYMBOL_DELETE_ROWS]: PageButtonDeleteRow;
|
|
13
|
+
[SYMBOL_CUSTOM_CLICK]: PageButtonWithGroupCode;
|
|
14
|
+
[SYMBOL_VALIDATE]: PageButton;
|
|
15
|
+
[SYMBOL_VALIDATE_RESULT]: ValidateResult;
|
|
16
|
+
[SYMBOL_VALIDATE_SUCCESS]: PageButton;
|
|
17
|
+
[SYMBOL_REFRESH]: PageButton;
|
|
18
|
+
[SYMBOL_BACK]: PageButton;
|
|
19
|
+
[SYMBOL_SAVE]: PageButton;
|
|
20
|
+
[SYMBOL_PUBLISH]: PageButton;
|
|
21
|
+
[SYMBOL_SUBMIT]: PageButton;
|
|
22
|
+
[SYMBOL_GRID_INSTANCE]: VxeTableInstance;
|
|
23
|
+
[SYMBOL_HANDLE_SETTING]: string | number | undefined;
|
|
24
|
+
[SYMBOL_HANDLE_ADD]: ButtonItem;
|
|
25
|
+
[SYMBOL_HANDLE_EXPORT]: ButtonItem;
|
|
26
|
+
[SYMBOL_HANDLE_IMPORT]: ButtonItem;
|
|
27
|
+
[SYMBOL_HANDLE_HELP_TEXT]: ButtonItem;
|
|
28
|
+
[SYMBOL_HANDLE_ATTACHMENT_TEXT]: ButtonItem;
|
|
29
|
+
[SYMBOL_HANDLE_VIDEO_TEXT]: ButtonItem;
|
|
30
|
+
[SYMBOL_HANDLE_RECORD]: ObjectMap;
|
|
31
|
+
[SYMBOL_HANDLE_QUICK_NAV]: string | number | undefined;
|
|
32
|
+
[SYMBOL_FETCH_NAV_DATA]: string | number | undefined;
|
|
33
|
+
[SYMBOL_UPLOAD]: PageButtonWithGroupCode;
|
|
34
|
+
[SYMBOL_UPLOAD_GRID]: VxeItemFileUpload;
|
|
35
|
+
};
|
|
36
|
+
declare const emitter: Emitter<Events>;
|
|
37
|
+
export default emitter;
|