@dfsj/components 3.3.0 → 3.5.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/CHANGELOG.md +43 -0
- package/dist/components/Boards/src/Boards.vue.d.ts +6 -10
- package/dist/components/Boards/src/Boards.vue2.js +1 -1
- package/dist/components/ClickOutSide/src/ClickOutSide.vue.d.ts +2 -2
- package/dist/components/ClickOutSide/src/ClickOutSide.vue2.js +1 -1
- package/dist/components/DatePicker/src/composables/use-range-picker.d.ts +80 -7
- package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue.d.ts +6 -6
- package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue.d.ts +6 -6
- package/dist/components/DatePicker/src/index.d.ts +44 -44
- package/dist/components/Descriptions/src/Descriptions.vue.d.ts +1 -96
- package/dist/components/Descriptions/src/Descriptions.vue2.js +1 -1
- package/dist/components/Editor/src/Editor.vue.d.ts +6 -6
- package/dist/components/Editor/src/Editor.vue2.js +1 -1
- package/dist/components/Form/src/Form.vue.d.ts +1 -153
- package/dist/components/Form/src/Form.vue2.js +3 -3
- package/dist/components/Form/src/components/useRenderCheckbox.js +1 -1
- package/dist/components/Form/src/components/useRenderRadio.js +1 -1
- package/dist/components/Form/src/useForm.js +11 -11
- package/dist/components/Highlight/src/Highlight.vue.d.ts +1 -40
- package/dist/components/Icon/src/Icon.vue.d.ts +5 -5
- package/dist/components/Icon/src/Icon.vue2.js +1 -1
- package/dist/components/Icon/src/SvgIcon.vue.d.ts +5 -5
- package/dist/components/InputPassword/src/InputPassword.vue.d.ts +6 -6
- package/dist/components/Modal/src/BasicModal.vue.d.ts +1 -314
- package/dist/components/Modal/src/BasicModal.vue2.js +1 -1
- package/dist/components/Modal/src/components/ModalFooter.vue.d.ts +5 -5
- package/dist/components/Modal/src/components/ModalHeader.vue.d.ts +5 -5
- package/dist/components/Modal/src/hooks/useModalDrag.d.ts +1 -1
- package/dist/components/Modal/src/hooks/useTimeout.d.ts +2 -2
- package/dist/components/Modal/src/hooks/useTimeout.js +1 -1
- package/dist/components/Modal/src/props.d.ts +6 -4
- package/dist/components/NodeAxis/src/CanvasNodeRender.js +18 -4
- package/dist/components/NodeAxis/src/NodeAxis.d.ts +5 -5
- package/dist/components/NodeAxis/src/NodeAxis.vue.d.ts +5 -5
- package/dist/components/NodeAxis/src/NodeAxis.vue2.js +1 -0
- package/dist/components/Stateful/src/Stateful.vue.d.ts +5 -5
- package/dist/components/Table/src/Table.vue.d.ts +1 -536
- package/dist/components/Table/src/Table.vue2.js +8 -8
- package/dist/components/Table/src/components/ColumnSetting.vue.d.ts +6 -6
- package/dist/components/Table/src/components/ColumnSetting.vue2.js +3 -3
- package/dist/components/Table/src/components/TableActions.vue.d.ts +1 -19
- package/dist/components/Table/src/useTable.js +9 -9
- package/dist/components/UnifyChart/src/ChartToolbox.vue.d.ts +8 -7
- package/dist/components/UnifyChart/src/UnifyChart.vue.d.ts +7 -7
- package/dist/components/UnifyChart/src/hooks/useLoader.d.ts +1 -1
- package/dist/components/UnifyChart/src/hooks/useLoader.js +1 -1
- package/dist/components/Video/src/VideoPlayer.vue.d.ts +5 -5
- package/dist/components/Video/src/VideoPlayerToolbar.vue.d.ts +5 -5
- package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +1 -1
- package/dist/components/Visual/src/BufferLayerPlayer.js +5 -5
- package/dist/components/Windows/src/ModalWrap.vue.d.ts +5 -5
- package/dist/components/Windows/src/Windows.vue.d.ts +6 -4
- package/dist/index.min.css +2 -2
- package/dist/node_modules/.pnpm/{@vueuse_core@10.11.0_vue@3.4.31_typescript@5.2.2_ → @vueuse_core@10.11.1_vue@3.5.11_typescript@5.6.2_}/node_modules/@vueuse/core/index.js +6 -6
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/is.d.ts +3 -3
- package/package.json +6 -6
- /package/dist/node_modules/.pnpm/{@vueuse_shared@10.11.0_vue@3.4.31_typescript@5.2.2_ → @vueuse_shared@10.11.1_vue@3.5.11_typescript@5.6.2_}/node_modules/@vueuse/shared/index.js +0 -0
|
@@ -1,97 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DescriptionsSchema } from './types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
title: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
5
|
-
default: string;
|
|
6
|
-
} & {
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
message: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
10
|
-
default: string;
|
|
11
|
-
} & {
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
collapse: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
border: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
column: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
|
|
21
|
-
default: number;
|
|
22
|
-
} & {
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
size: import("vue-types").VueTypeDef<string> & {
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
direction: import("vue-types").VueTypeDef<string> & {
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
extra: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
32
|
-
default: string;
|
|
33
|
-
} & {
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
schema: {
|
|
37
|
-
type: PropType<DescriptionsSchema[]>;
|
|
38
|
-
default: () => any[];
|
|
39
|
-
};
|
|
40
|
-
data: {
|
|
41
|
-
type: PropType<any>;
|
|
42
|
-
default: () => {};
|
|
43
|
-
};
|
|
44
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
-
title: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
46
|
-
default: string;
|
|
47
|
-
} & {
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
message: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
51
|
-
default: string;
|
|
52
|
-
} & {
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
collapse: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
border: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
column: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
|
|
62
|
-
default: number;
|
|
63
|
-
} & {
|
|
64
|
-
default: number;
|
|
65
|
-
};
|
|
66
|
-
size: import("vue-types").VueTypeDef<string> & {
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
direction: import("vue-types").VueTypeDef<string> & {
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
extra: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
73
|
-
default: string;
|
|
74
|
-
} & {
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
schema: {
|
|
78
|
-
type: PropType<DescriptionsSchema[]>;
|
|
79
|
-
default: () => any[];
|
|
80
|
-
};
|
|
81
|
-
data: {
|
|
82
|
-
type: PropType<any>;
|
|
83
|
-
default: () => {};
|
|
84
|
-
};
|
|
85
|
-
}>>, {
|
|
86
|
-
title: string;
|
|
87
|
-
message: string;
|
|
88
|
-
collapse: boolean;
|
|
89
|
-
border: boolean;
|
|
90
|
-
column: number;
|
|
91
|
-
size: string;
|
|
92
|
-
direction: string;
|
|
93
|
-
extra: string;
|
|
94
|
-
schema: DescriptionsSchema[];
|
|
95
|
-
data: any;
|
|
96
|
-
}, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
|
|
97
2
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
1
|
import { ref, defineComponent, computed, unref, createVNode, withDirectives, mergeProps, vShow, isVNode } from 'vue';
|
|
2
|
+
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
3
|
import { ElTooltip, ElIcon, ElCollapseTransition, ElRow, ElCol } from 'element-plus';
|
|
4
4
|
import { QuestionFilled, ArrowDown, ArrowUp } from '@element-plus/icons-vue';
|
|
5
5
|
import { propTypes } from '@dfsj/utils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { IEditorConfig } from '@wangeditor/editor';
|
|
3
3
|
import '@wangeditor/editor/dist/css/style.css';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
editorId: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
6
6
|
default: string;
|
|
7
7
|
} & {
|
|
@@ -19,9 +19,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
} & {
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
-
}
|
|
22
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
23
|
[key: string]: any;
|
|
24
|
-
}>,
|
|
24
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
editorId: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
26
26
|
default: string;
|
|
27
27
|
} & {
|
|
@@ -39,13 +39,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
} & {
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
}>> & {
|
|
42
|
+
}>> & Readonly<{
|
|
43
43
|
onChange?: (...args: any[]) => any;
|
|
44
44
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
45
|
-
}
|
|
45
|
+
}>, {
|
|
46
46
|
editorId: string;
|
|
47
47
|
height: string | number;
|
|
48
48
|
editorConfig: IEditorConfig;
|
|
49
49
|
modelValue: string;
|
|
50
|
-
}, {}>;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
51
|
export default _default;
|
|
@@ -94,7 +94,7 @@ var script = defineComponent({
|
|
|
94
94
|
editor === null || editor === void 0 || editor.destroy();
|
|
95
95
|
});
|
|
96
96
|
var getEditorRef = /*#__PURE__*/function () {
|
|
97
|
-
var _ref2 = _asyncToGenerator(
|
|
97
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
98
98
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
99
99
|
while (1) switch (_context.prev = _context.next) {
|
|
100
100
|
case 0:
|
|
@@ -1,154 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormSchema } from './types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
schema: {
|
|
5
|
-
type: PropType<FormSchema[]>;
|
|
6
|
-
default: () => any[];
|
|
7
|
-
};
|
|
8
|
-
isCol: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
model: {
|
|
12
|
-
type: PropType<any>;
|
|
13
|
-
default: () => {};
|
|
14
|
-
};
|
|
15
|
-
autoSetPlaceholder: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
isCustom: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
labelWidth: import("vue-types").VueTypeDef<string | number> & {
|
|
22
|
-
default: string | number;
|
|
23
|
-
};
|
|
24
|
-
rules: {
|
|
25
|
-
type: PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
26
|
-
default: () => {};
|
|
27
|
-
};
|
|
28
|
-
labelPosition: import("vue-types").VueTypeDef<string> & {
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
labelSuffix: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
32
|
-
default: string;
|
|
33
|
-
} & {
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
hideRequiredAsterisk: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
requireAsteriskPosition: import("vue-types").VueTypeDef<string> & {
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
showMessage: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
inlineMessage: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
statusIcon: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
validateOnRuleChange: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
size: {
|
|
55
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
56
|
-
default: any;
|
|
57
|
-
};
|
|
58
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
scrollToError: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
scrollToErrorOffset: import("vue-types").VueTypeDef<boolean | Record<string, any>> & {
|
|
65
|
-
default: boolean | (() => Record<string, any>);
|
|
66
|
-
};
|
|
67
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "register"[], "register", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
-
schema: {
|
|
69
|
-
type: PropType<FormSchema[]>;
|
|
70
|
-
default: () => any[];
|
|
71
|
-
};
|
|
72
|
-
isCol: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
model: {
|
|
76
|
-
type: PropType<any>;
|
|
77
|
-
default: () => {};
|
|
78
|
-
};
|
|
79
|
-
autoSetPlaceholder: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
80
|
-
default: boolean;
|
|
81
|
-
};
|
|
82
|
-
isCustom: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
labelWidth: import("vue-types").VueTypeDef<string | number> & {
|
|
86
|
-
default: string | number;
|
|
87
|
-
};
|
|
88
|
-
rules: {
|
|
89
|
-
type: PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
90
|
-
default: () => {};
|
|
91
|
-
};
|
|
92
|
-
labelPosition: import("vue-types").VueTypeDef<string> & {
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
labelSuffix: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
96
|
-
default: string;
|
|
97
|
-
} & {
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
hideRequiredAsterisk: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
requireAsteriskPosition: import("vue-types").VueTypeDef<string> & {
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
showMessage: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
|
-
inlineMessage: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
statusIcon: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
validateOnRuleChange: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
116
|
-
default: boolean;
|
|
117
|
-
};
|
|
118
|
-
size: {
|
|
119
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
120
|
-
default: any;
|
|
121
|
-
};
|
|
122
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
scrollToError: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
|
-
scrollToErrorOffset: import("vue-types").VueTypeDef<boolean | Record<string, any>> & {
|
|
129
|
-
default: boolean | (() => Record<string, any>);
|
|
130
|
-
};
|
|
131
|
-
}>> & {
|
|
132
|
-
onRegister?: (...args: any[]) => any;
|
|
133
|
-
}, {
|
|
134
|
-
model: any;
|
|
135
|
-
rules: Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>;
|
|
136
|
-
labelPosition: string;
|
|
137
|
-
requireAsteriskPosition: string;
|
|
138
|
-
labelWidth: string | number;
|
|
139
|
-
labelSuffix: string;
|
|
140
|
-
inlineMessage: boolean;
|
|
141
|
-
statusIcon: boolean;
|
|
142
|
-
showMessage: boolean;
|
|
143
|
-
validateOnRuleChange: boolean;
|
|
144
|
-
hideRequiredAsterisk: boolean;
|
|
145
|
-
scrollToError: boolean;
|
|
146
|
-
size: "" | "default" | "small" | "large";
|
|
147
|
-
disabled: boolean;
|
|
148
|
-
schema: FormSchema[];
|
|
149
|
-
isCol: boolean;
|
|
150
|
-
autoSetPlaceholder: boolean;
|
|
151
|
-
isCustom: boolean;
|
|
152
|
-
scrollToErrorOffset: boolean | Record<string, any>;
|
|
153
|
-
}, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
|
|
154
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, unref, onMounted, watch, createVNode, mergeProps, withDirectives, vShow, isVNode, Fragment } from 'vue';
|
|
1
2
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
2
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
|
-
import { defineComponent, ref, computed, unref, onMounted, watch, createVNode, mergeProps, withDirectives, vShow, isVNode, Fragment } from 'vue';
|
|
4
4
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
5
5
|
import { ElCol, ElForm, ElFormItem, ElRow } from 'element-plus';
|
|
6
6
|
import { componentMap } from './helper/componentMap.js';
|
|
@@ -14,7 +14,7 @@ import { findIndex } from '../../../utils/index.js';
|
|
|
14
14
|
import { set, get } from 'lodash-es';
|
|
15
15
|
import { ComponentNameEnum } from './types/index.js';
|
|
16
16
|
|
|
17
|
-
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e
|
|
17
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
18
18
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
19
19
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -151,7 +151,7 @@ var script = defineComponent({
|
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
var getOptions = /*#__PURE__*/function () {
|
|
154
|
-
var _ref2 = _asyncToGenerator(
|
|
154
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(fn, item) {
|
|
155
155
|
var options;
|
|
156
156
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
157
157
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
2
1
|
import { createVNode, mergeProps } from 'vue';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import { ComponentNameEnum } from '../types/index.js';
|
|
4
4
|
import { ElCheckbox, ElCheckboxButton } from 'element-plus';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
2
1
|
import { createVNode, mergeProps } from 'vue';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import { ComponentNameEnum } from '../types/index.js';
|
|
4
4
|
import { ElRadio, ElRadioButton } from 'element-plus';
|
|
5
5
|
|
|
@@ -11,7 +11,7 @@ var useForm = function useForm() {
|
|
|
11
11
|
elFormRef.value = elRef;
|
|
12
12
|
};
|
|
13
13
|
var getForm = /*#__PURE__*/function () {
|
|
14
|
-
var _ref = _asyncToGenerator(
|
|
14
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
15
15
|
var form;
|
|
16
16
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
17
17
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -36,7 +36,7 @@ var useForm = function useForm() {
|
|
|
36
36
|
}();
|
|
37
37
|
var methods = {
|
|
38
38
|
setProps: function () {
|
|
39
|
-
var _setProps = _asyncToGenerator(
|
|
39
|
+
var _setProps = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
40
40
|
var props,
|
|
41
41
|
form,
|
|
42
42
|
_args2 = arguments;
|
|
@@ -64,7 +64,7 @@ var useForm = function useForm() {
|
|
|
64
64
|
return setProps;
|
|
65
65
|
}(),
|
|
66
66
|
setValues: function () {
|
|
67
|
-
var _setValues = _asyncToGenerator(
|
|
67
|
+
var _setValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data) {
|
|
68
68
|
var form;
|
|
69
69
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
70
70
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -86,7 +86,7 @@ var useForm = function useForm() {
|
|
|
86
86
|
return setValues;
|
|
87
87
|
}(),
|
|
88
88
|
setSchema: function () {
|
|
89
|
-
var _setSchema = _asyncToGenerator(
|
|
89
|
+
var _setSchema = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(schemaProps) {
|
|
90
90
|
var form;
|
|
91
91
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
92
92
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -108,7 +108,7 @@ var useForm = function useForm() {
|
|
|
108
108
|
return setSchema;
|
|
109
109
|
}(),
|
|
110
110
|
addSchema: function () {
|
|
111
|
-
var _addSchema = _asyncToGenerator(
|
|
111
|
+
var _addSchema = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(formSchema, index) {
|
|
112
112
|
var form;
|
|
113
113
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
114
114
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -130,7 +130,7 @@ var useForm = function useForm() {
|
|
|
130
130
|
return addSchema;
|
|
131
131
|
}(),
|
|
132
132
|
delSchema: function () {
|
|
133
|
-
var _delSchema = _asyncToGenerator(
|
|
133
|
+
var _delSchema = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(field) {
|
|
134
134
|
var form;
|
|
135
135
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
136
136
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -152,7 +152,7 @@ var useForm = function useForm() {
|
|
|
152
152
|
return delSchema;
|
|
153
153
|
}(),
|
|
154
154
|
getFormData: function () {
|
|
155
|
-
var _getFormData = _asyncToGenerator(
|
|
155
|
+
var _getFormData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
|
|
156
156
|
var filterEmptyVal,
|
|
157
157
|
form,
|
|
158
158
|
model,
|
|
@@ -197,7 +197,7 @@ var useForm = function useForm() {
|
|
|
197
197
|
return getFormData;
|
|
198
198
|
}(),
|
|
199
199
|
getComponentExpose: function () {
|
|
200
|
-
var _getComponentExpose = _asyncToGenerator(
|
|
200
|
+
var _getComponentExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(field) {
|
|
201
201
|
var form;
|
|
202
202
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
203
203
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -219,7 +219,7 @@ var useForm = function useForm() {
|
|
|
219
219
|
return getComponentExpose;
|
|
220
220
|
}(),
|
|
221
221
|
getFormItemExpose: function () {
|
|
222
|
-
var _getFormItemExpose = _asyncToGenerator(
|
|
222
|
+
var _getFormItemExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(field) {
|
|
223
223
|
var form;
|
|
224
224
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
225
225
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -241,7 +241,7 @@ var useForm = function useForm() {
|
|
|
241
241
|
return getFormItemExpose;
|
|
242
242
|
}(),
|
|
243
243
|
getElFormExpose: function () {
|
|
244
|
-
var _getElFormExpose = _asyncToGenerator(
|
|
244
|
+
var _getElFormExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10() {
|
|
245
245
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
246
246
|
while (1) switch (_context10.prev = _context10.next) {
|
|
247
247
|
case 0:
|
|
@@ -261,7 +261,7 @@ var useForm = function useForm() {
|
|
|
261
261
|
return getElFormExpose;
|
|
262
262
|
}(),
|
|
263
263
|
getFormExpose: function () {
|
|
264
|
-
var _getFormExpose = _asyncToGenerator(
|
|
264
|
+
var _getFormExpose = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11() {
|
|
265
265
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
266
266
|
while (1) switch (_context11.prev = _context11.next) {
|
|
267
267
|
case 0:
|
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
tag: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
4
|
-
default: string;
|
|
5
|
-
} & {
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
keys: {
|
|
9
|
-
type: PropType<string[]>;
|
|
10
|
-
default: () => any[];
|
|
11
|
-
};
|
|
12
|
-
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
13
|
-
default: string;
|
|
14
|
-
} & {
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
tag: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
21
|
-
default: string;
|
|
22
|
-
} & {
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
keys: {
|
|
26
|
-
type: PropType<string[]>;
|
|
27
|
-
default: () => any[];
|
|
28
|
-
};
|
|
29
|
-
color: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
30
|
-
default: string;
|
|
31
|
-
} & {
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
}>> & {
|
|
35
|
-
onClick?: (...args: any[]) => any;
|
|
36
|
-
}, {
|
|
37
|
-
keys: string[];
|
|
38
|
-
tag: string;
|
|
39
|
-
color: string;
|
|
40
|
-
}, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
|
|
41
2
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
icon: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
@@ -18,9 +18,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
} & {
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
}
|
|
21
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
22
|
[key: string]: any;
|
|
23
|
-
}>,
|
|
23
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
icon: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
@@ -39,11 +39,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
} & {
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
}
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
43
|
icon: string;
|
|
44
44
|
color: string;
|
|
45
45
|
size: string | number;
|
|
46
46
|
spin: boolean;
|
|
47
47
|
prefix: string;
|
|
48
|
-
}, {}>;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
@@ -34,7 +34,7 @@ var script = defineComponent({
|
|
|
34
34
|
return "".concat(props.prefix ? props.prefix + ':' : '').concat(props.icon);
|
|
35
35
|
});
|
|
36
36
|
var update = /*#__PURE__*/function () {
|
|
37
|
-
var _ref = _asyncToGenerator(
|
|
37
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
38
38
|
var el, icon, svg, span;
|
|
39
39
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
40
40
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
prefix: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
@@ -16,11 +16,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
-
}
|
|
19
|
+
}>, {
|
|
20
20
|
symbolId: import("vue").ComputedRef<string>;
|
|
21
21
|
prefixCls: string;
|
|
22
22
|
getStyle: import("vue").ComputedRef<CSSProperties>;
|
|
23
|
-
},
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
prefix: {
|
|
25
25
|
type: StringConstructor;
|
|
26
26
|
default: string;
|
|
@@ -37,9 +37,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
|
-
}
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
41
41
|
prefix: string;
|
|
42
42
|
size: string | number;
|
|
43
43
|
spin: boolean;
|
|
44
|
-
}, {}>;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
strength: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
3
3
|
default: boolean;
|
|
4
4
|
};
|
|
@@ -7,9 +7,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
} & {
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}>,
|
|
12
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
strength: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
@@ -18,10 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
} & {
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
}>> & {
|
|
21
|
+
}>> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
23
|
-
}
|
|
23
|
+
}>, {
|
|
24
24
|
strength: boolean;
|
|
25
25
|
modelValue: string;
|
|
26
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default _default;
|