@wyfex/ivue 0.14.0 → 0.16.0
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 +1 -1
- package/dist/index.es.js +11 -11
- package/dist/index.umd.cjs +11 -11
- package/dist/ivue.css +1 -1
- package/dist/types/UseCrudTable/defaultExtConfig.d.ts +12 -0
- package/dist/types/UseCrudTable/index.vue.d.ts +44 -0
- package/dist/types/UseCrudTable/props.d.ts +18 -0
- package/dist/types/UseCrudTable/types.d.ts +26 -0
- package/dist/types/UseCrudTable/utils.d.ts +2 -0
- package/dist/types/UseElButton/index.vue.d.ts +1 -1
- package/dist/types/UseElConfigProvider/defaultExtConfig.d.ts +4 -0
- package/dist/types/UseElConfigProvider/props.d.ts +1 -1
- package/dist/types/UseElConfigProvider/types.d.ts +8 -4
- package/dist/types/UseElDatePicker/index.vue.d.ts +3 -3
- package/dist/types/UseElDatePicker/props.d.ts +2 -2
- package/dist/types/UseElDescriptions/hook.d.ts +1 -1
- package/dist/types/UseElDescriptions/index.vue.d.ts +8 -8
- package/dist/types/UseElDescriptions/props.d.ts +1 -1
- package/dist/types/UseElDescriptions/types.d.ts +1 -1
- package/dist/types/UseElForm/components/QueryForm.vue.d.ts +10 -4
- package/dist/types/UseElForm/components/RowForm.vue.d.ts +2 -2
- package/dist/types/UseElForm/components/controls/Cascader.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/DatePicker.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/Input.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/InputNumber.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/InputRange.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/Radio.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/Select.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/TimePicker.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/TimeSelect.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/controls/TreeSelect.vue.d.ts +1 -1
- package/dist/types/UseElForm/components/useQueryColSpan.d.ts +1 -1
- package/dist/types/UseElForm/hook.d.ts +1 -1
- package/dist/types/UseElForm/index.vue.d.ts +2 -2
- package/dist/types/UseElForm/props.d.ts +1 -1
- package/dist/types/UseElForm/types.d.ts +1 -1
- package/dist/types/UseElInput/index.vue.d.ts +3 -3
- package/dist/types/UseElInput/props.d.ts +1 -1
- package/dist/types/UseElSelect/hook.d.ts +1 -1
- package/dist/types/UseElSelect/index.vue.d.ts +5 -5
- package/dist/types/UseElSelect/props.d.ts +2 -2
- package/dist/types/UseElTable/components/RecTableColumn.vue.d.ts +2 -2
- package/dist/types/UseElTable/defaultExtConfig.d.ts +3 -0
- package/dist/types/UseElTable/hooks/useElTable.d.ts +1 -1
- package/dist/types/UseElTable/hooks/useSelection.d.ts +2 -2
- package/dist/types/UseElTable/hooks/useTableColumnMinWidth.d.ts +1 -1
- package/dist/types/UseElTable/hooks/useTableHeightAdaptive.d.ts +9 -2
- package/dist/types/UseElTable/index.vue.d.ts +3 -3
- package/dist/types/UseElTable/props.d.ts +1 -1
- package/dist/types/UseElTable/types.d.ts +7 -2
- package/dist/types/UseElTable/utils.d.ts +1 -1
- package/dist/types/UseIconfont/index.vue.d.ts +50 -0
- package/dist/types/UseIconfont/props.d.ts +23 -0
- package/dist/types/UseRender/props.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +5 -5
- package/src/components/UseCrudTable/defaultExtConfig.ts +28 -0
- package/src/components/UseCrudTable/props.ts +32 -0
- package/src/components/UseCrudTable/types.ts +51 -0
- package/src/components/UseElConfigProvider/defaultExtConfig.ts +7 -0
- package/src/components/UseElConfigProvider/types.ts +6 -2
- package/src/components/UseElForm/types.ts +1 -1
- package/src/components/UseElTable/defaultExtConfig.ts +7 -0
- package/src/components/UseElTable/props.ts +1 -1
- package/src/components/UseElTable/types.ts +9 -2
- package/src/components/UseIconfont/props.ts +40 -0
- package/src/types/index.ts +4 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
configs: {
|
|
3
|
+
type: import('vue').PropType<import('./types').Configs[]>;
|
|
4
|
+
required: boolean;
|
|
5
|
+
};
|
|
6
|
+
tableExtConfig: {
|
|
7
|
+
type: import('vue').PropType<import('../UseElTable/types').ExtConfig>;
|
|
8
|
+
default: () => {};
|
|
9
|
+
};
|
|
10
|
+
extConfig: {
|
|
11
|
+
type: import('vue').PropType<import('./types').ExtConfig>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
uefRef: import('vue').Ref<any, any>;
|
|
16
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
onDictKeys: (value?: string[] | undefined) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
configs: {
|
|
20
|
+
type: import('vue').PropType<import('./types').Configs[]>;
|
|
21
|
+
required: boolean;
|
|
22
|
+
};
|
|
23
|
+
tableExtConfig: {
|
|
24
|
+
type: import('vue').PropType<import('../UseElTable/types').ExtConfig>;
|
|
25
|
+
default: () => {};
|
|
26
|
+
};
|
|
27
|
+
extConfig: {
|
|
28
|
+
type: import('vue').PropType<import('./types').ExtConfig>;
|
|
29
|
+
default: () => {};
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{
|
|
32
|
+
onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
extConfig: import('./types').ExtConfig;
|
|
35
|
+
tableExtConfig: import('../UseElTable/types').ExtConfig;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ExtConfig as TableExtConfig } from '../UseElTable/types';
|
|
3
|
+
import { Configs, ExtConfig } from './types';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
configs: {
|
|
6
|
+
type: PropType<Configs[]>;
|
|
7
|
+
required: boolean;
|
|
8
|
+
};
|
|
9
|
+
tableExtConfig: {
|
|
10
|
+
type: PropType<TableExtConfig>;
|
|
11
|
+
default: () => {};
|
|
12
|
+
};
|
|
13
|
+
extConfig: {
|
|
14
|
+
type: PropType<ExtConfig>;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { default as componentProps } from './props';
|
|
3
|
+
import { FormColumn } from '../UseElForm/types';
|
|
4
|
+
import { TableColumn } from '../UseElTable/types';
|
|
5
|
+
export type Props = ExtractPropTypes<typeof componentProps>;
|
|
6
|
+
export interface Emits {
|
|
7
|
+
(e: 'onDictKeys', value?: string[]): void;
|
|
8
|
+
}
|
|
9
|
+
export type BaseConfigs = Omit<FormColumn, 'prop'> & Omit<TableColumn, 'prop'>;
|
|
10
|
+
export interface Configs extends BaseConfigs {
|
|
11
|
+
prop: string;
|
|
12
|
+
onlySearch?: boolean;
|
|
13
|
+
tableOrder?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface Divider {
|
|
16
|
+
show: boolean;
|
|
17
|
+
borderStyle: 'none' | 'solid' | 'hidden' | 'dashed';
|
|
18
|
+
}
|
|
19
|
+
export interface ExtConfig {
|
|
20
|
+
actionBar: {
|
|
21
|
+
margin: string;
|
|
22
|
+
showControlFormDisplayBtn: boolean;
|
|
23
|
+
reverse: boolean;
|
|
24
|
+
divider: Divider;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -31,8 +31,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
31
31
|
}>> & Readonly<{
|
|
32
32
|
onClick?: ((value?: string | number | Record<string, unknown> | undefined) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
type: string;
|
|
35
34
|
extConfig: import('./types').ExtConfig;
|
|
35
|
+
type: string;
|
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { default as componentProps } from './props';
|
|
3
|
-
import { DictProps } from '
|
|
4
|
-
import { LogType } from '
|
|
3
|
+
import { DictProps } from '../../types';
|
|
4
|
+
import { LogType } from '../../hooks/useLog';
|
|
5
5
|
export type Props = ExtractPropTypes<typeof componentProps>;
|
|
6
6
|
export interface Debug {
|
|
7
7
|
open: boolean;
|
|
@@ -9,6 +9,10 @@ export interface Debug {
|
|
|
9
9
|
toJson: boolean;
|
|
10
10
|
}
|
|
11
11
|
export interface ExtConfig {
|
|
12
|
-
dictProps
|
|
13
|
-
|
|
12
|
+
dictProps?: DictProps;
|
|
13
|
+
table?: {
|
|
14
|
+
bottomOffset: number;
|
|
15
|
+
modalFooterHeight?: number;
|
|
16
|
+
};
|
|
17
|
+
debug?: Debug;
|
|
14
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
6
|
useRender: {
|
|
@@ -40,7 +40,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
40
40
|
"update:modelValue": (value: string | number | any[]) => any;
|
|
41
41
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
42
|
modelValue: {
|
|
43
|
-
type: (
|
|
43
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
useRender: {
|
|
@@ -80,8 +80,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
80
80
|
"onUpdate:modelValue"?: ((value: string | number | any[]) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
82
|
type: string;
|
|
83
|
-
modelValue: string | number | unknown[];
|
|
84
83
|
useRender: boolean | import('../../types').RenderConfig;
|
|
84
|
+
modelValue: string | number | unknown[];
|
|
85
85
|
startPlaceholder: string;
|
|
86
86
|
endPlaceholder: string;
|
|
87
87
|
rangeSeparator: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { RenderConfig } from '
|
|
2
|
+
import { RenderConfig } from '../../types';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
modelValue: {
|
|
5
|
-
type: (
|
|
5
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
useRender: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { ConfigColumn, Emits, Props } from './types';
|
|
3
|
-
import { GlobalConfig, RenderConfig } from '
|
|
3
|
+
import { GlobalConfig, RenderConfig } from '../../types';
|
|
4
4
|
export declare const useElDescriptions: ({ props, emits, globalConfig }: {
|
|
5
5
|
props: Props;
|
|
6
6
|
emits: Emits;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RenderConfig } from '
|
|
1
|
+
import { RenderConfig } from '../../types';
|
|
2
2
|
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
configs: {
|
|
4
4
|
type: import('vue').PropType<import('./types').ConfigColumn[]>;
|
|
@@ -13,11 +13,11 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
15
|
dictMap: {
|
|
16
|
-
type: import('vue').PropType<import('
|
|
16
|
+
type: import('vue').PropType<import('../../types').DictMap>;
|
|
17
17
|
default: () => {};
|
|
18
18
|
};
|
|
19
19
|
dictProps: {
|
|
20
|
-
type: import('vue').PropType<import('
|
|
20
|
+
type: import('vue').PropType<import('../../types').DictProps>;
|
|
21
21
|
default: () => {};
|
|
22
22
|
};
|
|
23
23
|
column: {
|
|
@@ -60,11 +60,11 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
62
|
dictMap: {
|
|
63
|
-
type: import('vue').PropType<import('
|
|
63
|
+
type: import('vue').PropType<import('../../types').DictMap>;
|
|
64
64
|
default: () => {};
|
|
65
65
|
};
|
|
66
66
|
dictProps: {
|
|
67
|
-
type: import('vue').PropType<import('
|
|
67
|
+
type: import('vue').PropType<import('../../types').DictProps>;
|
|
68
68
|
default: () => {};
|
|
69
69
|
};
|
|
70
70
|
column: {
|
|
@@ -94,12 +94,12 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
94
94
|
}>> & Readonly<{
|
|
95
95
|
onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
|
|
96
96
|
}>, {
|
|
97
|
-
dictMap: import('
|
|
97
|
+
dictMap: import('../../types').DictMap;
|
|
98
|
+
dictProps: import('../../types').DictProps;
|
|
98
99
|
useRender: boolean | RenderConfig;
|
|
99
|
-
|
|
100
|
+
labelWidth: string | number;
|
|
100
101
|
column: number;
|
|
101
102
|
border: boolean;
|
|
102
|
-
labelWidth: string | number;
|
|
103
103
|
useTitleCenterWithBg: boolean;
|
|
104
104
|
labelClass: string;
|
|
105
105
|
defaultClass: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ConfigColumn } from './types';
|
|
3
|
-
import { DictMap, DictProps, RenderConfig } from '
|
|
3
|
+
import { DictMap, DictProps, RenderConfig } from '../../types';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
configs: {
|
|
6
6
|
type: PropType<ConfigColumn[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { EditAttrs, RenderConfig, UseDict } from '
|
|
2
|
+
import { EditAttrs, RenderConfig, UseDict } from '../../types';
|
|
3
3
|
import { default as componentProps } from './props';
|
|
4
4
|
export type Props = ExtractPropTypes<typeof componentProps>;
|
|
5
5
|
export interface Emits {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
formColumns: {
|
|
3
3
|
type: import('vue').PropType<import('../types').FormColumn[]>;
|
|
4
4
|
required: boolean;
|
|
@@ -55,7 +55,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
55
55
|
};
|
|
56
56
|
}>, {
|
|
57
57
|
showQueryForm: import('vue').Ref<boolean, boolean>;
|
|
58
|
-
handleDisplayQueryForm: () =>
|
|
58
|
+
handleDisplayQueryForm: () => void;
|
|
59
59
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
60
60
|
onDictKeys: (value?: string[] | undefined) => any;
|
|
61
61
|
"update:formModel": (value: Record<string, any>) => any;
|
|
@@ -119,16 +119,22 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
119
119
|
"onUpdate:formModel"?: ((value: Record<string, any>) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
121
|
dictMap: import('../../../types').DictMap;
|
|
122
|
-
useRender: boolean | import('../../../types').RenderConfig;
|
|
123
122
|
dictProps: import('../../../types').DictProps;
|
|
124
|
-
|
|
123
|
+
useRender: boolean | import('../../../types').RenderConfig;
|
|
125
124
|
formItemWidth: string;
|
|
126
125
|
labelSuffix: string;
|
|
126
|
+
labelWidth: string;
|
|
127
127
|
labelPosition: string;
|
|
128
128
|
rowGutter: number;
|
|
129
129
|
colSpan: number;
|
|
130
130
|
disabled: boolean;
|
|
131
131
|
queryConfig: import('../types').QueryConfig;
|
|
132
132
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
133
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
133
134
|
declare const _default: typeof __VLS_export;
|
|
134
135
|
export default _default;
|
|
136
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
137
|
+
new (): {
|
|
138
|
+
$slots: S;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
@@ -119,11 +119,11 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
119
119
|
"onUpdate:formModel"?: ((value: Record<string, any>) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
121
|
dictMap: import('../../../types/index.js').DictMap;
|
|
122
|
-
useRender: boolean | import('../../../types/index.js').RenderConfig;
|
|
123
122
|
dictProps: import('../../../types/index.js').DictProps;
|
|
124
|
-
|
|
123
|
+
useRender: boolean | import('../../../types/index.js').RenderConfig;
|
|
125
124
|
formItemWidth: string;
|
|
126
125
|
labelSuffix: string;
|
|
126
|
+
labelWidth: string;
|
|
127
127
|
labelPosition: string;
|
|
128
128
|
rowGutter: number;
|
|
129
129
|
colSpan: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormColumn } from '../../types';
|
|
2
|
-
import { DictMap, GlobalConfig } from '
|
|
2
|
+
import { DictMap, GlobalConfig } from '../../../../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
modelValue: string | number | boolean | string[] | number[];
|
|
5
5
|
item: FormColumn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { FormColumn, Props } from '../types';
|
|
3
3
|
export declare const useQueryColSpan: (props: Props, formColumnsComputed: ComputedRef<FormColumn[]>) => {
|
|
4
|
-
queryColSpanComputed: ComputedRef<0 | 1 |
|
|
4
|
+
queryColSpanComputed: ComputedRef<0 | 1 | 12 | 24 | 8 | 6 | 4 | 3 | 2>;
|
|
5
5
|
btnColSpanComputed: ComputedRef<number>;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { Emits, FormColumn, Props } from './types';
|
|
3
|
-
import { GlobalConfig } from '
|
|
3
|
+
import { GlobalConfig } from '../../types';
|
|
4
4
|
export declare const useElForm: ({ props, emits, globalConfig }: {
|
|
5
5
|
props: Props;
|
|
6
6
|
emits: Emits;
|
|
@@ -118,11 +118,11 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
118
118
|
};
|
|
119
119
|
}>> & Readonly<{}>, {
|
|
120
120
|
dictMap: import('../../types').DictMap;
|
|
121
|
-
useRender: boolean | import('../../types').RenderConfig;
|
|
122
121
|
dictProps: import('../../types').DictProps;
|
|
123
|
-
|
|
122
|
+
useRender: boolean | import('../../types').RenderConfig;
|
|
124
123
|
formItemWidth: string;
|
|
125
124
|
labelSuffix: string;
|
|
125
|
+
labelWidth: string;
|
|
126
126
|
labelPosition: string;
|
|
127
127
|
rowGutter: number;
|
|
128
128
|
colSpan: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { FormColumn, QueryConfig } from './types';
|
|
3
|
-
import { DictMap, DictProps, RenderConfig } from '
|
|
3
|
+
import { DictMap, DictProps, RenderConfig } from '../../types';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
formColumns: {
|
|
6
6
|
type: PropType<FormColumn[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { default as componentProps } from './props';
|
|
3
|
-
import { RenderConfig, UseDict } from '
|
|
3
|
+
import { RenderConfig, UseDict } from '../../types';
|
|
4
4
|
export type Props = ExtractPropTypes<typeof componentProps>;
|
|
5
5
|
export interface Emits {
|
|
6
6
|
(e: 'onDictKeys', value?: string[]): void;
|
|
@@ -101,12 +101,12 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
101
101
|
}>> & Readonly<{
|
|
102
102
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
103
103
|
}>, {
|
|
104
|
+
useRender: boolean | import('../../types').RenderConfig;
|
|
105
|
+
width: string;
|
|
106
|
+
unit: string | Record<string, any>;
|
|
104
107
|
resize: string;
|
|
105
108
|
modelValue: string | number;
|
|
106
|
-
useRender: boolean | import('../../types').RenderConfig;
|
|
107
109
|
placeholder: string;
|
|
108
|
-
unit: string | Record<string, any>;
|
|
109
|
-
width: string;
|
|
110
110
|
clearable: boolean;
|
|
111
111
|
prefixContent: string | Record<string, any>;
|
|
112
112
|
suffixContent: string | Record<string, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { Emits, Props } from './types';
|
|
3
|
-
import { GlobalConfig } from '
|
|
3
|
+
import { GlobalConfig } from '../../types';
|
|
4
4
|
export declare const useElSelect: ({ props, emits, globalConfig }: {
|
|
5
5
|
props: Props;
|
|
6
6
|
emits: Emits;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (ArrayConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
6
|
options: {
|
|
@@ -40,7 +40,7 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
40
40
|
"update:label": (label: string | string[]) => any;
|
|
41
41
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
42
|
modelValue: {
|
|
43
|
-
type: (
|
|
43
|
+
type: (ArrayConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
options: {
|
|
@@ -79,12 +79,12 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
79
79
|
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
80
80
|
"onUpdate:label"?: ((label: string | string[]) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
|
+
dictProps: import('../../types').DictProps;
|
|
83
|
+
useRender: boolean | import('../../types').RenderConfig;
|
|
84
|
+
width: string;
|
|
82
85
|
toJoin: boolean;
|
|
83
86
|
modelValue: string | number | boolean | unknown[];
|
|
84
|
-
useRender: boolean | import('../../types').RenderConfig;
|
|
85
87
|
placeholder: string;
|
|
86
|
-
dictProps: import('../../types').DictProps;
|
|
87
|
-
width: string;
|
|
88
88
|
clearable: boolean;
|
|
89
89
|
options: Record<string, any>[];
|
|
90
90
|
useV2: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { DictProps, RenderConfig } from '
|
|
2
|
+
import { DictProps, RenderConfig } from '../../types';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
modelValue: {
|
|
5
|
-
type: (
|
|
5
|
+
type: (ArrayConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
options: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TableColumn, Props } from '../types';
|
|
3
|
-
import { GlobalConfig } from '
|
|
3
|
+
import { GlobalConfig } from '../../../types';
|
|
4
4
|
declare var __VLS_9: {
|
|
5
5
|
label: string | undefined;
|
|
6
6
|
prop: string | undefined;
|
|
@@ -70,9 +70,9 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
70
70
|
default: () => void;
|
|
71
71
|
};
|
|
72
72
|
}>> & Readonly<{}>, {
|
|
73
|
+
tableColumnAlign: string;
|
|
73
74
|
mergedProps: Props;
|
|
74
75
|
globalConfig: GlobalConfig;
|
|
75
|
-
tableColumnAlign: string;
|
|
76
76
|
columnObj: TableColumn;
|
|
77
77
|
processDictData: Function;
|
|
78
78
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { Emits, Props, TableColumn } from '../types';
|
|
3
|
-
import { GlobalConfig } from '
|
|
3
|
+
import { GlobalConfig } from '../../../types';
|
|
4
4
|
export declare const useElTable: ({ mergedProps, emits, globalConfig }: {
|
|
5
5
|
mergedProps: ComputedRef<Props>;
|
|
6
6
|
emits: Emits;
|
|
@@ -7,9 +7,9 @@ export declare const useSelection: ({ mergedProps, emits, attrs, etRef }: {
|
|
|
7
7
|
attrs: Attrs;
|
|
8
8
|
etRef: Ref<TableInstance | null>;
|
|
9
9
|
}) => {
|
|
10
|
+
radioComputed: import('vue').WritableComputedRef<string, string>;
|
|
11
|
+
selectionContent: ComputedRef<string>;
|
|
10
12
|
handleSelectAll: (selection: any) => void;
|
|
11
13
|
handleSelect: (selection: any, row: any) => void;
|
|
12
14
|
handleRowClick: (row: any) => void;
|
|
13
|
-
radioComputed: import('vue').WritableComputedRef<string, string>;
|
|
14
|
-
selectionContent: ComputedRef<string>;
|
|
15
15
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { TableInstance } from 'element-plus';
|
|
3
3
|
import { Props } from '../types';
|
|
4
|
-
import { GlobalConfig } from '
|
|
4
|
+
import { GlobalConfig } from '../../../types';
|
|
5
5
|
export declare const useTableColumnMinWidth: (etRef: Ref<TableInstance | null>, mergedProps: ComputedRef<Props>, globalConfig: ComputedRef<GlobalConfig>) => void;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { Props } from '../types';
|
|
3
|
+
import { GlobalConfig } from '../../../types';
|
|
4
|
+
export declare const useTableHeightAdaptive: ({ rootRef, tableWrapperRef, mergedProps, globalConfig }: {
|
|
5
|
+
rootRef: Ref<HTMLDivElement | null>;
|
|
6
|
+
tableWrapperRef: Ref<HTMLDivElement | null>;
|
|
7
|
+
mergedProps: ComputedRef<Props>;
|
|
8
|
+
globalConfig: ComputedRef<GlobalConfig>;
|
|
9
|
+
}) => {
|
|
3
10
|
tableRealHeight: Ref<string, string>;
|
|
4
11
|
};
|