@wyfex/ivue 0.15.0 → 0.17.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/dist/index.es.js +5 -5
- package/dist/index.umd.cjs +9 -9
- 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/UseElCheckbox/hook.d.ts +9 -0
- package/dist/types/UseElCheckbox/index.vue.d.ts +64 -0
- package/dist/types/UseElCheckbox/props.d.ts +27 -0
- package/dist/types/UseElCheckbox/types.d.ts +6 -0
- package/dist/types/{components/UseElDatePicker → UseElDatePicker}/index.vue.d.ts +3 -3
- package/dist/types/{components/UseElDatePicker → UseElDatePicker}/props.d.ts +1 -1
- package/dist/types/{components/UseElForm → UseElForm}/components/QueryForm.vue.d.ts +10 -4
- package/dist/types/{components/UseElForm → UseElForm}/components/useQueryColSpan.d.ts +1 -1
- package/dist/types/{components/UseElSelect → UseElSelect}/index.vue.d.ts +5 -5
- package/dist/types/{components/UseElSelect → UseElSelect}/props.d.ts +1 -1
- package/dist/types/{components/UseElTable → UseElTable}/defaultExtConfig.d.ts +0 -2
- package/dist/types/UseElTable/hooks/useTableHeightAdaptive.d.ts +11 -0
- package/dist/types/{components/index.d.ts → index.d.ts} +2 -0
- package/package.json +4 -4
- 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/UseElCheckbox/props.ts +45 -0
- package/src/components/UseElCheckbox/types.ts +15 -0
- package/src/components/UseElConfigProvider/defaultExtConfig.ts +6 -0
- package/src/components/UseElForm/types.ts +1 -1
- package/src/components/UseElTable/defaultExtConfig.ts +3 -7
- package/src/components/UseElTable/types.ts +2 -6
- package/src/types/index.ts +4 -0
- package/dist/types/components/UseElTable/hooks/useTableHeightAdaptive.d.ts +0 -5
- package/dist/types/{components/UseElButton → UseElButton}/defaultExtConfig.d.ts +0 -0
- package/dist/types/{components/UseElButton → UseElButton}/hook.d.ts +0 -0
- package/dist/types/{components/UseElButton → UseElButton}/index.vue.d.ts +1 -1
- package/dist/types/{components/UseElButton → UseElButton}/props.d.ts +0 -0
- package/dist/types/{components/UseElButton → UseElButton}/types.d.ts +0 -0
- package/dist/types/{components/UseElConfigProvider → UseElConfigProvider}/defaultExtConfig.d.ts +0 -0
- package/dist/types/{components/UseElConfigProvider → UseElConfigProvider}/index.vue.d.ts +0 -0
- package/dist/types/{components/UseElConfigProvider → UseElConfigProvider}/props.d.ts +0 -0
- package/dist/types/{components/UseElConfigProvider → UseElConfigProvider}/types.d.ts +0 -0
- package/dist/types/{components/UseElDatePicker → UseElDatePicker}/types.d.ts +0 -0
- package/dist/types/{components/UseElDescriptions → UseElDescriptions}/hook.d.ts +0 -0
- package/dist/types/{components/UseElDescriptions → UseElDescriptions}/index.vue.d.ts +2 -2
- package/dist/types/{components/UseElDescriptions → UseElDescriptions}/props.d.ts +0 -0
- package/dist/types/{components/UseElDescriptions → UseElDescriptions}/types.d.ts +0 -0
- package/dist/types/{components/UseElDialog → UseElDialog}/hook.d.ts +0 -0
- package/dist/types/{components/UseElDialog → UseElDialog}/index.vue.d.ts +0 -0
- package/dist/types/{components/UseElDialog → UseElDialog}/props.d.ts +0 -0
- package/dist/types/{components/UseElDialog → UseElDialog}/types.d.ts +0 -0
- package/dist/types/{components/UseElDrawer → UseElDrawer}/hook.d.ts +0 -0
- package/dist/types/{components/UseElDrawer → UseElDrawer}/index.vue.d.ts +0 -0
- package/dist/types/{components/UseElDrawer → UseElDrawer}/props.d.ts +0 -0
- package/dist/types/{components/UseElDrawer → UseElDrawer}/types.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/RowForm.vue.d.ts +2 -2
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/Cascader.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/DatePicker.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/Input.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/InputNumber.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/InputRange.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/Radio.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/Select.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/Switch.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/TimePicker.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/TimeSelect.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/components/controls/TreeSelect.vue.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/hook.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/index.vue.d.ts +2 -2
- package/dist/types/{components/UseElForm → UseElForm}/props.d.ts +0 -0
- package/dist/types/{components/UseElForm → UseElForm}/types.d.ts +0 -0
- package/dist/types/{components/UseElInput → UseElInput}/index.vue.d.ts +3 -3
- package/dist/types/{components/UseElInput → UseElInput}/props.d.ts +0 -0
- package/dist/types/{components/UseElInput → UseElInput}/types.d.ts +0 -0
- package/dist/types/{components/UseElSelect → UseElSelect}/hook.d.ts +0 -0
- package/dist/types/{components/UseElSelect → UseElSelect}/types.d.ts +0 -0
- package/dist/types/{components/UseElSwitch → UseElSwitch}/index.vue.d.ts +0 -0
- package/dist/types/{components/UseElSwitch → UseElSwitch}/props.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/components/EditableCell.vue.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/components/RecTableColumn.vue.d.ts +1 -1
- package/dist/types/{components/UseElTable → UseElTable}/components/Selection.vue.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/components/Span.vue.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/hooks/useElTable.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/hooks/usePagination.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/hooks/useSelection.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/hooks/useTableColumnMinWidth.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/index.vue.d.ts +3 -3
- package/dist/types/{components/UseElTable → UseElTable}/props.d.ts +0 -0
- package/dist/types/{components/UseElTable → UseElTable}/types.d.ts +1 -1
- /package/dist/types/{components/UseElTable → UseElTable}/utils.d.ts +0 -0
- /package/dist/types/{components/UseIconfont → UseIconfont}/index.vue.d.ts +0 -0
- /package/dist/types/{components/UseIconfont → UseIconfont}/props.d.ts +0 -0
- /package/dist/types/{components/UseLineTitle → UseLineTitle}/defaultExtConfig.d.ts +0 -0
- /package/dist/types/{components/UseLineTitle → UseLineTitle}/index.vue.d.ts +0 -0
- /package/dist/types/{components/UseLineTitle → UseLineTitle}/props.d.ts +0 -0
- /package/dist/types/{components/UseLineTitle → UseLineTitle}/types.d.ts +0 -0
- /package/dist/types/{components/UseRender → UseRender}/hook.d.ts +0 -0
- /package/dist/types/{components/UseRender → UseRender}/index.vue.d.ts +0 -0
- /package/dist/types/{components/UseRender → UseRender}/props.d.ts +0 -0
- /package/dist/types/{components/UseRender → UseRender}/types.d.ts +0 -0
- /package/dist/types/{components/UseSvgIcon → UseSvgIcon}/index.vue.d.ts +0 -0
- /package/dist/types/{components/UseSvgIcon → UseSvgIcon}/props.d.ts +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { Props } from '../types';
|
|
3
|
-
export declare const useTableHeightAdaptive: (rootRef: Ref<HTMLDivElement | null>, tableWrapperRef: Ref<HTMLDivElement | null>, mergedProps: ComputedRef<Props>) => {
|
|
4
|
-
tableRealHeight: Ref<string, string>;
|
|
5
|
-
};
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
package/dist/types/{components/UseElConfigProvider → UseElConfigProvider}/defaultExtConfig.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -95,11 +95,11 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
95
95
|
onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
|
|
96
96
|
}>, {
|
|
97
97
|
dictMap: import('../../types').DictMap;
|
|
98
|
-
useRender: boolean | RenderConfig;
|
|
99
98
|
dictProps: import('../../types').DictProps;
|
|
99
|
+
useRender: boolean | RenderConfig;
|
|
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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
package/dist/types/{components/UseElForm → UseElForm}/components/controls/DatePicker.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
package/dist/types/{components/UseElForm → UseElForm}/components/controls/InputNumber.vue.d.ts
RENAMED
|
File without changes
|
package/dist/types/{components/UseElForm → UseElForm}/components/controls/InputRange.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/types/{components/UseElForm → UseElForm}/components/controls/TimePicker.vue.d.ts
RENAMED
|
File without changes
|
package/dist/types/{components/UseElForm → UseElForm}/components/controls/TimeSelect.vue.d.ts
RENAMED
|
File without changes
|
package/dist/types/{components/UseElForm → UseElForm}/components/controls/TreeSelect.vue.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
|
@@ -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>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -103,14 +103,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
103
103
|
"onUpdate:currentPage"?: ((currentPage: number) => any) | undefined;
|
|
104
104
|
"onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
|
-
extConfig: import('./types').ExtConfig;
|
|
107
|
-
dictMap: import('../../types/index.ts').DictMap;
|
|
108
|
-
dictProps: import('../../types/index.ts').DictProps;
|
|
109
106
|
tableHeight: string;
|
|
110
107
|
tableLoading: boolean;
|
|
111
108
|
tableColumnAlign: string;
|
|
109
|
+
dictMap: import('../../types/index.ts').DictMap;
|
|
110
|
+
dictProps: import('../../types/index.ts').DictProps;
|
|
112
111
|
showOverflowTooltip: boolean;
|
|
113
112
|
headerCellStyle: Record<string, string>;
|
|
113
|
+
extConfig: import('./types').ExtConfig;
|
|
114
114
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
115
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
|
File without changes
|
|
@@ -30,12 +30,12 @@ export interface TableColumnExtConfig {
|
|
|
30
30
|
formatter?: Function;
|
|
31
31
|
class?: string | string[];
|
|
32
32
|
style?: string | Record<string, unknown>;
|
|
33
|
+
slot?: boolean | string;
|
|
33
34
|
}
|
|
34
35
|
export interface TableColumn {
|
|
35
36
|
label?: string;
|
|
36
37
|
prop?: string;
|
|
37
38
|
useDict?: boolean | string | UseDict;
|
|
38
|
-
slot?: boolean | string;
|
|
39
39
|
width?: string | number;
|
|
40
40
|
minWidth?: string | number;
|
|
41
41
|
show?: boolean;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|